]> git.saurik.com Git - wxWidgets.git/blob - configure
implement {Create,Clone}RefData for gtk wxBitmap
[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_inet use virtual HTTP/FTP filesystems
998 --enable-fs_zip use virtual ZIP filesystems
999 --enable-geometry use geometry class
1000 --enable-log use logging system
1001 --enable-longlong use wxLongLong class
1002 --enable-mimetype use wxMimeTypesManager
1003 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C++ stream classes
1006 --enable-std_string use standard C++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-textbuf use wxTextBuffer class
1012 --enable-textfile use wxTextFile class
1013 --enable-timer use wxTimer class
1014 --enable-unicode compile wxString with Unicode support
1015 --enable-sound use wxSound class
1016 --enable-mediactrl use wxMediaCtrl class
1017 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1018 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1019 --enable-zipstream use wxZip streams
1020 --enable-url use wxURL class
1021 --enable-variant use wxVariant class
1022 --enable-protocol use wxProtocol class
1023 --enable-protocol-http HTTP support in wxProtocol
1024 --enable-protocol-ftp FTP support in wxProtocol
1025 --enable-protocol-file FILE support in wxProtocol
1026 --enable-threads use threads
1027 --enable-docview use document view architecture
1028 --enable-help use help subsystem
1029 --enable-mshtmlhelp use MS HTML Help (win32)
1030 --enable-html use wxHTML sub-library
1031 --enable-htmlhelp use wxHTML-based help
1032 --enable-xrc use XRC resources sub-library
1033 --enable-aui use AUI docking library
1034 --enable-constraints use layout-constraints system
1035 --enable-printarch use printing architecture
1036 --enable-mdi use multiple document interface architecture
1037 --enable-mdidoc use docview architecture with MDI
1038 --enable-loggui use standard GUI logger
1039 --enable-logwin use wxLogWindow
1040 --enable-logdialog use wxLogDialog
1041 --enable-webkit use wxWebKitCtrl (Mac)
1042 --enable-richtext use wxRichTextCtrl
1043 --enable-graphics_ctx use graphics context 2D drawing API
1044 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1045 --enable-prologio not available; see contrib
1046 --enable-resources not available; see contrib
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-colourpicker use wxColourPickerCtrl class
1063 --enable-combobox use wxComboBox class
1064 --enable-comboctrl use wxComboCtrl class
1065 --enable-datepick use wxDatePickerCtrl class
1066 --enable-dirpicker use wxDirPickerCtrl class
1067 --enable-display use wxDisplay class
1068 --enable-filepicker use wxFilePickerCtrl class
1069 --enable-fontpicker use wxFontPickerCtrl class
1070 --enable-gauge use wxGauge class
1071 --enable-grid use wxGrid class
1072 --enable-dataviewctrl, use wxDataViewCtrl class
1073 --enable-hyperlink use wxHyperlinkCtrl class
1074 --enable-imaglist use wxImageList class
1075 --enable-listbook use wxListbook class
1076 --enable-listbox use wxListBox class
1077 --enable-listctrl use wxListCtrl class
1078 --enable-notebook use wxNotebook class
1079 --enable-odcombobox use wxOwnerDrawnComboBox class
1080 --enable-radiobox use wxRadioBox class
1081 --enable-radiobtn use wxRadioButton class
1082 --enable-sash use wxSashWindow class
1083 --enable-scrollbar use wxScrollBar class and scrollable windows
1084 --enable-slider use wxSlider class
1085 --enable-spinbtn use wxSpinButton class
1086 --enable-spinctrl use wxSpinCtrl class
1087 --enable-splitter use wxSplitterWindow class
1088 --enable-statbmp use wxStaticBitmap class
1089 --enable-statbox use wxStaticBox class
1090 --enable-statline use wxStaticLine class
1091 --enable-stattext use wxStaticText class
1092 --enable-statusbar use wxStatusBar class
1093 --enable-tabdialog use wxTabControl class
1094 --enable-textctrl use wxTextCtrl class
1095 --enable-togglebtn use wxToggleButton class
1096 --enable-toolbar use wxToolBar class
1097 --enable-tbarnative use native wxToolBar class
1098 --enable-treebook use wxTreebook class
1099 --enable-toolbook use wxToolbook class
1100 --enable-treectrl use wxTreeCtrl class
1101 --enable-tipwindow use wxTipWindow class
1102 --enable-popupwin use wxPopUpWindow class
1103 --enable-commondlg use all common dialogs
1104 --enable-aboutdlg use wxAboutBox
1105 --enable-choicedlg use wxChoiceDialog
1106 --enable-coldlg use wxColourDialog
1107 --enable-filedlg use wxFileDialog
1108 --enable-finddlg use wxFindReplaceDialog
1109 --enable-fontdlg use wxFontDialog
1110 --enable-dirdlg use wxDirDialog
1111 --enable-msgdlg use wxMessageDialog
1112 --enable-numberdlg use wxNumberEntryDialog
1113 --enable-splash use wxSplashScreen
1114 --enable-textdlg use wxTextDialog
1115 --enable-tipdlg use startup tips
1116 --enable-progressdlg use wxProgressDialog
1117 --enable-wizarddlg use wxWizard
1118 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1119 --enable-miniframe use wxMiniFrame class
1120 --enable-tooltips use wxToolTip class
1121 --enable-splines use spline drawing code
1122 --enable-mousewheel use mousewheel
1123 --enable-validators use wxValidator and derived classes
1124 --enable-busyinfo use wxBusyInfo
1125 --enable-joystick use wxJoystick
1126 --enable-metafiles use wxMetaFile (Win32 only)
1127 --enable-dragimage use wxDragImage
1128 --enable-accessibility enable accessibility support
1129 --enable-dccache cache temporary wxDC objects (Win32 only)
1130 --enable-palette use wxPalette class
1131 --enable-image use wxImage class
1132 --enable-gif use gif images (GIF file format)
1133 --enable-pcx use pcx images (PCX file format)
1134 --enable-iff use iff images (IFF file format)
1135 --enable-pnm use pnm images (PNM file format)
1136 --enable-xpm use xpm images (XPM file format)
1137 --enable-icocur use Windows ICO and CUR formats
1138 --enable-official_build official build of wxWidgets (win32 DLL only)
1139 --enable-vendor=VENDOR vendor name (win32 DLL only)
1140 --disable-largefile omit support for large files
1141 --disable-gtktest do not try to compile and run a test GTK+ program
1142 --disable-gtktest Do not try to compile and run a test GTK program
1143 --disable-sdltest Do not try to compile and run a test SDL program
1144 --enable-omf use OMF object format (OS/2)
1145 --disable-dependency-tracking
1146 don't use dependency tracking even if the compiler
1147 can
1148 --disable-precomp-headers
1149 don't use precompiled headers even if compiler can
1150
1151 Optional Packages:
1152 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1153 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1154 --without-subdirs don't generate makefiles for samples/demos/...
1155 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1156 --with-motif use Motif/Lesstif
1157 --with-mac use Mac OS X
1158 --with-cocoa use Cocoa
1159 --with-wine use Wine
1160 --with-msw use MS-Windows
1161 --with-pm use OS/2 Presentation Manager
1162 --with-mgl use SciTech MGL
1163 --with-directfb use DirectFB
1164 --with-microwin use MicroWindows
1165 --with-x11 use X11
1166 --with-libpng use libpng (PNG image format)
1167 --with-libjpeg use libjpeg (JPEG file format)
1168 --with-libtiff use libtiff (TIFF file format)
1169 --with-libxpm use libxpm (XPM file format)
1170 --with-libmspack use libmspack (CHM help files loading)
1171 --with-sdl use SDL for audio on Unix
1172 --with-gnomeprint use GNOME print for printing under GNOME
1173 --with-gnomevfs use GNOME VFS for associating MIME types
1174 --with-hildon use Hildon framework for Nokia 770
1175 --with-opengl use OpenGL (or Mesa)
1176 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1177 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1178 --with-regex enable support for wxRegEx class
1179 --with-zlib use zlib for LZW compression
1180 --with-odbc use the IODBC and wxODBC classes
1181 --with-expat enable XML support using expat parser
1182 --with-flavour=NAME specify a name to identify this build
1183 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1184 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1185 --with-x use the X Window System
1186 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1187 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1188 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1189 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1190 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1191
1192 Some influential environment variables:
1193 CC C compiler command
1194 CFLAGS C compiler flags
1195 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1196 nonstandard directory <lib dir>
1197 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1198 headers in a nonstandard directory <include dir>
1199 CPP C preprocessor
1200 CXX C++ compiler command
1201 CXXFLAGS C++ compiler flags
1202 CXXCPP C++ preprocessor
1203 PKG_CONFIG path to pkg-config utility
1204 DIRECTFB_CFLAGS
1205 C compiler flags for DIRECTFB, overriding pkg-config
1206 DIRECTFB_LIBS
1207 linker flags for DIRECTFB, overriding pkg-config
1208 PANGOX_CFLAGS
1209 C compiler flags for PANGOX, overriding pkg-config
1210 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1211 PANGOFT2_CFLAGS
1212 C compiler flags for PANGOFT2, overriding pkg-config
1213 PANGOFT2_LIBS
1214 linker flags for PANGOFT2, overriding pkg-config
1215 PANGOXFT_CFLAGS
1216 C compiler flags for PANGOXFT, overriding pkg-config
1217 PANGOXFT_LIBS
1218 linker flags for PANGOXFT, overriding pkg-config
1219 LIBGNOMEPRINTUI_CFLAGS
1220 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1221 LIBGNOMEPRINTUI_LIBS
1222 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1223 GNOMEVFS_CFLAGS
1224 C compiler flags for GNOMEVFS, overriding pkg-config
1225 GNOMEVFS_LIBS
1226 linker flags for GNOMEVFS, overriding pkg-config
1227 HILDON_CFLAGS
1228 C compiler flags for HILDON, overriding pkg-config
1229 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1230 CAIRO_CFLAGS
1231 C compiler flags for CAIRO, overriding pkg-config
1232 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1233 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1234 GST_LIBS linker flags for GST, overriding pkg-config
1235
1236 Use these variables to override the choices made by `configure' or to help
1237 it to find libraries and programs with nonstandard names/locations.
1238
1239 Report bugs to <wx-dev@lists.wxwidgets.org>.
1240 _ACEOF
1241 fi
1242
1243 if test "$ac_init_help" = "recursive"; then
1244 # If there are subdirs, report their specific --help.
1245 ac_popdir=`pwd`
1246 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1247 test -d $ac_dir || continue
1248 ac_builddir=.
1249
1250 if test "$ac_dir" != .; then
1251 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1252 # A "../" for each directory in $ac_dir_suffix.
1253 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1254 else
1255 ac_dir_suffix= ac_top_builddir=
1256 fi
1257
1258 case $srcdir in
1259 .) # No --srcdir option. We are building in place.
1260 ac_srcdir=.
1261 if test -z "$ac_top_builddir"; then
1262 ac_top_srcdir=.
1263 else
1264 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1265 fi ;;
1266 [\\/]* | ?:[\\/]* ) # Absolute path.
1267 ac_srcdir=$srcdir$ac_dir_suffix;
1268 ac_top_srcdir=$srcdir ;;
1269 *) # Relative path.
1270 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1271 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1272 esac
1273
1274 # Do not use `cd foo && pwd` to compute absolute paths, because
1275 # the directories may not exist.
1276 case `pwd` in
1277 .) ac_abs_builddir="$ac_dir";;
1278 *)
1279 case "$ac_dir" in
1280 .) ac_abs_builddir=`pwd`;;
1281 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1282 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1283 esac;;
1284 esac
1285 case $ac_abs_builddir in
1286 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1287 *)
1288 case ${ac_top_builddir}. in
1289 .) ac_abs_top_builddir=$ac_abs_builddir;;
1290 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1291 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1292 esac;;
1293 esac
1294 case $ac_abs_builddir in
1295 .) ac_abs_srcdir=$ac_srcdir;;
1296 *)
1297 case $ac_srcdir in
1298 .) ac_abs_srcdir=$ac_abs_builddir;;
1299 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1300 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1301 esac;;
1302 esac
1303 case $ac_abs_builddir in
1304 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1305 *)
1306 case $ac_top_srcdir in
1307 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1308 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1309 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1310 esac;;
1311 esac
1312
1313 cd $ac_dir
1314 # Check for guested configure; otherwise get Cygnus style configure.
1315 if test -f $ac_srcdir/configure.gnu; then
1316 echo
1317 $SHELL $ac_srcdir/configure.gnu --help=recursive
1318 elif test -f $ac_srcdir/configure; then
1319 echo
1320 $SHELL $ac_srcdir/configure --help=recursive
1321 elif test -f $ac_srcdir/configure.ac ||
1322 test -f $ac_srcdir/configure.in; then
1323 echo
1324 $ac_configure --help
1325 else
1326 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1327 fi
1328 cd "$ac_popdir"
1329 done
1330 fi
1331
1332 test -n "$ac_init_help" && exit 0
1333 if $ac_init_version; then
1334 cat <<\_ACEOF
1335 wxWidgets configure 2.7.1
1336 generated by GNU Autoconf 2.59
1337
1338 Copyright (C) 2003 Free Software Foundation, Inc.
1339 This configure script is free software; the Free Software Foundation
1340 gives unlimited permission to copy, distribute and modify it.
1341 _ACEOF
1342 exit 0
1343 fi
1344 exec 5>config.log
1345 cat >&5 <<_ACEOF
1346 This file contains any messages produced by compilers while
1347 running configure, to aid debugging if configure makes a mistake.
1348
1349 It was created by wxWidgets $as_me 2.7.1, which was
1350 generated by GNU Autoconf 2.59. Invocation command line was
1351
1352 $ $0 $@
1353
1354 _ACEOF
1355 {
1356 cat <<_ASUNAME
1357 ## --------- ##
1358 ## Platform. ##
1359 ## --------- ##
1360
1361 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1362 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1363 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1364 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1365 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1366
1367 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1368 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1369
1370 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1371 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1372 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1373 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1374 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1375 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1376 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1377
1378 _ASUNAME
1379
1380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1381 for as_dir in $PATH
1382 do
1383 IFS=$as_save_IFS
1384 test -z "$as_dir" && as_dir=.
1385 echo "PATH: $as_dir"
1386 done
1387
1388 } >&5
1389
1390 cat >&5 <<_ACEOF
1391
1392
1393 ## ----------- ##
1394 ## Core tests. ##
1395 ## ----------- ##
1396
1397 _ACEOF
1398
1399
1400 # Keep a trace of the command line.
1401 # Strip out --no-create and --no-recursion so they do not pile up.
1402 # Strip out --silent because we don't want to record it for future runs.
1403 # Also quote any args containing shell meta-characters.
1404 # Make two passes to allow for proper duplicate-argument suppression.
1405 ac_configure_args=
1406 ac_configure_args0=
1407 ac_configure_args1=
1408 ac_sep=
1409 ac_must_keep_next=false
1410 for ac_pass in 1 2
1411 do
1412 for ac_arg
1413 do
1414 case $ac_arg in
1415 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1416 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1417 | -silent | --silent | --silen | --sile | --sil)
1418 continue ;;
1419 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1420 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1421 esac
1422 case $ac_pass in
1423 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1424 2)
1425 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1426 if test $ac_must_keep_next = true; then
1427 ac_must_keep_next=false # Got value, back to normal.
1428 else
1429 case $ac_arg in
1430 *=* | --config-cache | -C | -disable-* | --disable-* \
1431 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1432 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1433 | -with-* | --with-* | -without-* | --without-* | --x)
1434 case "$ac_configure_args0 " in
1435 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1436 esac
1437 ;;
1438 -* ) ac_must_keep_next=true ;;
1439 esac
1440 fi
1441 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1442 # Get rid of the leading space.
1443 ac_sep=" "
1444 ;;
1445 esac
1446 done
1447 done
1448 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1449 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1450
1451 # When interrupted or exit'd, cleanup temporary files, and complete
1452 # config.log. We remove comments because anyway the quotes in there
1453 # would cause problems or look ugly.
1454 # WARNING: Be sure not to use single quotes in there, as some shells,
1455 # such as our DU 5.0 friend, will then `close' the trap.
1456 trap 'exit_status=$?
1457 # Save into config.log some information that might help in debugging.
1458 {
1459 echo
1460
1461 cat <<\_ASBOX
1462 ## ---------------- ##
1463 ## Cache variables. ##
1464 ## ---------------- ##
1465 _ASBOX
1466 echo
1467 # The following way of writing the cache mishandles newlines in values,
1468 {
1469 (set) 2>&1 |
1470 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1471 *ac_space=\ *)
1472 sed -n \
1473 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1475 ;;
1476 *)
1477 sed -n \
1478 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1479 ;;
1480 esac;
1481 }
1482 echo
1483
1484 cat <<\_ASBOX
1485 ## ----------------- ##
1486 ## Output variables. ##
1487 ## ----------------- ##
1488 _ASBOX
1489 echo
1490 for ac_var in $ac_subst_vars
1491 do
1492 eval ac_val=$`echo $ac_var`
1493 echo "$ac_var='"'"'$ac_val'"'"'"
1494 done | sort
1495 echo
1496
1497 if test -n "$ac_subst_files"; then
1498 cat <<\_ASBOX
1499 ## ------------- ##
1500 ## Output files. ##
1501 ## ------------- ##
1502 _ASBOX
1503 echo
1504 for ac_var in $ac_subst_files
1505 do
1506 eval ac_val=$`echo $ac_var`
1507 echo "$ac_var='"'"'$ac_val'"'"'"
1508 done | sort
1509 echo
1510 fi
1511
1512 if test -s confdefs.h; then
1513 cat <<\_ASBOX
1514 ## ----------- ##
1515 ## confdefs.h. ##
1516 ## ----------- ##
1517 _ASBOX
1518 echo
1519 sed "/^$/d" confdefs.h | sort
1520 echo
1521 fi
1522 test "$ac_signal" != 0 &&
1523 echo "$as_me: caught signal $ac_signal"
1524 echo "$as_me: exit $exit_status"
1525 } >&5
1526 rm -f core *.core &&
1527 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1528 exit $exit_status
1529 ' 0
1530 for ac_signal in 1 2 13 15; do
1531 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1532 done
1533 ac_signal=0
1534
1535 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1536 rm -rf conftest* confdefs.h
1537 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1538 echo >confdefs.h
1539
1540 # Predefined preprocessor variables.
1541
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_NAME "$PACKAGE_NAME"
1544 _ACEOF
1545
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_STRING "$PACKAGE_STRING"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1564 _ACEOF
1565
1566
1567 # Let the site file select an alternate cache file if it wants to.
1568 # Prefer explicitly selected file to automatically selected ones.
1569 if test -z "$CONFIG_SITE"; then
1570 if test "x$prefix" != xNONE; then
1571 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1572 else
1573 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1574 fi
1575 fi
1576 for ac_site_file in $CONFIG_SITE; do
1577 if test -r "$ac_site_file"; then
1578 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1579 echo "$as_me: loading site script $ac_site_file" >&6;}
1580 sed 's/^/| /' "$ac_site_file" >&5
1581 . "$ac_site_file"
1582 fi
1583 done
1584
1585 if test -r "$cache_file"; then
1586 # Some versions of bash will fail to source /dev/null (special
1587 # files actually), so we avoid doing that.
1588 if test -f "$cache_file"; then
1589 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1590 echo "$as_me: loading cache $cache_file" >&6;}
1591 case $cache_file in
1592 [\\/]* | ?:[\\/]* ) . $cache_file;;
1593 *) . ./$cache_file;;
1594 esac
1595 fi
1596 else
1597 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1598 echo "$as_me: creating cache $cache_file" >&6;}
1599 >$cache_file
1600 fi
1601
1602 # Check that the precious variables saved in the cache have kept the same
1603 # value.
1604 ac_cache_corrupted=false
1605 for ac_var in `(set) 2>&1 |
1606 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1607 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1608 eval ac_new_set=\$ac_env_${ac_var}_set
1609 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1610 eval ac_new_val="\$ac_env_${ac_var}_value"
1611 case $ac_old_set,$ac_new_set in
1612 set,)
1613 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1614 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1615 ac_cache_corrupted=: ;;
1616 ,set)
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1619 ac_cache_corrupted=: ;;
1620 ,);;
1621 *)
1622 if test "x$ac_old_val" != "x$ac_new_val"; then
1623 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1624 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1625 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1626 echo "$as_me: former value: $ac_old_val" >&2;}
1627 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1628 echo "$as_me: current value: $ac_new_val" >&2;}
1629 ac_cache_corrupted=:
1630 fi;;
1631 esac
1632 # Pass precious variables to config.status.
1633 if test "$ac_new_set" = set; then
1634 case $ac_new_val in
1635 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1636 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1637 *) ac_arg=$ac_var=$ac_new_val ;;
1638 esac
1639 case " $ac_configure_args " in
1640 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1641 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1642 esac
1643 fi
1644 done
1645 if $ac_cache_corrupted; then
1646 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1647 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1648 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1649 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1650 { (exit 1); exit 1; }; }
1651 fi
1652
1653 ac_ext=c
1654 ac_cpp='$CPP $CPPFLAGS'
1655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1658
1659
1660
1661
1662
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 ac_aux_dir=
1689 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1690 if test -f $ac_dir/install-sh; then
1691 ac_aux_dir=$ac_dir
1692 ac_install_sh="$ac_aux_dir/install-sh -c"
1693 break
1694 elif test -f $ac_dir/install.sh; then
1695 ac_aux_dir=$ac_dir
1696 ac_install_sh="$ac_aux_dir/install.sh -c"
1697 break
1698 elif test -f $ac_dir/shtool; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/shtool install -c"
1701 break
1702 fi
1703 done
1704 if test -z "$ac_aux_dir"; then
1705 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1706 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1707 { (exit 1); exit 1; }; }
1708 fi
1709 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1710 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1711 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1712
1713 # Make sure we can run config.sub.
1714 $ac_config_sub sun4 >/dev/null 2>&1 ||
1715 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1716 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1717 { (exit 1); exit 1; }; }
1718
1719 echo "$as_me:$LINENO: checking build system type" >&5
1720 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1721 if test "${ac_cv_build+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 else
1724 ac_cv_build_alias=$build_alias
1725 test -z "$ac_cv_build_alias" &&
1726 ac_cv_build_alias=`$ac_config_guess`
1727 test -z "$ac_cv_build_alias" &&
1728 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1729 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1730 { (exit 1); exit 1; }; }
1731 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1732 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1733 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1734 { (exit 1); exit 1; }; }
1735
1736 fi
1737 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1738 echo "${ECHO_T}$ac_cv_build" >&6
1739 build=$ac_cv_build
1740 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1741 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1742 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1743
1744
1745 echo "$as_me:$LINENO: checking host system type" >&5
1746 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1747 if test "${ac_cv_host+set}" = set; then
1748 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 else
1750 ac_cv_host_alias=$host_alias
1751 test -z "$ac_cv_host_alias" &&
1752 ac_cv_host_alias=$ac_cv_build_alias
1753 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1754 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1755 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1756 { (exit 1); exit 1; }; }
1757
1758 fi
1759 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1760 echo "${ECHO_T}$ac_cv_host" >&6
1761 host=$ac_cv_host
1762 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1763 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1764 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1765
1766
1767 echo "$as_me:$LINENO: checking target system type" >&5
1768 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1769 if test "${ac_cv_target+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 else
1772 ac_cv_target_alias=$target_alias
1773 test "x$ac_cv_target_alias" = "x" &&
1774 ac_cv_target_alias=$ac_cv_host_alias
1775 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1776 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1777 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1778 { (exit 1); exit 1; }; }
1779
1780 fi
1781 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1782 echo "${ECHO_T}$ac_cv_target" >&6
1783 target=$ac_cv_target
1784 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1785 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1786 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1787
1788
1789 # The aliases save the names the user supplied, while $host etc.
1790 # will get canonicalized.
1791 test -n "$target_alias" &&
1792 test "$program_prefix$program_suffix$program_transform_name" = \
1793 NONENONEs,x,x, &&
1794 program_prefix=${target_alias}-
1795
1796
1797
1798 wx_major_version_number=2
1799 wx_minor_version_number=7
1800 wx_release_number=1
1801 wx_subrelease_number=1
1802
1803 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1804 WX_VERSION=$WX_RELEASE.$wx_release_number
1805 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1806
1807 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1808
1809
1810
1811
1812 USE_UNIX=1
1813 USE_OS2=0
1814 USE_WIN32=0
1815 USE_DOS=0
1816 USE_BEOS=0
1817 USE_MAC=0
1818
1819 USE_AIX=
1820 USE_BSD= USE_DARWIN= USE_FREEBSD=
1821 USE_GNU= USE_HPUX=
1822 USE_LINUX=
1823 USE_NETBSD=
1824 USE_OPENBSD=
1825 USE_OSF= USE_SGI=
1826 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1827 USE_ULTRIX=
1828 USE_UNIXWARE=
1829
1830 USE_ALPHA=
1831
1832 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1833
1834 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1835
1836 DEFAULT_wxUSE_COCOA=0
1837 DEFAULT_wxUSE_GTK=0
1838 DEFAULT_wxUSE_MAC=0
1839 DEFAULT_wxUSE_MGL=0
1840 DEFAULT_wxUSE_MICROWIN=0
1841 DEFAULT_wxUSE_MOTIF=0
1842 DEFAULT_wxUSE_MSW=0
1843 DEFAULT_wxUSE_PM=0
1844 DEFAULT_wxUSE_X11=0
1845 DEFAULT_wxUSE_DFB=0
1846
1847 DEFAULT_DEFAULT_wxUSE_COCOA=0
1848 DEFAULT_DEFAULT_wxUSE_GTK=0
1849 DEFAULT_DEFAULT_wxUSE_MAC=0
1850 DEFAULT_DEFAULT_wxUSE_MGL=0
1851 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1852 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1853 DEFAULT_DEFAULT_wxUSE_MSW=0
1854 DEFAULT_DEFAULT_wxUSE_PM=0
1855 DEFAULT_DEFAULT_wxUSE_X11=0
1856 DEFAULT_DEFAULT_wxUSE_DFB=0
1857
1858 PROGRAM_EXT=
1859 SO_SUFFIX=so
1860 SAMPLES_RPATH_FLAG=
1861 SAMPLES_RPATH_POSTLINK=
1862
1863 DEFAULT_STD_FLAG=yes
1864
1865 case "${host}" in
1866 *-hp-hpux* )
1867 USE_HPUX=1
1868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1870 SO_SUFFIX=sl
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __HPUX__ 1
1873 _ACEOF
1874
1875
1876 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1877 ;;
1878 *-*-linux* )
1879 USE_LINUX=1
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __LINUX__ 1
1882 _ACEOF
1883
1884 TMP=`uname -m`
1885 if test "x$TMP" = "xalpha"; then
1886 USE_ALPHA=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __ALPHA__ 1
1889 _ACEOF
1890
1891 fi
1892 DEFAULT_DEFAULT_wxUSE_GTK=1
1893 ;;
1894 *-*-gnu* | *-*-k*bsd*-gnu )
1895 USE_GNU=1
1896 TMP=`uname -m`
1897 if test "x$TMP" = "xalpha"; then
1898 USE_ALPHA=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __ALPHA__ 1
1901 _ACEOF
1902
1903 fi
1904 DEFAULT_DEFAULT_wxUSE_GTK=1
1905 ;;
1906 *-*-irix5* | *-*-irix6* )
1907 USE_SGI=1
1908 USE_SVR4=1
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __SGI__ 1
1911 _ACEOF
1912
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __SVR4__ 1
1915 _ACEOF
1916
1917 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1918 ;;
1919 *-*-solaris2* )
1920 USE_SUN=1
1921 USE_SOLARIS=1
1922 USE_SVR4=1
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __SUN__ 1
1925 _ACEOF
1926
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SOLARIS__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SVR4__ 1
1933 _ACEOF
1934
1935 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1936 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1937 ;;
1938 *-*-sunos4* )
1939 USE_SUN=1
1940 USE_SUNOS=1
1941 USE_BSD=1
1942 cat >>confdefs.h <<\_ACEOF
1943 #define __SUN__ 1
1944 _ACEOF
1945
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __SUNOS__ 1
1948 _ACEOF
1949
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __BSD__ 1
1952 _ACEOF
1953
1954 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1955 ;;
1956 *-*-freebsd*)
1957 USE_BSD=1
1958 USE_FREEBSD=1
1959 cat >>confdefs.h <<\_ACEOF
1960 #define __FREEBSD__ 1
1961 _ACEOF
1962
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __BSD__ 1
1965 _ACEOF
1966
1967 DEFAULT_DEFAULT_wxUSE_GTK=1
1968 ;;
1969 *-*-openbsd*|*-*-mirbsd*)
1970 USE_BSD=1
1971 USE_OPENBSD=1
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __OPENBSD__ 1
1974 _ACEOF
1975
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __BSD__ 1
1978 _ACEOF
1979
1980 DEFAULT_DEFAULT_wxUSE_GTK=1
1981 ;;
1982 *-*-netbsd*)
1983 USE_BSD=1
1984 USE_NETBSD=1
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __NETBSD__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __BSD__ 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_GTK=1
1994 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1995
1996 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1997 ;;
1998 *-*-osf* )
1999 USE_ALPHA=1
2000 USE_OSF=1
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __ALPHA__ 1
2003 _ACEOF
2004
2005 cat >>confdefs.h <<\_ACEOF
2006 #define __OSF__ 1
2007 _ACEOF
2008
2009 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2010 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2011 ;;
2012 *-*-dgux5* )
2013 USE_ALPHA=1
2014 USE_SVR4=1
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __ALPHA__ 1
2017 _ACEOF
2018
2019 cat >>confdefs.h <<\_ACEOF
2020 #define __SVR4__ 1
2021 _ACEOF
2022
2023 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2024 ;;
2025 *-*-sysv5* )
2026 USE_SYSV=1
2027 USE_SVR4=1
2028 cat >>confdefs.h <<\_ACEOF
2029 #define __SYSV__ 1
2030 _ACEOF
2031
2032 cat >>confdefs.h <<\_ACEOF
2033 #define __SVR4__ 1
2034 _ACEOF
2035
2036 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2037 ;;
2038 *-*-aix* )
2039 USE_AIX=1
2040 USE_SYSV=1
2041 USE_SVR4=1
2042 SO_SUFFIX=a
2043 cat >>confdefs.h <<\_ACEOF
2044 #define __AIX__ 1
2045 _ACEOF
2046
2047 cat >>confdefs.h <<\_ACEOF
2048 #define __SYSV__ 1
2049 _ACEOF
2050
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __SVR4__ 1
2053 _ACEOF
2054
2055 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2056 ;;
2057
2058 *-*-*UnixWare*)
2059 USE_SYSV=1
2060 USE_SVR4=1
2061 USE_UNIXWARE=1
2062 cat >>confdefs.h <<\_ACEOF
2063 #define __UNIXWARE__ 1
2064 _ACEOF
2065
2066 ;;
2067
2068 *-*-cygwin* | *-*-mingw32* )
2069 SO_SUFFIX=dll
2070 PROGRAM_EXT=".exe"
2071 DEFAULT_DEFAULT_wxUSE_MSW=1
2072 DEFAULT_STD_FLAG=no
2073 ;;
2074
2075 *-pc-msdosdjgpp )
2076 USE_UNIX=0
2077 USE_DOS=1
2078 cat >>confdefs.h <<\_ACEOF
2079 #define __DOS__ 1
2080 _ACEOF
2081
2082 PROGRAM_EXT=".exe"
2083 DEFAULT_DEFAULT_wxUSE_MGL=1
2084 ;;
2085
2086 *-pc-os2_emx | *-pc-os2-emx )
2087 cat >>confdefs.h <<\_ACEOF
2088 #define __EMX__ 1
2089 _ACEOF
2090
2091 USE_OS2=1
2092 cat >>confdefs.h <<\_ACEOF
2093 #define __OS2__ 1
2094 _ACEOF
2095
2096 PROGRAM_EXT=".exe"
2097 DEFAULT_DEFAULT_wxUSE_PM=1
2098 CXX=gcc
2099 LDFLAGS="$LDFLAGS -Zcrtdll"
2100 ac_executable_extensions=".exe"
2101 export ac_executable_extensions
2102 ac_save_IFS="$IFS"
2103 IFS='\\'
2104 ac_TEMP_PATH=
2105 for ac_dir in $PATH; do
2106 IFS=$ac_save_IFS
2107 if test -z "$ac_TEMP_PATH"; then
2108 ac_TEMP_PATH="$ac_dir"
2109 else
2110 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2111 fi
2112 done
2113 export PATH="$ac_TEMP_PATH"
2114 unset ac_TEMP_PATH
2115 DEFAULT_STD_FLAG=no
2116 ;;
2117
2118 *-*-darwin* )
2119 USE_BSD=1
2120 USE_DARWIN=1
2121 SO_SUFFIX=dylib
2122 cat >>confdefs.h <<\_ACEOF
2123 #define __BSD__ 1
2124 _ACEOF
2125
2126 cat >>confdefs.h <<\_ACEOF
2127 #define __DARWIN__ 1
2128 _ACEOF
2129
2130 cat >>confdefs.h <<\_ACEOF
2131 #define TARGET_CARBON 1
2132 _ACEOF
2133
2134 DEFAULT_DEFAULT_wxUSE_MAC=1
2135 DEFAULT_STD_FLAG=no
2136 ;;
2137 powerpc-apple-macos* )
2138 USE_UNIX=0
2139 ac_cv_c_bigendian=yes
2140 SO_SUFFIX=shlib
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144
2145 *-*-beos* )
2146 USE_BEOS=1
2147 cat >>confdefs.h <<\_ACEOF
2148 #define __BEOS__ 1
2149 _ACEOF
2150
2151 ;;
2152
2153 *)
2154 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2155 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2156 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2157 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2158
2159 DEFAULT_DEFAULT_wxUSE_X11=1
2160 DEFAULT_wxUSE_SHARED=no
2161 esac
2162
2163
2164
2165
2166 wx_arg_cache_file="configarg.cache"
2167 echo "loading argument cache $wx_arg_cache_file"
2168 rm -f ${wx_arg_cache_file}.tmp
2169 touch ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}
2171
2172
2173 DEBUG_CONFIGURE=0
2174 if test $DEBUG_CONFIGURE = 1; then
2175 DEFAULT_wxUSE_UNIVERSAL=no
2176 DEFAULT_wxUSE_STL=no
2177
2178 DEFAULT_wxUSE_NANOX=no
2179
2180 DEFAULT_wxUSE_THREADS=yes
2181
2182 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2183 DEFAULT_wxUSE_OPTIMISE=no
2184 DEFAULT_wxUSE_PROFILE=no
2185 DEFAULT_wxUSE_NO_DEPS=no
2186 DEFAULT_wxUSE_NO_RTTI=no
2187 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2188 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2189 DEFAULT_wxUSE_RPATH=yes
2190 DEFAULT_wxUSE_PERMISSIVE=no
2191 DEFAULT_wxUSE_DEBUG_FLAG=yes
2192 DEFAULT_wxUSE_DEBUG_INFO=yes
2193 DEFAULT_wxUSE_DEBUG_GDB=yes
2194 DEFAULT_wxUSE_MEM_TRACING=no
2195 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2196 DEFAULT_wxUSE_DMALLOC=no
2197 DEFAULT_wxUSE_APPLE_IEEE=no
2198
2199 DEFAULT_wxUSE_EXCEPTIONS=no
2200 DEFAULT_wxUSE_LOG=yes
2201 DEFAULT_wxUSE_LOGWINDOW=no
2202 DEFAULT_wxUSE_LOGGUI=no
2203 DEFAULT_wxUSE_LOGDIALOG=no
2204
2205 DEFAULT_wxUSE_GUI=yes
2206 DEFAULT_wxUSE_CONTROLS=no
2207
2208 DEFAULT_wxUSE_REGEX=no
2209 DEFAULT_wxUSE_XML=no
2210 DEFAULT_wxUSE_EXPAT=no
2211 DEFAULT_wxUSE_ZLIB=no
2212 DEFAULT_wxUSE_LIBPNG=no
2213 DEFAULT_wxUSE_LIBJPEG=no
2214 DEFAULT_wxUSE_LIBTIFF=no
2215 DEFAULT_wxUSE_LIBXPM=no
2216 DEFAULT_wxUSE_LIBMSPACK=no
2217 DEFAULT_wxUSE_LIBSDL=no
2218 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2219 DEFAULT_wxUSE_LIBGNOMEVFS=no
2220 DEFAULT_wxUSE_LIBHILDON=no
2221 DEFAULT_wxUSE_ODBC=no
2222 DEFAULT_wxUSE_OPENGL=no
2223
2224 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2225 DEFAULT_wxUSE_STACKWALKER=no
2226 DEFAULT_wxUSE_DEBUGREPORT=no
2227 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2228 DEFAULT_wxUSE_STD_IOSTREAM=no
2229 DEFAULT_wxUSE_STD_STRING=no
2230 DEFAULT_wxUSE_CMDLINE_PARSER=no
2231 DEFAULT_wxUSE_DATETIME=no
2232 DEFAULT_wxUSE_TIMER=no
2233 DEFAULT_wxUSE_STOPWATCH=no
2234 DEFAULT_wxUSE_FILE=no
2235 DEFAULT_wxUSE_FFILE=no
2236 DEFAULT_wxUSE_STDPATHS=no
2237 DEFAULT_wxUSE_TEXTBUFFER=no
2238 DEFAULT_wxUSE_TEXTFILE=no
2239 DEFAULT_wxUSE_SOUND=no
2240 DEFAULT_wxUSE_MEDIACTRL=no
2241 DEFAULT_wxUSE_GSTREAMER8=no
2242 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2243 DEFAULT_wxUSE_INTL=no
2244 DEFAULT_wxUSE_CONFIG=no
2245 DEFAULT_wxUSE_FONTMAP=no
2246 DEFAULT_wxUSE_STREAMS=no
2247 DEFAULT_wxUSE_SOCKETS=no
2248 DEFAULT_wxUSE_OLE=no
2249 DEFAULT_wxUSE_DATAOBJ=no
2250 DEFAULT_wxUSE_DIALUP_MANAGER=no
2251 DEFAULT_wxUSE_JOYSTICK=no
2252 DEFAULT_wxUSE_DYNLIB_CLASS=no
2253 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2254 DEFAULT_wxUSE_LONGLONG=no
2255 DEFAULT_wxUSE_GEOMETRY=no
2256
2257 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2258 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2259 DEFAULT_wxUSE_POSTSCRIPT=no
2260
2261 DEFAULT_wxUSE_CLIPBOARD=no
2262 DEFAULT_wxUSE_TOOLTIPS=no
2263 DEFAULT_wxUSE_DRAG_AND_DROP=no
2264 DEFAULT_wxUSE_DRAGIMAGE=no
2265 DEFAULT_wxUSE_SPLINES=no
2266 DEFAULT_wxUSE_MOUSEWHEEL=no
2267
2268 DEFAULT_wxUSE_MDI=no
2269 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2270 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2271 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2272
2273 DEFAULT_wxUSE_RESOURCES=no
2274 DEFAULT_wxUSE_CONSTRAINTS=no
2275 DEFAULT_wxUSE_IPC=no
2276 DEFAULT_wxUSE_HELP=no
2277 DEFAULT_wxUSE_MS_HTML_HELP=no
2278 DEFAULT_wxUSE_WXHTML_HELP=no
2279 DEFAULT_wxUSE_TREELAYOUT=no
2280 DEFAULT_wxUSE_METAFILE=no
2281 DEFAULT_wxUSE_MIMETYPE=no
2282 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2283 DEFAULT_wxUSE_PROTOCOL=no
2284 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2285 DEFAULT_wxUSE_PROTOCOL_FTP=no
2286 DEFAULT_wxUSE_PROTOCOL_FILE=no
2287 DEFAULT_wxUSE_URL=no
2288 DEFAULT_wxUSE_VARIANT=no
2289
2290 DEFAULT_wxUSE_ABOUTDLG=no
2291 DEFAULT_wxUSE_COMMONDLGS=no
2292 DEFAULT_wxUSE_CHOICEDLG=no
2293 DEFAULT_wxUSE_COLOURDLG=no
2294 DEFAULT_wxUSE_DIRDLG=no
2295 DEFAULT_wxUSE_FILEDLG=no
2296 DEFAULT_wxUSE_FINDREPLDLG=no
2297 DEFAULT_wxUSE_FONTDLG=no
2298 DEFAULT_wxUSE_MSGDLG=no
2299 DEFAULT_wxUSE_NUMBERDLG=no
2300 DEFAULT_wxUSE_TEXTDLG=no
2301 DEFAULT_wxUSE_SPLASH=no
2302 DEFAULT_wxUSE_STARTUP_TIPS=no
2303 DEFAULT_wxUSE_PROGRESSDLG=no
2304 DEFAULT_wxUSE_WIZARDDLG=no
2305
2306 DEFAULT_wxUSE_MENUS=no
2307 DEFAULT_wxUSE_MINIFRAME=no
2308 DEFAULT_wxUSE_HTML=no
2309 DEFAULT_wxUSE_RICHTEXT=no
2310 DEFAULT_wxUSE_XRC=no
2311 DEFAULT_wxUSE_AUI=no
2312 DEFAULT_wxUSE_WEBKIT=no
2313 DEFAULT_wxUSE_FILESYSTEM=no
2314 DEFAULT_wxUSE_FS_INET=no
2315 DEFAULT_wxUSE_FS_ZIP=no
2316 DEFAULT_wxUSE_BUSYINFO=no
2317 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2318 DEFAULT_wxUSE_ZIPSTREAM=no
2319 DEFAULT_wxUSE_VALIDATORS=no
2320
2321 DEFAULT_wxUSE_ACCEL=no
2322 DEFAULT_wxUSE_ANIMATIONCTRL=no
2323 DEFAULT_wxUSE_BUTTON=no
2324 DEFAULT_wxUSE_BMPBUTTON=no
2325 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2326 DEFAULT_wxUSE_CALCTRL=no
2327 DEFAULT_wxUSE_CARET=no
2328 DEFAULT_wxUSE_CHECKBOX=no
2329 DEFAULT_wxUSE_CHECKLST=no
2330 DEFAULT_wxUSE_CHOICE=no
2331 DEFAULT_wxUSE_CHOICEBOOK=no
2332 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2333 DEFAULT_wxUSE_COMBOBOX=no
2334 DEFAULT_wxUSE_COMBOCTRL=no
2335 DEFAULT_wxUSE_DATEPICKCTRL=no
2336 DEFAULT_wxUSE_DISPLAY=no
2337 DEFAULT_wxUSE_DIRPICKERCTRL=no
2338 DEFAULT_wxUSE_FILEPICKERCTRL=no
2339 DEFAULT_wxUSE_FONTPICKERCTRL=no
2340 DEFAULT_wxUSE_GAUGE=no
2341 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2342 DEFAULT_wxUSE_GRID=no
2343 DEFAULT_wxUSE_HYPERLINKCTRL=no
2344 DEFAULT_wxUSE_DATAVIEWCTRL=no
2345 DEFAULT_wxUSE_IMAGLIST=no
2346 DEFAULT_wxUSE_LISTBOOK=no
2347 DEFAULT_wxUSE_LISTBOX=no
2348 DEFAULT_wxUSE_LISTCTRL=no
2349 DEFAULT_wxUSE_NOTEBOOK=no
2350 DEFAULT_wxUSE_ODCOMBOBOX=no
2351 DEFAULT_wxUSE_RADIOBOX=no
2352 DEFAULT_wxUSE_RADIOBTN=no
2353 DEFAULT_wxUSE_SASH=no
2354 DEFAULT_wxUSE_SCROLLBAR=no
2355 DEFAULT_wxUSE_SLIDER=no
2356 DEFAULT_wxUSE_SPINBTN=no
2357 DEFAULT_wxUSE_SPINCTRL=no
2358 DEFAULT_wxUSE_SPLITTER=no
2359 DEFAULT_wxUSE_STATBMP=no
2360 DEFAULT_wxUSE_STATBOX=no
2361 DEFAULT_wxUSE_STATLINE=no
2362 DEFAULT_wxUSE_STATTEXT=no
2363 DEFAULT_wxUSE_STATUSBAR=yes
2364 DEFAULT_wxUSE_TAB_DIALOG=no
2365 DEFAULT_wxUSE_TEXTCTRL=no
2366 DEFAULT_wxUSE_TOGGLEBTN=no
2367 DEFAULT_wxUSE_TOOLBAR=no
2368 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2369 DEFAULT_wxUSE_TREEBOOK=no
2370 DEFAULT_wxUSE_TOOLBOOK=no
2371 DEFAULT_wxUSE_TREECTRL=no
2372 DEFAULT_wxUSE_POPUPWIN=no
2373 DEFAULT_wxUSE_TIPWINDOW=no
2374
2375 DEFAULT_wxUSE_UNICODE=no
2376 DEFAULT_wxUSE_UNICODE_MSLU=no
2377 DEFAULT_wxUSE_WCSRTOMBS=no
2378
2379 DEFAULT_wxUSE_PALETTE=no
2380 DEFAULT_wxUSE_IMAGE=no
2381 DEFAULT_wxUSE_GIF=no
2382 DEFAULT_wxUSE_PCX=no
2383 DEFAULT_wxUSE_PNM=no
2384 DEFAULT_wxUSE_IFF=no
2385 DEFAULT_wxUSE_XPM=no
2386 DEFAULT_wxUSE_ICO_CUR=no
2387 DEFAULT_wxUSE_ACCESSIBILITY=no
2388
2389 DEFAULT_wxUSE_MONOLITHIC=no
2390 DEFAULT_wxUSE_PLUGINS=no
2391 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2392 else
2393 DEFAULT_wxUSE_UNIVERSAL=no
2394 DEFAULT_wxUSE_STL=no
2395
2396 DEFAULT_wxUSE_NANOX=no
2397
2398 DEFAULT_wxUSE_THREADS=yes
2399
2400 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2401 DEFAULT_wxUSE_OPTIMISE=yes
2402 DEFAULT_wxUSE_PROFILE=no
2403 DEFAULT_wxUSE_NO_DEPS=no
2404 DEFAULT_wxUSE_NO_RTTI=no
2405 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2406 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2407 DEFAULT_wxUSE_RPATH=yes
2408 DEFAULT_wxUSE_PERMISSIVE=no
2409 DEFAULT_wxUSE_DEBUG_FLAG=no
2410 DEFAULT_wxUSE_DEBUG_INFO=no
2411 DEFAULT_wxUSE_DEBUG_GDB=no
2412 DEFAULT_wxUSE_MEM_TRACING=no
2413 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2414 DEFAULT_wxUSE_DMALLOC=no
2415 DEFAULT_wxUSE_APPLE_IEEE=yes
2416
2417 DEFAULT_wxUSE_EXCEPTIONS=yes
2418 DEFAULT_wxUSE_LOG=yes
2419 DEFAULT_wxUSE_LOGWINDOW=yes
2420 DEFAULT_wxUSE_LOGGUI=yes
2421 DEFAULT_wxUSE_LOGDIALOG=yes
2422
2423 DEFAULT_wxUSE_GUI=yes
2424
2425 DEFAULT_wxUSE_REGEX=yes
2426 DEFAULT_wxUSE_XML=yes
2427 DEFAULT_wxUSE_EXPAT=yes
2428 DEFAULT_wxUSE_ZLIB=yes
2429 DEFAULT_wxUSE_LIBPNG=yes
2430 DEFAULT_wxUSE_LIBJPEG=yes
2431 DEFAULT_wxUSE_LIBTIFF=yes
2432 DEFAULT_wxUSE_LIBXPM=yes
2433 DEFAULT_wxUSE_LIBMSPACK=yes
2434 DEFAULT_wxUSE_LIBSDL=no
2435 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2436 DEFAULT_wxUSE_LIBGNOMEVFS=no
2437 DEFAULT_wxUSE_LIBHILDON=no
2438 DEFAULT_wxUSE_ODBC=no
2439 DEFAULT_wxUSE_OPENGL=no
2440
2441 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2442 DEFAULT_wxUSE_STACKWALKER=yes
2443 DEFAULT_wxUSE_DEBUGREPORT=yes
2444 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2445 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2446 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2447 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2448 DEFAULT_wxUSE_DATETIME=yes
2449 DEFAULT_wxUSE_TIMER=yes
2450 DEFAULT_wxUSE_STOPWATCH=yes
2451 DEFAULT_wxUSE_FILE=yes
2452 DEFAULT_wxUSE_FFILE=yes
2453 DEFAULT_wxUSE_STDPATHS=yes
2454 DEFAULT_wxUSE_TEXTBUFFER=yes
2455 DEFAULT_wxUSE_TEXTFILE=yes
2456 DEFAULT_wxUSE_SOUND=yes
2457 DEFAULT_wxUSE_MEDIACTRL=no
2458 DEFAULT_wxUSE_GSTREAMER8=no
2459 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2460 DEFAULT_wxUSE_INTL=yes
2461 DEFAULT_wxUSE_CONFIG=yes
2462 DEFAULT_wxUSE_FONTMAP=yes
2463 DEFAULT_wxUSE_STREAMS=yes
2464 DEFAULT_wxUSE_SOCKETS=yes
2465 DEFAULT_wxUSE_OLE=yes
2466 DEFAULT_wxUSE_DATAOBJ=yes
2467 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2468 DEFAULT_wxUSE_JOYSTICK=yes
2469 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2470 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2471 DEFAULT_wxUSE_LONGLONG=yes
2472 DEFAULT_wxUSE_GEOMETRY=yes
2473
2474 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2475 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2476 DEFAULT_wxUSE_POSTSCRIPT=yes
2477
2478 DEFAULT_wxUSE_CLIPBOARD=yes
2479 DEFAULT_wxUSE_TOOLTIPS=yes
2480 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2481 DEFAULT_wxUSE_DRAGIMAGE=yes
2482 DEFAULT_wxUSE_SPLINES=yes
2483 DEFAULT_wxUSE_MOUSEWHEEL=yes
2484
2485 DEFAULT_wxUSE_MDI=yes
2486 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2487 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2488 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2489
2490 DEFAULT_wxUSE_RESOURCES=no
2491 DEFAULT_wxUSE_CONSTRAINTS=yes
2492 DEFAULT_wxUSE_IPC=yes
2493 DEFAULT_wxUSE_HELP=yes
2494 DEFAULT_wxUSE_MS_HTML_HELP=yes
2495 DEFAULT_wxUSE_WXHTML_HELP=yes
2496 DEFAULT_wxUSE_TREELAYOUT=yes
2497 DEFAULT_wxUSE_METAFILE=yes
2498 DEFAULT_wxUSE_MIMETYPE=yes
2499 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2500 DEFAULT_wxUSE_PROTOCOL=yes
2501 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2502 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2503 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2504 DEFAULT_wxUSE_URL=yes
2505 DEFAULT_wxUSE_VARIANT=yes
2506
2507 DEFAULT_wxUSE_ABOUTDLG=yes
2508 DEFAULT_wxUSE_COMMONDLGS=yes
2509 DEFAULT_wxUSE_CHOICEDLG=yes
2510 DEFAULT_wxUSE_COLOURDLG=yes
2511 DEFAULT_wxUSE_DIRDLG=yes
2512 DEFAULT_wxUSE_FILEDLG=yes
2513 DEFAULT_wxUSE_FINDREPLDLG=yes
2514 DEFAULT_wxUSE_FONTDLG=yes
2515 DEFAULT_wxUSE_MSGDLG=yes
2516 DEFAULT_wxUSE_NUMBERDLG=yes
2517 DEFAULT_wxUSE_TEXTDLG=yes
2518 DEFAULT_wxUSE_SPLASH=yes
2519 DEFAULT_wxUSE_STARTUP_TIPS=yes
2520 DEFAULT_wxUSE_PROGRESSDLG=yes
2521 DEFAULT_wxUSE_WIZARDDLG=yes
2522
2523 DEFAULT_wxUSE_MENUS=yes
2524 DEFAULT_wxUSE_MINIFRAME=yes
2525 DEFAULT_wxUSE_HTML=yes
2526 DEFAULT_wxUSE_RICHTEXT=yes
2527 DEFAULT_wxUSE_XRC=yes
2528 DEFAULT_wxUSE_AUI=yes
2529 DEFAULT_wxUSE_WEBKIT=yes
2530 DEFAULT_wxUSE_FILESYSTEM=yes
2531 DEFAULT_wxUSE_FS_INET=yes
2532 DEFAULT_wxUSE_FS_ZIP=yes
2533 DEFAULT_wxUSE_BUSYINFO=yes
2534 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2535 DEFAULT_wxUSE_ZIPSTREAM=yes
2536 DEFAULT_wxUSE_VALIDATORS=yes
2537
2538 DEFAULT_wxUSE_ACCEL=yes
2539 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2540 DEFAULT_wxUSE_BUTTON=yes
2541 DEFAULT_wxUSE_BMPBUTTON=yes
2542 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2543 DEFAULT_wxUSE_CALCTRL=yes
2544 DEFAULT_wxUSE_CARET=yes
2545 DEFAULT_wxUSE_CHECKBOX=yes
2546 DEFAULT_wxUSE_CHECKLST=yes
2547 DEFAULT_wxUSE_CHOICE=yes
2548 DEFAULT_wxUSE_CHOICEBOOK=yes
2549 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2550 DEFAULT_wxUSE_COMBOBOX=yes
2551 DEFAULT_wxUSE_COMBOCTRL=yes
2552 DEFAULT_wxUSE_DATEPICKCTRL=yes
2553 DEFAULT_wxUSE_DISPLAY=yes
2554 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2555 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2556 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2557 DEFAULT_wxUSE_GAUGE=yes
2558 DEFAULT_wxUSE_GRID=yes
2559 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2560 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2561 DEFAULT_wxUSE_DATAVIEWCTRL=no
2562 DEFAULT_wxUSE_IMAGLIST=yes
2563 DEFAULT_wxUSE_LISTBOOK=yes
2564 DEFAULT_wxUSE_LISTBOX=yes
2565 DEFAULT_wxUSE_LISTCTRL=yes
2566 DEFAULT_wxUSE_NOTEBOOK=yes
2567 DEFAULT_wxUSE_ODCOMBOBOX=yes
2568 DEFAULT_wxUSE_RADIOBOX=yes
2569 DEFAULT_wxUSE_RADIOBTN=yes
2570 DEFAULT_wxUSE_SASH=yes
2571 DEFAULT_wxUSE_SCROLLBAR=yes
2572 DEFAULT_wxUSE_SLIDER=yes
2573 DEFAULT_wxUSE_SPINBTN=yes
2574 DEFAULT_wxUSE_SPINCTRL=yes
2575 DEFAULT_wxUSE_SPLITTER=yes
2576 DEFAULT_wxUSE_STATBMP=yes
2577 DEFAULT_wxUSE_STATBOX=yes
2578 DEFAULT_wxUSE_STATLINE=yes
2579 DEFAULT_wxUSE_STATTEXT=yes
2580 DEFAULT_wxUSE_STATUSBAR=yes
2581 DEFAULT_wxUSE_TAB_DIALOG=no
2582 DEFAULT_wxUSE_TEXTCTRL=yes
2583 DEFAULT_wxUSE_TOGGLEBTN=yes
2584 DEFAULT_wxUSE_TOOLBAR=yes
2585 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2586 DEFAULT_wxUSE_TREEBOOK=yes
2587 DEFAULT_wxUSE_TOOLBOOK=yes
2588 DEFAULT_wxUSE_TREECTRL=yes
2589 DEFAULT_wxUSE_POPUPWIN=yes
2590 DEFAULT_wxUSE_TIPWINDOW=yes
2591
2592 DEFAULT_wxUSE_UNICODE=no
2593 DEFAULT_wxUSE_UNICODE_MSLU=yes
2594 DEFAULT_wxUSE_WCSRTOMBS=no
2595
2596 DEFAULT_wxUSE_PALETTE=yes
2597 DEFAULT_wxUSE_IMAGE=yes
2598 DEFAULT_wxUSE_GIF=yes
2599 DEFAULT_wxUSE_PCX=yes
2600 DEFAULT_wxUSE_IFF=no
2601 DEFAULT_wxUSE_PNM=yes
2602 DEFAULT_wxUSE_XPM=yes
2603 DEFAULT_wxUSE_ICO_CUR=yes
2604 DEFAULT_wxUSE_ACCESSIBILITY=no
2605
2606 DEFAULT_wxUSE_MONOLITHIC=no
2607 DEFAULT_wxUSE_PLUGINS=no
2608 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2609
2610 DEFAULT_wxUSE_GTK2=yes
2611 fi
2612
2613
2614
2615
2616 for toolkit in `echo $ALL_TOOLKITS`; do
2617 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2618 if test "x$LINE" != "x" ; then
2619 has_toolkit_in_cache=1
2620 eval "DEFAULT_$LINE"
2621 eval "CACHE_$toolkit=1"
2622
2623 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2624 if test "x$LINE" != "x" ; then
2625 eval "DEFAULT_$LINE"
2626 fi
2627 fi
2628 done
2629
2630
2631
2632 enablestring=
2633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2634 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2635 no_cache=0
2636 # Check whether --enable-gui or --disable-gui was given.
2637 if test "${enable_gui+set}" = set; then
2638 enableval="$enable_gui"
2639
2640 if test "$enableval" = yes; then
2641 ac_cv_use_gui='wxUSE_GUI=yes'
2642 else
2643 ac_cv_use_gui='wxUSE_GUI=no'
2644 fi
2645
2646 else
2647
2648 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x ; then
2650 eval "DEFAULT_$LINE"
2651 else
2652 no_cache=1
2653 fi
2654
2655 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2656
2657 fi;
2658
2659 eval "$ac_cv_use_gui"
2660 if test "$no_cache" != 1; then
2661 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2662 fi
2663
2664 if test "$wxUSE_GUI" = yes; then
2665 echo "$as_me:$LINENO: result: yes" >&5
2666 echo "${ECHO_T}yes" >&6
2667 else
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2670 fi
2671
2672
2673 enablestring=
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2676 no_cache=0
2677 # Check whether --enable-monolithic or --disable-monolithic was given.
2678 if test "${enable_monolithic+set}" = set; then
2679 enableval="$enable_monolithic"
2680
2681 if test "$enableval" = yes; then
2682 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2683 else
2684 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2685 fi
2686
2687 else
2688
2689 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2692 else
2693 no_cache=1
2694 fi
2695
2696 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2697
2698 fi;
2699
2700 eval "$ac_cv_use_monolithic"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2703 fi
2704
2705 if test "$wxUSE_MONOLITHIC" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 else
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2711 fi
2712
2713
2714 enablestring=
2715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2716 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2717 no_cache=0
2718 # Check whether --enable-plugins or --disable-plugins was given.
2719 if test "${enable_plugins+set}" = set; then
2720 enableval="$enable_plugins"
2721
2722 if test "$enableval" = yes; then
2723 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2724 else
2725 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2726 fi
2727
2728 else
2729
2730 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x ; then
2732 eval "DEFAULT_$LINE"
2733 else
2734 no_cache=1
2735 fi
2736
2737 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2738
2739 fi;
2740
2741 eval "$ac_cv_use_plugins"
2742 if test "$no_cache" != 1; then
2743 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2744 fi
2745
2746 if test "$wxUSE_PLUGINS" = yes; then
2747 echo "$as_me:$LINENO: result: yes" >&5
2748 echo "${ECHO_T}yes" >&6
2749 else
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2752 fi
2753
2754
2755 withstring=without
2756 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2757 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2758 no_cache=0
2759
2760 # Check whether --with-subdirs or --without-subdirs was given.
2761 if test "${with_subdirs+set}" = set; then
2762 withval="$with_subdirs"
2763
2764 if test "$withval" = yes; then
2765 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2766 else
2767 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2768 fi
2769
2770 else
2771
2772 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x ; then
2774 eval "DEFAULT_$LINE"
2775 else
2776 no_cache=1
2777 fi
2778
2779 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2780
2781 fi;
2782
2783 eval "$ac_cv_use_subdirs"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2786 fi
2787
2788 if test "$wxWITH_SUBDIRS" = yes; then
2789 echo "$as_me:$LINENO: result: yes" >&5
2790 echo "${ECHO_T}yes" >&6
2791 else
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 fi
2795
2796
2797 if test "$wxUSE_GUI" = "yes"; then
2798
2799
2800 enablestring=
2801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2802 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2803 no_cache=0
2804 # Check whether --enable-universal or --disable-universal was given.
2805 if test "${enable_universal+set}" = set; then
2806 enableval="$enable_universal"
2807
2808 if test "$enableval" = yes; then
2809 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2810 else
2811 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2812 fi
2813
2814 else
2815
2816 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x ; then
2818 eval "DEFAULT_$LINE"
2819 else
2820 no_cache=1
2821 fi
2822
2823 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2824
2825 fi;
2826
2827 eval "$ac_cv_use_universal"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2830 fi
2831
2832 if test "$wxUSE_UNIVERSAL" = yes; then
2833 echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6
2835 else
2836 echo "$as_me:$LINENO: result: no" >&5
2837 echo "${ECHO_T}no" >&6
2838 fi
2839
2840
2841 # Check whether --with-gtk or --without-gtk was given.
2842 if test "${with_gtk+set}" = set; then
2843 withval="$with_gtk"
2844 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2845 fi;
2846
2847 # Check whether --with-motif or --without-motif was given.
2848 if test "${with_motif+set}" = set; then
2849 withval="$with_motif"
2850 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2851 fi;
2852
2853 # Check whether --with-mac or --without-mac was given.
2854 if test "${with_mac+set}" = set; then
2855 withval="$with_mac"
2856 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2857 fi;
2858
2859 # Check whether --with-cocoa or --without-cocoa was given.
2860 if test "${with_cocoa+set}" = set; then
2861 withval="$with_cocoa"
2862 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2863 fi;
2864
2865 # Check whether --with-wine or --without-wine was given.
2866 if test "${with_wine+set}" = set; then
2867 withval="$with_wine"
2868 wxUSE_WINE="$withval" CACHE_WINE=1
2869 fi;
2870
2871 # Check whether --with-msw or --without-msw was given.
2872 if test "${with_msw+set}" = set; then
2873 withval="$with_msw"
2874 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2875 fi;
2876
2877 # Check whether --with-pm or --without-pm was given.
2878 if test "${with_pm+set}" = set; then
2879 withval="$with_pm"
2880 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2881 fi;
2882
2883 # Check whether --with-mgl or --without-mgl was given.
2884 if test "${with_mgl+set}" = set; then
2885 withval="$with_mgl"
2886 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2887 fi;
2888
2889 # Check whether --with-directfb or --without-directfb was given.
2890 if test "${with_directfb+set}" = set; then
2891 withval="$with_directfb"
2892 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2893 fi;
2894
2895 # Check whether --with-microwin or --without-microwin was given.
2896 if test "${with_microwin+set}" = set; then
2897 withval="$with_microwin"
2898 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2899 fi;
2900
2901 # Check whether --with-x11 or --without-x11 was given.
2902 if test "${with_x11+set}" = set; then
2903 withval="$with_x11"
2904 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2905 fi;
2906
2907 enablestring=
2908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2909 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2910 no_cache=0
2911 # Check whether --enable-nanox or --disable-nanox was given.
2912 if test "${enable_nanox+set}" = set; then
2913 enableval="$enable_nanox"
2914
2915 if test "$enableval" = yes; then
2916 ac_cv_use_nanox='wxUSE_NANOX=yes'
2917 else
2918 ac_cv_use_nanox='wxUSE_NANOX=no'
2919 fi
2920
2921 else
2922
2923 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x ; then
2925 eval "DEFAULT_$LINE"
2926 else
2927 no_cache=1
2928 fi
2929
2930 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2931
2932 fi;
2933
2934 eval "$ac_cv_use_nanox"
2935 if test "$no_cache" != 1; then
2936 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2937 fi
2938
2939 if test "$wxUSE_NANOX" = yes; then
2940 echo "$as_me:$LINENO: result: yes" >&5
2941 echo "${ECHO_T}yes" >&6
2942 else
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2945 fi
2946
2947
2948 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2949 if test "${enable_gtk2+set}" = set; then
2950 enableval="$enable_gtk2"
2951 wxUSE_GTK2="$enableval"
2952 fi;
2953
2954 enablestring=
2955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2956 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2957 no_cache=0
2958 # Check whether --enable-gpe or --disable-gpe was given.
2959 if test "${enable_gpe+set}" = set; then
2960 enableval="$enable_gpe"
2961
2962 if test "$enableval" = yes; then
2963 ac_cv_use_gpe='wxUSE_GPE=yes'
2964 else
2965 ac_cv_use_gpe='wxUSE_GPE=no'
2966 fi
2967
2968 else
2969
2970 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2971 if test "x$LINE" != x ; then
2972 eval "DEFAULT_$LINE"
2973 else
2974 no_cache=1
2975 fi
2976
2977 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2978
2979 fi;
2980
2981 eval "$ac_cv_use_gpe"
2982 if test "$no_cache" != 1; then
2983 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2984 fi
2985
2986 if test "$wxUSE_GPE" = yes; then
2987 echo "$as_me:$LINENO: result: yes" >&5
2988 echo "${ECHO_T}yes" >&6
2989 else
2990 echo "$as_me:$LINENO: result: no" >&5
2991 echo "${ECHO_T}no" >&6
2992 fi
2993
2994
2995
2996 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2997 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2998 no_cache=0
2999
3000 # Check whether --with-libpng or --without-libpng was given.
3001 if test "${with_libpng+set}" = set; then
3002 withval="$with_libpng"
3003
3004 if test "$withval" = yes; then
3005 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3006 elif test "$withval" = no; then
3007 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3008 elif test "$withval" = sys; then
3009 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3010 elif test "$withval" = builtin; then
3011 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3012 else
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3016 fi
3017
3018 else
3019
3020 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x ; then
3022 eval "DEFAULT_$LINE"
3023 else
3024 no_cache=1
3025 fi
3026
3027 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3028
3029 fi;
3030
3031 eval "$ac_cv_use_libpng"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3034 fi
3035
3036 if test "$wxUSE_LIBPNG" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6
3039 elif test "$wxUSE_LIBPNG" = no; then
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3042 elif test "$wxUSE_LIBPNG" = sys; then
3043 echo "$as_me:$LINENO: result: system version" >&5
3044 echo "${ECHO_T}system version" >&6
3045 elif test "$wxUSE_LIBPNG" = builtin; then
3046 echo "$as_me:$LINENO: result: builtin version" >&5
3047 echo "${ECHO_T}builtin version" >&6
3048 else
3049 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3050 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3051 { (exit 1); exit 1; }; }
3052 fi
3053
3054
3055 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3056 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3057 no_cache=0
3058
3059 # Check whether --with-libjpeg or --without-libjpeg was given.
3060 if test "${with_libjpeg+set}" = set; then
3061 withval="$with_libjpeg"
3062
3063 if test "$withval" = yes; then
3064 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3065 elif test "$withval" = no; then
3066 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3067 elif test "$withval" = sys; then
3068 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3069 elif test "$withval" = builtin; then
3070 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3071 else
3072 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3073 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3074 { (exit 1); exit 1; }; }
3075 fi
3076
3077 else
3078
3079 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x ; then
3081 eval "DEFAULT_$LINE"
3082 else
3083 no_cache=1
3084 fi
3085
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3087
3088 fi;
3089
3090 eval "$ac_cv_use_libjpeg"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3093 fi
3094
3095 if test "$wxUSE_LIBJPEG" = yes; then
3096 echo "$as_me:$LINENO: result: yes" >&5
3097 echo "${ECHO_T}yes" >&6
3098 elif test "$wxUSE_LIBJPEG" = no; then
3099 echo "$as_me:$LINENO: result: no" >&5
3100 echo "${ECHO_T}no" >&6
3101 elif test "$wxUSE_LIBJPEG" = sys; then
3102 echo "$as_me:$LINENO: result: system version" >&5
3103 echo "${ECHO_T}system version" >&6
3104 elif test "$wxUSE_LIBJPEG" = builtin; then
3105 echo "$as_me:$LINENO: result: builtin version" >&5
3106 echo "${ECHO_T}builtin version" >&6
3107 else
3108 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3109 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3110 { (exit 1); exit 1; }; }
3111 fi
3112
3113
3114 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3115 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3116 no_cache=0
3117
3118 # Check whether --with-libtiff or --without-libtiff was given.
3119 if test "${with_libtiff+set}" = set; then
3120 withval="$with_libtiff"
3121
3122 if test "$withval" = yes; then
3123 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3124 elif test "$withval" = no; then
3125 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3126 elif test "$withval" = sys; then
3127 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3128 elif test "$withval" = builtin; then
3129 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3130 else
3131 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3132 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3133 { (exit 1); exit 1; }; }
3134 fi
3135
3136 else
3137
3138 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x ; then
3140 eval "DEFAULT_$LINE"
3141 else
3142 no_cache=1
3143 fi
3144
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3146
3147 fi;
3148
3149 eval "$ac_cv_use_libtiff"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3152 fi
3153
3154 if test "$wxUSE_LIBTIFF" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3157 elif test "$wxUSE_LIBTIFF" = no; then
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3160 elif test "$wxUSE_LIBTIFF" = sys; then
3161 echo "$as_me:$LINENO: result: system version" >&5
3162 echo "${ECHO_T}system version" >&6
3163 elif test "$wxUSE_LIBTIFF" = builtin; then
3164 echo "$as_me:$LINENO: result: builtin version" >&5
3165 echo "${ECHO_T}builtin version" >&6
3166 else
3167 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3168 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3169 { (exit 1); exit 1; }; }
3170 fi
3171
3172
3173 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3174 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3175 no_cache=0
3176
3177 # Check whether --with-libxpm or --without-libxpm was given.
3178 if test "${with_libxpm+set}" = set; then
3179 withval="$with_libxpm"
3180
3181 if test "$withval" = yes; then
3182 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3183 elif test "$withval" = no; then
3184 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3185 elif test "$withval" = sys; then
3186 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3187 elif test "$withval" = builtin; then
3188 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3189 else
3190 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3191 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3192 { (exit 1); exit 1; }; }
3193 fi
3194
3195 else
3196
3197 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3198 if test "x$LINE" != x ; then
3199 eval "DEFAULT_$LINE"
3200 else
3201 no_cache=1
3202 fi
3203
3204 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3205
3206 fi;
3207
3208 eval "$ac_cv_use_libxpm"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3211 fi
3212
3213 if test "$wxUSE_LIBXPM" = yes; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3216 elif test "$wxUSE_LIBXPM" = no; then
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3219 elif test "$wxUSE_LIBXPM" = sys; then
3220 echo "$as_me:$LINENO: result: system version" >&5
3221 echo "${ECHO_T}system version" >&6
3222 elif test "$wxUSE_LIBXPM" = builtin; then
3223 echo "$as_me:$LINENO: result: builtin version" >&5
3224 echo "${ECHO_T}builtin version" >&6
3225 else
3226 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3227 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3228 { (exit 1); exit 1; }; }
3229 fi
3230
3231
3232 withstring=
3233 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3234 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3235 no_cache=0
3236
3237 # Check whether --with-libmspack or --without-libmspack was given.
3238 if test "${with_libmspack+set}" = set; then
3239 withval="$with_libmspack"
3240
3241 if test "$withval" = yes; then
3242 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3243 else
3244 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3245 fi
3246
3247 else
3248
3249 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x ; then
3251 eval "DEFAULT_$LINE"
3252 else
3253 no_cache=1
3254 fi
3255
3256 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3257
3258 fi;
3259
3260 eval "$ac_cv_use_libmspack"
3261 if test "$no_cache" != 1; then
3262 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3263 fi
3264
3265 if test "$wxUSE_LIBMSPACK" = yes; then
3266 echo "$as_me:$LINENO: result: yes" >&5
3267 echo "${ECHO_T}yes" >&6
3268 else
3269 echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6
3271 fi
3272
3273
3274 withstring=
3275 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3276 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3277 no_cache=0
3278
3279 # Check whether --with-sdl or --without-sdl was given.
3280 if test "${with_sdl+set}" = set; then
3281 withval="$with_sdl"
3282
3283 if test "$withval" = yes; then
3284 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3285 else
3286 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3287 fi
3288
3289 else
3290
3291 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x ; then
3293 eval "DEFAULT_$LINE"
3294 else
3295 no_cache=1
3296 fi
3297
3298 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3299
3300 fi;
3301
3302 eval "$ac_cv_use_sdl"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3305 fi
3306
3307 if test "$wxUSE_LIBSDL" = yes; then
3308 echo "$as_me:$LINENO: result: yes" >&5
3309 echo "${ECHO_T}yes" >&6
3310 else
3311 echo "$as_me:$LINENO: result: no" >&5
3312 echo "${ECHO_T}no" >&6
3313 fi
3314
3315
3316 withstring=
3317 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3318 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3319 no_cache=0
3320
3321 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3322 if test "${with_gnomeprint+set}" = set; then
3323 withval="$with_gnomeprint"
3324
3325 if test "$withval" = yes; then
3326 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3327 else
3328 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3329 fi
3330
3331 else
3332
3333 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3336 else
3337 no_cache=1
3338 fi
3339
3340 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3341
3342 fi;
3343
3344 eval "$ac_cv_use_gnomeprint"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3347 fi
3348
3349 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3352 else
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3355 fi
3356
3357
3358 withstring=
3359 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3360 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3361 no_cache=0
3362
3363 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3364 if test "${with_gnomevfs+set}" = set; then
3365 withval="$with_gnomevfs"
3366
3367 if test "$withval" = yes; then
3368 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3369 else
3370 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3371 fi
3372
3373 else
3374
3375 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3376 if test "x$LINE" != x ; then
3377 eval "DEFAULT_$LINE"
3378 else
3379 no_cache=1
3380 fi
3381
3382 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3383
3384 fi;
3385
3386 eval "$ac_cv_use_gnomevfs"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3389 fi
3390
3391 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3392 echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6
3394 else
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3397 fi
3398
3399
3400 withstring=
3401 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3402 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3403 no_cache=0
3404
3405 # Check whether --with-hildon or --without-hildon was given.
3406 if test "${with_hildon+set}" = set; then
3407 withval="$with_hildon"
3408
3409 if test "$withval" = yes; then
3410 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3411 else
3412 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3413 fi
3414
3415 else
3416
3417 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x ; then
3419 eval "DEFAULT_$LINE"
3420 else
3421 no_cache=1
3422 fi
3423
3424 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3425
3426 fi;
3427
3428 eval "$ac_cv_use_hildon"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3431 fi
3432
3433 if test "$wxUSE_LIBHILDON" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3436 else
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3439 fi
3440
3441
3442 withstring=
3443 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3444 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3445 no_cache=0
3446
3447 # Check whether --with-opengl or --without-opengl was given.
3448 if test "${with_opengl+set}" = set; then
3449 withval="$with_opengl"
3450
3451 if test "$withval" = yes; then
3452 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3453 else
3454 ac_cv_use_opengl='wxUSE_OPENGL=no'
3455 fi
3456
3457 else
3458
3459 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 else
3463 no_cache=1
3464 fi
3465
3466 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3467
3468 fi;
3469
3470 eval "$ac_cv_use_opengl"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3473 fi
3474
3475 if test "$wxUSE_OPENGL" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3478 else
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3481 fi
3482
3483
3484 if test "$wxUSE_UNIVERSAL" = "yes"; then
3485
3486 # Check whether --with-themes or --without-themes was given.
3487 if test "${with_themes+set}" = set; then
3488 withval="$with_themes"
3489 wxUNIV_THEMES="$withval"
3490 fi;
3491 fi
3492
3493 fi
3494
3495
3496 withstring=
3497 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3498 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3499 no_cache=0
3500
3501 # Check whether --with-dmalloc or --without-dmalloc was given.
3502 if test "${with_dmalloc+set}" = set; then
3503 withval="$with_dmalloc"
3504
3505 if test "$withval" = yes; then
3506 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3507 else
3508 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3509 fi
3510
3511 else
3512
3513 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x ; then
3515 eval "DEFAULT_$LINE"
3516 else
3517 no_cache=1
3518 fi
3519
3520 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3521
3522 fi;
3523
3524 eval "$ac_cv_use_dmalloc"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3527 fi
3528
3529 if test "$wxUSE_DMALLOC" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3532 else
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3535 fi
3536
3537
3538 echo "$as_me:$LINENO: checking for --with-regex" >&5
3539 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3540 no_cache=0
3541
3542 # Check whether --with-regex or --without-regex was given.
3543 if test "${with_regex+set}" = set; then
3544 withval="$with_regex"
3545
3546 if test "$withval" = yes; then
3547 ac_cv_use_regex='wxUSE_REGEX=yes'
3548 elif test "$withval" = no; then
3549 ac_cv_use_regex='wxUSE_REGEX=no'
3550 elif test "$withval" = sys; then
3551 ac_cv_use_regex='wxUSE_REGEX=sys'
3552 elif test "$withval" = builtin; then
3553 ac_cv_use_regex='wxUSE_REGEX=builtin'
3554 else
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3558 fi
3559
3560 else
3561
3562 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x ; then
3564 eval "DEFAULT_$LINE"
3565 else
3566 no_cache=1
3567 fi
3568
3569 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3570
3571 fi;
3572
3573 eval "$ac_cv_use_regex"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3576 fi
3577
3578 if test "$wxUSE_REGEX" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3581 elif test "$wxUSE_REGEX" = no; then
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3584 elif test "$wxUSE_REGEX" = sys; then
3585 echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6
3587 elif test "$wxUSE_REGEX" = builtin; then
3588 echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596
3597 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3598 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3599 no_cache=0
3600
3601 # Check whether --with-zlib or --without-zlib was given.
3602 if test "${with_zlib+set}" = set; then
3603 withval="$with_zlib"
3604
3605 if test "$withval" = yes; then
3606 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3607 elif test "$withval" = no; then
3608 ac_cv_use_zlib='wxUSE_ZLIB=no'
3609 elif test "$withval" = sys; then
3610 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3611 elif test "$withval" = builtin; then
3612 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619 else
3620
3621 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x ; then
3623 eval "DEFAULT_$LINE"
3624 else
3625 no_cache=1
3626 fi
3627
3628 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3629
3630 fi;
3631
3632 eval "$ac_cv_use_zlib"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3635 fi
3636
3637 if test "$wxUSE_ZLIB" = yes; then
3638 echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6
3640 elif test "$wxUSE_ZLIB" = no; then
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3643 elif test "$wxUSE_ZLIB" = sys; then
3644 echo "$as_me:$LINENO: result: system version" >&5
3645 echo "${ECHO_T}system version" >&6
3646 elif test "$wxUSE_ZLIB" = builtin; then
3647 echo "$as_me:$LINENO: result: builtin version" >&5
3648 echo "${ECHO_T}builtin version" >&6
3649 else
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3653 fi
3654
3655
3656 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3657 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3658 no_cache=0
3659
3660 # Check whether --with-odbc or --without-odbc was given.
3661 if test "${with_odbc+set}" = set; then
3662 withval="$with_odbc"
3663
3664 if test "$withval" = yes; then
3665 ac_cv_use_odbc='wxUSE_ODBC=yes'
3666 elif test "$withval" = no; then
3667 ac_cv_use_odbc='wxUSE_ODBC=no'
3668 elif test "$withval" = sys; then
3669 ac_cv_use_odbc='wxUSE_ODBC=sys'
3670 elif test "$withval" = builtin; then
3671 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3672 else
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3676 fi
3677
3678 else
3679
3680 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x ; then
3682 eval "DEFAULT_$LINE"
3683 else
3684 no_cache=1
3685 fi
3686
3687 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3688
3689 fi;
3690
3691 eval "$ac_cv_use_odbc"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3694 fi
3695
3696 if test "$wxUSE_ODBC" = yes; then
3697 echo "$as_me:$LINENO: result: yes" >&5
3698 echo "${ECHO_T}yes" >&6
3699 elif test "$wxUSE_ODBC" = no; then
3700 echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6
3702 elif test "$wxUSE_ODBC" = sys; then
3703 echo "$as_me:$LINENO: result: system version" >&5
3704 echo "${ECHO_T}system version" >&6
3705 elif test "$wxUSE_ODBC" = builtin; then
3706 echo "$as_me:$LINENO: result: builtin version" >&5
3707 echo "${ECHO_T}builtin version" >&6
3708 else
3709 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3710 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3712 fi
3713
3714
3715 echo "$as_me:$LINENO: checking for --with-expat" >&5
3716 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3717 no_cache=0
3718
3719 # Check whether --with-expat or --without-expat was given.
3720 if test "${with_expat+set}" = set; then
3721 withval="$with_expat"
3722
3723 if test "$withval" = yes; then
3724 ac_cv_use_expat='wxUSE_EXPAT=yes'
3725 elif test "$withval" = no; then
3726 ac_cv_use_expat='wxUSE_EXPAT=no'
3727 elif test "$withval" = sys; then
3728 ac_cv_use_expat='wxUSE_EXPAT=sys'
3729 elif test "$withval" = builtin; then
3730 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737 else
3738
3739 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x ; then
3741 eval "DEFAULT_$LINE"
3742 else
3743 no_cache=1
3744 fi
3745
3746 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3747
3748 fi;
3749
3750 eval "$ac_cv_use_expat"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3753 fi
3754
3755 if test "$wxUSE_EXPAT" = yes; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3758 elif test "$wxUSE_EXPAT" = no; then
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3761 elif test "$wxUSE_EXPAT" = sys; then
3762 echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6
3764 elif test "$wxUSE_EXPAT" = builtin; then
3765 echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6
3767 else
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3771 fi
3772
3773
3774
3775
3776 enablestring=
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3779 no_cache=0
3780 # Check whether --enable-shared or --disable-shared was given.
3781 if test "${enable_shared+set}" = set; then
3782 enableval="$enable_shared"
3783
3784 if test "$enableval" = yes; then
3785 ac_cv_use_shared='wxUSE_SHARED=yes'
3786 else
3787 ac_cv_use_shared='wxUSE_SHARED=no'
3788 fi
3789
3790 else
3791
3792 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x ; then
3794 eval "DEFAULT_$LINE"
3795 else
3796 no_cache=1
3797 fi
3798
3799 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3800
3801 fi;
3802
3803 eval "$ac_cv_use_shared"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3806 fi
3807
3808 if test "$wxUSE_SHARED" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3814 fi
3815
3816
3817 enablestring=
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3820 no_cache=0
3821 # Check whether --enable-optimise or --disable-optimise was given.
3822 if test "${enable_optimise+set}" = set; then
3823 enableval="$enable_optimise"
3824
3825 if test "$enableval" = yes; then
3826 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3827 else
3828 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3829 fi
3830
3831 else
3832
3833 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3841
3842 fi;
3843
3844 eval "$ac_cv_use_optimise"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3847 fi
3848
3849 if test "$wxUSE_OPTIMISE" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3855 fi
3856
3857
3858 enablestring=
3859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3860 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3861 no_cache=0
3862 # Check whether --enable-debug or --disable-debug was given.
3863 if test "${enable_debug+set}" = set; then
3864 enableval="$enable_debug"
3865
3866 if test "$enableval" = yes; then
3867 ac_cv_use_debug='wxUSE_DEBUG=yes'
3868 else
3869 ac_cv_use_debug='wxUSE_DEBUG=no'
3870 fi
3871
3872 else
3873
3874 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x ; then
3876 eval "DEFAULT_$LINE"
3877 else
3878 no_cache=1
3879 fi
3880
3881 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3882
3883 fi;
3884
3885 eval "$ac_cv_use_debug"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3888 fi
3889
3890 if test "$wxUSE_DEBUG" = yes; then
3891 echo "$as_me:$LINENO: result: yes" >&5
3892 echo "${ECHO_T}yes" >&6
3893 else
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3896 fi
3897
3898
3899 enablestring=
3900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3901 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3902 no_cache=0
3903 # Check whether --enable-stl or --disable-stl was given.
3904 if test "${enable_stl+set}" = set; then
3905 enableval="$enable_stl"
3906
3907 if test "$enableval" = yes; then
3908 ac_cv_use_stl='wxUSE_STL=yes'
3909 else
3910 ac_cv_use_stl='wxUSE_STL=no'
3911 fi
3912
3913 else
3914
3915 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x ; then
3917 eval "DEFAULT_$LINE"
3918 else
3919 no_cache=1
3920 fi
3921
3922 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3923
3924 fi;
3925
3926 eval "$ac_cv_use_stl"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3929 fi
3930
3931 if test "$wxUSE_STL" = yes; then
3932 echo "$as_me:$LINENO: result: yes" >&5
3933 echo "${ECHO_T}yes" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3937 fi
3938
3939 if test "$USE_OS2" = "1"; then
3940 DEFAULT_wxUSE_OMF=no
3941
3942 enablestring=
3943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3944 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3945 no_cache=0
3946 # Check whether --enable-omf or --disable-omf was given.
3947 if test "${enable_omf+set}" = set; then
3948 enableval="$enable_omf"
3949
3950 if test "$enableval" = yes; then
3951 ac_cv_use_omf='wxUSE_OMF=yes'
3952 else
3953 ac_cv_use_omf='wxUSE_OMF=no'
3954 fi
3955
3956 else
3957
3958 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x ; then
3960 eval "DEFAULT_$LINE"
3961 else
3962 no_cache=1
3963 fi
3964
3965 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3966
3967 fi;
3968
3969 eval "$ac_cv_use_omf"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3972 fi
3973
3974 if test "$wxUSE_OMF" = yes; then
3975 echo "$as_me:$LINENO: result: yes" >&5
3976 echo "${ECHO_T}yes" >&6
3977 else
3978 echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6
3980 fi
3981
3982 fi
3983
3984 if test "$wxUSE_DEBUG" = "yes"; then
3985 DEFAULT_wxUSE_DEBUG_FLAG=yes
3986 DEFAULT_wxUSE_DEBUG_INFO=yes
3987 BUILD=debug
3988 elif test "$wxUSE_DEBUG" = "no"; then
3989 DEFAULT_wxUSE_DEBUG_FLAG=no
3990 DEFAULT_wxUSE_DEBUG_INFO=no
3991 BUILD=release
3992 fi
3993
3994
3995 enablestring=
3996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3997 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3998 no_cache=0
3999 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4000 if test "${enable_debug_flag+set}" = set; then
4001 enableval="$enable_debug_flag"
4002
4003 if test "$enableval" = yes; then
4004 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4005 else
4006 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4007 fi
4008
4009 else
4010
4011 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4014 else
4015 no_cache=1
4016 fi
4017
4018 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4019
4020 fi;
4021
4022 eval "$ac_cv_use_debug_flag"
4023 if test "$no_cache" != 1; then
4024 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4025 fi
4026
4027 if test "$wxUSE_DEBUG_FLAG" = yes; then
4028 echo "$as_me:$LINENO: result: yes" >&5
4029 echo "${ECHO_T}yes" >&6
4030 else
4031 echo "$as_me:$LINENO: result: no" >&5
4032 echo "${ECHO_T}no" >&6
4033 fi
4034
4035
4036 enablestring=
4037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4038 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4039 no_cache=0
4040 # Check whether --enable-debug_info or --disable-debug_info was given.
4041 if test "${enable_debug_info+set}" = set; then
4042 enableval="$enable_debug_info"
4043
4044 if test "$enableval" = yes; then
4045 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4046 else
4047 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4048 fi
4049
4050 else
4051
4052 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4053 if test "x$LINE" != x ; then
4054 eval "DEFAULT_$LINE"
4055 else
4056 no_cache=1
4057 fi
4058
4059 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4060
4061 fi;
4062
4063 eval "$ac_cv_use_debug_info"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4066 fi
4067
4068 if test "$wxUSE_DEBUG_INFO" = yes; then
4069 echo "$as_me:$LINENO: result: yes" >&5
4070 echo "${ECHO_T}yes" >&6
4071 else
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4074 fi
4075
4076
4077 enablestring=
4078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4079 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4080 no_cache=0
4081 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4082 if test "${enable_debug_gdb+set}" = set; then
4083 enableval="$enable_debug_gdb"
4084
4085 if test "$enableval" = yes; then
4086 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4087 else
4088 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4089 fi
4090
4091 else
4092
4093 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x ; then
4095 eval "DEFAULT_$LINE"
4096 else
4097 no_cache=1
4098 fi
4099
4100 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4101
4102 fi;
4103
4104 eval "$ac_cv_use_debug_gdb"
4105 if test "$no_cache" != 1; then
4106 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4107 fi
4108
4109 if test "$wxUSE_DEBUG_GDB" = yes; then
4110 echo "$as_me:$LINENO: result: yes" >&5
4111 echo "${ECHO_T}yes" >&6
4112 else
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4115 fi
4116
4117
4118 enablestring=
4119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4120 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4121 no_cache=0
4122 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4123 if test "${enable_debug_cntxt+set}" = set; then
4124 enableval="$enable_debug_cntxt"
4125
4126 if test "$enableval" = yes; then
4127 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4128 else
4129 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4130 fi
4131
4132 else
4133
4134 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4135 if test "x$LINE" != x ; then
4136 eval "DEFAULT_$LINE"
4137 else
4138 no_cache=1
4139 fi
4140
4141 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4142
4143 fi;
4144
4145 eval "$ac_cv_use_debug_cntxt"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4148 fi
4149
4150 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4151 echo "$as_me:$LINENO: result: yes" >&5
4152 echo "${ECHO_T}yes" >&6
4153 else
4154 echo "$as_me:$LINENO: result: no" >&5
4155 echo "${ECHO_T}no" >&6
4156 fi
4157
4158
4159 enablestring=
4160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4161 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4162 no_cache=0
4163 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4164 if test "${enable_mem_tracing+set}" = set; then
4165 enableval="$enable_mem_tracing"
4166
4167 if test "$enableval" = yes; then
4168 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4169 else
4170 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4171 fi
4172
4173 else
4174
4175 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x ; then
4177 eval "DEFAULT_$LINE"
4178 else
4179 no_cache=1
4180 fi
4181
4182 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4183
4184 fi;
4185
4186 eval "$ac_cv_use_mem_tracing"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4189 fi
4190
4191 if test "$wxUSE_MEM_TRACING" = yes; then
4192 echo "$as_me:$LINENO: result: yes" >&5
4193 echo "${ECHO_T}yes" >&6
4194 else
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199
4200 enablestring=
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4203 no_cache=0
4204 # Check whether --enable-profile or --disable-profile was given.
4205 if test "${enable_profile+set}" = set; then
4206 enableval="$enable_profile"
4207
4208 if test "$enableval" = yes; then
4209 ac_cv_use_profile='wxUSE_PROFILE=yes'
4210 else
4211 ac_cv_use_profile='wxUSE_PROFILE=no'
4212 fi
4213
4214 else
4215
4216 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x ; then
4218 eval "DEFAULT_$LINE"
4219 else
4220 no_cache=1
4221 fi
4222
4223 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4224
4225 fi;
4226
4227 eval "$ac_cv_use_profile"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4230 fi
4231
4232 if test "$wxUSE_PROFILE" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4235 else
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4238 fi
4239
4240
4241 enablestring=
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4244 no_cache=0
4245 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4246 if test "${enable_no_rtti+set}" = set; then
4247 enableval="$enable_no_rtti"
4248
4249 if test "$enableval" = yes; then
4250 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4251 else
4252 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4253 fi
4254
4255 else
4256
4257 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x ; then
4259 eval "DEFAULT_$LINE"
4260 else
4261 no_cache=1
4262 fi
4263
4264 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4265
4266 fi;
4267
4268 eval "$ac_cv_use_no_rtti"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4271 fi
4272
4273 if test "$wxUSE_NO_RTTI" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4279 fi
4280
4281
4282 enablestring=
4283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4284 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4285 no_cache=0
4286 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4287 if test "${enable_no_exceptions+set}" = set; then
4288 enableval="$enable_no_exceptions"
4289
4290 if test "$enableval" = yes; then
4291 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4292 else
4293 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4294 fi
4295
4296 else
4297
4298 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4299 if test "x$LINE" != x ; then
4300 eval "DEFAULT_$LINE"
4301 else
4302 no_cache=1
4303 fi
4304
4305 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4306
4307 fi;
4308
4309 eval "$ac_cv_use_no_exceptions"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4312 fi
4313
4314 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4315 echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6
4317 else
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4320 fi
4321
4322
4323 enablestring=
4324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4326 no_cache=0
4327 # Check whether --enable-permissive or --disable-permissive was given.
4328 if test "${enable_permissive+set}" = set; then
4329 enableval="$enable_permissive"
4330
4331 if test "$enableval" = yes; then
4332 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4333 else
4334 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4335 fi
4336
4337 else
4338
4339 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4340 if test "x$LINE" != x ; then
4341 eval "DEFAULT_$LINE"
4342 else
4343 no_cache=1
4344 fi
4345
4346 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4347
4348 fi;
4349
4350 eval "$ac_cv_use_permissive"
4351 if test "$no_cache" != 1; then
4352 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4353 fi
4354
4355 if test "$wxUSE_PERMISSIVE" = yes; then
4356 echo "$as_me:$LINENO: result: yes" >&5
4357 echo "${ECHO_T}yes" >&6
4358 else
4359 echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6
4361 fi
4362
4363
4364 enablestring=
4365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4366 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4367 no_cache=0
4368 # Check whether --enable-no_deps or --disable-no_deps was given.
4369 if test "${enable_no_deps+set}" = set; then
4370 enableval="$enable_no_deps"
4371
4372 if test "$enableval" = yes; then
4373 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4374 else
4375 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4376 fi
4377
4378 else
4379
4380 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x ; then
4382 eval "DEFAULT_$LINE"
4383 else
4384 no_cache=1
4385 fi
4386
4387 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4388
4389 fi;
4390
4391 eval "$ac_cv_use_no_deps"
4392 if test "$no_cache" != 1; then
4393 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4394 fi
4395
4396 if test "$wxUSE_NO_DEPS" = yes; then
4397 echo "$as_me:$LINENO: result: yes" >&5
4398 echo "${ECHO_T}yes" >&6
4399 else
4400 echo "$as_me:$LINENO: result: no" >&5
4401 echo "${ECHO_T}no" >&6
4402 fi
4403
4404
4405 enablestring=
4406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4407 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4408 no_cache=0
4409 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4410 if test "${enable_universal_binary+set}" = set; then
4411 enableval="$enable_universal_binary"
4412
4413 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4414
4415 else
4416
4417 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x ; then
4419 eval "DEFAULT_$LINE"
4420 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4421 else
4422 no_cache=1
4423 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4424 fi
4425
4426 fi;
4427
4428 eval "$wx_cv_use_universal_binary"
4429 if test "$no_cache" != 1; then
4430 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4431 fi
4432
4433 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4434 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4435
4436
4437
4438 enablestring=enable
4439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4441 no_cache=0
4442 # Check whether --enable-compat24 or --disable-compat24 was given.
4443 if test "${enable_compat24+set}" = set; then
4444 enableval="$enable_compat24"
4445
4446 if test "$enableval" = yes; then
4447 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4448 else
4449 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4450 fi
4451
4452 else
4453
4454 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4457 else
4458 no_cache=1
4459 fi
4460
4461 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4462
4463 fi;
4464
4465 eval "$ac_cv_use_compat24"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4468 fi
4469
4470 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4471 echo "$as_me:$LINENO: result: yes" >&5
4472 echo "${ECHO_T}yes" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4476 fi
4477
4478
4479 enablestring=disable
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4482 no_cache=0
4483 # Check whether --enable-compat26 or --disable-compat26 was given.
4484 if test "${enable_compat26+set}" = set; then
4485 enableval="$enable_compat26"
4486
4487 if test "$enableval" = yes; then
4488 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4489 else
4490 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4491 fi
4492
4493 else
4494
4495 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4503
4504 fi;
4505
4506 eval "$ac_cv_use_compat26"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4514 else
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4517 fi
4518
4519
4520
4521 enablestring=
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4524 no_cache=0
4525 # Check whether --enable-rpath or --disable-rpath was given.
4526 if test "${enable_rpath+set}" = set; then
4527 enableval="$enable_rpath"
4528
4529 if test "$enableval" = yes; then
4530 ac_cv_use_rpath='wxUSE_RPATH=yes'
4531 else
4532 ac_cv_use_rpath='wxUSE_RPATH=no'
4533 fi
4534
4535 else
4536
4537 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "DEFAULT_$LINE"
4540 else
4541 no_cache=1
4542 fi
4543
4544 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4545
4546 fi;
4547
4548 eval "$ac_cv_use_rpath"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test "$wxUSE_RPATH" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6
4556 else
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4559 fi
4560
4561
4562
4563
4564
4565 enablestring=
4566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4567 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4568 no_cache=0
4569 # Check whether --enable-intl or --disable-intl was given.
4570 if test "${enable_intl+set}" = set; then
4571 enableval="$enable_intl"
4572
4573 if test "$enableval" = yes; then
4574 ac_cv_use_intl='wxUSE_INTL=yes'
4575 else
4576 ac_cv_use_intl='wxUSE_INTL=no'
4577 fi
4578
4579 else
4580
4581 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x ; then
4583 eval "DEFAULT_$LINE"
4584 else
4585 no_cache=1
4586 fi
4587
4588 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4589
4590 fi;
4591
4592 eval "$ac_cv_use_intl"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4595 fi
4596
4597 if test "$wxUSE_INTL" = yes; then
4598 echo "$as_me:$LINENO: result: yes" >&5
4599 echo "${ECHO_T}yes" >&6
4600 else
4601 echo "$as_me:$LINENO: result: no" >&5
4602 echo "${ECHO_T}no" >&6
4603 fi
4604
4605
4606 enablestring=
4607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4608 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4609 no_cache=0
4610 # Check whether --enable-config or --disable-config was given.
4611 if test "${enable_config+set}" = set; then
4612 enableval="$enable_config"
4613
4614 if test "$enableval" = yes; then
4615 ac_cv_use_config='wxUSE_CONFIG=yes'
4616 else
4617 ac_cv_use_config='wxUSE_CONFIG=no'
4618 fi
4619
4620 else
4621
4622 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x ; then
4624 eval "DEFAULT_$LINE"
4625 else
4626 no_cache=1
4627 fi
4628
4629 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4630
4631 fi;
4632
4633 eval "$ac_cv_use_config"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4636 fi
4637
4638 if test "$wxUSE_CONFIG" = yes; then
4639 echo "$as_me:$LINENO: result: yes" >&5
4640 echo "${ECHO_T}yes" >&6
4641 else
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4644 fi
4645
4646
4647
4648 enablestring=
4649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4651 no_cache=0
4652 # Check whether --enable-protocols or --disable-protocols was given.
4653 if test "${enable_protocols+set}" = set; then
4654 enableval="$enable_protocols"
4655
4656 if test "$enableval" = yes; then
4657 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4658 else
4659 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4660 fi
4661
4662 else
4663
4664 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x ; then
4666 eval "DEFAULT_$LINE"
4667 else
4668 no_cache=1
4669 fi
4670
4671 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4672
4673 fi;
4674
4675 eval "$ac_cv_use_protocols"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4678 fi
4679
4680 if test "$wxUSE_PROTOCOL" = yes; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4683 else
4684 echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6
4686 fi
4687
4688
4689 enablestring=
4690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4692 no_cache=0
4693 # Check whether --enable-ftp or --disable-ftp was given.
4694 if test "${enable_ftp+set}" = set; then
4695 enableval="$enable_ftp"
4696
4697 if test "$enableval" = yes; then
4698 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4699 else
4700 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4701 fi
4702
4703 else
4704
4705 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x ; then
4707 eval "DEFAULT_$LINE"
4708 else
4709 no_cache=1
4710 fi
4711
4712 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4713
4714 fi;
4715
4716 eval "$ac_cv_use_ftp"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4719 fi
4720
4721 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4722 echo "$as_me:$LINENO: result: yes" >&5
4723 echo "${ECHO_T}yes" >&6
4724 else
4725 echo "$as_me:$LINENO: result: no" >&5
4726 echo "${ECHO_T}no" >&6
4727 fi
4728
4729
4730 enablestring=
4731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4733 no_cache=0
4734 # Check whether --enable-http or --disable-http was given.
4735 if test "${enable_http+set}" = set; then
4736 enableval="$enable_http"
4737
4738 if test "$enableval" = yes; then
4739 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4740 else
4741 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4742 fi
4743
4744 else
4745
4746 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4749 else
4750 no_cache=1
4751 fi
4752
4753 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4754
4755 fi;
4756
4757 eval "$ac_cv_use_http"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4760 fi
4761
4762 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4763 echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6
4765 else
4766 echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6
4768 fi
4769
4770
4771 enablestring=
4772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4774 no_cache=0
4775 # Check whether --enable-fileproto or --disable-fileproto was given.
4776 if test "${enable_fileproto+set}" = set; then
4777 enableval="$enable_fileproto"
4778
4779 if test "$enableval" = yes; then
4780 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4781 else
4782 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4783 fi
4784
4785 else
4786
4787 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x ; then
4789 eval "DEFAULT_$LINE"
4790 else
4791 no_cache=1
4792 fi
4793
4794 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4795
4796 fi;
4797
4798 eval "$ac_cv_use_fileproto"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4801 fi
4802
4803 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4804 echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6
4806 else
4807 echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6
4809 fi
4810
4811
4812 enablestring=
4813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4815 no_cache=0
4816 # Check whether --enable-sockets or --disable-sockets was given.
4817 if test "${enable_sockets+set}" = set; then
4818 enableval="$enable_sockets"
4819
4820 if test "$enableval" = yes; then
4821 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4822 else
4823 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4824 fi
4825
4826 else
4827
4828 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4831 else
4832 no_cache=1
4833 fi
4834
4835 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4836
4837 fi;
4838
4839 eval "$ac_cv_use_sockets"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test "$wxUSE_SOCKETS" = yes; then
4845 echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6
4847 else
4848 echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6
4850 fi
4851
4852
4853 enablestring=
4854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4856 no_cache=0
4857 # Check whether --enable-ole or --disable-ole was given.
4858 if test "${enable_ole+set}" = set; then
4859 enableval="$enable_ole"
4860
4861 if test "$enableval" = yes; then
4862 ac_cv_use_ole='wxUSE_OLE=yes'
4863 else
4864 ac_cv_use_ole='wxUSE_OLE=no'
4865 fi
4866
4867 else
4868
4869 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x ; then
4871 eval "DEFAULT_$LINE"
4872 else
4873 no_cache=1
4874 fi
4875
4876 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4877
4878 fi;
4879
4880 eval "$ac_cv_use_ole"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4883 fi
4884
4885 if test "$wxUSE_OLE" = yes; then
4886 echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6
4888 else
4889 echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6
4891 fi
4892
4893
4894 enablestring=
4895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4897 no_cache=0
4898 # Check whether --enable-dataobj or --disable-dataobj was given.
4899 if test "${enable_dataobj+set}" = set; then
4900 enableval="$enable_dataobj"
4901
4902 if test "$enableval" = yes; then
4903 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4904 else
4905 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4906 fi
4907
4908 else
4909
4910 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4913 else
4914 no_cache=1
4915 fi
4916
4917 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4918
4919 fi;
4920
4921 eval "$ac_cv_use_dataobj"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4924 fi
4925
4926 if test "$wxUSE_DATAOBJ" = yes; then
4927 echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6
4929 else
4930 echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6
4932 fi
4933
4934
4935
4936 enablestring=
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4939 no_cache=0
4940 # Check whether --enable-ipc or --disable-ipc was given.
4941 if test "${enable_ipc+set}" = set; then
4942 enableval="$enable_ipc"
4943
4944 if test "$enableval" = yes; then
4945 ac_cv_use_ipc='wxUSE_IPC=yes'
4946 else
4947 ac_cv_use_ipc='wxUSE_IPC=no'
4948 fi
4949
4950 else
4951
4952 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x ; then
4954 eval "DEFAULT_$LINE"
4955 else
4956 no_cache=1
4957 fi
4958
4959 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4960
4961 fi;
4962
4963 eval "$ac_cv_use_ipc"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4966 fi
4967
4968 if test "$wxUSE_IPC" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4971 else
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4974 fi
4975
4976
4977
4978 enablestring=
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4981 no_cache=0
4982 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4983 if test "${enable_apple_ieee+set}" = set; then
4984 enableval="$enable_apple_ieee"
4985
4986 if test "$enableval" = yes; then
4987 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4988 else
4989 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4990 fi
4991
4992 else
4993
4994 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
4997 else
4998 no_cache=1
4999 fi
5000
5001 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5002
5003 fi;
5004
5005 eval "$ac_cv_use_apple_ieee"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5008 fi
5009
5010 if test "$wxUSE_APPLE_IEEE" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5013 else
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5016 fi
5017
5018
5019 enablestring=
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5022 no_cache=0
5023 # Check whether --enable-arcstream or --disable-arcstream was given.
5024 if test "${enable_arcstream+set}" = set; then
5025 enableval="$enable_arcstream"
5026
5027 if test "$enableval" = yes; then
5028 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5029 else
5030 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5031 fi
5032
5033 else
5034
5035 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x ; then
5037 eval "DEFAULT_$LINE"
5038 else
5039 no_cache=1
5040 fi
5041
5042 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5043
5044 fi;
5045
5046 eval "$ac_cv_use_arcstream"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5049 fi
5050
5051 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5054 else
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5057 fi
5058
5059
5060 enablestring=
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5063 no_cache=0
5064 # Check whether --enable-backtrace or --disable-backtrace was given.
5065 if test "${enable_backtrace+set}" = set; then
5066 enableval="$enable_backtrace"
5067
5068 if test "$enableval" = yes; then
5069 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5070 else
5071 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5072 fi
5073
5074 else
5075
5076 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5079 else
5080 no_cache=1
5081 fi
5082
5083 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5084
5085 fi;
5086
5087 eval "$ac_cv_use_backtrace"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5090 fi
5091
5092 if test "$wxUSE_STACKWALKER" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5095 else
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5098 fi
5099
5100
5101 enablestring=
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5104 no_cache=0
5105 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5106 if test "${enable_catch_segvs+set}" = set; then
5107 enableval="$enable_catch_segvs"
5108
5109 if test "$enableval" = yes; then
5110 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5111 else
5112 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5113 fi
5114
5115 else
5116
5117 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5120 else
5121 no_cache=1
5122 fi
5123
5124 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5125
5126 fi;
5127
5128 eval "$ac_cv_use_catch_segvs"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5131 fi
5132
5133 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5136 else
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5139 fi
5140
5141
5142 enablestring=
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5145 no_cache=0
5146 # Check whether --enable-cmdline or --disable-cmdline was given.
5147 if test "${enable_cmdline+set}" = set; then
5148 enableval="$enable_cmdline"
5149
5150 if test "$enableval" = yes; then
5151 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5152 else
5153 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5154 fi
5155
5156 else
5157
5158 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5161 else
5162 no_cache=1
5163 fi
5164
5165 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5166
5167 fi;
5168
5169 eval "$ac_cv_use_cmdline"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5172 fi
5173
5174 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5177 else
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5180 fi
5181
5182
5183 enablestring=
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5186 no_cache=0
5187 # Check whether --enable-datetime or --disable-datetime was given.
5188 if test "${enable_datetime+set}" = set; then
5189 enableval="$enable_datetime"
5190
5191 if test "$enableval" = yes; then
5192 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5193 else
5194 ac_cv_use_datetime='wxUSE_DATETIME=no'
5195 fi
5196
5197 else
5198
5199 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x ; then
5201 eval "DEFAULT_$LINE"
5202 else
5203 no_cache=1
5204 fi
5205
5206 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5207
5208 fi;
5209
5210 eval "$ac_cv_use_datetime"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5213 fi
5214
5215 if test "$wxUSE_DATETIME" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5218 else
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5221 fi
5222
5223
5224 enablestring=
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5227 no_cache=0
5228 # Check whether --enable-debugreport or --disable-debugreport was given.
5229 if test "${enable_debugreport+set}" = set; then
5230 enableval="$enable_debugreport"
5231
5232 if test "$enableval" = yes; then
5233 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5234 else
5235 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5236 fi
5237
5238 else
5239
5240 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x ; then
5242 eval "DEFAULT_$LINE"
5243 else
5244 no_cache=1
5245 fi
5246
5247 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5248
5249 fi;
5250
5251 eval "$ac_cv_use_debugreport"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5254 fi
5255
5256 if test "$wxUSE_DEBUGREPORT" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5259 else
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5262 fi
5263
5264
5265 enablestring=
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5268 no_cache=0
5269 # Check whether --enable-dialupman or --disable-dialupman was given.
5270 if test "${enable_dialupman+set}" = set; then
5271 enableval="$enable_dialupman"
5272
5273 if test "$enableval" = yes; then
5274 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5275 else
5276 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5277 fi
5278
5279 else
5280
5281 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5284 else
5285 no_cache=1
5286 fi
5287
5288 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5289
5290 fi;
5291
5292 eval "$ac_cv_use_dialupman"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5295 fi
5296
5297 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5300 else
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5303 fi
5304
5305
5306 enablestring=
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5309 no_cache=0
5310 # Check whether --enable-dynlib or --disable-dynlib was given.
5311 if test "${enable_dynlib+set}" = set; then
5312 enableval="$enable_dynlib"
5313
5314 if test "$enableval" = yes; then
5315 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5316 else
5317 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5318 fi
5319
5320 else
5321
5322 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5325 else
5326 no_cache=1
5327 fi
5328
5329 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5330
5331 fi;
5332
5333 eval "$ac_cv_use_dynlib"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5336 fi
5337
5338 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5341 else
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5344 fi
5345
5346
5347 enablestring=
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5350 no_cache=0
5351 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5352 if test "${enable_dynamicloader+set}" = set; then
5353 enableval="$enable_dynamicloader"
5354
5355 if test "$enableval" = yes; then
5356 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5357 else
5358 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5359 fi
5360
5361 else
5362
5363 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5366 else
5367 no_cache=1
5368 fi
5369
5370 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5371
5372 fi;
5373
5374 eval "$ac_cv_use_dynamicloader"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5377 fi
5378
5379 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5382 else
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5385 fi
5386
5387
5388 enablestring=
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5391 no_cache=0
5392 # Check whether --enable-exceptions or --disable-exceptions was given.
5393 if test "${enable_exceptions+set}" = set; then
5394 enableval="$enable_exceptions"
5395
5396 if test "$enableval" = yes; then
5397 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5398 else
5399 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5400 fi
5401
5402 else
5403
5404 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x ; then
5406 eval "DEFAULT_$LINE"
5407 else
5408 no_cache=1
5409 fi
5410
5411 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5412
5413 fi;
5414
5415 eval "$ac_cv_use_exceptions"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5418 fi
5419
5420 if test "$wxUSE_EXCEPTIONS" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5423 else
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5426 fi
5427
5428
5429 enablestring=
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5432 no_cache=0
5433 # Check whether --enable-ffile or --disable-ffile was given.
5434 if test "${enable_ffile+set}" = set; then
5435 enableval="$enable_ffile"
5436
5437 if test "$enableval" = yes; then
5438 ac_cv_use_ffile='wxUSE_FFILE=yes'
5439 else
5440 ac_cv_use_ffile='wxUSE_FFILE=no'
5441 fi
5442
5443 else
5444
5445 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x ; then
5447 eval "DEFAULT_$LINE"
5448 else
5449 no_cache=1
5450 fi
5451
5452 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5453
5454 fi;
5455
5456 eval "$ac_cv_use_ffile"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5459 fi
5460
5461 if test "$wxUSE_FFILE" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5464 else
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5467 fi
5468
5469
5470 enablestring=
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5473 no_cache=0
5474 # Check whether --enable-file or --disable-file was given.
5475 if test "${enable_file+set}" = set; then
5476 enableval="$enable_file"
5477
5478 if test "$enableval" = yes; then
5479 ac_cv_use_file='wxUSE_FILE=yes'
5480 else
5481 ac_cv_use_file='wxUSE_FILE=no'
5482 fi
5483
5484 else
5485
5486 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x ; then
5488 eval "DEFAULT_$LINE"
5489 else
5490 no_cache=1
5491 fi
5492
5493 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5494
5495 fi;
5496
5497 eval "$ac_cv_use_file"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5500 fi
5501
5502 if test "$wxUSE_FILE" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5505 else
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5508 fi
5509
5510
5511 enablestring=
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5514 no_cache=0
5515 # Check whether --enable-filesystem or --disable-filesystem was given.
5516 if test "${enable_filesystem+set}" = set; then
5517 enableval="$enable_filesystem"
5518
5519 if test "$enableval" = yes; then
5520 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5521 else
5522 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5523 fi
5524
5525 else
5526
5527 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x ; then
5529 eval "DEFAULT_$LINE"
5530 else
5531 no_cache=1
5532 fi
5533
5534 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5535
5536 fi;
5537
5538 eval "$ac_cv_use_filesystem"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5541 fi
5542
5543 if test "$wxUSE_FILESYSTEM" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5546 else
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5549 fi
5550
5551
5552 enablestring=
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5555 no_cache=0
5556 # Check whether --enable-fontmap or --disable-fontmap was given.
5557 if test "${enable_fontmap+set}" = set; then
5558 enableval="$enable_fontmap"
5559
5560 if test "$enableval" = yes; then
5561 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5562 else
5563 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5564 fi
5565
5566 else
5567
5568 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x ; then
5570 eval "DEFAULT_$LINE"
5571 else
5572 no_cache=1
5573 fi
5574
5575 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5576
5577 fi;
5578
5579 eval "$ac_cv_use_fontmap"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5582 fi
5583
5584 if test "$wxUSE_FONTMAP" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5587 else
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5590 fi
5591
5592
5593 enablestring=
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5596 no_cache=0
5597 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5598 if test "${enable_fs_inet+set}" = set; then
5599 enableval="$enable_fs_inet"
5600
5601 if test "$enableval" = yes; then
5602 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5603 else
5604 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5605 fi
5606
5607 else
5608
5609 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5612 else
5613 no_cache=1
5614 fi
5615
5616 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5617
5618 fi;
5619
5620 eval "$ac_cv_use_fs_inet"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5623 fi
5624
5625 if test "$wxUSE_FS_INET" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5628 else
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5631 fi
5632
5633
5634 enablestring=
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5637 no_cache=0
5638 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5639 if test "${enable_fs_zip+set}" = set; then
5640 enableval="$enable_fs_zip"
5641
5642 if test "$enableval" = yes; then
5643 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5644 else
5645 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5646 fi
5647
5648 else
5649
5650 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5658
5659 fi;
5660
5661 eval "$ac_cv_use_fs_zip"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5664 fi
5665
5666 if test "$wxUSE_FS_ZIP" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5669 else
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5672 fi
5673
5674
5675 enablestring=
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5678 no_cache=0
5679 # Check whether --enable-geometry or --disable-geometry was given.
5680 if test "${enable_geometry+set}" = set; then
5681 enableval="$enable_geometry"
5682
5683 if test "$enableval" = yes; then
5684 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5685 else
5686 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5687 fi
5688
5689 else
5690
5691 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x ; then
5693 eval "DEFAULT_$LINE"
5694 else
5695 no_cache=1
5696 fi
5697
5698 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5699
5700 fi;
5701
5702 eval "$ac_cv_use_geometry"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5705 fi
5706
5707 if test "$wxUSE_GEOMETRY" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5710 else
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5713 fi
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-log or --disable-log was given.
5721 if test "${enable_log+set}" = set; then
5722 enableval="$enable_log"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_log='wxUSE_LOG=yes'
5726 else
5727 ac_cv_use_log='wxUSE_LOG=no'
5728 fi
5729
5730 else
5731
5732 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5740
5741 fi;
5742
5743 eval "$ac_cv_use_log"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_LOG" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-longlong or --disable-longlong was given.
5762 if test "${enable_longlong+set}" = set; then
5763 enableval="$enable_longlong"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5767 else
5768 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5781
5782 fi;
5783
5784 eval "$ac_cv_use_longlong"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_LONGLONG" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-mimetype or --disable-mimetype was given.
5803 if test "${enable_mimetype+set}" = set; then
5804 enableval="$enable_mimetype"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5808 else
5809 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5822
5823 fi;
5824
5825 eval "$ac_cv_use_mimetype"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_MIMETYPE" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-mslu or --disable-mslu was given.
5844 if test "${enable_mslu+set}" = set; then
5845 enableval="$enable_mslu"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5849 else
5850 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5863
5864 fi;
5865
5866 eval "$ac_cv_use_mslu"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_UNICODE_MSLU" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-snglinst or --disable-snglinst was given.
5885 if test "${enable_snglinst+set}" = set; then
5886 enableval="$enable_snglinst"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5890 else
5891 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5904
5905 fi;
5906
5907 eval "$ac_cv_use_snglinst"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921 enablestring=
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5924 no_cache=0
5925 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5926 if test "${enable_std_iostreams+set}" = set; then
5927 enableval="$enable_std_iostreams"
5928
5929 if test "$enableval" = yes; then
5930 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5931 else
5932 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5945
5946 fi;
5947
5948 eval "$ac_cv_use_std_iostreams"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test "$wxUSE_STD_IOSTREAM" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5956 else
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5959 fi
5960
5961
5962 enablestring=
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5965 no_cache=0
5966 # Check whether --enable-std_string or --disable-std_string was given.
5967 if test "${enable_std_string+set}" = set; then
5968 enableval="$enable_std_string"
5969
5970 if test "$enableval" = yes; then
5971 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5972 else
5973 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5974 fi
5975
5976 else
5977
5978 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5986
5987 fi;
5988
5989 eval "$ac_cv_use_std_string"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5992 fi
5993
5994 if test "$wxUSE_STD_STRING" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5997 else
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6000 fi
6001
6002
6003 enablestring=
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6006 no_cache=0
6007 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6008 if test "${enable_stdpaths+set}" = set; then
6009 enableval="$enable_stdpaths"
6010
6011 if test "$enableval" = yes; then
6012 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6013 else
6014 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6015 fi
6016
6017 else
6018
6019 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 else
6023 no_cache=1
6024 fi
6025
6026 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6027
6028 fi;
6029
6030 eval "$ac_cv_use_stdpaths"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_STDPATHS" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6038 else
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6041 fi
6042
6043
6044 enablestring=
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6047 no_cache=0
6048 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6049 if test "${enable_stopwatch+set}" = set; then
6050 enableval="$enable_stopwatch"
6051
6052 if test "$enableval" = yes; then
6053 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6054 else
6055 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6068
6069 fi;
6070
6071 eval "$ac_cv_use_stopwatch"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test "$wxUSE_STOPWATCH" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6079 else
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6082 fi
6083
6084
6085 enablestring=
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6088 no_cache=0
6089 # Check whether --enable-streams or --disable-streams was given.
6090 if test "${enable_streams+set}" = set; then
6091 enableval="$enable_streams"
6092
6093 if test "$enableval" = yes; then
6094 ac_cv_use_streams='wxUSE_STREAMS=yes'
6095 else
6096 ac_cv_use_streams='wxUSE_STREAMS=no'
6097 fi
6098
6099 else
6100
6101 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6109
6110 fi;
6111
6112 eval "$ac_cv_use_streams"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_STREAMS" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6120 else
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6123 fi
6124
6125
6126 enablestring=
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6129 no_cache=0
6130 # Check whether --enable-system_options or --disable-system_options was given.
6131 if test "${enable_system_options+set}" = set; then
6132 enableval="$enable_system_options"
6133
6134 if test "$enableval" = yes; then
6135 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6136 else
6137 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6138 fi
6139
6140 else
6141
6142 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6150
6151 fi;
6152
6153 eval "$ac_cv_use_system_options"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6164 fi
6165
6166
6167 enablestring=
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6170 no_cache=0
6171 # Check whether --enable-textbuf or --disable-textbuf was given.
6172 if test "${enable_textbuf+set}" = set; then
6173 enableval="$enable_textbuf"
6174
6175 if test "$enableval" = yes; then
6176 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6177 else
6178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6191
6192 fi;
6193
6194 eval "$ac_cv_use_textbuf"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test "$wxUSE_TEXTBUFFER" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6205 fi
6206
6207
6208 enablestring=
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6211 no_cache=0
6212 # Check whether --enable-textfile or --disable-textfile was given.
6213 if test "${enable_textfile+set}" = set; then
6214 enableval="$enable_textfile"
6215
6216 if test "$enableval" = yes; then
6217 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6218 else
6219 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6232
6233 fi;
6234
6235 eval "$ac_cv_use_textfile"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_TEXTFILE" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6243 else
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6246 fi
6247
6248
6249 enablestring=
6250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6252 no_cache=0
6253 # Check whether --enable-timer or --disable-timer was given.
6254 if test "${enable_timer+set}" = set; then
6255 enableval="$enable_timer"
6256
6257 if test "$enableval" = yes; then
6258 ac_cv_use_timer='wxUSE_TIMER=yes'
6259 else
6260 ac_cv_use_timer='wxUSE_TIMER=no'
6261 fi
6262
6263 else
6264
6265 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x ; then
6267 eval "DEFAULT_$LINE"
6268 else
6269 no_cache=1
6270 fi
6271
6272 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6273
6274 fi;
6275
6276 eval "$ac_cv_use_timer"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6279 fi
6280
6281 if test "$wxUSE_TIMER" = yes; then
6282 echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6
6284 else
6285 echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6
6287 fi
6288
6289
6290 enablestring=
6291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6293 no_cache=0
6294 # Check whether --enable-unicode or --disable-unicode was given.
6295 if test "${enable_unicode+set}" = set; then
6296 enableval="$enable_unicode"
6297
6298 if test "$enableval" = yes; then
6299 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6300 else
6301 ac_cv_use_unicode='wxUSE_UNICODE=no'
6302 fi
6303
6304 else
6305
6306 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x ; then
6308 eval "DEFAULT_$LINE"
6309 else
6310 no_cache=1
6311 fi
6312
6313 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6314
6315 fi;
6316
6317 eval "$ac_cv_use_unicode"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6320 fi
6321
6322 if test "$wxUSE_UNICODE" = yes; then
6323 echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6
6325 else
6326 echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6
6328 fi
6329
6330
6331 enablestring=
6332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6334 no_cache=0
6335 # Check whether --enable-sound or --disable-sound was given.
6336 if test "${enable_sound+set}" = set; then
6337 enableval="$enable_sound"
6338
6339 if test "$enableval" = yes; then
6340 ac_cv_use_sound='wxUSE_SOUND=yes'
6341 else
6342 ac_cv_use_sound='wxUSE_SOUND=no'
6343 fi
6344
6345 else
6346
6347 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6350 else
6351 no_cache=1
6352 fi
6353
6354 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6355
6356 fi;
6357
6358 eval "$ac_cv_use_sound"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6361 fi
6362
6363 if test "$wxUSE_SOUND" = yes; then
6364 echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6
6366 else
6367 echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6
6369 fi
6370
6371
6372 enablestring=
6373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6375 no_cache=0
6376 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6377 if test "${enable_mediactrl+set}" = set; then
6378 enableval="$enable_mediactrl"
6379
6380 if test "$enableval" = yes; then
6381 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6382 else
6383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6396
6397 fi;
6398
6399 eval "$ac_cv_use_mediactrl"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6402 fi
6403
6404 if test "$wxUSE_MEDIACTRL" = yes; then
6405 echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6
6407 else
6408 echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6
6410 fi
6411
6412
6413 enablestring=
6414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6416 no_cache=0
6417 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6418 if test "${enable_gstreamer8+set}" = set; then
6419 enableval="$enable_gstreamer8"
6420
6421 if test "$enableval" = yes; then
6422 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6423 else
6424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6425 fi
6426
6427 else
6428
6429 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x ; then
6431 eval "DEFAULT_$LINE"
6432 else
6433 no_cache=1
6434 fi
6435
6436 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6437
6438 fi;
6439
6440 eval "$ac_cv_use_gstreamer8"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6443 fi
6444
6445 if test "$wxUSE_GSTREAMER8" = yes; then
6446 echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6
6448 else
6449 echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6
6451 fi
6452
6453
6454 enablestring=
6455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6457 no_cache=0
6458 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6459 if test "${enable_printfposparam+set}" = set; then
6460 enableval="$enable_printfposparam"
6461
6462 if test "$enableval" = yes; then
6463 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6464 else
6465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6478
6479 fi;
6480
6481 eval "$ac_cv_use_printfposparam"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6487 echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6
6489 else
6490 echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6
6492 fi
6493
6494
6495 enablestring=
6496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6498 no_cache=0
6499 # Check whether --enable-zipstream or --disable-zipstream was given.
6500 if test "${enable_zipstream+set}" = set; then
6501 enableval="$enable_zipstream"
6502
6503 if test "$enableval" = yes; then
6504 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6505 else
6506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6507 fi
6508
6509 else
6510
6511 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x ; then
6513 eval "DEFAULT_$LINE"
6514 else
6515 no_cache=1
6516 fi
6517
6518 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6519
6520 fi;
6521
6522 eval "$ac_cv_use_zipstream"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6525 fi
6526
6527 if test "$wxUSE_ZIPSTREAM" = yes; then
6528 echo "$as_me:$LINENO: result: yes" >&5
6529 echo "${ECHO_T}yes" >&6
6530 else
6531 echo "$as_me:$LINENO: result: no" >&5
6532 echo "${ECHO_T}no" >&6
6533 fi
6534
6535
6536
6537 enablestring=
6538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6540 no_cache=0
6541 # Check whether --enable-url or --disable-url was given.
6542 if test "${enable_url+set}" = set; then
6543 enableval="$enable_url"
6544
6545 if test "$enableval" = yes; then
6546 ac_cv_use_url='wxUSE_URL=yes'
6547 else
6548 ac_cv_use_url='wxUSE_URL=no'
6549 fi
6550
6551 else
6552
6553 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x ; then
6555 eval "DEFAULT_$LINE"
6556 else
6557 no_cache=1
6558 fi
6559
6560 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6561
6562 fi;
6563
6564 eval "$ac_cv_use_url"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test "$wxUSE_URL" = yes; then
6570 echo "$as_me:$LINENO: result: yes" >&5
6571 echo "${ECHO_T}yes" >&6
6572 else
6573 echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6
6575 fi
6576
6577
6578 enablestring=
6579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6581 no_cache=0
6582 # Check whether --enable-variant or --disable-variant was given.
6583 if test "${enable_variant+set}" = set; then
6584 enableval="$enable_variant"
6585
6586 if test "$enableval" = yes; then
6587 ac_cv_use_variant='wxUSE_VARIANT=yes'
6588 else
6589 ac_cv_use_variant='wxUSE_VARIANT=no'
6590 fi
6591
6592 else
6593
6594 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6595 if test "x$LINE" != x ; then
6596 eval "DEFAULT_$LINE"
6597 else
6598 no_cache=1
6599 fi
6600
6601 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6602
6603 fi;
6604
6605 eval "$ac_cv_use_variant"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test "$wxUSE_VARIANT" = yes; then
6611 echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6
6613 else
6614 echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6
6616 fi
6617
6618
6619 enablestring=
6620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6622 no_cache=0
6623 # Check whether --enable-protocol or --disable-protocol was given.
6624 if test "${enable_protocol+set}" = set; then
6625 enableval="$enable_protocol"
6626
6627 if test "$enableval" = yes; then
6628 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6629 else
6630 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6631 fi
6632
6633 else
6634
6635 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x ; then
6637 eval "DEFAULT_$LINE"
6638 else
6639 no_cache=1
6640 fi
6641
6642 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6643
6644 fi;
6645
6646 eval "$ac_cv_use_protocol"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6649 fi
6650
6651 if test "$wxUSE_PROTOCOL" = yes; then
6652 echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6
6654 else
6655 echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6
6657 fi
6658
6659
6660 enablestring=
6661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6663 no_cache=0
6664 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6665 if test "${enable_protocol_http+set}" = set; then
6666 enableval="$enable_protocol_http"
6667
6668 if test "$enableval" = yes; then
6669 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6670 else
6671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6672 fi
6673
6674 else
6675
6676 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6677 if test "x$LINE" != x ; then
6678 eval "DEFAULT_$LINE"
6679 else
6680 no_cache=1
6681 fi
6682
6683 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6684
6685 fi;
6686
6687 eval "$ac_cv_use_protocol_http"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6690 fi
6691
6692 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6693 echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6
6695 else
6696 echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6
6698 fi
6699
6700
6701 enablestring=
6702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6704 no_cache=0
6705 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6706 if test "${enable_protocol_ftp+set}" = set; then
6707 enableval="$enable_protocol_ftp"
6708
6709 if test "$enableval" = yes; then
6710 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6711 else
6712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6713 fi
6714
6715 else
6716
6717 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x ; then
6719 eval "DEFAULT_$LINE"
6720 else
6721 no_cache=1
6722 fi
6723
6724 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6725
6726 fi;
6727
6728 eval "$ac_cv_use_protocol_ftp"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6731 fi
6732
6733 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6734 echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6
6736 else
6737 echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6
6739 fi
6740
6741
6742 enablestring=
6743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6745 no_cache=0
6746 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6747 if test "${enable_protocol_file+set}" = set; then
6748 enableval="$enable_protocol_file"
6749
6750 if test "$enableval" = yes; then
6751 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6752 else
6753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6754 fi
6755
6756 else
6757
6758 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6759 if test "x$LINE" != x ; then
6760 eval "DEFAULT_$LINE"
6761 else
6762 no_cache=1
6763 fi
6764
6765 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6766
6767 fi;
6768
6769 eval "$ac_cv_use_protocol_file"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6772 fi
6773
6774 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6775 echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6
6777 else
6778 echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6
6780 fi
6781
6782
6783
6784
6785
6786 enablestring=
6787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6788 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6789 no_cache=0
6790 # Check whether --enable-threads or --disable-threads was given.
6791 if test "${enable_threads+set}" = set; then
6792 enableval="$enable_threads"
6793
6794 if test "$enableval" = yes; then
6795 ac_cv_use_threads='wxUSE_THREADS=yes'
6796 else
6797 ac_cv_use_threads='wxUSE_THREADS=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6810
6811 fi;
6812
6813 eval "$ac_cv_use_threads"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6816 fi
6817
6818 if test "$wxUSE_THREADS" = yes; then
6819 echo "$as_me:$LINENO: result: yes" >&5
6820 echo "${ECHO_T}yes" >&6
6821 else
6822 echo "$as_me:$LINENO: result: no" >&5
6823 echo "${ECHO_T}no" >&6
6824 fi
6825
6826
6827 if test "$wxUSE_GUI" = "yes"; then
6828
6829
6830
6831 enablestring=
6832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6834 no_cache=0
6835 # Check whether --enable-docview or --disable-docview was given.
6836 if test "${enable_docview+set}" = set; then
6837 enableval="$enable_docview"
6838
6839 if test "$enableval" = yes; then
6840 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6841 else
6842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6843 fi
6844
6845 else
6846
6847 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x ; then
6849 eval "DEFAULT_$LINE"
6850 else
6851 no_cache=1
6852 fi
6853
6854 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6855
6856 fi;
6857
6858 eval "$ac_cv_use_docview"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6864 echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6
6866 else
6867 echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6
6869 fi
6870
6871
6872 enablestring=
6873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6875 no_cache=0
6876 # Check whether --enable-help or --disable-help was given.
6877 if test "${enable_help+set}" = set; then
6878 enableval="$enable_help"
6879
6880 if test "$enableval" = yes; then
6881 ac_cv_use_help='wxUSE_HELP=yes'
6882 else
6883 ac_cv_use_help='wxUSE_HELP=no'
6884 fi
6885
6886 else
6887
6888 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6889 if test "x$LINE" != x ; then
6890 eval "DEFAULT_$LINE"
6891 else
6892 no_cache=1
6893 fi
6894
6895 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6896
6897 fi;
6898
6899 eval "$ac_cv_use_help"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6902 fi
6903
6904 if test "$wxUSE_HELP" = yes; then
6905 echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6
6907 else
6908 echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6
6910 fi
6911
6912
6913 enablestring=
6914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6916 no_cache=0
6917 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6918 if test "${enable_mshtmlhelp+set}" = set; then
6919 enableval="$enable_mshtmlhelp"
6920
6921 if test "$enableval" = yes; then
6922 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6923 else
6924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6925 fi
6926
6927 else
6928
6929 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6930 if test "x$LINE" != x ; then
6931 eval "DEFAULT_$LINE"
6932 else
6933 no_cache=1
6934 fi
6935
6936 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6937
6938 fi;
6939
6940 eval "$ac_cv_use_mshtmlhelp"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6943 fi
6944
6945 if test "$wxUSE_MS_HTML_HELP" = yes; then
6946 echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6
6948 else
6949 echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6
6951 fi
6952
6953
6954 enablestring=
6955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6957 no_cache=0
6958 # Check whether --enable-html or --disable-html was given.
6959 if test "${enable_html+set}" = set; then
6960 enableval="$enable_html"
6961
6962 if test "$enableval" = yes; then
6963 ac_cv_use_html='wxUSE_HTML=yes'
6964 else
6965 ac_cv_use_html='wxUSE_HTML=no'
6966 fi
6967
6968 else
6969
6970 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6971 if test "x$LINE" != x ; then
6972 eval "DEFAULT_$LINE"
6973 else
6974 no_cache=1
6975 fi
6976
6977 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6978
6979 fi;
6980
6981 eval "$ac_cv_use_html"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6984 fi
6985
6986 if test "$wxUSE_HTML" = yes; then
6987 echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6
6989 else
6990 echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6
6992 fi
6993
6994
6995 enablestring=
6996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6998 no_cache=0
6999 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7000 if test "${enable_htmlhelp+set}" = set; then
7001 enableval="$enable_htmlhelp"
7002
7003 if test "$enableval" = yes; then
7004 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7005 else
7006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7007 fi
7008
7009 else
7010
7011 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7012 if test "x$LINE" != x ; then
7013 eval "DEFAULT_$LINE"
7014 else
7015 no_cache=1
7016 fi
7017
7018 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7019
7020 fi;
7021
7022 eval "$ac_cv_use_htmlhelp"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test "$wxUSE_WXHTML_HELP" = yes; then
7028 echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6
7030 else
7031 echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6
7033 fi
7034
7035
7036 enablestring=
7037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7039 no_cache=0
7040 # Check whether --enable-xrc or --disable-xrc was given.
7041 if test "${enable_xrc+set}" = set; then
7042 enableval="$enable_xrc"
7043
7044 if test "$enableval" = yes; then
7045 ac_cv_use_xrc='wxUSE_XRC=yes'
7046 else
7047 ac_cv_use_xrc='wxUSE_XRC=no'
7048 fi
7049
7050 else
7051
7052 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7053 if test "x$LINE" != x ; then
7054 eval "DEFAULT_$LINE"
7055 else
7056 no_cache=1
7057 fi
7058
7059 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7060
7061 fi;
7062
7063 eval "$ac_cv_use_xrc"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_XRC" = yes; then
7069 echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6
7071 else
7072 echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6
7074 fi
7075
7076
7077 enablestring=
7078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7080 no_cache=0
7081 # Check whether --enable-aui or --disable-aui was given.
7082 if test "${enable_aui+set}" = set; then
7083 enableval="$enable_aui"
7084
7085 if test "$enableval" = yes; then
7086 ac_cv_use_aui='wxUSE_AUI=yes'
7087 else
7088 ac_cv_use_aui='wxUSE_AUI=no'
7089 fi
7090
7091 else
7092
7093 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x ; then
7095 eval "DEFAULT_$LINE"
7096 else
7097 no_cache=1
7098 fi
7099
7100 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7101
7102 fi;
7103
7104 eval "$ac_cv_use_aui"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7107 fi
7108
7109 if test "$wxUSE_AUI" = yes; then
7110 echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6
7112 else
7113 echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6
7115 fi
7116
7117
7118 enablestring=
7119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7121 no_cache=0
7122 # Check whether --enable-constraints or --disable-constraints was given.
7123 if test "${enable_constraints+set}" = set; then
7124 enableval="$enable_constraints"
7125
7126 if test "$enableval" = yes; then
7127 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7128 else
7129 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7130 fi
7131
7132 else
7133
7134 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7135 if test "x$LINE" != x ; then
7136 eval "DEFAULT_$LINE"
7137 else
7138 no_cache=1
7139 fi
7140
7141 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7142
7143 fi;
7144
7145 eval "$ac_cv_use_constraints"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_CONSTRAINTS" = yes; then
7151 echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6
7153 else
7154 echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6
7156 fi
7157
7158
7159 enablestring=
7160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7162 no_cache=0
7163 # Check whether --enable-printarch or --disable-printarch was given.
7164 if test "${enable_printarch+set}" = set; then
7165 enableval="$enable_printarch"
7166
7167 if test "$enableval" = yes; then
7168 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7169 else
7170 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7171 fi
7172
7173 else
7174
7175 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7176 if test "x$LINE" != x ; then
7177 eval "DEFAULT_$LINE"
7178 else
7179 no_cache=1
7180 fi
7181
7182 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7183
7184 fi;
7185
7186 eval "$ac_cv_use_printarch"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7192 echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6
7194 else
7195 echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6
7197 fi
7198
7199
7200 enablestring=
7201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7203 no_cache=0
7204 # Check whether --enable-mdi or --disable-mdi was given.
7205 if test "${enable_mdi+set}" = set; then
7206 enableval="$enable_mdi"
7207
7208 if test "$enableval" = yes; then
7209 ac_cv_use_mdi='wxUSE_MDI=yes'
7210 else
7211 ac_cv_use_mdi='wxUSE_MDI=no'
7212 fi
7213
7214 else
7215
7216 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7219 else
7220 no_cache=1
7221 fi
7222
7223 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7224
7225 fi;
7226
7227 eval "$ac_cv_use_mdi"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_MDI" = yes; then
7233 echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6
7235 else
7236 echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6
7238 fi
7239
7240
7241 enablestring=
7242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7244 no_cache=0
7245 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7246 if test "${enable_mdidoc+set}" = set; then
7247 enableval="$enable_mdidoc"
7248
7249 if test "$enableval" = yes; then
7250 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7251 else
7252 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7253 fi
7254
7255 else
7256
7257 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7260 else
7261 no_cache=1
7262 fi
7263
7264 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7265
7266 fi;
7267
7268 eval "$ac_cv_use_mdidoc"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7274 echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6
7276 else
7277 echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6
7279 fi
7280
7281
7282 enablestring=
7283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7285 no_cache=0
7286 # Check whether --enable-loggui or --disable-loggui was given.
7287 if test "${enable_loggui+set}" = set; then
7288 enableval="$enable_loggui"
7289
7290 if test "$enableval" = yes; then
7291 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7292 else
7293 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7294 fi
7295
7296 else
7297
7298 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7299 if test "x$LINE" != x ; then
7300 eval "DEFAULT_$LINE"
7301 else
7302 no_cache=1
7303 fi
7304
7305 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7306
7307 fi;
7308
7309 eval "$ac_cv_use_loggui"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_LOGGUI" = yes; then
7315 echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6
7317 else
7318 echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6
7320 fi
7321
7322
7323 enablestring=
7324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7326 no_cache=0
7327 # Check whether --enable-logwin or --disable-logwin was given.
7328 if test "${enable_logwin+set}" = set; then
7329 enableval="$enable_logwin"
7330
7331 if test "$enableval" = yes; then
7332 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7333 else
7334 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7335 fi
7336
7337 else
7338
7339 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x ; then
7341 eval "DEFAULT_$LINE"
7342 else
7343 no_cache=1
7344 fi
7345
7346 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7347
7348 fi;
7349
7350 eval "$ac_cv_use_logwin"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_LOGWINDOW" = yes; then
7356 echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6
7358 else
7359 echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6
7361 fi
7362
7363
7364 enablestring=
7365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7367 no_cache=0
7368 # Check whether --enable-logdialog or --disable-logdialog was given.
7369 if test "${enable_logdialog+set}" = set; then
7370 enableval="$enable_logdialog"
7371
7372 if test "$enableval" = yes; then
7373 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7374 else
7375 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7376 fi
7377
7378 else
7379
7380 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7381 if test "x$LINE" != x ; then
7382 eval "DEFAULT_$LINE"
7383 else
7384 no_cache=1
7385 fi
7386
7387 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7388
7389 fi;
7390
7391 eval "$ac_cv_use_logdialog"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_LOGDIALOG" = yes; then
7397 echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6
7399 else
7400 echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6
7402 fi
7403
7404
7405 enablestring=
7406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7408 no_cache=0
7409 # Check whether --enable-webkit or --disable-webkit was given.
7410 if test "${enable_webkit+set}" = set; then
7411 enableval="$enable_webkit"
7412
7413 if test "$enableval" = yes; then
7414 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7415 else
7416 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7417 fi
7418
7419 else
7420
7421 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x ; then
7423 eval "DEFAULT_$LINE"
7424 else
7425 no_cache=1
7426 fi
7427
7428 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7429
7430 fi;
7431
7432 eval "$ac_cv_use_webkit"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_WEBKIT" = yes; then
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7440 else
7441 echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6
7443 fi
7444
7445
7446 enablestring=
7447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7449 no_cache=0
7450 # Check whether --enable-html or --disable-html was given.
7451 if test "${enable_html+set}" = set; then
7452 enableval="$enable_html"
7453
7454 if test "$enableval" = yes; then
7455 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7456 else
7457 ac_cv_use_html='wxUSE_RICHTEXT=no'
7458 fi
7459
7460 else
7461
7462 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7463 if test "x$LINE" != x ; then
7464 eval "DEFAULT_$LINE"
7465 else
7466 no_cache=1
7467 fi
7468
7469 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7470
7471 fi;
7472
7473 eval "$ac_cv_use_html"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7476 fi
7477
7478 if test "$wxUSE_RICHTEXT" = yes; then
7479 echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6
7481 else
7482 echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6
7484 fi
7485
7486
7487 enablestring=
7488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7490 no_cache=0
7491 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7492 if test "${enable_graphics_ctx+set}" = set; then
7493 enableval="$enable_graphics_ctx"
7494
7495 if test "$enableval" = yes; then
7496 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7497 else
7498 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7499 fi
7500
7501 else
7502
7503 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x ; then
7505 eval "DEFAULT_$LINE"
7506 else
7507 no_cache=1
7508 fi
7509
7510 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7511
7512 fi;
7513
7514 eval "$ac_cv_use_graphics_ctx"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7517 fi
7518
7519 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7522 else
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7525 fi
7526
7527
7528
7529 enablestring=
7530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7532 no_cache=0
7533 # Check whether --enable-postscript or --disable-postscript was given.
7534 if test "${enable_postscript+set}" = set; then
7535 enableval="$enable_postscript"
7536
7537 if test "$enableval" = yes; then
7538 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7539 else
7540 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7541 fi
7542
7543 else
7544
7545 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7546 if test "x$LINE" != x ; then
7547 eval "DEFAULT_$LINE"
7548 else
7549 no_cache=1
7550 fi
7551
7552 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7553
7554 fi;
7555
7556 eval "$ac_cv_use_postscript"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7559 fi
7560
7561 if test "$wxUSE_POSTSCRIPT" = yes; then
7562 echo "$as_me:$LINENO: result: yes" >&5
7563 echo "${ECHO_T}yes" >&6
7564 else
7565 echo "$as_me:$LINENO: result: no" >&5
7566 echo "${ECHO_T}no" >&6
7567 fi
7568
7569
7570
7571
7572
7573 enablestring=
7574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7576 no_cache=0
7577 # Check whether --enable-prologio or --disable-prologio was given.
7578 if test "${enable_prologio+set}" = set; then
7579 enableval="$enable_prologio"
7580
7581 if test "$enableval" = yes; then
7582 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7583 else
7584 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7585 fi
7586
7587 else
7588
7589 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7590 if test "x$LINE" != x ; then
7591 eval "DEFAULT_$LINE"
7592 else
7593 no_cache=1
7594 fi
7595
7596 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7597
7598 fi;
7599
7600 eval "$ac_cv_use_prologio"
7601 if test "$no_cache" != 1; then
7602 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7603 fi
7604
7605 if test "$wxUSE_PROLOGIO" = yes; then
7606 echo "$as_me:$LINENO: result: yes" >&5
7607 echo "${ECHO_T}yes" >&6
7608 else
7609 echo "$as_me:$LINENO: result: no" >&5
7610 echo "${ECHO_T}no" >&6
7611 fi
7612
7613
7614 enablestring=
7615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7617 no_cache=0
7618 # Check whether --enable-resources or --disable-resources was given.
7619 if test "${enable_resources+set}" = set; then
7620 enableval="$enable_resources"
7621
7622 if test "$enableval" = yes; then
7623 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7624 else
7625 ac_cv_use_resources='wxUSE_RESOURCES=no'
7626 fi
7627
7628 else
7629
7630 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7631 if test "x$LINE" != x ; then
7632 eval "DEFAULT_$LINE"
7633 else
7634 no_cache=1
7635 fi
7636
7637 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7638
7639 fi;
7640
7641 eval "$ac_cv_use_resources"
7642 if test "$no_cache" != 1; then
7643 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7644 fi
7645
7646 if test "$wxUSE_RESOURCES" = yes; then
7647 echo "$as_me:$LINENO: result: yes" >&5
7648 echo "${ECHO_T}yes" >&6
7649 else
7650 echo "$as_me:$LINENO: result: no" >&5
7651 echo "${ECHO_T}no" >&6
7652 fi
7653
7654
7655
7656
7657 enablestring=
7658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7660 no_cache=0
7661 # Check whether --enable-clipboard or --disable-clipboard was given.
7662 if test "${enable_clipboard+set}" = set; then
7663 enableval="$enable_clipboard"
7664
7665 if test "$enableval" = yes; then
7666 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7667 else
7668 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7669 fi
7670
7671 else
7672
7673 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x ; then
7675 eval "DEFAULT_$LINE"
7676 else
7677 no_cache=1
7678 fi
7679
7680 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7681
7682 fi;
7683
7684 eval "$ac_cv_use_clipboard"
7685 if test "$no_cache" != 1; then
7686 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7687 fi
7688
7689 if test "$wxUSE_CLIPBOARD" = yes; then
7690 echo "$as_me:$LINENO: result: yes" >&5
7691 echo "${ECHO_T}yes" >&6
7692 else
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7695 fi
7696
7697
7698 enablestring=
7699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7701 no_cache=0
7702 # Check whether --enable-dnd or --disable-dnd was given.
7703 if test "${enable_dnd+set}" = set; then
7704 enableval="$enable_dnd"
7705
7706 if test "$enableval" = yes; then
7707 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7708 else
7709 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7710 fi
7711
7712 else
7713
7714 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x ; then
7716 eval "DEFAULT_$LINE"
7717 else
7718 no_cache=1
7719 fi
7720
7721 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7722
7723 fi;
7724
7725 eval "$ac_cv_use_dnd"
7726 if test "$no_cache" != 1; then
7727 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7728 fi
7729
7730 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7731 echo "$as_me:$LINENO: result: yes" >&5
7732 echo "${ECHO_T}yes" >&6
7733 else
7734 echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6
7736 fi
7737
7738
7739 enablestring=
7740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7742 no_cache=0
7743 # Check whether --enable-metafile or --disable-metafile was given.
7744 if test "${enable_metafile+set}" = set; then
7745 enableval="$enable_metafile"
7746
7747 if test "$enableval" = yes; then
7748 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7749 else
7750 ac_cv_use_metafile='wxUSE_METAFILE=no'
7751 fi
7752
7753 else
7754
7755 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7758 else
7759 no_cache=1
7760 fi
7761
7762 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7763
7764 fi;
7765
7766 eval "$ac_cv_use_metafile"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7769 fi
7770
7771 if test "$wxUSE_METAFILE" = yes; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7774 else
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7777 fi
7778
7779
7780
7781
7782
7783 enablestring=
7784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7786 no_cache=0
7787 # Check whether --enable-controls or --disable-controls was given.
7788 if test "${enable_controls+set}" = set; then
7789 enableval="$enable_controls"
7790
7791 if test "$enableval" = yes; then
7792 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7793 else
7794 ac_cv_use_controls='wxUSE_CONTROLS=no'
7795 fi
7796
7797 else
7798
7799 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7800 if test "x$LINE" != x ; then
7801 eval "DEFAULT_$LINE"
7802 else
7803 no_cache=1
7804 fi
7805
7806 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7807
7808 fi;
7809
7810 eval "$ac_cv_use_controls"
7811 if test "$no_cache" != 1; then
7812 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7813 fi
7814
7815 if test "$wxUSE_CONTROLS" = yes; then
7816 echo "$as_me:$LINENO: result: yes" >&5
7817 echo "${ECHO_T}yes" >&6
7818 else
7819 echo "$as_me:$LINENO: result: no" >&5
7820 echo "${ECHO_T}no" >&6
7821 fi
7822
7823
7824 if test "$wxUSE_CONTROLS" = "yes"; then
7825 DEFAULT_wxUSE_ACCEL=yes
7826 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7827 DEFAULT_wxUSE_BMPBUTTON=yes
7828 DEFAULT_wxUSE_BUTTON=yes
7829 DEFAULT_wxUSE_CALCTRL=yes
7830 DEFAULT_wxUSE_CARET=yes
7831 DEFAULT_wxUSE_COMBOBOX=yes
7832 DEFAULT_wxUSE_CHECKBOX=yes
7833 DEFAULT_wxUSE_CHECKLISTBOX=yes
7834 DEFAULT_wxUSE_CHOICE=yes
7835 DEFAULT_wxUSE_CHOICEBOOK=yes
7836 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7837 DEFAULT_wxUSE_COMBOBOX=yes
7838 DEFAULT_wxUSE_DATEPICKCTRL=yes
7839 DEFAULT_wxUSE_DISPLAY=yes
7840 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7841 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7842 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7843 DEFAULT_wxUSE_GAUGE=yes
7844 DEFAULT_wxUSE_GRID=yes
7845 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7846 DEFAULT_wxUSE_DATAVIEWCTRL=no
7847 DEFAULT_wxUSE_IMAGLIST=yes
7848 DEFAULT_wxUSE_LISTBOOK=yes
7849 DEFAULT_wxUSE_LISTBOX=yes
7850 DEFAULT_wxUSE_LISTCTRL=yes
7851 DEFAULT_wxUSE_NOTEBOOK=yes
7852 DEFAULT_wxUSE_RADIOBOX=yes
7853 DEFAULT_wxUSE_RADIOBTN=yes
7854 DEFAULT_wxUSE_SASH=yes
7855 DEFAULT_wxUSE_SCROLLBAR=yes
7856 DEFAULT_wxUSE_SLIDER=yes
7857 DEFAULT_wxUSE_SPINBTN=yes
7858 DEFAULT_wxUSE_SPINCTRL=yes
7859 DEFAULT_wxUSE_SPLITTER=yes
7860 DEFAULT_wxUSE_STATBMP=yes
7861 DEFAULT_wxUSE_STATBOX=yes
7862 DEFAULT_wxUSE_STATLINE=yes
7863 DEFAULT_wxUSE_STATUSBAR=yes
7864 DEFAULT_wxUSE_TAB_DIALOG=yes
7865 DEFAULT_wxUSE_TOGGLEBTN=yes
7866 DEFAULT_wxUSE_TOOLBAR=yes
7867 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7868 DEFAULT_wxUSE_TOOLTIPS=yes
7869 DEFAULT_wxUSE_TREEBOOK=yes
7870 DEFAULT_wxUSE_TOOLBOOK=yes
7871 DEFAULT_wxUSE_TREECTRL=yes
7872 DEFAULT_wxUSE_POPUPWIN=yes
7873 DEFAULT_wxUSE_TIPWINDOW=yes
7874 elif test "$wxUSE_CONTROLS" = "no"; then
7875 DEFAULT_wxUSE_ACCEL=no
7876 DEFAULT_wxUSE_ANIMATIONCTRL=no
7877 DEFAULT_wxUSE_BMPBUTTON=no
7878 DEFAULT_wxUSE_BUTTON=no
7879 DEFAULT_wxUSE_CALCTRL=no
7880 DEFAULT_wxUSE_CARET=no
7881 DEFAULT_wxUSE_COMBOBOX=no
7882 DEFAULT_wxUSE_CHECKBOX=no
7883 DEFAULT_wxUSE_CHECKLISTBOX=no
7884 DEFAULT_wxUSE_CHOICE=no
7885 DEFAULT_wxUSE_CHOICEBOOK=no
7886 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7887 DEFAULT_wxUSE_COMBOBOX=no
7888 DEFAULT_wxUSE_DATEPICKCTRL=no
7889 DEFAULT_wxUSE_DISPLAY=no
7890 DEFAULT_wxUSE_DIRPICKERCTRL=no
7891 DEFAULT_wxUSE_FILEPICKERCTRL=no
7892 DEFAULT_wxUSE_FONTPICKERCTRL=no
7893 DEFAULT_wxUSE_GAUGE=no
7894 DEFAULT_wxUSE_GRID=no
7895 DEFAULT_wxUSE_HYPERLINKCTRL=no
7896 DEFAULT_wxUSE_DATAVIEWCTRL=no
7897 DEFAULT_wxUSE_IMAGLIST=no
7898 DEFAULT_wxUSE_LISTBOOK=no
7899 DEFAULT_wxUSE_LISTBOX=no
7900 DEFAULT_wxUSE_LISTCTRL=no
7901 DEFAULT_wxUSE_NOTEBOOK=no
7902 DEFAULT_wxUSE_RADIOBOX=no
7903 DEFAULT_wxUSE_RADIOBTN=no
7904 DEFAULT_wxUSE_SASH=no
7905 DEFAULT_wxUSE_SCROLLBAR=no
7906 DEFAULT_wxUSE_SLIDER=no
7907 DEFAULT_wxUSE_SPINBTN=no
7908 DEFAULT_wxUSE_SPINCTRL=no
7909 DEFAULT_wxUSE_SPLITTER=no
7910 DEFAULT_wxUSE_STATBMP=no
7911 DEFAULT_wxUSE_STATBOX=no
7912 DEFAULT_wxUSE_STATLINE=no
7913 DEFAULT_wxUSE_STATUSBAR=no
7914 DEFAULT_wxUSE_TAB_DIALOG=no
7915 DEFAULT_wxUSE_TOGGLEBTN=no
7916 DEFAULT_wxUSE_TOOLBAR=no
7917 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7918 DEFAULT_wxUSE_TOOLTIPS=no
7919 DEFAULT_wxUSE_TREEBOOK=no
7920 DEFAULT_wxUSE_TOOLBOOK=no
7921 DEFAULT_wxUSE_TREECTRL=no
7922 DEFAULT_wxUSE_POPUPWIN=no
7923 DEFAULT_wxUSE_TIPWINDOW=no
7924 fi
7925
7926
7927 enablestring=
7928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7930 no_cache=0
7931 # Check whether --enable-accel or --disable-accel was given.
7932 if test "${enable_accel+set}" = set; then
7933 enableval="$enable_accel"
7934
7935 if test "$enableval" = yes; then
7936 ac_cv_use_accel='wxUSE_ACCEL=yes'
7937 else
7938 ac_cv_use_accel='wxUSE_ACCEL=no'
7939 fi
7940
7941 else
7942
7943 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x ; then
7945 eval "DEFAULT_$LINE"
7946 else
7947 no_cache=1
7948 fi
7949
7950 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7951
7952 fi;
7953
7954 eval "$ac_cv_use_accel"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7957 fi
7958
7959 if test "$wxUSE_ACCEL" = yes; then
7960 echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6
7962 else
7963 echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6
7965 fi
7966
7967
7968 enablestring=
7969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7971 no_cache=0
7972 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7973 if test "${enable_animatectrl+set}" = set; then
7974 enableval="$enable_animatectrl"
7975
7976 if test "$enableval" = yes; then
7977 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
7978 else
7979 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
7980 fi
7981
7982 else
7983
7984 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x ; then
7986 eval "DEFAULT_$LINE"
7987 else
7988 no_cache=1
7989 fi
7990
7991 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7992
7993 fi;
7994
7995 eval "$ac_cv_use_animatectrl"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
7998 fi
7999
8000 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8001 echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6
8003 else
8004 echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6
8006 fi
8007
8008
8009 enablestring=
8010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8012 no_cache=0
8013 # Check whether --enable-button or --disable-button was given.
8014 if test "${enable_button+set}" = set; then
8015 enableval="$enable_button"
8016
8017 if test "$enableval" = yes; then
8018 ac_cv_use_button='wxUSE_BUTTON=yes'
8019 else
8020 ac_cv_use_button='wxUSE_BUTTON=no'
8021 fi
8022
8023 else
8024
8025 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8026 if test "x$LINE" != x ; then
8027 eval "DEFAULT_$LINE"
8028 else
8029 no_cache=1
8030 fi
8031
8032 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8033
8034 fi;
8035
8036 eval "$ac_cv_use_button"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8039 fi
8040
8041 if test "$wxUSE_BUTTON" = yes; then
8042 echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6
8044 else
8045 echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6
8047 fi
8048
8049
8050 enablestring=
8051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8053 no_cache=0
8054 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8055 if test "${enable_bmpbutton+set}" = set; then
8056 enableval="$enable_bmpbutton"
8057
8058 if test "$enableval" = yes; then
8059 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8060 else
8061 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8062 fi
8063
8064 else
8065
8066 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8067 if test "x$LINE" != x ; then
8068 eval "DEFAULT_$LINE"
8069 else
8070 no_cache=1
8071 fi
8072
8073 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8074
8075 fi;
8076
8077 eval "$ac_cv_use_bmpbutton"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8080 fi
8081
8082 if test "$wxUSE_BMPBUTTON" = yes; then
8083 echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6
8085 else
8086 echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6
8088 fi
8089
8090
8091 enablestring=
8092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8094 no_cache=0
8095 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8096 if test "${enable_bmpcombobox+set}" = set; then
8097 enableval="$enable_bmpcombobox"
8098
8099 if test "$enableval" = yes; then
8100 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8101 else
8102 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8103 fi
8104
8105 else
8106
8107 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8108 if test "x$LINE" != x ; then
8109 eval "DEFAULT_$LINE"
8110 else
8111 no_cache=1
8112 fi
8113
8114 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8115
8116 fi;
8117
8118 eval "$ac_cv_use_bmpcombobox"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8121 fi
8122
8123 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8124 echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6
8126 else
8127 echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6
8129 fi
8130
8131
8132 enablestring=
8133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8135 no_cache=0
8136 # Check whether --enable-calendar or --disable-calendar was given.
8137 if test "${enable_calendar+set}" = set; then
8138 enableval="$enable_calendar"
8139
8140 if test "$enableval" = yes; then
8141 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8142 else
8143 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8144 fi
8145
8146 else
8147
8148 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x ; then
8150 eval "DEFAULT_$LINE"
8151 else
8152 no_cache=1
8153 fi
8154
8155 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8156
8157 fi;
8158
8159 eval "$ac_cv_use_calendar"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8162 fi
8163
8164 if test "$wxUSE_CALCTRL" = yes; then
8165 echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6
8167 else
8168 echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6
8170 fi
8171
8172
8173 enablestring=
8174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8176 no_cache=0
8177 # Check whether --enable-caret or --disable-caret was given.
8178 if test "${enable_caret+set}" = set; then
8179 enableval="$enable_caret"
8180
8181 if test "$enableval" = yes; then
8182 ac_cv_use_caret='wxUSE_CARET=yes'
8183 else
8184 ac_cv_use_caret='wxUSE_CARET=no'
8185 fi
8186
8187 else
8188
8189 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8190 if test "x$LINE" != x ; then
8191 eval "DEFAULT_$LINE"
8192 else
8193 no_cache=1
8194 fi
8195
8196 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8197
8198 fi;
8199
8200 eval "$ac_cv_use_caret"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test "$wxUSE_CARET" = yes; then
8206 echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6
8208 else
8209 echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6
8211 fi
8212
8213
8214 enablestring=
8215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8217 no_cache=0
8218 # Check whether --enable-checkbox or --disable-checkbox was given.
8219 if test "${enable_checkbox+set}" = set; then
8220 enableval="$enable_checkbox"
8221
8222 if test "$enableval" = yes; then
8223 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8224 else
8225 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8226 fi
8227
8228 else
8229
8230 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8231 if test "x$LINE" != x ; then
8232 eval "DEFAULT_$LINE"
8233 else
8234 no_cache=1
8235 fi
8236
8237 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8238
8239 fi;
8240
8241 eval "$ac_cv_use_checkbox"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8244 fi
8245
8246 if test "$wxUSE_CHECKBOX" = yes; then
8247 echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6
8249 else
8250 echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6
8252 fi
8253
8254
8255 enablestring=
8256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8258 no_cache=0
8259 # Check whether --enable-checklst or --disable-checklst was given.
8260 if test "${enable_checklst+set}" = set; then
8261 enableval="$enable_checklst"
8262
8263 if test "$enableval" = yes; then
8264 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8265 else
8266 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8267 fi
8268
8269 else
8270
8271 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8272 if test "x$LINE" != x ; then
8273 eval "DEFAULT_$LINE"
8274 else
8275 no_cache=1
8276 fi
8277
8278 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8279
8280 fi;
8281
8282 eval "$ac_cv_use_checklst"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8285 fi
8286
8287 if test "$wxUSE_CHECKLST" = yes; then
8288 echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6
8290 else
8291 echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6
8293 fi
8294
8295
8296 enablestring=
8297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8299 no_cache=0
8300 # Check whether --enable-choice or --disable-choice was given.
8301 if test "${enable_choice+set}" = set; then
8302 enableval="$enable_choice"
8303
8304 if test "$enableval" = yes; then
8305 ac_cv_use_choice='wxUSE_CHOICE=yes'
8306 else
8307 ac_cv_use_choice='wxUSE_CHOICE=no'
8308 fi
8309
8310 else
8311
8312 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8313 if test "x$LINE" != x ; then
8314 eval "DEFAULT_$LINE"
8315 else
8316 no_cache=1
8317 fi
8318
8319 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8320
8321 fi;
8322
8323 eval "$ac_cv_use_choice"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8326 fi
8327
8328 if test "$wxUSE_CHOICE" = yes; then
8329 echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6
8331 else
8332 echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6
8334 fi
8335
8336
8337 enablestring=
8338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8340 no_cache=0
8341 # Check whether --enable-choicebook or --disable-choicebook was given.
8342 if test "${enable_choicebook+set}" = set; then
8343 enableval="$enable_choicebook"
8344
8345 if test "$enableval" = yes; then
8346 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8347 else
8348 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8349 fi
8350
8351 else
8352
8353 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8354 if test "x$LINE" != x ; then
8355 eval "DEFAULT_$LINE"
8356 else
8357 no_cache=1
8358 fi
8359
8360 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8361
8362 fi;
8363
8364 eval "$ac_cv_use_choicebook"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8367 fi
8368
8369 if test "$wxUSE_CHOICEBOOK" = yes; then
8370 echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6
8372 else
8373 echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6
8375 fi
8376
8377
8378 enablestring=
8379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8380 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8381 no_cache=0
8382 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8383 if test "${enable_colourpicker+set}" = set; then
8384 enableval="$enable_colourpicker"
8385
8386 if test "$enableval" = yes; then
8387 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8388 else
8389 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8390 fi
8391
8392 else
8393
8394 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x ; then
8396 eval "DEFAULT_$LINE"
8397 else
8398 no_cache=1
8399 fi
8400
8401 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8402
8403 fi;
8404
8405 eval "$ac_cv_use_colourpicker"
8406 if test "$no_cache" != 1; then
8407 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8408 fi
8409
8410 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8411 echo "$as_me:$LINENO: result: yes" >&5
8412 echo "${ECHO_T}yes" >&6
8413 else
8414 echo "$as_me:$LINENO: result: no" >&5
8415 echo "${ECHO_T}no" >&6
8416 fi
8417
8418
8419 enablestring=
8420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8422 no_cache=0
8423 # Check whether --enable-combobox or --disable-combobox was given.
8424 if test "${enable_combobox+set}" = set; then
8425 enableval="$enable_combobox"
8426
8427 if test "$enableval" = yes; then
8428 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8429 else
8430 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8431 fi
8432
8433 else
8434
8435 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8436 if test "x$LINE" != x ; then
8437 eval "DEFAULT_$LINE"
8438 else
8439 no_cache=1
8440 fi
8441
8442 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8443
8444 fi;
8445
8446 eval "$ac_cv_use_combobox"
8447 if test "$no_cache" != 1; then
8448 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8449 fi
8450
8451 if test "$wxUSE_COMBOBOX" = yes; then
8452 echo "$as_me:$LINENO: result: yes" >&5
8453 echo "${ECHO_T}yes" >&6
8454 else
8455 echo "$as_me:$LINENO: result: no" >&5
8456 echo "${ECHO_T}no" >&6
8457 fi
8458
8459
8460 enablestring=
8461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8463 no_cache=0
8464 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8465 if test "${enable_comboctrl+set}" = set; then
8466 enableval="$enable_comboctrl"
8467
8468 if test "$enableval" = yes; then
8469 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8470 else
8471 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8472 fi
8473
8474 else
8475
8476 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8477 if test "x$LINE" != x ; then
8478 eval "DEFAULT_$LINE"
8479 else
8480 no_cache=1
8481 fi
8482
8483 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8484
8485 fi;
8486
8487 eval "$ac_cv_use_comboctrl"
8488 if test "$no_cache" != 1; then
8489 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8490 fi
8491
8492 if test "$wxUSE_COMBOCTRL" = yes; then
8493 echo "$as_me:$LINENO: result: yes" >&5
8494 echo "${ECHO_T}yes" >&6
8495 else
8496 echo "$as_me:$LINENO: result: no" >&5
8497 echo "${ECHO_T}no" >&6
8498 fi
8499
8500
8501 enablestring=
8502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8504 no_cache=0
8505 # Check whether --enable-datepick or --disable-datepick was given.
8506 if test "${enable_datepick+set}" = set; then
8507 enableval="$enable_datepick"
8508
8509 if test "$enableval" = yes; then
8510 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8511 else
8512 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8513 fi
8514
8515 else
8516
8517 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8520 else
8521 no_cache=1
8522 fi
8523
8524 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8525
8526 fi;
8527
8528 eval "$ac_cv_use_datepick"
8529 if test "$no_cache" != 1; then
8530 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8531 fi
8532
8533 if test "$wxUSE_DATEPICKCTRL" = yes; then
8534 echo "$as_me:$LINENO: result: yes" >&5
8535 echo "${ECHO_T}yes" >&6
8536 else
8537 echo "$as_me:$LINENO: result: no" >&5
8538 echo "${ECHO_T}no" >&6
8539 fi
8540
8541
8542 enablestring=
8543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8544 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8545 no_cache=0
8546 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8547 if test "${enable_dirpicker+set}" = set; then
8548 enableval="$enable_dirpicker"
8549
8550 if test "$enableval" = yes; then
8551 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8552 else
8553 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8554 fi
8555
8556 else
8557
8558 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8559 if test "x$LINE" != x ; then
8560 eval "DEFAULT_$LINE"
8561 else
8562 no_cache=1
8563 fi
8564
8565 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8566
8567 fi;
8568
8569 eval "$ac_cv_use_dirpicker"
8570 if test "$no_cache" != 1; then
8571 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8572 fi
8573
8574 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8575 echo "$as_me:$LINENO: result: yes" >&5
8576 echo "${ECHO_T}yes" >&6
8577 else
8578 echo "$as_me:$LINENO: result: no" >&5
8579 echo "${ECHO_T}no" >&6
8580 fi
8581
8582
8583 enablestring=
8584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8586 no_cache=0
8587 # Check whether --enable-display or --disable-display was given.
8588 if test "${enable_display+set}" = set; then
8589 enableval="$enable_display"
8590
8591 if test "$enableval" = yes; then
8592 ac_cv_use_display='wxUSE_DISPLAY=yes'
8593 else
8594 ac_cv_use_display='wxUSE_DISPLAY=no'
8595 fi
8596
8597 else
8598
8599 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8600 if test "x$LINE" != x ; then
8601 eval "DEFAULT_$LINE"
8602 else
8603 no_cache=1
8604 fi
8605
8606 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8607
8608 fi;
8609
8610 eval "$ac_cv_use_display"
8611 if test "$no_cache" != 1; then
8612 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8613 fi
8614
8615 if test "$wxUSE_DISPLAY" = yes; then
8616 echo "$as_me:$LINENO: result: yes" >&5
8617 echo "${ECHO_T}yes" >&6
8618 else
8619 echo "$as_me:$LINENO: result: no" >&5
8620 echo "${ECHO_T}no" >&6
8621 fi
8622
8623
8624 enablestring=
8625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8627 no_cache=0
8628 # Check whether --enable-filepicker or --disable-filepicker was given.
8629 if test "${enable_filepicker+set}" = set; then
8630 enableval="$enable_filepicker"
8631
8632 if test "$enableval" = yes; then
8633 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8634 else
8635 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8636 fi
8637
8638 else
8639
8640 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8641 if test "x$LINE" != x ; then
8642 eval "DEFAULT_$LINE"
8643 else
8644 no_cache=1
8645 fi
8646
8647 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8648
8649 fi;
8650
8651 eval "$ac_cv_use_filepicker"
8652 if test "$no_cache" != 1; then
8653 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8654 fi
8655
8656 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8657 echo "$as_me:$LINENO: result: yes" >&5
8658 echo "${ECHO_T}yes" >&6
8659 else
8660 echo "$as_me:$LINENO: result: no" >&5
8661 echo "${ECHO_T}no" >&6
8662 fi
8663
8664
8665 enablestring=
8666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8667 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8668 no_cache=0
8669 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8670 if test "${enable_fontpicker+set}" = set; then
8671 enableval="$enable_fontpicker"
8672
8673 if test "$enableval" = yes; then
8674 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8675 else
8676 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8677 fi
8678
8679 else
8680
8681 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8682 if test "x$LINE" != x ; then
8683 eval "DEFAULT_$LINE"
8684 else
8685 no_cache=1
8686 fi
8687
8688 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8689
8690 fi;
8691
8692 eval "$ac_cv_use_fontpicker"
8693 if test "$no_cache" != 1; then
8694 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8695 fi
8696
8697 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8698 echo "$as_me:$LINENO: result: yes" >&5
8699 echo "${ECHO_T}yes" >&6
8700 else
8701 echo "$as_me:$LINENO: result: no" >&5
8702 echo "${ECHO_T}no" >&6
8703 fi
8704
8705
8706 enablestring=
8707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8708 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8709 no_cache=0
8710 # Check whether --enable-gauge or --disable-gauge was given.
8711 if test "${enable_gauge+set}" = set; then
8712 enableval="$enable_gauge"
8713
8714 if test "$enableval" = yes; then
8715 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8716 else
8717 ac_cv_use_gauge='wxUSE_GAUGE=no'
8718 fi
8719
8720 else
8721
8722 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8723 if test "x$LINE" != x ; then
8724 eval "DEFAULT_$LINE"
8725 else
8726 no_cache=1
8727 fi
8728
8729 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8730
8731 fi;
8732
8733 eval "$ac_cv_use_gauge"
8734 if test "$no_cache" != 1; then
8735 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8736 fi
8737
8738 if test "$wxUSE_GAUGE" = yes; then
8739 echo "$as_me:$LINENO: result: yes" >&5
8740 echo "${ECHO_T}yes" >&6
8741 else
8742 echo "$as_me:$LINENO: result: no" >&5
8743 echo "${ECHO_T}no" >&6
8744 fi
8745
8746
8747 enablestring=
8748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8749 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8750 no_cache=0
8751 # Check whether --enable-grid or --disable-grid was given.
8752 if test "${enable_grid+set}" = set; then
8753 enableval="$enable_grid"
8754
8755 if test "$enableval" = yes; then
8756 ac_cv_use_grid='wxUSE_GRID=yes'
8757 else
8758 ac_cv_use_grid='wxUSE_GRID=no'
8759 fi
8760
8761 else
8762
8763 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8764 if test "x$LINE" != x ; then
8765 eval "DEFAULT_$LINE"
8766 else
8767 no_cache=1
8768 fi
8769
8770 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8771
8772 fi;
8773
8774 eval "$ac_cv_use_grid"
8775 if test "$no_cache" != 1; then
8776 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8777 fi
8778
8779 if test "$wxUSE_GRID" = yes; then
8780 echo "$as_me:$LINENO: result: yes" >&5
8781 echo "${ECHO_T}yes" >&6
8782 else
8783 echo "$as_me:$LINENO: result: no" >&5
8784 echo "${ECHO_T}no" >&6
8785 fi
8786
8787
8788 enablestring=
8789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8790 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8791 no_cache=0
8792 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8793 if test "${enable_dataviewctrl+set}" = set; then
8794 enableval="$enable_dataviewctrl"
8795
8796 if test "$enableval" = yes; then
8797 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8798 else
8799 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8800 fi
8801
8802 else
8803
8804 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8805 if test "x$LINE" != x ; then
8806 eval "DEFAULT_$LINE"
8807 else
8808 no_cache=1
8809 fi
8810
8811 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8812
8813 fi;
8814
8815 eval "$ac_cv_use_dataviewctrl"
8816 if test "$no_cache" != 1; then
8817 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8818 fi
8819
8820 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8821 echo "$as_me:$LINENO: result: yes" >&5
8822 echo "${ECHO_T}yes" >&6
8823 else
8824 echo "$as_me:$LINENO: result: no" >&5
8825 echo "${ECHO_T}no" >&6
8826 fi
8827
8828
8829 enablestring=
8830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8832 no_cache=0
8833 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8834 if test "${enable_hyperlink+set}" = set; then
8835 enableval="$enable_hyperlink"
8836
8837 if test "$enableval" = yes; then
8838 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8839 else
8840 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8841 fi
8842
8843 else
8844
8845 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8846 if test "x$LINE" != x ; then
8847 eval "DEFAULT_$LINE"
8848 else
8849 no_cache=1
8850 fi
8851
8852 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8853
8854 fi;
8855
8856 eval "$ac_cv_use_hyperlink"
8857 if test "$no_cache" != 1; then
8858 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8859 fi
8860
8861 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8862 echo "$as_me:$LINENO: result: yes" >&5
8863 echo "${ECHO_T}yes" >&6
8864 else
8865 echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6
8867 fi
8868
8869
8870 enablestring=
8871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8872 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8873 no_cache=0
8874 # Check whether --enable-imaglist or --disable-imaglist was given.
8875 if test "${enable_imaglist+set}" = set; then
8876 enableval="$enable_imaglist"
8877
8878 if test "$enableval" = yes; then
8879 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8880 else
8881 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8882 fi
8883
8884 else
8885
8886 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8887 if test "x$LINE" != x ; then
8888 eval "DEFAULT_$LINE"
8889 else
8890 no_cache=1
8891 fi
8892
8893 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8894
8895 fi;
8896
8897 eval "$ac_cv_use_imaglist"
8898 if test "$no_cache" != 1; then
8899 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8900 fi
8901
8902 if test "$wxUSE_IMAGLIST" = yes; then
8903 echo "$as_me:$LINENO: result: yes" >&5
8904 echo "${ECHO_T}yes" >&6
8905 else
8906 echo "$as_me:$LINENO: result: no" >&5
8907 echo "${ECHO_T}no" >&6
8908 fi
8909
8910
8911 enablestring=
8912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8913 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8914 no_cache=0
8915 # Check whether --enable-listbook or --disable-listbook was given.
8916 if test "${enable_listbook+set}" = set; then
8917 enableval="$enable_listbook"
8918
8919 if test "$enableval" = yes; then
8920 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8921 else
8922 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8923 fi
8924
8925 else
8926
8927 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8930 else
8931 no_cache=1
8932 fi
8933
8934 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8935
8936 fi;
8937
8938 eval "$ac_cv_use_listbook"
8939 if test "$no_cache" != 1; then
8940 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8941 fi
8942
8943 if test "$wxUSE_LISTBOOK" = yes; then
8944 echo "$as_me:$LINENO: result: yes" >&5
8945 echo "${ECHO_T}yes" >&6
8946 else
8947 echo "$as_me:$LINENO: result: no" >&5
8948 echo "${ECHO_T}no" >&6
8949 fi
8950
8951
8952 enablestring=
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8954 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8955 no_cache=0
8956 # Check whether --enable-listbox or --disable-listbox was given.
8957 if test "${enable_listbox+set}" = set; then
8958 enableval="$enable_listbox"
8959
8960 if test "$enableval" = yes; then
8961 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8962 else
8963 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8964 fi
8965
8966 else
8967
8968 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x ; then
8970 eval "DEFAULT_$LINE"
8971 else
8972 no_cache=1
8973 fi
8974
8975 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8976
8977 fi;
8978
8979 eval "$ac_cv_use_listbox"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8982 fi
8983
8984 if test "$wxUSE_LISTBOX" = yes; then
8985 echo "$as_me:$LINENO: result: yes" >&5
8986 echo "${ECHO_T}yes" >&6
8987 else
8988 echo "$as_me:$LINENO: result: no" >&5
8989 echo "${ECHO_T}no" >&6
8990 fi
8991
8992
8993 enablestring=
8994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8995 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8996 no_cache=0
8997 # Check whether --enable-listctrl or --disable-listctrl was given.
8998 if test "${enable_listctrl+set}" = set; then
8999 enableval="$enable_listctrl"
9000
9001 if test "$enableval" = yes; then
9002 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9003 else
9004 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9005 fi
9006
9007 else
9008
9009 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9010 if test "x$LINE" != x ; then
9011 eval "DEFAULT_$LINE"
9012 else
9013 no_cache=1
9014 fi
9015
9016 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9017
9018 fi;
9019
9020 eval "$ac_cv_use_listctrl"
9021 if test "$no_cache" != 1; then
9022 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9023 fi
9024
9025 if test "$wxUSE_LISTCTRL" = yes; then
9026 echo "$as_me:$LINENO: result: yes" >&5
9027 echo "${ECHO_T}yes" >&6
9028 else
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9031 fi
9032
9033
9034 enablestring=
9035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9036 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9037 no_cache=0
9038 # Check whether --enable-notebook or --disable-notebook was given.
9039 if test "${enable_notebook+set}" = set; then
9040 enableval="$enable_notebook"
9041
9042 if test "$enableval" = yes; then
9043 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9044 else
9045 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9046 fi
9047
9048 else
9049
9050 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9051 if test "x$LINE" != x ; then
9052 eval "DEFAULT_$LINE"
9053 else
9054 no_cache=1
9055 fi
9056
9057 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9058
9059 fi;
9060
9061 eval "$ac_cv_use_notebook"
9062 if test "$no_cache" != 1; then
9063 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9064 fi
9065
9066 if test "$wxUSE_NOTEBOOK" = yes; then
9067 echo "$as_me:$LINENO: result: yes" >&5
9068 echo "${ECHO_T}yes" >&6
9069 else
9070 echo "$as_me:$LINENO: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9072 fi
9073
9074
9075 enablestring=
9076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9077 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9078 no_cache=0
9079 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9080 if test "${enable_odcombobox+set}" = set; then
9081 enableval="$enable_odcombobox"
9082
9083 if test "$enableval" = yes; then
9084 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9085 else
9086 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9087 fi
9088
9089 else
9090
9091 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9092 if test "x$LINE" != x ; then
9093 eval "DEFAULT_$LINE"
9094 else
9095 no_cache=1
9096 fi
9097
9098 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9099
9100 fi;
9101
9102 eval "$ac_cv_use_odcombobox"
9103 if test "$no_cache" != 1; then
9104 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9105 fi
9106
9107 if test "$wxUSE_ODCOMBOBOX" = yes; then
9108 echo "$as_me:$LINENO: result: yes" >&5
9109 echo "${ECHO_T}yes" >&6
9110 else
9111 echo "$as_me:$LINENO: result: no" >&5
9112 echo "${ECHO_T}no" >&6
9113 fi
9114
9115
9116 enablestring=
9117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9119 no_cache=0
9120 # Check whether --enable-radiobox or --disable-radiobox was given.
9121 if test "${enable_radiobox+set}" = set; then
9122 enableval="$enable_radiobox"
9123
9124 if test "$enableval" = yes; then
9125 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9126 else
9127 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9128 fi
9129
9130 else
9131
9132 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9133 if test "x$LINE" != x ; then
9134 eval "DEFAULT_$LINE"
9135 else
9136 no_cache=1
9137 fi
9138
9139 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9140
9141 fi;
9142
9143 eval "$ac_cv_use_radiobox"
9144 if test "$no_cache" != 1; then
9145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9146 fi
9147
9148 if test "$wxUSE_RADIOBOX" = yes; then
9149 echo "$as_me:$LINENO: result: yes" >&5
9150 echo "${ECHO_T}yes" >&6
9151 else
9152 echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6
9154 fi
9155
9156
9157 enablestring=
9158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9160 no_cache=0
9161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9162 if test "${enable_radiobtn+set}" = set; then
9163 enableval="$enable_radiobtn"
9164
9165 if test "$enableval" = yes; then
9166 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9167 else
9168 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9169 fi
9170
9171 else
9172
9173 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9174 if test "x$LINE" != x ; then
9175 eval "DEFAULT_$LINE"
9176 else
9177 no_cache=1
9178 fi
9179
9180 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9181
9182 fi;
9183
9184 eval "$ac_cv_use_radiobtn"
9185 if test "$no_cache" != 1; then
9186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9187 fi
9188
9189 if test "$wxUSE_RADIOBTN" = yes; then
9190 echo "$as_me:$LINENO: result: yes" >&5
9191 echo "${ECHO_T}yes" >&6
9192 else
9193 echo "$as_me:$LINENO: result: no" >&5
9194 echo "${ECHO_T}no" >&6
9195 fi
9196
9197
9198 enablestring=
9199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9201 no_cache=0
9202 # Check whether --enable-sash or --disable-sash was given.
9203 if test "${enable_sash+set}" = set; then
9204 enableval="$enable_sash"
9205
9206 if test "$enableval" = yes; then
9207 ac_cv_use_sash='wxUSE_SASH=yes'
9208 else
9209 ac_cv_use_sash='wxUSE_SASH=no'
9210 fi
9211
9212 else
9213
9214 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9215 if test "x$LINE" != x ; then
9216 eval "DEFAULT_$LINE"
9217 else
9218 no_cache=1
9219 fi
9220
9221 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9222
9223 fi;
9224
9225 eval "$ac_cv_use_sash"
9226 if test "$no_cache" != 1; then
9227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9228 fi
9229
9230 if test "$wxUSE_SASH" = yes; then
9231 echo "$as_me:$LINENO: result: yes" >&5
9232 echo "${ECHO_T}yes" >&6
9233 else
9234 echo "$as_me:$LINENO: result: no" >&5
9235 echo "${ECHO_T}no" >&6
9236 fi
9237
9238
9239 enablestring=
9240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9242 no_cache=0
9243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9244 if test "${enable_scrollbar+set}" = set; then
9245 enableval="$enable_scrollbar"
9246
9247 if test "$enableval" = yes; then
9248 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9249 else
9250 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9251 fi
9252
9253 else
9254
9255 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9256 if test "x$LINE" != x ; then
9257 eval "DEFAULT_$LINE"
9258 else
9259 no_cache=1
9260 fi
9261
9262 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9263
9264 fi;
9265
9266 eval "$ac_cv_use_scrollbar"
9267 if test "$no_cache" != 1; then
9268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9269 fi
9270
9271 if test "$wxUSE_SCROLLBAR" = yes; then
9272 echo "$as_me:$LINENO: result: yes" >&5
9273 echo "${ECHO_T}yes" >&6
9274 else
9275 echo "$as_me:$LINENO: result: no" >&5
9276 echo "${ECHO_T}no" >&6
9277 fi
9278
9279
9280 enablestring=
9281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9283 no_cache=0
9284 # Check whether --enable-slider or --disable-slider was given.
9285 if test "${enable_slider+set}" = set; then
9286 enableval="$enable_slider"
9287
9288 if test "$enableval" = yes; then
9289 ac_cv_use_slider='wxUSE_SLIDER=yes'
9290 else
9291 ac_cv_use_slider='wxUSE_SLIDER=no'
9292 fi
9293
9294 else
9295
9296 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9297 if test "x$LINE" != x ; then
9298 eval "DEFAULT_$LINE"
9299 else
9300 no_cache=1
9301 fi
9302
9303 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9304
9305 fi;
9306
9307 eval "$ac_cv_use_slider"
9308 if test "$no_cache" != 1; then
9309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9310 fi
9311
9312 if test "$wxUSE_SLIDER" = yes; then
9313 echo "$as_me:$LINENO: result: yes" >&5
9314 echo "${ECHO_T}yes" >&6
9315 else
9316 echo "$as_me:$LINENO: result: no" >&5
9317 echo "${ECHO_T}no" >&6
9318 fi
9319
9320
9321 enablestring=
9322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9324 no_cache=0
9325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9326 if test "${enable_spinbtn+set}" = set; then
9327 enableval="$enable_spinbtn"
9328
9329 if test "$enableval" = yes; then
9330 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9331 else
9332 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9333 fi
9334
9335 else
9336
9337 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9338 if test "x$LINE" != x ; then
9339 eval "DEFAULT_$LINE"
9340 else
9341 no_cache=1
9342 fi
9343
9344 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9345
9346 fi;
9347
9348 eval "$ac_cv_use_spinbtn"
9349 if test "$no_cache" != 1; then
9350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9351 fi
9352
9353 if test "$wxUSE_SPINBTN" = yes; then
9354 echo "$as_me:$LINENO: result: yes" >&5
9355 echo "${ECHO_T}yes" >&6
9356 else
9357 echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6
9359 fi
9360
9361
9362 enablestring=
9363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9365 no_cache=0
9366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9367 if test "${enable_spinctrl+set}" = set; then
9368 enableval="$enable_spinctrl"
9369
9370 if test "$enableval" = yes; then
9371 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9372 else
9373 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9374 fi
9375
9376 else
9377
9378 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9379 if test "x$LINE" != x ; then
9380 eval "DEFAULT_$LINE"
9381 else
9382 no_cache=1
9383 fi
9384
9385 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9386
9387 fi;
9388
9389 eval "$ac_cv_use_spinctrl"
9390 if test "$no_cache" != 1; then
9391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9392 fi
9393
9394 if test "$wxUSE_SPINCTRL" = yes; then
9395 echo "$as_me:$LINENO: result: yes" >&5
9396 echo "${ECHO_T}yes" >&6
9397 else
9398 echo "$as_me:$LINENO: result: no" >&5
9399 echo "${ECHO_T}no" >&6
9400 fi
9401
9402
9403 enablestring=
9404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9406 no_cache=0
9407 # Check whether --enable-splitter or --disable-splitter was given.
9408 if test "${enable_splitter+set}" = set; then
9409 enableval="$enable_splitter"
9410
9411 if test "$enableval" = yes; then
9412 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9413 else
9414 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9415 fi
9416
9417 else
9418
9419 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9420 if test "x$LINE" != x ; then
9421 eval "DEFAULT_$LINE"
9422 else
9423 no_cache=1
9424 fi
9425
9426 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9427
9428 fi;
9429
9430 eval "$ac_cv_use_splitter"
9431 if test "$no_cache" != 1; then
9432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9433 fi
9434
9435 if test "$wxUSE_SPLITTER" = yes; then
9436 echo "$as_me:$LINENO: result: yes" >&5
9437 echo "${ECHO_T}yes" >&6
9438 else
9439 echo "$as_me:$LINENO: result: no" >&5
9440 echo "${ECHO_T}no" >&6
9441 fi
9442
9443
9444 enablestring=
9445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9447 no_cache=0
9448 # Check whether --enable-statbmp or --disable-statbmp was given.
9449 if test "${enable_statbmp+set}" = set; then
9450 enableval="$enable_statbmp"
9451
9452 if test "$enableval" = yes; then
9453 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9454 else
9455 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9456 fi
9457
9458 else
9459
9460 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9461 if test "x$LINE" != x ; then
9462 eval "DEFAULT_$LINE"
9463 else
9464 no_cache=1
9465 fi
9466
9467 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9468
9469 fi;
9470
9471 eval "$ac_cv_use_statbmp"
9472 if test "$no_cache" != 1; then
9473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9474 fi
9475
9476 if test "$wxUSE_STATBMP" = yes; then
9477 echo "$as_me:$LINENO: result: yes" >&5
9478 echo "${ECHO_T}yes" >&6
9479 else
9480 echo "$as_me:$LINENO: result: no" >&5
9481 echo "${ECHO_T}no" >&6
9482 fi
9483
9484
9485 enablestring=
9486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9488 no_cache=0
9489 # Check whether --enable-statbox or --disable-statbox was given.
9490 if test "${enable_statbox+set}" = set; then
9491 enableval="$enable_statbox"
9492
9493 if test "$enableval" = yes; then
9494 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9495 else
9496 ac_cv_use_statbox='wxUSE_STATBOX=no'
9497 fi
9498
9499 else
9500
9501 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9502 if test "x$LINE" != x ; then
9503 eval "DEFAULT_$LINE"
9504 else
9505 no_cache=1
9506 fi
9507
9508 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9509
9510 fi;
9511
9512 eval "$ac_cv_use_statbox"
9513 if test "$no_cache" != 1; then
9514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9515 fi
9516
9517 if test "$wxUSE_STATBOX" = yes; then
9518 echo "$as_me:$LINENO: result: yes" >&5
9519 echo "${ECHO_T}yes" >&6
9520 else
9521 echo "$as_me:$LINENO: result: no" >&5
9522 echo "${ECHO_T}no" >&6
9523 fi
9524
9525
9526 enablestring=
9527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9529 no_cache=0
9530 # Check whether --enable-statline or --disable-statline was given.
9531 if test "${enable_statline+set}" = set; then
9532 enableval="$enable_statline"
9533
9534 if test "$enableval" = yes; then
9535 ac_cv_use_statline='wxUSE_STATLINE=yes'
9536 else
9537 ac_cv_use_statline='wxUSE_STATLINE=no'
9538 fi
9539
9540 else
9541
9542 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9543 if test "x$LINE" != x ; then
9544 eval "DEFAULT_$LINE"
9545 else
9546 no_cache=1
9547 fi
9548
9549 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9550
9551 fi;
9552
9553 eval "$ac_cv_use_statline"
9554 if test "$no_cache" != 1; then
9555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9556 fi
9557
9558 if test "$wxUSE_STATLINE" = yes; then
9559 echo "$as_me:$LINENO: result: yes" >&5
9560 echo "${ECHO_T}yes" >&6
9561 else
9562 echo "$as_me:$LINENO: result: no" >&5
9563 echo "${ECHO_T}no" >&6
9564 fi
9565
9566
9567 enablestring=
9568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9570 no_cache=0
9571 # Check whether --enable-stattext or --disable-stattext was given.
9572 if test "${enable_stattext+set}" = set; then
9573 enableval="$enable_stattext"
9574
9575 if test "$enableval" = yes; then
9576 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9577 else
9578 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9579 fi
9580
9581 else
9582
9583 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9584 if test "x$LINE" != x ; then
9585 eval "DEFAULT_$LINE"
9586 else
9587 no_cache=1
9588 fi
9589
9590 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9591
9592 fi;
9593
9594 eval "$ac_cv_use_stattext"
9595 if test "$no_cache" != 1; then
9596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9597 fi
9598
9599 if test "$wxUSE_STATTEXT" = yes; then
9600 echo "$as_me:$LINENO: result: yes" >&5
9601 echo "${ECHO_T}yes" >&6
9602 else
9603 echo "$as_me:$LINENO: result: no" >&5
9604 echo "${ECHO_T}no" >&6
9605 fi
9606
9607
9608 enablestring=
9609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9611 no_cache=0
9612 # Check whether --enable-statusbar or --disable-statusbar was given.
9613 if test "${enable_statusbar+set}" = set; then
9614 enableval="$enable_statusbar"
9615
9616 if test "$enableval" = yes; then
9617 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9618 else
9619 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9620 fi
9621
9622 else
9623
9624 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9625 if test "x$LINE" != x ; then
9626 eval "DEFAULT_$LINE"
9627 else
9628 no_cache=1
9629 fi
9630
9631 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9632
9633 fi;
9634
9635 eval "$ac_cv_use_statusbar"
9636 if test "$no_cache" != 1; then
9637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9638 fi
9639
9640 if test "$wxUSE_STATUSBAR" = yes; then
9641 echo "$as_me:$LINENO: result: yes" >&5
9642 echo "${ECHO_T}yes" >&6
9643 else
9644 echo "$as_me:$LINENO: result: no" >&5
9645 echo "${ECHO_T}no" >&6
9646 fi
9647
9648
9649 enablestring=
9650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9652 no_cache=0
9653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9654 if test "${enable_tabdialog+set}" = set; then
9655 enableval="$enable_tabdialog"
9656
9657 if test "$enableval" = yes; then
9658 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9659 else
9660 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9661 fi
9662
9663 else
9664
9665 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9666 if test "x$LINE" != x ; then
9667 eval "DEFAULT_$LINE"
9668 else
9669 no_cache=1
9670 fi
9671
9672 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9673
9674 fi;
9675
9676 eval "$ac_cv_use_tabdialog"
9677 if test "$no_cache" != 1; then
9678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9679 fi
9680
9681 if test "$wxUSE_TAB_DIALOG" = yes; then
9682 echo "$as_me:$LINENO: result: yes" >&5
9683 echo "${ECHO_T}yes" >&6
9684 else
9685 echo "$as_me:$LINENO: result: no" >&5
9686 echo "${ECHO_T}no" >&6
9687 fi
9688
9689
9690 enablestring=
9691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9693 no_cache=0
9694 # Check whether --enable-textctrl or --disable-textctrl was given.
9695 if test "${enable_textctrl+set}" = set; then
9696 enableval="$enable_textctrl"
9697
9698 if test "$enableval" = yes; then
9699 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9700 else
9701 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9702 fi
9703
9704 else
9705
9706 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9707 if test "x$LINE" != x ; then
9708 eval "DEFAULT_$LINE"
9709 else
9710 no_cache=1
9711 fi
9712
9713 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9714
9715 fi;
9716
9717 eval "$ac_cv_use_textctrl"
9718 if test "$no_cache" != 1; then
9719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9720 fi
9721
9722 if test "$wxUSE_TEXTCTRL" = yes; then
9723 echo "$as_me:$LINENO: result: yes" >&5
9724 echo "${ECHO_T}yes" >&6
9725 else
9726 echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6
9728 fi
9729
9730
9731 enablestring=
9732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9734 no_cache=0
9735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9736 if test "${enable_togglebtn+set}" = set; then
9737 enableval="$enable_togglebtn"
9738
9739 if test "$enableval" = yes; then
9740 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9741 else
9742 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9743 fi
9744
9745 else
9746
9747 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9748 if test "x$LINE" != x ; then
9749 eval "DEFAULT_$LINE"
9750 else
9751 no_cache=1
9752 fi
9753
9754 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9755
9756 fi;
9757
9758 eval "$ac_cv_use_togglebtn"
9759 if test "$no_cache" != 1; then
9760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9761 fi
9762
9763 if test "$wxUSE_TOGGLEBTN" = yes; then
9764 echo "$as_me:$LINENO: result: yes" >&5
9765 echo "${ECHO_T}yes" >&6
9766 else
9767 echo "$as_me:$LINENO: result: no" >&5
9768 echo "${ECHO_T}no" >&6
9769 fi
9770
9771
9772 enablestring=
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9775 no_cache=0
9776 # Check whether --enable-toolbar or --disable-toolbar was given.
9777 if test "${enable_toolbar+set}" = set; then
9778 enableval="$enable_toolbar"
9779
9780 if test "$enableval" = yes; then
9781 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9782 else
9783 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9784 fi
9785
9786 else
9787
9788 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x ; then
9790 eval "DEFAULT_$LINE"
9791 else
9792 no_cache=1
9793 fi
9794
9795 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9796
9797 fi;
9798
9799 eval "$ac_cv_use_toolbar"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9802 fi
9803
9804 if test "$wxUSE_TOOLBAR" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9807 else
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9810 fi
9811
9812
9813 enablestring=
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9816 no_cache=0
9817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9818 if test "${enable_tbarnative+set}" = set; then
9819 enableval="$enable_tbarnative"
9820
9821 if test "$enableval" = yes; then
9822 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9823 else
9824 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9825 fi
9826
9827 else
9828
9829 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x ; then
9831 eval "DEFAULT_$LINE"
9832 else
9833 no_cache=1
9834 fi
9835
9836 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9837
9838 fi;
9839
9840 eval "$ac_cv_use_tbarnative"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9843 fi
9844
9845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9848 else
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9851 fi
9852
9853
9854 enablestring=
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9857 no_cache=0
9858 # Check whether --enable-treebook or --disable-treebook was given.
9859 if test "${enable_treebook+set}" = set; then
9860 enableval="$enable_treebook"
9861
9862 if test "$enableval" = yes; then
9863 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9864 else
9865 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9866 fi
9867
9868 else
9869
9870 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9873 else
9874 no_cache=1
9875 fi
9876
9877 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9878
9879 fi;
9880
9881 eval "$ac_cv_use_treebook"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9884 fi
9885
9886 if test "$wxUSE_TREEBOOK" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9889 else
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9892 fi
9893
9894
9895 enablestring=
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9898 no_cache=0
9899 # Check whether --enable-toolbook or --disable-toolbook was given.
9900 if test "${enable_toolbook+set}" = set; then
9901 enableval="$enable_toolbook"
9902
9903 if test "$enableval" = yes; then
9904 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9905 else
9906 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9907 fi
9908
9909 else
9910
9911 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x ; then
9913 eval "DEFAULT_$LINE"
9914 else
9915 no_cache=1
9916 fi
9917
9918 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9919
9920 fi;
9921
9922 eval "$ac_cv_use_toolbook"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9925 fi
9926
9927 if test "$wxUSE_TOOLBOOK" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9930 else
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9933 fi
9934
9935
9936 enablestring=
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9939 no_cache=0
9940 # Check whether --enable-treectrl or --disable-treectrl was given.
9941 if test "${enable_treectrl+set}" = set; then
9942 enableval="$enable_treectrl"
9943
9944 if test "$enableval" = yes; then
9945 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9946 else
9947 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9948 fi
9949
9950 else
9951
9952 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 else
9956 no_cache=1
9957 fi
9958
9959 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9960
9961 fi;
9962
9963 eval "$ac_cv_use_treectrl"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9966 fi
9967
9968 if test "$wxUSE_TREECTRL" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9971 else
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9974 fi
9975
9976
9977 enablestring=
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9980 no_cache=0
9981 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9982 if test "${enable_tipwindow+set}" = set; then
9983 enableval="$enable_tipwindow"
9984
9985 if test "$enableval" = yes; then
9986 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9987 else
9988 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9989 fi
9990
9991 else
9992
9993 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x ; then
9995 eval "DEFAULT_$LINE"
9996 else
9997 no_cache=1
9998 fi
9999
10000 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10001
10002 fi;
10003
10004 eval "$ac_cv_use_tipwindow"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10007 fi
10008
10009 if test "$wxUSE_TIPWINDOW" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10012 else
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10015 fi
10016
10017
10018 enablestring=
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10021 no_cache=0
10022 # Check whether --enable-popupwin or --disable-popupwin was given.
10023 if test "${enable_popupwin+set}" = set; then
10024 enableval="$enable_popupwin"
10025
10026 if test "$enableval" = yes; then
10027 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10028 else
10029 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10030 fi
10031
10032 else
10033
10034 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x ; then
10036 eval "DEFAULT_$LINE"
10037 else
10038 no_cache=1
10039 fi
10040
10041 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10042
10043 fi;
10044
10045 eval "$ac_cv_use_popupwin"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10048 fi
10049
10050 if test "$wxUSE_POPUPWIN" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10053 else
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10056 fi
10057
10058
10059
10060
10061 enablestring=
10062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10064 no_cache=0
10065 # Check whether --enable-commondlg or --disable-commondlg was given.
10066 if test "${enable_commondlg+set}" = set; then
10067 enableval="$enable_commondlg"
10068
10069 if test "$enableval" = yes; then
10070 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10071 else
10072 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10073 fi
10074
10075 else
10076
10077 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10078 if test "x$LINE" != x ; then
10079 eval "DEFAULT_$LINE"
10080 else
10081 no_cache=1
10082 fi
10083
10084 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10085
10086 fi;
10087
10088 eval "$ac_cv_use_commondlg"
10089 if test "$no_cache" != 1; then
10090 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10091 fi
10092
10093 if test "$wxUSE_COMMONDLGS" = yes; then
10094 echo "$as_me:$LINENO: result: yes" >&5
10095 echo "${ECHO_T}yes" >&6
10096 else
10097 echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6
10099 fi
10100
10101
10102 enablestring=
10103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10105 no_cache=0
10106 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10107 if test "${enable_aboutdlg+set}" = set; then
10108 enableval="$enable_aboutdlg"
10109
10110 if test "$enableval" = yes; then
10111 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10112 else
10113 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10114 fi
10115
10116 else
10117
10118 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10119 if test "x$LINE" != x ; then
10120 eval "DEFAULT_$LINE"
10121 else
10122 no_cache=1
10123 fi
10124
10125 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10126
10127 fi;
10128
10129 eval "$ac_cv_use_aboutdlg"
10130 if test "$no_cache" != 1; then
10131 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10132 fi
10133
10134 if test "$wxUSE_ABOUTDLG" = yes; then
10135 echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6
10137 else
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10140 fi
10141
10142
10143 enablestring=
10144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10146 no_cache=0
10147 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10148 if test "${enable_choicedlg+set}" = set; then
10149 enableval="$enable_choicedlg"
10150
10151 if test "$enableval" = yes; then
10152 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10153 else
10154 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10155 fi
10156
10157 else
10158
10159 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10160 if test "x$LINE" != x ; then
10161 eval "DEFAULT_$LINE"
10162 else
10163 no_cache=1
10164 fi
10165
10166 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10167
10168 fi;
10169
10170 eval "$ac_cv_use_choicedlg"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10173 fi
10174
10175 if test "$wxUSE_CHOICEDLG" = yes; then
10176 echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6
10178 else
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10181 fi
10182
10183
10184 enablestring=
10185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10187 no_cache=0
10188 # Check whether --enable-coldlg or --disable-coldlg was given.
10189 if test "${enable_coldlg+set}" = set; then
10190 enableval="$enable_coldlg"
10191
10192 if test "$enableval" = yes; then
10193 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10194 else
10195 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10196 fi
10197
10198 else
10199
10200 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10201 if test "x$LINE" != x ; then
10202 eval "DEFAULT_$LINE"
10203 else
10204 no_cache=1
10205 fi
10206
10207 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10208
10209 fi;
10210
10211 eval "$ac_cv_use_coldlg"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10214 fi
10215
10216 if test "$wxUSE_COLOURDLG" = yes; then
10217 echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6
10219 else
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10222 fi
10223
10224
10225 enablestring=
10226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10228 no_cache=0
10229 # Check whether --enable-filedlg or --disable-filedlg was given.
10230 if test "${enable_filedlg+set}" = set; then
10231 enableval="$enable_filedlg"
10232
10233 if test "$enableval" = yes; then
10234 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10235 else
10236 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10237 fi
10238
10239 else
10240
10241 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10242 if test "x$LINE" != x ; then
10243 eval "DEFAULT_$LINE"
10244 else
10245 no_cache=1
10246 fi
10247
10248 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10249
10250 fi;
10251
10252 eval "$ac_cv_use_filedlg"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10255 fi
10256
10257 if test "$wxUSE_FILEDLG" = yes; then
10258 echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6
10260 else
10261 echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6
10263 fi
10264
10265
10266 enablestring=
10267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10269 no_cache=0
10270 # Check whether --enable-finddlg or --disable-finddlg was given.
10271 if test "${enable_finddlg+set}" = set; then
10272 enableval="$enable_finddlg"
10273
10274 if test "$enableval" = yes; then
10275 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10276 else
10277 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10278 fi
10279
10280 else
10281
10282 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x ; then
10284 eval "DEFAULT_$LINE"
10285 else
10286 no_cache=1
10287 fi
10288
10289 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10290
10291 fi;
10292
10293 eval "$ac_cv_use_finddlg"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10296 fi
10297
10298 if test "$wxUSE_FINDREPLDLG" = yes; then
10299 echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6
10301 else
10302 echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6
10304 fi
10305
10306
10307 enablestring=
10308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10310 no_cache=0
10311 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10312 if test "${enable_fontdlg+set}" = set; then
10313 enableval="$enable_fontdlg"
10314
10315 if test "$enableval" = yes; then
10316 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10317 else
10318 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10319 fi
10320
10321 else
10322
10323 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10324 if test "x$LINE" != x ; then
10325 eval "DEFAULT_$LINE"
10326 else
10327 no_cache=1
10328 fi
10329
10330 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10331
10332 fi;
10333
10334 eval "$ac_cv_use_fontdlg"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10337 fi
10338
10339 if test "$wxUSE_FONTDLG" = yes; then
10340 echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6
10342 else
10343 echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6
10345 fi
10346
10347
10348 enablestring=
10349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10351 no_cache=0
10352 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10353 if test "${enable_dirdlg+set}" = set; then
10354 enableval="$enable_dirdlg"
10355
10356 if test "$enableval" = yes; then
10357 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10358 else
10359 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10360 fi
10361
10362 else
10363
10364 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10365 if test "x$LINE" != x ; then
10366 eval "DEFAULT_$LINE"
10367 else
10368 no_cache=1
10369 fi
10370
10371 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10372
10373 fi;
10374
10375 eval "$ac_cv_use_dirdlg"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10378 fi
10379
10380 if test "$wxUSE_DIRDLG" = yes; then
10381 echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6
10383 else
10384 echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6
10386 fi
10387
10388
10389 enablestring=
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10392 no_cache=0
10393 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10394 if test "${enable_msgdlg+set}" = set; then
10395 enableval="$enable_msgdlg"
10396
10397 if test "$enableval" = yes; then
10398 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10399 else
10400 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10401 fi
10402
10403 else
10404
10405 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x ; then
10407 eval "DEFAULT_$LINE"
10408 else
10409 no_cache=1
10410 fi
10411
10412 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10413
10414 fi;
10415
10416 eval "$ac_cv_use_msgdlg"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test "$wxUSE_MSGDLG" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10424 else
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10427 fi
10428
10429
10430 enablestring=
10431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10433 no_cache=0
10434 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10435 if test "${enable_numberdlg+set}" = set; then
10436 enableval="$enable_numberdlg"
10437
10438 if test "$enableval" = yes; then
10439 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10440 else
10441 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10442 fi
10443
10444 else
10445
10446 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x ; then
10448 eval "DEFAULT_$LINE"
10449 else
10450 no_cache=1
10451 fi
10452
10453 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10454
10455 fi;
10456
10457 eval "$ac_cv_use_numberdlg"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10460 fi
10461
10462 if test "$wxUSE_NUMBERDLG" = yes; then
10463 echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6
10465 else
10466 echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6
10468 fi
10469
10470
10471 enablestring=
10472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10473 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10474 no_cache=0
10475 # Check whether --enable-splash or --disable-splash was given.
10476 if test "${enable_splash+set}" = set; then
10477 enableval="$enable_splash"
10478
10479 if test "$enableval" = yes; then
10480 ac_cv_use_splash='wxUSE_SPLASH=yes'
10481 else
10482 ac_cv_use_splash='wxUSE_SPLASH=no'
10483 fi
10484
10485 else
10486
10487 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10488 if test "x$LINE" != x ; then
10489 eval "DEFAULT_$LINE"
10490 else
10491 no_cache=1
10492 fi
10493
10494 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10495
10496 fi;
10497
10498 eval "$ac_cv_use_splash"
10499 if test "$no_cache" != 1; then
10500 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10501 fi
10502
10503 if test "$wxUSE_SPLASH" = yes; then
10504 echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6
10506 else
10507 echo "$as_me:$LINENO: result: no" >&5
10508 echo "${ECHO_T}no" >&6
10509 fi
10510
10511
10512 enablestring=
10513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10515 no_cache=0
10516 # Check whether --enable-textdlg or --disable-textdlg was given.
10517 if test "${enable_textdlg+set}" = set; then
10518 enableval="$enable_textdlg"
10519
10520 if test "$enableval" = yes; then
10521 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10522 else
10523 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10524 fi
10525
10526 else
10527
10528 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10529 if test "x$LINE" != x ; then
10530 eval "DEFAULT_$LINE"
10531 else
10532 no_cache=1
10533 fi
10534
10535 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10536
10537 fi;
10538
10539 eval "$ac_cv_use_textdlg"
10540 if test "$no_cache" != 1; then
10541 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10542 fi
10543
10544 if test "$wxUSE_TEXTDLG" = yes; then
10545 echo "$as_me:$LINENO: result: yes" >&5
10546 echo "${ECHO_T}yes" >&6
10547 else
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10550 fi
10551
10552
10553 enablestring=
10554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10556 no_cache=0
10557 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10558 if test "${enable_tipdlg+set}" = set; then
10559 enableval="$enable_tipdlg"
10560
10561 if test "$enableval" = yes; then
10562 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10563 else
10564 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10565 fi
10566
10567 else
10568
10569 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x ; then
10571 eval "DEFAULT_$LINE"
10572 else
10573 no_cache=1
10574 fi
10575
10576 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10577
10578 fi;
10579
10580 eval "$ac_cv_use_tipdlg"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10583 fi
10584
10585 if test "$wxUSE_STARTUP_TIPS" = yes; then
10586 echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6
10588 else
10589 echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6
10591 fi
10592
10593
10594 enablestring=
10595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10597 no_cache=0
10598 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10599 if test "${enable_progressdlg+set}" = set; then
10600 enableval="$enable_progressdlg"
10601
10602 if test "$enableval" = yes; then
10603 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10604 else
10605 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10606 fi
10607
10608 else
10609
10610 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10611 if test "x$LINE" != x ; then
10612 eval "DEFAULT_$LINE"
10613 else
10614 no_cache=1
10615 fi
10616
10617 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10618
10619 fi;
10620
10621 eval "$ac_cv_use_progressdlg"
10622 if test "$no_cache" != 1; then
10623 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10624 fi
10625
10626 if test "$wxUSE_PROGRESSDLG" = yes; then
10627 echo "$as_me:$LINENO: result: yes" >&5
10628 echo "${ECHO_T}yes" >&6
10629 else
10630 echo "$as_me:$LINENO: result: no" >&5
10631 echo "${ECHO_T}no" >&6
10632 fi
10633
10634
10635 enablestring=
10636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10638 no_cache=0
10639 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10640 if test "${enable_wizarddlg+set}" = set; then
10641 enableval="$enable_wizarddlg"
10642
10643 if test "$enableval" = yes; then
10644 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10645 else
10646 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10647 fi
10648
10649 else
10650
10651 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10652 if test "x$LINE" != x ; then
10653 eval "DEFAULT_$LINE"
10654 else
10655 no_cache=1
10656 fi
10657
10658 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10659
10660 fi;
10661
10662 eval "$ac_cv_use_wizarddlg"
10663 if test "$no_cache" != 1; then
10664 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10665 fi
10666
10667 if test "$wxUSE_WIZARDDLG" = yes; then
10668 echo "$as_me:$LINENO: result: yes" >&5
10669 echo "${ECHO_T}yes" >&6
10670 else
10671 echo "$as_me:$LINENO: result: no" >&5
10672 echo "${ECHO_T}no" >&6
10673 fi
10674
10675
10676
10677
10678 enablestring=
10679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10681 no_cache=0
10682 # Check whether --enable-menus or --disable-menus was given.
10683 if test "${enable_menus+set}" = set; then
10684 enableval="$enable_menus"
10685
10686 if test "$enableval" = yes; then
10687 ac_cv_use_menus='wxUSE_MENUS=yes'
10688 else
10689 ac_cv_use_menus='wxUSE_MENUS=no'
10690 fi
10691
10692 else
10693
10694 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x ; then
10696 eval "DEFAULT_$LINE"
10697 else
10698 no_cache=1
10699 fi
10700
10701 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10702
10703 fi;
10704
10705 eval "$ac_cv_use_menus"
10706 if test "$no_cache" != 1; then
10707 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10708 fi
10709
10710 if test "$wxUSE_MENUS" = yes; then
10711 echo "$as_me:$LINENO: result: yes" >&5
10712 echo "${ECHO_T}yes" >&6
10713 else
10714 echo "$as_me:$LINENO: result: no" >&5
10715 echo "${ECHO_T}no" >&6
10716 fi
10717
10718
10719 enablestring=
10720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10721 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10722 no_cache=0
10723 # Check whether --enable-miniframe or --disable-miniframe was given.
10724 if test "${enable_miniframe+set}" = set; then
10725 enableval="$enable_miniframe"
10726
10727 if test "$enableval" = yes; then
10728 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10729 else
10730 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10731 fi
10732
10733 else
10734
10735 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10736 if test "x$LINE" != x ; then
10737 eval "DEFAULT_$LINE"
10738 else
10739 no_cache=1
10740 fi
10741
10742 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10743
10744 fi;
10745
10746 eval "$ac_cv_use_miniframe"
10747 if test "$no_cache" != 1; then
10748 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10749 fi
10750
10751 if test "$wxUSE_MINIFRAME" = yes; then
10752 echo "$as_me:$LINENO: result: yes" >&5
10753 echo "${ECHO_T}yes" >&6
10754 else
10755 echo "$as_me:$LINENO: result: no" >&5
10756 echo "${ECHO_T}no" >&6
10757 fi
10758
10759
10760 enablestring=
10761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10763 no_cache=0
10764 # Check whether --enable-tooltips or --disable-tooltips was given.
10765 if test "${enable_tooltips+set}" = set; then
10766 enableval="$enable_tooltips"
10767
10768 if test "$enableval" = yes; then
10769 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10770 else
10771 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10772 fi
10773
10774 else
10775
10776 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10777 if test "x$LINE" != x ; then
10778 eval "DEFAULT_$LINE"
10779 else
10780 no_cache=1
10781 fi
10782
10783 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10784
10785 fi;
10786
10787 eval "$ac_cv_use_tooltips"
10788 if test "$no_cache" != 1; then
10789 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10790 fi
10791
10792 if test "$wxUSE_TOOLTIPS" = yes; then
10793 echo "$as_me:$LINENO: result: yes" >&5
10794 echo "${ECHO_T}yes" >&6
10795 else
10796 echo "$as_me:$LINENO: result: no" >&5
10797 echo "${ECHO_T}no" >&6
10798 fi
10799
10800
10801 enablestring=
10802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10804 no_cache=0
10805 # Check whether --enable-splines or --disable-splines was given.
10806 if test "${enable_splines+set}" = set; then
10807 enableval="$enable_splines"
10808
10809 if test "$enableval" = yes; then
10810 ac_cv_use_splines='wxUSE_SPLINES=yes'
10811 else
10812 ac_cv_use_splines='wxUSE_SPLINES=no'
10813 fi
10814
10815 else
10816
10817 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x ; then
10819 eval "DEFAULT_$LINE"
10820 else
10821 no_cache=1
10822 fi
10823
10824 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10825
10826 fi;
10827
10828 eval "$ac_cv_use_splines"
10829 if test "$no_cache" != 1; then
10830 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10831 fi
10832
10833 if test "$wxUSE_SPLINES" = yes; then
10834 echo "$as_me:$LINENO: result: yes" >&5
10835 echo "${ECHO_T}yes" >&6
10836 else
10837 echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6
10839 fi
10840
10841
10842 enablestring=
10843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10845 no_cache=0
10846 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10847 if test "${enable_mousewheel+set}" = set; then
10848 enableval="$enable_mousewheel"
10849
10850 if test "$enableval" = yes; then
10851 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10852 else
10853 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10854 fi
10855
10856 else
10857
10858 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10859 if test "x$LINE" != x ; then
10860 eval "DEFAULT_$LINE"
10861 else
10862 no_cache=1
10863 fi
10864
10865 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10866
10867 fi;
10868
10869 eval "$ac_cv_use_mousewheel"
10870 if test "$no_cache" != 1; then
10871 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10872 fi
10873
10874 if test "$wxUSE_MOUSEWHEEL" = yes; then
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10877 else
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10880 fi
10881
10882
10883 enablestring=
10884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10886 no_cache=0
10887 # Check whether --enable-validators or --disable-validators was given.
10888 if test "${enable_validators+set}" = set; then
10889 enableval="$enable_validators"
10890
10891 if test "$enableval" = yes; then
10892 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10893 else
10894 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10895 fi
10896
10897 else
10898
10899 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10900 if test "x$LINE" != x ; then
10901 eval "DEFAULT_$LINE"
10902 else
10903 no_cache=1
10904 fi
10905
10906 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10907
10908 fi;
10909
10910 eval "$ac_cv_use_validators"
10911 if test "$no_cache" != 1; then
10912 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10913 fi
10914
10915 if test "$wxUSE_VALIDATORS" = yes; then
10916 echo "$as_me:$LINENO: result: yes" >&5
10917 echo "${ECHO_T}yes" >&6
10918 else
10919 echo "$as_me:$LINENO: result: no" >&5
10920 echo "${ECHO_T}no" >&6
10921 fi
10922
10923
10924 enablestring=
10925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10927 no_cache=0
10928 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10929 if test "${enable_busyinfo+set}" = set; then
10930 enableval="$enable_busyinfo"
10931
10932 if test "$enableval" = yes; then
10933 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10934 else
10935 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10936 fi
10937
10938 else
10939
10940 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x ; then
10942 eval "DEFAULT_$LINE"
10943 else
10944 no_cache=1
10945 fi
10946
10947 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10948
10949 fi;
10950
10951 eval "$ac_cv_use_busyinfo"
10952 if test "$no_cache" != 1; then
10953 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10954 fi
10955
10956 if test "$wxUSE_BUSYINFO" = yes; then
10957 echo "$as_me:$LINENO: result: yes" >&5
10958 echo "${ECHO_T}yes" >&6
10959 else
10960 echo "$as_me:$LINENO: result: no" >&5
10961 echo "${ECHO_T}no" >&6
10962 fi
10963
10964
10965 enablestring=
10966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10968 no_cache=0
10969 # Check whether --enable-joystick or --disable-joystick was given.
10970 if test "${enable_joystick+set}" = set; then
10971 enableval="$enable_joystick"
10972
10973 if test "$enableval" = yes; then
10974 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10975 else
10976 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10977 fi
10978
10979 else
10980
10981 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x ; then
10983 eval "DEFAULT_$LINE"
10984 else
10985 no_cache=1
10986 fi
10987
10988 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10989
10990 fi;
10991
10992 eval "$ac_cv_use_joystick"
10993 if test "$no_cache" != 1; then
10994 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10995 fi
10996
10997 if test "$wxUSE_JOYSTICK" = yes; then
10998 echo "$as_me:$LINENO: result: yes" >&5
10999 echo "${ECHO_T}yes" >&6
11000 else
11001 echo "$as_me:$LINENO: result: no" >&5
11002 echo "${ECHO_T}no" >&6
11003 fi
11004
11005
11006 enablestring=
11007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11009 no_cache=0
11010 # Check whether --enable-metafile or --disable-metafile was given.
11011 if test "${enable_metafile+set}" = set; then
11012 enableval="$enable_metafile"
11013
11014 if test "$enableval" = yes; then
11015 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11016 else
11017 ac_cv_use_metafile='wxUSE_METAFILE=no'
11018 fi
11019
11020 else
11021
11022 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11023 if test "x$LINE" != x ; then
11024 eval "DEFAULT_$LINE"
11025 else
11026 no_cache=1
11027 fi
11028
11029 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11030
11031 fi;
11032
11033 eval "$ac_cv_use_metafile"
11034 if test "$no_cache" != 1; then
11035 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11036 fi
11037
11038 if test "$wxUSE_METAFILE" = yes; then
11039 echo "$as_me:$LINENO: result: yes" >&5
11040 echo "${ECHO_T}yes" >&6
11041 else
11042 echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6
11044 fi
11045
11046
11047 enablestring=
11048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11049 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11050 no_cache=0
11051 # Check whether --enable-dragimage or --disable-dragimage was given.
11052 if test "${enable_dragimage+set}" = set; then
11053 enableval="$enable_dragimage"
11054
11055 if test "$enableval" = yes; then
11056 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11057 else
11058 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11059 fi
11060
11061 else
11062
11063 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11064 if test "x$LINE" != x ; then
11065 eval "DEFAULT_$LINE"
11066 else
11067 no_cache=1
11068 fi
11069
11070 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11071
11072 fi;
11073
11074 eval "$ac_cv_use_dragimage"
11075 if test "$no_cache" != 1; then
11076 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11077 fi
11078
11079 if test "$wxUSE_DRAGIMAGE" = yes; then
11080 echo "$as_me:$LINENO: result: yes" >&5
11081 echo "${ECHO_T}yes" >&6
11082 else
11083 echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6
11085 fi
11086
11087
11088 enablestring=
11089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11091 no_cache=0
11092 # Check whether --enable-accessibility or --disable-accessibility was given.
11093 if test "${enable_accessibility+set}" = set; then
11094 enableval="$enable_accessibility"
11095
11096 if test "$enableval" = yes; then
11097 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11098 else
11099 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11100 fi
11101
11102 else
11103
11104 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11105 if test "x$LINE" != x ; then
11106 eval "DEFAULT_$LINE"
11107 else
11108 no_cache=1
11109 fi
11110
11111 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11112
11113 fi;
11114
11115 eval "$ac_cv_use_accessibility"
11116 if test "$no_cache" != 1; then
11117 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11118 fi
11119
11120 if test "$wxUSE_ACCESSIBILITY" = yes; then
11121 echo "$as_me:$LINENO: result: yes" >&5
11122 echo "${ECHO_T}yes" >&6
11123 else
11124 echo "$as_me:$LINENO: result: no" >&5
11125 echo "${ECHO_T}no" >&6
11126 fi
11127
11128
11129 if test "$wxUSE_MSW" = "1"; then
11130
11131 enablestring=
11132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11133 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11134 no_cache=0
11135 # Check whether --enable-dccache or --disable-dccache was given.
11136 if test "${enable_dccache+set}" = set; then
11137 enableval="$enable_dccache"
11138
11139 if test "$enableval" = yes; then
11140 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11141 else
11142 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11143 fi
11144
11145 else
11146
11147 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x ; then
11149 eval "DEFAULT_$LINE"
11150 else
11151 no_cache=1
11152 fi
11153
11154 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11155
11156 fi;
11157
11158 eval "$ac_cv_use_dccache"
11159 if test "$no_cache" != 1; then
11160 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11161 fi
11162
11163 if test "$wxUSE_DC_CACHEING" = yes; then
11164 echo "$as_me:$LINENO: result: yes" >&5
11165 echo "${ECHO_T}yes" >&6
11166 else
11167 echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6
11169 fi
11170
11171 fi
11172
11173
11174
11175 enablestring=
11176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11177 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11178 no_cache=0
11179 # Check whether --enable-palette or --disable-palette was given.
11180 if test "${enable_palette+set}" = set; then
11181 enableval="$enable_palette"
11182
11183 if test "$enableval" = yes; then
11184 ac_cv_use_palette='wxUSE_PALETTE=yes'
11185 else
11186 ac_cv_use_palette='wxUSE_PALETTE=no'
11187 fi
11188
11189 else
11190
11191 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11192 if test "x$LINE" != x ; then
11193 eval "DEFAULT_$LINE"
11194 else
11195 no_cache=1
11196 fi
11197
11198 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11199
11200 fi;
11201
11202 eval "$ac_cv_use_palette"
11203 if test "$no_cache" != 1; then
11204 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11205 fi
11206
11207 if test "$wxUSE_PALETTE" = yes; then
11208 echo "$as_me:$LINENO: result: yes" >&5
11209 echo "${ECHO_T}yes" >&6
11210 else
11211 echo "$as_me:$LINENO: result: no" >&5
11212 echo "${ECHO_T}no" >&6
11213 fi
11214
11215
11216 enablestring=
11217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11218 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11219 no_cache=0
11220 # Check whether --enable-image or --disable-image was given.
11221 if test "${enable_image+set}" = set; then
11222 enableval="$enable_image"
11223
11224 if test "$enableval" = yes; then
11225 ac_cv_use_image='wxUSE_IMAGE=yes'
11226 else
11227 ac_cv_use_image='wxUSE_IMAGE=no'
11228 fi
11229
11230 else
11231
11232 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11233 if test "x$LINE" != x ; then
11234 eval "DEFAULT_$LINE"
11235 else
11236 no_cache=1
11237 fi
11238
11239 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11240
11241 fi;
11242
11243 eval "$ac_cv_use_image"
11244 if test "$no_cache" != 1; then
11245 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11246 fi
11247
11248 if test "$wxUSE_IMAGE" = yes; then
11249 echo "$as_me:$LINENO: result: yes" >&5
11250 echo "${ECHO_T}yes" >&6
11251 else
11252 echo "$as_me:$LINENO: result: no" >&5
11253 echo "${ECHO_T}no" >&6
11254 fi
11255
11256
11257 enablestring=
11258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11260 no_cache=0
11261 # Check whether --enable-gif or --disable-gif was given.
11262 if test "${enable_gif+set}" = set; then
11263 enableval="$enable_gif"
11264
11265 if test "$enableval" = yes; then
11266 ac_cv_use_gif='wxUSE_GIF=yes'
11267 else
11268 ac_cv_use_gif='wxUSE_GIF=no'
11269 fi
11270
11271 else
11272
11273 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11274 if test "x$LINE" != x ; then
11275 eval "DEFAULT_$LINE"
11276 else
11277 no_cache=1
11278 fi
11279
11280 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11281
11282 fi;
11283
11284 eval "$ac_cv_use_gif"
11285 if test "$no_cache" != 1; then
11286 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11287 fi
11288
11289 if test "$wxUSE_GIF" = yes; then
11290 echo "$as_me:$LINENO: result: yes" >&5
11291 echo "${ECHO_T}yes" >&6
11292 else
11293 echo "$as_me:$LINENO: result: no" >&5
11294 echo "${ECHO_T}no" >&6
11295 fi
11296
11297
11298 enablestring=
11299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11301 no_cache=0
11302 # Check whether --enable-pcx or --disable-pcx was given.
11303 if test "${enable_pcx+set}" = set; then
11304 enableval="$enable_pcx"
11305
11306 if test "$enableval" = yes; then
11307 ac_cv_use_pcx='wxUSE_PCX=yes'
11308 else
11309 ac_cv_use_pcx='wxUSE_PCX=no'
11310 fi
11311
11312 else
11313
11314 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11315 if test "x$LINE" != x ; then
11316 eval "DEFAULT_$LINE"
11317 else
11318 no_cache=1
11319 fi
11320
11321 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11322
11323 fi;
11324
11325 eval "$ac_cv_use_pcx"
11326 if test "$no_cache" != 1; then
11327 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11328 fi
11329
11330 if test "$wxUSE_PCX" = yes; then
11331 echo "$as_me:$LINENO: result: yes" >&5
11332 echo "${ECHO_T}yes" >&6
11333 else
11334 echo "$as_me:$LINENO: result: no" >&5
11335 echo "${ECHO_T}no" >&6
11336 fi
11337
11338
11339 enablestring=
11340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11342 no_cache=0
11343 # Check whether --enable-iff or --disable-iff was given.
11344 if test "${enable_iff+set}" = set; then
11345 enableval="$enable_iff"
11346
11347 if test "$enableval" = yes; then
11348 ac_cv_use_iff='wxUSE_IFF=yes'
11349 else
11350 ac_cv_use_iff='wxUSE_IFF=no'
11351 fi
11352
11353 else
11354
11355 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11356 if test "x$LINE" != x ; then
11357 eval "DEFAULT_$LINE"
11358 else
11359 no_cache=1
11360 fi
11361
11362 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11363
11364 fi;
11365
11366 eval "$ac_cv_use_iff"
11367 if test "$no_cache" != 1; then
11368 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11369 fi
11370
11371 if test "$wxUSE_IFF" = yes; then
11372 echo "$as_me:$LINENO: result: yes" >&5
11373 echo "${ECHO_T}yes" >&6
11374 else
11375 echo "$as_me:$LINENO: result: no" >&5
11376 echo "${ECHO_T}no" >&6
11377 fi
11378
11379
11380 enablestring=
11381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11383 no_cache=0
11384 # Check whether --enable-pnm or --disable-pnm was given.
11385 if test "${enable_pnm+set}" = set; then
11386 enableval="$enable_pnm"
11387
11388 if test "$enableval" = yes; then
11389 ac_cv_use_pnm='wxUSE_PNM=yes'
11390 else
11391 ac_cv_use_pnm='wxUSE_PNM=no'
11392 fi
11393
11394 else
11395
11396 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11397 if test "x$LINE" != x ; then
11398 eval "DEFAULT_$LINE"
11399 else
11400 no_cache=1
11401 fi
11402
11403 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11404
11405 fi;
11406
11407 eval "$ac_cv_use_pnm"
11408 if test "$no_cache" != 1; then
11409 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11410 fi
11411
11412 if test "$wxUSE_PNM" = yes; then
11413 echo "$as_me:$LINENO: result: yes" >&5
11414 echo "${ECHO_T}yes" >&6
11415 else
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11418 fi
11419
11420
11421 enablestring=
11422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11424 no_cache=0
11425 # Check whether --enable-xpm or --disable-xpm was given.
11426 if test "${enable_xpm+set}" = set; then
11427 enableval="$enable_xpm"
11428
11429 if test "$enableval" = yes; then
11430 ac_cv_use_xpm='wxUSE_XPM=yes'
11431 else
11432 ac_cv_use_xpm='wxUSE_XPM=no'
11433 fi
11434
11435 else
11436
11437 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11438 if test "x$LINE" != x ; then
11439 eval "DEFAULT_$LINE"
11440 else
11441 no_cache=1
11442 fi
11443
11444 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11445
11446 fi;
11447
11448 eval "$ac_cv_use_xpm"
11449 if test "$no_cache" != 1; then
11450 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11451 fi
11452
11453 if test "$wxUSE_XPM" = yes; then
11454 echo "$as_me:$LINENO: result: yes" >&5
11455 echo "${ECHO_T}yes" >&6
11456 else
11457 echo "$as_me:$LINENO: result: no" >&5
11458 echo "${ECHO_T}no" >&6
11459 fi
11460
11461
11462 enablestring=
11463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11464 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11465 no_cache=0
11466 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11467 if test "${enable_ico_cur+set}" = set; then
11468 enableval="$enable_ico_cur"
11469
11470 if test "$enableval" = yes; then
11471 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11472 else
11473 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11474 fi
11475
11476 else
11477
11478 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11479 if test "x$LINE" != x ; then
11480 eval "DEFAULT_$LINE"
11481 else
11482 no_cache=1
11483 fi
11484
11485 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11486
11487 fi;
11488
11489 eval "$ac_cv_use_ico_cur"
11490 if test "$no_cache" != 1; then
11491 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11492 fi
11493
11494 if test "$wxUSE_ICO_CUR" = yes; then
11495 echo "$as_me:$LINENO: result: yes" >&5
11496 echo "${ECHO_T}yes" >&6
11497 else
11498 echo "$as_me:$LINENO: result: no" >&5
11499 echo "${ECHO_T}no" >&6
11500 fi
11501
11502
11503 fi
11504
11505
11506
11507 # Check whether --with-flavour or --without-flavour was given.
11508 if test "${with_flavour+set}" = set; then
11509 withval="$with_flavour"
11510 WX_FLAVOUR="$withval"
11511 fi;
11512
11513
11514
11515 enablestring=
11516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11518 no_cache=0
11519 # Check whether --enable-official_build or --disable-official_build was given.
11520 if test "${enable_official_build+set}" = set; then
11521 enableval="$enable_official_build"
11522
11523 if test "$enableval" = yes; then
11524 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11525 else
11526 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11527 fi
11528
11529 else
11530
11531 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11532 if test "x$LINE" != x ; then
11533 eval "DEFAULT_$LINE"
11534 else
11535 no_cache=1
11536 fi
11537
11538 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11539
11540 fi;
11541
11542 eval "$ac_cv_use_official_build"
11543 if test "$no_cache" != 1; then
11544 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11545 fi
11546
11547 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11548 echo "$as_me:$LINENO: result: yes" >&5
11549 echo "${ECHO_T}yes" >&6
11550 else
11551 echo "$as_me:$LINENO: result: no" >&5
11552 echo "${ECHO_T}no" >&6
11553 fi
11554
11555 # Check whether --enable-vendor or --disable-vendor was given.
11556 if test "${enable_vendor+set}" = set; then
11557 enableval="$enable_vendor"
11558 VENDOR="$enableval"
11559 fi;
11560 if test "x$VENDOR" = "x"; then
11561 VENDOR="custom"
11562 fi
11563
11564
11565
11566
11567 echo "saving argument cache $wx_arg_cache_file"
11568 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11569
11570
11571
11572 echo "$as_me:$LINENO: checking for toolkit" >&5
11573 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11574
11575 # In Wine, we need to default to MSW, not GTK or MOTIF
11576 if test "$wxUSE_WINE" = "yes"; then
11577 DEFAULT_DEFAULT_wxUSE_GTK=0
11578 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11579 DEFAULT_DEFAULT_wxUSE_MSW=1
11580 wxUSE_SHARED=no
11581 fi
11582
11583
11584 if test "$wxUSE_GUI" = "yes"; then
11585
11586 if test "$USE_BEOS" = 1; then
11587 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11588 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11589 { (exit 1); exit 1; }; }
11590 fi
11591
11592 if test "$TOOLKIT_GIVEN" = 1; then
11593 for toolkit in `echo $ALL_TOOLKITS`; do
11594 var=wxUSE_$toolkit
11595 eval "value=\$${var}"
11596 if test "x$value" = "xno"; then
11597 eval "$var=0"
11598 elif test "x$value" != "x"; then
11599 eval "$var=1"
11600 fi
11601
11602 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11603 eval "wx${toolkit}_VERSION=$value"
11604 fi
11605 done
11606 else
11607 for toolkit in `echo $ALL_TOOLKITS`; do
11608 if test "$has_toolkit_in_cache" != 1; then
11609 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11610 else
11611 var=DEFAULT_wxUSE_$toolkit
11612
11613 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11614 if test "x$version" != "x"; then
11615 eval "wx${toolkit}_VERSION=$version"
11616 fi
11617 fi
11618 eval "wxUSE_$toolkit=\$${var}"
11619 done
11620 fi
11621
11622 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11623 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11624 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11625
11626 case "${host}" in
11627 *-pc-os2_emx | *-pc-os2-emx )
11628 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11629 esac
11630
11631 case "$NUM_TOOLKITS" in
11632 1)
11633 ;;
11634 0)
11635 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11636 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11637 { (exit 1); exit 1; }; }
11638 ;;
11639 *)
11640 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11641 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11642 { (exit 1); exit 1; }; }
11643 esac
11644
11645 # to be removed when --disable-gtk2 isn't needed
11646 if test "x$wxUSE_GTK2" = "xyes"; then
11647 wxGTK_VERSION=2
11648 elif test "x$wxUSE_GTK2" = "xno"; then
11649 wxGTK_VERSION=1
11650 fi
11651
11652 for toolkit in `echo $ALL_TOOLKITS`; do
11653 var=wxUSE_$toolkit
11654 eval "value=\$${var}"
11655 if test "x$value" != x; then
11656 cache_var=CACHE_$toolkit
11657 eval "cache=\$${cache_var}"
11658 if test "$cache" = 1; then
11659 echo "$var=$value" >> ${wx_arg_cache_file}
11660 eval "version=\$wx${toolkit}_VERSION"
11661 if test "x$version" != "x"; then
11662 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11663 fi
11664 fi
11665 if test "$value" = 1; then
11666 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11667 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11668 echo "${ECHO_T}$toolkit_echo" >&6
11669 fi
11670 fi
11671 done
11672 else
11673 if test "x$host_alias" != "x"; then
11674 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11675 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11676 else
11677 echo "$as_me:$LINENO: result: base only" >&5
11678 echo "${ECHO_T}base only" >&6
11679 fi
11680 fi
11681
11682 wants_win32=0
11683 doesnt_want_win32=0
11684 case "${host}" in
11685 *-*-cygwin*)
11686 if test "$wxUSE_MSW" = 1 ; then
11687 wants_win32=1
11688 BAKEFILE_FORCE_PLATFORM=win32
11689 else
11690 doesnt_want_win32=1
11691 fi
11692 ;;
11693 *-*-mingw*)
11694 wants_win32=1
11695 ;;
11696 esac
11697
11698 if test "$wxUSE_WINE" = "yes"; then
11699 wants_win32=1
11700 CC=winegcc
11701 CXX=wineg++
11702 LDFLAGS_GUI="-mwindows"
11703 fi
11704
11705 if test "$wants_win32" = 1 ; then
11706 USE_UNIX=0
11707 USE_WIN32=1
11708 cat >>confdefs.h <<\_ACEOF
11709 #define __WIN32__ 1
11710 _ACEOF
11711
11712 cat >>confdefs.h <<\_ACEOF
11713 #define __WIN95__ 1
11714 _ACEOF
11715
11716 cat >>confdefs.h <<\_ACEOF
11717 #define __WINDOWS__ 1
11718 _ACEOF
11719
11720 cat >>confdefs.h <<\_ACEOF
11721 #define __GNUWIN32__ 1
11722 _ACEOF
11723
11724 cat >>confdefs.h <<\_ACEOF
11725 #define STRICT 1
11726 _ACEOF
11727
11728 cat >>confdefs.h <<\_ACEOF
11729 #define WINVER 0x0400
11730 _ACEOF
11731
11732 fi
11733 if test "$doesnt_want_win32" = 1 ; then
11734 USE_UNIX=1
11735 USE_WIN32=0
11736 fi
11737
11738 if test "$USE_UNIX" = 1 ; then
11739 wxUSE_UNIX=yes
11740 cat >>confdefs.h <<\_ACEOF
11741 #define __UNIX__ 1
11742 _ACEOF
11743
11744 fi
11745
11746
11747 cat >confcache <<\_ACEOF
11748 # This file is a shell script that caches the results of configure
11749 # tests run on this system so they can be shared between configure
11750 # scripts and configure runs, see configure's option --config-cache.
11751 # It is not useful on other systems. If it contains results you don't
11752 # want to keep, you may remove or edit it.
11753 #
11754 # config.status only pays attention to the cache file if you give it
11755 # the --recheck option to rerun configure.
11756 #
11757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11759 # following values.
11760
11761 _ACEOF
11762
11763 # The following way of writing the cache mishandles newlines in values,
11764 # but we know of no workaround that is simple, portable, and efficient.
11765 # So, don't put newlines in cache variables' values.
11766 # Ultrix sh set writes to stderr and can't be redirected directly,
11767 # and sets the high bit in the cache file unless we assign to the vars.
11768 {
11769 (set) 2>&1 |
11770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11771 *ac_space=\ *)
11772 # `set' does not quote correctly, so add quotes (double-quote
11773 # substitution turns \\\\ into \\, and sed turns \\ into \).
11774 sed -n \
11775 "s/'/'\\\\''/g;
11776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11777 ;;
11778 *)
11779 # `set' quotes correctly as required by POSIX, so do not add quotes.
11780 sed -n \
11781 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11782 ;;
11783 esac;
11784 } |
11785 sed '
11786 t clear
11787 : clear
11788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11789 t end
11790 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11791 : end' >>confcache
11792 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11793 if test -w $cache_file; then
11794 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11795 cat confcache >$cache_file
11796 else
11797 echo "not updating unwritable cache $cache_file"
11798 fi
11799 fi
11800 rm -f confcache
11801
11802 CFLAGS=${CFLAGS:=}
11803
11804
11805
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811 if test -n "$ac_tool_prefix"; then
11812 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11813 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11814 echo "$as_me:$LINENO: checking for $ac_word" >&5
11815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11816 if test "${ac_cv_prog_CC+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11818 else
11819 if test -n "$CC"; then
11820 ac_cv_prog_CC="$CC" # Let the user override the test.
11821 else
11822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11823 for as_dir in $PATH
11824 do
11825 IFS=$as_save_IFS
11826 test -z "$as_dir" && as_dir=.
11827 for ac_exec_ext in '' $ac_executable_extensions; do
11828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11829 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11831 break 2
11832 fi
11833 done
11834 done
11835
11836 fi
11837 fi
11838 CC=$ac_cv_prog_CC
11839 if test -n "$CC"; then
11840 echo "$as_me:$LINENO: result: $CC" >&5
11841 echo "${ECHO_T}$CC" >&6
11842 else
11843 echo "$as_me:$LINENO: result: no" >&5
11844 echo "${ECHO_T}no" >&6
11845 fi
11846
11847 fi
11848 if test -z "$ac_cv_prog_CC"; then
11849 ac_ct_CC=$CC
11850 # Extract the first word of "gcc", so it can be a program name with args.
11851 set dummy gcc; ac_word=$2
11852 echo "$as_me:$LINENO: checking for $ac_word" >&5
11853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 else
11857 if test -n "$ac_ct_CC"; then
11858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11859 else
11860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11861 for as_dir in $PATH
11862 do
11863 IFS=$as_save_IFS
11864 test -z "$as_dir" && as_dir=.
11865 for ac_exec_ext in '' $ac_executable_extensions; do
11866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11867 ac_cv_prog_ac_ct_CC="gcc"
11868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11869 break 2
11870 fi
11871 done
11872 done
11873
11874 fi
11875 fi
11876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11877 if test -n "$ac_ct_CC"; then
11878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11879 echo "${ECHO_T}$ac_ct_CC" >&6
11880 else
11881 echo "$as_me:$LINENO: result: no" >&5
11882 echo "${ECHO_T}no" >&6
11883 fi
11884
11885 CC=$ac_ct_CC
11886 else
11887 CC="$ac_cv_prog_CC"
11888 fi
11889
11890 if test -z "$CC"; then
11891 if test -n "$ac_tool_prefix"; then
11892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11893 set dummy ${ac_tool_prefix}cc; ac_word=$2
11894 echo "$as_me:$LINENO: checking for $ac_word" >&5
11895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11896 if test "${ac_cv_prog_CC+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11899 if test -n "$CC"; then
11900 ac_cv_prog_CC="$CC" # Let the user override the test.
11901 else
11902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11903 for as_dir in $PATH
11904 do
11905 IFS=$as_save_IFS
11906 test -z "$as_dir" && as_dir=.
11907 for ac_exec_ext in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11909 ac_cv_prog_CC="${ac_tool_prefix}cc"
11910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11911 break 2
11912 fi
11913 done
11914 done
11915
11916 fi
11917 fi
11918 CC=$ac_cv_prog_CC
11919 if test -n "$CC"; then
11920 echo "$as_me:$LINENO: result: $CC" >&5
11921 echo "${ECHO_T}$CC" >&6
11922 else
11923 echo "$as_me:$LINENO: result: no" >&5
11924 echo "${ECHO_T}no" >&6
11925 fi
11926
11927 fi
11928 if test -z "$ac_cv_prog_CC"; then
11929 ac_ct_CC=$CC
11930 # Extract the first word of "cc", so it can be a program name with args.
11931 set dummy cc; ac_word=$2
11932 echo "$as_me:$LINENO: checking for $ac_word" >&5
11933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11934 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11936 else
11937 if test -n "$ac_ct_CC"; then
11938 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11939 else
11940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11941 for as_dir in $PATH
11942 do
11943 IFS=$as_save_IFS
11944 test -z "$as_dir" && as_dir=.
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_prog_ac_ct_CC="cc"
11948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11949 break 2
11950 fi
11951 done
11952 done
11953
11954 fi
11955 fi
11956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11957 if test -n "$ac_ct_CC"; then
11958 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11959 echo "${ECHO_T}$ac_ct_CC" >&6
11960 else
11961 echo "$as_me:$LINENO: result: no" >&5
11962 echo "${ECHO_T}no" >&6
11963 fi
11964
11965 CC=$ac_ct_CC
11966 else
11967 CC="$ac_cv_prog_CC"
11968 fi
11969
11970 fi
11971 if test -z "$CC"; then
11972 # Extract the first word of "cc", so it can be a program name with args.
11973 set dummy cc; ac_word=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 else
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC="$CC" # Let the user override the test.
11981 else
11982 ac_prog_rejected=no
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11985 do
11986 IFS=$as_save_IFS
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11991 ac_prog_rejected=yes
11992 continue
11993 fi
11994 ac_cv_prog_CC="cc"
11995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11996 break 2
11997 fi
11998 done
11999 done
12000
12001 if test $ac_prog_rejected = yes; then
12002 # We found a bogon in the path, so make sure we never use it.
12003 set dummy $ac_cv_prog_CC
12004 shift
12005 if test $# != 0; then
12006 # We chose a different compiler from the bogus one.
12007 # However, it has the same basename, so the bogon will be chosen
12008 # first if we set CC to just the basename; use the full file name.
12009 shift
12010 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12011 fi
12012 fi
12013 fi
12014 fi
12015 CC=$ac_cv_prog_CC
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12019 else
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12022 fi
12023
12024 fi
12025 if test -z "$CC"; then
12026 if test -n "$ac_tool_prefix"; then
12027 for ac_prog in cl
12028 do
12029 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12030 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12031 echo "$as_me:$LINENO: checking for $ac_word" >&5
12032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12033 if test "${ac_cv_prog_CC+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 else
12036 if test -n "$CC"; then
12037 ac_cv_prog_CC="$CC" # Let the user override the test.
12038 else
12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12040 for as_dir in $PATH
12041 do
12042 IFS=$as_save_IFS
12043 test -z "$as_dir" && as_dir=.
12044 for ac_exec_ext in '' $ac_executable_extensions; do
12045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12046 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12048 break 2
12049 fi
12050 done
12051 done
12052
12053 fi
12054 fi
12055 CC=$ac_cv_prog_CC
12056 if test -n "$CC"; then
12057 echo "$as_me:$LINENO: result: $CC" >&5
12058 echo "${ECHO_T}$CC" >&6
12059 else
12060 echo "$as_me:$LINENO: result: no" >&5
12061 echo "${ECHO_T}no" >&6
12062 fi
12063
12064 test -n "$CC" && break
12065 done
12066 fi
12067 if test -z "$CC"; then
12068 ac_ct_CC=$CC
12069 for ac_prog in cl
12070 do
12071 # Extract the first word of "$ac_prog", so it can be a program name with args.
12072 set dummy $ac_prog; ac_word=$2
12073 echo "$as_me:$LINENO: checking for $ac_word" >&5
12074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12077 else
12078 if test -n "$ac_ct_CC"; then
12079 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12080 else
12081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12082 for as_dir in $PATH
12083 do
12084 IFS=$as_save_IFS
12085 test -z "$as_dir" && as_dir=.
12086 for ac_exec_ext in '' $ac_executable_extensions; do
12087 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12088 ac_cv_prog_ac_ct_CC="$ac_prog"
12089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12090 break 2
12091 fi
12092 done
12093 done
12094
12095 fi
12096 fi
12097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12098 if test -n "$ac_ct_CC"; then
12099 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12100 echo "${ECHO_T}$ac_ct_CC" >&6
12101 else
12102 echo "$as_me:$LINENO: result: no" >&5
12103 echo "${ECHO_T}no" >&6
12104 fi
12105
12106 test -n "$ac_ct_CC" && break
12107 done
12108
12109 CC=$ac_ct_CC
12110 fi
12111
12112 fi
12113
12114
12115 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12116 See \`config.log' for more details." >&5
12117 echo "$as_me: error: no acceptable C compiler found in \$PATH
12118 See \`config.log' for more details." >&2;}
12119 { (exit 1); exit 1; }; }
12120
12121 # Provide some information about the compiler.
12122 echo "$as_me:$LINENO:" \
12123 "checking for C compiler version" >&5
12124 ac_compiler=`set X $ac_compile; echo $2`
12125 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12126 (eval $ac_compiler --version </dev/null >&5) 2>&5
12127 ac_status=$?
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }
12130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12131 (eval $ac_compiler -v </dev/null >&5) 2>&5
12132 ac_status=$?
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); }
12135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12136 (eval $ac_compiler -V </dev/null >&5) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }
12140
12141 cat >conftest.$ac_ext <<_ACEOF
12142 /* confdefs.h. */
12143 _ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12147
12148 int
12149 main ()
12150 {
12151
12152 ;
12153 return 0;
12154 }
12155 _ACEOF
12156 ac_clean_files_save=$ac_clean_files
12157 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12158 # Try to create an executable without -o first, disregard a.out.
12159 # It will help us diagnose broken compilers, and finding out an intuition
12160 # of exeext.
12161 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12162 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12163 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12165 (eval $ac_link_default) 2>&5
12166 ac_status=$?
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; then
12169 # Find the output, starting from the most likely. This scheme is
12170 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12171 # resort.
12172
12173 # Be careful to initialize this variable, since it used to be cached.
12174 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12175 ac_cv_exeext=
12176 # b.out is created by i960 compilers.
12177 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12178 do
12179 test -f "$ac_file" || continue
12180 case $ac_file in
12181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12182 ;;
12183 conftest.$ac_ext )
12184 # This is the source file.
12185 ;;
12186 [ab].out )
12187 # We found the default executable, but exeext='' is most
12188 # certainly right.
12189 break;;
12190 *.* )
12191 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12192 # FIXME: I believe we export ac_cv_exeext for Libtool,
12193 # but it would be cool to find out if it's true. Does anybody
12194 # maintain Libtool? --akim.
12195 export ac_cv_exeext
12196 break;;
12197 * )
12198 break;;
12199 esac
12200 done
12201 else
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12204
12205 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12206 See \`config.log' for more details." >&5
12207 echo "$as_me: error: C compiler cannot create executables
12208 See \`config.log' for more details." >&2;}
12209 { (exit 77); exit 77; }; }
12210 fi
12211
12212 ac_exeext=$ac_cv_exeext
12213 echo "$as_me:$LINENO: result: $ac_file" >&5
12214 echo "${ECHO_T}$ac_file" >&6
12215
12216 # Check the compiler produces executables we can run. If not, either
12217 # the compiler is broken, or we cross compile.
12218 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12219 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12220 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12221 # If not cross compiling, check that we can run a simple program.
12222 if test "$cross_compiling" != yes; then
12223 if { ac_try='./$ac_file'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 cross_compiling=no
12230 else
12231 if test "$cross_compiling" = maybe; then
12232 cross_compiling=yes
12233 else
12234 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12235 If you meant to cross compile, use \`--host'.
12236 See \`config.log' for more details." >&5
12237 echo "$as_me: error: cannot run C compiled programs.
12238 If you meant to cross compile, use \`--host'.
12239 See \`config.log' for more details." >&2;}
12240 { (exit 1); exit 1; }; }
12241 fi
12242 fi
12243 fi
12244 echo "$as_me:$LINENO: result: yes" >&5
12245 echo "${ECHO_T}yes" >&6
12246
12247 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12248 ac_clean_files=$ac_clean_files_save
12249 # Check the compiler produces executables we can run. If not, either
12250 # the compiler is broken, or we cross compile.
12251 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12252 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12253 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12254 echo "${ECHO_T}$cross_compiling" >&6
12255
12256 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12257 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; then
12263 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12264 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12265 # work properly (i.e., refer to `conftest.exe'), while it won't with
12266 # `rm'.
12267 for ac_file in conftest.exe conftest conftest.*; do
12268 test -f "$ac_file" || continue
12269 case $ac_file in
12270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12271 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12272 export ac_cv_exeext
12273 break;;
12274 * ) break;;
12275 esac
12276 done
12277 else
12278 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12279 See \`config.log' for more details." >&5
12280 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12281 See \`config.log' for more details." >&2;}
12282 { (exit 1); exit 1; }; }
12283 fi
12284
12285 rm -f conftest$ac_cv_exeext
12286 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12287 echo "${ECHO_T}$ac_cv_exeext" >&6
12288
12289 rm -f conftest.$ac_ext
12290 EXEEXT=$ac_cv_exeext
12291 ac_exeext=$EXEEXT
12292 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12293 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12294 if test "${ac_cv_objext+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12297 cat >conftest.$ac_ext <<_ACEOF
12298 /* confdefs.h. */
12299 _ACEOF
12300 cat confdefs.h >>conftest.$ac_ext
12301 cat >>conftest.$ac_ext <<_ACEOF
12302 /* end confdefs.h. */
12303
12304 int
12305 main ()
12306 {
12307
12308 ;
12309 return 0;
12310 }
12311 _ACEOF
12312 rm -f conftest.o conftest.obj
12313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12314 (eval $ac_compile) 2>&5
12315 ac_status=$?
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; then
12318 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12319 case $ac_file in
12320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12322 break;;
12323 esac
12324 done
12325 else
12326 echo "$as_me: failed program was:" >&5
12327 sed 's/^/| /' conftest.$ac_ext >&5
12328
12329 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12330 See \`config.log' for more details." >&5
12331 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12332 See \`config.log' for more details." >&2;}
12333 { (exit 1); exit 1; }; }
12334 fi
12335
12336 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12337 fi
12338 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12339 echo "${ECHO_T}$ac_cv_objext" >&6
12340 OBJEXT=$ac_cv_objext
12341 ac_objext=$OBJEXT
12342 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12343 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12344 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12345 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 else
12347 cat >conftest.$ac_ext <<_ACEOF
12348 /* confdefs.h. */
12349 _ACEOF
12350 cat confdefs.h >>conftest.$ac_ext
12351 cat >>conftest.$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12353
12354 int
12355 main ()
12356 {
12357 #ifndef __GNUC__
12358 choke me
12359 #endif
12360
12361 ;
12362 return 0;
12363 }
12364 _ACEOF
12365 rm -f conftest.$ac_objext
12366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12367 (eval $ac_compile) 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; } &&
12380 { ac_try='test -s conftest.$ac_objext'
12381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 (eval $ac_try) 2>&5
12383 ac_status=$?
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); }; }; then
12386 ac_compiler_gnu=yes
12387 else
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.$ac_ext >&5
12390
12391 ac_compiler_gnu=no
12392 fi
12393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12394 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12395
12396 fi
12397 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12398 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12399 GCC=`test $ac_compiler_gnu = yes && echo yes`
12400 ac_test_CFLAGS=${CFLAGS+set}
12401 ac_save_CFLAGS=$CFLAGS
12402 CFLAGS="-g"
12403 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12404 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12405 if test "${ac_cv_prog_cc_g+set}" = set; then
12406 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 else
12408 cat >conftest.$ac_ext <<_ACEOF
12409 /* confdefs.h. */
12410 _ACEOF
12411 cat confdefs.h >>conftest.$ac_ext
12412 cat >>conftest.$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12414
12415 int
12416 main ()
12417 {
12418
12419 ;
12420 return 0;
12421 }
12422 _ACEOF
12423 rm -f conftest.$ac_objext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12425 (eval $ac_compile) 2>conftest.er1
12426 ac_status=$?
12427 grep -v '^ *+' conftest.er1 >conftest.err
12428 rm -f conftest.er1
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; } &&
12438 { ac_try='test -s conftest.$ac_objext'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12441 ac_status=$?
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; }; then
12444 ac_cv_prog_cc_g=yes
12445 else
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12448
12449 ac_cv_prog_cc_g=no
12450 fi
12451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12452 fi
12453 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12454 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12455 if test "$ac_test_CFLAGS" = set; then
12456 CFLAGS=$ac_save_CFLAGS
12457 elif test $ac_cv_prog_cc_g = yes; then
12458 if test "$GCC" = yes; then
12459 CFLAGS="-g -O2"
12460 else
12461 CFLAGS="-g"
12462 fi
12463 else
12464 if test "$GCC" = yes; then
12465 CFLAGS="-O2"
12466 else
12467 CFLAGS=
12468 fi
12469 fi
12470 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12471 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12472 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12474 else
12475 ac_cv_prog_cc_stdc=no
12476 ac_save_CC=$CC
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 #include <stdarg.h>
12484 #include <stdio.h>
12485 #include <sys/types.h>
12486 #include <sys/stat.h>
12487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12488 struct buf { int x; };
12489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12490 static char *e (p, i)
12491 char **p;
12492 int i;
12493 {
12494 return p[i];
12495 }
12496 static char *f (char * (*g) (char **, int), char **p, ...)
12497 {
12498 char *s;
12499 va_list v;
12500 va_start (v,p);
12501 s = g (p, va_arg (v,int));
12502 va_end (v);
12503 return s;
12504 }
12505
12506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12507 function prototypes and stuff, but not '\xHH' hex character constants.
12508 These don't provoke an error unfortunately, instead are silently treated
12509 as 'x'. The following induces an error, until -std1 is added to get
12510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12511 array size at least. It's necessary to write '\x00'==0 to get something
12512 that's true only with -std1. */
12513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12514
12515 int test (int i, double x);
12516 struct s1 {int (*f) (int a);};
12517 struct s2 {int (*f) (double a);};
12518 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12519 int argc;
12520 char **argv;
12521 int
12522 main ()
12523 {
12524 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12525 ;
12526 return 0;
12527 }
12528 _ACEOF
12529 # Don't try gcc -ansi; that turns off useful extensions and
12530 # breaks some systems' header files.
12531 # AIX -qlanglvl=ansi
12532 # Ultrix and OSF/1 -std1
12533 # HP-UX 10.20 and later -Ae
12534 # HP-UX older versions -Aa -D_HPUX_SOURCE
12535 # SVR4 -Xc -D__EXTENSIONS__
12536 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12537 do
12538 CC="$ac_save_CC $ac_arg"
12539 rm -f conftest.$ac_objext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>conftest.er1
12542 ac_status=$?
12543 grep -v '^ *+' conftest.er1 >conftest.err
12544 rm -f conftest.er1
12545 cat conftest.err >&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try='test -s conftest.$ac_objext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12557 ac_status=$?
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 ac_cv_prog_cc_stdc=$ac_arg
12561 break
12562 else
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.$ac_ext >&5
12565
12566 fi
12567 rm -f conftest.err conftest.$ac_objext
12568 done
12569 rm -f conftest.$ac_ext conftest.$ac_objext
12570 CC=$ac_save_CC
12571
12572 fi
12573
12574 case "x$ac_cv_prog_cc_stdc" in
12575 x|xno)
12576 echo "$as_me:$LINENO: result: none needed" >&5
12577 echo "${ECHO_T}none needed" >&6 ;;
12578 *)
12579 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12580 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12581 CC="$CC $ac_cv_prog_cc_stdc" ;;
12582 esac
12583
12584 # Some people use a C++ compiler to compile C. Since we use `exit',
12585 # in C++ we need to declare it. In case someone uses the same compiler
12586 # for both compiling C and C++ we need to have the C++ compiler decide
12587 # the declaration of exit, since it's the most demanding environment.
12588 cat >conftest.$ac_ext <<_ACEOF
12589 #ifndef __cplusplus
12590 choke me
12591 #endif
12592 _ACEOF
12593 rm -f conftest.$ac_objext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12595 (eval $ac_compile) 2>conftest.er1
12596 ac_status=$?
12597 grep -v '^ *+' conftest.er1 >conftest.err
12598 rm -f conftest.er1
12599 cat conftest.err >&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 for ac_declaration in \
12615 '' \
12616 'extern "C" void std::exit (int) throw (); using std::exit;' \
12617 'extern "C" void std::exit (int); using std::exit;' \
12618 'extern "C" void exit (int) throw ();' \
12619 'extern "C" void exit (int);' \
12620 'void exit (int);'
12621 do
12622 cat >conftest.$ac_ext <<_ACEOF
12623 /* confdefs.h. */
12624 _ACEOF
12625 cat confdefs.h >>conftest.$ac_ext
12626 cat >>conftest.$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12628 $ac_declaration
12629 #include <stdlib.h>
12630 int
12631 main ()
12632 {
12633 exit (42);
12634 ;
12635 return 0;
12636 }
12637 _ACEOF
12638 rm -f conftest.$ac_objext
12639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12640 (eval $ac_compile) 2>conftest.er1
12641 ac_status=$?
12642 grep -v '^ *+' conftest.er1 >conftest.err
12643 rm -f conftest.er1
12644 cat conftest.err >&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); } &&
12647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12650 ac_status=$?
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; } &&
12653 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
12659 :
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 continue
12665 fi
12666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12667 cat >conftest.$ac_ext <<_ACEOF
12668 /* confdefs.h. */
12669 _ACEOF
12670 cat confdefs.h >>conftest.$ac_ext
12671 cat >>conftest.$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 $ac_declaration
12674 int
12675 main ()
12676 {
12677 exit (42);
12678 ;
12679 return 0;
12680 }
12681 _ACEOF
12682 rm -f conftest.$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12685 ac_status=$?
12686 grep -v '^ *+' conftest.er1 >conftest.err
12687 rm -f conftest.er1
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 break
12704 else
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12707
12708 fi
12709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12710 done
12711 rm -f conftest*
12712 if test -n "$ac_declaration"; then
12713 echo '#ifdef __cplusplus' >>confdefs.h
12714 echo $ac_declaration >>confdefs.h
12715 echo '#endif' >>confdefs.h
12716 fi
12717
12718 else
12719 echo "$as_me: failed program was:" >&5
12720 sed 's/^/| /' conftest.$ac_ext >&5
12721
12722 fi
12723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12724 ac_ext=c
12725 ac_cpp='$CPP $CPPFLAGS'
12726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12729
12730
12731
12732 ac_ext=c
12733 ac_cpp='$CPP $CPPFLAGS'
12734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12737
12738 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12739 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12740 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 else
12743 cat >conftest.$ac_ext <<_ACEOF
12744 /* confdefs.h. */
12745 _ACEOF
12746 cat confdefs.h >>conftest.$ac_ext
12747 cat >>conftest.$ac_ext <<_ACEOF
12748 /* end confdefs.h. */
12749
12750 int
12751 main ()
12752 {
12753
12754 #ifndef __INTEL_COMPILER
12755 choke me
12756 #endif
12757
12758 ;
12759 return 0;
12760 }
12761 _ACEOF
12762 rm -f conftest.$ac_objext
12763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12764 (eval $ac_compile) 2>conftest.er1
12765 ac_status=$?
12766 grep -v '^ *+' conftest.er1 >conftest.err
12767 rm -f conftest.er1
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest.$ac_objext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12780 ac_status=$?
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12787
12788 bakefile_cv_c_compiler___INTEL_COMPILER=no
12789
12790 fi
12791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12792
12793
12794 fi
12795 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12796 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12802
12803 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12804 :; INTELCC=yes
12805 else
12806 :;
12807 fi
12808
12809
12810 if test "x$GCC" != "xyes"; then
12811 if test "xCC" = "xC"; then
12812 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12813 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12814 if test "${bakefile_cv_c_exto+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 else
12817 cat >conftest.$ac_ext <<_ACEOF
12818 /* confdefs.h. */
12819 _ACEOF
12820 cat confdefs.h >>conftest.$ac_ext
12821 cat >>conftest.$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12823
12824 int
12825 main ()
12826 {
12827
12828 ;
12829 return 0;
12830 }
12831 _ACEOF
12832 rm -f conftest.$ac_objext conftest.$ac_ext.o
12833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12834 (eval $ac_compile) 2>&5
12835 ac_status=$?
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); }; then
12838 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12839 case $ac_file in
12840 conftest.$ac_ext.o)
12841 bakefile_cv_c_exto="-ext o"
12842 ;;
12843 *)
12844 ;;
12845 esac
12846 done
12847 else
12848 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12849 See \`config.log' for more details." >&5
12850 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12851 See \`config.log' for more details." >&2;}
12852 { (exit 1); exit 1; }; }
12853
12854 fi
12855
12856 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12857
12858 fi
12859 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12860 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12861 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12862 if test "c" = "c"; then
12863 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12864 fi
12865 if test "c" = "cxx"; then
12866 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12867 fi
12868 fi
12869
12870 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12871 unset ac_cv_prog_cc_g
12872 ac_test_CFLAGS=${CFLAGS+set}
12873 ac_save_CFLAGS=$CFLAGS
12874 CFLAGS="-g"
12875 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12876 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12877 if test "${ac_cv_prog_cc_g+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12879 else
12880 cat >conftest.$ac_ext <<_ACEOF
12881 /* confdefs.h. */
12882 _ACEOF
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12886
12887 int
12888 main ()
12889 {
12890
12891 ;
12892 return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 ac_cv_prog_cc_g=yes
12917 else
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12920
12921 ac_cv_prog_cc_g=no
12922 fi
12923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12924 fi
12925 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12926 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12927 if test "$ac_test_CFLAGS" = set; then
12928 CFLAGS=$ac_save_CFLAGS
12929 elif test $ac_cv_prog_cc_g = yes; then
12930 if test "$GCC" = yes; then
12931 CFLAGS="-g -O2"
12932 else
12933 CFLAGS="-g"
12934 fi
12935 else
12936 if test "$GCC" = yes; then
12937 CFLAGS="-O2"
12938 else
12939 CFLAGS=
12940 fi
12941 fi
12942 fi
12943 fi
12944
12945 case `uname -s` in
12946 AIX*)
12947 ac_ext=c
12948 ac_cpp='$CPP $CPPFLAGS'
12949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12952
12953 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12954 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12955 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 else
12958 cat >conftest.$ac_ext <<_ACEOF
12959 /* confdefs.h. */
12960 _ACEOF
12961 cat confdefs.h >>conftest.$ac_ext
12962 cat >>conftest.$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12964
12965 int
12966 main ()
12967 {
12968 #ifndef __xlC__
12969 choke me
12970 #endif
12971
12972 ;
12973 return 0;
12974 }
12975 _ACEOF
12976 rm -f conftest.$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12979 ac_status=$?
12980 grep -v '^ *+' conftest.er1 >conftest.err
12981 rm -f conftest.er1
12982 cat conftest.err >&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12988 ac_status=$?
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; } &&
12991 { ac_try='test -s conftest.$ac_objext'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12994 ac_status=$?
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 bakefile_compiler_xlc=yes
12998 else
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.$ac_ext >&5
13001
13002 bakefile_compiler_xlc=no
13003 fi
13004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13005 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13006
13007 fi
13008 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13009 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13010
13011 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13012 ac_ext=c
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13017
13018
13019 ;;
13020
13021 Darwin)
13022 ac_ext=c
13023 ac_cpp='$CPP $CPPFLAGS'
13024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13027
13028 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13029 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13030 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 else
13033 cat >conftest.$ac_ext <<_ACEOF
13034 /* confdefs.h. */
13035 _ACEOF
13036 cat confdefs.h >>conftest.$ac_ext
13037 cat >>conftest.$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13039
13040 int
13041 main ()
13042 {
13043 #ifndef __MWERKS__
13044 choke me
13045 #endif
13046
13047 ;
13048 return 0;
13049 }
13050 _ACEOF
13051 rm -f conftest.$ac_objext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13053 (eval $ac_compile) 2>conftest.er1
13054 ac_status=$?
13055 grep -v '^ *+' conftest.er1 >conftest.err
13056 rm -f conftest.er1
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 bakefile_compiler_mwerks=yes
13073 else
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13076
13077 bakefile_compiler_mwerks=no
13078 fi
13079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13080 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13081
13082 fi
13083 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13084 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13085
13086 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13087 ac_ext=c
13088 ac_cpp='$CPP $CPPFLAGS'
13089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13092
13093
13094 ac_ext=c
13095 ac_cpp='$CPP $CPPFLAGS'
13096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13099
13100 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13101 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13102 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13103 echo $ECHO_N "(cached) $ECHO_C" >&6
13104 else
13105 cat >conftest.$ac_ext <<_ACEOF
13106 /* confdefs.h. */
13107 _ACEOF
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111
13112 int
13113 main ()
13114 {
13115 #ifndef __xlC__
13116 choke me
13117 #endif
13118
13119 ;
13120 return 0;
13121 }
13122 _ACEOF
13123 rm -f conftest.$ac_objext
13124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13125 (eval $ac_compile) 2>conftest.er1
13126 ac_status=$?
13127 grep -v '^ *+' conftest.er1 >conftest.err
13128 rm -f conftest.er1
13129 cat conftest.err >&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } &&
13132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 bakefile_compiler_xlc=yes
13145 else
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13148
13149 bakefile_compiler_xlc=no
13150 fi
13151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13152 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13153
13154 fi
13155 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13156 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13157
13158 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13159 ac_ext=c
13160 ac_cpp='$CPP $CPPFLAGS'
13161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13164
13165
13166 ;;
13167
13168 IRIX*)
13169
13170
13171 ac_ext=c
13172 ac_cpp='$CPP $CPPFLAGS'
13173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13176
13177 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13178 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13179 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 else
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h. */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188
13189 int
13190 main ()
13191 {
13192
13193 #ifndef _SGI_COMPILER_VERSION
13194 choke me
13195 #endif
13196
13197 ;
13198 return 0;
13199 }
13200 _ACEOF
13201 rm -f conftest.$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>conftest.er1
13204 ac_status=$?
13205 grep -v '^ *+' conftest.er1 >conftest.err
13206 rm -f conftest.er1
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13213 ac_status=$?
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; } &&
13216 { ac_try='test -s conftest.$ac_objext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13219 ac_status=$?
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13222 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13223 else
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.$ac_ext >&5
13226
13227 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13228
13229 fi
13230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13231
13232
13233 fi
13234 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13235 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13236 ac_ext=c
13237 ac_cpp='$CPP $CPPFLAGS'
13238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13241
13242 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13243 :; SGICC=yes
13244 else
13245 :;
13246 fi
13247
13248
13249 ;;
13250
13251 HP-UX*)
13252
13253
13254 ac_ext=c
13255 ac_cpp='$CPP $CPPFLAGS'
13256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13259
13260 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13261 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13262 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13264 else
13265 cat >conftest.$ac_ext <<_ACEOF
13266 /* confdefs.h. */
13267 _ACEOF
13268 cat confdefs.h >>conftest.$ac_ext
13269 cat >>conftest.$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271
13272 int
13273 main ()
13274 {
13275
13276 #ifndef __HP_cc
13277 choke me
13278 #endif
13279
13280 ;
13281 return 0;
13282 }
13283 _ACEOF
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_cv_c_compiler___HP_cc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_cv_c_compiler___HP_cc=no
13311
13312 fi
13313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13314
13315
13316 fi
13317 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13318 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13319 ac_ext=c
13320 ac_cpp='$CPP $CPPFLAGS'
13321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13324
13325 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13326 :; HPCC=yes
13327 else
13328 :;
13329 fi
13330
13331
13332 ;;
13333
13334 OSF1)
13335
13336
13337 ac_ext=c
13338 ac_cpp='$CPP $CPPFLAGS'
13339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13342
13343 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13344 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13345 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13347 else
13348 cat >conftest.$ac_ext <<_ACEOF
13349 /* confdefs.h. */
13350 _ACEOF
13351 cat confdefs.h >>conftest.$ac_ext
13352 cat >>conftest.$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13354
13355 int
13356 main ()
13357 {
13358
13359 #ifndef __DECC
13360 choke me
13361 #endif
13362
13363 ;
13364 return 0;
13365 }
13366 _ACEOF
13367 rm -f conftest.$ac_objext
13368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13369 (eval $ac_compile) 2>conftest.er1
13370 ac_status=$?
13371 grep -v '^ *+' conftest.er1 >conftest.err
13372 rm -f conftest.er1
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13379 ac_status=$?
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
13388 bakefile_cv_c_compiler___DECC=yes
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13392
13393 bakefile_cv_c_compiler___DECC=no
13394
13395 fi
13396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13397
13398
13399 fi
13400 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13401 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13402 ac_ext=c
13403 ac_cpp='$CPP $CPPFLAGS'
13404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13407
13408 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13409 :; COMPAQCC=yes
13410 else
13411 :;
13412 fi
13413
13414
13415 ;;
13416
13417 SunOS)
13418
13419
13420 ac_ext=c
13421 ac_cpp='$CPP $CPPFLAGS'
13422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13425
13426 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13427 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13428 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13430 else
13431 cat >conftest.$ac_ext <<_ACEOF
13432 /* confdefs.h. */
13433 _ACEOF
13434 cat confdefs.h >>conftest.$ac_ext
13435 cat >>conftest.$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13437
13438 int
13439 main ()
13440 {
13441
13442 #ifndef __SUNPRO_C
13443 choke me
13444 #endif
13445
13446 ;
13447 return 0;
13448 }
13449 _ACEOF
13450 rm -f conftest.$ac_objext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13452 (eval $ac_compile) 2>conftest.er1
13453 ac_status=$?
13454 grep -v '^ *+' conftest.er1 >conftest.err
13455 rm -f conftest.er1
13456 cat conftest.err >&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13462 ac_status=$?
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try='test -s conftest.$ac_objext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 bakefile_cv_c_compiler___SUNPRO_C=yes
13472 else
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13475
13476 bakefile_cv_c_compiler___SUNPRO_C=no
13477
13478 fi
13479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13480
13481
13482 fi
13483 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13484 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13485 ac_ext=c
13486 ac_cpp='$CPP $CPPFLAGS'
13487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13490
13491 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13492 :; SUNCC=yes
13493 else
13494 :;
13495 fi
13496
13497
13498 ;;
13499 esac
13500 fi
13501
13502
13503
13504 ac_ext=c
13505 ac_cpp='$CPP $CPPFLAGS'
13506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13509 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13511 # On Suns, sometimes $CPP names a directory.
13512 if test -n "$CPP" && test -d "$CPP"; then
13513 CPP=
13514 fi
13515 if test -z "$CPP"; then
13516 if test "${ac_cv_prog_CPP+set}" = set; then
13517 echo $ECHO_N "(cached) $ECHO_C" >&6
13518 else
13519 # Double quotes because CPP needs to be expanded
13520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13521 do
13522 ac_preproc_ok=false
13523 for ac_c_preproc_warn_flag in '' yes
13524 do
13525 # Use a header file that comes with gcc, so configuring glibc
13526 # with a fresh cross-compiler works.
13527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13528 # <limits.h> exists even on freestanding compilers.
13529 # On the NeXT, cc -E runs the code through the compiler's parser,
13530 # not just through cpp. "Syntax error" is here to catch this case.
13531 cat >conftest.$ac_ext <<_ACEOF
13532 /* confdefs.h. */
13533 _ACEOF
13534 cat confdefs.h >>conftest.$ac_ext
13535 cat >>conftest.$ac_ext <<_ACEOF
13536 /* end confdefs.h. */
13537 #ifdef __STDC__
13538 # include <limits.h>
13539 #else
13540 # include <assert.h>
13541 #endif
13542 Syntax error
13543 _ACEOF
13544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } >/dev/null; then
13552 if test -s conftest.err; then
13553 ac_cpp_err=$ac_c_preproc_warn_flag
13554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13555 else
13556 ac_cpp_err=
13557 fi
13558 else
13559 ac_cpp_err=yes
13560 fi
13561 if test -z "$ac_cpp_err"; then
13562 :
13563 else
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.$ac_ext >&5
13566
13567 # Broken: fails on valid input.
13568 continue
13569 fi
13570 rm -f conftest.err conftest.$ac_ext
13571
13572 # OK, works on sane cases. Now check whether non-existent headers
13573 # can be detected and how.
13574 cat >conftest.$ac_ext <<_ACEOF
13575 /* confdefs.h. */
13576 _ACEOF
13577 cat confdefs.h >>conftest.$ac_ext
13578 cat >>conftest.$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13580 #include <ac_nonexistent.h>
13581 _ACEOF
13582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13584 ac_status=$?
13585 grep -v '^ *+' conftest.er1 >conftest.err
13586 rm -f conftest.er1
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); } >/dev/null; then
13590 if test -s conftest.err; then
13591 ac_cpp_err=$ac_c_preproc_warn_flag
13592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13593 else
13594 ac_cpp_err=
13595 fi
13596 else
13597 ac_cpp_err=yes
13598 fi
13599 if test -z "$ac_cpp_err"; then
13600 # Broken: success on invalid input.
13601 continue
13602 else
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.$ac_ext >&5
13605
13606 # Passes both tests.
13607 ac_preproc_ok=:
13608 break
13609 fi
13610 rm -f conftest.err conftest.$ac_ext
13611
13612 done
13613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13614 rm -f conftest.err conftest.$ac_ext
13615 if $ac_preproc_ok; then
13616 break
13617 fi
13618
13619 done
13620 ac_cv_prog_CPP=$CPP
13621
13622 fi
13623 CPP=$ac_cv_prog_CPP
13624 else
13625 ac_cv_prog_CPP=$CPP
13626 fi
13627 echo "$as_me:$LINENO: result: $CPP" >&5
13628 echo "${ECHO_T}$CPP" >&6
13629 ac_preproc_ok=false
13630 for ac_c_preproc_warn_flag in '' yes
13631 do
13632 # Use a header file that comes with gcc, so configuring glibc
13633 # with a fresh cross-compiler works.
13634 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13635 # <limits.h> exists even on freestanding compilers.
13636 # On the NeXT, cc -E runs the code through the compiler's parser,
13637 # not just through cpp. "Syntax error" is here to catch this case.
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #ifdef __STDC__
13645 # include <limits.h>
13646 #else
13647 # include <assert.h>
13648 #endif
13649 Syntax error
13650 _ACEOF
13651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13653 ac_status=$?
13654 grep -v '^ *+' conftest.er1 >conftest.err
13655 rm -f conftest.er1
13656 cat conftest.err >&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } >/dev/null; then
13659 if test -s conftest.err; then
13660 ac_cpp_err=$ac_c_preproc_warn_flag
13661 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13662 else
13663 ac_cpp_err=
13664 fi
13665 else
13666 ac_cpp_err=yes
13667 fi
13668 if test -z "$ac_cpp_err"; then
13669 :
13670 else
13671 echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.$ac_ext >&5
13673
13674 # Broken: fails on valid input.
13675 continue
13676 fi
13677 rm -f conftest.err conftest.$ac_ext
13678
13679 # OK, works on sane cases. Now check whether non-existent headers
13680 # can be detected and how.
13681 cat >conftest.$ac_ext <<_ACEOF
13682 /* confdefs.h. */
13683 _ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687 #include <ac_nonexistent.h>
13688 _ACEOF
13689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13691 ac_status=$?
13692 grep -v '^ *+' conftest.er1 >conftest.err
13693 rm -f conftest.er1
13694 cat conftest.err >&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } >/dev/null; then
13697 if test -s conftest.err; then
13698 ac_cpp_err=$ac_c_preproc_warn_flag
13699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13700 else
13701 ac_cpp_err=
13702 fi
13703 else
13704 ac_cpp_err=yes
13705 fi
13706 if test -z "$ac_cpp_err"; then
13707 # Broken: success on invalid input.
13708 continue
13709 else
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.$ac_ext >&5
13712
13713 # Passes both tests.
13714 ac_preproc_ok=:
13715 break
13716 fi
13717 rm -f conftest.err conftest.$ac_ext
13718
13719 done
13720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13721 rm -f conftest.err conftest.$ac_ext
13722 if $ac_preproc_ok; then
13723 :
13724 else
13725 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13726 See \`config.log' for more details." >&5
13727 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13728 See \`config.log' for more details." >&2;}
13729 { (exit 1); exit 1; }; }
13730 fi
13731
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 echo "$as_me:$LINENO: checking for egrep" >&5
13740 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13741 if test "${ac_cv_prog_egrep+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13743 else
13744 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13745 then ac_cv_prog_egrep='grep -E'
13746 else ac_cv_prog_egrep='egrep'
13747 fi
13748 fi
13749 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13750 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13751 EGREP=$ac_cv_prog_egrep
13752
13753
13754 if test $ac_cv_c_compiler_gnu = yes; then
13755 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13756 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13757 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13758 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 else
13760 ac_pattern="Autoconf.*'x'"
13761 cat >conftest.$ac_ext <<_ACEOF
13762 /* confdefs.h. */
13763 _ACEOF
13764 cat confdefs.h >>conftest.$ac_ext
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13767 #include <sgtty.h>
13768 Autoconf TIOCGETP
13769 _ACEOF
13770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13771 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13772 ac_cv_prog_gcc_traditional=yes
13773 else
13774 ac_cv_prog_gcc_traditional=no
13775 fi
13776 rm -f conftest*
13777
13778
13779 if test $ac_cv_prog_gcc_traditional = no; then
13780 cat >conftest.$ac_ext <<_ACEOF
13781 /* confdefs.h. */
13782 _ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 #include <termio.h>
13787 Autoconf TCGETA
13788 _ACEOF
13789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13790 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13791 ac_cv_prog_gcc_traditional=yes
13792 fi
13793 rm -f conftest*
13794
13795 fi
13796 fi
13797 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13798 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13799 if test $ac_cv_prog_gcc_traditional = yes; then
13800 CC="$CC -traditional"
13801 fi
13802 fi
13803
13804
13805 ac_ext=cc
13806 ac_cpp='$CXXCPP $CPPFLAGS'
13807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13810
13811
13812 CXXFLAGS=${CXXFLAGS:=}
13813
13814
13815
13816 ac_ext=cc
13817 ac_cpp='$CXXCPP $CPPFLAGS'
13818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13821 if test -n "$ac_tool_prefix"; then
13822 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13823 do
13824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13826 echo "$as_me:$LINENO: checking for $ac_word" >&5
13827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13828 if test "${ac_cv_prog_CXX+set}" = set; then
13829 echo $ECHO_N "(cached) $ECHO_C" >&6
13830 else
13831 if test -n "$CXX"; then
13832 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13833 else
13834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13835 for as_dir in $PATH
13836 do
13837 IFS=$as_save_IFS
13838 test -z "$as_dir" && as_dir=.
13839 for ac_exec_ext in '' $ac_executable_extensions; do
13840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13841 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13843 break 2
13844 fi
13845 done
13846 done
13847
13848 fi
13849 fi
13850 CXX=$ac_cv_prog_CXX
13851 if test -n "$CXX"; then
13852 echo "$as_me:$LINENO: result: $CXX" >&5
13853 echo "${ECHO_T}$CXX" >&6
13854 else
13855 echo "$as_me:$LINENO: result: no" >&5
13856 echo "${ECHO_T}no" >&6
13857 fi
13858
13859 test -n "$CXX" && break
13860 done
13861 fi
13862 if test -z "$CXX"; then
13863 ac_ct_CXX=$CXX
13864 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13865 do
13866 # Extract the first word of "$ac_prog", so it can be a program name with args.
13867 set dummy $ac_prog; ac_word=$2
13868 echo "$as_me:$LINENO: checking for $ac_word" >&5
13869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13870 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 else
13873 if test -n "$ac_ct_CXX"; then
13874 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13875 else
13876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13877 for as_dir in $PATH
13878 do
13879 IFS=$as_save_IFS
13880 test -z "$as_dir" && as_dir=.
13881 for ac_exec_ext in '' $ac_executable_extensions; do
13882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13883 ac_cv_prog_ac_ct_CXX="$ac_prog"
13884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13885 break 2
13886 fi
13887 done
13888 done
13889
13890 fi
13891 fi
13892 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13893 if test -n "$ac_ct_CXX"; then
13894 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13895 echo "${ECHO_T}$ac_ct_CXX" >&6
13896 else
13897 echo "$as_me:$LINENO: result: no" >&5
13898 echo "${ECHO_T}no" >&6
13899 fi
13900
13901 test -n "$ac_ct_CXX" && break
13902 done
13903 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13904
13905 CXX=$ac_ct_CXX
13906 fi
13907
13908
13909 # Provide some information about the compiler.
13910 echo "$as_me:$LINENO:" \
13911 "checking for C++ compiler version" >&5
13912 ac_compiler=`set X $ac_compile; echo $2`
13913 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13914 (eval $ac_compiler --version </dev/null >&5) 2>&5
13915 ac_status=$?
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); }
13918 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13919 (eval $ac_compiler -v </dev/null >&5) 2>&5
13920 ac_status=$?
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }
13923 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13924 (eval $ac_compiler -V </dev/null >&5) 2>&5
13925 ac_status=$?
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }
13928
13929 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13930 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13931 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 else
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940
13941 int
13942 main ()
13943 {
13944 #ifndef __GNUC__
13945 choke me
13946 #endif
13947
13948 ;
13949 return 0;
13950 }
13951 _ACEOF
13952 rm -f conftest.$ac_objext
13953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13954 (eval $ac_compile) 2>conftest.er1
13955 ac_status=$?
13956 grep -v '^ *+' conftest.er1 >conftest.err
13957 rm -f conftest.er1
13958 cat conftest.err >&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } &&
13961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try='test -s conftest.$ac_objext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13970 ac_status=$?
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 ac_compiler_gnu=yes
13974 else
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13977
13978 ac_compiler_gnu=no
13979 fi
13980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13981 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13982
13983 fi
13984 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13985 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13986 GXX=`test $ac_compiler_gnu = yes && echo yes`
13987 ac_test_CXXFLAGS=${CXXFLAGS+set}
13988 ac_save_CXXFLAGS=$CXXFLAGS
13989 CXXFLAGS="-g"
13990 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13991 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13992 if test "${ac_cv_prog_cxx_g+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995 cat >conftest.$ac_ext <<_ACEOF
13996 /* confdefs.h. */
13997 _ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001
14002 int
14003 main ()
14004 {
14005
14006 ;
14007 return 0;
14008 }
14009 _ACEOF
14010 rm -f conftest.$ac_objext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14012 (eval $ac_compile) 2>conftest.er1
14013 ac_status=$?
14014 grep -v '^ *+' conftest.er1 >conftest.err
14015 rm -f conftest.er1
14016 cat conftest.err >&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_cv_prog_cxx_g=yes
14032 else
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14035
14036 ac_cv_prog_cxx_g=no
14037 fi
14038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14039 fi
14040 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14041 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14042 if test "$ac_test_CXXFLAGS" = set; then
14043 CXXFLAGS=$ac_save_CXXFLAGS
14044 elif test $ac_cv_prog_cxx_g = yes; then
14045 if test "$GXX" = yes; then
14046 CXXFLAGS="-g -O2"
14047 else
14048 CXXFLAGS="-g"
14049 fi
14050 else
14051 if test "$GXX" = yes; then
14052 CXXFLAGS="-O2"
14053 else
14054 CXXFLAGS=
14055 fi
14056 fi
14057 for ac_declaration in \
14058 '' \
14059 'extern "C" void std::exit (int) throw (); using std::exit;' \
14060 'extern "C" void std::exit (int); using std::exit;' \
14061 'extern "C" void exit (int) throw ();' \
14062 'extern "C" void exit (int);' \
14063 'void exit (int);'
14064 do
14065 cat >conftest.$ac_ext <<_ACEOF
14066 /* confdefs.h. */
14067 _ACEOF
14068 cat confdefs.h >>conftest.$ac_ext
14069 cat >>conftest.$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14071 $ac_declaration
14072 #include <stdlib.h>
14073 int
14074 main ()
14075 {
14076 exit (42);
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest.$ac_objext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14083 (eval $ac_compile) 2>conftest.er1
14084 ac_status=$?
14085 grep -v '^ *+' conftest.er1 >conftest.err
14086 rm -f conftest.er1
14087 cat conftest.err >&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 :
14103 else
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.$ac_ext >&5
14106
14107 continue
14108 fi
14109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14110 cat >conftest.$ac_ext <<_ACEOF
14111 /* confdefs.h. */
14112 _ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_declaration
14117 int
14118 main ()
14119 {
14120 exit (42);
14121 ;
14122 return 0;
14123 }
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>conftest.er1
14128 ac_status=$?
14129 grep -v '^ *+' conftest.er1 >conftest.err
14130 rm -f conftest.er1
14131 cat conftest.err >&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } &&
14134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136 (eval $ac_try) 2>&5
14137 ac_status=$?
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); }; } &&
14140 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14146 break
14147 else
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.$ac_ext >&5
14150
14151 fi
14152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14153 done
14154 rm -f conftest*
14155 if test -n "$ac_declaration"; then
14156 echo '#ifdef __cplusplus' >>confdefs.h
14157 echo $ac_declaration >>confdefs.h
14158 echo '#endif' >>confdefs.h
14159 fi
14160
14161 ac_ext=cc
14162 ac_cpp='$CXXCPP $CPPFLAGS'
14163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14166
14167
14168
14169 ac_ext=cc
14170 ac_cpp='$CXXCPP $CPPFLAGS'
14171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14174
14175 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14176 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14177 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 else
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186
14187 int
14188 main ()
14189 {
14190
14191 #ifndef __INTEL_COMPILER
14192 choke me
14193 #endif
14194
14195 ;
14196 return 0;
14197 }
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201 (eval $ac_compile) 2>conftest.er1
14202 ac_status=$?
14203 grep -v '^ *+' conftest.er1 >conftest.err
14204 rm -f conftest.er1
14205 cat conftest.err >&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } &&
14208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14210 (eval $ac_try) 2>&5
14211 ac_status=$?
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); }; } &&
14214 { ac_try='test -s conftest.$ac_objext'
14215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14216 (eval $ac_try) 2>&5
14217 ac_status=$?
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); }; }; then
14220 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14224
14225 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14226
14227 fi
14228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14229
14230
14231 fi
14232 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14233 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14234 ac_ext=cc
14235 ac_cpp='$CXXCPP $CPPFLAGS'
14236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14239
14240 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14241 :; INTELCXX=yes
14242 else
14243 :;
14244 fi
14245
14246
14247 if test "x$GCXX" != "xyes"; then
14248 if test "xCXX" = "xC"; then
14249 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14250 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14251 if test "${bakefile_cv_cxx_exto+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 else
14254 cat >conftest.$ac_ext <<_ACEOF
14255 /* confdefs.h. */
14256 _ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14260
14261 int
14262 main ()
14263 {
14264
14265 ;
14266 return 0;
14267 }
14268 _ACEOF
14269 rm -f conftest.$ac_objext conftest.$ac_ext.o
14270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14271 (eval $ac_compile) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; then
14275 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14276 case $ac_file in
14277 conftest.$ac_ext.o)
14278 bakefile_cv_cxx_exto="-ext o"
14279 ;;
14280 *)
14281 ;;
14282 esac
14283 done
14284 else
14285 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14286 See \`config.log' for more details." >&5
14287 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14288 See \`config.log' for more details." >&2;}
14289 { (exit 1); exit 1; }; }
14290
14291 fi
14292
14293 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14294
14295 fi
14296 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14297 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14298 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14299 if test "cxx" = "c"; then
14300 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14301 fi
14302 if test "cxx" = "cxx"; then
14303 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14304 fi
14305 fi
14306
14307 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14308 unset ac_cv_prog_cc_g
14309 ac_test_CFLAGS=${CFLAGS+set}
14310 ac_save_CFLAGS=$CFLAGS
14311 CFLAGS="-g"
14312 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14313 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14314 if test "${ac_cv_prog_cc_g+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 else
14317 cat >conftest.$ac_ext <<_ACEOF
14318 /* confdefs.h. */
14319 _ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323
14324 int
14325 main ()
14326 {
14327
14328 ;
14329 return 0;
14330 }
14331 _ACEOF
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14335 ac_status=$?
14336 grep -v '^ *+' conftest.er1 >conftest.err
14337 rm -f conftest.er1
14338 cat conftest.err >&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14350 ac_status=$?
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_cv_prog_cc_g=yes
14354 else
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.$ac_ext >&5
14357
14358 ac_cv_prog_cc_g=no
14359 fi
14360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14361 fi
14362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14364 if test "$ac_test_CFLAGS" = set; then
14365 CFLAGS=$ac_save_CFLAGS
14366 elif test $ac_cv_prog_cc_g = yes; then
14367 if test "$GCC" = yes; then
14368 CFLAGS="-g -O2"
14369 else
14370 CFLAGS="-g"
14371 fi
14372 else
14373 if test "$GCC" = yes; then
14374 CFLAGS="-O2"
14375 else
14376 CFLAGS=
14377 fi
14378 fi
14379 fi
14380 fi
14381
14382 case `uname -s` in
14383 AIX*)
14384 ac_ext=cc
14385 ac_cpp='$CXXCPP $CPPFLAGS'
14386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14389
14390 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14391 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14392 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14393 echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395 cat >conftest.$ac_ext <<_ACEOF
14396 /* confdefs.h. */
14397 _ACEOF
14398 cat confdefs.h >>conftest.$ac_ext
14399 cat >>conftest.$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401
14402 int
14403 main ()
14404 {
14405 #ifndef __xlC__
14406 choke me
14407 #endif
14408
14409 ;
14410 return 0;
14411 }
14412 _ACEOF
14413 rm -f conftest.$ac_objext
14414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14415 (eval $ac_compile) 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14425 ac_status=$?
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; } &&
14428 { ac_try='test -s conftest.$ac_objext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14431 ac_status=$?
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14434 bakefile_compiler_xlc=yes
14435 else
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.$ac_ext >&5
14438
14439 bakefile_compiler_xlc=no
14440 fi
14441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14442 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14443
14444 fi
14445 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14446 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14447
14448 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14449 ac_ext=cc
14450 ac_cpp='$CXXCPP $CPPFLAGS'
14451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14454
14455
14456 ;;
14457
14458 Darwin)
14459 ac_ext=cc
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14464
14465 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14466 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14467 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14468 echo $ECHO_N "(cached) $ECHO_C" >&6
14469 else
14470 cat >conftest.$ac_ext <<_ACEOF
14471 /* confdefs.h. */
14472 _ACEOF
14473 cat confdefs.h >>conftest.$ac_ext
14474 cat >>conftest.$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14476
14477 int
14478 main ()
14479 {
14480 #ifndef __MWERKS__
14481 choke me
14482 #endif
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try='test -s conftest.$ac_objext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14506 ac_status=$?
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 bakefile_compiler_mwerks=yes
14510 else
14511 echo "$as_me: failed program was:" >&5
14512 sed 's/^/| /' conftest.$ac_ext >&5
14513
14514 bakefile_compiler_mwerks=no
14515 fi
14516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14517 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14518
14519 fi
14520 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14521 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14522
14523 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14524 ac_ext=cc
14525 ac_cpp='$CXXCPP $CPPFLAGS'
14526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14529
14530
14531 ac_ext=cc
14532 ac_cpp='$CXXCPP $CPPFLAGS'
14533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14536
14537 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14538 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14539 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548
14549 int
14550 main ()
14551 {
14552 #ifndef __xlC__
14553 choke me
14554 #endif
14555
14556 ;
14557 return 0;
14558 }
14559 _ACEOF
14560 rm -f conftest.$ac_objext
14561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14562 (eval $ac_compile) 2>conftest.er1
14563 ac_status=$?
14564 grep -v '^ *+' conftest.er1 >conftest.err
14565 rm -f conftest.er1
14566 cat conftest.err >&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); } &&
14569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14571 (eval $ac_try) 2>&5
14572 ac_status=$?
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; } &&
14575 { ac_try='test -s conftest.$ac_objext'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; }; then
14581 bakefile_compiler_xlc=yes
14582 else
14583 echo "$as_me: failed program was:" >&5
14584 sed 's/^/| /' conftest.$ac_ext >&5
14585
14586 bakefile_compiler_xlc=no
14587 fi
14588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14589 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14590
14591 fi
14592 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14593 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14594
14595 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14596 ac_ext=cc
14597 ac_cpp='$CXXCPP $CPPFLAGS'
14598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14601
14602
14603 ;;
14604
14605 IRIX*)
14606
14607
14608 ac_ext=cc
14609 ac_cpp='$CXXCPP $CPPFLAGS'
14610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14613
14614 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14615 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14616 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 else
14619 cat >conftest.$ac_ext <<_ACEOF
14620 /* confdefs.h. */
14621 _ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14625
14626 int
14627 main ()
14628 {
14629
14630 #ifndef _SGI_COMPILER_VERSION
14631 choke me
14632 #endif
14633
14634 ;
14635 return 0;
14636 }
14637 _ACEOF
14638 rm -f conftest.$ac_objext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14640 (eval $ac_compile) 2>conftest.er1
14641 ac_status=$?
14642 grep -v '^ *+' conftest.er1 >conftest.err
14643 rm -f conftest.er1
14644 cat conftest.err >&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14650 ac_status=$?
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; } &&
14653 { ac_try='test -s conftest.$ac_objext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14660 else
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.$ac_ext >&5
14663
14664 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14665
14666 fi
14667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14668
14669
14670 fi
14671 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14672 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14673 ac_ext=cc
14674 ac_cpp='$CXXCPP $CPPFLAGS'
14675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14678
14679 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14680 :; SGICXX=yes
14681 else
14682 :;
14683 fi
14684
14685
14686 ;;
14687
14688 HP-UX*)
14689
14690
14691 ac_ext=cc
14692 ac_cpp='$CXXCPP $CPPFLAGS'
14693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14696
14697 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14698 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14699 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14701 else
14702 cat >conftest.$ac_ext <<_ACEOF
14703 /* confdefs.h. */
14704 _ACEOF
14705 cat confdefs.h >>conftest.$ac_ext
14706 cat >>conftest.$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14708
14709 int
14710 main ()
14711 {
14712
14713 #ifndef __HP_aCC
14714 choke me
14715 #endif
14716
14717 ;
14718 return 0;
14719 }
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 bakefile_cv_cxx_compiler___HP_aCC=yes
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 bakefile_cv_cxx_compiler___HP_aCC=no
14748
14749 fi
14750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14751
14752
14753 fi
14754 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14755 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14756 ac_ext=cc
14757 ac_cpp='$CXXCPP $CPPFLAGS'
14758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14761
14762 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14763 :; HPCXX=yes
14764 else
14765 :;
14766 fi
14767
14768
14769 ;;
14770
14771 OSF1)
14772
14773
14774 ac_ext=cc
14775 ac_cpp='$CXXCPP $CPPFLAGS'
14776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14779
14780 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14781 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14782 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 cat >conftest.$ac_ext <<_ACEOF
14786 /* confdefs.h. */
14787 _ACEOF
14788 cat confdefs.h >>conftest.$ac_ext
14789 cat >>conftest.$ac_ext <<_ACEOF
14790 /* end confdefs.h. */
14791
14792 int
14793 main ()
14794 {
14795
14796 #ifndef __DECCXX
14797 choke me
14798 #endif
14799
14800 ;
14801 return 0;
14802 }
14803 _ACEOF
14804 rm -f conftest.$ac_objext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14806 (eval $ac_compile) 2>conftest.er1
14807 ac_status=$?
14808 grep -v '^ *+' conftest.er1 >conftest.err
14809 rm -f conftest.er1
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14816 ac_status=$?
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try='test -s conftest.$ac_objext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 bakefile_cv_cxx_compiler___DECCXX=yes
14826 else
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14829
14830 bakefile_cv_cxx_compiler___DECCXX=no
14831
14832 fi
14833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14834
14835
14836 fi
14837 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14838 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14839 ac_ext=cc
14840 ac_cpp='$CXXCPP $CPPFLAGS'
14841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14844
14845 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14846 :; COMPAQCXX=yes
14847 else
14848 :;
14849 fi
14850
14851
14852 ;;
14853
14854 SunOS)
14855
14856
14857 ac_ext=cc
14858 ac_cpp='$CXXCPP $CPPFLAGS'
14859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14862
14863 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14864 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14865 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 else
14868 cat >conftest.$ac_ext <<_ACEOF
14869 /* confdefs.h. */
14870 _ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874
14875 int
14876 main ()
14877 {
14878
14879 #ifndef __SUNPRO_CC
14880 choke me
14881 #endif
14882
14883 ;
14884 return 0;
14885 }
14886 _ACEOF
14887 rm -f conftest.$ac_objext
14888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14889 (eval $ac_compile) 2>conftest.er1
14890 ac_status=$?
14891 grep -v '^ *+' conftest.er1 >conftest.err
14892 rm -f conftest.er1
14893 cat conftest.err >&5
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); } &&
14896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14898 (eval $ac_try) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); }; } &&
14902 { ac_try='test -s conftest.$ac_objext'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14908 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14909 else
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.$ac_ext >&5
14912
14913 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14914
14915 fi
14916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14917
14918
14919 fi
14920 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14921 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14922 ac_ext=cc
14923 ac_cpp='$CXXCPP $CPPFLAGS'
14924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14927
14928 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14929 :; SUNCXX=yes
14930 else
14931 :;
14932 fi
14933
14934
14935 ;;
14936 esac
14937 fi
14938
14939
14940
14941 if test -n "$ac_tool_prefix"; then
14942 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14943 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14944 echo "$as_me:$LINENO: checking for $ac_word" >&5
14945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14946 if test "${ac_cv_prog_RANLIB+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949 if test -n "$RANLIB"; then
14950 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14951 else
14952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14953 for as_dir in $PATH
14954 do
14955 IFS=$as_save_IFS
14956 test -z "$as_dir" && as_dir=.
14957 for ac_exec_ext in '' $ac_executable_extensions; do
14958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14959 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14961 break 2
14962 fi
14963 done
14964 done
14965
14966 fi
14967 fi
14968 RANLIB=$ac_cv_prog_RANLIB
14969 if test -n "$RANLIB"; then
14970 echo "$as_me:$LINENO: result: $RANLIB" >&5
14971 echo "${ECHO_T}$RANLIB" >&6
14972 else
14973 echo "$as_me:$LINENO: result: no" >&5
14974 echo "${ECHO_T}no" >&6
14975 fi
14976
14977 fi
14978 if test -z "$ac_cv_prog_RANLIB"; then
14979 ac_ct_RANLIB=$RANLIB
14980 # Extract the first word of "ranlib", so it can be a program name with args.
14981 set dummy ranlib; ac_word=$2
14982 echo "$as_me:$LINENO: checking for $ac_word" >&5
14983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14984 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14986 else
14987 if test -n "$ac_ct_RANLIB"; then
14988 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14989 else
14990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14991 for as_dir in $PATH
14992 do
14993 IFS=$as_save_IFS
14994 test -z "$as_dir" && as_dir=.
14995 for ac_exec_ext in '' $ac_executable_extensions; do
14996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14997 ac_cv_prog_ac_ct_RANLIB="ranlib"
14998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14999 break 2
15000 fi
15001 done
15002 done
15003
15004 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15005 fi
15006 fi
15007 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15008 if test -n "$ac_ct_RANLIB"; then
15009 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15010 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15011 else
15012 echo "$as_me:$LINENO: result: no" >&5
15013 echo "${ECHO_T}no" >&6
15014 fi
15015
15016 RANLIB=$ac_ct_RANLIB
15017 else
15018 RANLIB="$ac_cv_prog_RANLIB"
15019 fi
15020
15021
15022 if test -n "$ac_tool_prefix"; then
15023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15024 set dummy ${ac_tool_prefix}ar; ac_word=$2
15025 echo "$as_me:$LINENO: checking for $ac_word" >&5
15026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15027 if test "${ac_cv_prog_AR+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 else
15030 if test -n "$AR"; then
15031 ac_cv_prog_AR="$AR" # Let the user override the test.
15032 else
15033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15034 for as_dir in $PATH
15035 do
15036 IFS=$as_save_IFS
15037 test -z "$as_dir" && as_dir=.
15038 for ac_exec_ext in '' $ac_executable_extensions; do
15039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15040 ac_cv_prog_AR="${ac_tool_prefix}ar"
15041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15042 break 2
15043 fi
15044 done
15045 done
15046
15047 fi
15048 fi
15049 AR=$ac_cv_prog_AR
15050 if test -n "$AR"; then
15051 echo "$as_me:$LINENO: result: $AR" >&5
15052 echo "${ECHO_T}$AR" >&6
15053 else
15054 echo "$as_me:$LINENO: result: no" >&5
15055 echo "${ECHO_T}no" >&6
15056 fi
15057
15058 fi
15059 if test -z "$ac_cv_prog_AR"; then
15060 ac_ct_AR=$AR
15061 # Extract the first word of "ar", so it can be a program name with args.
15062 set dummy ar; ac_word=$2
15063 echo "$as_me:$LINENO: checking for $ac_word" >&5
15064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068 if test -n "$ac_ct_AR"; then
15069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15070 else
15071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15072 for as_dir in $PATH
15073 do
15074 IFS=$as_save_IFS
15075 test -z "$as_dir" && as_dir=.
15076 for ac_exec_ext in '' $ac_executable_extensions; do
15077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15078 ac_cv_prog_ac_ct_AR="ar"
15079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15080 break 2
15081 fi
15082 done
15083 done
15084
15085 fi
15086 fi
15087 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15088 if test -n "$ac_ct_AR"; then
15089 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15090 echo "${ECHO_T}$ac_ct_AR" >&6
15091 else
15092 echo "$as_me:$LINENO: result: no" >&5
15093 echo "${ECHO_T}no" >&6
15094 fi
15095
15096 AR=$ac_ct_AR
15097 else
15098 AR="$ac_cv_prog_AR"
15099 fi
15100
15101 if test "x$AR" = "x" ; then
15102 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15103 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15104 { (exit 1); exit 1; }; }
15105 fi
15106
15107 # Find a good install program. We prefer a C program (faster),
15108 # so one script is as good as another. But avoid the broken or
15109 # incompatible versions:
15110 # SysV /etc/install, /usr/sbin/install
15111 # SunOS /usr/etc/install
15112 # IRIX /sbin/install
15113 # AIX /bin/install
15114 # AmigaOS /C/install, which installs bootblocks on floppy discs
15115 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15116 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15117 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15118 # OS/2's system install, which has a completely different semantic
15119 # ./install, which can be erroneously created by make from ./install.sh.
15120 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15121 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15122 if test -z "$INSTALL"; then
15123 if test "${ac_cv_path_install+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15127 for as_dir in $PATH
15128 do
15129 IFS=$as_save_IFS
15130 test -z "$as_dir" && as_dir=.
15131 # Account for people who put trailing slashes in PATH elements.
15132 case $as_dir/ in
15133 ./ | .// | /cC/* | \
15134 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15135 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15136 /usr/ucb/* ) ;;
15137 *)
15138 # OSF1 and SCO ODT 3.0 have their own names for install.
15139 # Don't use installbsd from OSF since it installs stuff as root
15140 # by default.
15141 for ac_prog in ginstall scoinst install; do
15142 for ac_exec_ext in '' $ac_executable_extensions; do
15143 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15144 if test $ac_prog = install &&
15145 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15146 # AIX install. It has an incompatible calling convention.
15147 :
15148 elif test $ac_prog = install &&
15149 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15150 # program-specific install script used by HP pwplus--don't use.
15151 :
15152 else
15153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15154 break 3
15155 fi
15156 fi
15157 done
15158 done
15159 ;;
15160 esac
15161 done
15162
15163
15164 fi
15165 if test "${ac_cv_path_install+set}" = set; then
15166 INSTALL=$ac_cv_path_install
15167 else
15168 # As a last resort, use the slow shell script. We don't cache a
15169 # path for INSTALL within a source directory, because that will
15170 # break other packages using the cache if that directory is
15171 # removed, or if the path is relative.
15172 INSTALL=$ac_install_sh
15173 fi
15174 fi
15175 echo "$as_me:$LINENO: result: $INSTALL" >&5
15176 echo "${ECHO_T}$INSTALL" >&6
15177
15178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15179 # It thinks the first close brace ends the variable substitution.
15180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15181
15182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15183
15184 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15185
15186
15187 case ${INSTALL} in
15188 /* ) # Absolute
15189 ;;
15190 ?:* ) # Drive letter, considered as absolute.
15191 ;;
15192 *)
15193 INSTALL=`pwd`/${INSTALL} ;;
15194 esac
15195
15196
15197 case "${host}" in
15198
15199 *-*-darwin* )
15200 INSTALL_PROGRAM="cp -fp"
15201 INSTALL_DATA="cp -fp"
15202 ;;
15203 *)
15204 ;;
15205 esac
15206
15207 if test -n "$ac_tool_prefix"; then
15208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15209 set dummy ${ac_tool_prefix}strip; ac_word=$2
15210 echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15212 if test "${ac_cv_prog_STRIP+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 if test -n "$STRIP"; then
15216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15217 else
15218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15219 for as_dir in $PATH
15220 do
15221 IFS=$as_save_IFS
15222 test -z "$as_dir" && as_dir=.
15223 for ac_exec_ext in '' $ac_executable_extensions; do
15224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15225 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15227 break 2
15228 fi
15229 done
15230 done
15231
15232 fi
15233 fi
15234 STRIP=$ac_cv_prog_STRIP
15235 if test -n "$STRIP"; then
15236 echo "$as_me:$LINENO: result: $STRIP" >&5
15237 echo "${ECHO_T}$STRIP" >&6
15238 else
15239 echo "$as_me:$LINENO: result: no" >&5
15240 echo "${ECHO_T}no" >&6
15241 fi
15242
15243 fi
15244 if test -z "$ac_cv_prog_STRIP"; then
15245 ac_ct_STRIP=$STRIP
15246 # Extract the first word of "strip", so it can be a program name with args.
15247 set dummy strip; ac_word=$2
15248 echo "$as_me:$LINENO: checking for $ac_word" >&5
15249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15250 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253 if test -n "$ac_ct_STRIP"; then
15254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15255 else
15256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15257 for as_dir in $PATH
15258 do
15259 IFS=$as_save_IFS
15260 test -z "$as_dir" && as_dir=.
15261 for ac_exec_ext in '' $ac_executable_extensions; do
15262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15263 ac_cv_prog_ac_ct_STRIP="strip"
15264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15265 break 2
15266 fi
15267 done
15268 done
15269
15270 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15271 fi
15272 fi
15273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15274 if test -n "$ac_ct_STRIP"; then
15275 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15276 echo "${ECHO_T}$ac_ct_STRIP" >&6
15277 else
15278 echo "$as_me:$LINENO: result: no" >&5
15279 echo "${ECHO_T}no" >&6
15280 fi
15281
15282 STRIP=$ac_ct_STRIP
15283 else
15284 STRIP="$ac_cv_prog_STRIP"
15285 fi
15286
15287
15288 if test "$wxUSE_WINE" = "yes"; then
15289 if test -n "$ac_tool_prefix"; then
15290 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15291 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15292 echo "$as_me:$LINENO: checking for $ac_word" >&5
15293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15294 if test "${ac_cv_prog_WINDRES+set}" = set; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 else
15297 if test -n "$WINDRES"; then
15298 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15299 else
15300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15301 for as_dir in $PATH
15302 do
15303 IFS=$as_save_IFS
15304 test -z "$as_dir" && as_dir=.
15305 for ac_exec_ext in '' $ac_executable_extensions; do
15306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15307 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15309 break 2
15310 fi
15311 done
15312 done
15313
15314 fi
15315 fi
15316 WINDRES=$ac_cv_prog_WINDRES
15317 if test -n "$WINDRES"; then
15318 echo "$as_me:$LINENO: result: $WINDRES" >&5
15319 echo "${ECHO_T}$WINDRES" >&6
15320 else
15321 echo "$as_me:$LINENO: result: no" >&5
15322 echo "${ECHO_T}no" >&6
15323 fi
15324
15325 fi
15326 if test -z "$ac_cv_prog_WINDRES"; then
15327 ac_ct_WINDRES=$WINDRES
15328 # Extract the first word of "wrc", so it can be a program name with args.
15329 set dummy wrc; ac_word=$2
15330 echo "$as_me:$LINENO: checking for $ac_word" >&5
15331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15332 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 if test -n "$ac_ct_WINDRES"; then
15336 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15337 else
15338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15339 for as_dir in $PATH
15340 do
15341 IFS=$as_save_IFS
15342 test -z "$as_dir" && as_dir=.
15343 for ac_exec_ext in '' $ac_executable_extensions; do
15344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15345 ac_cv_prog_ac_ct_WINDRES="wrc"
15346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15347 break 2
15348 fi
15349 done
15350 done
15351
15352 fi
15353 fi
15354 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15355 if test -n "$ac_ct_WINDRES"; then
15356 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15357 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15358 else
15359 echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6
15361 fi
15362
15363 WINDRES=$ac_ct_WINDRES
15364 else
15365 WINDRES="$ac_cv_prog_WINDRES"
15366 fi
15367
15368 RESCOMP="$WINDRES"
15369 else
15370 case "${host}" in
15371 *-*-cygwin* | *-*-mingw32* )
15372 if test -n "$ac_tool_prefix"; then
15373 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15374 set dummy ${ac_tool_prefix}windres; ac_word=$2
15375 echo "$as_me:$LINENO: checking for $ac_word" >&5
15376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15377 if test "${ac_cv_prog_WINDRES+set}" = set; then
15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 else
15380 if test -n "$WINDRES"; then
15381 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15382 else
15383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15384 for as_dir in $PATH
15385 do
15386 IFS=$as_save_IFS
15387 test -z "$as_dir" && as_dir=.
15388 for ac_exec_ext in '' $ac_executable_extensions; do
15389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15390 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15392 break 2
15393 fi
15394 done
15395 done
15396
15397 fi
15398 fi
15399 WINDRES=$ac_cv_prog_WINDRES
15400 if test -n "$WINDRES"; then
15401 echo "$as_me:$LINENO: result: $WINDRES" >&5
15402 echo "${ECHO_T}$WINDRES" >&6
15403 else
15404 echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6
15406 fi
15407
15408 fi
15409 if test -z "$ac_cv_prog_WINDRES"; then
15410 ac_ct_WINDRES=$WINDRES
15411 # Extract the first word of "windres", so it can be a program name with args.
15412 set dummy windres; ac_word=$2
15413 echo "$as_me:$LINENO: checking for $ac_word" >&5
15414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15415 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 else
15418 if test -n "$ac_ct_WINDRES"; then
15419 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15420 else
15421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15422 for as_dir in $PATH
15423 do
15424 IFS=$as_save_IFS
15425 test -z "$as_dir" && as_dir=.
15426 for ac_exec_ext in '' $ac_executable_extensions; do
15427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15428 ac_cv_prog_ac_ct_WINDRES="windres"
15429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15430 break 2
15431 fi
15432 done
15433 done
15434
15435 fi
15436 fi
15437 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15438 if test -n "$ac_ct_WINDRES"; then
15439 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15440 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15441 else
15442 echo "$as_me:$LINENO: result: no" >&5
15443 echo "${ECHO_T}no" >&6
15444 fi
15445
15446 WINDRES=$ac_ct_WINDRES
15447 else
15448 WINDRES="$ac_cv_prog_WINDRES"
15449 fi
15450
15451 RESCOMP="$WINDRES"
15452 if test -n "$ac_tool_prefix"; then
15453 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15454 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15455 echo "$as_me:$LINENO: checking for $ac_word" >&5
15456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15457 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 if test -n "$DLLTOOL"; then
15461 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15462 else
15463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15464 for as_dir in $PATH
15465 do
15466 IFS=$as_save_IFS
15467 test -z "$as_dir" && as_dir=.
15468 for ac_exec_ext in '' $ac_executable_extensions; do
15469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15470 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15472 break 2
15473 fi
15474 done
15475 done
15476
15477 fi
15478 fi
15479 DLLTOOL=$ac_cv_prog_DLLTOOL
15480 if test -n "$DLLTOOL"; then
15481 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15482 echo "${ECHO_T}$DLLTOOL" >&6
15483 else
15484 echo "$as_me:$LINENO: result: no" >&5
15485 echo "${ECHO_T}no" >&6
15486 fi
15487
15488 fi
15489 if test -z "$ac_cv_prog_DLLTOOL"; then
15490 ac_ct_DLLTOOL=$DLLTOOL
15491 # Extract the first word of "dlltool", so it can be a program name with args.
15492 set dummy dlltool; ac_word=$2
15493 echo "$as_me:$LINENO: checking for $ac_word" >&5
15494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15495 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 if test -n "$ac_ct_DLLTOOL"; then
15499 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15500 else
15501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502 for as_dir in $PATH
15503 do
15504 IFS=$as_save_IFS
15505 test -z "$as_dir" && as_dir=.
15506 for ac_exec_ext in '' $ac_executable_extensions; do
15507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15508 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15510 break 2
15511 fi
15512 done
15513 done
15514
15515 fi
15516 fi
15517 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15518 if test -n "$ac_ct_DLLTOOL"; then
15519 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15520 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15521 else
15522 echo "$as_me:$LINENO: result: no" >&5
15523 echo "${ECHO_T}no" >&6
15524 fi
15525
15526 DLLTOOL=$ac_ct_DLLTOOL
15527 else
15528 DLLTOOL="$ac_cv_prog_DLLTOOL"
15529 fi
15530
15531 ;;
15532 esac
15533 fi
15534
15535 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15536 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15537 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15539 else
15540
15541 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15542 egrep -s GNU > /dev/null); then
15543 wx_cv_prog_makeisgnu="yes"
15544 else
15545 wx_cv_prog_makeisgnu="no"
15546 fi
15547
15548 fi
15549 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15550 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15551
15552 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15553 IF_GNU_MAKE=""
15554 else
15555 IF_GNU_MAKE="#"
15556 fi
15557
15558
15559
15560 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15561 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15562 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15563 if test "${wx_cv_prog_makevpath+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15566
15567 cat - << EOF > confMake
15568 check : file
15569 cp \$? \$@
15570 cp \$? final_file
15571 EOF
15572
15573 if test ! -d sub ; then
15574 mkdir sub
15575 fi
15576 echo dummy > sub/file
15577 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15578 RESULT=$?
15579 rm -f sub/file check final_file confMake
15580 rmdir sub
15581 if test "$RESULT" = 0; then
15582 wx_cv_prog_makevpath="yes"
15583 else
15584 wx_cv_prog_makevpath="no"
15585 fi
15586
15587 fi
15588 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15589 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15590
15591 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15592 { { echo "$as_me:$LINENO: error:
15593 You need a make-utility that is able to use the variable
15594 VPATH correctly.
15595 If your version of make does not support VPATH correctly,
15596 please install GNU-make (possibly as gmake), and start
15597 configure with the following command:
15598 export MAKE=gmake; ./configure for sh-type shells
15599 setenv MAKE gmake; ./configure for csh-type shells
15600 Also please do remember to use gmake in this case every time
15601 you are trying to compile.
15602 " >&5
15603 echo "$as_me: error:
15604 You need a make-utility that is able to use the variable
15605 VPATH correctly.
15606 If your version of make does not support VPATH correctly,
15607 please install GNU-make (possibly as gmake), and start
15608 configure with the following command:
15609 export MAKE=gmake; ./configure for sh-type shells
15610 setenv MAKE gmake; ./configure for csh-type shells
15611 Also please do remember to use gmake in this case every time
15612 you are trying to compile.
15613 " >&2;}
15614 { (exit 1); exit 1; }; }
15615 fi fi
15616 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15617 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15618 LN_S=$as_ln_s
15619 if test "$LN_S" = "ln -s"; then
15620 echo "$as_me:$LINENO: result: yes" >&5
15621 echo "${ECHO_T}yes" >&6
15622 else
15623 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15624 echo "${ECHO_T}no, using $LN_S" >&6
15625 fi
15626
15627
15628
15629
15630 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15631 CXXFLAGS="-qunique $CXXFLAGS"
15632 fi
15633
15634 case "${host}" in
15635 powerpc-*-darwin* )
15636 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15637 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644
15645 int
15646 main ()
15647 {
15648 #ifndef __POWERPC__
15649 choke me for lack of PowerPC
15650 #endif
15651
15652 ;
15653 return 0;
15654 }
15655 _ACEOF
15656 rm -f conftest.$ac_objext
15657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15658 (eval $ac_compile) 2>conftest.er1
15659 ac_status=$?
15660 grep -v '^ *+' conftest.er1 >conftest.err
15661 rm -f conftest.er1
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } &&
15665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15668 ac_status=$?
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 echo "$as_me:$LINENO: result: yes" >&5
15678 echo "${ECHO_T}yes" >&6
15679 else
15680 echo "$as_me: failed program was:" >&5
15681 sed 's/^/| /' conftest.$ac_ext >&5
15682
15683 echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6
15685 cat >>confdefs.h <<\_ACEOF
15686 #define __POWERPC__ 1
15687 _ACEOF
15688
15689
15690 fi
15691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15692 ;;
15693 esac
15694
15695 case "${host}" in
15696 *-*-darwin* )
15697 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15698 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15699 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15705 #include <CoreFoundation/CFBase.h>
15706
15707 int
15708 main ()
15709 {
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 echo "$as_me:$LINENO: result: yes" >&5
15737 echo "${ECHO_T}yes" >&6
15738 else
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 echo "$as_me:$LINENO: result: no" >&5
15743 echo "${ECHO_T}no" >&6
15744 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15745 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15746 cat >conftest.$ac_ext <<_ACEOF
15747 /* confdefs.h. */
15748 _ACEOF
15749 cat confdefs.h >>conftest.$ac_ext
15750 cat >>conftest.$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 #define __CF_USE_FRAMEWORK_INCLUDES__
15753 #include <CoreFoundation/CFBase.h>
15754
15755 int
15756 main ()
15757 {
15758
15759 ;
15760 return 0;
15761 }
15762 _ACEOF
15763 rm -f conftest.$ac_objext
15764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15765 (eval $ac_compile) 2>conftest.er1
15766 ac_status=$?
15767 grep -v '^ *+' conftest.er1 >conftest.err
15768 rm -f conftest.er1
15769 cat conftest.err >&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); } &&
15772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15775 ac_status=$?
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; } &&
15778 { ac_try='test -s conftest.$ac_objext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15781 ac_status=$?
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 echo "$as_me:$LINENO: result: yes" >&5
15785 echo "${ECHO_T}yes" >&6
15786 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15787 else
15788 echo "$as_me: failed program was:" >&5
15789 sed 's/^/| /' conftest.$ac_ext >&5
15790
15791 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15792 See \`config.log' for more details." >&5
15793 echo "$as_me: error: no. CoreFoundation not available.
15794 See \`config.log' for more details." >&2;}
15795 { (exit 1); exit 1; }; }
15796
15797 fi
15798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15799
15800
15801 fi
15802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803 ;;
15804 esac
15805
15806 case "${host}" in
15807 *-pc-os2_emx | *-pc-os2-emx )
15808 ac_ext=c
15809 ac_cpp='$CPP $CPPFLAGS'
15810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15813
15814 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15815 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15816 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15817 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 else
15820 ac_check_lib_save_LIBS=$LIBS
15821 LIBS="-lcExt $LIBS"
15822 cat >conftest.$ac_ext <<_ACEOF
15823 /* confdefs.h. */
15824 _ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828
15829 /* Override any gcc2 internal prototype to avoid an error. */
15830 #ifdef __cplusplus
15831 extern "C"
15832 #endif
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15835 char drand48 ();
15836 int
15837 main ()
15838 {
15839 drand48 ();
15840 ;
15841 return 0;
15842 }
15843 _ACEOF
15844 rm -f conftest.$ac_objext conftest$ac_exeext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15846 (eval $ac_link) 2>conftest.er1
15847 ac_status=$?
15848 grep -v '^ *+' conftest.er1 >conftest.err
15849 rm -f conftest.er1
15850 cat conftest.err >&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15855 (eval $ac_try) 2>&5
15856 ac_status=$?
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858 (exit $ac_status); }; } &&
15859 { ac_try='test -s conftest$ac_exeext'
15860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861 (eval $ac_try) 2>&5
15862 ac_status=$?
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); }; }; then
15865 ac_cv_lib_cExt_drand48=yes
15866 else
15867 echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15869
15870 ac_cv_lib_cExt_drand48=no
15871 fi
15872 rm -f conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15874 LIBS=$ac_check_lib_save_LIBS
15875 fi
15876 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15877 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15878 if test $ac_cv_lib_cExt_drand48 = yes; then
15879 LIBS="$LIBS -lcExt"
15880 fi
15881
15882 else
15883 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15884 fi
15885 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15886 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15887 if test "${wx_cv_gccversion+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 else
15890
15891 if test "$cross_compiling" = yes; then
15892 wx_cv_gccversion="EMX2"
15893
15894 else
15895 cat >conftest.$ac_ext <<_ACEOF
15896 /* confdefs.h. */
15897 _ACEOF
15898 cat confdefs.h >>conftest.$ac_ext
15899 cat >>conftest.$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901
15902 #include <stdio.h>
15903
15904 int main()
15905 {
15906 FILE *f=fopen("conftestval", "w");
15907 if (!f) exit(1);
15908 fprintf(f,
15909 #if (__GNUC__ < 3)
15910 "EMX2"
15911 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15912 "EMX3"
15913 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15914 "Innotek5"
15915 #else
15916 "Innotek6"
15917 #endif
15918 );
15919 exit(0);
15920 }
15921
15922 _ACEOF
15923 rm -f conftest$ac_exeext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15925 (eval $ac_link) 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15931 ac_status=$?
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; }; then
15934 wx_cv_gccversion=`cat conftestval`
15935 else
15936 echo "$as_me: program exited with status $ac_status" >&5
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15939
15940 ( exit $ac_status )
15941 wx_cv_gccversion="EMX2"
15942 fi
15943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15944 fi
15945
15946 fi
15947 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15948 echo "${ECHO_T}$wx_cv_gccversion" >&6
15949 ac_ext=cc
15950 ac_cpp='$CXXCPP $CPPFLAGS'
15951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15954
15955 if test "$wx_cv_gccversion" = "EMX2"; then
15956 LIBS="$LIBS -lstdcpp"
15957 LDFLAGS="$LDFLAGS -Zsysv-signals"
15958 else
15959 if test "$wx_cv_gccversion" = "EMX3"; then
15960 LIBS="$LIBS -lstdcxx -lgcc"
15961 LDFLAGS="$LDFLAGS -Zsysv-signals"
15962 else
15963 LIBS="$LIBS -lstdc++"
15964 fi
15965 fi
15966 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15967 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15968 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15969 wxUSE_OMF=yes
15970 enable_omf=yes
15971 fi
15972 ;;
15973 *)
15974
15975 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15976 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15977 if test "${ac_cv_string_strcasecmp+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980
15981 cat >conftest.$ac_ext <<_ACEOF
15982 /* confdefs.h. */
15983 _ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15987
15988 #include <string.h>
15989
15990 int
15991 main ()
15992 {
15993
15994 strcasecmp("foo", "bar");
15995
15996 ;
15997 return 0;
15998 }
15999 _ACEOF
16000 rm -f conftest.$ac_objext conftest$ac_exeext
16001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16002 (eval $ac_link) 2>conftest.er1
16003 ac_status=$?
16004 grep -v '^ *+' conftest.er1 >conftest.err
16005 rm -f conftest.er1
16006 cat conftest.err >&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } &&
16009 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; } &&
16015 { ac_try='test -s conftest$ac_exeext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 ac_cv_string_strcasecmp=yes
16022 else
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16025
16026 ac_cv_string_strcasecmp=no
16027
16028 fi
16029 rm -f conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16031
16032 fi
16033 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16034 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16035
16036 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16037 cat >>confdefs.h <<\_ACEOF
16038 #define HAVE_STRCASECMP_IN_STRING_H 1
16039 _ACEOF
16040
16041 else
16042 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16043 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16044 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 else
16047
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054
16055 #include <strings.h>
16056
16057 int
16058 main ()
16059 {
16060
16061 strcasecmp("foo", "bar");
16062
16063 ;
16064 return 0;
16065 }
16066 _ACEOF
16067 rm -f conftest.$ac_objext conftest$ac_exeext
16068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16069 (eval $ac_link) 2>conftest.er1
16070 ac_status=$?
16071 grep -v '^ *+' conftest.er1 >conftest.err
16072 rm -f conftest.er1
16073 cat conftest.err >&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); } &&
16076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16079 ac_status=$?
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try='test -s conftest$ac_exeext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_strings_strcasecmp=yes
16089 else
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.$ac_ext >&5
16092
16093 ac_cv_strings_strcasecmp=no
16094
16095 fi
16096 rm -f conftest.err conftest.$ac_objext \
16097 conftest$ac_exeext conftest.$ac_ext
16098
16099 fi
16100 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16101 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16102
16103 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16104 cat >>confdefs.h <<\_ACEOF
16105 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16106 _ACEOF
16107
16108 else
16109 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16110 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16111 { (exit 1); exit 1; }; }
16112 fi
16113 fi
16114
16115 ;;
16116 esac
16117
16118
16119 ac_ext=cc
16120 ac_cpp='$CXXCPP $CPPFLAGS'
16121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16124 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16125 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16126 if test -z "$CXXCPP"; then
16127 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16130 # Double quotes because CXXCPP needs to be expanded
16131 for CXXCPP in "$CXX -E" "/lib/cpp"
16132 do
16133 ac_preproc_ok=false
16134 for ac_cxx_preproc_warn_flag in '' yes
16135 do
16136 # Use a header file that comes with gcc, so configuring glibc
16137 # with a fresh cross-compiler works.
16138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16139 # <limits.h> exists even on freestanding compilers.
16140 # On the NeXT, cc -E runs the code through the compiler's parser,
16141 # not just through cpp. "Syntax error" is here to catch this case.
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #ifdef __STDC__
16149 # include <limits.h>
16150 #else
16151 # include <assert.h>
16152 #endif
16153 Syntax error
16154 _ACEOF
16155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16157 ac_status=$?
16158 grep -v '^ *+' conftest.er1 >conftest.err
16159 rm -f conftest.er1
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } >/dev/null; then
16163 if test -s conftest.err; then
16164 ac_cpp_err=$ac_cxx_preproc_warn_flag
16165 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16166 else
16167 ac_cpp_err=
16168 fi
16169 else
16170 ac_cpp_err=yes
16171 fi
16172 if test -z "$ac_cpp_err"; then
16173 :
16174 else
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16177
16178 # Broken: fails on valid input.
16179 continue
16180 fi
16181 rm -f conftest.err conftest.$ac_ext
16182
16183 # OK, works on sane cases. Now check whether non-existent headers
16184 # can be detected and how.
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h. */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h. */
16191 #include <ac_nonexistent.h>
16192 _ACEOF
16193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16195 ac_status=$?
16196 grep -v '^ *+' conftest.er1 >conftest.err
16197 rm -f conftest.er1
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } >/dev/null; then
16201 if test -s conftest.err; then
16202 ac_cpp_err=$ac_cxx_preproc_warn_flag
16203 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16204 else
16205 ac_cpp_err=
16206 fi
16207 else
16208 ac_cpp_err=yes
16209 fi
16210 if test -z "$ac_cpp_err"; then
16211 # Broken: success on invalid input.
16212 continue
16213 else
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.$ac_ext >&5
16216
16217 # Passes both tests.
16218 ac_preproc_ok=:
16219 break
16220 fi
16221 rm -f conftest.err conftest.$ac_ext
16222
16223 done
16224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16225 rm -f conftest.err conftest.$ac_ext
16226 if $ac_preproc_ok; then
16227 break
16228 fi
16229
16230 done
16231 ac_cv_prog_CXXCPP=$CXXCPP
16232
16233 fi
16234 CXXCPP=$ac_cv_prog_CXXCPP
16235 else
16236 ac_cv_prog_CXXCPP=$CXXCPP
16237 fi
16238 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16239 echo "${ECHO_T}$CXXCPP" >&6
16240 ac_preproc_ok=false
16241 for ac_cxx_preproc_warn_flag in '' yes
16242 do
16243 # Use a header file that comes with gcc, so configuring glibc
16244 # with a fresh cross-compiler works.
16245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16246 # <limits.h> exists even on freestanding compilers.
16247 # On the NeXT, cc -E runs the code through the compiler's parser,
16248 # not just through cpp. "Syntax error" is here to catch this case.
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 #ifdef __STDC__
16256 # include <limits.h>
16257 #else
16258 # include <assert.h>
16259 #endif
16260 Syntax error
16261 _ACEOF
16262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16264 ac_status=$?
16265 grep -v '^ *+' conftest.er1 >conftest.err
16266 rm -f conftest.er1
16267 cat conftest.err >&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } >/dev/null; then
16270 if test -s conftest.err; then
16271 ac_cpp_err=$ac_cxx_preproc_warn_flag
16272 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16273 else
16274 ac_cpp_err=
16275 fi
16276 else
16277 ac_cpp_err=yes
16278 fi
16279 if test -z "$ac_cpp_err"; then
16280 :
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 # Broken: fails on valid input.
16286 continue
16287 fi
16288 rm -f conftest.err conftest.$ac_ext
16289
16290 # OK, works on sane cases. Now check whether non-existent headers
16291 # can be detected and how.
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 #include <ac_nonexistent.h>
16299 _ACEOF
16300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16301 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16302 ac_status=$?
16303 grep -v '^ *+' conftest.er1 >conftest.err
16304 rm -f conftest.er1
16305 cat conftest.err >&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); } >/dev/null; then
16308 if test -s conftest.err; then
16309 ac_cpp_err=$ac_cxx_preproc_warn_flag
16310 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16311 else
16312 ac_cpp_err=
16313 fi
16314 else
16315 ac_cpp_err=yes
16316 fi
16317 if test -z "$ac_cpp_err"; then
16318 # Broken: success on invalid input.
16319 continue
16320 else
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16323
16324 # Passes both tests.
16325 ac_preproc_ok=:
16326 break
16327 fi
16328 rm -f conftest.err conftest.$ac_ext
16329
16330 done
16331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16332 rm -f conftest.err conftest.$ac_ext
16333 if $ac_preproc_ok; then
16334 :
16335 else
16336 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16337 See \`config.log' for more details." >&5
16338 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16339 See \`config.log' for more details." >&2;}
16340 { (exit 1); exit 1; }; }
16341 fi
16342
16343 ac_ext=cc
16344 ac_cpp='$CXXCPP $CPPFLAGS'
16345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16348
16349
16350 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16351 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16352 if test "${ac_cv_header_stdc+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 else
16355 cat >conftest.$ac_ext <<_ACEOF
16356 /* confdefs.h. */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 #include <stdlib.h>
16362 #include <stdarg.h>
16363 #include <string.h>
16364 #include <float.h>
16365
16366 int
16367 main ()
16368 {
16369
16370 ;
16371 return 0;
16372 }
16373 _ACEOF
16374 rm -f conftest.$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16377 ac_status=$?
16378 grep -v '^ *+' conftest.er1 >conftest.err
16379 rm -f conftest.er1
16380 cat conftest.err >&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_header_stdc=yes
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16399
16400 ac_cv_header_stdc=no
16401 fi
16402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16403
16404 if test $ac_cv_header_stdc = yes; then
16405 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16406 cat >conftest.$ac_ext <<_ACEOF
16407 /* confdefs.h. */
16408 _ACEOF
16409 cat confdefs.h >>conftest.$ac_ext
16410 cat >>conftest.$ac_ext <<_ACEOF
16411 /* end confdefs.h. */
16412 #include <string.h>
16413
16414 _ACEOF
16415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16416 $EGREP "memchr" >/dev/null 2>&1; then
16417 :
16418 else
16419 ac_cv_header_stdc=no
16420 fi
16421 rm -f conftest*
16422
16423 fi
16424
16425 if test $ac_cv_header_stdc = yes; then
16426 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16427 cat >conftest.$ac_ext <<_ACEOF
16428 /* confdefs.h. */
16429 _ACEOF
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 #include <stdlib.h>
16434
16435 _ACEOF
16436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16437 $EGREP "free" >/dev/null 2>&1; then
16438 :
16439 else
16440 ac_cv_header_stdc=no
16441 fi
16442 rm -f conftest*
16443
16444 fi
16445
16446 if test $ac_cv_header_stdc = yes; then
16447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16448 if test "$cross_compiling" = yes; then
16449 :
16450 else
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <ctype.h>
16458 #if ((' ' & 0x0FF) == 0x020)
16459 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16460 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16461 #else
16462 # define ISLOWER(c) \
16463 (('a' <= (c) && (c) <= 'i') \
16464 || ('j' <= (c) && (c) <= 'r') \
16465 || ('s' <= (c) && (c) <= 'z'))
16466 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16467 #endif
16468
16469 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16470 int
16471 main ()
16472 {
16473 int i;
16474 for (i = 0; i < 256; i++)
16475 if (XOR (islower (i), ISLOWER (i))
16476 || toupper (i) != TOUPPER (i))
16477 exit(2);
16478 exit (0);
16479 }
16480 _ACEOF
16481 rm -f conftest$ac_exeext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16483 (eval $ac_link) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16488 (eval $ac_try) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); }; }; then
16492 :
16493 else
16494 echo "$as_me: program exited with status $ac_status" >&5
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16497
16498 ( exit $ac_status )
16499 ac_cv_header_stdc=no
16500 fi
16501 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16502 fi
16503 fi
16504 fi
16505 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16506 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16507 if test $ac_cv_header_stdc = yes; then
16508
16509 cat >>confdefs.h <<\_ACEOF
16510 #define STDC_HEADERS 1
16511 _ACEOF
16512
16513 fi
16514
16515 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16526 inttypes.h stdint.h unistd.h
16527 do
16528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16529 echo "$as_me:$LINENO: checking for $ac_header" >&5
16530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 else
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16541
16542 #include <$ac_header>
16543 _ACEOF
16544 rm -f conftest.$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>conftest.er1
16547 ac_status=$?
16548 grep -v '^ *+' conftest.er1 >conftest.err
16549 rm -f conftest.er1
16550 cat conftest.err >&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } &&
16553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565 eval "$as_ac_Header=yes"
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 eval "$as_ac_Header=no"
16571 fi
16572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16573 fi
16574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16577 cat >>confdefs.h <<_ACEOF
16578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16579 _ACEOF
16580
16581 fi
16582
16583 done
16584
16585
16586
16587 for ac_header in stdlib.h
16588 do
16589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16591 echo "$as_me:$LINENO: checking for $ac_header" >&5
16592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 fi
16596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16598 else
16599 # Is the header compilable?
16600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16602 cat >conftest.$ac_ext <<_ACEOF
16603 /* confdefs.h. */
16604 _ACEOF
16605 cat confdefs.h >>conftest.$ac_ext
16606 cat >>conftest.$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16608 $ac_includes_default
16609 #include <$ac_header>
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; } &&
16626 { ac_try='test -s conftest.$ac_objext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16629 ac_status=$?
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_header_compiler=yes
16633 else
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16636
16637 ac_header_compiler=no
16638 fi
16639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16641 echo "${ECHO_T}$ac_header_compiler" >&6
16642
16643 # Is the header present?
16644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16645 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
16653 _ACEOF
16654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16656 ac_status=$?
16657 grep -v '^ *+' conftest.er1 >conftest.err
16658 rm -f conftest.er1
16659 cat conftest.err >&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } >/dev/null; then
16662 if test -s conftest.err; then
16663 ac_cpp_err=$ac_cxx_preproc_warn_flag
16664 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16665 else
16666 ac_cpp_err=
16667 fi
16668 else
16669 ac_cpp_err=yes
16670 fi
16671 if test -z "$ac_cpp_err"; then
16672 ac_header_preproc=yes
16673 else
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.$ac_ext >&5
16676
16677 ac_header_preproc=no
16678 fi
16679 rm -f conftest.err conftest.$ac_ext
16680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16681 echo "${ECHO_T}$ac_header_preproc" >&6
16682
16683 # So? What about this header?
16684 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16685 yes:no: )
16686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16690 ac_header_preproc=yes
16691 ;;
16692 no:yes:* )
16693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16705 (
16706 cat <<\_ASBOX
16707 ## ----------------------------------------- ##
16708 ## Report this to wx-dev@lists.wxwidgets.org ##
16709 ## ----------------------------------------- ##
16710 _ASBOX
16711 ) |
16712 sed "s/^/$as_me: WARNING: /" >&2
16713 ;;
16714 esac
16715 echo "$as_me:$LINENO: checking for $ac_header" >&5
16716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 else
16720 eval "$as_ac_Header=\$ac_header_preproc"
16721 fi
16722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16724
16725 fi
16726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16727 cat >>confdefs.h <<_ACEOF
16728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16729 _ACEOF
16730
16731 fi
16732
16733 done
16734
16735
16736 for ac_header in malloc.h
16737 do
16738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16740 echo "$as_me:$LINENO: checking for $ac_header" >&5
16741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16743 echo $ECHO_N "(cached) $ECHO_C" >&6
16744 fi
16745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16747 else
16748 # Is the header compilable?
16749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16751 cat >conftest.$ac_ext <<_ACEOF
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 $ac_includes_default
16758 #include <$ac_header>
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762 (eval $ac_compile) 2>conftest.er1
16763 ac_status=$?
16764 grep -v '^ *+' conftest.er1 >conftest.err
16765 rm -f conftest.er1
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; } &&
16775 { ac_try='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_header_compiler=yes
16782 else
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16785
16786 ac_header_compiler=no
16787 fi
16788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16790 echo "${ECHO_T}$ac_header_compiler" >&6
16791
16792 # Is the header present?
16793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16795 cat >conftest.$ac_ext <<_ACEOF
16796 /* confdefs.h. */
16797 _ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 #include <$ac_header>
16802 _ACEOF
16803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16805 ac_status=$?
16806 grep -v '^ *+' conftest.er1 >conftest.err
16807 rm -f conftest.er1
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } >/dev/null; then
16811 if test -s conftest.err; then
16812 ac_cpp_err=$ac_cxx_preproc_warn_flag
16813 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16814 else
16815 ac_cpp_err=
16816 fi
16817 else
16818 ac_cpp_err=yes
16819 fi
16820 if test -z "$ac_cpp_err"; then
16821 ac_header_preproc=yes
16822 else
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.$ac_ext >&5
16825
16826 ac_header_preproc=no
16827 fi
16828 rm -f conftest.err conftest.$ac_ext
16829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16830 echo "${ECHO_T}$ac_header_preproc" >&6
16831
16832 # So? What about this header?
16833 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16834 yes:no: )
16835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16838 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16839 ac_header_preproc=yes
16840 ;;
16841 no:yes:* )
16842 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16843 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16845 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16846 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16847 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16848 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16849 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16852 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16853 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16854 (
16855 cat <<\_ASBOX
16856 ## ----------------------------------------- ##
16857 ## Report this to wx-dev@lists.wxwidgets.org ##
16858 ## ----------------------------------------- ##
16859 _ASBOX
16860 ) |
16861 sed "s/^/$as_me: WARNING: /" >&2
16862 ;;
16863 esac
16864 echo "$as_me:$LINENO: checking for $ac_header" >&5
16865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 else
16869 eval "$as_ac_Header=\$ac_header_preproc"
16870 fi
16871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16873
16874 fi
16875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16876 cat >>confdefs.h <<_ACEOF
16877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16878 _ACEOF
16879
16880 fi
16881
16882 done
16883
16884
16885 for ac_header in unistd.h
16886 do
16887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16889 echo "$as_me:$LINENO: checking for $ac_header" >&5
16890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 fi
16894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16896 else
16897 # Is the header compilable?
16898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16900 cat >conftest.$ac_ext <<_ACEOF
16901 /* confdefs.h. */
16902 _ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 $ac_includes_default
16907 #include <$ac_header>
16908 _ACEOF
16909 rm -f conftest.$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16912 ac_status=$?
16913 grep -v '^ *+' conftest.er1 >conftest.err
16914 rm -f conftest.er1
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try='test -s conftest.$ac_objext'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; }; then
16930 ac_header_compiler=yes
16931 else
16932 echo "$as_me: failed program was:" >&5
16933 sed 's/^/| /' conftest.$ac_ext >&5
16934
16935 ac_header_compiler=no
16936 fi
16937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16939 echo "${ECHO_T}$ac_header_compiler" >&6
16940
16941 # Is the header present?
16942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 #include <$ac_header>
16951 _ACEOF
16952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16954 ac_status=$?
16955 grep -v '^ *+' conftest.er1 >conftest.err
16956 rm -f conftest.er1
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } >/dev/null; then
16960 if test -s conftest.err; then
16961 ac_cpp_err=$ac_cxx_preproc_warn_flag
16962 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16963 else
16964 ac_cpp_err=
16965 fi
16966 else
16967 ac_cpp_err=yes
16968 fi
16969 if test -z "$ac_cpp_err"; then
16970 ac_header_preproc=yes
16971 else
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16974
16975 ac_header_preproc=no
16976 fi
16977 rm -f conftest.err conftest.$ac_ext
16978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16979 echo "${ECHO_T}$ac_header_preproc" >&6
16980
16981 # So? What about this header?
16982 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16983 yes:no: )
16984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16988 ac_header_preproc=yes
16989 ;;
16990 no:yes:* )
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17003 (
17004 cat <<\_ASBOX
17005 ## ----------------------------------------- ##
17006 ## Report this to wx-dev@lists.wxwidgets.org ##
17007 ## ----------------------------------------- ##
17008 _ASBOX
17009 ) |
17010 sed "s/^/$as_me: WARNING: /" >&2
17011 ;;
17012 esac
17013 echo "$as_me:$LINENO: checking for $ac_header" >&5
17014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 else
17018 eval "$as_ac_Header=\$ac_header_preproc"
17019 fi
17020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17022
17023 fi
17024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17025 cat >>confdefs.h <<_ACEOF
17026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17027 _ACEOF
17028
17029 fi
17030
17031 done
17032
17033
17034 for ac_header in wchar.h
17035 do
17036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17038 echo "$as_me:$LINENO: checking for $ac_header" >&5
17039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 fi
17043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17045 else
17046 # Is the header compilable?
17047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17056 #include <$ac_header>
17057 _ACEOF
17058 rm -f conftest.$ac_objext
17059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17060 (eval $ac_compile) 2>conftest.er1
17061 ac_status=$?
17062 grep -v '^ *+' conftest.er1 >conftest.err
17063 rm -f conftest.er1
17064 cat conftest.err >&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } &&
17067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17070 ac_status=$?
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; } &&
17073 { ac_try='test -s conftest.$ac_objext'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 ac_header_compiler=yes
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17083
17084 ac_header_compiler=no
17085 fi
17086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17088 echo "${ECHO_T}$ac_header_compiler" >&6
17089
17090 # Is the header present?
17091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17093 cat >conftest.$ac_ext <<_ACEOF
17094 /* confdefs.h. */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 #include <$ac_header>
17100 _ACEOF
17101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17103 ac_status=$?
17104 grep -v '^ *+' conftest.er1 >conftest.err
17105 rm -f conftest.er1
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } >/dev/null; then
17109 if test -s conftest.err; then
17110 ac_cpp_err=$ac_cxx_preproc_warn_flag
17111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17112 else
17113 ac_cpp_err=
17114 fi
17115 else
17116 ac_cpp_err=yes
17117 fi
17118 if test -z "$ac_cpp_err"; then
17119 ac_header_preproc=yes
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 ac_header_preproc=no
17125 fi
17126 rm -f conftest.err conftest.$ac_ext
17127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17128 echo "${ECHO_T}$ac_header_preproc" >&6
17129
17130 # So? What about this header?
17131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17132 yes:no: )
17133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17137 ac_header_preproc=yes
17138 ;;
17139 no:yes:* )
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17152 (
17153 cat <<\_ASBOX
17154 ## ----------------------------------------- ##
17155 ## Report this to wx-dev@lists.wxwidgets.org ##
17156 ## ----------------------------------------- ##
17157 _ASBOX
17158 ) |
17159 sed "s/^/$as_me: WARNING: /" >&2
17160 ;;
17161 esac
17162 echo "$as_me:$LINENO: checking for $ac_header" >&5
17163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17165 echo $ECHO_N "(cached) $ECHO_C" >&6
17166 else
17167 eval "$as_ac_Header=\$ac_header_preproc"
17168 fi
17169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17171
17172 fi
17173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17174 cat >>confdefs.h <<_ACEOF
17175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17176 _ACEOF
17177
17178 fi
17179
17180 done
17181
17182
17183 if test "$ac_cv_header_wchar_h" != "yes"; then
17184
17185 for ac_header in wcstr.h
17186 do
17187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17189 echo "$as_me:$LINENO: checking for $ac_header" >&5
17190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 fi
17194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17196 else
17197 # Is the header compilable?
17198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17200 cat >conftest.$ac_ext <<_ACEOF
17201 /* confdefs.h. */
17202 _ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17206 $ac_includes_default
17207 #include <$ac_header>
17208 _ACEOF
17209 rm -f conftest.$ac_objext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17211 (eval $ac_compile) 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try='test -s conftest.$ac_objext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17227 ac_status=$?
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17230 ac_header_compiler=yes
17231 else
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.$ac_ext >&5
17234
17235 ac_header_compiler=no
17236 fi
17237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17239 echo "${ECHO_T}$ac_header_compiler" >&6
17240
17241 # Is the header present?
17242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17244 cat >conftest.$ac_ext <<_ACEOF
17245 /* confdefs.h. */
17246 _ACEOF
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17250 #include <$ac_header>
17251 _ACEOF
17252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } >/dev/null; then
17260 if test -s conftest.err; then
17261 ac_cpp_err=$ac_cxx_preproc_warn_flag
17262 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17263 else
17264 ac_cpp_err=
17265 fi
17266 else
17267 ac_cpp_err=yes
17268 fi
17269 if test -z "$ac_cpp_err"; then
17270 ac_header_preproc=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275 ac_header_preproc=no
17276 fi
17277 rm -f conftest.err conftest.$ac_ext
17278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17279 echo "${ECHO_T}$ac_header_preproc" >&6
17280
17281 # So? What about this header?
17282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17283 yes:no: )
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17288 ac_header_preproc=yes
17289 ;;
17290 no:yes:* )
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17303 (
17304 cat <<\_ASBOX
17305 ## ----------------------------------------- ##
17306 ## Report this to wx-dev@lists.wxwidgets.org ##
17307 ## ----------------------------------------- ##
17308 _ASBOX
17309 ) |
17310 sed "s/^/$as_me: WARNING: /" >&2
17311 ;;
17312 esac
17313 echo "$as_me:$LINENO: checking for $ac_header" >&5
17314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else
17318 eval "$as_ac_Header=\$ac_header_preproc"
17319 fi
17320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17322
17323 fi
17324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17325 cat >>confdefs.h <<_ACEOF
17326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17327 _ACEOF
17328
17329 fi
17330
17331 done
17332
17333 fi
17334
17335
17336 for ac_header in fnmatch.h
17337 do
17338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17340 echo "$as_me:$LINENO: checking for $ac_header" >&5
17341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 fi
17345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17347 else
17348 # Is the header compilable?
17349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 #include <$ac_header>
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>conftest.er1
17363 ac_status=$?
17364 grep -v '^ *+' conftest.er1 >conftest.err
17365 rm -f conftest.er1
17366 cat conftest.err >&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); } &&
17369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17371 (eval $ac_try) 2>&5
17372 ac_status=$?
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } &&
17375 { ac_try='test -s conftest.$ac_objext'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17378 ac_status=$?
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; }; then
17381 ac_header_compiler=yes
17382 else
17383 echo "$as_me: failed program was:" >&5
17384 sed 's/^/| /' conftest.$ac_ext >&5
17385
17386 ac_header_compiler=no
17387 fi
17388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17390 echo "${ECHO_T}$ac_header_compiler" >&6
17391
17392 # Is the header present?
17393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 #include <$ac_header>
17402 _ACEOF
17403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } >/dev/null; then
17411 if test -s conftest.err; then
17412 ac_cpp_err=$ac_cxx_preproc_warn_flag
17413 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17414 else
17415 ac_cpp_err=
17416 fi
17417 else
17418 ac_cpp_err=yes
17419 fi
17420 if test -z "$ac_cpp_err"; then
17421 ac_header_preproc=yes
17422 else
17423 echo "$as_me: failed program was:" >&5
17424 sed 's/^/| /' conftest.$ac_ext >&5
17425
17426 ac_header_preproc=no
17427 fi
17428 rm -f conftest.err conftest.$ac_ext
17429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17430 echo "${ECHO_T}$ac_header_preproc" >&6
17431
17432 # So? What about this header?
17433 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17434 yes:no: )
17435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17439 ac_header_preproc=yes
17440 ;;
17441 no:yes:* )
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17454 (
17455 cat <<\_ASBOX
17456 ## ----------------------------------------- ##
17457 ## Report this to wx-dev@lists.wxwidgets.org ##
17458 ## ----------------------------------------- ##
17459 _ASBOX
17460 ) |
17461 sed "s/^/$as_me: WARNING: /" >&2
17462 ;;
17463 esac
17464 echo "$as_me:$LINENO: checking for $ac_header" >&5
17465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17467 echo $ECHO_N "(cached) $ECHO_C" >&6
17468 else
17469 eval "$as_ac_Header=\$ac_header_preproc"
17470 fi
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17473
17474 fi
17475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17476 cat >>confdefs.h <<_ACEOF
17477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17478 _ACEOF
17479
17480 fi
17481
17482 done
17483
17484
17485
17486 for ac_header in langinfo.h
17487 do
17488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 fi
17495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17497 else
17498 # Is the header compilable?
17499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h. */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17508 #include <$ac_header>
17509 _ACEOF
17510 rm -f conftest.$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17513 ac_status=$?
17514 grep -v '^ *+' conftest.er1 >conftest.err
17515 rm -f conftest.er1
17516 cat conftest.err >&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17521 (eval $ac_try) 2>&5
17522 ac_status=$?
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); }; } &&
17525 { ac_try='test -s conftest.$ac_objext'
17526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17527 (eval $ac_try) 2>&5
17528 ac_status=$?
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); }; }; then
17531 ac_header_compiler=yes
17532 else
17533 echo "$as_me: failed program was:" >&5
17534 sed 's/^/| /' conftest.$ac_ext >&5
17535
17536 ac_header_compiler=no
17537 fi
17538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17540 echo "${ECHO_T}$ac_header_compiler" >&6
17541
17542 # Is the header present?
17543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 #include <$ac_header>
17552 _ACEOF
17553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17554 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
17561 if test -s conftest.err; then
17562 ac_cpp_err=$ac_cxx_preproc_warn_flag
17563 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17564 else
17565 ac_cpp_err=
17566 fi
17567 else
17568 ac_cpp_err=yes
17569 fi
17570 if test -z "$ac_cpp_err"; then
17571 ac_header_preproc=yes
17572 else
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17575
17576 ac_header_preproc=no
17577 fi
17578 rm -f conftest.err conftest.$ac_ext
17579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17580 echo "${ECHO_T}$ac_header_preproc" >&6
17581
17582 # So? What about this header?
17583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17584 yes:no: )
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17589 ac_header_preproc=yes
17590 ;;
17591 no:yes:* )
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17604 (
17605 cat <<\_ASBOX
17606 ## ----------------------------------------- ##
17607 ## Report this to wx-dev@lists.wxwidgets.org ##
17608 ## ----------------------------------------- ##
17609 _ASBOX
17610 ) |
17611 sed "s/^/$as_me: WARNING: /" >&2
17612 ;;
17613 esac
17614 echo "$as_me:$LINENO: checking for $ac_header" >&5
17615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 else
17619 eval "$as_ac_Header=\$ac_header_preproc"
17620 fi
17621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17623
17624 fi
17625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17626 cat >>confdefs.h <<_ACEOF
17627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17628 _ACEOF
17629
17630 fi
17631
17632 done
17633
17634
17635 case "${host}" in
17636 *-pc-os2_emx | *-pc-os2-emx )
17637 if test $ac_cv_header_langinfo_h = "yes" \
17638 -a \( "$wx_cv_gccversion" = "EMX2" \
17639 -o "$wx_cv_gccversion" = "EMX3" \
17640 -o "$wx_cv_gccversion" = "Innotek5" \); then
17641 LIBS="$LIBS -lintl"
17642 fi
17643 ;;
17644 esac
17645
17646 if test "$USE_UNIX" = 1 ; then
17647
17648 for ac_header in sys/select.h
17649 do
17650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17652 echo "$as_me:$LINENO: checking for $ac_header" >&5
17653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17655 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 fi
17657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17659 else
17660 # Is the header compilable?
17661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17663 cat >conftest.$ac_ext <<_ACEOF
17664 /* confdefs.h. */
17665 _ACEOF
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17670 #include <$ac_header>
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17674 (eval $ac_compile) 2>conftest.er1
17675 ac_status=$?
17676 grep -v '^ *+' conftest.er1 >conftest.err
17677 rm -f conftest.er1
17678 cat conftest.err >&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; } &&
17687 { ac_try='test -s conftest.$ac_objext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_header_compiler=yes
17694 else
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17697
17698 ac_header_compiler=no
17699 fi
17700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17702 echo "${ECHO_T}$ac_header_compiler" >&6
17703
17704 # Is the header present?
17705 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 #include <$ac_header>
17714 _ACEOF
17715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } >/dev/null; then
17723 if test -s conftest.err; then
17724 ac_cpp_err=$ac_cxx_preproc_warn_flag
17725 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17726 else
17727 ac_cpp_err=
17728 fi
17729 else
17730 ac_cpp_err=yes
17731 fi
17732 if test -z "$ac_cpp_err"; then
17733 ac_header_preproc=yes
17734 else
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17737
17738 ac_header_preproc=no
17739 fi
17740 rm -f conftest.err conftest.$ac_ext
17741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17742 echo "${ECHO_T}$ac_header_preproc" >&6
17743
17744 # So? What about this header?
17745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17746 yes:no: )
17747 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17748 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17749 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17751 ac_header_preproc=yes
17752 ;;
17753 no:yes:* )
17754 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17755 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17756 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17757 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17758 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17759 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17760 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17761 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17765 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17766 (
17767 cat <<\_ASBOX
17768 ## ----------------------------------------- ##
17769 ## Report this to wx-dev@lists.wxwidgets.org ##
17770 ## ----------------------------------------- ##
17771 _ASBOX
17772 ) |
17773 sed "s/^/$as_me: WARNING: /" >&2
17774 ;;
17775 esac
17776 echo "$as_me:$LINENO: checking for $ac_header" >&5
17777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17779 echo $ECHO_N "(cached) $ECHO_C" >&6
17780 else
17781 eval "$as_ac_Header=\$ac_header_preproc"
17782 fi
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17785
17786 fi
17787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17788 cat >>confdefs.h <<_ACEOF
17789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17790 _ACEOF
17791
17792 fi
17793
17794 done
17795
17796 fi
17797
17798
17799 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17800 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17801 if test "${ac_cv_c_const+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 else
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810
17811 int
17812 main ()
17813 {
17814 /* FIXME: Include the comments suggested by Paul. */
17815 #ifndef __cplusplus
17816 /* Ultrix mips cc rejects this. */
17817 typedef int charset[2];
17818 const charset x;
17819 /* SunOS 4.1.1 cc rejects this. */
17820 char const *const *ccp;
17821 char **p;
17822 /* NEC SVR4.0.2 mips cc rejects this. */
17823 struct point {int x, y;};
17824 static struct point const zero = {0,0};
17825 /* AIX XL C 1.02.0.0 rejects this.
17826 It does not let you subtract one const X* pointer from another in
17827 an arm of an if-expression whose if-part is not a constant
17828 expression */
17829 const char *g = "string";
17830 ccp = &g + (g ? g-g : 0);
17831 /* HPUX 7.0 cc rejects these. */
17832 ++ccp;
17833 p = (char**) ccp;
17834 ccp = (char const *const *) p;
17835 { /* SCO 3.2v4 cc rejects this. */
17836 char *t;
17837 char const *s = 0 ? (char *) 0 : (char const *) 0;
17838
17839 *t++ = 0;
17840 }
17841 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17842 int x[] = {25, 17};
17843 const int *foo = &x[0];
17844 ++foo;
17845 }
17846 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17847 typedef const int *iptr;
17848 iptr p = 0;
17849 ++p;
17850 }
17851 { /* AIX XL C 1.02.0.0 rejects this saying
17852 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17853 struct s { int j; const int *ap[3]; };
17854 struct s *b; b->j = 5;
17855 }
17856 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17857 const int foo = 10;
17858 }
17859 #endif
17860
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 rm -f conftest.$ac_objext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17867 (eval $ac_compile) 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17883 ac_status=$?
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17886 ac_cv_c_const=yes
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17890
17891 ac_cv_c_const=no
17892 fi
17893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17894 fi
17895 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17896 echo "${ECHO_T}$ac_cv_c_const" >&6
17897 if test $ac_cv_c_const = no; then
17898
17899 cat >>confdefs.h <<\_ACEOF
17900 #define const
17901 _ACEOF
17902
17903 fi
17904
17905 echo "$as_me:$LINENO: checking for inline" >&5
17906 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17907 if test "${ac_cv_c_inline+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910 ac_cv_c_inline=no
17911 for ac_kw in inline __inline__ __inline; do
17912 cat >conftest.$ac_ext <<_ACEOF
17913 /* confdefs.h. */
17914 _ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 #ifndef __cplusplus
17919 typedef int foo_t;
17920 static $ac_kw foo_t static_foo () {return 0; }
17921 $ac_kw foo_t foo () {return 0; }
17922 #endif
17923
17924 _ACEOF
17925 rm -f conftest.$ac_objext
17926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 (eval $ac_compile) 2>conftest.er1
17928 ac_status=$?
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
17934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17943 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 ac_cv_c_inline=$ac_kw; break
17947 else
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17950
17951 fi
17952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17953 done
17954
17955 fi
17956 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17957 echo "${ECHO_T}$ac_cv_c_inline" >&6
17958
17959
17960 case $ac_cv_c_inline in
17961 inline | yes) ;;
17962 *)
17963 case $ac_cv_c_inline in
17964 no) ac_val=;;
17965 *) ac_val=$ac_cv_c_inline;;
17966 esac
17967 cat >>confdefs.h <<_ACEOF
17968 #ifndef __cplusplus
17969 #define inline $ac_val
17970 #endif
17971 _ACEOF
17972 ;;
17973 esac
17974
17975
17976 echo "$as_me:$LINENO: checking for char" >&5
17977 echo $ECHO_N "checking for char... $ECHO_C" >&6
17978 if test "${ac_cv_type_char+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987 $ac_includes_default
17988 int
17989 main ()
17990 {
17991 if ((char *) 0)
17992 return 0;
17993 if (sizeof (char))
17994 return 0;
17995 ;
17996 return 0;
17997 }
17998 _ACEOF
17999 rm -f conftest.$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>conftest.er1
18002 ac_status=$?
18003 grep -v '^ *+' conftest.er1 >conftest.err
18004 rm -f conftest.er1
18005 cat conftest.err >&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } &&
18008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 ac_cv_type_char=yes
18021 else
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18024
18025 ac_cv_type_char=no
18026 fi
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028 fi
18029 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18030 echo "${ECHO_T}$ac_cv_type_char" >&6
18031
18032 echo "$as_me:$LINENO: checking size of char" >&5
18033 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18034 if test "${ac_cv_sizeof_char+set}" = set; then
18035 echo $ECHO_N "(cached) $ECHO_C" >&6
18036 else
18037 if test "$ac_cv_type_char" = yes; then
18038 # The cast to unsigned long works around a bug in the HP C Compiler
18039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18041 # This bug is HP SR number 8606223364.
18042 if test "$cross_compiling" = yes; then
18043 # Depending upon the size, compute the lo and hi bounds.
18044 cat >conftest.$ac_ext <<_ACEOF
18045 /* confdefs.h. */
18046 _ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18050 $ac_includes_default
18051 int
18052 main ()
18053 {
18054 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18055 test_array [0] = 0
18056
18057 ;
18058 return 0;
18059 }
18060 _ACEOF
18061 rm -f conftest.$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18064 ac_status=$?
18065 grep -v '^ *+' conftest.er1 >conftest.err
18066 rm -f conftest.er1
18067 cat conftest.err >&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18073 ac_status=$?
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; } &&
18076 { ac_try='test -s conftest.$ac_objext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18079 ac_status=$?
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 ac_lo=0 ac_mid=0
18083 while :; do
18084 cat >conftest.$ac_ext <<_ACEOF
18085 /* confdefs.h. */
18086 _ACEOF
18087 cat confdefs.h >>conftest.$ac_ext
18088 cat >>conftest.$ac_ext <<_ACEOF
18089 /* end confdefs.h. */
18090 $ac_includes_default
18091 int
18092 main ()
18093 {
18094 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18095 test_array [0] = 0
18096
18097 ;
18098 return 0;
18099 }
18100 _ACEOF
18101 rm -f conftest.$ac_objext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18103 (eval $ac_compile) 2>conftest.er1
18104 ac_status=$?
18105 grep -v '^ *+' conftest.er1 >conftest.err
18106 rm -f conftest.er1
18107 cat conftest.err >&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112 (eval $ac_try) 2>&5
18113 ac_status=$?
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; } &&
18116 { ac_try='test -s conftest.$ac_objext'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; }; then
18122 ac_hi=$ac_mid; break
18123 else
18124 echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.$ac_ext >&5
18126
18127 ac_lo=`expr $ac_mid + 1`
18128 if test $ac_lo -le $ac_mid; then
18129 ac_lo= ac_hi=
18130 break
18131 fi
18132 ac_mid=`expr 2 '*' $ac_mid + 1`
18133 fi
18134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18135 done
18136 else
18137 echo "$as_me: failed program was:" >&5
18138 sed 's/^/| /' conftest.$ac_ext >&5
18139
18140 cat >conftest.$ac_ext <<_ACEOF
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18147 int
18148 main ()
18149 {
18150 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18151 test_array [0] = 0
18152
18153 ;
18154 return 0;
18155 }
18156 _ACEOF
18157 rm -f conftest.$ac_objext
18158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18159 (eval $ac_compile) 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } &&
18166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; } &&
18172 { ac_try='test -s conftest.$ac_objext'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18175 ac_status=$?
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; }; then
18178 ac_hi=-1 ac_mid=-1
18179 while :; do
18180 cat >conftest.$ac_ext <<_ACEOF
18181 /* confdefs.h. */
18182 _ACEOF
18183 cat confdefs.h >>conftest.$ac_ext
18184 cat >>conftest.$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 $ac_includes_default
18187 int
18188 main ()
18189 {
18190 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18191 test_array [0] = 0
18192
18193 ;
18194 return 0;
18195 }
18196 _ACEOF
18197 rm -f conftest.$ac_objext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18199 (eval $ac_compile) 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18209 ac_status=$?
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; } &&
18212 { ac_try='test -s conftest.$ac_objext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 ac_lo=$ac_mid; break
18219 else
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18222
18223 ac_hi=`expr '(' $ac_mid ')' - 1`
18224 if test $ac_mid -le $ac_hi; then
18225 ac_lo= ac_hi=
18226 break
18227 fi
18228 ac_mid=`expr 2 '*' $ac_mid`
18229 fi
18230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18231 done
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 ac_lo= ac_hi=
18237 fi
18238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18239 fi
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18241 # Binary search between lo and hi bounds.
18242 while test "x$ac_lo" != "x$ac_hi"; do
18243 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18244 cat >conftest.$ac_ext <<_ACEOF
18245 /* confdefs.h. */
18246 _ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 $ac_includes_default
18251 int
18252 main ()
18253 {
18254 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18255 test_array [0] = 0
18256
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18264 ac_status=$?
18265 grep -v '^ *+' conftest.er1 >conftest.err
18266 rm -f conftest.er1
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_hi=$ac_mid
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 ac_lo=`expr '(' $ac_mid ')' + 1`
18288 fi
18289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18290 done
18291 case $ac_lo in
18292 ?*) ac_cv_sizeof_char=$ac_lo;;
18293 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18294 See \`config.log' for more details." >&5
18295 echo "$as_me: error: cannot compute sizeof (char), 77
18296 See \`config.log' for more details." >&2;}
18297 { (exit 1); exit 1; }; } ;;
18298 esac
18299 else
18300 if test "$cross_compiling" = yes; then
18301 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18302 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18303 { (exit 1); exit 1; }; }
18304 else
18305 cat >conftest.$ac_ext <<_ACEOF
18306 /* confdefs.h. */
18307 _ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311 $ac_includes_default
18312 long longval () { return (long) (sizeof (char)); }
18313 unsigned long ulongval () { return (long) (sizeof (char)); }
18314 #include <stdio.h>
18315 #include <stdlib.h>
18316 int
18317 main ()
18318 {
18319
18320 FILE *f = fopen ("conftest.val", "w");
18321 if (! f)
18322 exit (1);
18323 if (((long) (sizeof (char))) < 0)
18324 {
18325 long i = longval ();
18326 if (i != ((long) (sizeof (char))))
18327 exit (1);
18328 fprintf (f, "%ld\n", i);
18329 }
18330 else
18331 {
18332 unsigned long i = ulongval ();
18333 if (i != ((long) (sizeof (char))))
18334 exit (1);
18335 fprintf (f, "%lu\n", i);
18336 }
18337 exit (ferror (f) || fclose (f) != 0);
18338
18339 ;
18340 return 0;
18341 }
18342 _ACEOF
18343 rm -f conftest$ac_exeext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18345 (eval $ac_link) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18350 (eval $ac_try) 2>&5
18351 ac_status=$?
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); }; }; then
18354 ac_cv_sizeof_char=`cat conftest.val`
18355 else
18356 echo "$as_me: program exited with status $ac_status" >&5
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18359
18360 ( exit $ac_status )
18361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18362 See \`config.log' for more details." >&5
18363 echo "$as_me: error: cannot compute sizeof (char), 77
18364 See \`config.log' for more details." >&2;}
18365 { (exit 1); exit 1; }; }
18366 fi
18367 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18368 fi
18369 fi
18370 rm -f conftest.val
18371 else
18372 ac_cv_sizeof_char=0
18373 fi
18374 fi
18375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18376 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18377 cat >>confdefs.h <<_ACEOF
18378 #define SIZEOF_CHAR $ac_cv_sizeof_char
18379 _ACEOF
18380
18381
18382 echo "$as_me:$LINENO: checking for short" >&5
18383 echo $ECHO_N "checking for short... $ECHO_C" >&6
18384 if test "${ac_cv_type_short+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 $ac_includes_default
18394 int
18395 main ()
18396 {
18397 if ((short *) 0)
18398 return 0;
18399 if (sizeof (short))
18400 return 0;
18401 ;
18402 return 0;
18403 }
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18407 (eval $ac_compile) 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } &&
18414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18417 ac_status=$?
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; } &&
18420 { ac_try='test -s conftest.$ac_objext'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18423 ac_status=$?
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; }; then
18426 ac_cv_type_short=yes
18427 else
18428 echo "$as_me: failed program was:" >&5
18429 sed 's/^/| /' conftest.$ac_ext >&5
18430
18431 ac_cv_type_short=no
18432 fi
18433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18434 fi
18435 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18436 echo "${ECHO_T}$ac_cv_type_short" >&6
18437
18438 echo "$as_me:$LINENO: checking size of short" >&5
18439 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18440 if test "${ac_cv_sizeof_short+set}" = set; then
18441 echo $ECHO_N "(cached) $ECHO_C" >&6
18442 else
18443 if test "$ac_cv_type_short" = yes; then
18444 # The cast to unsigned long works around a bug in the HP C Compiler
18445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18447 # This bug is HP SR number 8606223364.
18448 if test "$cross_compiling" = yes; then
18449 # Depending upon the size, compute the lo and hi bounds.
18450 cat >conftest.$ac_ext <<_ACEOF
18451 /* confdefs.h. */
18452 _ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456 $ac_includes_default
18457 int
18458 main ()
18459 {
18460 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18461 test_array [0] = 0
18462
18463 ;
18464 return 0;
18465 }
18466 _ACEOF
18467 rm -f conftest.$ac_objext
18468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18469 (eval $ac_compile) 2>conftest.er1
18470 ac_status=$?
18471 grep -v '^ *+' conftest.er1 >conftest.err
18472 rm -f conftest.er1
18473 cat conftest.err >&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); } &&
18476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18485 ac_status=$?
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 ac_lo=0 ac_mid=0
18489 while :; do
18490 cat >conftest.$ac_ext <<_ACEOF
18491 /* confdefs.h. */
18492 _ACEOF
18493 cat confdefs.h >>conftest.$ac_ext
18494 cat >>conftest.$ac_ext <<_ACEOF
18495 /* end confdefs.h. */
18496 $ac_includes_default
18497 int
18498 main ()
18499 {
18500 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18501 test_array [0] = 0
18502
18503 ;
18504 return 0;
18505 }
18506 _ACEOF
18507 rm -f conftest.$ac_objext
18508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18509 (eval $ac_compile) 2>conftest.er1
18510 ac_status=$?
18511 grep -v '^ *+' conftest.er1 >conftest.err
18512 rm -f conftest.er1
18513 cat conftest.err >&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } &&
18516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; } &&
18522 { ac_try='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_hi=$ac_mid; break
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 ac_lo=`expr $ac_mid + 1`
18534 if test $ac_lo -le $ac_mid; then
18535 ac_lo= ac_hi=
18536 break
18537 fi
18538 ac_mid=`expr 2 '*' $ac_mid + 1`
18539 fi
18540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18541 done
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18553 int
18554 main ()
18555 {
18556 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18557 test_array [0] = 0
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; } &&
18578 { ac_try='test -s conftest.$ac_objext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18581 ac_status=$?
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18584 ac_hi=-1 ac_mid=-1
18585 while :; do
18586 cat >conftest.$ac_ext <<_ACEOF
18587 /* confdefs.h. */
18588 _ACEOF
18589 cat confdefs.h >>conftest.$ac_ext
18590 cat >>conftest.$ac_ext <<_ACEOF
18591 /* end confdefs.h. */
18592 $ac_includes_default
18593 int
18594 main ()
18595 {
18596 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18597 test_array [0] = 0
18598
18599 ;
18600 return 0;
18601 }
18602 _ACEOF
18603 rm -f conftest.$ac_objext
18604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18605 (eval $ac_compile) 2>conftest.er1
18606 ac_status=$?
18607 grep -v '^ *+' conftest.er1 >conftest.err
18608 rm -f conftest.er1
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } &&
18612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614 (eval $ac_try) 2>&5
18615 ac_status=$?
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); }; } &&
18618 { ac_try='test -s conftest.$ac_objext'
18619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620 (eval $ac_try) 2>&5
18621 ac_status=$?
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; }; then
18624 ac_lo=$ac_mid; break
18625 else
18626 echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 ac_hi=`expr '(' $ac_mid ')' - 1`
18630 if test $ac_mid -le $ac_hi; then
18631 ac_lo= ac_hi=
18632 break
18633 fi
18634 ac_mid=`expr 2 '*' $ac_mid`
18635 fi
18636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18637 done
18638 else
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18641
18642 ac_lo= ac_hi=
18643 fi
18644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18645 fi
18646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18647 # Binary search between lo and hi bounds.
18648 while test "x$ac_lo" != "x$ac_hi"; do
18649 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18657 int
18658 main ()
18659 {
18660 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18661 test_array [0] = 0
18662
18663 ;
18664 return 0;
18665 }
18666 _ACEOF
18667 rm -f conftest.$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_hi=$ac_mid
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18692
18693 ac_lo=`expr '(' $ac_mid ')' + 1`
18694 fi
18695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18696 done
18697 case $ac_lo in
18698 ?*) ac_cv_sizeof_short=$ac_lo;;
18699 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18700 See \`config.log' for more details." >&5
18701 echo "$as_me: error: cannot compute sizeof (short), 77
18702 See \`config.log' for more details." >&2;}
18703 { (exit 1); exit 1; }; } ;;
18704 esac
18705 else
18706 if test "$cross_compiling" = yes; then
18707 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18708 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18709 { (exit 1); exit 1; }; }
18710 else
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 long longval () { return (long) (sizeof (short)); }
18719 unsigned long ulongval () { return (long) (sizeof (short)); }
18720 #include <stdio.h>
18721 #include <stdlib.h>
18722 int
18723 main ()
18724 {
18725
18726 FILE *f = fopen ("conftest.val", "w");
18727 if (! f)
18728 exit (1);
18729 if (((long) (sizeof (short))) < 0)
18730 {
18731 long i = longval ();
18732 if (i != ((long) (sizeof (short))))
18733 exit (1);
18734 fprintf (f, "%ld\n", i);
18735 }
18736 else
18737 {
18738 unsigned long i = ulongval ();
18739 if (i != ((long) (sizeof (short))))
18740 exit (1);
18741 fprintf (f, "%lu\n", i);
18742 }
18743 exit (ferror (f) || fclose (f) != 0);
18744
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 rm -f conftest$ac_exeext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18751 (eval $ac_link) 2>&5
18752 ac_status=$?
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18757 ac_status=$?
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18760 ac_cv_sizeof_short=`cat conftest.val`
18761 else
18762 echo "$as_me: program exited with status $ac_status" >&5
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18765
18766 ( exit $ac_status )
18767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18768 See \`config.log' for more details." >&5
18769 echo "$as_me: error: cannot compute sizeof (short), 77
18770 See \`config.log' for more details." >&2;}
18771 { (exit 1); exit 1; }; }
18772 fi
18773 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18774 fi
18775 fi
18776 rm -f conftest.val
18777 else
18778 ac_cv_sizeof_short=0
18779 fi
18780 fi
18781 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18782 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18783 cat >>confdefs.h <<_ACEOF
18784 #define SIZEOF_SHORT $ac_cv_sizeof_short
18785 _ACEOF
18786
18787
18788 echo "$as_me:$LINENO: checking for void *" >&5
18789 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18790 if test "${ac_cv_type_void_p+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h. */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18800 int
18801 main ()
18802 {
18803 if ((void * *) 0)
18804 return 0;
18805 if (sizeof (void *))
18806 return 0;
18807 ;
18808 return 0;
18809 }
18810 _ACEOF
18811 rm -f conftest.$ac_objext
18812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18813 (eval $ac_compile) 2>conftest.er1
18814 ac_status=$?
18815 grep -v '^ *+' conftest.er1 >conftest.err
18816 rm -f conftest.er1
18817 cat conftest.err >&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } &&
18820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18822 (eval $ac_try) 2>&5
18823 ac_status=$?
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); }; } &&
18826 { ac_try='test -s conftest.$ac_objext'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; }; then
18832 ac_cv_type_void_p=yes
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18836
18837 ac_cv_type_void_p=no
18838 fi
18839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18840 fi
18841 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18842 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18843
18844 echo "$as_me:$LINENO: checking size of void *" >&5
18845 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18846 if test "${ac_cv_sizeof_void_p+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849 if test "$ac_cv_type_void_p" = yes; then
18850 # The cast to unsigned long works around a bug in the HP C Compiler
18851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18853 # This bug is HP SR number 8606223364.
18854 if test "$cross_compiling" = yes; then
18855 # Depending upon the size, compute the lo and hi bounds.
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h. */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 $ac_includes_default
18863 int
18864 main ()
18865 {
18866 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18867 test_array [0] = 0
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_lo=0 ac_mid=0
18895 while :; do
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18903 int
18904 main ()
18905 {
18906 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18907 test_array [0] = 0
18908
18909 ;
18910 return 0;
18911 }
18912 _ACEOF
18913 rm -f conftest.$ac_objext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18915 (eval $ac_compile) 2>conftest.er1
18916 ac_status=$?
18917 grep -v '^ *+' conftest.er1 >conftest.err
18918 rm -f conftest.er1
18919 cat conftest.err >&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; } &&
18928 { ac_try='test -s conftest.$ac_objext'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18931 ac_status=$?
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; }; then
18934 ac_hi=$ac_mid; break
18935 else
18936 echo "$as_me: failed program was:" >&5
18937 sed 's/^/| /' conftest.$ac_ext >&5
18938
18939 ac_lo=`expr $ac_mid + 1`
18940 if test $ac_lo -le $ac_mid; then
18941 ac_lo= ac_hi=
18942 break
18943 fi
18944 ac_mid=`expr 2 '*' $ac_mid + 1`
18945 fi
18946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18947 done
18948 else
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18951
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 $ac_includes_default
18959 int
18960 main ()
18961 {
18962 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18963 test_array [0] = 0
18964
18965 ;
18966 return 0;
18967 }
18968 _ACEOF
18969 rm -f conftest.$ac_objext
18970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18971 (eval $ac_compile) 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } &&
18978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try='test -s conftest.$ac_objext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18987 ac_status=$?
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 ac_hi=-1 ac_mid=-1
18991 while :; do
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 $ac_includes_default
18999 int
19000 main ()
19001 {
19002 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19003 test_array [0] = 0
19004
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 rm -f conftest.$ac_objext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19011 (eval $ac_compile) 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest.$ac_objext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19027 ac_status=$?
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 ac_lo=$ac_mid; break
19031 else
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19034
19035 ac_hi=`expr '(' $ac_mid ')' - 1`
19036 if test $ac_mid -le $ac_hi; then
19037 ac_lo= ac_hi=
19038 break
19039 fi
19040 ac_mid=`expr 2 '*' $ac_mid`
19041 fi
19042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19043 done
19044 else
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19047
19048 ac_lo= ac_hi=
19049 fi
19050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19051 fi
19052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19053 # Binary search between lo and hi bounds.
19054 while test "x$ac_lo" != "x$ac_hi"; do
19055 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19063 int
19064 main ()
19065 {
19066 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19067 test_array [0] = 0
19068
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19076 ac_status=$?
19077 grep -v '^ *+' conftest.er1 >conftest.err
19078 rm -f conftest.er1
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19091 ac_status=$?
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_hi=$ac_mid
19095 else
19096 echo "$as_me: failed program was:" >&5
19097 sed 's/^/| /' conftest.$ac_ext >&5
19098
19099 ac_lo=`expr '(' $ac_mid ')' + 1`
19100 fi
19101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19102 done
19103 case $ac_lo in
19104 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19105 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19106 See \`config.log' for more details." >&5
19107 echo "$as_me: error: cannot compute sizeof (void *), 77
19108 See \`config.log' for more details." >&2;}
19109 { (exit 1); exit 1; }; } ;;
19110 esac
19111 else
19112 if test "$cross_compiling" = yes; then
19113 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19114 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19115 { (exit 1); exit 1; }; }
19116 else
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 long longval () { return (long) (sizeof (void *)); }
19125 unsigned long ulongval () { return (long) (sizeof (void *)); }
19126 #include <stdio.h>
19127 #include <stdlib.h>
19128 int
19129 main ()
19130 {
19131
19132 FILE *f = fopen ("conftest.val", "w");
19133 if (! f)
19134 exit (1);
19135 if (((long) (sizeof (void *))) < 0)
19136 {
19137 long i = longval ();
19138 if (i != ((long) (sizeof (void *))))
19139 exit (1);
19140 fprintf (f, "%ld\n", i);
19141 }
19142 else
19143 {
19144 unsigned long i = ulongval ();
19145 if (i != ((long) (sizeof (void *))))
19146 exit (1);
19147 fprintf (f, "%lu\n", i);
19148 }
19149 exit (ferror (f) || fclose (f) != 0);
19150
19151 ;
19152 return 0;
19153 }
19154 _ACEOF
19155 rm -f conftest$ac_exeext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19157 (eval $ac_link) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19162 (eval $ac_try) 2>&5
19163 ac_status=$?
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); }; }; then
19166 ac_cv_sizeof_void_p=`cat conftest.val`
19167 else
19168 echo "$as_me: program exited with status $ac_status" >&5
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19171
19172 ( exit $ac_status )
19173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19174 See \`config.log' for more details." >&5
19175 echo "$as_me: error: cannot compute sizeof (void *), 77
19176 See \`config.log' for more details." >&2;}
19177 { (exit 1); exit 1; }; }
19178 fi
19179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19180 fi
19181 fi
19182 rm -f conftest.val
19183 else
19184 ac_cv_sizeof_void_p=0
19185 fi
19186 fi
19187 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19188 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19189 cat >>confdefs.h <<_ACEOF
19190 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19191 _ACEOF
19192
19193
19194 echo "$as_me:$LINENO: checking for int" >&5
19195 echo $ECHO_N "checking for int... $ECHO_C" >&6
19196 if test "${ac_cv_type_int+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199 cat >conftest.$ac_ext <<_ACEOF
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 $ac_includes_default
19206 int
19207 main ()
19208 {
19209 if ((int *) 0)
19210 return 0;
19211 if (sizeof (int))
19212 return 0;
19213 ;
19214 return 0;
19215 }
19216 _ACEOF
19217 rm -f conftest.$ac_objext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19219 (eval $ac_compile) 2>conftest.er1
19220 ac_status=$?
19221 grep -v '^ *+' conftest.er1 >conftest.err
19222 rm -f conftest.er1
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } &&
19226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; } &&
19232 { ac_try='test -s conftest.$ac_objext'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234 (eval $ac_try) 2>&5
19235 ac_status=$?
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; }; then
19238 ac_cv_type_int=yes
19239 else
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19242
19243 ac_cv_type_int=no
19244 fi
19245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19246 fi
19247 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19248 echo "${ECHO_T}$ac_cv_type_int" >&6
19249
19250 echo "$as_me:$LINENO: checking size of int" >&5
19251 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19252 if test "${ac_cv_sizeof_int+set}" = set; then
19253 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 else
19255 if test "$ac_cv_type_int" = yes; then
19256 # The cast to unsigned long works around a bug in the HP C Compiler
19257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19259 # This bug is HP SR number 8606223364.
19260 if test "$cross_compiling" = yes; then
19261 # Depending upon the size, compute the lo and hi bounds.
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 $ac_includes_default
19269 int
19270 main ()
19271 {
19272 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19273 test_array [0] = 0
19274
19275 ;
19276 return 0;
19277 }
19278 _ACEOF
19279 rm -f conftest.$ac_objext
19280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19281 (eval $ac_compile) 2>conftest.er1
19282 ac_status=$?
19283 grep -v '^ *+' conftest.er1 >conftest.err
19284 rm -f conftest.er1
19285 cat conftest.err >&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } &&
19288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19291 ac_status=$?
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; } &&
19294 { ac_try='test -s conftest.$ac_objext'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19297 ac_status=$?
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; }; then
19300 ac_lo=0 ac_mid=0
19301 while :; do
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 int
19310 main ()
19311 {
19312 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19313 test_array [0] = 0
19314
19315 ;
19316 return 0;
19317 }
19318 _ACEOF
19319 rm -f conftest.$ac_objext
19320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19321 (eval $ac_compile) 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } &&
19328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19331 ac_status=$?
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; } &&
19334 { ac_try='test -s conftest.$ac_objext'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; }; then
19340 ac_hi=$ac_mid; break
19341 else
19342 echo "$as_me: failed program was:" >&5
19343 sed 's/^/| /' conftest.$ac_ext >&5
19344
19345 ac_lo=`expr $ac_mid + 1`
19346 if test $ac_lo -le $ac_mid; then
19347 ac_lo= ac_hi=
19348 break
19349 fi
19350 ac_mid=`expr 2 '*' $ac_mid + 1`
19351 fi
19352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19353 done
19354 else
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19357
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 int
19366 main ()
19367 {
19368 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19369 test_array [0] = 0
19370
19371 ;
19372 return 0;
19373 }
19374 _ACEOF
19375 rm -f conftest.$ac_objext
19376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19377 (eval $ac_compile) 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } &&
19384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 ac_hi=-1 ac_mid=-1
19397 while :; do
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 $ac_includes_default
19405 int
19406 main ()
19407 {
19408 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19409 test_array [0] = 0
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>conftest.er1
19418 ac_status=$?
19419 grep -v '^ *+' conftest.er1 >conftest.err
19420 rm -f conftest.er1
19421 cat conftest.err >&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } &&
19424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19427 ac_status=$?
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; } &&
19430 { ac_try='test -s conftest.$ac_objext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19433 ac_status=$?
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19436 ac_lo=$ac_mid; break
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19440
19441 ac_hi=`expr '(' $ac_mid ')' - 1`
19442 if test $ac_mid -le $ac_hi; then
19443 ac_lo= ac_hi=
19444 break
19445 fi
19446 ac_mid=`expr 2 '*' $ac_mid`
19447 fi
19448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19449 done
19450 else
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19453
19454 ac_lo= ac_hi=
19455 fi
19456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19457 fi
19458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19459 # Binary search between lo and hi bounds.
19460 while test "x$ac_lo" != "x$ac_hi"; do
19461 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 $ac_includes_default
19469 int
19470 main ()
19471 {
19472 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19473 test_array [0] = 0
19474
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_hi=$ac_mid
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505 ac_lo=`expr '(' $ac_mid ')' + 1`
19506 fi
19507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19508 done
19509 case $ac_lo in
19510 ?*) ac_cv_sizeof_int=$ac_lo;;
19511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19512 See \`config.log' for more details." >&5
19513 echo "$as_me: error: cannot compute sizeof (int), 77
19514 See \`config.log' for more details." >&2;}
19515 { (exit 1); exit 1; }; } ;;
19516 esac
19517 else
19518 if test "$cross_compiling" = yes; then
19519 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19520 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19521 { (exit 1); exit 1; }; }
19522 else
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 long longval () { return (long) (sizeof (int)); }
19531 unsigned long ulongval () { return (long) (sizeof (int)); }
19532 #include <stdio.h>
19533 #include <stdlib.h>
19534 int
19535 main ()
19536 {
19537
19538 FILE *f = fopen ("conftest.val", "w");
19539 if (! f)
19540 exit (1);
19541 if (((long) (sizeof (int))) < 0)
19542 {
19543 long i = longval ();
19544 if (i != ((long) (sizeof (int))))
19545 exit (1);
19546 fprintf (f, "%ld\n", i);
19547 }
19548 else
19549 {
19550 unsigned long i = ulongval ();
19551 if (i != ((long) (sizeof (int))))
19552 exit (1);
19553 fprintf (f, "%lu\n", i);
19554 }
19555 exit (ferror (f) || fclose (f) != 0);
19556
19557 ;
19558 return 0;
19559 }
19560 _ACEOF
19561 rm -f conftest$ac_exeext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19563 (eval $ac_link) 2>&5
19564 ac_status=$?
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19569 ac_status=$?
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_sizeof_int=`cat conftest.val`
19573 else
19574 echo "$as_me: program exited with status $ac_status" >&5
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ( exit $ac_status )
19579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19580 See \`config.log' for more details." >&5
19581 echo "$as_me: error: cannot compute sizeof (int), 77
19582 See \`config.log' for more details." >&2;}
19583 { (exit 1); exit 1; }; }
19584 fi
19585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19586 fi
19587 fi
19588 rm -f conftest.val
19589 else
19590 ac_cv_sizeof_int=0
19591 fi
19592 fi
19593 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19594 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19595 cat >>confdefs.h <<_ACEOF
19596 #define SIZEOF_INT $ac_cv_sizeof_int
19597 _ACEOF
19598
19599
19600 echo "$as_me:$LINENO: checking for long" >&5
19601 echo $ECHO_N "checking for long... $ECHO_C" >&6
19602 if test "${ac_cv_type_long+set}" = set; then
19603 echo $ECHO_N "(cached) $ECHO_C" >&6
19604 else
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 int
19613 main ()
19614 {
19615 if ((long *) 0)
19616 return 0;
19617 if (sizeof (long))
19618 return 0;
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19634 (eval $ac_try) 2>&5
19635 ac_status=$?
19636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19637 (exit $ac_status); }; } &&
19638 { ac_try='test -s conftest.$ac_objext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19641 ac_status=$?
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_cv_type_long=yes
19645 else
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19648
19649 ac_cv_type_long=no
19650 fi
19651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19652 fi
19653 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19654 echo "${ECHO_T}$ac_cv_type_long" >&6
19655
19656 echo "$as_me:$LINENO: checking size of long" >&5
19657 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19658 if test "${ac_cv_sizeof_long+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661 if test "$ac_cv_type_long" = yes; then
19662 # The cast to unsigned long works around a bug in the HP C Compiler
19663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19665 # This bug is HP SR number 8606223364.
19666 if test "$cross_compiling" = yes; then
19667 # Depending upon the size, compute the lo and hi bounds.
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19675 int
19676 main ()
19677 {
19678 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19679 test_array [0] = 0
19680
19681 ;
19682 return 0;
19683 }
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19687 (eval $ac_compile) 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; } &&
19700 { ac_try='test -s conftest.$ac_objext'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; }; then
19706 ac_lo=0 ac_mid=0
19707 while :; do
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19715 int
19716 main ()
19717 {
19718 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19719 test_array [0] = 0
19720
19721 ;
19722 return 0;
19723 }
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_hi=$ac_mid; break
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19750
19751 ac_lo=`expr $ac_mid + 1`
19752 if test $ac_lo -le $ac_mid; then
19753 ac_lo= ac_hi=
19754 break
19755 fi
19756 ac_mid=`expr 2 '*' $ac_mid + 1`
19757 fi
19758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19759 done
19760 else
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19763
19764 cat >conftest.$ac_ext <<_ACEOF
19765 /* confdefs.h. */
19766 _ACEOF
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19771 int
19772 main ()
19773 {
19774 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19775 test_array [0] = 0
19776
19777 ;
19778 return 0;
19779 }
19780 _ACEOF
19781 rm -f conftest.$ac_objext
19782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19783 (eval $ac_compile) 2>conftest.er1
19784 ac_status=$?
19785 grep -v '^ *+' conftest.er1 >conftest.err
19786 rm -f conftest.er1
19787 cat conftest.err >&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); } &&
19790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19792 (eval $ac_try) 2>&5
19793 ac_status=$?
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; } &&
19796 { ac_try='test -s conftest.$ac_objext'
19797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798 (eval $ac_try) 2>&5
19799 ac_status=$?
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); }; }; then
19802 ac_hi=-1 ac_mid=-1
19803 while :; do
19804 cat >conftest.$ac_ext <<_ACEOF
19805 /* confdefs.h. */
19806 _ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 int
19812 main ()
19813 {
19814 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19815 test_array [0] = 0
19816
19817 ;
19818 return 0;
19819 }
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19823 (eval $ac_compile) 2>conftest.er1
19824 ac_status=$?
19825 grep -v '^ *+' conftest.er1 >conftest.err
19826 rm -f conftest.er1
19827 cat conftest.err >&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); } &&
19830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19833 ac_status=$?
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; } &&
19836 { ac_try='test -s conftest.$ac_objext'
19837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19838 (eval $ac_try) 2>&5
19839 ac_status=$?
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); }; }; then
19842 ac_lo=$ac_mid; break
19843 else
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19846
19847 ac_hi=`expr '(' $ac_mid ')' - 1`
19848 if test $ac_mid -le $ac_hi; then
19849 ac_lo= ac_hi=
19850 break
19851 fi
19852 ac_mid=`expr 2 '*' $ac_mid`
19853 fi
19854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19855 done
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 ac_lo= ac_hi=
19861 fi
19862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19863 fi
19864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19865 # Binary search between lo and hi bounds.
19866 while test "x$ac_lo" != "x$ac_hi"; do
19867 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19875 int
19876 main ()
19877 {
19878 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19879 test_array [0] = 0
19880
19881 ;
19882 return 0;
19883 }
19884 _ACEOF
19885 rm -f conftest.$ac_objext
19886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19887 (eval $ac_compile) 2>conftest.er1
19888 ac_status=$?
19889 grep -v '^ *+' conftest.er1 >conftest.err
19890 rm -f conftest.er1
19891 cat conftest.err >&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } &&
19894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19896 (eval $ac_try) 2>&5
19897 ac_status=$?
19898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19899 (exit $ac_status); }; } &&
19900 { ac_try='test -s conftest.$ac_objext'
19901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19902 (eval $ac_try) 2>&5
19903 ac_status=$?
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 ac_hi=$ac_mid
19907 else
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19910
19911 ac_lo=`expr '(' $ac_mid ')' + 1`
19912 fi
19913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19914 done
19915 case $ac_lo in
19916 ?*) ac_cv_sizeof_long=$ac_lo;;
19917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19918 See \`config.log' for more details." >&5
19919 echo "$as_me: error: cannot compute sizeof (long), 77
19920 See \`config.log' for more details." >&2;}
19921 { (exit 1); exit 1; }; } ;;
19922 esac
19923 else
19924 if test "$cross_compiling" = yes; then
19925 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19926 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19927 { (exit 1); exit 1; }; }
19928 else
19929 cat >conftest.$ac_ext <<_ACEOF
19930 /* confdefs.h. */
19931 _ACEOF
19932 cat confdefs.h >>conftest.$ac_ext
19933 cat >>conftest.$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 $ac_includes_default
19936 long longval () { return (long) (sizeof (long)); }
19937 unsigned long ulongval () { return (long) (sizeof (long)); }
19938 #include <stdio.h>
19939 #include <stdlib.h>
19940 int
19941 main ()
19942 {
19943
19944 FILE *f = fopen ("conftest.val", "w");
19945 if (! f)
19946 exit (1);
19947 if (((long) (sizeof (long))) < 0)
19948 {
19949 long i = longval ();
19950 if (i != ((long) (sizeof (long))))
19951 exit (1);
19952 fprintf (f, "%ld\n", i);
19953 }
19954 else
19955 {
19956 unsigned long i = ulongval ();
19957 if (i != ((long) (sizeof (long))))
19958 exit (1);
19959 fprintf (f, "%lu\n", i);
19960 }
19961 exit (ferror (f) || fclose (f) != 0);
19962
19963 ;
19964 return 0;
19965 }
19966 _ACEOF
19967 rm -f conftest$ac_exeext
19968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19969 (eval $ac_link) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_cv_sizeof_long=`cat conftest.val`
19979 else
19980 echo "$as_me: program exited with status $ac_status" >&5
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 ( exit $ac_status )
19985 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19986 See \`config.log' for more details." >&5
19987 echo "$as_me: error: cannot compute sizeof (long), 77
19988 See \`config.log' for more details." >&2;}
19989 { (exit 1); exit 1; }; }
19990 fi
19991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19992 fi
19993 fi
19994 rm -f conftest.val
19995 else
19996 ac_cv_sizeof_long=0
19997 fi
19998 fi
19999 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20000 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20001 cat >>confdefs.h <<_ACEOF
20002 #define SIZEOF_LONG $ac_cv_sizeof_long
20003 _ACEOF
20004
20005
20006 echo "$as_me:$LINENO: checking for size_t" >&5
20007 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20008 if test "${ac_cv_type_size_t+set}" = set; then
20009 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 else
20011 cat >conftest.$ac_ext <<_ACEOF
20012 /* confdefs.h. */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h. */
20017 $ac_includes_default
20018 int
20019 main ()
20020 {
20021 if ((size_t *) 0)
20022 return 0;
20023 if (sizeof (size_t))
20024 return 0;
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 rm -f conftest.$ac_objext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20031 (eval $ac_compile) 2>conftest.er1
20032 ac_status=$?
20033 grep -v '^ *+' conftest.er1 >conftest.err
20034 rm -f conftest.er1
20035 cat conftest.err >&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040 (eval $ac_try) 2>&5
20041 ac_status=$?
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); }; } &&
20044 { ac_try='test -s conftest.$ac_objext'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20047 ac_status=$?
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; }; then
20050 ac_cv_type_size_t=yes
20051 else
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.$ac_ext >&5
20054
20055 ac_cv_type_size_t=no
20056 fi
20057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20058 fi
20059 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20060 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20061
20062 echo "$as_me:$LINENO: checking size of size_t" >&5
20063 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20064 if test "${ac_cv_sizeof_size_t+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 else
20067 if test "$ac_cv_type_size_t" = yes; then
20068 # The cast to unsigned long works around a bug in the HP C Compiler
20069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20071 # This bug is HP SR number 8606223364.
20072 if test "$cross_compiling" = yes; then
20073 # Depending upon the size, compute the lo and hi bounds.
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 int
20082 main ()
20083 {
20084 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20085 test_array [0] = 0
20086
20087 ;
20088 return 0;
20089 }
20090 _ACEOF
20091 rm -f conftest.$ac_objext
20092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20093 (eval $ac_compile) 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } &&
20100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest.$ac_objext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 ac_lo=0 ac_mid=0
20113 while :; do
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 int
20122 main ()
20123 {
20124 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20125 test_array [0] = 0
20126
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 rm -f conftest.$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; } &&
20146 { ac_try='test -s conftest.$ac_objext'
20147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20148 (eval $ac_try) 2>&5
20149 ac_status=$?
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); }; }; then
20152 ac_hi=$ac_mid; break
20153 else
20154 echo "$as_me: failed program was:" >&5
20155 sed 's/^/| /' conftest.$ac_ext >&5
20156
20157 ac_lo=`expr $ac_mid + 1`
20158 if test $ac_lo -le $ac_mid; then
20159 ac_lo= ac_hi=
20160 break
20161 fi
20162 ac_mid=`expr 2 '*' $ac_mid + 1`
20163 fi
20164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20165 done
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 cat >conftest.$ac_ext <<_ACEOF
20171 /* confdefs.h. */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 $ac_includes_default
20177 int
20178 main ()
20179 {
20180 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20181 test_array [0] = 0
20182
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 rm -f conftest.$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20205 ac_status=$?
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 ac_hi=-1 ac_mid=-1
20209 while :; do
20210 cat >conftest.$ac_ext <<_ACEOF
20211 /* confdefs.h. */
20212 _ACEOF
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 $ac_includes_default
20217 int
20218 main ()
20219 {
20220 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20221 test_array [0] = 0
20222
20223 ;
20224 return 0;
20225 }
20226 _ACEOF
20227 rm -f conftest.$ac_objext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20229 (eval $ac_compile) 2>conftest.er1
20230 ac_status=$?
20231 grep -v '^ *+' conftest.er1 >conftest.err
20232 rm -f conftest.er1
20233 cat conftest.err >&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } &&
20236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; } &&
20242 { ac_try='test -s conftest.$ac_objext'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 ac_lo=$ac_mid; break
20249 else
20250 echo "$as_me: failed program was:" >&5
20251 sed 's/^/| /' conftest.$ac_ext >&5
20252
20253 ac_hi=`expr '(' $ac_mid ')' - 1`
20254 if test $ac_mid -le $ac_hi; then
20255 ac_lo= ac_hi=
20256 break
20257 fi
20258 ac_mid=`expr 2 '*' $ac_mid`
20259 fi
20260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20261 done
20262 else
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20265
20266 ac_lo= ac_hi=
20267 fi
20268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20269 fi
20270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20271 # Binary search between lo and hi bounds.
20272 while test "x$ac_lo" != "x$ac_hi"; do
20273 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20274 cat >conftest.$ac_ext <<_ACEOF
20275 /* confdefs.h. */
20276 _ACEOF
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 $ac_includes_default
20281 int
20282 main ()
20283 {
20284 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20285 test_array [0] = 0
20286
20287 ;
20288 return 0;
20289 }
20290 _ACEOF
20291 rm -f conftest.$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20294 ac_status=$?
20295 grep -v '^ *+' conftest.er1 >conftest.err
20296 rm -f conftest.er1
20297 cat conftest.err >&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20303 ac_status=$?
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_hi=$ac_mid
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20316
20317 ac_lo=`expr '(' $ac_mid ')' + 1`
20318 fi
20319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20320 done
20321 case $ac_lo in
20322 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20323 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20324 See \`config.log' for more details." >&5
20325 echo "$as_me: error: cannot compute sizeof (size_t), 77
20326 See \`config.log' for more details." >&2;}
20327 { (exit 1); exit 1; }; } ;;
20328 esac
20329 else
20330 if test "$cross_compiling" = yes; then
20331 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20332 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20333 { (exit 1); exit 1; }; }
20334 else
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 long longval () { return (long) (sizeof (size_t)); }
20343 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20344 #include <stdio.h>
20345 #include <stdlib.h>
20346 int
20347 main ()
20348 {
20349
20350 FILE *f = fopen ("conftest.val", "w");
20351 if (! f)
20352 exit (1);
20353 if (((long) (sizeof (size_t))) < 0)
20354 {
20355 long i = longval ();
20356 if (i != ((long) (sizeof (size_t))))
20357 exit (1);
20358 fprintf (f, "%ld\n", i);
20359 }
20360 else
20361 {
20362 unsigned long i = ulongval ();
20363 if (i != ((long) (sizeof (size_t))))
20364 exit (1);
20365 fprintf (f, "%lu\n", i);
20366 }
20367 exit (ferror (f) || fclose (f) != 0);
20368
20369 ;
20370 return 0;
20371 }
20372 _ACEOF
20373 rm -f conftest$ac_exeext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20375 (eval $ac_link) 2>&5
20376 ac_status=$?
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20381 ac_status=$?
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; }; then
20384 ac_cv_sizeof_size_t=`cat conftest.val`
20385 else
20386 echo "$as_me: program exited with status $ac_status" >&5
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20389
20390 ( exit $ac_status )
20391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20392 See \`config.log' for more details." >&5
20393 echo "$as_me: error: cannot compute sizeof (size_t), 77
20394 See \`config.log' for more details." >&2;}
20395 { (exit 1); exit 1; }; }
20396 fi
20397 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20398 fi
20399 fi
20400 rm -f conftest.val
20401 else
20402 ac_cv_sizeof_size_t=0
20403 fi
20404 fi
20405 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20406 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20407 cat >>confdefs.h <<_ACEOF
20408 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20409 _ACEOF
20410
20411
20412
20413 case "${host}" in
20414 arm-*-linux* )
20415 echo "$as_me:$LINENO: checking for long long" >&5
20416 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20417 if test "${ac_cv_type_long_long+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20427 int
20428 main ()
20429 {
20430 if ((long long *) 0)
20431 return 0;
20432 if (sizeof (long long))
20433 return 0;
20434 ;
20435 return 0;
20436 }
20437 _ACEOF
20438 rm -f conftest.$ac_objext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20440 (eval $ac_compile) 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20450 ac_status=$?
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; } &&
20453 { ac_try='test -s conftest.$ac_objext'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20456 ac_status=$?
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_cv_type_long_long=yes
20460 else
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20463
20464 ac_cv_type_long_long=no
20465 fi
20466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20467 fi
20468 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20469 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20470
20471 echo "$as_me:$LINENO: checking size of long long" >&5
20472 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20473 if test "${ac_cv_sizeof_long_long+set}" = set; then
20474 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 else
20476 if test "$ac_cv_type_long_long" = yes; then
20477 # The cast to unsigned long works around a bug in the HP C Compiler
20478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20480 # This bug is HP SR number 8606223364.
20481 if test "$cross_compiling" = yes; then
20482 # Depending upon the size, compute the lo and hi bounds.
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 int
20491 main ()
20492 {
20493 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20494 test_array [0] = 0
20495
20496 ;
20497 return 0;
20498 }
20499 _ACEOF
20500 rm -f conftest.$ac_objext
20501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20502 (eval $ac_compile) 2>conftest.er1
20503 ac_status=$?
20504 grep -v '^ *+' conftest.er1 >conftest.err
20505 rm -f conftest.er1
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511 (eval $ac_try) 2>&5
20512 ac_status=$?
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); }; } &&
20515 { ac_try='test -s conftest.$ac_objext'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20518 ac_status=$?
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20521 ac_lo=0 ac_mid=0
20522 while :; do
20523 cat >conftest.$ac_ext <<_ACEOF
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 int
20531 main ()
20532 {
20533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20534 test_array [0] = 0
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>conftest.er1
20543 ac_status=$?
20544 grep -v '^ *+' conftest.er1 >conftest.err
20545 rm -f conftest.er1
20546 cat conftest.err >&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; } &&
20555 { ac_try='test -s conftest.$ac_objext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_hi=$ac_mid; break
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 ac_lo=`expr $ac_mid + 1`
20567 if test $ac_lo -le $ac_mid; then
20568 ac_lo= ac_hi=
20569 break
20570 fi
20571 ac_mid=`expr 2 '*' $ac_mid + 1`
20572 fi
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574 done
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20598 (eval $ac_compile) 2>conftest.er1
20599 ac_status=$?
20600 grep -v '^ *+' conftest.er1 >conftest.err
20601 rm -f conftest.er1
20602 cat conftest.err >&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); } &&
20605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20607 (eval $ac_try) 2>&5
20608 ac_status=$?
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); }; } &&
20611 { ac_try='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20614 ac_status=$?
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20617 ac_hi=-1 ac_mid=-1
20618 while :; do
20619 cat >conftest.$ac_ext <<_ACEOF
20620 /* confdefs.h. */
20621 _ACEOF
20622 cat confdefs.h >>conftest.$ac_ext
20623 cat >>conftest.$ac_ext <<_ACEOF
20624 /* end confdefs.h. */
20625 $ac_includes_default
20626 int
20627 main ()
20628 {
20629 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20630 test_array [0] = 0
20631
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 rm -f conftest.$ac_objext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20638 (eval $ac_compile) 2>conftest.er1
20639 ac_status=$?
20640 grep -v '^ *+' conftest.er1 >conftest.err
20641 rm -f conftest.er1
20642 cat conftest.err >&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 (eval $ac_try) 2>&5
20648 ac_status=$?
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); }; } &&
20651 { ac_try='test -s conftest.$ac_objext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 ac_lo=$ac_mid; break
20658 else
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20661
20662 ac_hi=`expr '(' $ac_mid ')' - 1`
20663 if test $ac_mid -le $ac_hi; then
20664 ac_lo= ac_hi=
20665 break
20666 fi
20667 ac_mid=`expr 2 '*' $ac_mid`
20668 fi
20669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20670 done
20671 else
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20674
20675 ac_lo= ac_hi=
20676 fi
20677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20678 fi
20679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20680 # Binary search between lo and hi bounds.
20681 while test "x$ac_lo" != "x$ac_hi"; do
20682 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 $ac_includes_default
20690 int
20691 main ()
20692 {
20693 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20694 test_array [0] = 0
20695
20696 ;
20697 return 0;
20698 }
20699 _ACEOF
20700 rm -f conftest.$ac_objext
20701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20702 (eval $ac_compile) 2>conftest.er1
20703 ac_status=$?
20704 grep -v '^ *+' conftest.er1 >conftest.err
20705 rm -f conftest.er1
20706 cat conftest.err >&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20712 ac_status=$?
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 ac_hi=$ac_mid
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20725
20726 ac_lo=`expr '(' $ac_mid ')' + 1`
20727 fi
20728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20729 done
20730 case $ac_lo in
20731 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20733 See \`config.log' for more details." >&5
20734 echo "$as_me: error: cannot compute sizeof (long long), 77
20735 See \`config.log' for more details." >&2;}
20736 { (exit 1); exit 1; }; } ;;
20737 esac
20738 else
20739 if test "$cross_compiling" = yes; then
20740 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20741 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20742 { (exit 1); exit 1; }; }
20743 else
20744 cat >conftest.$ac_ext <<_ACEOF
20745 /* confdefs.h. */
20746 _ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20750 $ac_includes_default
20751 long longval () { return (long) (sizeof (long long)); }
20752 unsigned long ulongval () { return (long) (sizeof (long long)); }
20753 #include <stdio.h>
20754 #include <stdlib.h>
20755 int
20756 main ()
20757 {
20758
20759 FILE *f = fopen ("conftest.val", "w");
20760 if (! f)
20761 exit (1);
20762 if (((long) (sizeof (long long))) < 0)
20763 {
20764 long i = longval ();
20765 if (i != ((long) (sizeof (long long))))
20766 exit (1);
20767 fprintf (f, "%ld\n", i);
20768 }
20769 else
20770 {
20771 unsigned long i = ulongval ();
20772 if (i != ((long) (sizeof (long long))))
20773 exit (1);
20774 fprintf (f, "%lu\n", i);
20775 }
20776 exit (ferror (f) || fclose (f) != 0);
20777
20778 ;
20779 return 0;
20780 }
20781 _ACEOF
20782 rm -f conftest$ac_exeext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20784 (eval $ac_link) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20793 ac_cv_sizeof_long_long=`cat conftest.val`
20794 else
20795 echo "$as_me: program exited with status $ac_status" >&5
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 ( exit $ac_status )
20800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20801 See \`config.log' for more details." >&5
20802 echo "$as_me: error: cannot compute sizeof (long long), 77
20803 See \`config.log' for more details." >&2;}
20804 { (exit 1); exit 1; }; }
20805 fi
20806 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20807 fi
20808 fi
20809 rm -f conftest.val
20810 else
20811 ac_cv_sizeof_long_long=0
20812 fi
20813 fi
20814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20815 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20816 cat >>confdefs.h <<_ACEOF
20817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20818 _ACEOF
20819
20820
20821 ;;
20822 *-hp-hpux* )
20823 echo "$as_me:$LINENO: checking for long long" >&5
20824 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20825 if test "${ac_cv_type_long_long+set}" = set; then
20826 echo $ECHO_N "(cached) $ECHO_C" >&6
20827 else
20828 cat >conftest.$ac_ext <<_ACEOF
20829 /* confdefs.h. */
20830 _ACEOF
20831 cat confdefs.h >>conftest.$ac_ext
20832 cat >>conftest.$ac_ext <<_ACEOF
20833 /* end confdefs.h. */
20834 $ac_includes_default
20835 int
20836 main ()
20837 {
20838 if ((long long *) 0)
20839 return 0;
20840 if (sizeof (long long))
20841 return 0;
20842 ;
20843 return 0;
20844 }
20845 _ACEOF
20846 rm -f conftest.$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848 (eval $ac_compile) 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 ac_cv_type_long_long=yes
20868 else
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20871
20872 ac_cv_type_long_long=no
20873 fi
20874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20875 fi
20876 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20877 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20878
20879 echo "$as_me:$LINENO: checking size of long long" >&5
20880 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20881 if test "${ac_cv_sizeof_long_long+set}" = set; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20884 if test "$ac_cv_type_long_long" = yes; then
20885 # The cast to unsigned long works around a bug in the HP C Compiler
20886 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20887 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20888 # This bug is HP SR number 8606223364.
20889 if test "$cross_compiling" = yes; then
20890 # Depending upon the size, compute the lo and hi bounds.
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 int
20899 main ()
20900 {
20901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20902 test_array [0] = 0
20903
20904 ;
20905 return 0;
20906 }
20907 _ACEOF
20908 rm -f conftest.$ac_objext
20909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20910 (eval $ac_compile) 2>conftest.er1
20911 ac_status=$?
20912 grep -v '^ *+' conftest.er1 >conftest.err
20913 rm -f conftest.er1
20914 cat conftest.err >&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } &&
20917 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20920 ac_status=$?
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try='test -s conftest.$ac_objext'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_lo=0 ac_mid=0
20930 while :; do
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 int
20939 main ()
20940 {
20941 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20942 test_array [0] = 0
20943
20944 ;
20945 return 0;
20946 }
20947 _ACEOF
20948 rm -f conftest.$ac_objext
20949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20950 (eval $ac_compile) 2>conftest.er1
20951 ac_status=$?
20952 grep -v '^ *+' conftest.er1 >conftest.err
20953 rm -f conftest.er1
20954 cat conftest.err >&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); } &&
20957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; } &&
20963 { ac_try='test -s conftest.$ac_objext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_hi=$ac_mid; break
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20973
20974 ac_lo=`expr $ac_mid + 1`
20975 if test $ac_lo -le $ac_mid; then
20976 ac_lo= ac_hi=
20977 break
20978 fi
20979 ac_mid=`expr 2 '*' $ac_mid + 1`
20980 fi
20981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20982 done
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 cat >conftest.$ac_ext <<_ACEOF
20988 /* confdefs.h. */
20989 _ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 $ac_includes_default
20994 int
20995 main ()
20996 {
20997 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20998 test_array [0] = 0
20999
21000 ;
21001 return 0;
21002 }
21003 _ACEOF
21004 rm -f conftest.$ac_objext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21006 (eval $ac_compile) 2>conftest.er1
21007 ac_status=$?
21008 grep -v '^ *+' conftest.er1 >conftest.err
21009 rm -f conftest.er1
21010 cat conftest.err >&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21016 ac_status=$?
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; } &&
21019 { ac_try='test -s conftest.$ac_objext'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21022 ac_status=$?
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; }; then
21025 ac_hi=-1 ac_mid=-1
21026 while :; do
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 $ac_includes_default
21034 int
21035 main ()
21036 {
21037 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21038 test_array [0] = 0
21039
21040 ;
21041 return 0;
21042 }
21043 _ACEOF
21044 rm -f conftest.$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 ac_lo=$ac_mid; break
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ac_hi=`expr '(' $ac_mid ')' - 1`
21071 if test $ac_mid -le $ac_hi; then
21072 ac_lo= ac_hi=
21073 break
21074 fi
21075 ac_mid=`expr 2 '*' $ac_mid`
21076 fi
21077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21078 done
21079 else
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21082
21083 ac_lo= ac_hi=
21084 fi
21085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21086 fi
21087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21088 # Binary search between lo and hi bounds.
21089 while test "x$ac_lo" != "x$ac_hi"; do
21090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21091 cat >conftest.$ac_ext <<_ACEOF
21092 /* confdefs.h. */
21093 _ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 $ac_includes_default
21098 int
21099 main ()
21100 {
21101 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21102 test_array [0] = 0
21103
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 rm -f conftest.$ac_objext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21110 (eval $ac_compile) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; } &&
21123 { ac_try='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_hi=$ac_mid
21130 else
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21133
21134 ac_lo=`expr '(' $ac_mid ')' + 1`
21135 fi
21136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21137 done
21138 case $ac_lo in
21139 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21140 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21141 See \`config.log' for more details." >&5
21142 echo "$as_me: error: cannot compute sizeof (long long), 77
21143 See \`config.log' for more details." >&2;}
21144 { (exit 1); exit 1; }; } ;;
21145 esac
21146 else
21147 if test "$cross_compiling" = yes; then
21148 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21149 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21150 { (exit 1); exit 1; }; }
21151 else
21152 cat >conftest.$ac_ext <<_ACEOF
21153 /* confdefs.h. */
21154 _ACEOF
21155 cat confdefs.h >>conftest.$ac_ext
21156 cat >>conftest.$ac_ext <<_ACEOF
21157 /* end confdefs.h. */
21158 $ac_includes_default
21159 long longval () { return (long) (sizeof (long long)); }
21160 unsigned long ulongval () { return (long) (sizeof (long long)); }
21161 #include <stdio.h>
21162 #include <stdlib.h>
21163 int
21164 main ()
21165 {
21166
21167 FILE *f = fopen ("conftest.val", "w");
21168 if (! f)
21169 exit (1);
21170 if (((long) (sizeof (long long))) < 0)
21171 {
21172 long i = longval ();
21173 if (i != ((long) (sizeof (long long))))
21174 exit (1);
21175 fprintf (f, "%ld\n", i);
21176 }
21177 else
21178 {
21179 unsigned long i = ulongval ();
21180 if (i != ((long) (sizeof (long long))))
21181 exit (1);
21182 fprintf (f, "%lu\n", i);
21183 }
21184 exit (ferror (f) || fclose (f) != 0);
21185
21186 ;
21187 return 0;
21188 }
21189 _ACEOF
21190 rm -f conftest$ac_exeext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21192 (eval $ac_link) 2>&5
21193 ac_status=$?
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21198 ac_status=$?
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_sizeof_long_long=`cat conftest.val`
21202 else
21203 echo "$as_me: program exited with status $ac_status" >&5
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21206
21207 ( exit $ac_status )
21208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21209 See \`config.log' for more details." >&5
21210 echo "$as_me: error: cannot compute sizeof (long long), 77
21211 See \`config.log' for more details." >&2;}
21212 { (exit 1); exit 1; }; }
21213 fi
21214 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21215 fi
21216 fi
21217 rm -f conftest.val
21218 else
21219 ac_cv_sizeof_long_long=0
21220 fi
21221 fi
21222 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21223 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21224 cat >>confdefs.h <<_ACEOF
21225 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21226 _ACEOF
21227
21228
21229 if test "$ac_cv_sizeof_long_long" != "0"; then
21230 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21231 fi
21232 ;;
21233 * )
21234 echo "$as_me:$LINENO: checking for long long" >&5
21235 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21236 if test "${ac_cv_type_long_long+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 else
21239 cat >conftest.$ac_ext <<_ACEOF
21240 /* confdefs.h. */
21241 _ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 $ac_includes_default
21246 int
21247 main ()
21248 {
21249 if ((long long *) 0)
21250 return 0;
21251 if (sizeof (long long))
21252 return 0;
21253 ;
21254 return 0;
21255 }
21256 _ACEOF
21257 rm -f conftest.$ac_objext
21258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21259 (eval $ac_compile) 2>conftest.er1
21260 ac_status=$?
21261 grep -v '^ *+' conftest.er1 >conftest.err
21262 rm -f conftest.er1
21263 cat conftest.err >&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } &&
21266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 ac_cv_type_long_long=yes
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 ac_cv_type_long_long=no
21284 fi
21285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21288 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21289
21290 echo "$as_me:$LINENO: checking size of long long" >&5
21291 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21292 if test "${ac_cv_sizeof_long_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 if test "$ac_cv_type_long_long" = yes; then
21296 # The cast to unsigned long works around a bug in the HP C Compiler
21297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21299 # This bug is HP SR number 8606223364.
21300 if test "$cross_compiling" = yes; then
21301 # Depending upon the size, compute the lo and hi bounds.
21302 cat >conftest.$ac_ext <<_ACEOF
21303 /* confdefs.h. */
21304 _ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 $ac_includes_default
21309 int
21310 main ()
21311 {
21312 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21313 test_array [0] = 0
21314
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21321 (eval $ac_compile) 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } &&
21328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; } &&
21334 { ac_try='test -s conftest.$ac_objext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_lo=0 ac_mid=0
21341 while :; do
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 int
21350 main ()
21351 {
21352 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21353 test_array [0] = 0
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21371 ac_status=$?
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_hi=$ac_mid; break
21381 else
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21384
21385 ac_lo=`expr $ac_mid + 1`
21386 if test $ac_lo -le $ac_mid; then
21387 ac_lo= ac_hi=
21388 break
21389 fi
21390 ac_mid=`expr 2 '*' $ac_mid + 1`
21391 fi
21392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21393 done
21394 else
21395 echo "$as_me: failed program was:" >&5
21396 sed 's/^/| /' conftest.$ac_ext >&5
21397
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 int
21406 main ()
21407 {
21408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21409 test_array [0] = 0
21410
21411 ;
21412 return 0;
21413 }
21414 _ACEOF
21415 rm -f conftest.$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; } &&
21430 { ac_try='test -s conftest.$ac_objext'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; }; then
21436 ac_hi=-1 ac_mid=-1
21437 while :; do
21438 cat >conftest.$ac_ext <<_ACEOF
21439 /* confdefs.h. */
21440 _ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21445 int
21446 main ()
21447 {
21448 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21449 test_array [0] = 0
21450
21451 ;
21452 return 0;
21453 }
21454 _ACEOF
21455 rm -f conftest.$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21458 ac_status=$?
21459 grep -v '^ *+' conftest.er1 >conftest.err
21460 rm -f conftest.er1
21461 cat conftest.err >&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21467 ac_status=$?
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try='test -s conftest.$ac_objext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21473 ac_status=$?
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21476 ac_lo=$ac_mid; break
21477 else
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.$ac_ext >&5
21480
21481 ac_hi=`expr '(' $ac_mid ')' - 1`
21482 if test $ac_mid -le $ac_hi; then
21483 ac_lo= ac_hi=
21484 break
21485 fi
21486 ac_mid=`expr 2 '*' $ac_mid`
21487 fi
21488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21489 done
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 ac_lo= ac_hi=
21495 fi
21496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21497 fi
21498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21499 # Binary search between lo and hi bounds.
21500 while test "x$ac_lo" != "x$ac_hi"; do
21501 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h. */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508 $ac_includes_default
21509 int
21510 main ()
21511 {
21512 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21513 test_array [0] = 0
21514
21515 ;
21516 return 0;
21517 }
21518 _ACEOF
21519 rm -f conftest.$ac_objext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21521 (eval $ac_compile) 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } &&
21528 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21530 (eval $ac_try) 2>&5
21531 ac_status=$?
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); }; } &&
21534 { ac_try='test -s conftest.$ac_objext'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21537 ac_status=$?
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; }; then
21540 ac_hi=$ac_mid
21541 else
21542 echo "$as_me: failed program was:" >&5
21543 sed 's/^/| /' conftest.$ac_ext >&5
21544
21545 ac_lo=`expr '(' $ac_mid ')' + 1`
21546 fi
21547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21548 done
21549 case $ac_lo in
21550 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21551 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21552 See \`config.log' for more details." >&5
21553 echo "$as_me: error: cannot compute sizeof (long long), 77
21554 See \`config.log' for more details." >&2;}
21555 { (exit 1); exit 1; }; } ;;
21556 esac
21557 else
21558 if test "$cross_compiling" = yes; then
21559 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21560 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21561 { (exit 1); exit 1; }; }
21562 else
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 long longval () { return (long) (sizeof (long long)); }
21571 unsigned long ulongval () { return (long) (sizeof (long long)); }
21572 #include <stdio.h>
21573 #include <stdlib.h>
21574 int
21575 main ()
21576 {
21577
21578 FILE *f = fopen ("conftest.val", "w");
21579 if (! f)
21580 exit (1);
21581 if (((long) (sizeof (long long))) < 0)
21582 {
21583 long i = longval ();
21584 if (i != ((long) (sizeof (long long))))
21585 exit (1);
21586 fprintf (f, "%ld\n", i);
21587 }
21588 else
21589 {
21590 unsigned long i = ulongval ();
21591 if (i != ((long) (sizeof (long long))))
21592 exit (1);
21593 fprintf (f, "%lu\n", i);
21594 }
21595 exit (ferror (f) || fclose (f) != 0);
21596
21597 ;
21598 return 0;
21599 }
21600 _ACEOF
21601 rm -f conftest$ac_exeext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21603 (eval $ac_link) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21609 ac_status=$?
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; }; then
21612 ac_cv_sizeof_long_long=`cat conftest.val`
21613 else
21614 echo "$as_me: program exited with status $ac_status" >&5
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21617
21618 ( exit $ac_status )
21619 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21620 See \`config.log' for more details." >&5
21621 echo "$as_me: error: cannot compute sizeof (long long), 77
21622 See \`config.log' for more details." >&2;}
21623 { (exit 1); exit 1; }; }
21624 fi
21625 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21626 fi
21627 fi
21628 rm -f conftest.val
21629 else
21630 ac_cv_sizeof_long_long=0
21631 fi
21632 fi
21633 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21634 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21635 cat >>confdefs.h <<_ACEOF
21636 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21637 _ACEOF
21638
21639
21640 esac
21641
21642 echo "$as_me:$LINENO: checking for wchar_t" >&5
21643 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21644 if test "${ac_cv_type_wchar_t+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 else
21647 cat >conftest.$ac_ext <<_ACEOF
21648 /* confdefs.h. */
21649 _ACEOF
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653
21654 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21655 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21656 # error "fake wchar_t"
21657 #endif
21658 #ifdef HAVE_WCHAR_H
21659 # ifdef __CYGWIN__
21660 # include <stddef.h>
21661 # endif
21662 # include <wchar.h>
21663 #endif
21664 #ifdef HAVE_STDLIB_H
21665 # include <stdlib.h>
21666 #endif
21667 #include <stdio.h>
21668
21669
21670
21671 int
21672 main ()
21673 {
21674 if ((wchar_t *) 0)
21675 return 0;
21676 if (sizeof (wchar_t))
21677 return 0;
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21684 (eval $ac_compile) 2>conftest.er1
21685 ac_status=$?
21686 grep -v '^ *+' conftest.er1 >conftest.err
21687 rm -f conftest.er1
21688 cat conftest.err >&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try='test -s conftest.$ac_objext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21700 ac_status=$?
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_cv_type_wchar_t=yes
21704 else
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.$ac_ext >&5
21707
21708 ac_cv_type_wchar_t=no
21709 fi
21710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21711 fi
21712 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21713 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21714
21715 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21716 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21717 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6
21719 else
21720 if test "$ac_cv_type_wchar_t" = yes; then
21721 # The cast to unsigned long works around a bug in the HP C Compiler
21722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21724 # This bug is HP SR number 8606223364.
21725 if test "$cross_compiling" = yes; then
21726 # Depending upon the size, compute the lo and hi bounds.
21727 cat >conftest.$ac_ext <<_ACEOF
21728 /* confdefs.h. */
21729 _ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733
21734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21736 # error "fake wchar_t"
21737 #endif
21738 #ifdef HAVE_WCHAR_H
21739 # ifdef __CYGWIN__
21740 # include <stddef.h>
21741 # endif
21742 # include <wchar.h>
21743 #endif
21744 #ifdef HAVE_STDLIB_H
21745 # include <stdlib.h>
21746 #endif
21747 #include <stdio.h>
21748
21749
21750
21751 int
21752 main ()
21753 {
21754 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21755 test_array [0] = 0
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest.$ac_objext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21763 (eval $ac_compile) 2>conftest.er1
21764 ac_status=$?
21765 grep -v '^ *+' conftest.er1 >conftest.err
21766 rm -f conftest.er1
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } &&
21770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_lo=0 ac_mid=0
21783 while :; do
21784 cat >conftest.$ac_ext <<_ACEOF
21785 /* confdefs.h. */
21786 _ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790
21791 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21792 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21793 # error "fake wchar_t"
21794 #endif
21795 #ifdef HAVE_WCHAR_H
21796 # ifdef __CYGWIN__
21797 # include <stddef.h>
21798 # endif
21799 # include <wchar.h>
21800 #endif
21801 #ifdef HAVE_STDLIB_H
21802 # include <stdlib.h>
21803 #endif
21804 #include <stdio.h>
21805
21806
21807
21808 int
21809 main ()
21810 {
21811 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21812 test_array [0] = 0
21813
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21820 (eval $ac_compile) 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } &&
21827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21829 (eval $ac_try) 2>&5
21830 ac_status=$?
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); }; } &&
21833 { ac_try='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 ac_hi=$ac_mid; break
21840 else
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21843
21844 ac_lo=`expr $ac_mid + 1`
21845 if test $ac_lo -le $ac_mid; then
21846 ac_lo= ac_hi=
21847 break
21848 fi
21849 ac_mid=`expr 2 '*' $ac_mid + 1`
21850 fi
21851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21852 done
21853 else
21854 echo "$as_me: failed program was:" >&5
21855 sed 's/^/| /' conftest.$ac_ext >&5
21856
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863
21864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21866 # error "fake wchar_t"
21867 #endif
21868 #ifdef HAVE_WCHAR_H
21869 # ifdef __CYGWIN__
21870 # include <stddef.h>
21871 # endif
21872 # include <wchar.h>
21873 #endif
21874 #ifdef HAVE_STDLIB_H
21875 # include <stdlib.h>
21876 #endif
21877 #include <stdio.h>
21878
21879
21880
21881 int
21882 main ()
21883 {
21884 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21885 test_array [0] = 0
21886
21887 ;
21888 return 0;
21889 }
21890 _ACEOF
21891 rm -f conftest.$ac_objext
21892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21893 (eval $ac_compile) 2>conftest.er1
21894 ac_status=$?
21895 grep -v '^ *+' conftest.er1 >conftest.err
21896 rm -f conftest.er1
21897 cat conftest.err >&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try='test -s conftest.$ac_objext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21909 ac_status=$?
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21912 ac_hi=-1 ac_mid=-1
21913 while :; do
21914 cat >conftest.$ac_ext <<_ACEOF
21915 /* confdefs.h. */
21916 _ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920
21921 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21922 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21923 # error "fake wchar_t"
21924 #endif
21925 #ifdef HAVE_WCHAR_H
21926 # ifdef __CYGWIN__
21927 # include <stddef.h>
21928 # endif
21929 # include <wchar.h>
21930 #endif
21931 #ifdef HAVE_STDLIB_H
21932 # include <stdlib.h>
21933 #endif
21934 #include <stdio.h>
21935
21936
21937
21938 int
21939 main ()
21940 {
21941 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21942 test_array [0] = 0
21943
21944 ;
21945 return 0;
21946 }
21947 _ACEOF
21948 rm -f conftest.$ac_objext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21950 (eval $ac_compile) 2>conftest.er1
21951 ac_status=$?
21952 grep -v '^ *+' conftest.er1 >conftest.err
21953 rm -f conftest.er1
21954 cat conftest.err >&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; } &&
21963 { ac_try='test -s conftest.$ac_objext'
21964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965 (eval $ac_try) 2>&5
21966 ac_status=$?
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); }; }; then
21969 ac_lo=$ac_mid; break
21970 else
21971 echo "$as_me: failed program was:" >&5
21972 sed 's/^/| /' conftest.$ac_ext >&5
21973
21974 ac_hi=`expr '(' $ac_mid ')' - 1`
21975 if test $ac_mid -le $ac_hi; then
21976 ac_lo= ac_hi=
21977 break
21978 fi
21979 ac_mid=`expr 2 '*' $ac_mid`
21980 fi
21981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21982 done
21983 else
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21986
21987 ac_lo= ac_hi=
21988 fi
21989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21990 fi
21991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21992 # Binary search between lo and hi bounds.
21993 while test "x$ac_lo" != "x$ac_hi"; do
21994 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
22002 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22003 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22004 # error "fake wchar_t"
22005 #endif
22006 #ifdef HAVE_WCHAR_H
22007 # ifdef __CYGWIN__
22008 # include <stddef.h>
22009 # endif
22010 # include <wchar.h>
22011 #endif
22012 #ifdef HAVE_STDLIB_H
22013 # include <stdlib.h>
22014 #endif
22015 #include <stdio.h>
22016
22017
22018
22019 int
22020 main ()
22021 {
22022 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22023 test_array [0] = 0
22024
22025 ;
22026 return 0;
22027 }
22028 _ACEOF
22029 rm -f conftest.$ac_objext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22031 (eval $ac_compile) 2>conftest.er1
22032 ac_status=$?
22033 grep -v '^ *+' conftest.er1 >conftest.err
22034 rm -f conftest.er1
22035 cat conftest.err >&5
22036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037 (exit $ac_status); } &&
22038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040 (eval $ac_try) 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest.$ac_objext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_hi=$ac_mid
22051 else
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 ac_lo=`expr '(' $ac_mid ')' + 1`
22056 fi
22057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22058 done
22059 case $ac_lo in
22060 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22061 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22062 See \`config.log' for more details." >&5
22063 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22064 See \`config.log' for more details." >&2;}
22065 { (exit 1); exit 1; }; } ;;
22066 esac
22067 else
22068 if test "$cross_compiling" = yes; then
22069 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22070 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22071 { (exit 1); exit 1; }; }
22072 else
22073 cat >conftest.$ac_ext <<_ACEOF
22074 /* confdefs.h. */
22075 _ACEOF
22076 cat confdefs.h >>conftest.$ac_ext
22077 cat >>conftest.$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22079
22080 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22081 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22082 # error "fake wchar_t"
22083 #endif
22084 #ifdef HAVE_WCHAR_H
22085 # ifdef __CYGWIN__
22086 # include <stddef.h>
22087 # endif
22088 # include <wchar.h>
22089 #endif
22090 #ifdef HAVE_STDLIB_H
22091 # include <stdlib.h>
22092 #endif
22093 #include <stdio.h>
22094
22095
22096
22097 long longval () { return (long) (sizeof (wchar_t)); }
22098 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22099 #include <stdio.h>
22100 #include <stdlib.h>
22101 int
22102 main ()
22103 {
22104
22105 FILE *f = fopen ("conftest.val", "w");
22106 if (! f)
22107 exit (1);
22108 if (((long) (sizeof (wchar_t))) < 0)
22109 {
22110 long i = longval ();
22111 if (i != ((long) (sizeof (wchar_t))))
22112 exit (1);
22113 fprintf (f, "%ld\n", i);
22114 }
22115 else
22116 {
22117 unsigned long i = ulongval ();
22118 if (i != ((long) (sizeof (wchar_t))))
22119 exit (1);
22120 fprintf (f, "%lu\n", i);
22121 }
22122 exit (ferror (f) || fclose (f) != 0);
22123
22124 ;
22125 return 0;
22126 }
22127 _ACEOF
22128 rm -f conftest$ac_exeext
22129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22130 (eval $ac_link) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 ac_cv_sizeof_wchar_t=`cat conftest.val`
22140 else
22141 echo "$as_me: program exited with status $ac_status" >&5
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 ( exit $ac_status )
22146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22147 See \`config.log' for more details." >&5
22148 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22149 See \`config.log' for more details." >&2;}
22150 { (exit 1); exit 1; }; }
22151 fi
22152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22153 fi
22154 fi
22155 rm -f conftest.val
22156 else
22157 ac_cv_sizeof_wchar_t=0
22158 fi
22159 fi
22160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22161 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22162 cat >>confdefs.h <<_ACEOF
22163 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22164 _ACEOF
22165
22166
22167 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22168 wxUSE_WCHAR_T=yes
22169 else
22170 wxUSE_WCHAR_T=no
22171 fi
22172
22173 echo "$as_me:$LINENO: checking for va_copy" >&5
22174 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22175 if test "${wx_cv_func_va_copy+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 else
22178
22179 cat >conftest.$ac_ext <<_ACEOF
22180
22181 #include <stdarg.h>
22182 void foo(char *f, ...)
22183 {
22184 va_list ap1, ap2;
22185 va_start(ap1, f);
22186 va_copy(ap2, ap1);
22187 va_end(ap2);
22188 va_end(ap1);
22189 }
22190 int main()
22191 {
22192 foo("hi", 17);
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext conftest$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22208 ac_status=$?
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; } &&
22211 { ac_try='test -s conftest$ac_exeext'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 wx_cv_func_va_copy=yes
22218 else
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22221
22222 wx_cv_func_va_copy=no
22223
22224 fi
22225 rm -f conftest.err conftest.$ac_objext \
22226 conftest$ac_exeext conftest.$ac_ext
22227
22228
22229 fi
22230 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22231 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22232
22233 if test $wx_cv_func_va_copy = "yes"; then
22234 cat >>confdefs.h <<\_ACEOF
22235 #define HAVE_VA_COPY 1
22236 _ACEOF
22237
22238 else
22239 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22240 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22241 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22244
22245 if test "$cross_compiling" = yes; then
22246 wx_cv_type_va_list_lvalue=yes
22247
22248 else
22249 cat >conftest.$ac_ext <<_ACEOF
22250
22251 #include <stdarg.h>
22252 int foo(char *f, ...)
22253 {
22254 va_list ap1, ap2;
22255 va_start(ap1, f);
22256 ap2 = ap1;
22257 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22258 return 1;
22259 va_end(ap2);
22260 va_end(ap1);
22261 return 0;
22262 }
22263 int main()
22264 {
22265 return foo("hi", 17);
22266 }
22267 _ACEOF
22268 rm -f conftest$ac_exeext
22269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22270 (eval $ac_link) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22275 (eval $ac_try) 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); }; }; then
22279 wx_cv_type_va_list_lvalue=yes
22280 else
22281 echo "$as_me: program exited with status $ac_status" >&5
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 ( exit $ac_status )
22286 wx_cv_type_va_list_lvalue=no
22287 fi
22288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22289 fi
22290
22291
22292 fi
22293 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22294 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22295
22296 if test $wx_cv_type_va_list_lvalue != "yes"; then
22297 cat >>confdefs.h <<\_ACEOF
22298 #define VA_LIST_IS_ARRAY 1
22299 _ACEOF
22300
22301 fi
22302 fi
22303
22304 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22305 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22306 if test "${wx_cv_have_variadic_macros+set}" = set; then
22307 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 else
22309
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
22317 #include <stdio.h>
22318 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22319
22320 int
22321 main ()
22322 {
22323
22324 test("%s %d %p", "test", 1, 0);
22325
22326
22327 ;
22328 return 0;
22329 }
22330 _ACEOF
22331 rm -f conftest.$ac_objext
22332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22333 (eval $ac_compile) 2>conftest.er1
22334 ac_status=$?
22335 grep -v '^ *+' conftest.er1 >conftest.err
22336 rm -f conftest.er1
22337 cat conftest.err >&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } &&
22340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; } &&
22346 { ac_try='test -s conftest.$ac_objext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22352 wx_cv_have_variadic_macros=yes
22353 else
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.$ac_ext >&5
22356
22357 wx_cv_have_variadic_macros=no
22358
22359 fi
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361
22362
22363 fi
22364 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22365 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22366
22367 if test $wx_cv_have_variadic_macros = "yes"; then
22368 cat >>confdefs.h <<\_ACEOF
22369 #define HAVE_VARIADIC_MACROS 1
22370 _ACEOF
22371
22372 fi
22373
22374 # Check whether --enable-largefile or --disable-largefile was given.
22375 if test "${enable_largefile+set}" = set; then
22376 enableval="$enable_largefile"
22377
22378 fi;
22379 if test "$enable_largefile" != no; then
22380 wx_largefile=no
22381
22382 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22383 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22384 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22385 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 else
22387
22388 cat >conftest.$ac_ext <<_ACEOF
22389 /* confdefs.h. */
22390 _ACEOF
22391 cat confdefs.h >>conftest.$ac_ext
22392 cat >>conftest.$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #define _FILE_OFFSET_BITS 64
22395 #include <sys/types.h>
22396 int
22397 main ()
22398 {
22399 typedef struct {
22400 unsigned int field: sizeof(off_t) == 8;
22401 } wxlf;
22402
22403 ;
22404 return 0;
22405 }
22406 _ACEOF
22407 rm -f conftest.$ac_objext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22409 (eval $ac_compile) 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } &&
22416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22418 (eval $ac_try) 2>&5
22419 ac_status=$?
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); }; } &&
22422 { ac_try='test -s conftest.$ac_objext'
22423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22424 (eval $ac_try) 2>&5
22425 ac_status=$?
22426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22427 (exit $ac_status); }; }; then
22428 ac_cv_sys_file_offset_bits=64
22429 else
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ac_cv_sys_file_offset_bits=no
22434 fi
22435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22436
22437
22438 fi
22439 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22440 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22441
22442 if test "$ac_cv_sys_file_offset_bits" != no; then
22443 wx_largefile=yes
22444 cat >>confdefs.h <<_ACEOF
22445 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22446 _ACEOF
22447
22448 fi
22449
22450 if test "x$wx_largefile" != "xyes"; then
22451
22452 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22453 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22454 if test "${ac_cv_sys_large_files+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22456 else
22457
22458 cat >conftest.$ac_ext <<_ACEOF
22459 /* confdefs.h. */
22460 _ACEOF
22461 cat confdefs.h >>conftest.$ac_ext
22462 cat >>conftest.$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22464 #define _LARGE_FILES 1
22465 #include <sys/types.h>
22466 int
22467 main ()
22468 {
22469 typedef struct {
22470 unsigned int field: sizeof(off_t) == 8;
22471 } wxlf;
22472
22473 ;
22474 return 0;
22475 }
22476 _ACEOF
22477 rm -f conftest.$ac_objext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22479 (eval $ac_compile) 2>conftest.er1
22480 ac_status=$?
22481 grep -v '^ *+' conftest.er1 >conftest.err
22482 rm -f conftest.er1
22483 cat conftest.err >&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22489 ac_status=$?
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; } &&
22492 { ac_try='test -s conftest.$ac_objext'
22493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22494 (eval $ac_try) 2>&5
22495 ac_status=$?
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); }; }; then
22498 ac_cv_sys_large_files=1
22499 else
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22502
22503 ac_cv_sys_large_files=no
22504 fi
22505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22506
22507
22508 fi
22509 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22510 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22511
22512 if test "$ac_cv_sys_large_files" != no; then
22513 wx_largefile=yes
22514 cat >>confdefs.h <<_ACEOF
22515 #define _LARGE_FILES $ac_cv_sys_large_files
22516 _ACEOF
22517
22518 fi
22519
22520 fi
22521
22522 echo "$as_me:$LINENO: checking if large file support is available" >&5
22523 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22524 if test "x$wx_largefile" = "xyes"; then
22525 cat >>confdefs.h <<\_ACEOF
22526 #define HAVE_LARGEFILE_SUPPORT 1
22527 _ACEOF
22528
22529 fi
22530 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22531 echo "${ECHO_T}$wx_largefile" >&6
22532 fi
22533
22534
22535 if test "x$wx_largefile" = "xyes"; then
22536 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22538
22539 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22540 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22541 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22542 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 else
22545
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552
22553 int
22554 main ()
22555 {
22556
22557 #ifndef __STDC_EXT__
22558 choke me
22559 #endif
22560
22561 ;
22562 return 0;
22563 }
22564 _ACEOF
22565 rm -f conftest.$ac_objext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22567 (eval $ac_compile) 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } &&
22574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22576 (eval $ac_try) 2>&5
22577 ac_status=$?
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); }; } &&
22580 { ac_try='test -s conftest.$ac_objext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 wx_cv_STDC_EXT_required=no
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 wx_cv_STDC_EXT_required=yes
22592
22593 fi
22594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22595
22596
22597 fi
22598 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22599 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22600 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22601 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22602 fi
22603 fi
22604 else
22605 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22606 fi
22607 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22608 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22609 if test "${ac_cv_sys_largefile_source+set}" = set; then
22610 echo $ECHO_N "(cached) $ECHO_C" >&6
22611 else
22612 while :; do
22613 ac_cv_sys_largefile_source=no
22614 cat >conftest.$ac_ext <<_ACEOF
22615 /* confdefs.h. */
22616 _ACEOF
22617 cat confdefs.h >>conftest.$ac_ext
22618 cat >>conftest.$ac_ext <<_ACEOF
22619 /* end confdefs.h. */
22620 #include <stdio.h>
22621 int
22622 main ()
22623 {
22624 return !fseeko;
22625 ;
22626 return 0;
22627 }
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22631 (eval $ac_compile) 2>conftest.er1
22632 ac_status=$?
22633 grep -v '^ *+' conftest.er1 >conftest.err
22634 rm -f conftest.er1
22635 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } &&
22638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest.$ac_objext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22647 ac_status=$?
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 break
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 fi
22656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22657 cat >conftest.$ac_ext <<_ACEOF
22658 /* confdefs.h. */
22659 _ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 #define _LARGEFILE_SOURCE 1
22664 #include <stdio.h>
22665 int
22666 main ()
22667 {
22668 return !fseeko;
22669 ;
22670 return 0;
22671 }
22672 _ACEOF
22673 rm -f conftest.$ac_objext
22674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22675 (eval $ac_compile) 2>conftest.er1
22676 ac_status=$?
22677 grep -v '^ *+' conftest.er1 >conftest.err
22678 rm -f conftest.er1
22679 cat conftest.err >&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } &&
22682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; } &&
22688 { ac_try='test -s conftest.$ac_objext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 ac_cv_sys_largefile_source=1; break
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 fi
22700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22701 break
22702 done
22703 fi
22704 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22705 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22706 if test "$ac_cv_sys_largefile_source" != no; then
22707
22708 cat >>confdefs.h <<_ACEOF
22709 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22710 _ACEOF
22711
22712 fi
22713 rm -f conftest*
22714
22715 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22716 # in glibc 2.1.3, but that breaks too many other things.
22717 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22718 echo "$as_me:$LINENO: checking for fseeko" >&5
22719 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22720 if test "${ac_cv_func_fseeko+set}" = set; then
22721 echo $ECHO_N "(cached) $ECHO_C" >&6
22722 else
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <stdio.h>
22730 int
22731 main ()
22732 {
22733 return fseeko && fseeko (stdin, 0, 0);
22734 ;
22735 return 0;
22736 }
22737 _ACEOF
22738 rm -f conftest.$ac_objext conftest$ac_exeext
22739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22740 (eval $ac_link) 2>conftest.er1
22741 ac_status=$?
22742 grep -v '^ *+' conftest.er1 >conftest.err
22743 rm -f conftest.er1
22744 cat conftest.err >&5
22745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 (exit $ac_status); } &&
22747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 (eval $ac_try) 2>&5
22750 ac_status=$?
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); }; } &&
22753 { ac_try='test -s conftest$ac_exeext'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22756 ac_status=$?
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; }; then
22759 ac_cv_func_fseeko=yes
22760 else
22761 echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22763
22764 ac_cv_func_fseeko=no
22765 fi
22766 rm -f conftest.err conftest.$ac_objext \
22767 conftest$ac_exeext conftest.$ac_ext
22768 fi
22769 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22770 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22771 if test $ac_cv_func_fseeko = yes; then
22772
22773 cat >>confdefs.h <<\_ACEOF
22774 #define HAVE_FSEEKO 1
22775 _ACEOF
22776
22777 fi
22778
22779 if test "$ac_cv_sys_largefile_source" != no; then
22780 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22781 fi
22782 fi
22783
22784 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22785 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22786 if test "${ac_cv_c_bigendian+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22788 else
22789 ac_cv_c_bigendian=unknown
22790 # See if sys/param.h defines the BYTE_ORDER macro.
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 #include <sys/types.h>
22798 #include <sys/param.h>
22799 int
22800 main ()
22801 {
22802
22803 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22804 bogus endian macros
22805 #endif
22806 ;
22807 return 0;
22808 }
22809 _ACEOF
22810 rm -f conftest.$ac_objext
22811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22812 (eval $ac_compile) 2>conftest.er1
22813 ac_status=$?
22814 grep -v '^ *+' conftest.er1 >conftest.err
22815 rm -f conftest.er1
22816 cat conftest.err >&5
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); } &&
22819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; } &&
22825 { ac_try='test -s conftest.$ac_objext'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22828 ac_status=$?
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 # It does; now see whether it defined to BIG_ENDIAN or not.
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h. */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 #include <sys/types.h>
22839 #include <sys/param.h>
22840 int
22841 main ()
22842 {
22843
22844 #if BYTE_ORDER != BIG_ENDIAN
22845 not big endian
22846 #endif
22847 ;
22848 return 0;
22849 }
22850 _ACEOF
22851 rm -f conftest.$ac_objext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22853 (eval $ac_compile) 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; } &&
22866 { ac_try='test -s conftest.$ac_objext'
22867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22868 (eval $ac_try) 2>&5
22869 ac_status=$?
22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22871 (exit $ac_status); }; }; then
22872 ac_cv_c_bigendian=yes
22873 else
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.$ac_ext >&5
22876
22877 ac_cv_c_bigendian=no
22878 fi
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884 fi
22885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22886 if test $ac_cv_c_bigendian = unknown; then
22887 if test "$cross_compiling" = yes; then
22888 ac_cv_c_bigendian=unknown
22889 else
22890 cat >conftest.$ac_ext <<_ACEOF
22891 /* confdefs.h. */
22892 _ACEOF
22893 cat confdefs.h >>conftest.$ac_ext
22894 cat >>conftest.$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 main () {
22897 /* Are we little or big endian? From Harbison&Steele. */
22898 union
22899 {
22900 long l;
22901 char c[sizeof (long)];
22902 } u;
22903 u.l = 1;
22904 exit (u.c[sizeof (long) - 1] == 1);
22905 }
22906 _ACEOF
22907 rm -f conftest$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>&5
22910 ac_status=$?
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 ac_cv_c_bigendian=no
22919 else
22920 echo "$as_me: program exited with status $ac_status" >&5
22921 echo "$as_me: failed program was:" >&5
22922 sed 's/^/| /' conftest.$ac_ext >&5
22923
22924 ( exit $ac_status )
22925 ac_cv_c_bigendian=yes
22926 fi
22927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22928 fi
22929 fi
22930 fi
22931 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22932 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22933 if test $ac_cv_c_bigendian = unknown; then
22934 { 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
22935 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;}
22936 fi
22937 if test $ac_cv_c_bigendian = yes; then
22938 cat >>confdefs.h <<\_ACEOF
22939 #define WORDS_BIGENDIAN 1
22940 _ACEOF
22941
22942 fi
22943
22944
22945
22946
22947
22948 ac_ext=cc
22949 ac_cpp='$CXXCPP $CPPFLAGS'
22950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22953
22954
22955
22956 for ac_header in iostream
22957 do
22958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22960 echo "$as_me:$LINENO: checking for $ac_header" >&5
22961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22963 echo $ECHO_N "(cached) $ECHO_C" >&6
22964 fi
22965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22967 else
22968 # Is the header compilable?
22969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22971 cat >conftest.$ac_ext <<_ACEOF
22972 /* confdefs.h. */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 $ac_includes_default
22978 #include <$ac_header>
22979 _ACEOF
22980 rm -f conftest.$ac_objext
22981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22982 (eval $ac_compile) 2>conftest.er1
22983 ac_status=$?
22984 grep -v '^ *+' conftest.er1 >conftest.err
22985 rm -f conftest.er1
22986 cat conftest.err >&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); } &&
22989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest.$ac_objext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_header_compiler=yes
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 ac_header_compiler=no
23007 fi
23008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23010 echo "${ECHO_T}$ac_header_compiler" >&6
23011
23012 # Is the header present?
23013 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 #include <$ac_header>
23022 _ACEOF
23023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23025 ac_status=$?
23026 grep -v '^ *+' conftest.er1 >conftest.err
23027 rm -f conftest.er1
23028 cat conftest.err >&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); } >/dev/null; then
23031 if test -s conftest.err; then
23032 ac_cpp_err=$ac_cxx_preproc_warn_flag
23033 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23034 else
23035 ac_cpp_err=
23036 fi
23037 else
23038 ac_cpp_err=yes
23039 fi
23040 if test -z "$ac_cpp_err"; then
23041 ac_header_preproc=yes
23042 else
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.$ac_ext >&5
23045
23046 ac_header_preproc=no
23047 fi
23048 rm -f conftest.err conftest.$ac_ext
23049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23050 echo "${ECHO_T}$ac_header_preproc" >&6
23051
23052 # So? What about this header?
23053 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23054 yes:no: )
23055 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23056 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23058 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23059 ac_header_preproc=yes
23060 ;;
23061 no:yes:* )
23062 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23063 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23064 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23065 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23066 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23067 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23068 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23069 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23072 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23073 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23074 (
23075 cat <<\_ASBOX
23076 ## ----------------------------------------- ##
23077 ## Report this to wx-dev@lists.wxwidgets.org ##
23078 ## ----------------------------------------- ##
23079 _ASBOX
23080 ) |
23081 sed "s/^/$as_me: WARNING: /" >&2
23082 ;;
23083 esac
23084 echo "$as_me:$LINENO: checking for $ac_header" >&5
23085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23087 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 else
23089 eval "$as_ac_Header=\$ac_header_preproc"
23090 fi
23091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23093
23094 fi
23095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23096 cat >>confdefs.h <<_ACEOF
23097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23098 _ACEOF
23099
23100 fi
23101
23102 done
23103
23104
23105 if test "$ac_cv_header_iostream" = "yes" ; then
23106 :
23107 else
23108 cat >>confdefs.h <<\_ACEOF
23109 #define wxUSE_IOSTREAMH 1
23110 _ACEOF
23111
23112 fi
23113
23114 ac_ext=cc
23115 ac_cpp='$CXXCPP $CPPFLAGS'
23116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23119
23120
23121
23122
23123 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23124 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23125 if test "${wx_cv_cpp_bool+set}" = set; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 else
23128
23129
23130
23131 ac_ext=cc
23132 ac_cpp='$CXXCPP $CPPFLAGS'
23133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136
23137
23138 cat >conftest.$ac_ext <<_ACEOF
23139 /* confdefs.h. */
23140 _ACEOF
23141 cat confdefs.h >>conftest.$ac_ext
23142 cat >>conftest.$ac_ext <<_ACEOF
23143 /* end confdefs.h. */
23144
23145
23146 int
23147 main ()
23148 {
23149
23150 bool b = true;
23151
23152 return 0;
23153
23154 ;
23155 return 0;
23156 }
23157 _ACEOF
23158 rm -f conftest.$ac_objext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23160 (eval $ac_compile) 2>conftest.er1
23161 ac_status=$?
23162 grep -v '^ *+' conftest.er1 >conftest.err
23163 rm -f conftest.er1
23164 cat conftest.err >&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23170 ac_status=$?
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23176 ac_status=$?
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179
23180 wx_cv_cpp_bool=yes
23181
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186
23187 wx_cv_cpp_bool=no
23188
23189
23190 fi
23191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23192
23193 ac_ext=cc
23194 ac_cpp='$CXXCPP $CPPFLAGS'
23195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198
23199
23200 fi
23201 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23202 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23203
23204 if test "$wx_cv_cpp_bool" = "yes"; then
23205 cat >>confdefs.h <<\_ACEOF
23206 #define HAVE_BOOL 1
23207 _ACEOF
23208
23209 fi
23210
23211
23212
23213 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23214 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23215 if test "${wx_cv_explicit+set}" = set; then
23216 echo $ECHO_N "(cached) $ECHO_C" >&6
23217 else
23218
23219
23220
23221 ac_ext=cc
23222 ac_cpp='$CXXCPP $CPPFLAGS'
23223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23226
23227
23228 cat >conftest.$ac_ext <<_ACEOF
23229 /* confdefs.h. */
23230 _ACEOF
23231 cat confdefs.h >>conftest.$ac_ext
23232 cat >>conftest.$ac_ext <<_ACEOF
23233 /* end confdefs.h. */
23234
23235 class Foo { public: explicit Foo(int) {} };
23236
23237 int
23238 main ()
23239 {
23240
23241 return 0;
23242
23243 ;
23244 return 0;
23245 }
23246 _ACEOF
23247 rm -f conftest.$ac_objext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23249 (eval $ac_compile) 2>conftest.er1
23250 ac_status=$?
23251 grep -v '^ *+' conftest.er1 >conftest.err
23252 rm -f conftest.er1
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; } &&
23262 { ac_try='test -s conftest.$ac_objext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23268
23269 cat >conftest.$ac_ext <<_ACEOF
23270 /* confdefs.h. */
23271 _ACEOF
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275
23276 class Foo { public: explicit Foo(int) {} };
23277 static void TakeFoo(const Foo& foo) { }
23278
23279 int
23280 main ()
23281 {
23282
23283 TakeFoo(17);
23284 return 0;
23285
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23292 (eval $ac_compile) 2>conftest.er1
23293 ac_status=$?
23294 grep -v '^ *+' conftest.er1 >conftest.err
23295 rm -f conftest.er1
23296 cat conftest.err >&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } &&
23299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23301 (eval $ac_try) 2>&5
23302 ac_status=$?
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); }; } &&
23305 { ac_try='test -s conftest.$ac_objext'
23306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23307 (eval $ac_try) 2>&5
23308 ac_status=$?
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); }; }; then
23311 wx_cv_explicit=no
23312 else
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.$ac_ext >&5
23315
23316 wx_cv_explicit=yes
23317
23318 fi
23319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23320
23321 else
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.$ac_ext >&5
23324
23325 wx_cv_explicit=no
23326
23327 fi
23328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23329
23330 ac_ext=cc
23331 ac_cpp='$CXXCPP $CPPFLAGS'
23332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335
23336
23337 fi
23338 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23339 echo "${ECHO_T}$wx_cv_explicit" >&6
23340
23341 if test "$wx_cv_explicit" = "yes"; then
23342 cat >>confdefs.h <<\_ACEOF
23343 #define HAVE_EXPLICIT 1
23344 _ACEOF
23345
23346 fi
23347
23348
23349 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23350 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23351 if test "${ac_cv_cxx_const_cast+set}" = set; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 else
23354
23355
23356 ac_ext=cc
23357 ac_cpp='$CXXCPP $CPPFLAGS'
23358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361
23362 cat >conftest.$ac_ext <<_ACEOF
23363 /* confdefs.h. */
23364 _ACEOF
23365 cat confdefs.h >>conftest.$ac_ext
23366 cat >>conftest.$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368
23369 int
23370 main ()
23371 {
23372 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23373 ;
23374 return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest.$ac_objext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23379 (eval $ac_compile) 2>conftest.er1
23380 ac_status=$?
23381 grep -v '^ *+' conftest.er1 >conftest.err
23382 rm -f conftest.er1
23383 cat conftest.err >&5
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); } &&
23386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23389 ac_status=$?
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; } &&
23392 { ac_try='test -s conftest.$ac_objext'
23393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23394 (eval $ac_try) 2>&5
23395 ac_status=$?
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); }; }; then
23398 ac_cv_cxx_const_cast=yes
23399 else
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.$ac_ext >&5
23402
23403 ac_cv_cxx_const_cast=no
23404 fi
23405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23406 ac_ext=cc
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23411
23412
23413 fi
23414 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23415 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23416 if test "$ac_cv_cxx_const_cast" = yes; then
23417
23418 cat >>confdefs.h <<\_ACEOF
23419 #define HAVE_CONST_CAST
23420 _ACEOF
23421
23422 fi
23423
23424 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23425 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23426 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 else
23429
23430
23431 ac_ext=cc
23432 ac_cpp='$CXXCPP $CPPFLAGS'
23433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23436
23437 cat >conftest.$ac_ext <<_ACEOF
23438 /* confdefs.h. */
23439 _ACEOF
23440 cat confdefs.h >>conftest.$ac_ext
23441 cat >>conftest.$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443 #include <typeinfo>
23444 class Base { public : Base () {} virtual void f () = 0;};
23445 class Derived : public Base { public : Derived () {} virtual void f () {} };
23446 class Unrelated { public : Unrelated () {} };
23447 int g (Unrelated&) { return 0; }
23448 int
23449 main ()
23450 {
23451
23452 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23453 ;
23454 return 0;
23455 }
23456 _ACEOF
23457 rm -f conftest.$ac_objext
23458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23459 (eval $ac_compile) 2>conftest.er1
23460 ac_status=$?
23461 grep -v '^ *+' conftest.er1 >conftest.err
23462 rm -f conftest.er1
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } &&
23466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468 (eval $ac_try) 2>&5
23469 ac_status=$?
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; } &&
23472 { ac_try='test -s conftest.$ac_objext'
23473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23474 (eval $ac_try) 2>&5
23475 ac_status=$?
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); }; }; then
23478 ac_cv_cxx_reinterpret_cast=yes
23479 else
23480 echo "$as_me: failed program was:" >&5
23481 sed 's/^/| /' conftest.$ac_ext >&5
23482
23483 ac_cv_cxx_reinterpret_cast=no
23484 fi
23485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23486 ac_ext=cc
23487 ac_cpp='$CXXCPP $CPPFLAGS'
23488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23491
23492
23493 fi
23494 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23495 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23496 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23497
23498 cat >>confdefs.h <<\_ACEOF
23499 #define HAVE_REINTERPRET_CAST
23500 _ACEOF
23501
23502 fi
23503
23504 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23505 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23506 if test "${ac_cv_cxx_static_cast+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 else
23509
23510
23511 ac_ext=cc
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23516
23517 cat >conftest.$ac_ext <<_ACEOF
23518 /* confdefs.h. */
23519 _ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 #include <typeinfo>
23524 class Base { public : Base () {} virtual void f () = 0; };
23525 class Derived : public Base { public : Derived () {} virtual void f () {} };
23526 int g (Derived&) { return 0; }
23527 int
23528 main ()
23529 {
23530
23531 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 rm -f conftest.$ac_objext
23537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23538 (eval $ac_compile) 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } &&
23545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23548 ac_status=$?
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; } &&
23551 { ac_try='test -s conftest.$ac_objext'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; }; then
23557 ac_cv_cxx_static_cast=yes
23558 else
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.$ac_ext >&5
23561
23562 ac_cv_cxx_static_cast=no
23563 fi
23564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23565 ac_ext=cc
23566 ac_cpp='$CXXCPP $CPPFLAGS'
23567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23570
23571
23572 fi
23573 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23574 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23575 if test "$ac_cv_cxx_static_cast" = yes; then
23576
23577 cat >>confdefs.h <<\_ACEOF
23578 #define HAVE_STATIC_CAST
23579 _ACEOF
23580
23581 fi
23582
23583
23584 if test "x$SUNCXX" = xyes; then
23585 CXXFLAGS="-features=tmplife $CXXFLAGS"
23586 fi
23587
23588 if test "x$SUNCC" = xyes; then
23589 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23590 fi
23591
23592 if test "x$SGICC" = "xyes"; then
23593 CFLAGS="-woff 3970 $CFLAGS"
23594 fi
23595 if test "x$SGICXX" = "xyes"; then
23596 CXXFLAGS="-woff 3970 $CXXFLAGS"
23597 fi
23598
23599 if test "x$HPCC" = "xyes"; then
23600 CFLAGS="+W 2011,2450 $CFLAGS"
23601 fi
23602 if test "x$HPCXX" = "xyes"; then
23603 CXXFLAGS="+W 2340 $CXXFLAGS"
23604 fi
23605
23606 if test "x$COMPAQCXX" = "xyes"; then
23607 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23608 fi
23609
23610 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23611 if test "$wxUSE_UNICODE" = "yes"; then
23612 std_string="std::wstring"
23613 char_type="wchar_t"
23614 else
23615 std_string="std::string"
23616 char_type="char"
23617 fi
23618
23619 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23620 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 #include <string>
23628 int
23629 main ()
23630 {
23631 $std_string foo;
23632 ;
23633 return 0;
23634 }
23635 _ACEOF
23636 rm -f conftest.$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try='test -s conftest.$ac_objext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 echo "$as_me:$LINENO: result: yes" >&5
23658 echo "${ECHO_T}yes" >&6
23659 cat >>confdefs.h <<\_ACEOF
23660 #define HAVE_STD_WSTRING 1
23661 _ACEOF
23662
23663 else
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23666
23667 echo "$as_me:$LINENO: result: no" >&5
23668 echo "${ECHO_T}no" >&6
23669 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23670 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677
23678 #ifdef HAVE_WCHAR_H
23679 # ifdef __CYGWIN__
23680 # include <stddef.h>
23681 # endif
23682 # include <wchar.h>
23683 #endif
23684 #ifdef HAVE_STDLIB_H
23685 # include <stdlib.h>
23686 #endif
23687 #include <stdio.h>
23688 #include <string>
23689
23690 int
23691 main ()
23692 {
23693 std::basic_string<$char_type> foo;
23694 const $char_type* dummy = foo.c_str();
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23702 ac_status=$?
23703 grep -v '^ *+' conftest.er1 >conftest.err
23704 rm -f conftest.er1
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 echo "$as_me:$LINENO: result: yes" >&5
23721 echo "${ECHO_T}yes" >&6
23722 else
23723 echo "$as_me: failed program was:" >&5
23724 sed 's/^/| /' conftest.$ac_ext >&5
23725
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23728 if test "$wxUSE_STL" = "yes"; then
23729 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23730 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23731 { (exit 1); exit 1; }; }
23732 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23733 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23734 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23735 { (exit 1); exit 1; }; }
23736 else
23737 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23738 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23739 wxUSE_STD_STRING=no
23740 fi
23741
23742
23743 fi
23744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23745
23746 fi
23747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23748 fi
23749
23750 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23751 echo "$as_me:$LINENO: checking for std::istream" >&5
23752 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23753 if test "${ac_cv_type_std__istream+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756 cat >conftest.$ac_ext <<_ACEOF
23757 /* confdefs.h. */
23758 _ACEOF
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 #include <iostream>
23763
23764 int
23765 main ()
23766 {
23767 if ((std::istream *) 0)
23768 return 0;
23769 if (sizeof (std::istream))
23770 return 0;
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 rm -f conftest.$ac_objext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23777 (eval $ac_compile) 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; } &&
23790 { ac_try='test -s conftest.$ac_objext'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23793 ac_status=$?
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; }; then
23796 ac_cv_type_std__istream=yes
23797 else
23798 echo "$as_me: failed program was:" >&5
23799 sed 's/^/| /' conftest.$ac_ext >&5
23800
23801 ac_cv_type_std__istream=no
23802 fi
23803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23804 fi
23805 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23806 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23807 if test $ac_cv_type_std__istream = yes; then
23808
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_STD__ISTREAM 1
23811 _ACEOF
23812
23813
23814 else
23815 wxUSE_STD_IOSTREAM=no
23816 fi
23817 echo "$as_me:$LINENO: checking for std::ostream" >&5
23818 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23819 if test "${ac_cv_type_std__ostream+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 else
23822 cat >conftest.$ac_ext <<_ACEOF
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #include <iostream>
23829
23830 int
23831 main ()
23832 {
23833 if ((std::ostream *) 0)
23834 return 0;
23835 if (sizeof (std::ostream))
23836 return 0;
23837 ;
23838 return 0;
23839 }
23840 _ACEOF
23841 rm -f conftest.$ac_objext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23843 (eval $ac_compile) 2>conftest.er1
23844 ac_status=$?
23845 grep -v '^ *+' conftest.er1 >conftest.err
23846 rm -f conftest.er1
23847 cat conftest.err >&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23852 (eval $ac_try) 2>&5
23853 ac_status=$?
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; } &&
23856 { ac_try='test -s conftest.$ac_objext'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23859 ac_status=$?
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; }; then
23862 ac_cv_type_std__ostream=yes
23863 else
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 ac_cv_type_std__ostream=no
23868 fi
23869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23870 fi
23871 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23872 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23873 if test $ac_cv_type_std__ostream = yes; then
23874
23875 cat >>confdefs.h <<_ACEOF
23876 #define HAVE_STD__OSTREAM 1
23877 _ACEOF
23878
23879
23880 else
23881 wxUSE_STD_IOSTREAM=no
23882 fi
23883
23884
23885 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23886 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23887 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23888 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23889 { (exit 1); exit 1; }; }
23890 else
23891 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23892 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23893 fi
23894 fi
23895 fi
23896
23897 if test "$wxUSE_STL" = "yes"; then
23898 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23899 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 #include <string>
23907 #include <functional>
23908 #include <algorithm>
23909 #include <vector>
23910 #include <list>
23911 int
23912 main ()
23913 {
23914 std::vector<int> moo;
23915 std::list<int> foo;
23916 std::vector<int>::iterator it =
23917 std::find_if(moo.begin(), moo.end(),
23918 std::bind2nd(std::less<int>(), 3));
23919 ;
23920 return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23925 (eval $ac_compile) 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; } &&
23938 { ac_try='test -s conftest.$ac_objext'
23939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23940 (eval $ac_try) 2>&5
23941 ac_status=$?
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; }; then
23944 echo "$as_me:$LINENO: result: yes" >&5
23945 echo "${ECHO_T}yes" >&6
23946 else
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.$ac_ext >&5
23949
23950 echo "$as_me:$LINENO: result: no" >&5
23951 echo "${ECHO_T}no" >&6
23952 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23953 echo "$as_me: error: Basic STL functionality missing" >&2;}
23954 { (exit 1); exit 1; }; }
23955 fi
23956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23957
23958 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23959 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <string>
23967 int
23968 main ()
23969 {
23970 std::string foo, bar;
23971 foo.compare(bar);
23972 foo.compare(1, 1, bar);
23973 foo.compare(1, 1, bar, 1, 1);
23974 foo.compare("");
23975 foo.compare(1, 1, "");
23976 foo.compare(1, 1, "", 2);
23977 ;
23978 return 0;
23979 }
23980 _ACEOF
23981 rm -f conftest.$ac_objext
23982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23983 (eval $ac_compile) 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } &&
23990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try='test -s conftest.$ac_objext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
23999 ac_status=$?
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 echo "$as_me:$LINENO: result: yes" >&5
24003 echo "${ECHO_T}yes" >&6
24004 cat >>confdefs.h <<\_ACEOF
24005 #define HAVE_STD_STRING_COMPARE 1
24006 _ACEOF
24007
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24011
24012 echo "$as_me:$LINENO: result: no" >&5
24013 echo "${ECHO_T}no" >&6
24014 fi
24015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24016
24017 if test "${ac_cv_header_hash_map+set}" = set; then
24018 echo "$as_me:$LINENO: checking for hash_map" >&5
24019 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24020 if test "${ac_cv_header_hash_map+set}" = set; then
24021 echo $ECHO_N "(cached) $ECHO_C" >&6
24022 fi
24023 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24024 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24025 else
24026 # Is the header compilable?
24027 echo "$as_me:$LINENO: checking hash_map usability" >&5
24028 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24029 cat >conftest.$ac_ext <<_ACEOF
24030 /* confdefs.h. */
24031 _ACEOF
24032 cat confdefs.h >>conftest.$ac_ext
24033 cat >>conftest.$ac_ext <<_ACEOF
24034 /* end confdefs.h. */
24035 $ac_includes_default
24036 #include <hash_map>
24037 _ACEOF
24038 rm -f conftest.$ac_objext
24039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24040 (eval $ac_compile) 2>conftest.er1
24041 ac_status=$?
24042 grep -v '^ *+' conftest.er1 >conftest.err
24043 rm -f conftest.er1
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } &&
24047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24050 ac_status=$?
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; } &&
24053 { ac_try='test -s conftest.$ac_objext'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; }; then
24059 ac_header_compiler=yes
24060 else
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24063
24064 ac_header_compiler=no
24065 fi
24066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24068 echo "${ECHO_T}$ac_header_compiler" >&6
24069
24070 # Is the header present?
24071 echo "$as_me:$LINENO: checking hash_map presence" >&5
24072 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24073 cat >conftest.$ac_ext <<_ACEOF
24074 /* confdefs.h. */
24075 _ACEOF
24076 cat confdefs.h >>conftest.$ac_ext
24077 cat >>conftest.$ac_ext <<_ACEOF
24078 /* end confdefs.h. */
24079 #include <hash_map>
24080 _ACEOF
24081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } >/dev/null; then
24089 if test -s conftest.err; then
24090 ac_cpp_err=$ac_cxx_preproc_warn_flag
24091 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24092 else
24093 ac_cpp_err=
24094 fi
24095 else
24096 ac_cpp_err=yes
24097 fi
24098 if test -z "$ac_cpp_err"; then
24099 ac_header_preproc=yes
24100 else
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.$ac_ext >&5
24103
24104 ac_header_preproc=no
24105 fi
24106 rm -f conftest.err conftest.$ac_ext
24107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24108 echo "${ECHO_T}$ac_header_preproc" >&6
24109
24110 # So? What about this header?
24111 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24112 yes:no: )
24113 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24114 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24115 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24116 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24117 ac_header_preproc=yes
24118 ;;
24119 no:yes:* )
24120 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24121 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24122 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24123 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24124 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24125 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24126 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24127 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24128 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24129 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24130 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24131 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24132 (
24133 cat <<\_ASBOX
24134 ## ----------------------------------------- ##
24135 ## Report this to wx-dev@lists.wxwidgets.org ##
24136 ## ----------------------------------------- ##
24137 _ASBOX
24138 ) |
24139 sed "s/^/$as_me: WARNING: /" >&2
24140 ;;
24141 esac
24142 echo "$as_me:$LINENO: checking for hash_map" >&5
24143 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24144 if test "${ac_cv_header_hash_map+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24146 else
24147 ac_cv_header_hash_map=$ac_header_preproc
24148 fi
24149 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24150 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24151
24152 fi
24153 if test $ac_cv_header_hash_map = yes; then
24154 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24155 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24156 cat >conftest.$ac_ext <<_ACEOF
24157 /* confdefs.h. */
24158 _ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 #include <hash_map>
24163 #include <hash_set>
24164 int
24165 main ()
24166 {
24167 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24168 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24169 ;
24170 return 0;
24171 }
24172 _ACEOF
24173 rm -f conftest.$ac_objext
24174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24175 (eval $ac_compile) 2>conftest.er1
24176 ac_status=$?
24177 grep -v '^ *+' conftest.er1 >conftest.err
24178 rm -f conftest.er1
24179 cat conftest.err >&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); } &&
24182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; } &&
24188 { ac_try='test -s conftest.$ac_objext'
24189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24190 (eval $ac_try) 2>&5
24191 ac_status=$?
24192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193 (exit $ac_status); }; }; then
24194 echo "$as_me:$LINENO: result: yes" >&5
24195 echo "${ECHO_T}yes" >&6
24196 cat >>confdefs.h <<\_ACEOF
24197 #define HAVE_HASH_MAP 1
24198 _ACEOF
24199
24200 cat >>confdefs.h <<\_ACEOF
24201 #define HAVE_STD_HASH_MAP 1
24202 _ACEOF
24203
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24207
24208 echo "$as_me:$LINENO: result: no" >&5
24209 echo "${ECHO_T}no" >&6
24210 fi
24211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24212
24213 fi
24214
24215
24216
24217 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24218 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24219 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24220 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24221 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 fi
24223 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24224 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24225 else
24226 # Is the header compilable?
24227 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24228 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235 $ac_includes_default
24236 #include <ext/hash_map>
24237 _ACEOF
24238 rm -f conftest.$ac_objext
24239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24240 (eval $ac_compile) 2>conftest.er1
24241 ac_status=$?
24242 grep -v '^ *+' conftest.er1 >conftest.err
24243 rm -f conftest.er1
24244 cat conftest.err >&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; } &&
24253 { ac_try='test -s conftest.$ac_objext'
24254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24255 (eval $ac_try) 2>&5
24256 ac_status=$?
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); }; }; then
24259 ac_header_compiler=yes
24260 else
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.$ac_ext >&5
24263
24264 ac_header_compiler=no
24265 fi
24266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24268 echo "${ECHO_T}$ac_header_compiler" >&6
24269
24270 # Is the header present?
24271 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24272 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24273 cat >conftest.$ac_ext <<_ACEOF
24274 /* confdefs.h. */
24275 _ACEOF
24276 cat confdefs.h >>conftest.$ac_ext
24277 cat >>conftest.$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24279 #include <ext/hash_map>
24280 _ACEOF
24281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24283 ac_status=$?
24284 grep -v '^ *+' conftest.er1 >conftest.err
24285 rm -f conftest.er1
24286 cat conftest.err >&5
24287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288 (exit $ac_status); } >/dev/null; then
24289 if test -s conftest.err; then
24290 ac_cpp_err=$ac_cxx_preproc_warn_flag
24291 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24292 else
24293 ac_cpp_err=
24294 fi
24295 else
24296 ac_cpp_err=yes
24297 fi
24298 if test -z "$ac_cpp_err"; then
24299 ac_header_preproc=yes
24300 else
24301 echo "$as_me: failed program was:" >&5
24302 sed 's/^/| /' conftest.$ac_ext >&5
24303
24304 ac_header_preproc=no
24305 fi
24306 rm -f conftest.err conftest.$ac_ext
24307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24308 echo "${ECHO_T}$ac_header_preproc" >&6
24309
24310 # So? What about this header?
24311 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24312 yes:no: )
24313 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24314 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24315 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24316 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24317 ac_header_preproc=yes
24318 ;;
24319 no:yes:* )
24320 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24321 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24322 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24323 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24324 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24325 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24326 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24327 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24328 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24329 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24330 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24331 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24332 (
24333 cat <<\_ASBOX
24334 ## ----------------------------------------- ##
24335 ## Report this to wx-dev@lists.wxwidgets.org ##
24336 ## ----------------------------------------- ##
24337 _ASBOX
24338 ) |
24339 sed "s/^/$as_me: WARNING: /" >&2
24340 ;;
24341 esac
24342 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24343 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24344 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24345 echo $ECHO_N "(cached) $ECHO_C" >&6
24346 else
24347 ac_cv_header_ext_hash_map=$ac_header_preproc
24348 fi
24349 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24350 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24351
24352 fi
24353 if test $ac_cv_header_ext_hash_map = yes; then
24354 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24355 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24356 cat >conftest.$ac_ext <<_ACEOF
24357 /* confdefs.h. */
24358 _ACEOF
24359 cat confdefs.h >>conftest.$ac_ext
24360 cat >>conftest.$ac_ext <<_ACEOF
24361 /* end confdefs.h. */
24362 #include <ext/hash_map>
24363 #include <ext/hash_set>
24364 int
24365 main ()
24366 {
24367 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24368 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24369 ;
24370 return 0;
24371 }
24372 _ACEOF
24373 rm -f conftest.$ac_objext
24374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24375 (eval $ac_compile) 2>conftest.er1
24376 ac_status=$?
24377 grep -v '^ *+' conftest.er1 >conftest.err
24378 rm -f conftest.er1
24379 cat conftest.err >&5
24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); } &&
24382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384 (eval $ac_try) 2>&5
24385 ac_status=$?
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); }; } &&
24388 { ac_try='test -s conftest.$ac_objext'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24391 ac_status=$?
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; }; then
24394 echo "$as_me:$LINENO: result: yes" >&5
24395 echo "${ECHO_T}yes" >&6
24396 cat >>confdefs.h <<\_ACEOF
24397 #define HAVE_EXT_HASH_MAP 1
24398 _ACEOF
24399
24400 cat >>confdefs.h <<\_ACEOF
24401 #define HAVE_GNU_CXX_HASH_MAP 1
24402 _ACEOF
24403
24404 else
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.$ac_ext >&5
24407
24408 echo "$as_me:$LINENO: result: no" >&5
24409 echo "${ECHO_T}no" >&6
24410 fi
24411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24412
24413 fi
24414
24415
24416 fi
24417
24418
24419 SEARCH_INCLUDE="\
24420 /usr/local/include \
24421 \
24422 /usr/Motif-2.1/include \
24423 /usr/Motif-1.2/include \
24424 /usr/include/Motif1.2 \
24425 \
24426 /usr/dt/include \
24427 /usr/openwin/include \
24428 \
24429 /usr/include/Xm \
24430 \
24431 /usr/X11R6/include \
24432 /usr/X11R6.4/include \
24433 /usr/X11R5/include \
24434 /usr/X11R4/include \
24435 \
24436 /usr/include/X11R6 \
24437 /usr/include/X11R5 \
24438 /usr/include/X11R4 \
24439 \
24440 /usr/local/X11R6/include \
24441 /usr/local/X11R5/include \
24442 /usr/local/X11R4/include \
24443 \
24444 /usr/local/include/X11R6 \
24445 /usr/local/include/X11R5 \
24446 /usr/local/include/X11R4 \
24447 \
24448 /usr/X11/include \
24449 /usr/include/X11 \
24450 /usr/local/X11/include \
24451 /usr/local/include/X11 \
24452 \
24453 /usr/XFree86/include/X11 \
24454 /usr/pkg/include \
24455 \
24456 /usr/openwin/share/include"
24457
24458 echo "$as_me:$LINENO: checking for libraries directory" >&5
24459 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24460
24461 case "${host}" in
24462 *-*-irix6* )
24463 if test "${wx_cv_std_libpath+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 else
24466
24467 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24468 for e in a so sl dylib dll.a; do
24469 libc="$d/libc.$e"
24470 if test -f $libc; then
24471 save_LIBS="$LIBS"
24472 LIBS="$libc"
24473 cat >conftest.$ac_ext <<_ACEOF
24474 int main() { return 0; }
24475 _ACEOF
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>conftest.er1
24479 ac_status=$?
24480 grep -v '^ *+' conftest.er1 >conftest.err
24481 rm -f conftest.er1
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24488 ac_status=$?
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24494 ac_status=$?
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 fi
24503 rm -f conftest.err conftest.$ac_objext \
24504 conftest$ac_exeext conftest.$ac_ext
24505 LIBS="$save_LIBS"
24506 if test "x$wx_cv_std_libpath" != "x"; then
24507 break 2
24508 fi
24509 fi
24510 done
24511 done
24512 if test "x$wx_cv_std_libpath" = "x"; then
24513 wx_cv_std_libpath="lib"
24514 fi
24515
24516
24517 fi
24518
24519 ;;
24520
24521 *-*-solaris2* )
24522 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24523 wx_cv_std_libpath="lib/64"
24524 else
24525 wx_cv_std_libpath="lib"
24526 fi
24527 ;;
24528
24529 *-*-linux* )
24530 if test "$ac_cv_sizeof_void_p" = 8 -a \
24531 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24532 wx_cv_std_libpath="lib64"
24533 else
24534 wx_cv_std_libpath="lib"
24535 fi
24536 ;;
24537
24538 *)
24539 wx_cv_std_libpath="lib";
24540 ;;
24541 esac
24542
24543 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24544 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24545
24546 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24547
24548 if test "$build" != "$host" -a "$GCC" = yes; then
24549 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24550 cross_root=`dirname $cross_root`
24551 cross_root=`dirname $cross_root`
24552
24553 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24554 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24555 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24556
24557 if test -z "$PKG_CONFIG_PATH"; then
24558 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24559 export PKG_CONFIG_PATH
24560 fi
24561
24562 if test -z "$x_includes" -o "$x_includes" = NONE; then
24563
24564 ac_find_includes=
24565 for ac_dir in $SEARCH_INCLUDE /usr/include;
24566 do
24567 if test -f "$ac_dir/X11/Intrinsic.h"; then
24568 ac_find_includes=$ac_dir
24569 break
24570 fi
24571 done
24572
24573 x_includes=$ac_find_includes
24574 fi
24575 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24576
24577 ac_find_libraries=
24578 for ac_dir in $SEARCH_LIB;
24579 do
24580 for ac_extension in a so sl dylib dll.a; do
24581 if test -f "$ac_dir/libXt.$ac_extension"; then
24582 ac_find_libraries=$ac_dir
24583 break 2
24584 fi
24585 done
24586 done
24587
24588 x_libraries=$ac_find_libraries
24589 fi
24590 fi
24591 fi
24592
24593
24594 cat >confcache <<\_ACEOF
24595 # This file is a shell script that caches the results of configure
24596 # tests run on this system so they can be shared between configure
24597 # scripts and configure runs, see configure's option --config-cache.
24598 # It is not useful on other systems. If it contains results you don't
24599 # want to keep, you may remove or edit it.
24600 #
24601 # config.status only pays attention to the cache file if you give it
24602 # the --recheck option to rerun configure.
24603 #
24604 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24605 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24606 # following values.
24607
24608 _ACEOF
24609
24610 # The following way of writing the cache mishandles newlines in values,
24611 # but we know of no workaround that is simple, portable, and efficient.
24612 # So, don't put newlines in cache variables' values.
24613 # Ultrix sh set writes to stderr and can't be redirected directly,
24614 # and sets the high bit in the cache file unless we assign to the vars.
24615 {
24616 (set) 2>&1 |
24617 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24618 *ac_space=\ *)
24619 # `set' does not quote correctly, so add quotes (double-quote
24620 # substitution turns \\\\ into \\, and sed turns \\ into \).
24621 sed -n \
24622 "s/'/'\\\\''/g;
24623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24624 ;;
24625 *)
24626 # `set' quotes correctly as required by POSIX, so do not add quotes.
24627 sed -n \
24628 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24629 ;;
24630 esac;
24631 } |
24632 sed '
24633 t clear
24634 : clear
24635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24636 t end
24637 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24638 : end' >>confcache
24639 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24640 if test -w $cache_file; then
24641 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24642 cat confcache >$cache_file
24643 else
24644 echo "not updating unwritable cache $cache_file"
24645 fi
24646 fi
24647 rm -f confcache
24648
24649 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24650 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24651 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24652 if test "${wx_cv_lib_glibc21+set}" = set; then
24653 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 else
24655
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 #include <features.h>
24663 int
24664 main ()
24665 {
24666
24667 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24668 not glibc 2.1
24669 #endif
24670
24671 ;
24672 return 0;
24673 }
24674 _ACEOF
24675 rm -f conftest.$ac_objext
24676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24677 (eval $ac_compile) 2>conftest.er1
24678 ac_status=$?
24679 grep -v '^ *+' conftest.er1 >conftest.err
24680 rm -f conftest.er1
24681 cat conftest.err >&5
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); } &&
24684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24687 ac_status=$?
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; } &&
24690 { ac_try='test -s conftest.$ac_objext'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24693 ac_status=$?
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; }; then
24696
24697 wx_cv_lib_glibc21=yes
24698
24699 else
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24702
24703
24704 wx_cv_lib_glibc21=no
24705
24706
24707 fi
24708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24709
24710 fi
24711 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24712 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24713 if test "$wx_cv_lib_glibc21" = "yes"; then
24714 cat >>confdefs.h <<\_ACEOF
24715 #define wxHAVE_GLIBC2 1
24716 _ACEOF
24717
24718 fi
24719 fi
24720
24721 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24722 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24723 cat >>confdefs.h <<\_ACEOF
24724 #define _GNU_SOURCE 1
24725 _ACEOF
24726
24727 fi
24728 fi
24729
24730 have_cos=0
24731 have_floor=0
24732
24733 for ac_func in cos
24734 do
24735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24736 echo "$as_me:$LINENO: checking for $ac_func" >&5
24737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24738 if eval "test \"\${$as_ac_var+set}\" = set"; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24740 else
24741 cat >conftest.$ac_ext <<_ACEOF
24742 /* confdefs.h. */
24743 _ACEOF
24744 cat confdefs.h >>conftest.$ac_ext
24745 cat >>conftest.$ac_ext <<_ACEOF
24746 /* end confdefs.h. */
24747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24749 #define $ac_func innocuous_$ac_func
24750
24751 /* System header to define __stub macros and hopefully few prototypes,
24752 which can conflict with char $ac_func (); below.
24753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24754 <limits.h> exists even on freestanding compilers. */
24755
24756 #ifdef __STDC__
24757 # include <limits.h>
24758 #else
24759 # include <assert.h>
24760 #endif
24761
24762 #undef $ac_func
24763
24764 /* Override any gcc2 internal prototype to avoid an error. */
24765 #ifdef __cplusplus
24766 extern "C"
24767 {
24768 #endif
24769 /* We use char because int might match the return type of a gcc2
24770 builtin and then its argument prototype would still apply. */
24771 char $ac_func ();
24772 /* The GNU C library defines this for functions which it implements
24773 to always fail with ENOSYS. Some functions are actually named
24774 something starting with __ and the normal name is an alias. */
24775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24776 choke me
24777 #else
24778 char (*f) () = $ac_func;
24779 #endif
24780 #ifdef __cplusplus
24781 }
24782 #endif
24783
24784 int
24785 main ()
24786 {
24787 return f != $ac_func;
24788 ;
24789 return 0;
24790 }
24791 _ACEOF
24792 rm -f conftest.$ac_objext conftest$ac_exeext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24794 (eval $ac_link) 2>conftest.er1
24795 ac_status=$?
24796 grep -v '^ *+' conftest.er1 >conftest.err
24797 rm -f conftest.er1
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } &&
24801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24804 ac_status=$?
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try='test -s conftest$ac_exeext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24810 ac_status=$?
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 eval "$as_ac_var=yes"
24814 else
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 eval "$as_ac_var=no"
24819 fi
24820 rm -f conftest.err conftest.$ac_objext \
24821 conftest$ac_exeext conftest.$ac_ext
24822 fi
24823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24825 if test `eval echo '${'$as_ac_var'}'` = yes; then
24826 cat >>confdefs.h <<_ACEOF
24827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24828 _ACEOF
24829 have_cos=1
24830 fi
24831 done
24832
24833
24834 for ac_func in floor
24835 do
24836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24837 echo "$as_me:$LINENO: checking for $ac_func" >&5
24838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24839 if eval "test \"\${$as_ac_var+set}\" = set"; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 else
24842 cat >conftest.$ac_ext <<_ACEOF
24843 /* confdefs.h. */
24844 _ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24850 #define $ac_func innocuous_$ac_func
24851
24852 /* System header to define __stub macros and hopefully few prototypes,
24853 which can conflict with char $ac_func (); below.
24854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24855 <limits.h> exists even on freestanding compilers. */
24856
24857 #ifdef __STDC__
24858 # include <limits.h>
24859 #else
24860 # include <assert.h>
24861 #endif
24862
24863 #undef $ac_func
24864
24865 /* Override any gcc2 internal prototype to avoid an error. */
24866 #ifdef __cplusplus
24867 extern "C"
24868 {
24869 #endif
24870 /* We use char because int might match the return type of a gcc2
24871 builtin and then its argument prototype would still apply. */
24872 char $ac_func ();
24873 /* The GNU C library defines this for functions which it implements
24874 to always fail with ENOSYS. Some functions are actually named
24875 something starting with __ and the normal name is an alias. */
24876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24877 choke me
24878 #else
24879 char (*f) () = $ac_func;
24880 #endif
24881 #ifdef __cplusplus
24882 }
24883 #endif
24884
24885 int
24886 main ()
24887 {
24888 return f != $ac_func;
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext conftest$ac_exeext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24895 (eval $ac_link) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; } &&
24908 { ac_try='test -s conftest$ac_exeext'
24909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24910 (eval $ac_try) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); }; }; then
24914 eval "$as_ac_var=yes"
24915 else
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24918
24919 eval "$as_ac_var=no"
24920 fi
24921 rm -f conftest.err conftest.$ac_objext \
24922 conftest$ac_exeext conftest.$ac_ext
24923 fi
24924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24926 if test `eval echo '${'$as_ac_var'}'` = yes; then
24927 cat >>confdefs.h <<_ACEOF
24928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24929 _ACEOF
24930 have_floor=1
24931 fi
24932 done
24933
24934 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24935 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24936 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24937 echo "$as_me:$LINENO: result: yes" >&5
24938 echo "${ECHO_T}yes" >&6
24939 else
24940 echo "$as_me:$LINENO: result: no" >&5
24941 echo "${ECHO_T}no" >&6
24942 LIBS="$LIBS -lm"
24943 # use different functions to avoid configure caching
24944 have_sin=0
24945 have_ceil=0
24946
24947 for ac_func in sin
24948 do
24949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24950 echo "$as_me:$LINENO: checking for $ac_func" >&5
24951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24952 if eval "test \"\${$as_ac_var+set}\" = set"; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955 cat >conftest.$ac_ext <<_ACEOF
24956 /* confdefs.h. */
24957 _ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24963 #define $ac_func innocuous_$ac_func
24964
24965 /* System header to define __stub macros and hopefully few prototypes,
24966 which can conflict with char $ac_func (); below.
24967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24968 <limits.h> exists even on freestanding compilers. */
24969
24970 #ifdef __STDC__
24971 # include <limits.h>
24972 #else
24973 # include <assert.h>
24974 #endif
24975
24976 #undef $ac_func
24977
24978 /* Override any gcc2 internal prototype to avoid an error. */
24979 #ifdef __cplusplus
24980 extern "C"
24981 {
24982 #endif
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char $ac_func ();
24986 /* The GNU C library defines this for functions which it implements
24987 to always fail with ENOSYS. Some functions are actually named
24988 something starting with __ and the normal name is an alias. */
24989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24990 choke me
24991 #else
24992 char (*f) () = $ac_func;
24993 #endif
24994 #ifdef __cplusplus
24995 }
24996 #endif
24997
24998 int
24999 main ()
25000 {
25001 return f != $ac_func;
25002 ;
25003 return 0;
25004 }
25005 _ACEOF
25006 rm -f conftest.$ac_objext conftest$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
25009 ac_status=$?
25010 grep -v '^ *+' conftest.er1 >conftest.err
25011 rm -f conftest.er1
25012 cat conftest.err >&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25018 ac_status=$?
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try='test -s conftest$ac_exeext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 eval "$as_ac_var=yes"
25028 else
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25031
25032 eval "$as_ac_var=no"
25033 fi
25034 rm -f conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036 fi
25037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25039 if test `eval echo '${'$as_ac_var'}'` = yes; then
25040 cat >>confdefs.h <<_ACEOF
25041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25042 _ACEOF
25043 have_sin=1
25044 fi
25045 done
25046
25047
25048 for ac_func in ceil
25049 do
25050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25051 echo "$as_me:$LINENO: checking for $ac_func" >&5
25052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25053 if eval "test \"\${$as_ac_var+set}\" = set"; then
25054 echo $ECHO_N "(cached) $ECHO_C" >&6
25055 else
25056 cat >conftest.$ac_ext <<_ACEOF
25057 /* confdefs.h. */
25058 _ACEOF
25059 cat confdefs.h >>conftest.$ac_ext
25060 cat >>conftest.$ac_ext <<_ACEOF
25061 /* end confdefs.h. */
25062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25064 #define $ac_func innocuous_$ac_func
25065
25066 /* System header to define __stub macros and hopefully few prototypes,
25067 which can conflict with char $ac_func (); below.
25068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25069 <limits.h> exists even on freestanding compilers. */
25070
25071 #ifdef __STDC__
25072 # include <limits.h>
25073 #else
25074 # include <assert.h>
25075 #endif
25076
25077 #undef $ac_func
25078
25079 /* Override any gcc2 internal prototype to avoid an error. */
25080 #ifdef __cplusplus
25081 extern "C"
25082 {
25083 #endif
25084 /* We use char because int might match the return type of a gcc2
25085 builtin and then its argument prototype would still apply. */
25086 char $ac_func ();
25087 /* The GNU C library defines this for functions which it implements
25088 to always fail with ENOSYS. Some functions are actually named
25089 something starting with __ and the normal name is an alias. */
25090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25091 choke me
25092 #else
25093 char (*f) () = $ac_func;
25094 #endif
25095 #ifdef __cplusplus
25096 }
25097 #endif
25098
25099 int
25100 main ()
25101 {
25102 return f != $ac_func;
25103 ;
25104 return 0;
25105 }
25106 _ACEOF
25107 rm -f conftest.$ac_objext conftest$ac_exeext
25108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25109 (eval $ac_link) 2>conftest.er1
25110 ac_status=$?
25111 grep -v '^ *+' conftest.er1 >conftest.err
25112 rm -f conftest.er1
25113 cat conftest.err >&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); } &&
25116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25119 ac_status=$?
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; } &&
25122 { ac_try='test -s conftest$ac_exeext'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25125 ac_status=$?
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; }; then
25128 eval "$as_ac_var=yes"
25129 else
25130 echo "$as_me: failed program was:" >&5
25131 sed 's/^/| /' conftest.$ac_ext >&5
25132
25133 eval "$as_ac_var=no"
25134 fi
25135 rm -f conftest.err conftest.$ac_objext \
25136 conftest$ac_exeext conftest.$ac_ext
25137 fi
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25140 if test `eval echo '${'$as_ac_var'}'` = yes; then
25141 cat >>confdefs.h <<_ACEOF
25142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25143 _ACEOF
25144 have_ceil=1
25145 fi
25146 done
25147
25148 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25149 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25150 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25151 echo "$as_me:$LINENO: result: yes" >&5
25152 echo "${ECHO_T}yes" >&6
25153 else
25154 echo "$as_me:$LINENO: result: no" >&5
25155 echo "${ECHO_T}no" >&6
25156 # not sure we should warn the user, crash, etc.
25157 fi
25158 fi
25159
25160
25161
25162 if test "$wxUSE_REGEX" != "no"; then
25163 cat >>confdefs.h <<\_ACEOF
25164 #define wxUSE_REGEX 1
25165 _ACEOF
25166
25167
25168 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25169 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25170 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25171 wxUSE_REGEX=builtin
25172 fi
25173
25174 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25175 if test "${ac_cv_header_regex_h+set}" = set; then
25176 echo "$as_me:$LINENO: checking for regex.h" >&5
25177 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25178 if test "${ac_cv_header_regex_h+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 fi
25181 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25182 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25183 else
25184 # Is the header compilable?
25185 echo "$as_me:$LINENO: checking regex.h usability" >&5
25186 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25187 cat >conftest.$ac_ext <<_ACEOF
25188 /* confdefs.h. */
25189 _ACEOF
25190 cat confdefs.h >>conftest.$ac_ext
25191 cat >>conftest.$ac_ext <<_ACEOF
25192 /* end confdefs.h. */
25193 $ac_includes_default
25194 #include <regex.h>
25195 _ACEOF
25196 rm -f conftest.$ac_objext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25198 (eval $ac_compile) 2>conftest.er1
25199 ac_status=$?
25200 grep -v '^ *+' conftest.er1 >conftest.err
25201 rm -f conftest.er1
25202 cat conftest.err >&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25208 ac_status=$?
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try='test -s conftest.$ac_objext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 ac_header_compiler=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25221
25222 ac_header_compiler=no
25223 fi
25224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25226 echo "${ECHO_T}$ac_header_compiler" >&6
25227
25228 # Is the header present?
25229 echo "$as_me:$LINENO: checking regex.h presence" >&5
25230 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25231 cat >conftest.$ac_ext <<_ACEOF
25232 /* confdefs.h. */
25233 _ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237 #include <regex.h>
25238 _ACEOF
25239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25241 ac_status=$?
25242 grep -v '^ *+' conftest.er1 >conftest.err
25243 rm -f conftest.er1
25244 cat conftest.err >&5
25245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246 (exit $ac_status); } >/dev/null; then
25247 if test -s conftest.err; then
25248 ac_cpp_err=$ac_cxx_preproc_warn_flag
25249 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25250 else
25251 ac_cpp_err=
25252 fi
25253 else
25254 ac_cpp_err=yes
25255 fi
25256 if test -z "$ac_cpp_err"; then
25257 ac_header_preproc=yes
25258 else
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25261
25262 ac_header_preproc=no
25263 fi
25264 rm -f conftest.err conftest.$ac_ext
25265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25266 echo "${ECHO_T}$ac_header_preproc" >&6
25267
25268 # So? What about this header?
25269 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25270 yes:no: )
25271 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25272 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25273 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25274 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25275 ac_header_preproc=yes
25276 ;;
25277 no:yes:* )
25278 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25279 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25280 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25281 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25282 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25283 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25284 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25285 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25286 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25287 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25288 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25289 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25290 (
25291 cat <<\_ASBOX
25292 ## ----------------------------------------- ##
25293 ## Report this to wx-dev@lists.wxwidgets.org ##
25294 ## ----------------------------------------- ##
25295 _ASBOX
25296 ) |
25297 sed "s/^/$as_me: WARNING: /" >&2
25298 ;;
25299 esac
25300 echo "$as_me:$LINENO: checking for regex.h" >&5
25301 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_regex_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 else
25305 ac_cv_header_regex_h=$ac_header_preproc
25306 fi
25307 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25308 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25309
25310 fi
25311 if test $ac_cv_header_regex_h = yes; then
25312
25313
25314 for ac_func in regcomp re_search
25315 do
25316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25317 echo "$as_me:$LINENO: checking for $ac_func" >&5
25318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25319 if eval "test \"\${$as_ac_var+set}\" = set"; then
25320 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 else
25322 cat >conftest.$ac_ext <<_ACEOF
25323 /* confdefs.h. */
25324 _ACEOF
25325 cat confdefs.h >>conftest.$ac_ext
25326 cat >>conftest.$ac_ext <<_ACEOF
25327 /* end confdefs.h. */
25328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25330 #define $ac_func innocuous_$ac_func
25331
25332 /* System header to define __stub macros and hopefully few prototypes,
25333 which can conflict with char $ac_func (); below.
25334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25335 <limits.h> exists even on freestanding compilers. */
25336
25337 #ifdef __STDC__
25338 # include <limits.h>
25339 #else
25340 # include <assert.h>
25341 #endif
25342
25343 #undef $ac_func
25344
25345 /* Override any gcc2 internal prototype to avoid an error. */
25346 #ifdef __cplusplus
25347 extern "C"
25348 {
25349 #endif
25350 /* We use char because int might match the return type of a gcc2
25351 builtin and then its argument prototype would still apply. */
25352 char $ac_func ();
25353 /* The GNU C library defines this for functions which it implements
25354 to always fail with ENOSYS. Some functions are actually named
25355 something starting with __ and the normal name is an alias. */
25356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25357 choke me
25358 #else
25359 char (*f) () = $ac_func;
25360 #endif
25361 #ifdef __cplusplus
25362 }
25363 #endif
25364
25365 int
25366 main ()
25367 {
25368 return f != $ac_func;
25369 ;
25370 return 0;
25371 }
25372 _ACEOF
25373 rm -f conftest.$ac_objext conftest$ac_exeext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25375 (eval $ac_link) 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try='test -s conftest$ac_exeext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25391 ac_status=$?
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 eval "$as_ac_var=yes"
25395 else
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.$ac_ext >&5
25398
25399 eval "$as_ac_var=no"
25400 fi
25401 rm -f conftest.err conftest.$ac_objext \
25402 conftest$ac_exeext conftest.$ac_ext
25403 fi
25404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25406 if test `eval echo '${'$as_ac_var'}'` = yes; then
25407 cat >>confdefs.h <<_ACEOF
25408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25409 _ACEOF
25410
25411 fi
25412 done
25413
25414 fi
25415
25416
25417
25418 if test "x$ac_cv_func_regcomp" != "xyes"; then
25419 if test "$wxUSE_REGEX" = "sys" ; then
25420 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25421 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25422 { (exit 1); exit 1; }; }
25423 else
25424 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25425 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25426 wxUSE_REGEX=builtin
25427 fi
25428 else
25429 wxUSE_REGEX=sys
25430 cat >>confdefs.h <<\_ACEOF
25431 #define WX_NO_REGEX_ADVANCED 1
25432 _ACEOF
25433
25434 fi
25435 fi
25436 fi
25437
25438
25439 ZLIB_LINK=
25440 if test "$wxUSE_ZLIB" != "no" ; then
25441 cat >>confdefs.h <<\_ACEOF
25442 #define wxUSE_ZLIB 1
25443 _ACEOF
25444
25445
25446 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25447 if test "$USE_DARWIN" = 1; then
25448 system_zlib_h_ok="yes"
25449 else
25450 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25451 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25452 if test "${ac_cv_header_zlib_h+set}" = set; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 else
25455 if test "$cross_compiling" = yes; then
25456 unset ac_cv_header_zlib_h
25457
25458 else
25459 cat >conftest.$ac_ext <<_ACEOF
25460 /* confdefs.h. */
25461 _ACEOF
25462 cat confdefs.h >>conftest.$ac_ext
25463 cat >>conftest.$ac_ext <<_ACEOF
25464 /* end confdefs.h. */
25465
25466 #include <zlib.h>
25467 #include <stdio.h>
25468
25469 int main()
25470 {
25471 FILE *f=fopen("conftestval", "w");
25472 if (!f) exit(1);
25473 fprintf(f, "%s",
25474 ZLIB_VERSION[0] == '1' &&
25475 (ZLIB_VERSION[2] > '1' ||
25476 (ZLIB_VERSION[2] == '1' &&
25477 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25478 exit(0);
25479 }
25480
25481 _ACEOF
25482 rm -f conftest$ac_exeext
25483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25484 (eval $ac_link) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_header_zlib_h=`cat conftestval`
25494 else
25495 echo "$as_me: program exited with status $ac_status" >&5
25496 echo "$as_me: failed program was:" >&5
25497 sed 's/^/| /' conftest.$ac_ext >&5
25498
25499 ( exit $ac_status )
25500 ac_cv_header_zlib_h=no
25501 fi
25502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25503 fi
25504
25505 fi
25506 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25507 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25508 if test "${ac_cv_header_zlib_h+set}" = set; then
25509 echo "$as_me:$LINENO: checking for zlib.h" >&5
25510 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25511 if test "${ac_cv_header_zlib_h+set}" = set; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 fi
25514 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25515 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25516 else
25517 # Is the header compilable?
25518 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25519 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25520 cat >conftest.$ac_ext <<_ACEOF
25521 /* confdefs.h. */
25522 _ACEOF
25523 cat confdefs.h >>conftest.$ac_ext
25524 cat >>conftest.$ac_ext <<_ACEOF
25525 /* end confdefs.h. */
25526 $ac_includes_default
25527 #include <zlib.h>
25528 _ACEOF
25529 rm -f conftest.$ac_objext
25530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>conftest.er1
25532 ac_status=$?
25533 grep -v '^ *+' conftest.er1 >conftest.err
25534 rm -f conftest.er1
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } &&
25538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25540 (eval $ac_try) 2>&5
25541 ac_status=$?
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; } &&
25544 { ac_try='test -s conftest.$ac_objext'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25547 ac_status=$?
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; }; then
25550 ac_header_compiler=yes
25551 else
25552 echo "$as_me: failed program was:" >&5
25553 sed 's/^/| /' conftest.$ac_ext >&5
25554
25555 ac_header_compiler=no
25556 fi
25557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25559 echo "${ECHO_T}$ac_header_compiler" >&6
25560
25561 # Is the header present?
25562 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25563 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25564 cat >conftest.$ac_ext <<_ACEOF
25565 /* confdefs.h. */
25566 _ACEOF
25567 cat confdefs.h >>conftest.$ac_ext
25568 cat >>conftest.$ac_ext <<_ACEOF
25569 /* end confdefs.h. */
25570 #include <zlib.h>
25571 _ACEOF
25572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25574 ac_status=$?
25575 grep -v '^ *+' conftest.er1 >conftest.err
25576 rm -f conftest.er1
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } >/dev/null; then
25580 if test -s conftest.err; then
25581 ac_cpp_err=$ac_cxx_preproc_warn_flag
25582 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25583 else
25584 ac_cpp_err=
25585 fi
25586 else
25587 ac_cpp_err=yes
25588 fi
25589 if test -z "$ac_cpp_err"; then
25590 ac_header_preproc=yes
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ac_header_preproc=no
25596 fi
25597 rm -f conftest.err conftest.$ac_ext
25598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25599 echo "${ECHO_T}$ac_header_preproc" >&6
25600
25601 # So? What about this header?
25602 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25603 yes:no: )
25604 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25605 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25606 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25607 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25608 ac_header_preproc=yes
25609 ;;
25610 no:yes:* )
25611 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25612 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25613 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25614 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25615 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25616 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25617 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25618 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25619 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25620 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25621 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25622 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25623 (
25624 cat <<\_ASBOX
25625 ## ----------------------------------------- ##
25626 ## Report this to wx-dev@lists.wxwidgets.org ##
25627 ## ----------------------------------------- ##
25628 _ASBOX
25629 ) |
25630 sed "s/^/$as_me: WARNING: /" >&2
25631 ;;
25632 esac
25633 echo "$as_me:$LINENO: checking for zlib.h" >&5
25634 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25635 if test "${ac_cv_header_zlib_h+set}" = set; then
25636 echo $ECHO_N "(cached) $ECHO_C" >&6
25637 else
25638 ac_cv_header_zlib_h=$ac_header_preproc
25639 fi
25640 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25641 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25642
25643 fi
25644
25645
25646
25647 system_zlib_h_ok=$ac_cv_header_zlib_h
25648 fi
25649
25650 if test "$system_zlib_h_ok" = "yes"; then
25651 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25652 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25653 if test "${ac_cv_lib_z_deflate+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 else
25656 ac_check_lib_save_LIBS=$LIBS
25657 LIBS="-lz $LIBS"
25658 cat >conftest.$ac_ext <<_ACEOF
25659 /* confdefs.h. */
25660 _ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664
25665 /* Override any gcc2 internal prototype to avoid an error. */
25666 #ifdef __cplusplus
25667 extern "C"
25668 #endif
25669 /* We use char because int might match the return type of a gcc2
25670 builtin and then its argument prototype would still apply. */
25671 char deflate ();
25672 int
25673 main ()
25674 {
25675 deflate ();
25676 ;
25677 return 0;
25678 }
25679 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682 (eval $ac_link) 2>conftest.er1
25683 ac_status=$?
25684 grep -v '^ *+' conftest.er1 >conftest.err
25685 rm -f conftest.er1
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } &&
25689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25692 ac_status=$?
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; } &&
25695 { ac_try='test -s conftest$ac_exeext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_cv_lib_z_deflate=yes
25702 else
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25705
25706 ac_cv_lib_z_deflate=no
25707 fi
25708 rm -f conftest.err conftest.$ac_objext \
25709 conftest$ac_exeext conftest.$ac_ext
25710 LIBS=$ac_check_lib_save_LIBS
25711 fi
25712 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25713 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25714 if test $ac_cv_lib_z_deflate = yes; then
25715 ZLIB_LINK=" -lz"
25716 fi
25717
25718 fi
25719
25720 if test "x$ZLIB_LINK" = "x" ; then
25721 if test "$wxUSE_ZLIB" = "sys" ; then
25722 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25723 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25724 { (exit 1); exit 1; }; }
25725 else
25726 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25727 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25728 wxUSE_ZLIB=builtin
25729 fi
25730 else
25731 wxUSE_ZLIB=sys
25732 fi
25733 fi
25734 fi
25735
25736
25737 PNG_LINK=
25738 if test "$wxUSE_LIBPNG" != "no" ; then
25739 cat >>confdefs.h <<\_ACEOF
25740 #define wxUSE_LIBPNG 1
25741 _ACEOF
25742
25743
25744 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25745 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25746 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25747 wxUSE_LIBPNG=sys
25748 fi
25749
25750 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25751 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25752 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25753 wxUSE_LIBPNG=builtin
25754 fi
25755
25756 if test "$wxUSE_MGL" != 1 ; then
25757 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25758 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25759 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25760 if test "${ac_cv_header_png_h+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 else
25763 if test "$cross_compiling" = yes; then
25764 unset ac_cv_header_png_h
25765
25766 else
25767 cat >conftest.$ac_ext <<_ACEOF
25768 /* confdefs.h. */
25769 _ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25773
25774 #include <png.h>
25775 #include <stdio.h>
25776
25777 int main()
25778 {
25779 FILE *f=fopen("conftestval", "w");
25780 if (!f) exit(1);
25781 fprintf(f, "%s",
25782 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25783 exit(0);
25784 }
25785
25786 _ACEOF
25787 rm -f conftest$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>&5
25790 ac_status=$?
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 ac_cv_header_png_h=`cat conftestval`
25799 else
25800 echo "$as_me: program exited with status $ac_status" >&5
25801 echo "$as_me: failed program was:" >&5
25802 sed 's/^/| /' conftest.$ac_ext >&5
25803
25804 ( exit $ac_status )
25805 ac_cv_header_png_h=no
25806 fi
25807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25808 fi
25809
25810 fi
25811 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25813 if test "${ac_cv_header_png_h+set}" = set; then
25814 echo "$as_me:$LINENO: checking for png.h" >&5
25815 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25816 if test "${ac_cv_header_png_h+set}" = set; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 fi
25819 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25820 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25821 else
25822 # Is the header compilable?
25823 echo "$as_me:$LINENO: checking png.h usability" >&5
25824 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25825 cat >conftest.$ac_ext <<_ACEOF
25826 /* confdefs.h. */
25827 _ACEOF
25828 cat confdefs.h >>conftest.$ac_ext
25829 cat >>conftest.$ac_ext <<_ACEOF
25830 /* end confdefs.h. */
25831 $ac_includes_default
25832 #include <png.h>
25833 _ACEOF
25834 rm -f conftest.$ac_objext
25835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25836 (eval $ac_compile) 2>conftest.er1
25837 ac_status=$?
25838 grep -v '^ *+' conftest.er1 >conftest.err
25839 rm -f conftest.er1
25840 cat conftest.err >&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); } &&
25843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25845 (eval $ac_try) 2>&5
25846 ac_status=$?
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; } &&
25849 { ac_try='test -s conftest.$ac_objext'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25852 ac_status=$?
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; }; then
25855 ac_header_compiler=yes
25856 else
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25859
25860 ac_header_compiler=no
25861 fi
25862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25864 echo "${ECHO_T}$ac_header_compiler" >&6
25865
25866 # Is the header present?
25867 echo "$as_me:$LINENO: checking png.h presence" >&5
25868 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25869 cat >conftest.$ac_ext <<_ACEOF
25870 /* confdefs.h. */
25871 _ACEOF
25872 cat confdefs.h >>conftest.$ac_ext
25873 cat >>conftest.$ac_ext <<_ACEOF
25874 /* end confdefs.h. */
25875 #include <png.h>
25876 _ACEOF
25877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } >/dev/null; then
25885 if test -s conftest.err; then
25886 ac_cpp_err=$ac_cxx_preproc_warn_flag
25887 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25888 else
25889 ac_cpp_err=
25890 fi
25891 else
25892 ac_cpp_err=yes
25893 fi
25894 if test -z "$ac_cpp_err"; then
25895 ac_header_preproc=yes
25896 else
25897 echo "$as_me: failed program was:" >&5
25898 sed 's/^/| /' conftest.$ac_ext >&5
25899
25900 ac_header_preproc=no
25901 fi
25902 rm -f conftest.err conftest.$ac_ext
25903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25904 echo "${ECHO_T}$ac_header_preproc" >&6
25905
25906 # So? What about this header?
25907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25908 yes:no: )
25909 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25910 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25912 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25913 ac_header_preproc=yes
25914 ;;
25915 no:yes:* )
25916 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25917 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25918 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25919 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25920 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25921 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25922 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25923 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25924 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25925 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25926 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25927 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25928 (
25929 cat <<\_ASBOX
25930 ## ----------------------------------------- ##
25931 ## Report this to wx-dev@lists.wxwidgets.org ##
25932 ## ----------------------------------------- ##
25933 _ASBOX
25934 ) |
25935 sed "s/^/$as_me: WARNING: /" >&2
25936 ;;
25937 esac
25938 echo "$as_me:$LINENO: checking for png.h" >&5
25939 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25940 if test "${ac_cv_header_png_h+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 else
25943 ac_cv_header_png_h=$ac_header_preproc
25944 fi
25945 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25946 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25947
25948 fi
25949
25950
25951
25952 if test "$ac_cv_header_png_h" = "yes"; then
25953 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25954 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25955 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958 ac_check_lib_save_LIBS=$LIBS
25959 LIBS="-lpng -lz -lm $LIBS"
25960 cat >conftest.$ac_ext <<_ACEOF
25961 /* confdefs.h. */
25962 _ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966
25967 /* Override any gcc2 internal prototype to avoid an error. */
25968 #ifdef __cplusplus
25969 extern "C"
25970 #endif
25971 /* We use char because int might match the return type of a gcc2
25972 builtin and then its argument prototype would still apply. */
25973 char png_check_sig ();
25974 int
25975 main ()
25976 {
25977 png_check_sig ();
25978 ;
25979 return 0;
25980 }
25981 _ACEOF
25982 rm -f conftest.$ac_objext conftest$ac_exeext
25983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25984 (eval $ac_link) 2>conftest.er1
25985 ac_status=$?
25986 grep -v '^ *+' conftest.er1 >conftest.err
25987 rm -f conftest.er1
25988 cat conftest.err >&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } &&
25991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25993 (eval $ac_try) 2>&5
25994 ac_status=$?
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; } &&
25997 { ac_try='test -s conftest$ac_exeext'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26000 ac_status=$?
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; }; then
26003 ac_cv_lib_png_png_check_sig=yes
26004 else
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.$ac_ext >&5
26007
26008 ac_cv_lib_png_png_check_sig=no
26009 fi
26010 rm -f conftest.err conftest.$ac_objext \
26011 conftest$ac_exeext conftest.$ac_ext
26012 LIBS=$ac_check_lib_save_LIBS
26013 fi
26014 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26015 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26016 if test $ac_cv_lib_png_png_check_sig = yes; then
26017 PNG_LINK=" -lpng -lz"
26018 fi
26019
26020 fi
26021
26022 if test "x$PNG_LINK" = "x" ; then
26023 if test "$wxUSE_LIBPNG" = "sys" ; then
26024 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26025 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26026 { (exit 1); exit 1; }; }
26027 else
26028 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26029 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26030 wxUSE_LIBPNG=builtin
26031 fi
26032 else
26033 wxUSE_LIBPNG=sys
26034 fi
26035 fi
26036 fi
26037
26038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26039 fi
26040
26041
26042 JPEG_LINK=
26043 if test "$wxUSE_LIBJPEG" != "no" ; then
26044 cat >>confdefs.h <<\_ACEOF
26045 #define wxUSE_LIBJPEG 1
26046 _ACEOF
26047
26048
26049 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26050 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26051 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26052 wxUSE_LIBJPEG=sys
26053 fi
26054
26055 if test "$wxUSE_MGL" != 1 ; then
26056 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26057 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26058 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26059 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26061 else
26062 cat >conftest.$ac_ext <<_ACEOF
26063 /* confdefs.h. */
26064 _ACEOF
26065 cat confdefs.h >>conftest.$ac_ext
26066 cat >>conftest.$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26068
26069 #undef HAVE_STDLIB_H
26070 #include <stdio.h>
26071 #include <jpeglib.h>
26072
26073 int
26074 main ()
26075 {
26076
26077
26078 ;
26079 return 0;
26080 }
26081 _ACEOF
26082 rm -f conftest.$ac_objext
26083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26084 (eval $ac_compile) 2>conftest.er1
26085 ac_status=$?
26086 grep -v '^ *+' conftest.er1 >conftest.err
26087 rm -f conftest.er1
26088 cat conftest.err >&5
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); } &&
26091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093 (eval $ac_try) 2>&5
26094 ac_status=$?
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); }; } &&
26097 { ac_try='test -s conftest.$ac_objext'
26098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099 (eval $ac_try) 2>&5
26100 ac_status=$?
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); }; }; then
26103 ac_cv_header_jpeglib_h=yes
26104 else
26105 echo "$as_me: failed program was:" >&5
26106 sed 's/^/| /' conftest.$ac_ext >&5
26107
26108 ac_cv_header_jpeglib_h=no
26109
26110 fi
26111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26112
26113 fi
26114
26115 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26116 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26117
26118 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26119 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26120 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26121 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26123 else
26124 ac_check_lib_save_LIBS=$LIBS
26125 LIBS="-ljpeg $LIBS"
26126 cat >conftest.$ac_ext <<_ACEOF
26127 /* confdefs.h. */
26128 _ACEOF
26129 cat confdefs.h >>conftest.$ac_ext
26130 cat >>conftest.$ac_ext <<_ACEOF
26131 /* end confdefs.h. */
26132
26133 /* Override any gcc2 internal prototype to avoid an error. */
26134 #ifdef __cplusplus
26135 extern "C"
26136 #endif
26137 /* We use char because int might match the return type of a gcc2
26138 builtin and then its argument prototype would still apply. */
26139 char jpeg_read_header ();
26140 int
26141 main ()
26142 {
26143 jpeg_read_header ();
26144 ;
26145 return 0;
26146 }
26147 _ACEOF
26148 rm -f conftest.$ac_objext conftest$ac_exeext
26149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26150 (eval $ac_link) 2>conftest.er1
26151 ac_status=$?
26152 grep -v '^ *+' conftest.er1 >conftest.err
26153 rm -f conftest.er1
26154 cat conftest.err >&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } &&
26157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26160 ac_status=$?
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; } &&
26163 { ac_try='test -s conftest$ac_exeext'
26164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26165 (eval $ac_try) 2>&5
26166 ac_status=$?
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); }; }; then
26169 ac_cv_lib_jpeg_jpeg_read_header=yes
26170 else
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.$ac_ext >&5
26173
26174 ac_cv_lib_jpeg_jpeg_read_header=no
26175 fi
26176 rm -f conftest.err conftest.$ac_objext \
26177 conftest$ac_exeext conftest.$ac_ext
26178 LIBS=$ac_check_lib_save_LIBS
26179 fi
26180 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26181 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26182 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26183 JPEG_LINK=" -ljpeg"
26184 fi
26185
26186 fi
26187
26188 if test "x$JPEG_LINK" = "x" ; then
26189 if test "$wxUSE_LIBJPEG" = "sys" ; then
26190 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26191 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26192 { (exit 1); exit 1; }; }
26193 else
26194 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26195 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26196 wxUSE_LIBJPEG=builtin
26197 fi
26198 else
26199 wxUSE_LIBJPEG=sys
26200 fi
26201 fi
26202 fi
26203 fi
26204
26205
26206 TIFF_LINK=
26207 TIFF_PREREQ_LINKS=-lm
26208 if test "$wxUSE_LIBTIFF" != "no" ; then
26209 cat >>confdefs.h <<\_ACEOF
26210 #define wxUSE_LIBTIFF 1
26211 _ACEOF
26212
26213
26214 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26215 if test "$wxUSE_LIBJPEG" = "sys"; then
26216 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26217 fi
26218 if test "$wxUSE_ZLIB" = "sys"; then
26219 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26220 fi
26221 if test "${ac_cv_header_tiffio_h+set}" = set; then
26222 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26223 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26224 if test "${ac_cv_header_tiffio_h+set}" = set; then
26225 echo $ECHO_N "(cached) $ECHO_C" >&6
26226 fi
26227 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26228 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26229 else
26230 # Is the header compilable?
26231 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26232 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26233 cat >conftest.$ac_ext <<_ACEOF
26234 /* confdefs.h. */
26235 _ACEOF
26236 cat confdefs.h >>conftest.$ac_ext
26237 cat >>conftest.$ac_ext <<_ACEOF
26238 /* end confdefs.h. */
26239 $ac_includes_default
26240 #include <tiffio.h>
26241 _ACEOF
26242 rm -f conftest.$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244 (eval $ac_compile) 2>conftest.er1
26245 ac_status=$?
26246 grep -v '^ *+' conftest.er1 >conftest.err
26247 rm -f conftest.er1
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26253 (eval $ac_try) 2>&5
26254 ac_status=$?
26255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256 (exit $ac_status); }; } &&
26257 { ac_try='test -s conftest.$ac_objext'
26258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26259 (eval $ac_try) 2>&5
26260 ac_status=$?
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); }; }; then
26263 ac_header_compiler=yes
26264 else
26265 echo "$as_me: failed program was:" >&5
26266 sed 's/^/| /' conftest.$ac_ext >&5
26267
26268 ac_header_compiler=no
26269 fi
26270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26272 echo "${ECHO_T}$ac_header_compiler" >&6
26273
26274 # Is the header present?
26275 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26276 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 #include <tiffio.h>
26284 _ACEOF
26285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26287 ac_status=$?
26288 grep -v '^ *+' conftest.er1 >conftest.err
26289 rm -f conftest.er1
26290 cat conftest.err >&5
26291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26292 (exit $ac_status); } >/dev/null; then
26293 if test -s conftest.err; then
26294 ac_cpp_err=$ac_cxx_preproc_warn_flag
26295 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26296 else
26297 ac_cpp_err=
26298 fi
26299 else
26300 ac_cpp_err=yes
26301 fi
26302 if test -z "$ac_cpp_err"; then
26303 ac_header_preproc=yes
26304 else
26305 echo "$as_me: failed program was:" >&5
26306 sed 's/^/| /' conftest.$ac_ext >&5
26307
26308 ac_header_preproc=no
26309 fi
26310 rm -f conftest.err conftest.$ac_ext
26311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26312 echo "${ECHO_T}$ac_header_preproc" >&6
26313
26314 # So? What about this header?
26315 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26316 yes:no: )
26317 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26318 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26319 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26320 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26321 ac_header_preproc=yes
26322 ;;
26323 no:yes:* )
26324 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26325 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26326 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26327 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26328 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26329 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26330 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26331 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26332 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26333 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26334 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26335 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26336 (
26337 cat <<\_ASBOX
26338 ## ----------------------------------------- ##
26339 ## Report this to wx-dev@lists.wxwidgets.org ##
26340 ## ----------------------------------------- ##
26341 _ASBOX
26342 ) |
26343 sed "s/^/$as_me: WARNING: /" >&2
26344 ;;
26345 esac
26346 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26347 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26348 if test "${ac_cv_header_tiffio_h+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351 ac_cv_header_tiffio_h=$ac_header_preproc
26352 fi
26353 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26354 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26355
26356 fi
26357 if test $ac_cv_header_tiffio_h = yes; then
26358
26359 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26360 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26361 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 else
26364 ac_check_lib_save_LIBS=$LIBS
26365 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372
26373 /* Override any gcc2 internal prototype to avoid an error. */
26374 #ifdef __cplusplus
26375 extern "C"
26376 #endif
26377 /* We use char because int might match the return type of a gcc2
26378 builtin and then its argument prototype would still apply. */
26379 char TIFFError ();
26380 int
26381 main ()
26382 {
26383 TIFFError ();
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext conftest$ac_exeext
26389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26390 (eval $ac_link) 2>conftest.er1
26391 ac_status=$?
26392 grep -v '^ *+' conftest.er1 >conftest.err
26393 rm -f conftest.er1
26394 cat conftest.err >&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try='test -s conftest$ac_exeext'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26406 ac_status=$?
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; }; then
26409 ac_cv_lib_tiff_TIFFError=yes
26410 else
26411 echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.$ac_ext >&5
26413
26414 ac_cv_lib_tiff_TIFFError=no
26415 fi
26416 rm -f conftest.err conftest.$ac_objext \
26417 conftest$ac_exeext conftest.$ac_ext
26418 LIBS=$ac_check_lib_save_LIBS
26419 fi
26420 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26421 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26422 if test $ac_cv_lib_tiff_TIFFError = yes; then
26423 TIFF_LINK=" -ltiff"
26424 fi
26425
26426
26427
26428 fi
26429
26430
26431
26432 if test "x$TIFF_LINK" = "x" ; then
26433 if test "$wxUSE_LIBTIFF" = "sys" ; then
26434 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26435 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26436 { (exit 1); exit 1; }; }
26437 else
26438 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26439 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26440 wxUSE_LIBTIFF=builtin
26441 fi
26442 else
26443 wxUSE_LIBTIFF=sys
26444 fi
26445 fi
26446 fi
26447
26448
26449 if test "$wxUSE_WCHAR_T" != "yes"; then
26450 if test "$wxUSE_EXPAT" != "no"; then
26451 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26452 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26453 wxUSE_EXPAT=no
26454 fi
26455 if test "$wxUSE_XML" != "no"; then
26456 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26457 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26458 wxUSE_XML=no
26459 fi
26460 fi
26461
26462 if test "$wxUSE_EXPAT" != "no"; then
26463 wxUSE_XML=yes
26464 cat >>confdefs.h <<\_ACEOF
26465 #define wxUSE_EXPAT 1
26466 _ACEOF
26467
26468 cat >>confdefs.h <<\_ACEOF
26469 #define wxUSE_XML 1
26470 _ACEOF
26471
26472
26473 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26474 if test "${ac_cv_header_expat_h+set}" = set; then
26475 echo "$as_me:$LINENO: checking for expat.h" >&5
26476 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26477 if test "${ac_cv_header_expat_h+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 fi
26480 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26482 else
26483 # Is the header compilable?
26484 echo "$as_me:$LINENO: checking expat.h usability" >&5
26485 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 $ac_includes_default
26493 #include <expat.h>
26494 _ACEOF
26495 rm -f conftest.$ac_objext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26497 (eval $ac_compile) 2>conftest.er1
26498 ac_status=$?
26499 grep -v '^ *+' conftest.er1 >conftest.err
26500 rm -f conftest.er1
26501 cat conftest.err >&5
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); } &&
26504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26507 ac_status=$?
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try='test -s conftest.$ac_objext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_header_compiler=yes
26517 else
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ac_header_compiler=no
26522 fi
26523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26525 echo "${ECHO_T}$ac_header_compiler" >&6
26526
26527 # Is the header present?
26528 echo "$as_me:$LINENO: checking expat.h presence" >&5
26529 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26530 cat >conftest.$ac_ext <<_ACEOF
26531 /* confdefs.h. */
26532 _ACEOF
26533 cat confdefs.h >>conftest.$ac_ext
26534 cat >>conftest.$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26536 #include <expat.h>
26537 _ACEOF
26538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26540 ac_status=$?
26541 grep -v '^ *+' conftest.er1 >conftest.err
26542 rm -f conftest.er1
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } >/dev/null; then
26546 if test -s conftest.err; then
26547 ac_cpp_err=$ac_cxx_preproc_warn_flag
26548 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26549 else
26550 ac_cpp_err=
26551 fi
26552 else
26553 ac_cpp_err=yes
26554 fi
26555 if test -z "$ac_cpp_err"; then
26556 ac_header_preproc=yes
26557 else
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.$ac_ext >&5
26560
26561 ac_header_preproc=no
26562 fi
26563 rm -f conftest.err conftest.$ac_ext
26564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26565 echo "${ECHO_T}$ac_header_preproc" >&6
26566
26567 # So? What about this header?
26568 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26569 yes:no: )
26570 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26571 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26572 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26573 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26574 ac_header_preproc=yes
26575 ;;
26576 no:yes:* )
26577 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26578 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26579 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26580 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26581 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26582 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26583 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26584 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26585 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26586 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26587 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26588 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26589 (
26590 cat <<\_ASBOX
26591 ## ----------------------------------------- ##
26592 ## Report this to wx-dev@lists.wxwidgets.org ##
26593 ## ----------------------------------------- ##
26594 _ASBOX
26595 ) |
26596 sed "s/^/$as_me: WARNING: /" >&2
26597 ;;
26598 esac
26599 echo "$as_me:$LINENO: checking for expat.h" >&5
26600 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26601 if test "${ac_cv_header_expat_h+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 else
26604 ac_cv_header_expat_h=$ac_header_preproc
26605 fi
26606 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26607 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26608
26609 fi
26610 if test $ac_cv_header_expat_h = yes; then
26611 found_expat_h=1
26612 fi
26613
26614
26615 if test "x$found_expat_h" = "x1"; then
26616 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26617 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26618 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 else
26621
26622 cat >conftest.$ac_ext <<_ACEOF
26623 /* confdefs.h. */
26624 _ACEOF
26625 cat confdefs.h >>conftest.$ac_ext
26626 cat >>conftest.$ac_ext <<_ACEOF
26627 /* end confdefs.h. */
26628 #include <expat.h>
26629 int
26630 main ()
26631 {
26632
26633 ;
26634 return 0;
26635 }
26636 _ACEOF
26637 rm -f conftest.$ac_objext
26638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26639 (eval $ac_compile) 2>conftest.er1
26640 ac_status=$?
26641 grep -v '^ *+' conftest.er1 >conftest.err
26642 rm -f conftest.er1
26643 cat conftest.err >&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; } &&
26652 { ac_try='test -s conftest.$ac_objext'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26655 ac_status=$?
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 wx_cv_expat_is_not_broken=yes
26659 else
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.$ac_ext >&5
26662
26663 wx_cv_expat_is_not_broken=no
26664
26665 fi
26666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26667
26668
26669 fi
26670 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26671 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26672 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26673 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26674 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26675 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26676 echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678 ac_check_lib_save_LIBS=$LIBS
26679 LIBS="-lexpat $LIBS"
26680 cat >conftest.$ac_ext <<_ACEOF
26681 /* confdefs.h. */
26682 _ACEOF
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686
26687 /* Override any gcc2 internal prototype to avoid an error. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 /* We use char because int might match the return type of a gcc2
26692 builtin and then its argument prototype would still apply. */
26693 char XML_ParserCreate ();
26694 int
26695 main ()
26696 {
26697 XML_ParserCreate ();
26698 ;
26699 return 0;
26700 }
26701 _ACEOF
26702 rm -f conftest.$ac_objext conftest$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26705 ac_status=$?
26706 grep -v '^ *+' conftest.er1 >conftest.err
26707 rm -f conftest.er1
26708 cat conftest.err >&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26714 ac_status=$?
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; } &&
26717 { ac_try='test -s conftest$ac_exeext'
26718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26719 (eval $ac_try) 2>&5
26720 ac_status=$?
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); }; }; then
26723 ac_cv_lib_expat_XML_ParserCreate=yes
26724 else
26725 echo "$as_me: failed program was:" >&5
26726 sed 's/^/| /' conftest.$ac_ext >&5
26727
26728 ac_cv_lib_expat_XML_ParserCreate=no
26729 fi
26730 rm -f conftest.err conftest.$ac_objext \
26731 conftest$ac_exeext conftest.$ac_ext
26732 LIBS=$ac_check_lib_save_LIBS
26733 fi
26734 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26735 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26736 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26737 EXPAT_LINK=" -lexpat"
26738 fi
26739
26740 fi
26741 fi
26742 if test "x$EXPAT_LINK" = "x" ; then
26743 if test "$wxUSE_EXPAT" = "sys" ; then
26744 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26745 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26746 { (exit 1); exit 1; }; }
26747 else
26748 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26749 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26750 wxUSE_EXPAT=builtin
26751 fi
26752 else
26753 wxUSE_EXPAT=sys
26754 fi
26755 fi
26756 if test "$wxUSE_EXPAT" = "builtin" ; then
26757
26758
26759 subdirs="$subdirs src/expat"
26760
26761 fi
26762 fi
26763
26764
26765
26766 if test "$wxUSE_LIBMSPACK" != "no"; then
26767 if test "${ac_cv_header_mspack_h+set}" = set; then
26768 echo "$as_me:$LINENO: checking for mspack.h" >&5
26769 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26770 if test "${ac_cv_header_mspack_h+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 fi
26773 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26774 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26775 else
26776 # Is the header compilable?
26777 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26778 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26779 cat >conftest.$ac_ext <<_ACEOF
26780 /* confdefs.h. */
26781 _ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785 $ac_includes_default
26786 #include <mspack.h>
26787 _ACEOF
26788 rm -f conftest.$ac_objext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26790 (eval $ac_compile) 2>conftest.er1
26791 ac_status=$?
26792 grep -v '^ *+' conftest.er1 >conftest.err
26793 rm -f conftest.er1
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26800 ac_status=$?
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try='test -s conftest.$ac_objext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_header_compiler=yes
26810 else
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26813
26814 ac_header_compiler=no
26815 fi
26816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26818 echo "${ECHO_T}$ac_header_compiler" >&6
26819
26820 # Is the header present?
26821 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26822 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26823 cat >conftest.$ac_ext <<_ACEOF
26824 /* confdefs.h. */
26825 _ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829 #include <mspack.h>
26830 _ACEOF
26831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } >/dev/null; then
26839 if test -s conftest.err; then
26840 ac_cpp_err=$ac_cxx_preproc_warn_flag
26841 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26842 else
26843 ac_cpp_err=
26844 fi
26845 else
26846 ac_cpp_err=yes
26847 fi
26848 if test -z "$ac_cpp_err"; then
26849 ac_header_preproc=yes
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 ac_header_preproc=no
26855 fi
26856 rm -f conftest.err conftest.$ac_ext
26857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26858 echo "${ECHO_T}$ac_header_preproc" >&6
26859
26860 # So? What about this header?
26861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26862 yes:no: )
26863 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26864 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26865 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26866 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26867 ac_header_preproc=yes
26868 ;;
26869 no:yes:* )
26870 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26871 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26872 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26873 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26874 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26875 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26876 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26877 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26878 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26879 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26880 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26881 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26882 (
26883 cat <<\_ASBOX
26884 ## ----------------------------------------- ##
26885 ## Report this to wx-dev@lists.wxwidgets.org ##
26886 ## ----------------------------------------- ##
26887 _ASBOX
26888 ) |
26889 sed "s/^/$as_me: WARNING: /" >&2
26890 ;;
26891 esac
26892 echo "$as_me:$LINENO: checking for mspack.h" >&5
26893 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26894 if test "${ac_cv_header_mspack_h+set}" = set; then
26895 echo $ECHO_N "(cached) $ECHO_C" >&6
26896 else
26897 ac_cv_header_mspack_h=$ac_header_preproc
26898 fi
26899 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26900 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26901
26902 fi
26903 if test $ac_cv_header_mspack_h = yes; then
26904 found_mspack_h=1
26905 fi
26906
26907
26908 if test "x$found_mspack_h" = "x1"; then
26909 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26910 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26911 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26913 else
26914 ac_check_lib_save_LIBS=$LIBS
26915 LIBS="-lmspack $LIBS"
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922
26923 /* Override any gcc2 internal prototype to avoid an error. */
26924 #ifdef __cplusplus
26925 extern "C"
26926 #endif
26927 /* We use char because int might match the return type of a gcc2
26928 builtin and then its argument prototype would still apply. */
26929 char mspack_create_chm_decompressor ();
26930 int
26931 main ()
26932 {
26933 mspack_create_chm_decompressor ();
26934 ;
26935 return 0;
26936 }
26937 _ACEOF
26938 rm -f conftest.$ac_objext conftest$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>conftest.er1
26941 ac_status=$?
26942 grep -v '^ *+' conftest.er1 >conftest.err
26943 rm -f conftest.er1
26944 cat conftest.err >&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } &&
26947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26949 (eval $ac_try) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; } &&
26953 { ac_try='test -s conftest$ac_exeext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26960 else
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26963
26964 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26965 fi
26966 rm -f conftest.err conftest.$ac_objext \
26967 conftest$ac_exeext conftest.$ac_ext
26968 LIBS=$ac_check_lib_save_LIBS
26969 fi
26970 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26971 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26972 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26973 MSPACK_LINK=" -lmspack"
26974 fi
26975
26976 fi
26977 if test "x$MSPACK_LINK" = "x" ; then
26978 wxUSE_LIBMSPACK=no
26979 fi
26980 fi
26981
26982 if test "$wxUSE_LIBMSPACK" != "no"; then
26983 cat >>confdefs.h <<\_ACEOF
26984 #define wxUSE_LIBMSPACK 1
26985 _ACEOF
26986
26987 fi
26988
26989
26990
26991 AFMINSTALL=
26992 WIN32INSTALL=
26993
26994 TOOLKIT=
26995 TOOLKIT_INCLUDE=
26996 WIDGET_SET=
26997
26998 if test "$USE_WIN32" = 1 ; then
26999
27000 for ac_header in w32api.h
27001 do
27002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27004 echo "$as_me:$LINENO: checking for $ac_header" >&5
27005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 fi
27009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27011 else
27012 # Is the header compilable?
27013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 $ac_includes_default
27022 #include <$ac_header>
27023 _ACEOF
27024 rm -f conftest.$ac_objext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27026 (eval $ac_compile) 2>conftest.er1
27027 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; } &&
27039 { ac_try='test -s conftest.$ac_objext'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27042 ac_status=$?
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; }; then
27045 ac_header_compiler=yes
27046 else
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27049
27050 ac_header_compiler=no
27051 fi
27052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27054 echo "${ECHO_T}$ac_header_compiler" >&6
27055
27056 # Is the header present?
27057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <$ac_header>
27066 _ACEOF
27067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27069 ac_status=$?
27070 grep -v '^ *+' conftest.er1 >conftest.err
27071 rm -f conftest.er1
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } >/dev/null; then
27075 if test -s conftest.err; then
27076 ac_cpp_err=$ac_cxx_preproc_warn_flag
27077 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27078 else
27079 ac_cpp_err=
27080 fi
27081 else
27082 ac_cpp_err=yes
27083 fi
27084 if test -z "$ac_cpp_err"; then
27085 ac_header_preproc=yes
27086 else
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090 ac_header_preproc=no
27091 fi
27092 rm -f conftest.err conftest.$ac_ext
27093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27094 echo "${ECHO_T}$ac_header_preproc" >&6
27095
27096 # So? What about this header?
27097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27098 yes:no: )
27099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27103 ac_header_preproc=yes
27104 ;;
27105 no:yes:* )
27106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27118 (
27119 cat <<\_ASBOX
27120 ## ----------------------------------------- ##
27121 ## Report this to wx-dev@lists.wxwidgets.org ##
27122 ## ----------------------------------------- ##
27123 _ASBOX
27124 ) |
27125 sed "s/^/$as_me: WARNING: /" >&2
27126 ;;
27127 esac
27128 echo "$as_me:$LINENO: checking for $ac_header" >&5
27129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133 eval "$as_ac_Header=\$ac_header_preproc"
27134 fi
27135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27137
27138 fi
27139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27140 cat >>confdefs.h <<_ACEOF
27141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27142 _ACEOF
27143
27144 fi
27145
27146 done
27147
27148 if test "${ac_cv_header_windows_h+set}" = set; then
27149 echo "$as_me:$LINENO: checking for windows.h" >&5
27150 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27151 if test "${ac_cv_header_windows_h+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 fi
27154 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27155 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27156 else
27157 # Is the header compilable?
27158 echo "$as_me:$LINENO: checking windows.h usability" >&5
27159 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 $ac_includes_default
27167 #include <windows.h>
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>conftest.er1
27172 ac_status=$?
27173 grep -v '^ *+' conftest.er1 >conftest.err
27174 rm -f conftest.er1
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27181 ac_status=$?
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; } &&
27184 { ac_try='test -s conftest.$ac_objext'
27185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27186 (eval $ac_try) 2>&5
27187 ac_status=$?
27188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 (exit $ac_status); }; }; then
27190 ac_header_compiler=yes
27191 else
27192 echo "$as_me: failed program was:" >&5
27193 sed 's/^/| /' conftest.$ac_ext >&5
27194
27195 ac_header_compiler=no
27196 fi
27197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27199 echo "${ECHO_T}$ac_header_compiler" >&6
27200
27201 # Is the header present?
27202 echo "$as_me:$LINENO: checking windows.h presence" >&5
27203 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27204 cat >conftest.$ac_ext <<_ACEOF
27205 /* confdefs.h. */
27206 _ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 #include <windows.h>
27211 _ACEOF
27212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27214 ac_status=$?
27215 grep -v '^ *+' conftest.er1 >conftest.err
27216 rm -f conftest.er1
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } >/dev/null; then
27220 if test -s conftest.err; then
27221 ac_cpp_err=$ac_cxx_preproc_warn_flag
27222 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27223 else
27224 ac_cpp_err=
27225 fi
27226 else
27227 ac_cpp_err=yes
27228 fi
27229 if test -z "$ac_cpp_err"; then
27230 ac_header_preproc=yes
27231 else
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27234
27235 ac_header_preproc=no
27236 fi
27237 rm -f conftest.err conftest.$ac_ext
27238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27239 echo "${ECHO_T}$ac_header_preproc" >&6
27240
27241 # So? What about this header?
27242 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27243 yes:no: )
27244 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27245 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27246 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27247 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27248 ac_header_preproc=yes
27249 ;;
27250 no:yes:* )
27251 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27252 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27253 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27254 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27255 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27256 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27258 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27259 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27260 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27261 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27262 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27263 (
27264 cat <<\_ASBOX
27265 ## ----------------------------------------- ##
27266 ## Report this to wx-dev@lists.wxwidgets.org ##
27267 ## ----------------------------------------- ##
27268 _ASBOX
27269 ) |
27270 sed "s/^/$as_me: WARNING: /" >&2
27271 ;;
27272 esac
27273 echo "$as_me:$LINENO: checking for windows.h" >&5
27274 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27275 if test "${ac_cv_header_windows_h+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27277 else
27278 ac_cv_header_windows_h=$ac_header_preproc
27279 fi
27280 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27281 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27282
27283 fi
27284 if test $ac_cv_header_windows_h = yes; then
27285 :
27286 else
27287
27288 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27289 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27290 { (exit 1); exit 1; }; }
27291
27292 fi
27293
27294
27295
27296 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27297
27298 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27299 LIBS="$LIBS -loleacc"
27300 fi
27301
27302 case "${host}" in
27303 *-*-cygwin* )
27304 LIBS="$LIBS -lkernel32 -luser32"
27305 esac
27306
27307 if test "$wxUSE_ODBC" = "sys" ; then
27308 wxUSE_ODBC = "yes"
27309 fi
27310 if test "$wxUSE_ODBC" = "yes" ; then
27311 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27312 cat >>confdefs.h <<\_ACEOF
27313 #define wxUSE_ODBC 1
27314 _ACEOF
27315
27316 fi
27317
27318 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27319 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27320
27321 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27322
27323 WIN32INSTALL=win32install
27324
27325 echo "$as_me:$LINENO: checking for boolean" >&5
27326 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27327 if test "${ac_cv_type_boolean+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27330 cat >conftest.$ac_ext <<_ACEOF
27331 /* confdefs.h. */
27332 _ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336 #include <windows.h>
27337
27338 int
27339 main ()
27340 {
27341 if ((boolean *) 0)
27342 return 0;
27343 if (sizeof (boolean))
27344 return 0;
27345 ;
27346 return 0;
27347 }
27348 _ACEOF
27349 rm -f conftest.$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>conftest.er1
27352 ac_status=$?
27353 grep -v '^ *+' conftest.er1 >conftest.err
27354 rm -f conftest.er1
27355 cat conftest.err >&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); } &&
27358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27360 (eval $ac_try) 2>&5
27361 ac_status=$?
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); }; } &&
27364 { ac_try='test -s conftest.$ac_objext'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27367 ac_status=$?
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; }; then
27370 ac_cv_type_boolean=yes
27371 else
27372 echo "$as_me: failed program was:" >&5
27373 sed 's/^/| /' conftest.$ac_ext >&5
27374
27375 ac_cv_type_boolean=no
27376 fi
27377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27378 fi
27379 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27380 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27381 if test $ac_cv_type_boolean = yes; then
27382
27383 cat >>confdefs.h <<_ACEOF
27384 #define HAVE_BOOLEAN 1
27385 _ACEOF
27386
27387
27388 fi
27389
27390
27391
27392 for ac_header in pbt.h
27393 do
27394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27396 echo "$as_me:$LINENO: checking for $ac_header" >&5
27397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27399 echo $ECHO_N "(cached) $ECHO_C" >&6
27400 fi
27401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27403 else
27404 # Is the header compilable?
27405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27407 cat >conftest.$ac_ext <<_ACEOF
27408 /* confdefs.h. */
27409 _ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27413 $ac_includes_default
27414 #include <$ac_header>
27415 _ACEOF
27416 rm -f conftest.$ac_objext
27417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27418 (eval $ac_compile) 2>conftest.er1
27419 ac_status=$?
27420 grep -v '^ *+' conftest.er1 >conftest.err
27421 rm -f conftest.er1
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } &&
27425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; } &&
27431 { ac_try='test -s conftest.$ac_objext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27434 ac_status=$?
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 ac_header_compiler=yes
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 ac_header_compiler=no
27443 fi
27444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27446 echo "${ECHO_T}$ac_header_compiler" >&6
27447
27448 # Is the header present?
27449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27451 cat >conftest.$ac_ext <<_ACEOF
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457 #include <$ac_header>
27458 _ACEOF
27459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27461 ac_status=$?
27462 grep -v '^ *+' conftest.er1 >conftest.err
27463 rm -f conftest.er1
27464 cat conftest.err >&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); } >/dev/null; then
27467 if test -s conftest.err; then
27468 ac_cpp_err=$ac_cxx_preproc_warn_flag
27469 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27470 else
27471 ac_cpp_err=
27472 fi
27473 else
27474 ac_cpp_err=yes
27475 fi
27476 if test -z "$ac_cpp_err"; then
27477 ac_header_preproc=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 ac_header_preproc=no
27483 fi
27484 rm -f conftest.err conftest.$ac_ext
27485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27486 echo "${ECHO_T}$ac_header_preproc" >&6
27487
27488 # So? What about this header?
27489 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27490 yes:no: )
27491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27495 ac_header_preproc=yes
27496 ;;
27497 no:yes:* )
27498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27510 (
27511 cat <<\_ASBOX
27512 ## ----------------------------------------- ##
27513 ## Report this to wx-dev@lists.wxwidgets.org ##
27514 ## ----------------------------------------- ##
27515 _ASBOX
27516 ) |
27517 sed "s/^/$as_me: WARNING: /" >&2
27518 ;;
27519 esac
27520 echo "$as_me:$LINENO: checking for $ac_header" >&5
27521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27523 echo $ECHO_N "(cached) $ECHO_C" >&6
27524 else
27525 eval "$as_ac_Header=\$ac_header_preproc"
27526 fi
27527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27529
27530 fi
27531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27532 cat >>confdefs.h <<_ACEOF
27533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27534 _ACEOF
27535
27536 else
27537 cat >>confdefs.h <<\_ACEOF
27538 #define NEED_PBT_H 1
27539 _ACEOF
27540
27541 fi
27542
27543 done
27544
27545 fi
27546
27547 if test "$wxUSE_GUI" = "yes"; then
27548 USE_GUI=1
27549
27550 GUI_TK_LIBRARY=
27551
27552 WXGTK12=
27553 WXGTK127=
27554 WXGTK20=
27555 WXGPE=
27556
27557 if test "$wxUSE_COCOA" = 1 ; then
27558 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27559 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27560 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27561 wxUSE_PRINTING_ARCHITECTURE=no
27562 fi
27563 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27564 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27565 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27566 wxUSE_DRAG_AND_DROP=no
27567 fi
27568 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27569 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27570 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27571 wxUSE_DRAGIMAGE=no
27572 fi
27573 fi
27574
27575 if test "$wxUSE_MSW" = 1 ; then
27576 TOOLKIT=MSW
27577 GUIDIST=MSW_DIST
27578
27579 case "${host}" in
27580 *-*-mingw32* )
27581 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27582 esac
27583 fi
27584
27585 if test "$wxUSE_GTK" = 1; then
27586 ac_ext=c
27587 ac_cpp='$CPP $CPPFLAGS'
27588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27591
27592
27593 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27594 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27595
27596 gtk_version_cached=1
27597 if test "${wx_cv_lib_gtk+set}" = set; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27599 else
27600
27601 gtk_version_cached=0
27602 echo "$as_me:$LINENO: result: " >&5
27603 echo "${ECHO_T}" >&6
27604
27605 GTK_MODULES=
27606 if test "$wxUSE_THREADS" = "yes"; then
27607 GTK_MODULES=gthread
27608 fi
27609
27610 wx_cv_lib_gtk=
27611 if test "x$wxGTK_VERSION" != "x1"
27612 then
27613 case "${host}" in
27614 *-*-solaris2* )
27615 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27616 enable_gtktest=no
27617 fi
27618 esac
27619
27620 # Check whether --enable-gtktest or --disable-gtktest was given.
27621 if test "${enable_gtktest+set}" = set; then
27622 enableval="$enable_gtktest"
27623
27624 else
27625 enable_gtktest=yes
27626 fi;
27627
27628 pkg_config_args=gtk+-2.0
27629 for module in . $GTK_MODULES
27630 do
27631 case "$module" in
27632 gthread)
27633 pkg_config_args="$pkg_config_args gthread-2.0"
27634 ;;
27635 esac
27636 done
27637
27638 no_gtk=""
27639
27640 # Extract the first word of "pkg-config", so it can be a program name with args.
27641 set dummy pkg-config; ac_word=$2
27642 echo "$as_me:$LINENO: checking for $ac_word" >&5
27643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27644 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27645 echo $ECHO_N "(cached) $ECHO_C" >&6
27646 else
27647 case $PKG_CONFIG in
27648 [\\/]* | ?:[\\/]*)
27649 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27650 ;;
27651 *)
27652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27653 for as_dir in $PATH
27654 do
27655 IFS=$as_save_IFS
27656 test -z "$as_dir" && as_dir=.
27657 for ac_exec_ext in '' $ac_executable_extensions; do
27658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27659 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27661 break 2
27662 fi
27663 done
27664 done
27665
27666 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27667 ;;
27668 esac
27669 fi
27670 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27671
27672 if test -n "$PKG_CONFIG"; then
27673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27674 echo "${ECHO_T}$PKG_CONFIG" >&6
27675 else
27676 echo "$as_me:$LINENO: result: no" >&5
27677 echo "${ECHO_T}no" >&6
27678 fi
27679
27680
27681 if test x$PKG_CONFIG != xno ; then
27682 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27683 :
27684 else
27685 echo "*** pkg-config too old; version 0.7 or better required."
27686 no_gtk=yes
27687 PKG_CONFIG=no
27688 fi
27689 else
27690 no_gtk=yes
27691 fi
27692
27693 min_gtk_version=2.0.0
27694 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27695 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27696
27697 if test x$PKG_CONFIG != xno ; then
27698 ## don't try to run the test against uninstalled libtool libs
27699 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27700 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27701 enable_gtktest=no
27702 fi
27703
27704 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27705 :
27706 else
27707 no_gtk=yes
27708 fi
27709 fi
27710
27711 if test x"$no_gtk" = x ; then
27712 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27713 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27714 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27716 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27718 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27720 if test "x$enable_gtktest" = "xyes" ; then
27721 ac_save_CFLAGS="$CFLAGS"
27722 ac_save_LIBS="$LIBS"
27723 CFLAGS="$CFLAGS $GTK_CFLAGS"
27724 LIBS="$GTK_LIBS $LIBS"
27725 rm -f conf.gtktest
27726 if test "$cross_compiling" = yes; then
27727 echo $ac_n "cross compiling; assumed OK... $ac_c"
27728 else
27729 cat >conftest.$ac_ext <<_ACEOF
27730 /* confdefs.h. */
27731 _ACEOF
27732 cat confdefs.h >>conftest.$ac_ext
27733 cat >>conftest.$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27735
27736 #include <gtk/gtk.h>
27737 #include <stdio.h>
27738 #include <stdlib.h>
27739
27740 int
27741 main ()
27742 {
27743 int major, minor, micro;
27744 char *tmp_version;
27745
27746 system ("touch conf.gtktest");
27747
27748 /* HP/UX 9 (%@#!) writes to sscanf strings */
27749 tmp_version = g_strdup("$min_gtk_version");
27750 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27751 printf("%s, bad version string\n", "$min_gtk_version");
27752 exit(1);
27753 }
27754
27755 if ((gtk_major_version != $gtk_config_major_version) ||
27756 (gtk_minor_version != $gtk_config_minor_version) ||
27757 (gtk_micro_version != $gtk_config_micro_version))
27758 {
27759 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27760 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27761 gtk_major_version, gtk_minor_version, gtk_micro_version);
27762 printf ("*** was found! If pkg-config was correct, then it is best\n");
27763 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27764 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27765 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27766 printf("*** required on your system.\n");
27767 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27768 printf("*** to point to the correct configuration files\n");
27769 }
27770 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27771 (gtk_minor_version != GTK_MINOR_VERSION) ||
27772 (gtk_micro_version != GTK_MICRO_VERSION))
27773 {
27774 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27775 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27776 printf("*** library (version %d.%d.%d)\n",
27777 gtk_major_version, gtk_minor_version, gtk_micro_version);
27778 }
27779 else
27780 {
27781 if ((gtk_major_version > major) ||
27782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27784 {
27785 return 0;
27786 }
27787 else
27788 {
27789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27790 gtk_major_version, gtk_minor_version, gtk_micro_version);
27791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27792 major, minor, micro);
27793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27794 printf("***\n");
27795 printf("*** If you have already installed a sufficiently new version, this error\n");
27796 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27798 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27799 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27801 printf("*** so that the correct libraries are found at run-time))\n");
27802 }
27803 }
27804 return 1;
27805 }
27806
27807 _ACEOF
27808 rm -f conftest$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810 (eval $ac_link) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27816 ac_status=$?
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; }; then
27819 :
27820 else
27821 echo "$as_me: program exited with status $ac_status" >&5
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 ( exit $ac_status )
27826 no_gtk=yes
27827 fi
27828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27829 fi
27830 CFLAGS="$ac_save_CFLAGS"
27831 LIBS="$ac_save_LIBS"
27832 fi
27833 fi
27834 if test "x$no_gtk" = x ; then
27835 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27836 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27837 wx_cv_lib_gtk=2.0
27838 else
27839 echo "$as_me:$LINENO: result: no" >&5
27840 echo "${ECHO_T}no" >&6
27841 if test "$PKG_CONFIG" = "no" ; then
27842 echo "*** A new enough version of pkg-config was not found."
27843 echo "*** See http://pkgconfig.sourceforge.net"
27844 else
27845 if test -f conf.gtktest ; then
27846 :
27847 else
27848 echo "*** Could not run GTK+ test program, checking why..."
27849 ac_save_CFLAGS="$CFLAGS"
27850 ac_save_LIBS="$LIBS"
27851 CFLAGS="$CFLAGS $GTK_CFLAGS"
27852 LIBS="$LIBS $GTK_LIBS"
27853 cat >conftest.$ac_ext <<_ACEOF
27854 /* confdefs.h. */
27855 _ACEOF
27856 cat confdefs.h >>conftest.$ac_ext
27857 cat >>conftest.$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27859
27860 #include <gtk/gtk.h>
27861 #include <stdio.h>
27862
27863 int
27864 main ()
27865 {
27866 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27867 ;
27868 return 0;
27869 }
27870 _ACEOF
27871 rm -f conftest.$ac_objext conftest$ac_exeext
27872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27873 (eval $ac_link) 2>conftest.er1
27874 ac_status=$?
27875 grep -v '^ *+' conftest.er1 >conftest.err
27876 rm -f conftest.er1
27877 cat conftest.err >&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); } &&
27880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27882 (eval $ac_try) 2>&5
27883 ac_status=$?
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); }; } &&
27886 { ac_try='test -s conftest$ac_exeext'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27889 ac_status=$?
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; }; then
27892 echo "*** The test program compiled, but did not run. This usually means"
27893 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27894 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27895 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27896 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27897 echo "*** is required on your system"
27898 echo "***"
27899 echo "*** If you have an old version installed, it is best to remove it, although"
27900 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27901 else
27902 echo "$as_me: failed program was:" >&5
27903 sed 's/^/| /' conftest.$ac_ext >&5
27904
27905 echo "*** The test program failed to compile or link. See the file config.log for the"
27906 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27907 fi
27908 rm -f conftest.err conftest.$ac_objext \
27909 conftest$ac_exeext conftest.$ac_ext
27910 CFLAGS="$ac_save_CFLAGS"
27911 LIBS="$ac_save_LIBS"
27912 fi
27913 fi
27914 GTK_CFLAGS=""
27915 GTK_LIBS=""
27916 :
27917 fi
27918
27919
27920 rm -f conf.gtktest
27921
27922
27923 case "${host}" in
27924 *-*-solaris2* )
27925 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27926 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27927 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27928 fi
27929 if test "$wxUSE_SHARED" != "yes"; then
27930 GTK_LIBS="$GTK_LIBS -lX11"
27931 fi
27932 esac
27933 fi
27934
27935 if test -z "$wx_cv_lib_gtk"; then
27936 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27937
27938 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27939 if test "${with_gtk_prefix+set}" = set; then
27940 withval="$with_gtk_prefix"
27941 gtk_config_prefix="$withval"
27942 else
27943 gtk_config_prefix=""
27944 fi;
27945
27946 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27947 if test "${with_gtk_exec_prefix+set}" = set; then
27948 withval="$with_gtk_exec_prefix"
27949 gtk_config_exec_prefix="$withval"
27950 else
27951 gtk_config_exec_prefix=""
27952 fi;
27953 # Check whether --enable-gtktest or --disable-gtktest was given.
27954 if test "${enable_gtktest+set}" = set; then
27955 enableval="$enable_gtktest"
27956
27957 else
27958 enable_gtktest=yes
27959 fi;
27960
27961 for module in . $GTK_MODULES
27962 do
27963 case "$module" in
27964 gthread)
27965 gtk_config_args="$gtk_config_args gthread"
27966 ;;
27967 esac
27968 done
27969
27970 if test x$gtk_config_exec_prefix != x ; then
27971 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27972 if test x${GTK_CONFIG+set} != xset ; then
27973 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27974 fi
27975 fi
27976 if test x$gtk_config_prefix != x ; then
27977 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27978 if test x${GTK_CONFIG+set} != xset ; then
27979 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27980 fi
27981 fi
27982
27983 # Extract the first word of "gtk-config", so it can be a program name with args.
27984 set dummy gtk-config; ac_word=$2
27985 echo "$as_me:$LINENO: checking for $ac_word" >&5
27986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27987 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27988 echo $ECHO_N "(cached) $ECHO_C" >&6
27989 else
27990 case $GTK_CONFIG in
27991 [\\/]* | ?:[\\/]*)
27992 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27993 ;;
27994 *)
27995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27996 for as_dir in $PATH
27997 do
27998 IFS=$as_save_IFS
27999 test -z "$as_dir" && as_dir=.
28000 for ac_exec_ext in '' $ac_executable_extensions; do
28001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28002 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28004 break 2
28005 fi
28006 done
28007 done
28008
28009 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28010 ;;
28011 esac
28012 fi
28013 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28014
28015 if test -n "$GTK_CONFIG"; then
28016 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28017 echo "${ECHO_T}$GTK_CONFIG" >&6
28018 else
28019 echo "$as_me:$LINENO: result: no" >&5
28020 echo "${ECHO_T}no" >&6
28021 fi
28022
28023 min_gtk_version=1.2.7
28024 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28025 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28026 no_gtk=""
28027 if test "$GTK_CONFIG" = "no" ; then
28028 no_gtk=yes
28029 else
28030 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28031 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28032 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28034 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28036 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28038 if test "x$enable_gtktest" = "xyes" ; then
28039 ac_save_CFLAGS="$CFLAGS"
28040 ac_save_LIBS="$LIBS"
28041 CFLAGS="$CFLAGS $GTK_CFLAGS"
28042 LIBS="$GTK_LIBS $LIBS"
28043 rm -f conf.gtktest
28044 if test "$cross_compiling" = yes; then
28045 echo $ac_n "cross compiling; assumed OK... $ac_c"
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053
28054 #include <gtk/gtk.h>
28055 #include <stdio.h>
28056 #include <stdlib.h>
28057
28058 int
28059 main ()
28060 {
28061 int major, minor, micro;
28062 char *tmp_version;
28063
28064 system ("touch conf.gtktest");
28065
28066 /* HP/UX 9 (%@#!) writes to sscanf strings */
28067 tmp_version = g_strdup("$min_gtk_version");
28068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28069 printf("%s, bad version string\n", "$min_gtk_version");
28070 exit(1);
28071 }
28072
28073 if ((gtk_major_version != $gtk_config_major_version) ||
28074 (gtk_minor_version != $gtk_config_minor_version) ||
28075 (gtk_micro_version != $gtk_config_micro_version))
28076 {
28077 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28079 gtk_major_version, gtk_minor_version, gtk_micro_version);
28080 printf ("*** was found! If gtk-config was correct, then it is best\n");
28081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28084 printf("*** required on your system.\n");
28085 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28086 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28087 printf("*** before re-running configure\n");
28088 }
28089 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28091 (gtk_minor_version != GTK_MINOR_VERSION) ||
28092 (gtk_micro_version != GTK_MICRO_VERSION))
28093 {
28094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28096 printf("*** library (version %d.%d.%d)\n",
28097 gtk_major_version, gtk_minor_version, gtk_micro_version);
28098 }
28099 #endif /* defined (GTK_MAJOR_VERSION) ... */
28100 else
28101 {
28102 if ((gtk_major_version > major) ||
28103 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28104 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28105 {
28106 return 0;
28107 }
28108 else
28109 {
28110 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28111 gtk_major_version, gtk_minor_version, gtk_micro_version);
28112 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28113 major, minor, micro);
28114 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28115 printf("***\n");
28116 printf("*** If you have already installed a sufficiently new version, this error\n");
28117 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28118 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28119 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28120 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28121 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28122 printf("*** so that the correct libraries are found at run-time))\n");
28123 }
28124 }
28125 return 1;
28126 }
28127
28128 _ACEOF
28129 rm -f conftest$ac_exeext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28131 (eval $ac_link) 2>&5
28132 ac_status=$?
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 :
28141 else
28142 echo "$as_me: program exited with status $ac_status" >&5
28143 echo "$as_me: failed program was:" >&5
28144 sed 's/^/| /' conftest.$ac_ext >&5
28145
28146 ( exit $ac_status )
28147 no_gtk=yes
28148 fi
28149 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28150 fi
28151 CFLAGS="$ac_save_CFLAGS"
28152 LIBS="$ac_save_LIBS"
28153 fi
28154 fi
28155 if test "x$no_gtk" = x ; then
28156 echo "$as_me:$LINENO: result: yes" >&5
28157 echo "${ECHO_T}yes" >&6
28158 wx_cv_lib_gtk=1.2.7
28159 else
28160 echo "$as_me:$LINENO: result: no" >&5
28161 echo "${ECHO_T}no" >&6
28162 if test "$GTK_CONFIG" = "no" ; then
28163 echo "*** The gtk-config script installed by GTK could not be found"
28164 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28165 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28166 echo "*** full path to gtk-config."
28167 else
28168 if test -f conf.gtktest ; then
28169 :
28170 else
28171 echo "*** Could not run GTK test program, checking why..."
28172 CFLAGS="$CFLAGS $GTK_CFLAGS"
28173 LIBS="$LIBS $GTK_LIBS"
28174 cat >conftest.$ac_ext <<_ACEOF
28175 /* confdefs.h. */
28176 _ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180
28181 #include <gtk/gtk.h>
28182 #include <stdio.h>
28183
28184 int
28185 main ()
28186 {
28187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28188 ;
28189 return 0;
28190 }
28191 _ACEOF
28192 rm -f conftest.$ac_objext conftest$ac_exeext
28193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28194 (eval $ac_link) 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } &&
28201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; } &&
28207 { ac_try='test -s conftest$ac_exeext'
28208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28209 (eval $ac_try) 2>&5
28210 ac_status=$?
28211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28212 (exit $ac_status); }; }; then
28213 echo "*** The test program compiled, but did not run. This usually means"
28214 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28215 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28219 echo "***"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28222 echo "***"
28223 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28224 echo "*** came with the system with the command"
28225 echo "***"
28226 echo "*** rpm --erase --nodeps gtk gtk-devel"
28227 else
28228 echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28230
28231 echo "*** The test program failed to compile or link. See the file config.log for the"
28232 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28233 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28234 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28235 fi
28236 rm -f conftest.err conftest.$ac_objext \
28237 conftest$ac_exeext conftest.$ac_ext
28238 CFLAGS="$ac_save_CFLAGS"
28239 LIBS="$ac_save_LIBS"
28240 fi
28241 fi
28242 GTK_CFLAGS=""
28243 GTK_LIBS=""
28244 :
28245 fi
28246
28247
28248 rm -f conf.gtktest
28249
28250
28251 if test -z "$wx_cv_lib_gtk"; then
28252
28253 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28254 if test "${with_gtk_prefix+set}" = set; then
28255 withval="$with_gtk_prefix"
28256 gtk_config_prefix="$withval"
28257 else
28258 gtk_config_prefix=""
28259 fi;
28260
28261 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28262 if test "${with_gtk_exec_prefix+set}" = set; then
28263 withval="$with_gtk_exec_prefix"
28264 gtk_config_exec_prefix="$withval"
28265 else
28266 gtk_config_exec_prefix=""
28267 fi;
28268 # Check whether --enable-gtktest or --disable-gtktest was given.
28269 if test "${enable_gtktest+set}" = set; then
28270 enableval="$enable_gtktest"
28271
28272 else
28273 enable_gtktest=yes
28274 fi;
28275
28276 for module in . $GTK_MODULES
28277 do
28278 case "$module" in
28279 gthread)
28280 gtk_config_args="$gtk_config_args gthread"
28281 ;;
28282 esac
28283 done
28284
28285 if test x$gtk_config_exec_prefix != x ; then
28286 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28287 if test x${GTK_CONFIG+set} != xset ; then
28288 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28289 fi
28290 fi
28291 if test x$gtk_config_prefix != x ; then
28292 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28293 if test x${GTK_CONFIG+set} != xset ; then
28294 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28295 fi
28296 fi
28297
28298 # Extract the first word of "gtk-config", so it can be a program name with args.
28299 set dummy gtk-config; ac_word=$2
28300 echo "$as_me:$LINENO: checking for $ac_word" >&5
28301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28302 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 else
28305 case $GTK_CONFIG in
28306 [\\/]* | ?:[\\/]*)
28307 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28308 ;;
28309 *)
28310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28311 for as_dir in $PATH
28312 do
28313 IFS=$as_save_IFS
28314 test -z "$as_dir" && as_dir=.
28315 for ac_exec_ext in '' $ac_executable_extensions; do
28316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28317 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28319 break 2
28320 fi
28321 done
28322 done
28323
28324 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28325 ;;
28326 esac
28327 fi
28328 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28329
28330 if test -n "$GTK_CONFIG"; then
28331 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28332 echo "${ECHO_T}$GTK_CONFIG" >&6
28333 else
28334 echo "$as_me:$LINENO: result: no" >&5
28335 echo "${ECHO_T}no" >&6
28336 fi
28337
28338 min_gtk_version=1.2.3
28339 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28340 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28341 no_gtk=""
28342 if test "$GTK_CONFIG" = "no" ; then
28343 no_gtk=yes
28344 else
28345 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28346 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28347 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28349 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28351 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28353 if test "x$enable_gtktest" = "xyes" ; then
28354 ac_save_CFLAGS="$CFLAGS"
28355 ac_save_LIBS="$LIBS"
28356 CFLAGS="$CFLAGS $GTK_CFLAGS"
28357 LIBS="$GTK_LIBS $LIBS"
28358 rm -f conf.gtktest
28359 if test "$cross_compiling" = yes; then
28360 echo $ac_n "cross compiling; assumed OK... $ac_c"
28361 else
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368
28369 #include <gtk/gtk.h>
28370 #include <stdio.h>
28371 #include <stdlib.h>
28372
28373 int
28374 main ()
28375 {
28376 int major, minor, micro;
28377 char *tmp_version;
28378
28379 system ("touch conf.gtktest");
28380
28381 /* HP/UX 9 (%@#!) writes to sscanf strings */
28382 tmp_version = g_strdup("$min_gtk_version");
28383 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28384 printf("%s, bad version string\n", "$min_gtk_version");
28385 exit(1);
28386 }
28387
28388 if ((gtk_major_version != $gtk_config_major_version) ||
28389 (gtk_minor_version != $gtk_config_minor_version) ||
28390 (gtk_micro_version != $gtk_config_micro_version))
28391 {
28392 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28393 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28394 gtk_major_version, gtk_minor_version, gtk_micro_version);
28395 printf ("*** was found! If gtk-config was correct, then it is best\n");
28396 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28397 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28398 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28399 printf("*** required on your system.\n");
28400 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28401 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28402 printf("*** before re-running configure\n");
28403 }
28404 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28405 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28406 (gtk_minor_version != GTK_MINOR_VERSION) ||
28407 (gtk_micro_version != GTK_MICRO_VERSION))
28408 {
28409 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28410 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28411 printf("*** library (version %d.%d.%d)\n",
28412 gtk_major_version, gtk_minor_version, gtk_micro_version);
28413 }
28414 #endif /* defined (GTK_MAJOR_VERSION) ... */
28415 else
28416 {
28417 if ((gtk_major_version > major) ||
28418 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28419 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28420 {
28421 return 0;
28422 }
28423 else
28424 {
28425 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28426 gtk_major_version, gtk_minor_version, gtk_micro_version);
28427 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28428 major, minor, micro);
28429 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28430 printf("***\n");
28431 printf("*** If you have already installed a sufficiently new version, this error\n");
28432 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28433 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28434 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28435 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28436 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28437 printf("*** so that the correct libraries are found at run-time))\n");
28438 }
28439 }
28440 return 1;
28441 }
28442
28443 _ACEOF
28444 rm -f conftest$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446 (eval $ac_link) 2>&5
28447 ac_status=$?
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28452 ac_status=$?
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; }; then
28455 :
28456 else
28457 echo "$as_me: program exited with status $ac_status" >&5
28458 echo "$as_me: failed program was:" >&5
28459 sed 's/^/| /' conftest.$ac_ext >&5
28460
28461 ( exit $ac_status )
28462 no_gtk=yes
28463 fi
28464 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28465 fi
28466 CFLAGS="$ac_save_CFLAGS"
28467 LIBS="$ac_save_LIBS"
28468 fi
28469 fi
28470 if test "x$no_gtk" = x ; then
28471 echo "$as_me:$LINENO: result: yes" >&5
28472 echo "${ECHO_T}yes" >&6
28473 wx_cv_lib_gtk=1.2.3
28474 else
28475 echo "$as_me:$LINENO: result: no" >&5
28476 echo "${ECHO_T}no" >&6
28477 if test "$GTK_CONFIG" = "no" ; then
28478 echo "*** The gtk-config script installed by GTK could not be found"
28479 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28480 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28481 echo "*** full path to gtk-config."
28482 else
28483 if test -f conf.gtktest ; then
28484 :
28485 else
28486 echo "*** Could not run GTK test program, checking why..."
28487 CFLAGS="$CFLAGS $GTK_CFLAGS"
28488 LIBS="$LIBS $GTK_LIBS"
28489 cat >conftest.$ac_ext <<_ACEOF
28490 /* confdefs.h. */
28491 _ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28495
28496 #include <gtk/gtk.h>
28497 #include <stdio.h>
28498
28499 int
28500 main ()
28501 {
28502 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28503 ;
28504 return 0;
28505 }
28506 _ACEOF
28507 rm -f conftest.$ac_objext conftest$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>conftest.er1
28510 ac_status=$?
28511 grep -v '^ *+' conftest.er1 >conftest.err
28512 rm -f conftest.er1
28513 cat conftest.err >&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } &&
28516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28519 ac_status=$?
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 echo "*** The test program compiled, but did not run. This usually means"
28529 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28530 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28531 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28532 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28533 echo "*** is required on your system"
28534 echo "***"
28535 echo "*** If you have an old version installed, it is best to remove it, although"
28536 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28537 echo "***"
28538 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28539 echo "*** came with the system with the command"
28540 echo "***"
28541 echo "*** rpm --erase --nodeps gtk gtk-devel"
28542 else
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.$ac_ext >&5
28545
28546 echo "*** The test program failed to compile or link. See the file config.log for the"
28547 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28548 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28549 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28550 fi
28551 rm -f conftest.err conftest.$ac_objext \
28552 conftest$ac_exeext conftest.$ac_ext
28553 CFLAGS="$ac_save_CFLAGS"
28554 LIBS="$ac_save_LIBS"
28555 fi
28556 fi
28557 GTK_CFLAGS=""
28558 GTK_LIBS=""
28559 :
28560 fi
28561
28562
28563 rm -f conf.gtktest
28564
28565 fi
28566 fi
28567 fi
28568
28569 if test -z "$wx_cv_lib_gtk"; then
28570 wx_cv_lib_gtk=none
28571 else
28572 wx_cv_cflags_gtk=$GTK_CFLAGS
28573 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28574 fi
28575
28576
28577 fi
28578
28579
28580 if test "$gtk_version_cached" = 1; then
28581 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28582 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28583 fi
28584
28585 case "$wx_cv_lib_gtk" in
28586 2.0) WXGTK20=1
28587 TOOLKIT_VERSION=2
28588 ;;
28589 1.2.7) WXGTK127=1
28590 WXGTK12=1
28591 ;;
28592 1.2.3) WXGTK12=1
28593 ;;
28594 *) { { echo "$as_me:$LINENO: error:
28595 The development files for GTK+ were not found. For GTK+ 2, please
28596 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28597 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28598 and that the version is 1.2.3 or above. Also check that the
28599 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28600 --libs' are in the LD_LIBRARY_PATH or equivalent.
28601 " >&5
28602 echo "$as_me: error:
28603 The development files for GTK+ were not found. For GTK+ 2, please
28604 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28605 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28606 and that the version is 1.2.3 or above. Also check that the
28607 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28608 --libs' are in the LD_LIBRARY_PATH or equivalent.
28609 " >&2;}
28610 { (exit 1); exit 1; }; }
28611 ;;
28612 esac
28613
28614 if test "$WXGTK20" = 1; then
28615 save_CFLAGS="$CFLAGS"
28616 save_LIBS="$LIBS"
28617 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28618 LIBS="$LIBS $wx_cv_libs_gtk"
28619
28620 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28621 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28622 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28623 echo $ECHO_N "(cached) $ECHO_C" >&6
28624 else
28625 cat >conftest.$ac_ext <<_ACEOF
28626 /* confdefs.h. */
28627 _ACEOF
28628 cat confdefs.h >>conftest.$ac_ext
28629 cat >>conftest.$ac_ext <<_ACEOF
28630 /* end confdefs.h. */
28631 #include <gtk/gtk.h>
28632
28633 int
28634 main ()
28635 {
28636 #ifndef gtk_icon_size_lookup
28637 char *p = (char *) gtk_icon_size_lookup;
28638 #endif
28639
28640 ;
28641 return 0;
28642 }
28643 _ACEOF
28644 rm -f conftest.$ac_objext
28645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28646 (eval $ac_compile) 2>conftest.er1
28647 ac_status=$?
28648 grep -v '^ *+' conftest.er1 >conftest.err
28649 rm -f conftest.er1
28650 cat conftest.err >&5
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); } &&
28653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; } &&
28659 { ac_try='test -s conftest.$ac_objext'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; }; then
28665 ac_cv_have_decl_gtk_icon_size_lookup=yes
28666 else
28667 echo "$as_me: failed program was:" >&5
28668 sed 's/^/| /' conftest.$ac_ext >&5
28669
28670 ac_cv_have_decl_gtk_icon_size_lookup=no
28671 fi
28672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28673 fi
28674 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28675 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28676 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28677
28678 cat >>confdefs.h <<_ACEOF
28679 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28680 _ACEOF
28681
28682
28683 else
28684 cat >>confdefs.h <<_ACEOF
28685 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28686 _ACEOF
28687
28688 cat >>confdefs.h <<\_ACEOF
28689 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28690 _ACEOF
28691
28692 fi
28693
28694
28695
28696 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28697 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28698 cat >conftest.$ac_ext <<_ACEOF
28699 /* confdefs.h. */
28700 _ACEOF
28701 cat confdefs.h >>conftest.$ac_ext
28702 cat >>conftest.$ac_ext <<_ACEOF
28703 /* end confdefs.h. */
28704
28705 #include <gtk/gtk.h>
28706
28707 int
28708 main ()
28709 {
28710
28711 #if !GTK_CHECK_VERSION(2,6,0)
28712 Not GTK+ 2.6
28713 #endif
28714
28715 ;
28716 return 0;
28717 }
28718 _ACEOF
28719 rm -f conftest.$ac_objext
28720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28722 ac_status=$?
28723 grep -v '^ *+' conftest.er1 >conftest.err
28724 rm -f conftest.er1
28725 cat conftest.err >&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28731 ac_status=$?
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try='test -s conftest.$ac_objext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28737 ac_status=$?
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28740
28741 cat >>confdefs.h <<\_ACEOF
28742 #define __WXGTK26__ 1
28743 _ACEOF
28744
28745 cat >>confdefs.h <<\_ACEOF
28746 #define __WXGTK24__ 1
28747 _ACEOF
28748
28749 echo "$as_me:$LINENO: result: yes" >&5
28750 echo "${ECHO_T}yes" >&6
28751 ac_wxgtk26=1
28752
28753 else
28754 echo "$as_me: failed program was:" >&5
28755 sed 's/^/| /' conftest.$ac_ext >&5
28756
28757
28758 echo "$as_me:$LINENO: result: no" >&5
28759 echo "${ECHO_T}no" >&6
28760 ac_wxgtk26=0
28761
28762 fi
28763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28764
28765 if test "$ac_wxgtk26" = 0; then
28766 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28767 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28768 cat >conftest.$ac_ext <<_ACEOF
28769 /* confdefs.h. */
28770 _ACEOF
28771 cat confdefs.h >>conftest.$ac_ext
28772 cat >>conftest.$ac_ext <<_ACEOF
28773 /* end confdefs.h. */
28774
28775 #include <gtk/gtk.h>
28776
28777 int
28778 main ()
28779 {
28780
28781 #if !GTK_CHECK_VERSION(2,4,0)
28782 Not GTK+ 2.4
28783 #endif
28784
28785 ;
28786 return 0;
28787 }
28788 _ACEOF
28789 rm -f conftest.$ac_objext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28791 (eval $ac_compile) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28801 ac_status=$?
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; } &&
28804 { ac_try='test -s conftest.$ac_objext'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28807 ac_status=$?
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; }; then
28810
28811 cat >>confdefs.h <<\_ACEOF
28812 #define __WXGTK24__ 1
28813 _ACEOF
28814
28815 echo "$as_me:$LINENO: result: yes" >&5
28816 echo "${ECHO_T}yes" >&6
28817
28818 else
28819 echo "$as_me: failed program was:" >&5
28820 sed 's/^/| /' conftest.$ac_ext >&5
28821
28822
28823 echo "$as_me:$LINENO: result: no" >&5
28824 echo "${ECHO_T}no" >&6
28825
28826 fi
28827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28828 fi
28829
28830 CFLAGS="$save_CFLAGS"
28831 LIBS="$save_LIBS"
28832 else
28833 if test "$wxUSE_UNICODE" = "yes"; then
28834 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28835 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28836 wxUSE_UNICODE=no
28837 fi
28838
28839 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28840 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28841 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28843 else
28844 ac_check_lib_save_LIBS=$LIBS
28845 LIBS="-lgdk $LIBS"
28846 cat >conftest.$ac_ext <<_ACEOF
28847 /* confdefs.h. */
28848 _ACEOF
28849 cat confdefs.h >>conftest.$ac_ext
28850 cat >>conftest.$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28852
28853 /* Override any gcc2 internal prototype to avoid an error. */
28854 #ifdef __cplusplus
28855 extern "C"
28856 #endif
28857 /* We use char because int might match the return type of a gcc2
28858 builtin and then its argument prototype would still apply. */
28859 char gdk_im_open ();
28860 int
28861 main ()
28862 {
28863 gdk_im_open ();
28864 ;
28865 return 0;
28866 }
28867 _ACEOF
28868 rm -f conftest.$ac_objext conftest$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>conftest.er1
28871 ac_status=$?
28872 grep -v '^ *+' conftest.er1 >conftest.err
28873 rm -f conftest.er1
28874 cat conftest.err >&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); } &&
28877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28880 ac_status=$?
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; } &&
28883 { ac_try='test -s conftest$ac_exeext'
28884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28885 (eval $ac_try) 2>&5
28886 ac_status=$?
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); }; }; then
28889 ac_cv_lib_gdk_gdk_im_open=yes
28890 else
28891 echo "$as_me: failed program was:" >&5
28892 sed 's/^/| /' conftest.$ac_ext >&5
28893
28894 ac_cv_lib_gdk_gdk_im_open=no
28895 fi
28896 rm -f conftest.err conftest.$ac_objext \
28897 conftest$ac_exeext conftest.$ac_ext
28898 LIBS=$ac_check_lib_save_LIBS
28899 fi
28900 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28901 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28902 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28903 cat >>confdefs.h <<\_ACEOF
28904 #define HAVE_XIM 1
28905 _ACEOF
28906
28907 fi
28908
28909 fi
28910
28911 ac_ext=cc
28912 ac_cpp='$CXXCPP $CPPFLAGS'
28913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28916
28917
28918 if test "$USE_DARWIN" != 1; then
28919
28920 for ac_func in poll
28921 do
28922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28923 echo "$as_me:$LINENO: checking for $ac_func" >&5
28924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28925 if eval "test \"\${$as_ac_var+set}\" = set"; then
28926 echo $ECHO_N "(cached) $ECHO_C" >&6
28927 else
28928 cat >conftest.$ac_ext <<_ACEOF
28929 /* confdefs.h. */
28930 _ACEOF
28931 cat confdefs.h >>conftest.$ac_ext
28932 cat >>conftest.$ac_ext <<_ACEOF
28933 /* end confdefs.h. */
28934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28936 #define $ac_func innocuous_$ac_func
28937
28938 /* System header to define __stub macros and hopefully few prototypes,
28939 which can conflict with char $ac_func (); below.
28940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28941 <limits.h> exists even on freestanding compilers. */
28942
28943 #ifdef __STDC__
28944 # include <limits.h>
28945 #else
28946 # include <assert.h>
28947 #endif
28948
28949 #undef $ac_func
28950
28951 /* Override any gcc2 internal prototype to avoid an error. */
28952 #ifdef __cplusplus
28953 extern "C"
28954 {
28955 #endif
28956 /* We use char because int might match the return type of a gcc2
28957 builtin and then its argument prototype would still apply. */
28958 char $ac_func ();
28959 /* The GNU C library defines this for functions which it implements
28960 to always fail with ENOSYS. Some functions are actually named
28961 something starting with __ and the normal name is an alias. */
28962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28963 choke me
28964 #else
28965 char (*f) () = $ac_func;
28966 #endif
28967 #ifdef __cplusplus
28968 }
28969 #endif
28970
28971 int
28972 main ()
28973 {
28974 return f != $ac_func;
28975 ;
28976 return 0;
28977 }
28978 _ACEOF
28979 rm -f conftest.$ac_objext conftest$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28982 ac_status=$?
28983 grep -v '^ *+' conftest.er1 >conftest.err
28984 rm -f conftest.er1
28985 cat conftest.err >&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28991 ac_status=$?
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28997 ac_status=$?
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 eval "$as_ac_var=yes"
29001 else
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 eval "$as_ac_var=no"
29006 fi
29007 rm -f conftest.err conftest.$ac_objext \
29008 conftest$ac_exeext conftest.$ac_ext
29009 fi
29010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29012 if test `eval echo '${'$as_ac_var'}'` = yes; then
29013 cat >>confdefs.h <<_ACEOF
29014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29015 _ACEOF
29016
29017 fi
29018 done
29019
29020 fi
29021
29022 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29023 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29024
29025 AFMINSTALL=afminstall
29026 TOOLKIT=GTK
29027 GUIDIST=GTK_DIST
29028
29029 if test "$wxUSE_GPE" = "yes"; then
29030 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29031 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29032
29033 ac_find_libraries=
29034 for ac_dir in $SEARCH_LIB;
29035 do
29036 for ac_extension in a so sl dylib dll.a; do
29037 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29038 ac_find_libraries=$ac_dir
29039 break 2
29040 fi
29041 done
29042 done
29043
29044 if test "$ac_find_libraries" != "" ; then
29045
29046 if test "$ac_find_libraries" = "default location"; then
29047 ac_path_to_link=""
29048 else
29049 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29050 result=$?
29051 if test $result = 0; then
29052 ac_path_to_link=""
29053 else
29054 ac_path_to_link=" -L$ac_find_libraries"
29055 fi
29056 fi
29057
29058 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29059 WXGPE=1
29060 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29061 echo "${ECHO_T}found in $ac_find_libraries" >&6
29062 else
29063 echo "$as_me:$LINENO: result: not found" >&5
29064 echo "${ECHO_T}not found" >&6
29065 fi
29066
29067 fi
29068 fi
29069
29070 if test "$wxUSE_MGL" = 1; then
29071 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29072 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29073 if test "x$MGL_ROOT" = x ; then
29074 echo "$as_me:$LINENO: result: not found" >&5
29075 echo "${ECHO_T}not found" >&6
29076 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29077 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29078 { (exit 1); exit 1; }; }
29079 else
29080 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29081 echo "${ECHO_T}$MGL_ROOT" >&6
29082 fi
29083
29084 echo "$as_me:$LINENO: checking for libmgl location" >&5
29085 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29086 case "${host}" in
29087 *-*-linux* )
29088 if test "x$wxUSE_SHARED" = xyes ; then
29089 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29090 else
29091 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29092 fi
29093 ;;
29094 *-pc-msdosdjgpp )
29095 mgl_os_candidates="dos32/dj2"
29096 ;;
29097 *)
29098 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29099 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29100 { (exit 1); exit 1; }; }
29101 esac
29102
29103 mgl_lib_type=""
29104 mgl_os=""
29105
29106 for mgl_os_i in $mgl_os_candidates ; do
29107 if test "x$mgl_os" = x ; then
29108 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29109 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29110 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29111 mgl_lib_type=debug
29112 mgl_os=$mgl_os_i
29113 fi
29114 fi
29115 if test "x$mgl_lib_type" = x ; then
29116 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29117 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29118 mgl_lib_type=release
29119 mgl_os=$mgl_os_i
29120 fi
29121 fi
29122 fi
29123 done
29124
29125 if test "x$mgl_os" = x ; then
29126 echo "$as_me:$LINENO: result: not found" >&5
29127 echo "${ECHO_T}not found" >&6
29128 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29129 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29130 { (exit 1); exit 1; }; }
29131 fi
29132 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29133 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29134
29135 wxUSE_UNIVERSAL="yes"
29136
29137 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29138 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29139
29140 AFMINSTALL=afminstall
29141 TOOLKIT=MGL
29142 GUIDIST=MGL_DIST
29143 fi
29144
29145 if test "$wxUSE_DFB" = 1; then
29146
29147
29148 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29149 if test -n "$ac_tool_prefix"; then
29150 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29151 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29152 echo "$as_me:$LINENO: checking for $ac_word" >&5
29153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29154 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29155 echo $ECHO_N "(cached) $ECHO_C" >&6
29156 else
29157 case $PKG_CONFIG in
29158 [\\/]* | ?:[\\/]*)
29159 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29160 ;;
29161 *)
29162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29163 for as_dir in $PATH
29164 do
29165 IFS=$as_save_IFS
29166 test -z "$as_dir" && as_dir=.
29167 for ac_exec_ext in '' $ac_executable_extensions; do
29168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29169 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29171 break 2
29172 fi
29173 done
29174 done
29175
29176 ;;
29177 esac
29178 fi
29179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29180
29181 if test -n "$PKG_CONFIG"; then
29182 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29183 echo "${ECHO_T}$PKG_CONFIG" >&6
29184 else
29185 echo "$as_me:$LINENO: result: no" >&5
29186 echo "${ECHO_T}no" >&6
29187 fi
29188
29189 fi
29190 if test -z "$ac_cv_path_PKG_CONFIG"; then
29191 ac_pt_PKG_CONFIG=$PKG_CONFIG
29192 # Extract the first word of "pkg-config", so it can be a program name with args.
29193 set dummy pkg-config; ac_word=$2
29194 echo "$as_me:$LINENO: checking for $ac_word" >&5
29195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29196 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29199 case $ac_pt_PKG_CONFIG in
29200 [\\/]* | ?:[\\/]*)
29201 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29202 ;;
29203 *)
29204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29205 for as_dir in $PATH
29206 do
29207 IFS=$as_save_IFS
29208 test -z "$as_dir" && as_dir=.
29209 for ac_exec_ext in '' $ac_executable_extensions; do
29210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29211 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29213 break 2
29214 fi
29215 done
29216 done
29217
29218 ;;
29219 esac
29220 fi
29221 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29222
29223 if test -n "$ac_pt_PKG_CONFIG"; then
29224 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29225 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29226 else
29227 echo "$as_me:$LINENO: result: no" >&5
29228 echo "${ECHO_T}no" >&6
29229 fi
29230
29231 PKG_CONFIG=$ac_pt_PKG_CONFIG
29232 else
29233 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29234 fi
29235
29236 fi
29237 if test -n "$PKG_CONFIG"; then
29238 _pkg_min_version=0.9.0
29239 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29240 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29241 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29242 echo "$as_me:$LINENO: result: yes" >&5
29243 echo "${ECHO_T}yes" >&6
29244 else
29245 echo "$as_me:$LINENO: result: no" >&5
29246 echo "${ECHO_T}no" >&6
29247 PKG_CONFIG=""
29248 fi
29249
29250 fi
29251
29252 pkg_failed=no
29253 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29254 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29255
29256 if test -n "$PKG_CONFIG"; then
29257 if test -n "$DIRECTFB_CFLAGS"; then
29258 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29259 else
29260 if test -n "$PKG_CONFIG" && \
29261 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29262 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; then
29266 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29267 else
29268 pkg_failed=yes
29269 fi
29270 fi
29271 else
29272 pkg_failed=untried
29273 fi
29274 if test -n "$PKG_CONFIG"; then
29275 if test -n "$DIRECTFB_LIBS"; then
29276 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29277 else
29278 if test -n "$PKG_CONFIG" && \
29279 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29280 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29281 ac_status=$?
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; then
29284 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29285 else
29286 pkg_failed=yes
29287 fi
29288 fi
29289 else
29290 pkg_failed=untried
29291 fi
29292
29293
29294
29295 if test $pkg_failed = yes; then
29296
29297 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29298 _pkg_short_errors_supported=yes
29299 else
29300 _pkg_short_errors_supported=no
29301 fi
29302 if test $_pkg_short_errors_supported = yes; then
29303 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29304 else
29305 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29306 fi
29307 # Put the nasty error message in config.log where it belongs
29308 echo "$DIRECTFB_PKG_ERRORS" >&5
29309
29310
29311 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29312 echo "$as_me: error: DirectFB not found." >&2;}
29313 { (exit 1); exit 1; }; }
29314
29315
29316 elif test $pkg_failed = untried; then
29317
29318 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29319 echo "$as_me: error: DirectFB not found." >&2;}
29320 { (exit 1); exit 1; }; }
29321
29322
29323 else
29324 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29325 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29326 echo "$as_me:$LINENO: result: yes" >&5
29327 echo "${ECHO_T}yes" >&6
29328
29329 wxUSE_UNIVERSAL="yes"
29330 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29331 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29332 TOOLKIT=DFB
29333 GUIDIST=DFB_DIST
29334
29335 fi
29336 fi
29337
29338 if test "$wxUSE_MICROWIN" = 1; then
29339 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29340 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29341 if test "x$MICROWINDOWS" = x ; then
29342 echo "$as_me:$LINENO: result: not found" >&5
29343 echo "${ECHO_T}not found" >&6
29344 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29345 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29346 { (exit 1); exit 1; }; }
29347 else
29348 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29349 echo "${ECHO_T}$MICROWINDOWS" >&6
29350 fi
29351
29352 if test -f $MICROWINDOWS/lib/libmwin.a; then
29353 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29354 echo "${ECHO_T}MicroWindows' libraries found." >&6
29355 else
29356 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29357 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29358 { (exit 1); exit 1; }; }
29359 fi
29360
29361 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29362 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29363
29364 wxUSE_UNIVERSAL="yes"
29365
29366 AFMINSTALL=afminstall
29367 TOOLKIT=MICROWIN
29368 GUIDIST=MICROWIN_DIST
29369
29370 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29371 fi
29372
29373 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29374
29375 if test "x$ac_path_x_has_been_run" != xyes; then
29376 echo "$as_me:$LINENO: checking for X" >&5
29377 echo $ECHO_N "checking for X... $ECHO_C" >&6
29378
29379 ac_path_x_has_been_run=yes
29380
29381 # Check whether --with-x or --without-x was given.
29382 if test "${with_x+set}" = set; then
29383 withval="$with_x"
29384
29385 fi;
29386 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29387 if test "x$with_x" = xno; then
29388 # The user explicitly disabled X.
29389 have_x=disabled
29390 else
29391 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29392 # Both variables are already set.
29393 have_x=yes
29394 else
29395 if test "${ac_cv_have_x+set}" = set; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29397 else
29398 # One or both of the vars are not set, and there is no cached value.
29399 ac_x_includes=no ac_x_libraries=no
29400 rm -fr conftest.dir
29401 if mkdir conftest.dir; then
29402 cd conftest.dir
29403 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29404 cat >Imakefile <<'_ACEOF'
29405 acfindx:
29406 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29407 _ACEOF
29408 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29409 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29410 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29411 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29412 for ac_extension in a so sl; do
29413 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29414 test -f $ac_im_libdir/libX11.$ac_extension; then
29415 ac_im_usrlibdir=$ac_im_libdir; break
29416 fi
29417 done
29418 # Screen out bogus values from the imake configuration. They are
29419 # bogus both because they are the default anyway, and because
29420 # using them would break gcc on systems where it needs fixed includes.
29421 case $ac_im_incroot in
29422 /usr/include) ;;
29423 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29424 esac
29425 case $ac_im_usrlibdir in
29426 /usr/lib | /lib) ;;
29427 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29428 esac
29429 fi
29430 cd ..
29431 rm -fr conftest.dir
29432 fi
29433
29434 # Standard set of common directories for X headers.
29435 # Check X11 before X11Rn because it is often a symlink to the current release.
29436 ac_x_header_dirs='
29437 /usr/X11/include
29438 /usr/X11R6/include
29439 /usr/X11R5/include
29440 /usr/X11R4/include
29441
29442 /usr/include/X11
29443 /usr/include/X11R6
29444 /usr/include/X11R5
29445 /usr/include/X11R4
29446
29447 /usr/local/X11/include
29448 /usr/local/X11R6/include
29449 /usr/local/X11R5/include
29450 /usr/local/X11R4/include
29451
29452 /usr/local/include/X11
29453 /usr/local/include/X11R6
29454 /usr/local/include/X11R5
29455 /usr/local/include/X11R4
29456
29457 /usr/X386/include
29458 /usr/x386/include
29459 /usr/XFree86/include/X11
29460
29461 /usr/include
29462 /usr/local/include
29463 /usr/unsupported/include
29464 /usr/athena/include
29465 /usr/local/x11r5/include
29466 /usr/lpp/Xamples/include
29467
29468 /usr/openwin/include
29469 /usr/openwin/share/include'
29470
29471 if test "$ac_x_includes" = no; then
29472 # Guess where to find include files, by looking for a specified header file.
29473 # First, try using that file with no special directory specified.
29474 cat >conftest.$ac_ext <<_ACEOF
29475 /* confdefs.h. */
29476 _ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480 #include <X11/Xlib.h>
29481 _ACEOF
29482 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29484 ac_status=$?
29485 grep -v '^ *+' conftest.er1 >conftest.err
29486 rm -f conftest.er1
29487 cat conftest.err >&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } >/dev/null; then
29490 if test -s conftest.err; then
29491 ac_cpp_err=$ac_cxx_preproc_warn_flag
29492 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29493 else
29494 ac_cpp_err=
29495 fi
29496 else
29497 ac_cpp_err=yes
29498 fi
29499 if test -z "$ac_cpp_err"; then
29500 # We can compile using X headers with no special include directory.
29501 ac_x_includes=
29502 else
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.$ac_ext >&5
29505
29506 for ac_dir in $ac_x_header_dirs; do
29507 if test -r "$ac_dir/X11/Xlib.h"; then
29508 ac_x_includes=$ac_dir
29509 break
29510 fi
29511 done
29512 fi
29513 rm -f conftest.err conftest.$ac_ext
29514 fi # $ac_x_includes = no
29515
29516 if test "$ac_x_libraries" = no; then
29517 # Check for the libraries.
29518 # See if we find them without any special options.
29519 # Don't add to $LIBS permanently.
29520 ac_save_LIBS=$LIBS
29521 LIBS="-lX11 $LIBS"
29522 cat >conftest.$ac_ext <<_ACEOF
29523 /* confdefs.h. */
29524 _ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 #include <X11/Xlib.h>
29529 int
29530 main ()
29531 {
29532 XrmInitialize ()
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29539 (eval $ac_link) 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } &&
29546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29548 (eval $ac_try) 2>&5
29549 ac_status=$?
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); }; } &&
29552 { ac_try='test -s conftest$ac_exeext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29555 ac_status=$?
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29558 LIBS=$ac_save_LIBS
29559 # We can link X programs with no special library path.
29560 ac_x_libraries=
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 LIBS=$ac_save_LIBS
29566 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29567 do
29568 # Don't even attempt the hair of trying to link an X program!
29569 for ac_extension in a so sl; do
29570 if test -r $ac_dir/libX11.$ac_extension; then
29571 ac_x_libraries=$ac_dir
29572 break 2
29573 fi
29574 done
29575 done
29576 fi
29577 rm -f conftest.err conftest.$ac_objext \
29578 conftest$ac_exeext conftest.$ac_ext
29579 fi # $ac_x_libraries = no
29580
29581 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29582 # Didn't find X anywhere. Cache the known absence of X.
29583 ac_cv_have_x="have_x=no"
29584 else
29585 # Record where we found X for the cache.
29586 ac_cv_have_x="have_x=yes \
29587 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29588 fi
29589 fi
29590
29591 fi
29592 eval "$ac_cv_have_x"
29593 fi # $with_x != no
29594
29595 if test "$have_x" != yes; then
29596 echo "$as_me:$LINENO: result: $have_x" >&5
29597 echo "${ECHO_T}$have_x" >&6
29598 no_x=yes
29599 else
29600 # If each of the values was on the command line, it overrides each guess.
29601 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29602 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29603 # Update the cache value to reflect the command line values.
29604 ac_cv_have_x="have_x=yes \
29605 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29606 # It might be that x_includes is empty (headers are found in the
29607 # standard search path. Then output the corresponding message
29608 ac_out_x_includes=$x_includes
29609 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29610 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29611 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29612 fi
29613
29614 fi
29615 if test "$no_x" = yes; then
29616 # Not all programs may use this symbol, but it does not hurt to define it.
29617
29618 cat >>confdefs.h <<\_ACEOF
29619 #define X_DISPLAY_MISSING 1
29620 _ACEOF
29621
29622 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29623 else
29624 if test -n "$x_includes"; then
29625 X_CFLAGS="$X_CFLAGS -I$x_includes"
29626 fi
29627
29628 # It would also be nice to do this for all -L options, not just this one.
29629 if test -n "$x_libraries"; then
29630 X_LIBS="$X_LIBS -L$x_libraries"
29631 # For Solaris; some versions of Sun CC require a space after -R and
29632 # others require no space. Words are not sufficient . . . .
29633 case `(uname -sr) 2>/dev/null` in
29634 "SunOS 5"*)
29635 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29636 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29637 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29638 cat >conftest.$ac_ext <<_ACEOF
29639 /* confdefs.h. */
29640 _ACEOF
29641 cat confdefs.h >>conftest.$ac_ext
29642 cat >>conftest.$ac_ext <<_ACEOF
29643 /* end confdefs.h. */
29644
29645 int
29646 main ()
29647 {
29648
29649 ;
29650 return 0;
29651 }
29652 _ACEOF
29653 rm -f conftest.$ac_objext conftest$ac_exeext
29654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29655 (eval $ac_link) 2>conftest.er1
29656 ac_status=$?
29657 grep -v '^ *+' conftest.er1 >conftest.err
29658 rm -f conftest.er1
29659 cat conftest.err >&5
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); } &&
29662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664 (eval $ac_try) 2>&5
29665 ac_status=$?
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; } &&
29668 { ac_try='test -s conftest$ac_exeext'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; }; then
29674 ac_R_nospace=yes
29675 else
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29678
29679 ac_R_nospace=no
29680 fi
29681 rm -f conftest.err conftest.$ac_objext \
29682 conftest$ac_exeext conftest.$ac_ext
29683 if test $ac_R_nospace = yes; then
29684 echo "$as_me:$LINENO: result: no" >&5
29685 echo "${ECHO_T}no" >&6
29686 X_LIBS="$X_LIBS -R$x_libraries"
29687 else
29688 LIBS="$ac_xsave_LIBS -R $x_libraries"
29689 cat >conftest.$ac_ext <<_ACEOF
29690 /* confdefs.h. */
29691 _ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29695
29696 int
29697 main ()
29698 {
29699
29700 ;
29701 return 0;
29702 }
29703 _ACEOF
29704 rm -f conftest.$ac_objext conftest$ac_exeext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29706 (eval $ac_link) 2>conftest.er1
29707 ac_status=$?
29708 grep -v '^ *+' conftest.er1 >conftest.err
29709 rm -f conftest.er1
29710 cat conftest.err >&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } &&
29713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; } &&
29719 { ac_try='test -s conftest$ac_exeext'
29720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29721 (eval $ac_try) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); }; }; then
29725 ac_R_space=yes
29726 else
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.$ac_ext >&5
29729
29730 ac_R_space=no
29731 fi
29732 rm -f conftest.err conftest.$ac_objext \
29733 conftest$ac_exeext conftest.$ac_ext
29734 if test $ac_R_space = yes; then
29735 echo "$as_me:$LINENO: result: yes" >&5
29736 echo "${ECHO_T}yes" >&6
29737 X_LIBS="$X_LIBS -R $x_libraries"
29738 else
29739 echo "$as_me:$LINENO: result: neither works" >&5
29740 echo "${ECHO_T}neither works" >&6
29741 fi
29742 fi
29743 LIBS=$ac_xsave_LIBS
29744 esac
29745 fi
29746
29747 # Check for system-dependent libraries X programs must link with.
29748 # Do this before checking for the system-independent R6 libraries
29749 # (-lICE), since we may need -lsocket or whatever for X linking.
29750
29751 if test "$ISC" = yes; then
29752 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29753 else
29754 # Martyn Johnson says this is needed for Ultrix, if the X
29755 # libraries were built with DECnet support. And Karl Berry says
29756 # the Alpha needs dnet_stub (dnet does not exist).
29757 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29758 cat >conftest.$ac_ext <<_ACEOF
29759 /* confdefs.h. */
29760 _ACEOF
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29764
29765 /* Override any gcc2 internal prototype to avoid an error. */
29766 #ifdef __cplusplus
29767 extern "C"
29768 #endif
29769 /* We use char because int might match the return type of a gcc2
29770 builtin and then its argument prototype would still apply. */
29771 char XOpenDisplay ();
29772 int
29773 main ()
29774 {
29775 XOpenDisplay ();
29776 ;
29777 return 0;
29778 }
29779 _ACEOF
29780 rm -f conftest.$ac_objext conftest$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782 (eval $ac_link) 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try='test -s conftest$ac_exeext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29798 ac_status=$?
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 :
29802 else
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.$ac_ext >&5
29805
29806 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29807 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29808 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29809 echo $ECHO_N "(cached) $ECHO_C" >&6
29810 else
29811 ac_check_lib_save_LIBS=$LIBS
29812 LIBS="-ldnet $LIBS"
29813 cat >conftest.$ac_ext <<_ACEOF
29814 /* confdefs.h. */
29815 _ACEOF
29816 cat confdefs.h >>conftest.$ac_ext
29817 cat >>conftest.$ac_ext <<_ACEOF
29818 /* end confdefs.h. */
29819
29820 /* Override any gcc2 internal prototype to avoid an error. */
29821 #ifdef __cplusplus
29822 extern "C"
29823 #endif
29824 /* We use char because int might match the return type of a gcc2
29825 builtin and then its argument prototype would still apply. */
29826 char dnet_ntoa ();
29827 int
29828 main ()
29829 {
29830 dnet_ntoa ();
29831 ;
29832 return 0;
29833 }
29834 _ACEOF
29835 rm -f conftest.$ac_objext conftest$ac_exeext
29836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29837 (eval $ac_link) 2>conftest.er1
29838 ac_status=$?
29839 grep -v '^ *+' conftest.er1 >conftest.err
29840 rm -f conftest.er1
29841 cat conftest.err >&5
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); } &&
29844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try='test -s conftest$ac_exeext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 ac_cv_lib_dnet_dnet_ntoa=yes
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29860
29861 ac_cv_lib_dnet_dnet_ntoa=no
29862 fi
29863 rm -f conftest.err conftest.$ac_objext \
29864 conftest$ac_exeext conftest.$ac_ext
29865 LIBS=$ac_check_lib_save_LIBS
29866 fi
29867 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29868 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29869 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29870 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29871 fi
29872
29873 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29874 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29875 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29876 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29878 else
29879 ac_check_lib_save_LIBS=$LIBS
29880 LIBS="-ldnet_stub $LIBS"
29881 cat >conftest.$ac_ext <<_ACEOF
29882 /* confdefs.h. */
29883 _ACEOF
29884 cat confdefs.h >>conftest.$ac_ext
29885 cat >>conftest.$ac_ext <<_ACEOF
29886 /* end confdefs.h. */
29887
29888 /* Override any gcc2 internal prototype to avoid an error. */
29889 #ifdef __cplusplus
29890 extern "C"
29891 #endif
29892 /* We use char because int might match the return type of a gcc2
29893 builtin and then its argument prototype would still apply. */
29894 char dnet_ntoa ();
29895 int
29896 main ()
29897 {
29898 dnet_ntoa ();
29899 ;
29900 return 0;
29901 }
29902 _ACEOF
29903 rm -f conftest.$ac_objext conftest$ac_exeext
29904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29905 (eval $ac_link) 2>conftest.er1
29906 ac_status=$?
29907 grep -v '^ *+' conftest.er1 >conftest.err
29908 rm -f conftest.er1
29909 cat conftest.err >&5
29910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29911 (exit $ac_status); } &&
29912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29914 (eval $ac_try) 2>&5
29915 ac_status=$?
29916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29917 (exit $ac_status); }; } &&
29918 { ac_try='test -s conftest$ac_exeext'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; }; then
29924 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29925 else
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29928
29929 ac_cv_lib_dnet_stub_dnet_ntoa=no
29930 fi
29931 rm -f conftest.err conftest.$ac_objext \
29932 conftest$ac_exeext conftest.$ac_ext
29933 LIBS=$ac_check_lib_save_LIBS
29934 fi
29935 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29936 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29937 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29938 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29939 fi
29940
29941 fi
29942 fi
29943 rm -f conftest.err conftest.$ac_objext \
29944 conftest$ac_exeext conftest.$ac_ext
29945 LIBS="$ac_xsave_LIBS"
29946
29947 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29948 # to get the SysV transport functions.
29949 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29950 # needs -lnsl.
29951 # The nsl library prevents programs from opening the X display
29952 # on Irix 5.2, according to T.E. Dickey.
29953 # The functions gethostbyname, getservbyname, and inet_addr are
29954 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29955 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29956 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29957 if test "${ac_cv_func_gethostbyname+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29959 else
29960 cat >conftest.$ac_ext <<_ACEOF
29961 /* confdefs.h. */
29962 _ACEOF
29963 cat confdefs.h >>conftest.$ac_ext
29964 cat >>conftest.$ac_ext <<_ACEOF
29965 /* end confdefs.h. */
29966 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29968 #define gethostbyname innocuous_gethostbyname
29969
29970 /* System header to define __stub macros and hopefully few prototypes,
29971 which can conflict with char gethostbyname (); below.
29972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29973 <limits.h> exists even on freestanding compilers. */
29974
29975 #ifdef __STDC__
29976 # include <limits.h>
29977 #else
29978 # include <assert.h>
29979 #endif
29980
29981 #undef gethostbyname
29982
29983 /* Override any gcc2 internal prototype to avoid an error. */
29984 #ifdef __cplusplus
29985 extern "C"
29986 {
29987 #endif
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char gethostbyname ();
29991 /* The GNU C library defines this for functions which it implements
29992 to always fail with ENOSYS. Some functions are actually named
29993 something starting with __ and the normal name is an alias. */
29994 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29995 choke me
29996 #else
29997 char (*f) () = gethostbyname;
29998 #endif
29999 #ifdef __cplusplus
30000 }
30001 #endif
30002
30003 int
30004 main ()
30005 {
30006 return f != gethostbyname;
30007 ;
30008 return 0;
30009 }
30010 _ACEOF
30011 rm -f conftest.$ac_objext conftest$ac_exeext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30013 (eval $ac_link) 2>conftest.er1
30014 ac_status=$?
30015 grep -v '^ *+' conftest.er1 >conftest.err
30016 rm -f conftest.er1
30017 cat conftest.err >&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30022 (eval $ac_try) 2>&5
30023 ac_status=$?
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); }; } &&
30026 { ac_try='test -s conftest$ac_exeext'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; }; then
30032 ac_cv_func_gethostbyname=yes
30033 else
30034 echo "$as_me: failed program was:" >&5
30035 sed 's/^/| /' conftest.$ac_ext >&5
30036
30037 ac_cv_func_gethostbyname=no
30038 fi
30039 rm -f conftest.err conftest.$ac_objext \
30040 conftest$ac_exeext conftest.$ac_ext
30041 fi
30042 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30043 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30044
30045 if test $ac_cv_func_gethostbyname = no; then
30046 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30047 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30048 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30049 echo $ECHO_N "(cached) $ECHO_C" >&6
30050 else
30051 ac_check_lib_save_LIBS=$LIBS
30052 LIBS="-lnsl $LIBS"
30053 cat >conftest.$ac_ext <<_ACEOF
30054 /* confdefs.h. */
30055 _ACEOF
30056 cat confdefs.h >>conftest.$ac_ext
30057 cat >>conftest.$ac_ext <<_ACEOF
30058 /* end confdefs.h. */
30059
30060 /* Override any gcc2 internal prototype to avoid an error. */
30061 #ifdef __cplusplus
30062 extern "C"
30063 #endif
30064 /* We use char because int might match the return type of a gcc2
30065 builtin and then its argument prototype would still apply. */
30066 char gethostbyname ();
30067 int
30068 main ()
30069 {
30070 gethostbyname ();
30071 ;
30072 return 0;
30073 }
30074 _ACEOF
30075 rm -f conftest.$ac_objext conftest$ac_exeext
30076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30077 (eval $ac_link) 2>conftest.er1
30078 ac_status=$?
30079 grep -v '^ *+' conftest.er1 >conftest.err
30080 rm -f conftest.er1
30081 cat conftest.err >&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); } &&
30084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30087 ac_status=$?
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; } &&
30090 { ac_try='test -s conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30093 ac_status=$?
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30096 ac_cv_lib_nsl_gethostbyname=yes
30097 else
30098 echo "$as_me: failed program was:" >&5
30099 sed 's/^/| /' conftest.$ac_ext >&5
30100
30101 ac_cv_lib_nsl_gethostbyname=no
30102 fi
30103 rm -f conftest.err conftest.$ac_objext \
30104 conftest$ac_exeext conftest.$ac_ext
30105 LIBS=$ac_check_lib_save_LIBS
30106 fi
30107 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30108 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30109 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30110 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30111 fi
30112
30113 if test $ac_cv_lib_nsl_gethostbyname = no; then
30114 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30115 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30116 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30117 echo $ECHO_N "(cached) $ECHO_C" >&6
30118 else
30119 ac_check_lib_save_LIBS=$LIBS
30120 LIBS="-lbsd $LIBS"
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127
30128 /* Override any gcc2 internal prototype to avoid an error. */
30129 #ifdef __cplusplus
30130 extern "C"
30131 #endif
30132 /* We use char because int might match the return type of a gcc2
30133 builtin and then its argument prototype would still apply. */
30134 char gethostbyname ();
30135 int
30136 main ()
30137 {
30138 gethostbyname ();
30139 ;
30140 return 0;
30141 }
30142 _ACEOF
30143 rm -f conftest.$ac_objext conftest$ac_exeext
30144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30145 (eval $ac_link) 2>conftest.er1
30146 ac_status=$?
30147 grep -v '^ *+' conftest.er1 >conftest.err
30148 rm -f conftest.er1
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } &&
30152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30154 (eval $ac_try) 2>&5
30155 ac_status=$?
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); }; } &&
30158 { ac_try='test -s conftest$ac_exeext'
30159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30160 (eval $ac_try) 2>&5
30161 ac_status=$?
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); }; }; then
30164 ac_cv_lib_bsd_gethostbyname=yes
30165 else
30166 echo "$as_me: failed program was:" >&5
30167 sed 's/^/| /' conftest.$ac_ext >&5
30168
30169 ac_cv_lib_bsd_gethostbyname=no
30170 fi
30171 rm -f conftest.err conftest.$ac_objext \
30172 conftest$ac_exeext conftest.$ac_ext
30173 LIBS=$ac_check_lib_save_LIBS
30174 fi
30175 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30176 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30177 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30178 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30179 fi
30180
30181 fi
30182 fi
30183
30184 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30185 # socket/setsockopt and other routines are undefined under SCO ODT
30186 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30187 # on later versions), says Simon Leinen: it contains gethostby*
30188 # variants that don't use the name server (or something). -lsocket
30189 # must be given before -lnsl if both are needed. We assume that
30190 # if connect needs -lnsl, so does gethostbyname.
30191 echo "$as_me:$LINENO: checking for connect" >&5
30192 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30193 if test "${ac_cv_func_connect+set}" = set; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 else
30196 cat >conftest.$ac_ext <<_ACEOF
30197 /* confdefs.h. */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30204 #define connect innocuous_connect
30205
30206 /* System header to define __stub macros and hopefully few prototypes,
30207 which can conflict with char connect (); below.
30208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30209 <limits.h> exists even on freestanding compilers. */
30210
30211 #ifdef __STDC__
30212 # include <limits.h>
30213 #else
30214 # include <assert.h>
30215 #endif
30216
30217 #undef connect
30218
30219 /* Override any gcc2 internal prototype to avoid an error. */
30220 #ifdef __cplusplus
30221 extern "C"
30222 {
30223 #endif
30224 /* We use char because int might match the return type of a gcc2
30225 builtin and then its argument prototype would still apply. */
30226 char connect ();
30227 /* The GNU C library defines this for functions which it implements
30228 to always fail with ENOSYS. Some functions are actually named
30229 something starting with __ and the normal name is an alias. */
30230 #if defined (__stub_connect) || defined (__stub___connect)
30231 choke me
30232 #else
30233 char (*f) () = connect;
30234 #endif
30235 #ifdef __cplusplus
30236 }
30237 #endif
30238
30239 int
30240 main ()
30241 {
30242 return f != connect;
30243 ;
30244 return 0;
30245 }
30246 _ACEOF
30247 rm -f conftest.$ac_objext conftest$ac_exeext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30249 (eval $ac_link) 2>conftest.er1
30250 ac_status=$?
30251 grep -v '^ *+' conftest.er1 >conftest.err
30252 rm -f conftest.er1
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } &&
30256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30258 (eval $ac_try) 2>&5
30259 ac_status=$?
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; } &&
30262 { ac_try='test -s conftest$ac_exeext'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30265 ac_status=$?
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; }; then
30268 ac_cv_func_connect=yes
30269 else
30270 echo "$as_me: failed program was:" >&5
30271 sed 's/^/| /' conftest.$ac_ext >&5
30272
30273 ac_cv_func_connect=no
30274 fi
30275 rm -f conftest.err conftest.$ac_objext \
30276 conftest$ac_exeext conftest.$ac_ext
30277 fi
30278 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30279 echo "${ECHO_T}$ac_cv_func_connect" >&6
30280
30281 if test $ac_cv_func_connect = no; then
30282 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30283 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30284 if test "${ac_cv_lib_socket_connect+set}" = set; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30286 else
30287 ac_check_lib_save_LIBS=$LIBS
30288 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30289 cat >conftest.$ac_ext <<_ACEOF
30290 /* confdefs.h. */
30291 _ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295
30296 /* Override any gcc2 internal prototype to avoid an error. */
30297 #ifdef __cplusplus
30298 extern "C"
30299 #endif
30300 /* We use char because int might match the return type of a gcc2
30301 builtin and then its argument prototype would still apply. */
30302 char connect ();
30303 int
30304 main ()
30305 {
30306 connect ();
30307 ;
30308 return 0;
30309 }
30310 _ACEOF
30311 rm -f conftest.$ac_objext conftest$ac_exeext
30312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30313 (eval $ac_link) 2>conftest.er1
30314 ac_status=$?
30315 grep -v '^ *+' conftest.er1 >conftest.err
30316 rm -f conftest.er1
30317 cat conftest.err >&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); } &&
30320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30322 (eval $ac_try) 2>&5
30323 ac_status=$?
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); }; } &&
30326 { ac_try='test -s conftest$ac_exeext'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; }; then
30332 ac_cv_lib_socket_connect=yes
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337 ac_cv_lib_socket_connect=no
30338 fi
30339 rm -f conftest.err conftest.$ac_objext \
30340 conftest$ac_exeext conftest.$ac_ext
30341 LIBS=$ac_check_lib_save_LIBS
30342 fi
30343 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30344 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30345 if test $ac_cv_lib_socket_connect = yes; then
30346 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30347 fi
30348
30349 fi
30350
30351 # Guillermo Gomez says -lposix is necessary on A/UX.
30352 echo "$as_me:$LINENO: checking for remove" >&5
30353 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30354 if test "${ac_cv_func_remove+set}" = set; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30356 else
30357 cat >conftest.$ac_ext <<_ACEOF
30358 /* confdefs.h. */
30359 _ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30365 #define remove innocuous_remove
30366
30367 /* System header to define __stub macros and hopefully few prototypes,
30368 which can conflict with char remove (); below.
30369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30370 <limits.h> exists even on freestanding compilers. */
30371
30372 #ifdef __STDC__
30373 # include <limits.h>
30374 #else
30375 # include <assert.h>
30376 #endif
30377
30378 #undef remove
30379
30380 /* Override any gcc2 internal prototype to avoid an error. */
30381 #ifdef __cplusplus
30382 extern "C"
30383 {
30384 #endif
30385 /* We use char because int might match the return type of a gcc2
30386 builtin and then its argument prototype would still apply. */
30387 char remove ();
30388 /* The GNU C library defines this for functions which it implements
30389 to always fail with ENOSYS. Some functions are actually named
30390 something starting with __ and the normal name is an alias. */
30391 #if defined (__stub_remove) || defined (__stub___remove)
30392 choke me
30393 #else
30394 char (*f) () = remove;
30395 #endif
30396 #ifdef __cplusplus
30397 }
30398 #endif
30399
30400 int
30401 main ()
30402 {
30403 return f != remove;
30404 ;
30405 return 0;
30406 }
30407 _ACEOF
30408 rm -f conftest.$ac_objext conftest$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30411 ac_status=$?
30412 grep -v '^ *+' conftest.er1 >conftest.err
30413 rm -f conftest.er1
30414 cat conftest.err >&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419 (eval $ac_try) 2>&5
30420 ac_status=$?
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); }; } &&
30423 { ac_try='test -s conftest$ac_exeext'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; }; then
30429 ac_cv_func_remove=yes
30430 else
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.$ac_ext >&5
30433
30434 ac_cv_func_remove=no
30435 fi
30436 rm -f conftest.err conftest.$ac_objext \
30437 conftest$ac_exeext conftest.$ac_ext
30438 fi
30439 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30440 echo "${ECHO_T}$ac_cv_func_remove" >&6
30441
30442 if test $ac_cv_func_remove = no; then
30443 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30444 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30445 if test "${ac_cv_lib_posix_remove+set}" = set; then
30446 echo $ECHO_N "(cached) $ECHO_C" >&6
30447 else
30448 ac_check_lib_save_LIBS=$LIBS
30449 LIBS="-lposix $LIBS"
30450 cat >conftest.$ac_ext <<_ACEOF
30451 /* confdefs.h. */
30452 _ACEOF
30453 cat confdefs.h >>conftest.$ac_ext
30454 cat >>conftest.$ac_ext <<_ACEOF
30455 /* end confdefs.h. */
30456
30457 /* Override any gcc2 internal prototype to avoid an error. */
30458 #ifdef __cplusplus
30459 extern "C"
30460 #endif
30461 /* We use char because int might match the return type of a gcc2
30462 builtin and then its argument prototype would still apply. */
30463 char remove ();
30464 int
30465 main ()
30466 {
30467 remove ();
30468 ;
30469 return 0;
30470 }
30471 _ACEOF
30472 rm -f conftest.$ac_objext conftest$ac_exeext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30474 (eval $ac_link) 2>conftest.er1
30475 ac_status=$?
30476 grep -v '^ *+' conftest.er1 >conftest.err
30477 rm -f conftest.er1
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30483 (eval $ac_try) 2>&5
30484 ac_status=$?
30485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30486 (exit $ac_status); }; } &&
30487 { ac_try='test -s conftest$ac_exeext'
30488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30489 (eval $ac_try) 2>&5
30490 ac_status=$?
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); }; }; then
30493 ac_cv_lib_posix_remove=yes
30494 else
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.$ac_ext >&5
30497
30498 ac_cv_lib_posix_remove=no
30499 fi
30500 rm -f conftest.err conftest.$ac_objext \
30501 conftest$ac_exeext conftest.$ac_ext
30502 LIBS=$ac_check_lib_save_LIBS
30503 fi
30504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30505 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30506 if test $ac_cv_lib_posix_remove = yes; then
30507 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30508 fi
30509
30510 fi
30511
30512 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30513 echo "$as_me:$LINENO: checking for shmat" >&5
30514 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30515 if test "${ac_cv_func_shmat+set}" = set; then
30516 echo $ECHO_N "(cached) $ECHO_C" >&6
30517 else
30518 cat >conftest.$ac_ext <<_ACEOF
30519 /* confdefs.h. */
30520 _ACEOF
30521 cat confdefs.h >>conftest.$ac_ext
30522 cat >>conftest.$ac_ext <<_ACEOF
30523 /* end confdefs.h. */
30524 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30526 #define shmat innocuous_shmat
30527
30528 /* System header to define __stub macros and hopefully few prototypes,
30529 which can conflict with char shmat (); below.
30530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30531 <limits.h> exists even on freestanding compilers. */
30532
30533 #ifdef __STDC__
30534 # include <limits.h>
30535 #else
30536 # include <assert.h>
30537 #endif
30538
30539 #undef shmat
30540
30541 /* Override any gcc2 internal prototype to avoid an error. */
30542 #ifdef __cplusplus
30543 extern "C"
30544 {
30545 #endif
30546 /* We use char because int might match the return type of a gcc2
30547 builtin and then its argument prototype would still apply. */
30548 char shmat ();
30549 /* The GNU C library defines this for functions which it implements
30550 to always fail with ENOSYS. Some functions are actually named
30551 something starting with __ and the normal name is an alias. */
30552 #if defined (__stub_shmat) || defined (__stub___shmat)
30553 choke me
30554 #else
30555 char (*f) () = shmat;
30556 #endif
30557 #ifdef __cplusplus
30558 }
30559 #endif
30560
30561 int
30562 main ()
30563 {
30564 return f != shmat;
30565 ;
30566 return 0;
30567 }
30568 _ACEOF
30569 rm -f conftest.$ac_objext conftest$ac_exeext
30570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30571 (eval $ac_link) 2>conftest.er1
30572 ac_status=$?
30573 grep -v '^ *+' conftest.er1 >conftest.err
30574 rm -f conftest.er1
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; } &&
30584 { ac_try='test -s conftest$ac_exeext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 ac_cv_func_shmat=yes
30591 else
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.$ac_ext >&5
30594
30595 ac_cv_func_shmat=no
30596 fi
30597 rm -f conftest.err conftest.$ac_objext \
30598 conftest$ac_exeext conftest.$ac_ext
30599 fi
30600 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30601 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30602
30603 if test $ac_cv_func_shmat = no; then
30604 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30605 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30606 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 else
30609 ac_check_lib_save_LIBS=$LIBS
30610 LIBS="-lipc $LIBS"
30611 cat >conftest.$ac_ext <<_ACEOF
30612 /* confdefs.h. */
30613 _ACEOF
30614 cat confdefs.h >>conftest.$ac_ext
30615 cat >>conftest.$ac_ext <<_ACEOF
30616 /* end confdefs.h. */
30617
30618 /* Override any gcc2 internal prototype to avoid an error. */
30619 #ifdef __cplusplus
30620 extern "C"
30621 #endif
30622 /* We use char because int might match the return type of a gcc2
30623 builtin and then its argument prototype would still apply. */
30624 char shmat ();
30625 int
30626 main ()
30627 {
30628 shmat ();
30629 ;
30630 return 0;
30631 }
30632 _ACEOF
30633 rm -f conftest.$ac_objext conftest$ac_exeext
30634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30635 (eval $ac_link) 2>conftest.er1
30636 ac_status=$?
30637 grep -v '^ *+' conftest.er1 >conftest.err
30638 rm -f conftest.er1
30639 cat conftest.err >&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30644 (eval $ac_try) 2>&5
30645 ac_status=$?
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); }; } &&
30648 { ac_try='test -s conftest$ac_exeext'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30651 ac_status=$?
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; }; then
30654 ac_cv_lib_ipc_shmat=yes
30655 else
30656 echo "$as_me: failed program was:" >&5
30657 sed 's/^/| /' conftest.$ac_ext >&5
30658
30659 ac_cv_lib_ipc_shmat=no
30660 fi
30661 rm -f conftest.err conftest.$ac_objext \
30662 conftest$ac_exeext conftest.$ac_ext
30663 LIBS=$ac_check_lib_save_LIBS
30664 fi
30665 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30666 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30667 if test $ac_cv_lib_ipc_shmat = yes; then
30668 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30669 fi
30670
30671 fi
30672 fi
30673
30674 # Check for libraries that X11R6 Xt/Xaw programs need.
30675 ac_save_LDFLAGS=$LDFLAGS
30676 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30677 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30678 # check for ICE first), but we must link in the order -lSM -lICE or
30679 # we get undefined symbols. So assume we have SM if we have ICE.
30680 # These have to be linked with before -lX11, unlike the other
30681 # libraries we check for below, so use a different variable.
30682 # John Interrante, Karl Berry
30683 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30684 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30685 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30686 echo $ECHO_N "(cached) $ECHO_C" >&6
30687 else
30688 ac_check_lib_save_LIBS=$LIBS
30689 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696
30697 /* Override any gcc2 internal prototype to avoid an error. */
30698 #ifdef __cplusplus
30699 extern "C"
30700 #endif
30701 /* We use char because int might match the return type of a gcc2
30702 builtin and then its argument prototype would still apply. */
30703 char IceConnectionNumber ();
30704 int
30705 main ()
30706 {
30707 IceConnectionNumber ();
30708 ;
30709 return 0;
30710 }
30711 _ACEOF
30712 rm -f conftest.$ac_objext conftest$ac_exeext
30713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30714 (eval $ac_link) 2>conftest.er1
30715 ac_status=$?
30716 grep -v '^ *+' conftest.er1 >conftest.err
30717 rm -f conftest.er1
30718 cat conftest.err >&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); } &&
30721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30723 (eval $ac_try) 2>&5
30724 ac_status=$?
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); }; } &&
30727 { ac_try='test -s conftest$ac_exeext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 ac_cv_lib_ICE_IceConnectionNumber=yes
30734 else
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.$ac_ext >&5
30737
30738 ac_cv_lib_ICE_IceConnectionNumber=no
30739 fi
30740 rm -f conftest.err conftest.$ac_objext \
30741 conftest$ac_exeext conftest.$ac_ext
30742 LIBS=$ac_check_lib_save_LIBS
30743 fi
30744 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30745 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30746 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30747 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30748 fi
30749
30750 LDFLAGS=$ac_save_LDFLAGS
30751
30752 fi
30753
30754
30755 if test "$no_x" = "yes"; then
30756 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30757 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30758 { (exit 1); exit 1; }; }
30759 fi
30760
30761 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30762 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30763 AFMINSTALL=afminstall
30764 COMPILED_X_PROGRAM=0
30765
30766 fi
30767
30768 if test "$wxUSE_X11" = 1; then
30769 if test "$wxUSE_NANOX" = "yes"; then
30770 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30771 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30772 if test "x$MICROWIN" = x ; then
30773 echo "$as_me:$LINENO: result: not found" >&5
30774 echo "${ECHO_T}not found" >&6
30775 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30776 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30777 { (exit 1); exit 1; }; }
30778 else
30779 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30780 echo "${ECHO_T}$MICROWIN" >&6
30781 cat >>confdefs.h <<\_ACEOF
30782 #define wxUSE_NANOX 1
30783 _ACEOF
30784
30785 fi
30786 fi
30787
30788 if test "$wxUSE_UNICODE" = "yes"; then
30789
30790 pkg_failed=no
30791 echo "$as_me:$LINENO: checking for PANGOX" >&5
30792 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30793
30794 if test -n "$PKG_CONFIG"; then
30795 if test -n "$PANGOX_CFLAGS"; then
30796 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30797 else
30798 if test -n "$PKG_CONFIG" && \
30799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30800 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; then
30804 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30805 else
30806 pkg_failed=yes
30807 fi
30808 fi
30809 else
30810 pkg_failed=untried
30811 fi
30812 if test -n "$PKG_CONFIG"; then
30813 if test -n "$PANGOX_LIBS"; then
30814 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30815 else
30816 if test -n "$PKG_CONFIG" && \
30817 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30818 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30819 ac_status=$?
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; then
30822 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30823 else
30824 pkg_failed=yes
30825 fi
30826 fi
30827 else
30828 pkg_failed=untried
30829 fi
30830
30831
30832
30833 if test $pkg_failed = yes; then
30834
30835 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30836 _pkg_short_errors_supported=yes
30837 else
30838 _pkg_short_errors_supported=no
30839 fi
30840 if test $_pkg_short_errors_supported = yes; then
30841 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30842 else
30843 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30844 fi
30845 # Put the nasty error message in config.log where it belongs
30846 echo "$PANGOX_PKG_ERRORS" >&5
30847
30848
30849 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30850 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30851 { (exit 1); exit 1; }; }
30852
30853
30854 elif test $pkg_failed = untried; then
30855
30856 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30857 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30858 { (exit 1); exit 1; }; }
30859
30860
30861 else
30862 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30863 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30864 echo "$as_me:$LINENO: result: yes" >&5
30865 echo "${ECHO_T}yes" >&6
30866
30867 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30869
30870 fi
30871
30872 pkg_failed=no
30873 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30874 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30875
30876 if test -n "$PKG_CONFIG"; then
30877 if test -n "$PANGOFT2_CFLAGS"; then
30878 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30879 else
30880 if test -n "$PKG_CONFIG" && \
30881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30882 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; then
30886 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30887 else
30888 pkg_failed=yes
30889 fi
30890 fi
30891 else
30892 pkg_failed=untried
30893 fi
30894 if test -n "$PKG_CONFIG"; then
30895 if test -n "$PANGOFT2_LIBS"; then
30896 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30897 else
30898 if test -n "$PKG_CONFIG" && \
30899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30900 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30901 ac_status=$?
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); }; then
30904 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30905 else
30906 pkg_failed=yes
30907 fi
30908 fi
30909 else
30910 pkg_failed=untried
30911 fi
30912
30913
30914
30915 if test $pkg_failed = yes; then
30916
30917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30918 _pkg_short_errors_supported=yes
30919 else
30920 _pkg_short_errors_supported=no
30921 fi
30922 if test $_pkg_short_errors_supported = yes; then
30923 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30924 else
30925 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30926 fi
30927 # Put the nasty error message in config.log where it belongs
30928 echo "$PANGOFT2_PKG_ERRORS" >&5
30929
30930
30931 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30932 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30933 wxUSE_PRINTING_ARCHITECTURE="no"
30934
30935
30936 elif test $pkg_failed = untried; then
30937
30938 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30939 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30940 wxUSE_PRINTING_ARCHITECTURE="no"
30941
30942
30943 else
30944 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30945 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30946 echo "$as_me:$LINENO: result: yes" >&5
30947 echo "${ECHO_T}yes" >&6
30948
30949 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30950 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30951
30952 fi
30953
30954 pkg_failed=no
30955 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30956 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30957
30958 if test -n "$PKG_CONFIG"; then
30959 if test -n "$PANGOXFT_CFLAGS"; then
30960 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30961 else
30962 if test -n "$PKG_CONFIG" && \
30963 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30964 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30965 ac_status=$?
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; then
30968 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30969 else
30970 pkg_failed=yes
30971 fi
30972 fi
30973 else
30974 pkg_failed=untried
30975 fi
30976 if test -n "$PKG_CONFIG"; then
30977 if test -n "$PANGOXFT_LIBS"; then
30978 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30979 else
30980 if test -n "$PKG_CONFIG" && \
30981 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30982 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; then
30986 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30987 else
30988 pkg_failed=yes
30989 fi
30990 fi
30991 else
30992 pkg_failed=untried
30993 fi
30994
30995
30996
30997 if test $pkg_failed = yes; then
30998
30999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31000 _pkg_short_errors_supported=yes
31001 else
31002 _pkg_short_errors_supported=no
31003 fi
31004 if test $_pkg_short_errors_supported = yes; then
31005 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31006 else
31007 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31008 fi
31009 # Put the nasty error message in config.log where it belongs
31010 echo "$PANGOXFT_PKG_ERRORS" >&5
31011
31012
31013 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31014 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31015
31016
31017 elif test $pkg_failed = untried; then
31018
31019 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31020 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31021
31022
31023 else
31024 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31025 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31026 echo "$as_me:$LINENO: result: yes" >&5
31027 echo "${ECHO_T}yes" >&6
31028
31029 cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_PANGO_XFT 1
31031 _ACEOF
31032
31033 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31034 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31035
31036 fi
31037 save_CXXFLAGS="$CXXFLAGS"
31038 save_LIBS="$LIBS"
31039 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31040 LIBS="$LIBS $PANGOX_LIBS"
31041
31042 for ac_func in pango_font_family_is_monospace
31043 do
31044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31045 echo "$as_me:$LINENO: checking for $ac_func" >&5
31046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31047 if eval "test \"\${$as_ac_var+set}\" = set"; then
31048 echo $ECHO_N "(cached) $ECHO_C" >&6
31049 else
31050 cat >conftest.$ac_ext <<_ACEOF
31051 /* confdefs.h. */
31052 _ACEOF
31053 cat confdefs.h >>conftest.$ac_ext
31054 cat >>conftest.$ac_ext <<_ACEOF
31055 /* end confdefs.h. */
31056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31058 #define $ac_func innocuous_$ac_func
31059
31060 /* System header to define __stub macros and hopefully few prototypes,
31061 which can conflict with char $ac_func (); below.
31062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31063 <limits.h> exists even on freestanding compilers. */
31064
31065 #ifdef __STDC__
31066 # include <limits.h>
31067 #else
31068 # include <assert.h>
31069 #endif
31070
31071 #undef $ac_func
31072
31073 /* Override any gcc2 internal prototype to avoid an error. */
31074 #ifdef __cplusplus
31075 extern "C"
31076 {
31077 #endif
31078 /* We use char because int might match the return type of a gcc2
31079 builtin and then its argument prototype would still apply. */
31080 char $ac_func ();
31081 /* The GNU C library defines this for functions which it implements
31082 to always fail with ENOSYS. Some functions are actually named
31083 something starting with __ and the normal name is an alias. */
31084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31085 choke me
31086 #else
31087 char (*f) () = $ac_func;
31088 #endif
31089 #ifdef __cplusplus
31090 }
31091 #endif
31092
31093 int
31094 main ()
31095 {
31096 return f != $ac_func;
31097 ;
31098 return 0;
31099 }
31100 _ACEOF
31101 rm -f conftest.$ac_objext conftest$ac_exeext
31102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31103 (eval $ac_link) 2>conftest.er1
31104 ac_status=$?
31105 grep -v '^ *+' conftest.er1 >conftest.err
31106 rm -f conftest.er1
31107 cat conftest.err >&5
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); } &&
31110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31112 (eval $ac_try) 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; } &&
31116 { ac_try='test -s conftest$ac_exeext'
31117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31118 (eval $ac_try) 2>&5
31119 ac_status=$?
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); }; }; then
31122 eval "$as_ac_var=yes"
31123 else
31124 echo "$as_me: failed program was:" >&5
31125 sed 's/^/| /' conftest.$ac_ext >&5
31126
31127 eval "$as_ac_var=no"
31128 fi
31129 rm -f conftest.err conftest.$ac_objext \
31130 conftest$ac_exeext conftest.$ac_ext
31131 fi
31132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31134 if test `eval echo '${'$as_ac_var'}'` = yes; then
31135 cat >>confdefs.h <<_ACEOF
31136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31137 _ACEOF
31138
31139 fi
31140 done
31141
31142 CXXFLAGS="$save_CXXFLAGS"
31143 LIBS="$save_LIBS"
31144 fi
31145
31146 wxUSE_UNIVERSAL="yes"
31147
31148 if test "$wxUSE_NANOX" = "yes"; then
31149 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31150 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"
31151 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31152 else
31153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31154 fi
31155
31156 TOOLKIT=X11
31157 GUIDIST=X11_DIST
31158 fi
31159
31160 if test "$wxUSE_MOTIF" = 1; then
31161 if test "$wxUSE_UNICODE" = "yes"; then
31162 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31163 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31164 { (exit 1); exit 1; }; }
31165 fi
31166
31167 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31168 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31169
31170 ac_find_includes=
31171 for ac_dir in $SEARCH_INCLUDE /usr/include;
31172 do
31173 if test -f "$ac_dir/Xm/Xm.h"; then
31174 ac_find_includes=$ac_dir
31175 break
31176 fi
31177 done
31178
31179 if test "$ac_find_includes" != "" ; then
31180 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31181 echo "${ECHO_T}found in $ac_find_includes" >&6
31182
31183 if test "x$ac_find_includes" = "x/usr/include"; then
31184 ac_path_to_include=""
31185 else
31186 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31187 result=$?
31188 if test $result = 0; then
31189 ac_path_to_include=""
31190 else
31191 ac_path_to_include=" -I$ac_find_includes"
31192 fi
31193 fi
31194
31195 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31196 else
31197 save_CXXFLAGS=$CXXFLAGS
31198 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31199
31200 cat >conftest.$ac_ext <<_ACEOF
31201 /* confdefs.h. */
31202 _ACEOF
31203 cat confdefs.h >>conftest.$ac_ext
31204 cat >>conftest.$ac_ext <<_ACEOF
31205 /* end confdefs.h. */
31206
31207 #include <Xm/Xm.h>
31208
31209 int
31210 main ()
31211 {
31212
31213 int version;
31214 version = xmUseVersion;
31215
31216 ;
31217 return 0;
31218 }
31219 _ACEOF
31220 rm -f conftest.$ac_objext
31221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31222 (eval $ac_compile) 2>conftest.er1
31223 ac_status=$?
31224 grep -v '^ *+' conftest.er1 >conftest.err
31225 rm -f conftest.er1
31226 cat conftest.err >&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); } &&
31229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31232 ac_status=$?
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; } &&
31235 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
31241
31242 echo "$as_me:$LINENO: result: found in default search path" >&5
31243 echo "${ECHO_T}found in default search path" >&6
31244 COMPILED_X_PROGRAM=1
31245
31246 else
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250
31251 echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6
31253 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31254 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31255 { (exit 1); exit 1; }; }
31256
31257
31258 fi
31259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31260
31261 CXXFLAGS=$save_CXXFLAGS
31262 fi
31263
31264
31265 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31266 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31267
31268 ac_find_libraries=
31269 for ac_dir in $SEARCH_LIB;
31270 do
31271 for ac_extension in a so sl dylib dll.a; do
31272 if test -f "$ac_dir/libXm.$ac_extension"; then
31273 ac_find_libraries=$ac_dir
31274 break 2
31275 fi
31276 done
31277 done
31278
31279
31280 if test "x$ac_find_libraries" != "x" ; then
31281 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31282 echo "${ECHO_T}found in $ac_find_libraries" >&6
31283
31284
31285 if test "$ac_find_libraries" = "default location"; then
31286 ac_path_to_link=""
31287 else
31288 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31289 result=$?
31290 if test $result = 0; then
31291 ac_path_to_link=""
31292 else
31293 ac_path_to_link=" -L$ac_find_libraries"
31294 fi
31295 fi
31296
31297 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31298 else
31299 save_CXXFLAGS=$CXXFLAGS
31300 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31301 save_LIBS="$LIBS"
31302 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31303
31304 cat >conftest.$ac_ext <<_ACEOF
31305 /* confdefs.h. */
31306 _ACEOF
31307 cat confdefs.h >>conftest.$ac_ext
31308 cat >>conftest.$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31310
31311 #include <Xm/Xm.h>
31312
31313 int
31314 main ()
31315 {
31316
31317 int version;
31318 version = xmUseVersion;
31319
31320 ;
31321 return 0;
31322 }
31323 _ACEOF
31324 rm -f conftest.$ac_objext conftest$ac_exeext
31325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31326 (eval $ac_link) 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } &&
31333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31335 (eval $ac_try) 2>&5
31336 ac_status=$?
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); }; } &&
31339 { ac_try='test -s conftest$ac_exeext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31345
31346 echo "$as_me:$LINENO: result: found in default search path" >&5
31347 echo "${ECHO_T}found in default search path" >&6
31348 COMPILED_X_PROGRAM=1
31349
31350 else
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.$ac_ext >&5
31353
31354
31355 echo "$as_me:$LINENO: result: no" >&5
31356 echo "${ECHO_T}no" >&6
31357 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31358 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31359 { (exit 1); exit 1; }; }
31360
31361
31362 fi
31363 rm -f conftest.err conftest.$ac_objext \
31364 conftest$ac_exeext conftest.$ac_ext
31365
31366 CXXFLAGS=$save_CXXFLAGS
31367 LIBS="$save_LIBS"
31368 fi
31369
31370 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31371 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31372 libp_link=""
31373 libsm_ice_link=""
31374 libs_found=0
31375 for libp in "" " -lXp"; do
31376 if test "$libs_found" = "0"; then
31377 for libsm_ice in "" " -lSM -lICE"; do
31378 if test "$libs_found" = "0"; then
31379 save_LIBS="$LIBS"
31380 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31381 save_CXXFLAGS=$CXXFLAGS
31382 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31383
31384 cat >conftest.$ac_ext <<_ACEOF
31385 /* confdefs.h. */
31386 _ACEOF
31387 cat confdefs.h >>conftest.$ac_ext
31388 cat >>conftest.$ac_ext <<_ACEOF
31389 /* end confdefs.h. */
31390
31391 #include <Xm/Xm.h>
31392 #include <Xm/List.h>
31393
31394 int
31395 main ()
31396 {
31397
31398 XmString string = NULL;
31399 Widget w = NULL;
31400 int position = 0;
31401 XmListAddItem(w, string, position);
31402
31403 ;
31404 return 0;
31405 }
31406 _ACEOF
31407 rm -f conftest.$ac_objext conftest$ac_exeext
31408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31409 (eval $ac_link) 2>conftest.er1
31410 ac_status=$?
31411 grep -v '^ *+' conftest.er1 >conftest.err
31412 rm -f conftest.er1
31413 cat conftest.err >&5
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); } &&
31416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31418 (eval $ac_try) 2>&5
31419 ac_status=$?
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); }; } &&
31422 { ac_try='test -s conftest$ac_exeext'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; }; then
31428
31429 libp_link="$libp"
31430 libsm_ice_link="$libsm_ice"
31431 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31432 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31433 libs_found=1
31434
31435 else
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.$ac_ext >&5
31438
31439
31440
31441 fi
31442 rm -f conftest.err conftest.$ac_objext \
31443 conftest$ac_exeext conftest.$ac_ext
31444
31445 LIBS="$save_LIBS"
31446 CXXFLAGS=$save_CXXFLAGS
31447 fi
31448 done
31449 fi
31450 done
31451
31452 if test "$libs_found" = "0"; then
31453 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31454 echo "${ECHO_T}can't find the right libraries" >&6
31455 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31456 echo "$as_me: error: can't link a simple motif program" >&2;}
31457 { (exit 1); exit 1; }; }
31458 fi
31459
31460 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31461 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31462 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 ac_check_lib_save_LIBS=$LIBS
31466 LIBS="-lSgm $LIBS"
31467 cat >conftest.$ac_ext <<_ACEOF
31468 /* confdefs.h. */
31469 _ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31473
31474 /* Override any gcc2 internal prototype to avoid an error. */
31475 #ifdef __cplusplus
31476 extern "C"
31477 #endif
31478 /* We use char because int might match the return type of a gcc2
31479 builtin and then its argument prototype would still apply. */
31480 char SgCreateList ();
31481 int
31482 main ()
31483 {
31484 SgCreateList ();
31485 ;
31486 return 0;
31487 }
31488 _ACEOF
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31500 (eval $ac_try) 2>&5
31501 ac_status=$?
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); }; } &&
31504 { ac_try='test -s conftest$ac_exeext'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31507 ac_status=$?
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; }; then
31510 ac_cv_lib_Sgm_SgCreateList=yes
31511 else
31512 echo "$as_me: failed program was:" >&5
31513 sed 's/^/| /' conftest.$ac_ext >&5
31514
31515 ac_cv_lib_Sgm_SgCreateList=no
31516 fi
31517 rm -f conftest.err conftest.$ac_objext \
31518 conftest$ac_exeext conftest.$ac_ext
31519 LIBS=$ac_check_lib_save_LIBS
31520 fi
31521 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31522 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31523 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31524 libsgm_link=" -lSgm"
31525 fi
31526
31527
31528 save_CXXFLAGS=$CXXFLAGS
31529 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31530
31531 echo "$as_me:$LINENO: checking for Motif 2" >&5
31532 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31533 if test "${wx_cv_lib_motif2+set}" = set; then
31534 echo $ECHO_N "(cached) $ECHO_C" >&6
31535 else
31536 cat >conftest.$ac_ext <<_ACEOF
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542
31543 #include <Xm/Xm.h>
31544
31545 int
31546 main ()
31547 {
31548
31549 #if XmVersion < 2000
31550 Not Motif 2
31551 #endif
31552
31553 ;
31554 return 0;
31555 }
31556 _ACEOF
31557 rm -f conftest.$ac_objext
31558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31559 (eval $ac_compile) 2>conftest.er1
31560 ac_status=$?
31561 grep -v '^ *+' conftest.er1 >conftest.err
31562 rm -f conftest.er1
31563 cat conftest.err >&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; } &&
31572 { ac_try='test -s conftest.$ac_objext'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31575 ac_status=$?
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; }; then
31578 wx_cv_lib_motif2="yes"
31579 else
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.$ac_ext >&5
31582
31583 wx_cv_lib_motif2="no"
31584 fi
31585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31586 fi
31587 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31588 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31589 if test "$wx_cv_lib_motif2" = "yes"; then
31590 cat >>confdefs.h <<\_ACEOF
31591 #define __WXMOTIF20__ 1
31592 _ACEOF
31593
31594 else
31595 cat >>confdefs.h <<\_ACEOF
31596 #define __WXMOTIF20__ 0
31597 _ACEOF
31598
31599 fi
31600
31601 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31602 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31603 if test "${wx_cv_lib_lesstif+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31605 else
31606 cat >conftest.$ac_ext <<_ACEOF
31607 /* confdefs.h. */
31608 _ACEOF
31609 cat confdefs.h >>conftest.$ac_ext
31610 cat >>conftest.$ac_ext <<_ACEOF
31611 /* end confdefs.h. */
31612
31613 #include <Xm/Xm.h>
31614
31615 int
31616 main ()
31617 {
31618
31619 #if !defined(LesstifVersion) || LesstifVersion <= 0
31620 Not Lesstif
31621 #endif
31622
31623 ;
31624 return 0;
31625 }
31626 _ACEOF
31627 rm -f conftest.$ac_objext
31628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31629 (eval $ac_compile) 2>conftest.er1
31630 ac_status=$?
31631 grep -v '^ *+' conftest.er1 >conftest.err
31632 rm -f conftest.er1
31633 cat conftest.err >&5
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); } &&
31636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31639 ac_status=$?
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; } &&
31642 { ac_try='test -s conftest.$ac_objext'
31643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644 (eval $ac_try) 2>&5
31645 ac_status=$?
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; }; then
31648 wx_cv_lib_lesstif="yes"
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 wx_cv_lib_lesstif="no"
31654 fi
31655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31656
31657 fi
31658 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31659 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31660 if test "$wx_cv_lib_lesstif" = "yes"; then
31661 cat >>confdefs.h <<\_ACEOF
31662 #define __WXLESSTIF__ 1
31663 _ACEOF
31664
31665 else
31666 cat >>confdefs.h <<\_ACEOF
31667 #define __WXLESSTIF__ 0
31668 _ACEOF
31669
31670 fi
31671
31672 CXXFLAGS=$save_CXXFLAGS
31673
31674 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31675 TOOLKIT=MOTIF
31676 GUIDIST=MOTIF_DIST
31677 fi
31678
31679 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31680 if test "$wxUSE_LIBXPM" = "sys"; then
31681 echo "$as_me:$LINENO: checking for Xpm library" >&5
31682 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31683
31684 ac_find_libraries=
31685 for ac_dir in $SEARCH_LIB;
31686 do
31687 for ac_extension in a so sl dylib dll.a; do
31688 if test -f "$ac_dir/libXpm.$ac_extension"; then
31689 ac_find_libraries=$ac_dir
31690 break 2
31691 fi
31692 done
31693 done
31694
31695 if test "$ac_find_libraries" != "" ; then
31696
31697 if test "$ac_find_libraries" = "default location"; then
31698 ac_path_to_link=""
31699 else
31700 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31701 result=$?
31702 if test $result = 0; then
31703 ac_path_to_link=""
31704 else
31705 ac_path_to_link=" -L$ac_find_libraries"
31706 fi
31707 fi
31708
31709 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31710 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31711 echo "${ECHO_T}found in $ac_find_libraries" >&6
31712
31713 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31714 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31715 if test "${wx_cv_x11_xpm_h+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 else
31718
31719 save_CXXFLAGS=$CXXFLAGS
31720 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31721
31722 cat >conftest.$ac_ext <<_ACEOF
31723 /* confdefs.h. */
31724 _ACEOF
31725 cat confdefs.h >>conftest.$ac_ext
31726 cat >>conftest.$ac_ext <<_ACEOF
31727 /* end confdefs.h. */
31728
31729 #include <X11/xpm.h>
31730
31731 int
31732 main ()
31733 {
31734
31735 int version;
31736 version = XpmLibraryVersion();
31737
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 rm -f conftest.$ac_objext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31744 (eval $ac_compile) 2>conftest.er1
31745 ac_status=$?
31746 grep -v '^ *+' conftest.er1 >conftest.err
31747 rm -f conftest.er1
31748 cat conftest.err >&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31754 ac_status=$?
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; } &&
31757 { ac_try='test -s conftest.$ac_objext'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31760 ac_status=$?
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; }; then
31763 wx_cv_x11_xpm_h=yes
31764 else
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.$ac_ext >&5
31767
31768 wx_cv_x11_xpm_h=no
31769
31770 fi
31771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31772
31773 CXXFLAGS=$save_CXXFLAGS
31774
31775
31776 fi
31777 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31778 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31779
31780 if test $wx_cv_x11_xpm_h = "yes"; then
31781 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31782 cat >>confdefs.h <<\_ACEOF
31783 #define wxHAVE_LIB_XPM 1
31784 _ACEOF
31785
31786 else
31787 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31788 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31789 fi
31790 fi
31791
31792 fi
31793
31794 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31795 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31796 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31797 echo $ECHO_N "(cached) $ECHO_C" >&6
31798 else
31799 ac_check_lib_save_LIBS=$LIBS
31800 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31801 cat >conftest.$ac_ext <<_ACEOF
31802 /* confdefs.h. */
31803 _ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807
31808 /* Override any gcc2 internal prototype to avoid an error. */
31809 #ifdef __cplusplus
31810 extern "C"
31811 #endif
31812 /* We use char because int might match the return type of a gcc2
31813 builtin and then its argument prototype would still apply. */
31814 char XShapeQueryExtension ();
31815 int
31816 main ()
31817 {
31818 XShapeQueryExtension ();
31819 ;
31820 return 0;
31821 }
31822 _ACEOF
31823 rm -f conftest.$ac_objext conftest$ac_exeext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31825 (eval $ac_link) 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31835 ac_status=$?
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; } &&
31838 { ac_try='test -s conftest$ac_exeext'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31841 ac_status=$?
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; }; then
31844 ac_cv_lib_Xext_XShapeQueryExtension=yes
31845 else
31846 echo "$as_me: failed program was:" >&5
31847 sed 's/^/| /' conftest.$ac_ext >&5
31848
31849 ac_cv_lib_Xext_XShapeQueryExtension=no
31850 fi
31851 rm -f conftest.err conftest.$ac_objext \
31852 conftest$ac_exeext conftest.$ac_ext
31853 LIBS=$ac_check_lib_save_LIBS
31854 fi
31855 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31856 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31857 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31858
31859 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31860 wxHAVE_XEXT_LIB=1
31861
31862 fi
31863
31864
31865 if test "$wxHAVE_XEXT_LIB" = 1; then
31866 save_CXXFLAGS="$CXXFLAGS"
31867 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31868
31869 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31870 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31871 cat >conftest.$ac_ext <<_ACEOF
31872 /* confdefs.h. */
31873 _ACEOF
31874 cat confdefs.h >>conftest.$ac_ext
31875 cat >>conftest.$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31877
31878 #include <X11/Xlib.h>
31879 #include <X11/extensions/shape.h>
31880
31881 int
31882 main ()
31883 {
31884
31885 int dummy1, dummy2;
31886 XShapeQueryExtension((Display*)NULL,
31887 (int*)NULL, (int*)NULL);
31888
31889 ;
31890 return 0;
31891 }
31892 _ACEOF
31893 rm -f conftest.$ac_objext
31894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31895 (eval $ac_compile) 2>conftest.er1
31896 ac_status=$?
31897 grep -v '^ *+' conftest.er1 >conftest.err
31898 rm -f conftest.er1
31899 cat conftest.err >&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; } &&
31908 { ac_try='test -s conftest.$ac_objext'
31909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31910 (eval $ac_try) 2>&5
31911 ac_status=$?
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); }; }; then
31914
31915 cat >>confdefs.h <<\_ACEOF
31916 #define HAVE_XSHAPE 1
31917 _ACEOF
31918
31919 echo "$as_me:$LINENO: result: found" >&5
31920 echo "${ECHO_T}found" >&6
31921
31922 else
31923 echo "$as_me: failed program was:" >&5
31924 sed 's/^/| /' conftest.$ac_ext >&5
31925
31926
31927 echo "$as_me:$LINENO: result: not found" >&5
31928 echo "${ECHO_T}not found" >&6
31929
31930 fi
31931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31932 CXXFLAGS="$save_CXXFLAGS"
31933
31934 fi
31935 fi
31936
31937 if test "$wxUSE_MAC" = 1; then
31938 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31939 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31940 if test "$GCC" = yes; then
31941 echo "$as_me:$LINENO: result: gcc" >&5
31942 echo "${ECHO_T}gcc" >&6
31943 CPPFLAGS_PASCAL="-fpascal-strings"
31944 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31945 echo "$as_me:$LINENO: result: xlc" >&5
31946 echo "${ECHO_T}xlc" >&6
31947 CPPFLAGS_PASCAL="-qmacpstr"
31948 else
31949 echo "$as_me:$LINENO: result: none" >&5
31950 echo "${ECHO_T}none" >&6
31951 fi
31952
31953 if test "x$wxUSE_UNIX" = "xyes"; then
31954 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31955 else
31956 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31957 fi
31958
31959 TOOLKIT=MAC
31960 GUIDIST=MACX_DIST
31961 WXBASEPORT="_carbon"
31962 fi
31963
31964 if test "$wxUSE_COCOA" = 1; then
31965 TOOLKIT=COCOA
31966 GUIDIST=COCOA_DIST
31967 fi
31968
31969 if test "$wxUSE_PM" = 1; then
31970 TOOLKIT=PM
31971 GUIDIST=PM_DIST
31972 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31973 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31974 if test "${wx_cv_spbcdata+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31977
31978 cat >conftest.$ac_ext <<_ACEOF
31979 /* confdefs.h. */
31980 _ACEOF
31981 cat confdefs.h >>conftest.$ac_ext
31982 cat >>conftest.$ac_ext <<_ACEOF
31983 /* end confdefs.h. */
31984
31985 #define INCL_PM
31986 #include <os2.h>
31987
31988 int
31989 main ()
31990 {
31991
31992 SPBCDATA test;
31993
31994 ;
31995 return 0;
31996 }
31997 _ACEOF
31998 rm -f conftest.$ac_objext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32000 (eval $ac_compile) 2>conftest.er1
32001 ac_status=$?
32002 grep -v '^ *+' conftest.er1 >conftest.err
32003 rm -f conftest.er1
32004 cat conftest.err >&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } &&
32007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32010 ac_status=$?
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; } &&
32013 { ac_try='test -s conftest.$ac_objext'
32014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32015 (eval $ac_try) 2>&5
32016 ac_status=$?
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); }; }; then
32019 wx_cv_spbcdata=yes
32020 else
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.$ac_ext >&5
32023
32024 wx_cv_spbcdata=no
32025
32026 fi
32027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32028
32029
32030 fi
32031 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32032 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32033
32034 if test $wx_cv_spbcdata = "yes"; then
32035 cat >>confdefs.h <<\_ACEOF
32036 #define HAVE_SPBCDATA 1
32037 _ACEOF
32038
32039 fi
32040 fi
32041
32042 if test "$TOOLKIT" = "PM" ; then
32043 TOOLKIT_DIR="os2"
32044 else
32045 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32046 fi
32047
32048 if test "$wxUSE_UNIVERSAL" = "yes"; then
32049 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32050 WIDGET_SET=univ
32051 fi
32052
32053 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32054 DISTDIR="wx\$(TOOLKIT)"
32055 else
32056 USE_GUI=0
32057
32058 TOOLKIT_DIR="base"
32059
32060 if test "$USE_WIN32" = 1 ; then
32061 TOOLKIT="MSW"
32062 fi
32063
32064 GUIDIST="BASE_DIST"
32065 DISTDIR="wxBase"
32066 fi
32067
32068
32069 if test "$wxUSE_GUI" = "yes"; then
32070 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32071
32072 for ac_header in X11/Xlib.h
32073 do
32074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32076 echo "$as_me:$LINENO: checking for $ac_header" >&5
32077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32080 fi
32081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32083 else
32084 # Is the header compilable?
32085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32087 cat >conftest.$ac_ext <<_ACEOF
32088 /* confdefs.h. */
32089 _ACEOF
32090 cat confdefs.h >>conftest.$ac_ext
32091 cat >>conftest.$ac_ext <<_ACEOF
32092 /* end confdefs.h. */
32093 $ac_includes_default
32094 #include <$ac_header>
32095 _ACEOF
32096 rm -f conftest.$ac_objext
32097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32098 (eval $ac_compile) 2>conftest.er1
32099 ac_status=$?
32100 grep -v '^ *+' conftest.er1 >conftest.err
32101 rm -f conftest.er1
32102 cat conftest.err >&5
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); } &&
32105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; } &&
32111 { ac_try='test -s conftest.$ac_objext'
32112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32113 (eval $ac_try) 2>&5
32114 ac_status=$?
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); }; }; then
32117 ac_header_compiler=yes
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32121
32122 ac_header_compiler=no
32123 fi
32124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32126 echo "${ECHO_T}$ac_header_compiler" >&6
32127
32128 # Is the header present?
32129 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32130 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32131 cat >conftest.$ac_ext <<_ACEOF
32132 /* confdefs.h. */
32133 _ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137 #include <$ac_header>
32138 _ACEOF
32139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32141 ac_status=$?
32142 grep -v '^ *+' conftest.er1 >conftest.err
32143 rm -f conftest.er1
32144 cat conftest.err >&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } >/dev/null; then
32147 if test -s conftest.err; then
32148 ac_cpp_err=$ac_cxx_preproc_warn_flag
32149 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32150 else
32151 ac_cpp_err=
32152 fi
32153 else
32154 ac_cpp_err=yes
32155 fi
32156 if test -z "$ac_cpp_err"; then
32157 ac_header_preproc=yes
32158 else
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.$ac_ext >&5
32161
32162 ac_header_preproc=no
32163 fi
32164 rm -f conftest.err conftest.$ac_ext
32165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32166 echo "${ECHO_T}$ac_header_preproc" >&6
32167
32168 # So? What about this header?
32169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32170 yes:no: )
32171 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32172 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32174 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32175 ac_header_preproc=yes
32176 ;;
32177 no:yes:* )
32178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32182 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32183 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32184 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32185 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32188 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32189 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32190 (
32191 cat <<\_ASBOX
32192 ## ----------------------------------------- ##
32193 ## Report this to wx-dev@lists.wxwidgets.org ##
32194 ## ----------------------------------------- ##
32195 _ASBOX
32196 ) |
32197 sed "s/^/$as_me: WARNING: /" >&2
32198 ;;
32199 esac
32200 echo "$as_me:$LINENO: checking for $ac_header" >&5
32201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32204 else
32205 eval "$as_ac_Header=\$ac_header_preproc"
32206 fi
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32209
32210 fi
32211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32212 cat >>confdefs.h <<_ACEOF
32213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32214 _ACEOF
32215
32216 fi
32217
32218 done
32219
32220
32221 for ac_header in X11/XKBlib.h
32222 do
32223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32224 echo "$as_me:$LINENO: checking for $ac_header" >&5
32225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32227 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 else
32229 cat >conftest.$ac_ext <<_ACEOF
32230 /* confdefs.h. */
32231 _ACEOF
32232 cat confdefs.h >>conftest.$ac_ext
32233 cat >>conftest.$ac_ext <<_ACEOF
32234 /* end confdefs.h. */
32235
32236 #if HAVE_X11_XLIB_H
32237 #include <X11/Xlib.h>
32238 #endif
32239
32240
32241 #include <$ac_header>
32242 _ACEOF
32243 rm -f conftest.$ac_objext
32244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32245 (eval $ac_compile) 2>conftest.er1
32246 ac_status=$?
32247 grep -v '^ *+' conftest.er1 >conftest.err
32248 rm -f conftest.er1
32249 cat conftest.err >&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } &&
32252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32254 (eval $ac_try) 2>&5
32255 ac_status=$?
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; } &&
32258 { ac_try='test -s conftest.$ac_objext'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; }; then
32264 eval "$as_ac_Header=yes"
32265 else
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.$ac_ext >&5
32268
32269 eval "$as_ac_Header=no"
32270 fi
32271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32272 fi
32273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32276 cat >>confdefs.h <<_ACEOF
32277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32278 _ACEOF
32279
32280 fi
32281
32282 done
32283
32284 fi
32285 fi
32286
32287
32288
32289 IODBC_C_SRC=""
32290
32291
32292 if test "$TOOLKIT" != "MSW" ; then
32293
32294 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32295
32296 if test "${ac_cv_header_sql_h+set}" = set; then
32297 echo "$as_me:$LINENO: checking for sql.h" >&5
32298 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32299 if test "${ac_cv_header_sql_h+set}" = set; then
32300 echo $ECHO_N "(cached) $ECHO_C" >&6
32301 fi
32302 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32303 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32304 else
32305 # Is the header compilable?
32306 echo "$as_me:$LINENO: checking sql.h usability" >&5
32307 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32308 cat >conftest.$ac_ext <<_ACEOF
32309 /* confdefs.h. */
32310 _ACEOF
32311 cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 $ac_includes_default
32315 #include <sql.h>
32316 _ACEOF
32317 rm -f conftest.$ac_objext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32319 (eval $ac_compile) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32329 ac_status=$?
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try='test -s conftest.$ac_objext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32335 ac_status=$?
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 ac_header_compiler=yes
32339 else
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32342
32343 ac_header_compiler=no
32344 fi
32345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32347 echo "${ECHO_T}$ac_header_compiler" >&6
32348
32349 # Is the header present?
32350 echo "$as_me:$LINENO: checking sql.h presence" >&5
32351 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32352 cat >conftest.$ac_ext <<_ACEOF
32353 /* confdefs.h. */
32354 _ACEOF
32355 cat confdefs.h >>conftest.$ac_ext
32356 cat >>conftest.$ac_ext <<_ACEOF
32357 /* end confdefs.h. */
32358 #include <sql.h>
32359 _ACEOF
32360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32362 ac_status=$?
32363 grep -v '^ *+' conftest.er1 >conftest.err
32364 rm -f conftest.er1
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } >/dev/null; then
32368 if test -s conftest.err; then
32369 ac_cpp_err=$ac_cxx_preproc_warn_flag
32370 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32371 else
32372 ac_cpp_err=
32373 fi
32374 else
32375 ac_cpp_err=yes
32376 fi
32377 if test -z "$ac_cpp_err"; then
32378 ac_header_preproc=yes
32379 else
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32382
32383 ac_header_preproc=no
32384 fi
32385 rm -f conftest.err conftest.$ac_ext
32386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32387 echo "${ECHO_T}$ac_header_preproc" >&6
32388
32389 # So? What about this header?
32390 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32391 yes:no: )
32392 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32393 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32394 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32395 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32396 ac_header_preproc=yes
32397 ;;
32398 no:yes:* )
32399 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32400 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32401 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32402 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32403 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32404 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32405 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32406 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32407 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32408 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32409 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32410 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32411 (
32412 cat <<\_ASBOX
32413 ## ----------------------------------------- ##
32414 ## Report this to wx-dev@lists.wxwidgets.org ##
32415 ## ----------------------------------------- ##
32416 _ASBOX
32417 ) |
32418 sed "s/^/$as_me: WARNING: /" >&2
32419 ;;
32420 esac
32421 echo "$as_me:$LINENO: checking for sql.h" >&5
32422 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32423 if test "${ac_cv_header_sql_h+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 else
32426 ac_cv_header_sql_h=$ac_header_preproc
32427 fi
32428 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32429 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32430
32431 fi
32432 if test $ac_cv_header_sql_h = yes; then
32433 found_sql_h=1
32434 fi
32435
32436
32437 if test "x$found_sql_h" = "x1" ; then
32438 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32439 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32440 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 else
32443 ac_check_lib_save_LIBS=$LIBS
32444 LIBS="-liodbc $LIBS"
32445 cat >conftest.$ac_ext <<_ACEOF
32446 /* confdefs.h. */
32447 _ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32451
32452 /* Override any gcc2 internal prototype to avoid an error. */
32453 #ifdef __cplusplus
32454 extern "C"
32455 #endif
32456 /* We use char because int might match the return type of a gcc2
32457 builtin and then its argument prototype would still apply. */
32458 char SQLAllocEnv ();
32459 int
32460 main ()
32461 {
32462 SQLAllocEnv ();
32463 ;
32464 return 0;
32465 }
32466 _ACEOF
32467 rm -f conftest.$ac_objext conftest$ac_exeext
32468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32469 (eval $ac_link) 2>conftest.er1
32470 ac_status=$?
32471 grep -v '^ *+' conftest.er1 >conftest.err
32472 rm -f conftest.er1
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } &&
32476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; } &&
32482 { ac_try='test -s conftest$ac_exeext'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32485 ac_status=$?
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; }; then
32488 ac_cv_lib_iodbc_SQLAllocEnv=yes
32489 else
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32492
32493 ac_cv_lib_iodbc_SQLAllocEnv=no
32494 fi
32495 rm -f conftest.err conftest.$ac_objext \
32496 conftest$ac_exeext conftest.$ac_ext
32497 LIBS=$ac_check_lib_save_LIBS
32498 fi
32499 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32500 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32501 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32502 ODBC_LINK=" -liodbc"
32503 else
32504
32505 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32506 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32507 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32508 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 else
32510 ac_check_lib_save_LIBS=$LIBS
32511 LIBS="-lunixodbc $LIBS"
32512 cat >conftest.$ac_ext <<_ACEOF
32513 /* confdefs.h. */
32514 _ACEOF
32515 cat confdefs.h >>conftest.$ac_ext
32516 cat >>conftest.$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32518
32519 /* Override any gcc2 internal prototype to avoid an error. */
32520 #ifdef __cplusplus
32521 extern "C"
32522 #endif
32523 /* We use char because int might match the return type of a gcc2
32524 builtin and then its argument prototype would still apply. */
32525 char SQLAllocEnv ();
32526 int
32527 main ()
32528 {
32529 SQLAllocEnv ();
32530 ;
32531 return 0;
32532 }
32533 _ACEOF
32534 rm -f conftest.$ac_objext conftest$ac_exeext
32535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32536 (eval $ac_link) 2>conftest.er1
32537 ac_status=$?
32538 grep -v '^ *+' conftest.er1 >conftest.err
32539 rm -f conftest.er1
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } &&
32543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32545 (eval $ac_try) 2>&5
32546 ac_status=$?
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); }; } &&
32549 { ac_try='test -s conftest$ac_exeext'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32552 ac_status=$?
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; }; then
32555 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32556 else
32557 echo "$as_me: failed program was:" >&5
32558 sed 's/^/| /' conftest.$ac_ext >&5
32559
32560 ac_cv_lib_unixodbc_SQLAllocEnv=no
32561 fi
32562 rm -f conftest.err conftest.$ac_objext \
32563 conftest$ac_exeext conftest.$ac_ext
32564 LIBS=$ac_check_lib_save_LIBS
32565 fi
32566 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32567 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32568 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32569 ODBC_LINK=" -lunixodbc"
32570 else
32571
32572 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32573 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32574 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32576 else
32577 ac_check_lib_save_LIBS=$LIBS
32578 LIBS="-lodbc $LIBS"
32579 cat >conftest.$ac_ext <<_ACEOF
32580 /* confdefs.h. */
32581 _ACEOF
32582 cat confdefs.h >>conftest.$ac_ext
32583 cat >>conftest.$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32585
32586 /* Override any gcc2 internal prototype to avoid an error. */
32587 #ifdef __cplusplus
32588 extern "C"
32589 #endif
32590 /* We use char because int might match the return type of a gcc2
32591 builtin and then its argument prototype would still apply. */
32592 char SQLAllocEnv ();
32593 int
32594 main ()
32595 {
32596 SQLAllocEnv ();
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 rm -f conftest.$ac_objext conftest$ac_exeext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32603 (eval $ac_link) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32619 ac_status=$?
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_lib_odbc_SQLAllocEnv=yes
32623 else
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.$ac_ext >&5
32626
32627 ac_cv_lib_odbc_SQLAllocEnv=no
32628 fi
32629 rm -f conftest.err conftest.$ac_objext \
32630 conftest$ac_exeext conftest.$ac_ext
32631 LIBS=$ac_check_lib_save_LIBS
32632 fi
32633 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32634 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32635 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32636 ODBC_LINK=" -lodbc"
32637 fi
32638
32639
32640 fi
32641
32642
32643 fi
32644
32645 fi
32646 if test "x$ODBC_LINK" = "x" ; then
32647 if test "$wxUSE_ODBC" = "sys" ; then
32648 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32649 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32650 { (exit 1); exit 1; }; }
32651 else
32652 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32653 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32654 wxUSE_ODBC=builtin
32655 fi
32656 else
32657 wxUSE_ODBC=sys
32658 fi
32659 fi
32660
32661 if test "$wxUSE_ODBC" = "builtin" ; then
32662 cat >>confdefs.h <<\_ACEOF
32663 #define wxUSE_BUILTIN_IODBC 1
32664 _ACEOF
32665
32666 fi
32667 fi
32668
32669 if test "$wxUSE_ODBC" != "no" ; then
32670 cat >>confdefs.h <<\_ACEOF
32671 #define wxUSE_ODBC 1
32672 _ACEOF
32673
32674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32675
32676 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32677 fi
32678
32679
32680 if test "$wxUSE_DISPLAY" = "yes"; then
32681 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32682 echo "$as_me:$LINENO: checking for Xinerama" >&5
32683 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32684
32685 ac_find_libraries=
32686 for ac_dir in $SEARCH_LIB;
32687 do
32688 for ac_extension in a so sl dylib dll.a; do
32689 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32690 ac_find_libraries=$ac_dir
32691 break 2
32692 fi
32693 done
32694 done
32695
32696 if test "$ac_find_libraries" != "" ; then
32697
32698 if test "$ac_find_libraries" = "default location"; then
32699 ac_path_to_link=""
32700 else
32701 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32702 result=$?
32703 if test $result = 0; then
32704 ac_path_to_link=""
32705 else
32706 ac_path_to_link=" -L$ac_find_libraries"
32707 fi
32708 fi
32709
32710 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32711 LDFLAGS="$LDFLAGS $ac_path_to_link"
32712 fi
32713 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32714 echo "$as_me:$LINENO: result: yes" >&5
32715 echo "${ECHO_T}yes" >&6
32716
32717 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32718 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32719
32720 ac_find_libraries=
32721 for ac_dir in $SEARCH_LIB;
32722 do
32723 for ac_extension in a so sl dylib dll.a; do
32724 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32725 ac_find_libraries=$ac_dir
32726 break 2
32727 fi
32728 done
32729 done
32730
32731 if test "$ac_find_libraries" != "" ; then
32732 echo "$as_me:$LINENO: result: yes" >&5
32733 echo "${ECHO_T}yes" >&6
32734
32735 for ac_header in X11/extensions/xf86vmode.h
32736 do
32737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32738 echo "$as_me:$LINENO: checking for $ac_header" >&5
32739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32743 cat >conftest.$ac_ext <<_ACEOF
32744 /* confdefs.h. */
32745 _ACEOF
32746 cat confdefs.h >>conftest.$ac_ext
32747 cat >>conftest.$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749
32750 #if HAVE_X11_XLIB_H
32751 #include <X11/Xlib.h>
32752 #endif
32753
32754
32755 #include <$ac_header>
32756 _ACEOF
32757 rm -f conftest.$ac_objext
32758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32759 (eval $ac_compile) 2>conftest.er1
32760 ac_status=$?
32761 grep -v '^ *+' conftest.er1 >conftest.err
32762 rm -f conftest.er1
32763 cat conftest.err >&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } &&
32766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; } &&
32772 { ac_try='test -s conftest.$ac_objext'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; }; then
32778 eval "$as_ac_Header=yes"
32779 else
32780 echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32782
32783 eval "$as_ac_Header=no"
32784 fi
32785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32786 fi
32787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32790 cat >>confdefs.h <<_ACEOF
32791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32792 _ACEOF
32793
32794 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32795
32796 fi
32797
32798 done
32799
32800 else
32801 echo "$as_me:$LINENO: result: no" >&5
32802 echo "${ECHO_T}no" >&6
32803 fi
32804
32805 else
32806 echo "$as_me:$LINENO: result: no" >&5
32807 echo "${ECHO_T}no" >&6
32808 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32809 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32810 wxUSE_DISPLAY="no"
32811 fi
32812 elif test "$wxUSE_MSW" = 1; then
32813
32814 for ac_header in ddraw.h
32815 do
32816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32817 echo "$as_me:$LINENO: checking for $ac_header" >&5
32818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32820 echo $ECHO_N "(cached) $ECHO_C" >&6
32821 else
32822 cat >conftest.$ac_ext <<_ACEOF
32823 /* confdefs.h. */
32824 _ACEOF
32825 cat confdefs.h >>conftest.$ac_ext
32826 cat >>conftest.$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32828 #include <windows.h>
32829
32830 #include <$ac_header>
32831 _ACEOF
32832 rm -f conftest.$ac_objext
32833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32834 (eval $ac_compile) 2>conftest.er1
32835 ac_status=$?
32836 grep -v '^ *+' conftest.er1 >conftest.err
32837 rm -f conftest.er1
32838 cat conftest.err >&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); } &&
32841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32843 (eval $ac_try) 2>&5
32844 ac_status=$?
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); }; } &&
32847 { ac_try='test -s conftest.$ac_objext'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32850 ac_status=$?
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; }; then
32853 eval "$as_ac_Header=yes"
32854 else
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32857
32858 eval "$as_ac_Header=no"
32859 fi
32860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32861 fi
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32865 cat >>confdefs.h <<_ACEOF
32866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32867 _ACEOF
32868
32869 fi
32870
32871 done
32872
32873 fi
32874 fi
32875
32876
32877 USE_OPENGL=0
32878 if test "$wxUSE_OPENGL" = "yes"; then
32879 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32880 OPENGL_LIBS="-framework OpenGL -framework AGL"
32881 elif test "$wxUSE_MSW" = 1; then
32882 OPENGL_LIBS="-lopengl32 -lglu32"
32883 else
32884
32885
32886 ac_find_includes=
32887 for ac_dir in $SEARCH_INCLUDE /usr/include;
32888 do
32889 if test -f "$ac_dir/GL/gl.h"; then
32890 ac_find_includes=$ac_dir
32891 break
32892 fi
32893 done
32894
32895 if test "$ac_find_includes" != "" ; then
32896 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32897 echo "${ECHO_T}found in $ac_find_includes" >&6
32898
32899 if test "x$ac_find_includes" = "x/usr/include"; then
32900 ac_path_to_include=""
32901 else
32902 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32903 result=$?
32904 if test $result = 0; then
32905 ac_path_to_include=""
32906 else
32907 ac_path_to_include=" -I$ac_find_includes"
32908 fi
32909 fi
32910
32911 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32912 fi
32913
32914 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32915 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32916 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32917 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32918 echo $ECHO_N "(cached) $ECHO_C" >&6
32919 fi
32920 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32921 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32922 else
32923 # Is the header compilable?
32924 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32925 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32926 cat >conftest.$ac_ext <<_ACEOF
32927 /* confdefs.h. */
32928 _ACEOF
32929 cat confdefs.h >>conftest.$ac_ext
32930 cat >>conftest.$ac_ext <<_ACEOF
32931 /* end confdefs.h. */
32932 $ac_includes_default
32933 #include <GL/gl.h>
32934 _ACEOF
32935 rm -f conftest.$ac_objext
32936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32937 (eval $ac_compile) 2>conftest.er1
32938 ac_status=$?
32939 grep -v '^ *+' conftest.er1 >conftest.err
32940 rm -f conftest.er1
32941 cat conftest.err >&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); } &&
32944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32946 (eval $ac_try) 2>&5
32947 ac_status=$?
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); }; } &&
32950 { ac_try='test -s conftest.$ac_objext'
32951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32952 (eval $ac_try) 2>&5
32953 ac_status=$?
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); }; }; then
32956 ac_header_compiler=yes
32957 else
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.$ac_ext >&5
32960
32961 ac_header_compiler=no
32962 fi
32963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32965 echo "${ECHO_T}$ac_header_compiler" >&6
32966
32967 # Is the header present?
32968 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32969 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32970 cat >conftest.$ac_ext <<_ACEOF
32971 /* confdefs.h. */
32972 _ACEOF
32973 cat confdefs.h >>conftest.$ac_ext
32974 cat >>conftest.$ac_ext <<_ACEOF
32975 /* end confdefs.h. */
32976 #include <GL/gl.h>
32977 _ACEOF
32978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32980 ac_status=$?
32981 grep -v '^ *+' conftest.er1 >conftest.err
32982 rm -f conftest.er1
32983 cat conftest.err >&5
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); } >/dev/null; then
32986 if test -s conftest.err; then
32987 ac_cpp_err=$ac_cxx_preproc_warn_flag
32988 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32989 else
32990 ac_cpp_err=
32991 fi
32992 else
32993 ac_cpp_err=yes
32994 fi
32995 if test -z "$ac_cpp_err"; then
32996 ac_header_preproc=yes
32997 else
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33000
33001 ac_header_preproc=no
33002 fi
33003 rm -f conftest.err conftest.$ac_ext
33004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33005 echo "${ECHO_T}$ac_header_preproc" >&6
33006
33007 # So? What about this header?
33008 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33009 yes:no: )
33010 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33011 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33012 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33013 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33014 ac_header_preproc=yes
33015 ;;
33016 no:yes:* )
33017 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33018 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33019 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33020 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33021 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33022 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33023 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33024 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33025 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33026 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33027 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33028 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33029 (
33030 cat <<\_ASBOX
33031 ## ----------------------------------------- ##
33032 ## Report this to wx-dev@lists.wxwidgets.org ##
33033 ## ----------------------------------------- ##
33034 _ASBOX
33035 ) |
33036 sed "s/^/$as_me: WARNING: /" >&2
33037 ;;
33038 esac
33039 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33040 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33041 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 else
33044 ac_cv_header_GL_gl_h=$ac_header_preproc
33045 fi
33046 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33047 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33048
33049 fi
33050 if test $ac_cv_header_GL_gl_h = yes; then
33051
33052 found_gl=0
33053
33054 echo "$as_me:$LINENO: checking for -lGL" >&5
33055 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33056
33057 ac_find_libraries=
33058 for ac_dir in $SEARCH_LIB;
33059 do
33060 for ac_extension in a so sl dylib dll.a; do
33061 if test -f "$ac_dir/libGL.$ac_extension"; then
33062 ac_find_libraries=$ac_dir
33063 break 2
33064 fi
33065 done
33066 done
33067
33068 if test "$ac_find_libraries" != "" ; then
33069 echo "$as_me:$LINENO: result: yes" >&5
33070 echo "${ECHO_T}yes" >&6
33071
33072
33073 if test "$ac_find_libraries" = "default location"; then
33074 ac_path_to_link=""
33075 else
33076 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33077 result=$?
33078 if test $result = 0; then
33079 ac_path_to_link=""
33080 else
33081 ac_path_to_link=" -L$ac_find_libraries"
33082 fi
33083 fi
33084
33085 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33086 LDFLAGS_GL="$ac_path_to_link"
33087 fi
33088
33089 echo "$as_me:$LINENO: checking for -lGLU" >&5
33090 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33091
33092 ac_find_libraries=
33093 for ac_dir in $SEARCH_LIB;
33094 do
33095 for ac_extension in a so sl dylib dll.a; do
33096 if test -f "$ac_dir/libGLU.$ac_extension"; then
33097 ac_find_libraries=$ac_dir
33098 break 2
33099 fi
33100 done
33101 done
33102
33103 if test "$ac_find_libraries" != "" ; then
33104
33105 if test "$ac_find_libraries" = "default location"; then
33106 ac_path_to_link=""
33107 else
33108 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33109 result=$?
33110 if test $result = 0; then
33111 ac_path_to_link=""
33112 else
33113 ac_path_to_link=" -L$ac_find_libraries"
33114 fi
33115 fi
33116
33117 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33118 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33119 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33120 fi
33121
33122 found_gl=1
33123 OPENGL_LIBS="-lGL -lGLU"
33124 echo "$as_me:$LINENO: result: yes" >&5
33125 echo "${ECHO_T}yes" >&6
33126 else
33127 echo "$as_me:$LINENO: result: no" >&5
33128 echo "${ECHO_T}no" >&6
33129 fi
33130 else
33131 echo "$as_me:$LINENO: result: no" >&5
33132 echo "${ECHO_T}no" >&6
33133 fi
33134
33135 if test "$found_gl" != 1; then
33136 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33137 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33138
33139 ac_find_libraries=
33140 for ac_dir in $SEARCH_LIB;
33141 do
33142 for ac_extension in a so sl dylib dll.a; do
33143 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33144 ac_find_libraries=$ac_dir
33145 break 2
33146 fi
33147 done
33148 done
33149
33150 if test "$ac_find_libraries" != "" ; then
33151
33152 if test "$ac_find_libraries" = "default location"; then
33153 ac_path_to_link=""
33154 else
33155 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33156 result=$?
33157 if test $result = 0; then
33158 ac_path_to_link=""
33159 else
33160 ac_path_to_link=" -L$ac_find_libraries"
33161 fi
33162 fi
33163
33164 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33165 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33166 echo "$as_me:$LINENO: result: yes" >&5
33167 echo "${ECHO_T}yes" >&6
33168 else
33169 echo "$as_me:$LINENO: result: no" >&5
33170 echo "${ECHO_T}no" >&6
33171 fi
33172 fi
33173
33174 fi
33175
33176
33177
33178 if test "x$OPENGL_LIBS" = "x"; then
33179 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33180 echo "$as_me: error: OpenGL libraries not available" >&2;}
33181 { (exit 1); exit 1; }; }
33182 fi
33183 fi
33184
33185 if test "$wxUSE_OPENGL" = "yes"; then
33186 USE_OPENGL=1
33187 cat >>confdefs.h <<\_ACEOF
33188 #define wxUSE_OPENGL 1
33189 _ACEOF
33190
33191 cat >>confdefs.h <<\_ACEOF
33192 #define wxUSE_GLCANVAS 1
33193 _ACEOF
33194
33195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33196 fi
33197 fi
33198
33199
33200 if test -n "$TOOLKIT" ; then
33201 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33202 fi
33203
33204
33205
33206 if test "$wxUSE_SHARED" = "yes"; then
33207 case "${host}" in
33208 *-pc-msdosdjgpp )
33209 wxUSE_SHARED=no
33210 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33211 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33212 ;;
33213 esac
33214 fi
33215
33216 if test "$wxUSE_SHARED" = "yes"; then
33217
33218
33219 found_versioning=no
33220
33221
33222 if test $found_versioning = no ; then
33223 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33224 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33225 if test "${wx_cv_version_script+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33228
33229 echo "VER_1 { *; };" >conftest.sym
33230 echo "int main() { return 0; }" >conftest.cpp
33231
33232 if { ac_try='
33233 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33234 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; } ; then
33240 if test -s conftest.stderr ; then
33241 wx_cv_version_script=no
33242 else
33243 wx_cv_version_script=yes
33244 fi
33245 else
33246 wx_cv_version_script=no
33247 fi
33248
33249 if test $wx_cv_version_script = yes
33250 then
33251 echo "struct B { virtual ~B() { } }; \
33252 struct D : public B { }; \
33253 void F() { D d; }" > conftest.cpp
33254
33255 if { ac_try='
33256 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33257 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33259 (eval $ac_try) 2>&5
33260 ac_status=$?
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); }; } &&
33263 { ac_try='
33264 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33265 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33267 (eval $ac_try) 2>&5
33268 ac_status=$?
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); }; }
33271 then
33272 if { ac_try='
33273 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33274 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33277 ac_status=$?
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }
33280 then
33281 wx_cv_version_script=yes
33282 else
33283 wx_cv_version_script=no
33284 fi
33285 fi
33286 fi
33287
33288 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33289 rm -f conftest1.output conftest2.output conftest3.output
33290
33291 fi
33292 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33293 echo "${ECHO_T}$wx_cv_version_script" >&6
33294 if test $wx_cv_version_script = yes ; then
33295 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33296 fi
33297 fi
33298
33299
33300 case "${host}" in
33301 *-*-linux* | *-*-gnu* )
33302 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33303 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33304 ;;
33305
33306 *-*-solaris2* )
33307 if test "$GCC" = yes ; then
33308 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33309
33310 saveLdflags="$LDFLAGS"
33311 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33312 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33313 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33314 cat >conftest.$ac_ext <<_ACEOF
33315 /* confdefs.h. */
33316 _ACEOF
33317 cat confdefs.h >>conftest.$ac_ext
33318 cat >>conftest.$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33320
33321 int
33322 main ()
33323 {
33324
33325 ;
33326 return 0;
33327 }
33328 _ACEOF
33329 rm -f conftest.$ac_objext conftest$ac_exeext
33330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33331 (eval $ac_link) 2>conftest.er1
33332 ac_status=$?
33333 grep -v '^ *+' conftest.er1 >conftest.err
33334 rm -f conftest.er1
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } &&
33338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; } &&
33344 { ac_try='test -s conftest$ac_exeext'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; }; then
33350
33351 echo "$as_me:$LINENO: result: yes" >&5
33352 echo "${ECHO_T}yes" >&6
33353 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33354 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33355
33356 else
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33359
33360
33361 echo "$as_me:$LINENO: result: no" >&5
33362 echo "${ECHO_T}no" >&6
33363 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33364 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33365 LDFLAGS="$saveLdflags -Wl,-R,/"
33366 cat >conftest.$ac_ext <<_ACEOF
33367 /* confdefs.h. */
33368 _ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33372
33373 int
33374 main ()
33375 {
33376
33377 ;
33378 return 0;
33379 }
33380 _ACEOF
33381 rm -f conftest.$ac_objext conftest$ac_exeext
33382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33383 (eval $ac_link) 2>conftest.er1
33384 ac_status=$?
33385 grep -v '^ *+' conftest.er1 >conftest.err
33386 rm -f conftest.er1
33387 cat conftest.err >&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); } &&
33390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33392 (eval $ac_try) 2>&5
33393 ac_status=$?
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); }; } &&
33396 { ac_try='test -s conftest$ac_exeext'
33397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33398 (eval $ac_try) 2>&5
33399 ac_status=$?
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); }; }; then
33402
33403 echo "$as_me:$LINENO: result: yes" >&5
33404 echo "${ECHO_T}yes" >&6
33405 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33406 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33407
33408 else
33409 echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.$ac_ext >&5
33411
33412
33413 echo "$as_me:$LINENO: result: no" >&5
33414 echo "${ECHO_T}no" >&6
33415
33416 fi
33417 rm -f conftest.err conftest.$ac_objext \
33418 conftest$ac_exeext conftest.$ac_ext
33419
33420 fi
33421 rm -f conftest.err conftest.$ac_objext \
33422 conftest$ac_exeext conftest.$ac_ext
33423 LDFLAGS="$saveLdflags"
33424 else
33425 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33426 WXCONFIG_RPATH="-R\$libdir"
33427 fi
33428 ;;
33429
33430 *-*-darwin* )
33431 install_name_tool=`which install_name_tool`
33432 if test "$install_name_tool" -a -x "$install_name_tool"; then
33433 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33434 cat <<EOF >change-install-names
33435 #!/bin/sh
33436 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33437 inst_cmd="install_name_tool "
33438 for i in \${libnames} ; do
33439 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33440 done
33441 \${inst_cmd} \${3}
33442 EOF
33443 chmod +x change-install-names
33444 fi
33445 ;;
33446
33447 *-*-cygwin* | *-*-mingw32* )
33448 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33449 ;;
33450
33451 *-*-hpux* )
33452 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33453 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33454 ;;
33455
33456 esac
33457
33458 if test $wxUSE_RPATH = "no"; then
33459 SAMPLES_RPATH_FLAG=''
33460 SAMPLES_RPATH_POSTLINK=''
33461 WXCONFIG_RPATH=''
33462 fi
33463
33464 SHARED=1
33465
33466 else
33467
33468 config_linkage_component="-static"
33469 SHARED=0
33470
33471 fi
33472
33473
33474 UNICODE=0
33475 lib_unicode_suffix=
33476 WX_CHARTYPE="ansi"
33477 if test "$wxUSE_UNICODE" = "yes"; then
33478 lib_unicode_suffix=u
33479 WX_CHARTYPE="unicode"
33480 UNICODE=1
33481 fi
33482
33483 lib_debug_suffix=
33484 WX_DEBUGTYPE="release"
33485 DEBUG_FLAG=0
33486 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33487 lib_debug_suffix=d
33488 WX_DEBUGTYPE="debug"
33489 DEBUG_FLAG=1
33490 fi
33491
33492 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33493 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33494
33495 DEBUG_INFO=0
33496 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33497 DEBUG_INFO=1
33498 fi
33499
33500 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33501
33502 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33503
33504 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33505
33506 if test "$cross_compiling" = "yes"; then
33507 HOST_SUFFIX="-$host_alias"
33508 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33509 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33510 fi
33511
33512 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33513 if test "${TOOLKIT_DIR}" = "os2"; then
33514 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33515 else
33516 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33517 fi
33518
33519
33520
33521 if test "$wxUSE_COCOA" = 1; then
33522
33523
33524 ac_ext=c
33525 ac_cpp='$CPP $CPPFLAGS'
33526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33529
33530 ac_ext=m
33531
33532 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33533 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33534 cat >conftest.$ac_ext <<_ACEOF
33535 /* confdefs.h. */
33536 _ACEOF
33537 cat confdefs.h >>conftest.$ac_ext
33538 cat >>conftest.$ac_ext <<_ACEOF
33539 /* end confdefs.h. */
33540 #include <AppKit/NSEvent.h>
33541 #include <CoreFoundation/CoreFoundation.h>
33542
33543 int
33544 main ()
33545 {
33546
33547 ;
33548 return 0;
33549 }
33550 _ACEOF
33551 rm -f conftest.$ac_objext
33552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33553 (eval $ac_compile) 2>conftest.er1
33554 ac_status=$?
33555 grep -v '^ *+' conftest.er1 >conftest.err
33556 rm -f conftest.er1
33557 cat conftest.err >&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } &&
33560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33563 ac_status=$?
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; } &&
33566 { ac_try='test -s conftest.$ac_objext'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33569 ac_status=$?
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; }; then
33572 echo "$as_me:$LINENO: result: no" >&5
33573 echo "${ECHO_T}no" >&6
33574 else
33575 echo "$as_me: failed program was:" >&5
33576 sed 's/^/| /' conftest.$ac_ext >&5
33577
33578 echo "$as_me:$LINENO: result: yes" >&5
33579 echo "${ECHO_T}yes" >&6
33580 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33581 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33582 cat >conftest.$ac_ext <<_ACEOF
33583 /* confdefs.h. */
33584 _ACEOF
33585 cat confdefs.h >>conftest.$ac_ext
33586 cat >>conftest.$ac_ext <<_ACEOF
33587 /* end confdefs.h. */
33588 #define __Point__ 1
33589 #include <AppKit/NSEvent.h>
33590 #include <CoreFoundation/CoreFoundation.h>
33591
33592 int
33593 main ()
33594 {
33595
33596 ;
33597 return 0;
33598 }
33599 _ACEOF
33600 rm -f conftest.$ac_objext
33601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33602 (eval $ac_compile) 2>conftest.er1
33603 ac_status=$?
33604 grep -v '^ *+' conftest.er1 >conftest.err
33605 rm -f conftest.er1
33606 cat conftest.err >&5
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); } &&
33609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33612 ac_status=$?
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; } &&
33615 { ac_try='test -s conftest.$ac_objext'
33616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33617 (eval $ac_try) 2>&5
33618 ac_status=$?
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); }; }; then
33621 echo "$as_me:$LINENO: result: yes" >&5
33622 echo "${ECHO_T}yes" >&6
33623 cat >>confdefs.h <<\_ACEOF
33624 #define __Point__ 1
33625 _ACEOF
33626
33627
33628 else
33629 echo "$as_me: failed program was:" >&5
33630 sed 's/^/| /' conftest.$ac_ext >&5
33631
33632 { { echo "$as_me:$LINENO: error: no
33633 See \`config.log' for more details." >&5
33634 echo "$as_me: error: no
33635 See \`config.log' for more details." >&2;}
33636 { (exit 1); exit 1; }; }
33637
33638 fi
33639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33640
33641 fi
33642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33643 ac_ext=cc
33644 ac_cpp='$CXXCPP $CPPFLAGS'
33645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33648
33649 fi
33650
33651 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33652 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33653 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33654
33655 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33656
33657 # Extract the first word of "Rez", so it can be a program name with args.
33658 set dummy Rez; ac_word=$2
33659 echo "$as_me:$LINENO: checking for $ac_word" >&5
33660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33661 if test "${ac_cv_prog_REZ+set}" = set; then
33662 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 else
33664 if test -n "$REZ"; then
33665 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33666 else
33667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33668 for as_dir in $PATH
33669 do
33670 IFS=$as_save_IFS
33671 test -z "$as_dir" && as_dir=.
33672 for ac_exec_ext in '' $ac_executable_extensions; do
33673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33674 ac_cv_prog_REZ="Rez"
33675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33676 break 2
33677 fi
33678 done
33679 done
33680
33681 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33682 fi
33683 fi
33684 REZ=$ac_cv_prog_REZ
33685 if test -n "$REZ"; then
33686 echo "$as_me:$LINENO: result: $REZ" >&5
33687 echo "${ECHO_T}$REZ" >&6
33688 else
33689 echo "$as_me:$LINENO: result: no" >&5
33690 echo "${ECHO_T}no" >&6
33691 fi
33692
33693 # Extract the first word of "DeRez", so it can be a program name with args.
33694 set dummy DeRez; ac_word=$2
33695 echo "$as_me:$LINENO: checking for $ac_word" >&5
33696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33697 if test "${ac_cv_prog_DEREZ+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 else
33700 if test -n "$DEREZ"; then
33701 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33702 else
33703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33704 for as_dir in $PATH
33705 do
33706 IFS=$as_save_IFS
33707 test -z "$as_dir" && as_dir=.
33708 for ac_exec_ext in '' $ac_executable_extensions; do
33709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33710 ac_cv_prog_DEREZ="DeRez"
33711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33712 break 2
33713 fi
33714 done
33715 done
33716
33717 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33718 fi
33719 fi
33720 DEREZ=$ac_cv_prog_DEREZ
33721 if test -n "$DEREZ"; then
33722 echo "$as_me:$LINENO: result: $DEREZ" >&5
33723 echo "${ECHO_T}$DEREZ" >&6
33724 else
33725 echo "$as_me:$LINENO: result: no" >&5
33726 echo "${ECHO_T}no" >&6
33727 fi
33728
33729 # Extract the first word of "SetFile", so it can be a program name with args.
33730 set dummy SetFile; ac_word=$2
33731 echo "$as_me:$LINENO: checking for $ac_word" >&5
33732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33733 if test "${ac_cv_prog_SETFILE+set}" = set; then
33734 echo $ECHO_N "(cached) $ECHO_C" >&6
33735 else
33736 if test -n "$SETFILE"; then
33737 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33738 else
33739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33740 for as_dir in $PATH
33741 do
33742 IFS=$as_save_IFS
33743 test -z "$as_dir" && as_dir=.
33744 for ac_exec_ext in '' $ac_executable_extensions; do
33745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33746 ac_cv_prog_SETFILE="SetFile"
33747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33748 break 2
33749 fi
33750 done
33751 done
33752
33753 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33754 fi
33755 fi
33756 SETFILE=$ac_cv_prog_SETFILE
33757 if test -n "$SETFILE"; then
33758 echo "$as_me:$LINENO: result: $SETFILE" >&5
33759 echo "${ECHO_T}$SETFILE" >&6
33760 else
33761 echo "$as_me:$LINENO: result: no" >&5
33762 echo "${ECHO_T}no" >&6
33763 fi
33764
33765
33766 MACSETFILE="\$(SETFILE)"
33767
33768 if test "$wxUSE_MAC" = 1; then
33769 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33770 RESCOMP="$REZ"
33771 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33772 else
33773 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33774 RESCOMP="echo -n \| $REZ"
33775 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33776 fi
33777
33778 else
33779 MACSETFILE="@true"
33780
33781 if test "$wxUSE_PM" = 1; then
33782 RESCOMP="emxbind"
33783 WXCONFIG_RESFLAGS="-ep"
33784
33785 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33786 else
33787 POSTLINK_COMMAND="@true"
33788 fi
33789
33790 fi
33791
33792
33793
33794 echo "$as_me:$LINENO: checking for mode_t" >&5
33795 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33796 if test "${ac_cv_type_mode_t+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33798 else
33799 cat >conftest.$ac_ext <<_ACEOF
33800 /* confdefs.h. */
33801 _ACEOF
33802 cat confdefs.h >>conftest.$ac_ext
33803 cat >>conftest.$ac_ext <<_ACEOF
33804 /* end confdefs.h. */
33805 $ac_includes_default
33806 int
33807 main ()
33808 {
33809 if ((mode_t *) 0)
33810 return 0;
33811 if (sizeof (mode_t))
33812 return 0;
33813 ;
33814 return 0;
33815 }
33816 _ACEOF
33817 rm -f conftest.$ac_objext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33819 (eval $ac_compile) 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33828 (eval $ac_try) 2>&5
33829 ac_status=$?
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; } &&
33832 { ac_try='test -s conftest.$ac_objext'
33833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33834 (eval $ac_try) 2>&5
33835 ac_status=$?
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; }; then
33838 ac_cv_type_mode_t=yes
33839 else
33840 echo "$as_me: failed program was:" >&5
33841 sed 's/^/| /' conftest.$ac_ext >&5
33842
33843 ac_cv_type_mode_t=no
33844 fi
33845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33846 fi
33847 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33848 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33849 if test $ac_cv_type_mode_t = yes; then
33850 :
33851 else
33852
33853 cat >>confdefs.h <<_ACEOF
33854 #define mode_t int
33855 _ACEOF
33856
33857 fi
33858
33859 echo "$as_me:$LINENO: checking for off_t" >&5
33860 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33861 if test "${ac_cv_type_off_t+set}" = set; then
33862 echo $ECHO_N "(cached) $ECHO_C" >&6
33863 else
33864 cat >conftest.$ac_ext <<_ACEOF
33865 /* confdefs.h. */
33866 _ACEOF
33867 cat confdefs.h >>conftest.$ac_ext
33868 cat >>conftest.$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870 $ac_includes_default
33871 int
33872 main ()
33873 {
33874 if ((off_t *) 0)
33875 return 0;
33876 if (sizeof (off_t))
33877 return 0;
33878 ;
33879 return 0;
33880 }
33881 _ACEOF
33882 rm -f conftest.$ac_objext
33883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33884 (eval $ac_compile) 2>conftest.er1
33885 ac_status=$?
33886 grep -v '^ *+' conftest.er1 >conftest.err
33887 rm -f conftest.er1
33888 cat conftest.err >&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } &&
33891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33894 ac_status=$?
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; } &&
33897 { ac_try='test -s conftest.$ac_objext'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33900 ac_status=$?
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; }; then
33903 ac_cv_type_off_t=yes
33904 else
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.$ac_ext >&5
33907
33908 ac_cv_type_off_t=no
33909 fi
33910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33911 fi
33912 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33914 if test $ac_cv_type_off_t = yes; then
33915 :
33916 else
33917
33918 cat >>confdefs.h <<_ACEOF
33919 #define off_t long
33920 _ACEOF
33921
33922 fi
33923
33924 echo "$as_me:$LINENO: checking for pid_t" >&5
33925 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33926 if test "${ac_cv_type_pid_t+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929 cat >conftest.$ac_ext <<_ACEOF
33930 /* confdefs.h. */
33931 _ACEOF
33932 cat confdefs.h >>conftest.$ac_ext
33933 cat >>conftest.$ac_ext <<_ACEOF
33934 /* end confdefs.h. */
33935 $ac_includes_default
33936 int
33937 main ()
33938 {
33939 if ((pid_t *) 0)
33940 return 0;
33941 if (sizeof (pid_t))
33942 return 0;
33943 ;
33944 return 0;
33945 }
33946 _ACEOF
33947 rm -f conftest.$ac_objext
33948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33949 (eval $ac_compile) 2>conftest.er1
33950 ac_status=$?
33951 grep -v '^ *+' conftest.er1 >conftest.err
33952 rm -f conftest.er1
33953 cat conftest.err >&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } &&
33956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; } &&
33962 { ac_try='test -s conftest.$ac_objext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 ac_cv_type_pid_t=yes
33969 else
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.$ac_ext >&5
33972
33973 ac_cv_type_pid_t=no
33974 fi
33975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33976 fi
33977 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33978 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33979 if test $ac_cv_type_pid_t = yes; then
33980 :
33981 else
33982
33983 cat >>confdefs.h <<_ACEOF
33984 #define pid_t int
33985 _ACEOF
33986
33987 fi
33988
33989 echo "$as_me:$LINENO: checking for size_t" >&5
33990 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33991 if test "${ac_cv_type_size_t+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 else
33994 cat >conftest.$ac_ext <<_ACEOF
33995 /* confdefs.h. */
33996 _ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34000 $ac_includes_default
34001 int
34002 main ()
34003 {
34004 if ((size_t *) 0)
34005 return 0;
34006 if (sizeof (size_t))
34007 return 0;
34008 ;
34009 return 0;
34010 }
34011 _ACEOF
34012 rm -f conftest.$ac_objext
34013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34014 (eval $ac_compile) 2>conftest.er1
34015 ac_status=$?
34016 grep -v '^ *+' conftest.er1 >conftest.err
34017 rm -f conftest.er1
34018 cat conftest.err >&5
34019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34020 (exit $ac_status); } &&
34021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34023 (eval $ac_try) 2>&5
34024 ac_status=$?
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); }; } &&
34027 { ac_try='test -s conftest.$ac_objext'
34028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029 (eval $ac_try) 2>&5
34030 ac_status=$?
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); }; }; then
34033 ac_cv_type_size_t=yes
34034 else
34035 echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34037
34038 ac_cv_type_size_t=no
34039 fi
34040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34041 fi
34042 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34043 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34044 if test $ac_cv_type_size_t = yes; then
34045 :
34046 else
34047
34048 cat >>confdefs.h <<_ACEOF
34049 #define size_t unsigned
34050 _ACEOF
34051
34052 fi
34053
34054 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34055 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34056 if test "${ac_cv_type_uid_t+set}" = set; then
34057 echo $ECHO_N "(cached) $ECHO_C" >&6
34058 else
34059 cat >conftest.$ac_ext <<_ACEOF
34060 /* confdefs.h. */
34061 _ACEOF
34062 cat confdefs.h >>conftest.$ac_ext
34063 cat >>conftest.$ac_ext <<_ACEOF
34064 /* end confdefs.h. */
34065 #include <sys/types.h>
34066
34067 _ACEOF
34068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34069 $EGREP "uid_t" >/dev/null 2>&1; then
34070 ac_cv_type_uid_t=yes
34071 else
34072 ac_cv_type_uid_t=no
34073 fi
34074 rm -f conftest*
34075
34076 fi
34077 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34078 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34079 if test $ac_cv_type_uid_t = no; then
34080
34081 cat >>confdefs.h <<\_ACEOF
34082 #define uid_t int
34083 _ACEOF
34084
34085
34086 cat >>confdefs.h <<\_ACEOF
34087 #define gid_t int
34088 _ACEOF
34089
34090 fi
34091
34092
34093 echo "$as_me:$LINENO: checking for ssize_t" >&5
34094 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34095 if test "${ac_cv_type_ssize_t+set}" = set; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 else
34098 cat >conftest.$ac_ext <<_ACEOF
34099 /* confdefs.h. */
34100 _ACEOF
34101 cat confdefs.h >>conftest.$ac_ext
34102 cat >>conftest.$ac_ext <<_ACEOF
34103 /* end confdefs.h. */
34104 $ac_includes_default
34105 int
34106 main ()
34107 {
34108 if ((ssize_t *) 0)
34109 return 0;
34110 if (sizeof (ssize_t))
34111 return 0;
34112 ;
34113 return 0;
34114 }
34115 _ACEOF
34116 rm -f conftest.$ac_objext
34117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34118 (eval $ac_compile) 2>conftest.er1
34119 ac_status=$?
34120 grep -v '^ *+' conftest.er1 >conftest.err
34121 rm -f conftest.er1
34122 cat conftest.err >&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); } &&
34125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; } &&
34131 { ac_try='test -s conftest.$ac_objext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34134 ac_status=$?
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 ac_cv_type_ssize_t=yes
34138 else
34139 echo "$as_me: failed program was:" >&5
34140 sed 's/^/| /' conftest.$ac_ext >&5
34141
34142 ac_cv_type_ssize_t=no
34143 fi
34144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34145 fi
34146 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34147 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34148 if test $ac_cv_type_ssize_t = yes; then
34149
34150 cat >>confdefs.h <<_ACEOF
34151 #define HAVE_SSIZE_T 1
34152 _ACEOF
34153
34154
34155 fi
34156
34157
34158 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34159 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34160 if test "${wx_cv_size_t_is_uint+set}" = set; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 else
34163
34164 cat >conftest.$ac_ext <<_ACEOF
34165 /* confdefs.h. */
34166 _ACEOF
34167 cat confdefs.h >>conftest.$ac_ext
34168 cat >>conftest.$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34170 #include <stddef.h>
34171 int
34172 main ()
34173 {
34174
34175 return 0; }
34176
34177 struct Foo { void foo(size_t); void foo(unsigned int); };
34178
34179 int bar() {
34180
34181 ;
34182 return 0;
34183 }
34184 _ACEOF
34185 rm -f conftest.$ac_objext
34186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34187 (eval $ac_compile) 2>conftest.er1
34188 ac_status=$?
34189 grep -v '^ *+' conftest.er1 >conftest.err
34190 rm -f conftest.er1
34191 cat conftest.err >&5
34192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34193 (exit $ac_status); } &&
34194 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34196 (eval $ac_try) 2>&5
34197 ac_status=$?
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); }; } &&
34200 { ac_try='test -s conftest.$ac_objext'
34201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34202 (eval $ac_try) 2>&5
34203 ac_status=$?
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); }; }; then
34206 wx_cv_size_t_is_uint=no
34207 else
34208 echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.$ac_ext >&5
34210
34211 wx_cv_size_t_is_uint=yes
34212
34213 fi
34214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34215
34216
34217 fi
34218 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34219 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34220
34221 if test "$wx_cv_size_t_is_uint" = "yes"; then
34222 cat >>confdefs.h <<\_ACEOF
34223 #define wxSIZE_T_IS_UINT 1
34224 _ACEOF
34225
34226 else
34227 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34228 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34229 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34231 else
34232 cat >conftest.$ac_ext <<_ACEOF
34233 /* confdefs.h. */
34234 _ACEOF
34235 cat confdefs.h >>conftest.$ac_ext
34236 cat >>conftest.$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 #include <stddef.h>
34239 int
34240 main ()
34241 {
34242
34243 return 0; }
34244
34245 struct Foo { void foo(size_t); void foo(unsigned long); };
34246
34247 int bar() {
34248
34249 ;
34250 return 0;
34251 }
34252 _ACEOF
34253 rm -f conftest.$ac_objext
34254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34255 (eval $ac_compile) 2>conftest.er1
34256 ac_status=$?
34257 grep -v '^ *+' conftest.er1 >conftest.err
34258 rm -f conftest.er1
34259 cat conftest.err >&5
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); } &&
34262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34264 (eval $ac_try) 2>&5
34265 ac_status=$?
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); }; } &&
34268 { ac_try='test -s conftest.$ac_objext'
34269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34270 (eval $ac_try) 2>&5
34271 ac_status=$?
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); }; }; then
34274 wx_cv_size_t_is_ulong=no
34275 else
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34278
34279 wx_cv_size_t_is_ulong=yes
34280
34281 fi
34282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34283
34284 fi
34285 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34286 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34287
34288 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34289 cat >>confdefs.h <<\_ACEOF
34290 #define wxSIZE_T_IS_ULONG 1
34291 _ACEOF
34292
34293 fi
34294 fi
34295
34296
34297 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34298 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34299 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34300 echo $ECHO_N "(cached) $ECHO_C" >&6
34301 else
34302
34303 cat >conftest.$ac_ext <<_ACEOF
34304 /* confdefs.h. */
34305 _ACEOF
34306 cat confdefs.h >>conftest.$ac_ext
34307 cat >>conftest.$ac_ext <<_ACEOF
34308 /* end confdefs.h. */
34309 #include <pwd.h>
34310 int
34311 main ()
34312 {
34313
34314 char *p;
34315 struct passwd *pw;
34316 p = pw->pw_gecos;
34317
34318 ;
34319 return 0;
34320 }
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324 (eval $ac_compile) 2>conftest.er1
34325 ac_status=$?
34326 grep -v '^ *+' conftest.er1 >conftest.err
34327 rm -f conftest.er1
34328 cat conftest.err >&5
34329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330 (exit $ac_status); } &&
34331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333 (eval $ac_try) 2>&5
34334 ac_status=$?
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); }; } &&
34337 { ac_try='test -s conftest.$ac_objext'
34338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34339 (eval $ac_try) 2>&5
34340 ac_status=$?
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); }; }; then
34343
34344 wx_cv_struct_pw_gecos=yes
34345
34346 else
34347 echo "$as_me: failed program was:" >&5
34348 sed 's/^/| /' conftest.$ac_ext >&5
34349
34350
34351 wx_cv_struct_pw_gecos=no
34352
34353
34354 fi
34355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34356
34357
34358 fi
34359 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34360 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34361
34362 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34363 cat >>confdefs.h <<\_ACEOF
34364 #define HAVE_PW_GECOS 1
34365 _ACEOF
34366
34367 fi
34368
34369
34370 if test "$wxUSE_WCHAR_T" = "yes"; then
34371 cat >>confdefs.h <<\_ACEOF
34372 #define wxUSE_WCHAR_T 1
34373 _ACEOF
34374
34375
34376 WCSLEN_FOUND=0
34377 WCHAR_LINK=
34378
34379 for ac_func in wcslen
34380 do
34381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34382 echo "$as_me:$LINENO: checking for $ac_func" >&5
34383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34384 if eval "test \"\${$as_ac_var+set}\" = set"; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 else
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34395 #define $ac_func innocuous_$ac_func
34396
34397 /* System header to define __stub macros and hopefully few prototypes,
34398 which can conflict with char $ac_func (); below.
34399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34400 <limits.h> exists even on freestanding compilers. */
34401
34402 #ifdef __STDC__
34403 # include <limits.h>
34404 #else
34405 # include <assert.h>
34406 #endif
34407
34408 #undef $ac_func
34409
34410 /* Override any gcc2 internal prototype to avoid an error. */
34411 #ifdef __cplusplus
34412 extern "C"
34413 {
34414 #endif
34415 /* We use char because int might match the return type of a gcc2
34416 builtin and then its argument prototype would still apply. */
34417 char $ac_func ();
34418 /* The GNU C library defines this for functions which it implements
34419 to always fail with ENOSYS. Some functions are actually named
34420 something starting with __ and the normal name is an alias. */
34421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34422 choke me
34423 #else
34424 char (*f) () = $ac_func;
34425 #endif
34426 #ifdef __cplusplus
34427 }
34428 #endif
34429
34430 int
34431 main ()
34432 {
34433 return f != $ac_func;
34434 ;
34435 return 0;
34436 }
34437 _ACEOF
34438 rm -f conftest.$ac_objext conftest$ac_exeext
34439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34440 (eval $ac_link) 2>conftest.er1
34441 ac_status=$?
34442 grep -v '^ *+' conftest.er1 >conftest.err
34443 rm -f conftest.er1
34444 cat conftest.err >&5
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); } &&
34447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449 (eval $ac_try) 2>&5
34450 ac_status=$?
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); }; } &&
34453 { ac_try='test -s conftest$ac_exeext'
34454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34455 (eval $ac_try) 2>&5
34456 ac_status=$?
34457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34458 (exit $ac_status); }; }; then
34459 eval "$as_ac_var=yes"
34460 else
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.$ac_ext >&5
34463
34464 eval "$as_ac_var=no"
34465 fi
34466 rm -f conftest.err conftest.$ac_objext \
34467 conftest$ac_exeext conftest.$ac_ext
34468 fi
34469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34471 if test `eval echo '${'$as_ac_var'}'` = yes; then
34472 cat >>confdefs.h <<_ACEOF
34473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34474 _ACEOF
34475 WCSLEN_FOUND=1
34476 fi
34477 done
34478
34479
34480 if test "$WCSLEN_FOUND" = 0; then
34481 if test "$TOOLKIT" = "MSW"; then
34482 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34483 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34484 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 else
34487 ac_check_lib_save_LIBS=$LIBS
34488 LIBS="-lmsvcrt $LIBS"
34489 cat >conftest.$ac_ext <<_ACEOF
34490 /* confdefs.h. */
34491 _ACEOF
34492 cat confdefs.h >>conftest.$ac_ext
34493 cat >>conftest.$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34495
34496 /* Override any gcc2 internal prototype to avoid an error. */
34497 #ifdef __cplusplus
34498 extern "C"
34499 #endif
34500 /* We use char because int might match the return type of a gcc2
34501 builtin and then its argument prototype would still apply. */
34502 char wcslen ();
34503 int
34504 main ()
34505 {
34506 wcslen ();
34507 ;
34508 return 0;
34509 }
34510 _ACEOF
34511 rm -f conftest.$ac_objext conftest$ac_exeext
34512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34513 (eval $ac_link) 2>conftest.er1
34514 ac_status=$?
34515 grep -v '^ *+' conftest.er1 >conftest.err
34516 rm -f conftest.er1
34517 cat conftest.err >&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); } &&
34520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34522 (eval $ac_try) 2>&5
34523 ac_status=$?
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); }; } &&
34526 { ac_try='test -s conftest$ac_exeext'
34527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34528 (eval $ac_try) 2>&5
34529 ac_status=$?
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); }; }; then
34532 ac_cv_lib_msvcrt_wcslen=yes
34533 else
34534 echo "$as_me: failed program was:" >&5
34535 sed 's/^/| /' conftest.$ac_ext >&5
34536
34537 ac_cv_lib_msvcrt_wcslen=no
34538 fi
34539 rm -f conftest.err conftest.$ac_objext \
34540 conftest$ac_exeext conftest.$ac_ext
34541 LIBS=$ac_check_lib_save_LIBS
34542 fi
34543 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34544 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34545 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34546 WCHAR_OK=1
34547 fi
34548
34549 else
34550 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34551 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34552 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555 ac_check_lib_save_LIBS=$LIBS
34556 LIBS="-lw $LIBS"
34557 cat >conftest.$ac_ext <<_ACEOF
34558 /* confdefs.h. */
34559 _ACEOF
34560 cat confdefs.h >>conftest.$ac_ext
34561 cat >>conftest.$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34563
34564 /* Override any gcc2 internal prototype to avoid an error. */
34565 #ifdef __cplusplus
34566 extern "C"
34567 #endif
34568 /* We use char because int might match the return type of a gcc2
34569 builtin and then its argument prototype would still apply. */
34570 char wcslen ();
34571 int
34572 main ()
34573 {
34574 wcslen ();
34575 ;
34576 return 0;
34577 }
34578 _ACEOF
34579 rm -f conftest.$ac_objext conftest$ac_exeext
34580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34581 (eval $ac_link) 2>conftest.er1
34582 ac_status=$?
34583 grep -v '^ *+' conftest.er1 >conftest.err
34584 rm -f conftest.er1
34585 cat conftest.err >&5
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); } &&
34588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590 (eval $ac_try) 2>&5
34591 ac_status=$?
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); }; } &&
34594 { ac_try='test -s conftest$ac_exeext'
34595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596 (eval $ac_try) 2>&5
34597 ac_status=$?
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); }; }; then
34600 ac_cv_lib_w_wcslen=yes
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 ac_cv_lib_w_wcslen=no
34606 fi
34607 rm -f conftest.err conftest.$ac_objext \
34608 conftest$ac_exeext conftest.$ac_ext
34609 LIBS=$ac_check_lib_save_LIBS
34610 fi
34611 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34612 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34613 if test $ac_cv_lib_w_wcslen = yes; then
34614
34615 WCHAR_LINK=" -lw"
34616 WCSLEN_FOUND=1
34617
34618 fi
34619
34620 fi
34621 fi
34622
34623 if test "$WCSLEN_FOUND" = 1; then
34624 cat >>confdefs.h <<\_ACEOF
34625 #define HAVE_WCSLEN 1
34626 _ACEOF
34627
34628 fi
34629
34630 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34631 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34632 fi
34633
34634 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34635 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34636 if test "${ac_cv_type_mbstate_t+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34638 else
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 #include <wchar.h>
34646
34647 int
34648 main ()
34649 {
34650 if ((mbstate_t *) 0)
34651 return 0;
34652 if (sizeof (mbstate_t))
34653 return 0;
34654 ;
34655 return 0;
34656 }
34657 _ACEOF
34658 rm -f conftest.$ac_objext
34659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34660 (eval $ac_compile) 2>conftest.er1
34661 ac_status=$?
34662 grep -v '^ *+' conftest.er1 >conftest.err
34663 rm -f conftest.er1
34664 cat conftest.err >&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); } &&
34667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; } &&
34673 { ac_try='test -s conftest.$ac_objext'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34676 ac_status=$?
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; }; then
34679 ac_cv_type_mbstate_t=yes
34680 else
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.$ac_ext >&5
34683
34684 ac_cv_type_mbstate_t=no
34685 fi
34686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34687 fi
34688 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34689 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34690 if test $ac_cv_type_mbstate_t = yes; then
34691
34692 cat >>confdefs.h <<_ACEOF
34693 #define HAVE_MBSTATE_T 1
34694 _ACEOF
34695
34696
34697 for ac_func in wcsrtombs
34698 do
34699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34700 echo "$as_me:$LINENO: checking for $ac_func" >&5
34701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34702 if eval "test \"\${$as_ac_var+set}\" = set"; then
34703 echo $ECHO_N "(cached) $ECHO_C" >&6
34704 else
34705 cat >conftest.$ac_ext <<_ACEOF
34706 /* confdefs.h. */
34707 _ACEOF
34708 cat confdefs.h >>conftest.$ac_ext
34709 cat >>conftest.$ac_ext <<_ACEOF
34710 /* end confdefs.h. */
34711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34713 #define $ac_func innocuous_$ac_func
34714
34715 /* System header to define __stub macros and hopefully few prototypes,
34716 which can conflict with char $ac_func (); below.
34717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34718 <limits.h> exists even on freestanding compilers. */
34719
34720 #ifdef __STDC__
34721 # include <limits.h>
34722 #else
34723 # include <assert.h>
34724 #endif
34725
34726 #undef $ac_func
34727
34728 /* Override any gcc2 internal prototype to avoid an error. */
34729 #ifdef __cplusplus
34730 extern "C"
34731 {
34732 #endif
34733 /* We use char because int might match the return type of a gcc2
34734 builtin and then its argument prototype would still apply. */
34735 char $ac_func ();
34736 /* The GNU C library defines this for functions which it implements
34737 to always fail with ENOSYS. Some functions are actually named
34738 something starting with __ and the normal name is an alias. */
34739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34740 choke me
34741 #else
34742 char (*f) () = $ac_func;
34743 #endif
34744 #ifdef __cplusplus
34745 }
34746 #endif
34747
34748 int
34749 main ()
34750 {
34751 return f != $ac_func;
34752 ;
34753 return 0;
34754 }
34755 _ACEOF
34756 rm -f conftest.$ac_objext conftest$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34759 ac_status=$?
34760 grep -v '^ *+' conftest.er1 >conftest.err
34761 rm -f conftest.er1
34762 cat conftest.err >&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try='test -s conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34774 ac_status=$?
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 eval "$as_ac_var=yes"
34778 else
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34781
34782 eval "$as_ac_var=no"
34783 fi
34784 rm -f conftest.err conftest.$ac_objext \
34785 conftest$ac_exeext conftest.$ac_ext
34786 fi
34787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34789 if test `eval echo '${'$as_ac_var'}'` = yes; then
34790 cat >>confdefs.h <<_ACEOF
34791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34792 _ACEOF
34793
34794 fi
34795 done
34796
34797 fi
34798
34799 else
34800 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34801 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34802 fi
34803
34804
34805
34806 for ac_func in snprintf vsnprintf
34807 do
34808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34809 echo "$as_me:$LINENO: checking for $ac_func" >&5
34810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34811 if eval "test \"\${$as_ac_var+set}\" = set"; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 else
34814 cat >conftest.$ac_ext <<_ACEOF
34815 /* confdefs.h. */
34816 _ACEOF
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34822 #define $ac_func innocuous_$ac_func
34823
34824 /* System header to define __stub macros and hopefully few prototypes,
34825 which can conflict with char $ac_func (); below.
34826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34827 <limits.h> exists even on freestanding compilers. */
34828
34829 #ifdef __STDC__
34830 # include <limits.h>
34831 #else
34832 # include <assert.h>
34833 #endif
34834
34835 #undef $ac_func
34836
34837 /* Override any gcc2 internal prototype to avoid an error. */
34838 #ifdef __cplusplus
34839 extern "C"
34840 {
34841 #endif
34842 /* We use char because int might match the return type of a gcc2
34843 builtin and then its argument prototype would still apply. */
34844 char $ac_func ();
34845 /* The GNU C library defines this for functions which it implements
34846 to always fail with ENOSYS. Some functions are actually named
34847 something starting with __ and the normal name is an alias. */
34848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34849 choke me
34850 #else
34851 char (*f) () = $ac_func;
34852 #endif
34853 #ifdef __cplusplus
34854 }
34855 #endif
34856
34857 int
34858 main ()
34859 {
34860 return f != $ac_func;
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 rm -f conftest.$ac_objext conftest$ac_exeext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34867 (eval $ac_link) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try='test -s conftest$ac_exeext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34883 ac_status=$?
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 eval "$as_ac_var=yes"
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 eval "$as_ac_var=no"
34892 fi
34893 rm -f conftest.err conftest.$ac_objext \
34894 conftest$ac_exeext conftest.$ac_ext
34895 fi
34896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34898 if test `eval echo '${'$as_ac_var'}'` = yes; then
34899 cat >>confdefs.h <<_ACEOF
34900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34901 _ACEOF
34902
34903 fi
34904 done
34905
34906
34907 if test "$ac_cv_func_vsnprintf" = "yes"; then
34908 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34909 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34910 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34911 echo $ECHO_N "(cached) $ECHO_C" >&6
34912 else
34913
34914 cat >conftest.$ac_ext <<_ACEOF
34915 /* confdefs.h. */
34916 _ACEOF
34917 cat confdefs.h >>conftest.$ac_ext
34918 cat >>conftest.$ac_ext <<_ACEOF
34919 /* end confdefs.h. */
34920
34921 #include <stdio.h>
34922 #include <stdarg.h>
34923 #ifdef __MSL__
34924 #if __MSL__ >= 0x6000
34925 namespace std {}
34926 using namespace std;
34927 #endif
34928 #endif
34929
34930 int
34931 main ()
34932 {
34933
34934 char *buf;
34935 va_list ap;
34936 vsnprintf(buf, 10u, "%s", ap);
34937
34938 ;
34939 return 0;
34940 }
34941 _ACEOF
34942 rm -f conftest.$ac_objext
34943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34944 (eval $ac_compile) 2>conftest.er1
34945 ac_status=$?
34946 grep -v '^ *+' conftest.er1 >conftest.err
34947 rm -f conftest.er1
34948 cat conftest.err >&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); } &&
34951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34953 (eval $ac_try) 2>&5
34954 ac_status=$?
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); }; } &&
34957 { ac_try='test -s conftest.$ac_objext'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34960 ac_status=$?
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; }; then
34963 wx_cv_func_vsnprintf_decl=yes
34964 else
34965 echo "$as_me: failed program was:" >&5
34966 sed 's/^/| /' conftest.$ac_ext >&5
34967
34968 wx_cv_func_vsnprintf_decl=no
34969
34970 fi
34971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34972
34973
34974 fi
34975 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34976 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34977
34978 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34979 cat >>confdefs.h <<\_ACEOF
34980 #define HAVE_VSNPRINTF_DECL 1
34981 _ACEOF
34982
34983
34984 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34985 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34986 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 else
34989
34990 cat >conftest.$ac_ext <<_ACEOF
34991 /* confdefs.h. */
34992 _ACEOF
34993 cat confdefs.h >>conftest.$ac_ext
34994 cat >>conftest.$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34996
34997 #include <stdio.h>
34998 #include <stdarg.h>
34999 #ifdef __MSL__
35000 #if __MSL__ >= 0x6000
35001 namespace std {}
35002 using namespace std;
35003 #endif
35004 #endif
35005
35006 int
35007 main ()
35008 {
35009
35010 char *buf;
35011 va_list ap;
35012 const char *fmt = "%s";
35013 vsnprintf(buf, 10u, fmt, ap);
35014
35015 ;
35016 return 0;
35017 }
35018 _ACEOF
35019 rm -f conftest.$ac_objext
35020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35021 (eval $ac_compile) 2>conftest.er1
35022 ac_status=$?
35023 grep -v '^ *+' conftest.er1 >conftest.err
35024 rm -f conftest.er1
35025 cat conftest.err >&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); } &&
35028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35030 (eval $ac_try) 2>&5
35031 ac_status=$?
35032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35033 (exit $ac_status); }; } &&
35034 { ac_try='test -s conftest.$ac_objext'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; }; then
35040 wx_cv_func_broken_vsnprintf_decl=no
35041 else
35042 echo "$as_me: failed program was:" >&5
35043 sed 's/^/| /' conftest.$ac_ext >&5
35044
35045 wx_cv_func_broken_vsnprintf_decl=yes
35046
35047 fi
35048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35049
35050
35051 fi
35052 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35053 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35054
35055 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35056 cat >>confdefs.h <<\_ACEOF
35057 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35058 _ACEOF
35059
35060 fi
35061 fi
35062 fi
35063
35064 if test "$ac_cv_func_snprintf" = "yes"; then
35065 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35066 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35067 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35068 echo $ECHO_N "(cached) $ECHO_C" >&6
35069 else
35070
35071 cat >conftest.$ac_ext <<_ACEOF
35072 /* confdefs.h. */
35073 _ACEOF
35074 cat confdefs.h >>conftest.$ac_ext
35075 cat >>conftest.$ac_ext <<_ACEOF
35076 /* end confdefs.h. */
35077
35078 #include <stdio.h>
35079 #include <stdarg.h>
35080 #ifdef __MSL__
35081 #if __MSL__ >= 0x6000
35082 namespace std {}
35083 using namespace std;
35084 #endif
35085 #endif
35086
35087 int
35088 main ()
35089 {
35090
35091 char *buf;
35092 snprintf(buf, 10u, "%s", "wx");
35093
35094 ;
35095 return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35100 (eval $ac_compile) 2>conftest.er1
35101 ac_status=$?
35102 grep -v '^ *+' conftest.er1 >conftest.err
35103 rm -f conftest.er1
35104 cat conftest.err >&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35110 ac_status=$?
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; } &&
35113 { ac_try='test -s conftest.$ac_objext'
35114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35115 (eval $ac_try) 2>&5
35116 ac_status=$?
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); }; }; then
35119 wx_cv_func_snprintf_decl=yes
35120 else
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.$ac_ext >&5
35123
35124 wx_cv_func_snprintf_decl=no
35125
35126 fi
35127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35128
35129
35130 fi
35131 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35132 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35133
35134 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35135 cat >>confdefs.h <<\_ACEOF
35136 #define HAVE_SNPRINTF_DECL 1
35137 _ACEOF
35138
35139
35140 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35141 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35142 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35144 else
35145
35146 cat >conftest.$ac_ext <<_ACEOF
35147 /* confdefs.h. */
35148 _ACEOF
35149 cat confdefs.h >>conftest.$ac_ext
35150 cat >>conftest.$ac_ext <<_ACEOF
35151 /* end confdefs.h. */
35152
35153 #include <stdio.h>
35154 #include <stdarg.h>
35155 #ifdef __MSL__
35156 #if __MSL__ >= 0x6000
35157 namespace std {}
35158 using namespace std;
35159 #endif
35160 #endif
35161
35162 int
35163 main ()
35164 {
35165
35166 char *buf;
35167 const char *fmt = "%s";
35168 snprintf(buf, 10u, fmt, "wx");
35169
35170 ;
35171 return 0;
35172 }
35173 _ACEOF
35174 rm -f conftest.$ac_objext
35175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35176 (eval $ac_compile) 2>conftest.er1
35177 ac_status=$?
35178 grep -v '^ *+' conftest.er1 >conftest.err
35179 rm -f conftest.er1
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } &&
35183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35185 (eval $ac_try) 2>&5
35186 ac_status=$?
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); }; } &&
35189 { ac_try='test -s conftest.$ac_objext'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35192 ac_status=$?
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; }; then
35195 wx_cv_func_broken_snprintf_decl=no
35196 else
35197 echo "$as_me: failed program was:" >&5
35198 sed 's/^/| /' conftest.$ac_ext >&5
35199
35200 wx_cv_func_broken_snprintf_decl=yes
35201
35202 fi
35203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35204
35205
35206 fi
35207 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35208 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35209
35210 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35211 cat >>confdefs.h <<\_ACEOF
35212 #define HAVE_BROKEN_SNPRINTF_DECL 1
35213 _ACEOF
35214
35215 fi
35216 fi
35217
35218 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35219
35220 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35221 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35222 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35223 echo $ECHO_N "(cached) $ECHO_C" >&6
35224 else
35225
35226 if test "$cross_compiling" = yes; then
35227
35228 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35229 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35230 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35231 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35232 wx_cv_func_snprintf_pos_params=no
35233
35234
35235 else
35236 cat >conftest.$ac_ext <<_ACEOF
35237 /* confdefs.h. */
35238 _ACEOF
35239 cat confdefs.h >>conftest.$ac_ext
35240 cat >>conftest.$ac_ext <<_ACEOF
35241 /* end confdefs.h. */
35242
35243 #include <stdio.h>
35244
35245 int main (void)
35246 {
35247 char buffer[128];
35248 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35249 if (strcmp ("2 3 1", buffer) == 0)
35250 exit (0);
35251 exit (1);
35252 }
35253
35254 _ACEOF
35255 rm -f conftest$ac_exeext
35256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35257 (eval $ac_link) 2>&5
35258 ac_status=$?
35259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35263 ac_status=$?
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; }; then
35266 wx_cv_func_snprintf_pos_params=no
35267 else
35268 echo "$as_me: program exited with status $ac_status" >&5
35269 echo "$as_me: failed program was:" >&5
35270 sed 's/^/| /' conftest.$ac_ext >&5
35271
35272 ( exit $ac_status )
35273 wx_cv_func_snprintf_pos_params=yes
35274 fi
35275 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35276 fi
35277
35278
35279 fi
35280 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35281 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35282
35283 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35284 cat >>confdefs.h <<\_ACEOF
35285 #define HAVE_UNIX98_PRINTF 1
35286 _ACEOF
35287
35288 fi
35289 fi
35290 fi
35291
35292 if test "$wxUSE_UNICODE" = yes; then
35293
35294
35295 for ac_func in swprintf
35296 do
35297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35298 echo "$as_me:$LINENO: checking for $ac_func" >&5
35299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35300 if eval "test \"\${$as_ac_var+set}\" = set"; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35302 else
35303 cat >conftest.$ac_ext <<_ACEOF
35304 /* confdefs.h. */
35305 _ACEOF
35306 cat confdefs.h >>conftest.$ac_ext
35307 cat >>conftest.$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35311 #define $ac_func innocuous_$ac_func
35312
35313 /* System header to define __stub macros and hopefully few prototypes,
35314 which can conflict with char $ac_func (); below.
35315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35316 <limits.h> exists even on freestanding compilers. */
35317
35318 #ifdef __STDC__
35319 # include <limits.h>
35320 #else
35321 # include <assert.h>
35322 #endif
35323
35324 #undef $ac_func
35325
35326 /* Override any gcc2 internal prototype to avoid an error. */
35327 #ifdef __cplusplus
35328 extern "C"
35329 {
35330 #endif
35331 /* We use char because int might match the return type of a gcc2
35332 builtin and then its argument prototype would still apply. */
35333 char $ac_func ();
35334 /* The GNU C library defines this for functions which it implements
35335 to always fail with ENOSYS. Some functions are actually named
35336 something starting with __ and the normal name is an alias. */
35337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35338 choke me
35339 #else
35340 char (*f) () = $ac_func;
35341 #endif
35342 #ifdef __cplusplus
35343 }
35344 #endif
35345
35346 int
35347 main ()
35348 {
35349 return f != $ac_func;
35350 ;
35351 return 0;
35352 }
35353 _ACEOF
35354 rm -f conftest.$ac_objext conftest$ac_exeext
35355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35356 (eval $ac_link) 2>conftest.er1
35357 ac_status=$?
35358 grep -v '^ *+' conftest.er1 >conftest.err
35359 rm -f conftest.er1
35360 cat conftest.err >&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); } &&
35363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35366 ac_status=$?
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; } &&
35369 { ac_try='test -s conftest$ac_exeext'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35372 ac_status=$?
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; }; then
35375 eval "$as_ac_var=yes"
35376 else
35377 echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 eval "$as_ac_var=no"
35381 fi
35382 rm -f conftest.err conftest.$ac_objext \
35383 conftest$ac_exeext conftest.$ac_ext
35384 fi
35385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35387 if test `eval echo '${'$as_ac_var'}'` = yes; then
35388 cat >>confdefs.h <<_ACEOF
35389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35390 _ACEOF
35391
35392 fi
35393 done
35394
35395
35396 if test "$ac_cv_func_swprintf" = "yes"; then
35397 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35398 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35399 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402
35403 cat >conftest.$ac_ext <<_ACEOF
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409
35410 #include <stdio.h>
35411 #include <stdarg.h>
35412 #include <wchar.h>
35413
35414 int
35415 main ()
35416 {
35417
35418 wchar_t *buf;
35419 const wchar_t *fmt = L"test";
35420 swprintf(buf, 10u, fmt);
35421
35422 ;
35423 return 0;
35424 }
35425 _ACEOF
35426 rm -f conftest.$ac_objext
35427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35428 (eval $ac_compile) 2>conftest.er1
35429 ac_status=$?
35430 grep -v '^ *+' conftest.er1 >conftest.err
35431 rm -f conftest.er1
35432 cat conftest.err >&5
35433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35434 (exit $ac_status); } &&
35435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35437 (eval $ac_try) 2>&5
35438 ac_status=$?
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); }; } &&
35441 { ac_try='test -s conftest.$ac_objext'
35442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35443 (eval $ac_try) 2>&5
35444 ac_status=$?
35445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35446 (exit $ac_status); }; }; then
35447 wx_cv_func_broken_swprintf_decl=no
35448 else
35449 echo "$as_me: failed program was:" >&5
35450 sed 's/^/| /' conftest.$ac_ext >&5
35451
35452 wx_cv_func_broken_swprintf_decl=yes
35453
35454 fi
35455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35456
35457
35458 fi
35459 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35460 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35461
35462 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35463 cat >>confdefs.h <<\_ACEOF
35464 #define HAVE_BROKEN_SWPRINTF_DECL 1
35465 _ACEOF
35466
35467 fi
35468 fi
35469
35470
35471
35472
35473
35474
35475
35476 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35477 do
35478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35479 echo "$as_me:$LINENO: checking for $ac_func" >&5
35480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35481 if eval "test \"\${$as_ac_var+set}\" = set"; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35483 else
35484 cat >conftest.$ac_ext <<_ACEOF
35485 /* confdefs.h. */
35486 _ACEOF
35487 cat confdefs.h >>conftest.$ac_ext
35488 cat >>conftest.$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35492 #define $ac_func innocuous_$ac_func
35493
35494 /* System header to define __stub macros and hopefully few prototypes,
35495 which can conflict with char $ac_func (); below.
35496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35497 <limits.h> exists even on freestanding compilers. */
35498
35499 #ifdef __STDC__
35500 # include <limits.h>
35501 #else
35502 # include <assert.h>
35503 #endif
35504
35505 #undef $ac_func
35506
35507 /* Override any gcc2 internal prototype to avoid an error. */
35508 #ifdef __cplusplus
35509 extern "C"
35510 {
35511 #endif
35512 /* We use char because int might match the return type of a gcc2
35513 builtin and then its argument prototype would still apply. */
35514 char $ac_func ();
35515 /* The GNU C library defines this for functions which it implements
35516 to always fail with ENOSYS. Some functions are actually named
35517 something starting with __ and the normal name is an alias. */
35518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35519 choke me
35520 #else
35521 char (*f) () = $ac_func;
35522 #endif
35523 #ifdef __cplusplus
35524 }
35525 #endif
35526
35527 int
35528 main ()
35529 {
35530 return f != $ac_func;
35531 ;
35532 return 0;
35533 }
35534 _ACEOF
35535 rm -f conftest.$ac_objext conftest$ac_exeext
35536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35537 (eval $ac_link) 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } &&
35544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35546 (eval $ac_try) 2>&5
35547 ac_status=$?
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); }; } &&
35550 { ac_try='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35553 ac_status=$?
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35557 else
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35560
35561 eval "$as_ac_var=no"
35562 fi
35563 rm -f conftest.err conftest.$ac_objext \
35564 conftest$ac_exeext conftest.$ac_ext
35565 fi
35566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35568 if test `eval echo '${'$as_ac_var'}'` = yes; then
35569 cat >>confdefs.h <<_ACEOF
35570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35571 _ACEOF
35572
35573 fi
35574 done
35575
35576
35577 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35578 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35579 cat >conftest.$ac_ext <<_ACEOF
35580 /* confdefs.h. */
35581 _ACEOF
35582 cat confdefs.h >>conftest.$ac_ext
35583 cat >>conftest.$ac_ext <<_ACEOF
35584 /* end confdefs.h. */
35585 #include <wchar.h>
35586 int
35587 main ()
35588 {
35589 &_vsnwprintf;
35590 ;
35591 return 0;
35592 }
35593 _ACEOF
35594 rm -f conftest.$ac_objext
35595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35596 (eval $ac_compile) 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } &&
35603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35605 (eval $ac_try) 2>&5
35606 ac_status=$?
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); }; } &&
35609 { ac_try='test -s conftest.$ac_objext'
35610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35611 (eval $ac_try) 2>&5
35612 ac_status=$?
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); }; }; then
35615 echo "$as_me:$LINENO: result: yes" >&5
35616 echo "${ECHO_T}yes" >&6
35617 cat >>confdefs.h <<\_ACEOF
35618 #define HAVE__VSNWPRINTF 1
35619 _ACEOF
35620
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 echo "$as_me:$LINENO: result: no" >&5
35626 echo "${ECHO_T}no" >&6
35627 fi
35628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35629 fi
35630
35631 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35632
35633 for ac_func in fnmatch
35634 do
35635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35636 echo "$as_me:$LINENO: checking for $ac_func" >&5
35637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35638 if eval "test \"\${$as_ac_var+set}\" = set"; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 else
35641 cat >conftest.$ac_ext <<_ACEOF
35642 /* confdefs.h. */
35643 _ACEOF
35644 cat confdefs.h >>conftest.$ac_ext
35645 cat >>conftest.$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35649 #define $ac_func innocuous_$ac_func
35650
35651 /* System header to define __stub macros and hopefully few prototypes,
35652 which can conflict with char $ac_func (); below.
35653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35654 <limits.h> exists even on freestanding compilers. */
35655
35656 #ifdef __STDC__
35657 # include <limits.h>
35658 #else
35659 # include <assert.h>
35660 #endif
35661
35662 #undef $ac_func
35663
35664 /* Override any gcc2 internal prototype to avoid an error. */
35665 #ifdef __cplusplus
35666 extern "C"
35667 {
35668 #endif
35669 /* We use char because int might match the return type of a gcc2
35670 builtin and then its argument prototype would still apply. */
35671 char $ac_func ();
35672 /* The GNU C library defines this for functions which it implements
35673 to always fail with ENOSYS. Some functions are actually named
35674 something starting with __ and the normal name is an alias. */
35675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35676 choke me
35677 #else
35678 char (*f) () = $ac_func;
35679 #endif
35680 #ifdef __cplusplus
35681 }
35682 #endif
35683
35684 int
35685 main ()
35686 {
35687 return f != $ac_func;
35688 ;
35689 return 0;
35690 }
35691 _ACEOF
35692 rm -f conftest.$ac_objext conftest$ac_exeext
35693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35694 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
35714 else
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.$ac_ext >&5
35717
35718 eval "$as_ac_var=no"
35719 fi
35720 rm -f conftest.err conftest.$ac_objext \
35721 conftest$ac_exeext conftest.$ac_ext
35722 fi
35723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35725 if test `eval echo '${'$as_ac_var'}'` = yes; then
35726 cat >>confdefs.h <<_ACEOF
35727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35728 _ACEOF
35729
35730 fi
35731 done
35732
35733 fi
35734
35735 if test "$wxUSE_FILE" = "yes"; then
35736
35737 for ac_func in fsync
35738 do
35739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35740 echo "$as_me:$LINENO: checking for $ac_func" >&5
35741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35742 if eval "test \"\${$as_ac_var+set}\" = set"; then
35743 echo $ECHO_N "(cached) $ECHO_C" >&6
35744 else
35745 cat >conftest.$ac_ext <<_ACEOF
35746 /* confdefs.h. */
35747 _ACEOF
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35753 #define $ac_func innocuous_$ac_func
35754
35755 /* System header to define __stub macros and hopefully few prototypes,
35756 which can conflict with char $ac_func (); below.
35757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35758 <limits.h> exists even on freestanding compilers. */
35759
35760 #ifdef __STDC__
35761 # include <limits.h>
35762 #else
35763 # include <assert.h>
35764 #endif
35765
35766 #undef $ac_func
35767
35768 /* Override any gcc2 internal prototype to avoid an error. */
35769 #ifdef __cplusplus
35770 extern "C"
35771 {
35772 #endif
35773 /* We use char because int might match the return type of a gcc2
35774 builtin and then its argument prototype would still apply. */
35775 char $ac_func ();
35776 /* The GNU C library defines this for functions which it implements
35777 to always fail with ENOSYS. Some functions are actually named
35778 something starting with __ and the normal name is an alias. */
35779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35780 choke me
35781 #else
35782 char (*f) () = $ac_func;
35783 #endif
35784 #ifdef __cplusplus
35785 }
35786 #endif
35787
35788 int
35789 main ()
35790 {
35791 return f != $ac_func;
35792 ;
35793 return 0;
35794 }
35795 _ACEOF
35796 rm -f conftest.$ac_objext conftest$ac_exeext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35798 (eval $ac_link) 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 (eval $ac_try) 2>&5
35808 ac_status=$?
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); }; } &&
35811 { ac_try='test -s conftest$ac_exeext'
35812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35813 (eval $ac_try) 2>&5
35814 ac_status=$?
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); }; }; then
35817 eval "$as_ac_var=yes"
35818 else
35819 echo "$as_me: failed program was:" >&5
35820 sed 's/^/| /' conftest.$ac_ext >&5
35821
35822 eval "$as_ac_var=no"
35823 fi
35824 rm -f conftest.err conftest.$ac_objext \
35825 conftest$ac_exeext conftest.$ac_ext
35826 fi
35827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35829 if test `eval echo '${'$as_ac_var'}'` = yes; then
35830 cat >>confdefs.h <<_ACEOF
35831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35832 _ACEOF
35833
35834 fi
35835 done
35836
35837 fi
35838
35839
35840 for ac_func in round
35841 do
35842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35843 echo "$as_me:$LINENO: checking for $ac_func" >&5
35844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35845 if eval "test \"\${$as_ac_var+set}\" = set"; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35847 else
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35856 #define $ac_func innocuous_$ac_func
35857
35858 /* System header to define __stub macros and hopefully few prototypes,
35859 which can conflict with char $ac_func (); below.
35860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35861 <limits.h> exists even on freestanding compilers. */
35862
35863 #ifdef __STDC__
35864 # include <limits.h>
35865 #else
35866 # include <assert.h>
35867 #endif
35868
35869 #undef $ac_func
35870
35871 /* Override any gcc2 internal prototype to avoid an error. */
35872 #ifdef __cplusplus
35873 extern "C"
35874 {
35875 #endif
35876 /* We use char because int might match the return type of a gcc2
35877 builtin and then its argument prototype would still apply. */
35878 char $ac_func ();
35879 /* The GNU C library defines this for functions which it implements
35880 to always fail with ENOSYS. Some functions are actually named
35881 something starting with __ and the normal name is an alias. */
35882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35883 choke me
35884 #else
35885 char (*f) () = $ac_func;
35886 #endif
35887 #ifdef __cplusplus
35888 }
35889 #endif
35890
35891 int
35892 main ()
35893 {
35894 return f != $ac_func;
35895 ;
35896 return 0;
35897 }
35898 _ACEOF
35899 rm -f conftest.$ac_objext conftest$ac_exeext
35900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35901 (eval $ac_link) 2>conftest.er1
35902 ac_status=$?
35903 grep -v '^ *+' conftest.er1 >conftest.err
35904 rm -f conftest.er1
35905 cat conftest.err >&5
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); } &&
35908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; } &&
35914 { ac_try='test -s conftest$ac_exeext'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35917 ac_status=$?
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; }; then
35920 eval "$as_ac_var=yes"
35921 else
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35924
35925 eval "$as_ac_var=no"
35926 fi
35927 rm -f conftest.err conftest.$ac_objext \
35928 conftest$ac_exeext conftest.$ac_ext
35929 fi
35930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35932 if test `eval echo '${'$as_ac_var'}'` = yes; then
35933 cat >>confdefs.h <<_ACEOF
35934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35935 _ACEOF
35936
35937 fi
35938 done
35939
35940 if test "$ac_cv_func_round" = yes; then
35941 echo "$as_me:$LINENO: checking whether round is declared" >&5
35942 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35943 if test "${ac_cv_have_decl_round+set}" = set; then
35944 echo $ECHO_N "(cached) $ECHO_C" >&6
35945 else
35946 cat >conftest.$ac_ext <<_ACEOF
35947 /* confdefs.h. */
35948 _ACEOF
35949 cat confdefs.h >>conftest.$ac_ext
35950 cat >>conftest.$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35952 #include <math.h>
35953
35954 int
35955 main ()
35956 {
35957 #ifndef round
35958 char *p = (char *) round;
35959 #endif
35960
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35977 ac_status=$?
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try='test -s conftest.$ac_objext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35983 ac_status=$?
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35986 ac_cv_have_decl_round=yes
35987 else
35988 echo "$as_me: failed program was:" >&5
35989 sed 's/^/| /' conftest.$ac_ext >&5
35990
35991 ac_cv_have_decl_round=no
35992 fi
35993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35994 fi
35995 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35996 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35997 if test $ac_cv_have_decl_round = yes; then
35998
35999 cat >>confdefs.h <<_ACEOF
36000 #define HAVE_DECL_ROUND 1
36001 _ACEOF
36002
36003
36004 else
36005 cat >>confdefs.h <<_ACEOF
36006 #define HAVE_DECL_ROUND 0
36007 _ACEOF
36008
36009
36010 fi
36011
36012
36013 fi
36014
36015
36016 if test "$TOOLKIT" != "MSW"; then
36017
36018
36019
36020
36021
36022 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36023 if test "${with_libiconv_prefix+set}" = set; then
36024 withval="$with_libiconv_prefix"
36025
36026 for dir in `echo "$withval" | tr : ' '`; do
36027 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36028 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36029 done
36030
36031 fi;
36032
36033 echo "$as_me:$LINENO: checking for iconv" >&5
36034 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36035 if test "${am_cv_func_iconv+set}" = set; then
36036 echo $ECHO_N "(cached) $ECHO_C" >&6
36037 else
36038
36039 am_cv_func_iconv="no, consider installing GNU libiconv"
36040 am_cv_lib_iconv=no
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 #include <stdlib.h>
36048 #include <iconv.h>
36049 int
36050 main ()
36051 {
36052 iconv_t cd = iconv_open("","");
36053 iconv(cd,NULL,NULL,NULL,NULL);
36054 iconv_close(cd);
36055 ;
36056 return 0;
36057 }
36058 _ACEOF
36059 rm -f conftest.$ac_objext conftest$ac_exeext
36060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36061 (eval $ac_link) 2>conftest.er1
36062 ac_status=$?
36063 grep -v '^ *+' conftest.er1 >conftest.err
36064 rm -f conftest.er1
36065 cat conftest.err >&5
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } &&
36068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; } &&
36074 { ac_try='test -s conftest$ac_exeext'
36075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36076 (eval $ac_try) 2>&5
36077 ac_status=$?
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); }; }; then
36080 am_cv_func_iconv=yes
36081 else
36082 echo "$as_me: failed program was:" >&5
36083 sed 's/^/| /' conftest.$ac_ext >&5
36084
36085 fi
36086 rm -f conftest.err conftest.$ac_objext \
36087 conftest$ac_exeext conftest.$ac_ext
36088 if test "$am_cv_func_iconv" != yes; then
36089 am_save_LIBS="$LIBS"
36090 LIBS="$LIBS -liconv"
36091 cat >conftest.$ac_ext <<_ACEOF
36092 /* confdefs.h. */
36093 _ACEOF
36094 cat confdefs.h >>conftest.$ac_ext
36095 cat >>conftest.$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 #include <stdlib.h>
36098 #include <iconv.h>
36099 int
36100 main ()
36101 {
36102 iconv_t cd = iconv_open("","");
36103 iconv(cd,NULL,NULL,NULL,NULL);
36104 iconv_close(cd);
36105 ;
36106 return 0;
36107 }
36108 _ACEOF
36109 rm -f conftest.$ac_objext conftest$ac_exeext
36110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36111 (eval $ac_link) 2>conftest.er1
36112 ac_status=$?
36113 grep -v '^ *+' conftest.er1 >conftest.err
36114 rm -f conftest.er1
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36121 ac_status=$?
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; } &&
36124 { ac_try='test -s conftest$ac_exeext'
36125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36126 (eval $ac_try) 2>&5
36127 ac_status=$?
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); }; }; then
36130 am_cv_lib_iconv=yes
36131 am_cv_func_iconv=yes
36132 else
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36135
36136 fi
36137 rm -f conftest.err conftest.$ac_objext \
36138 conftest$ac_exeext conftest.$ac_ext
36139 LIBS="$am_save_LIBS"
36140 fi
36141
36142 fi
36143 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36144 echo "${ECHO_T}$am_cv_func_iconv" >&6
36145 if test "$am_cv_func_iconv" = yes; then
36146
36147 cat >>confdefs.h <<\_ACEOF
36148 #define HAVE_ICONV 1
36149 _ACEOF
36150
36151 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36152 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36153 if test "${wx_cv_func_iconv_const+set}" = set; then
36154 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 else
36156 cat >conftest.$ac_ext <<_ACEOF
36157 /* confdefs.h. */
36158 _ACEOF
36159 cat confdefs.h >>conftest.$ac_ext
36160 cat >>conftest.$ac_ext <<_ACEOF
36161 /* end confdefs.h. */
36162
36163 #include <stdlib.h>
36164 #include <iconv.h>
36165 extern
36166 #ifdef __cplusplus
36167 "C"
36168 #endif
36169 #if defined(__STDC__) || defined(__cplusplus)
36170 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36171 #else
36172 size_t iconv();
36173 #endif
36174
36175 int
36176 main ()
36177 {
36178
36179 ;
36180 return 0;
36181 }
36182 _ACEOF
36183 rm -f conftest.$ac_objext
36184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36185 (eval $ac_compile) 2>conftest.er1
36186 ac_status=$?
36187 grep -v '^ *+' conftest.er1 >conftest.err
36188 rm -f conftest.er1
36189 cat conftest.err >&5
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); } &&
36192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36194 (eval $ac_try) 2>&5
36195 ac_status=$?
36196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 (exit $ac_status); }; } &&
36198 { ac_try='test -s conftest.$ac_objext'
36199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36200 (eval $ac_try) 2>&5
36201 ac_status=$?
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); }; }; then
36204 wx_cv_func_iconv_const="no"
36205 else
36206 echo "$as_me: failed program was:" >&5
36207 sed 's/^/| /' conftest.$ac_ext >&5
36208
36209 wx_cv_func_iconv_const="yes"
36210
36211 fi
36212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36213
36214 fi
36215 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36216 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36217
36218 iconv_const=
36219 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36220 iconv_const="const"
36221 fi
36222
36223
36224 cat >>confdefs.h <<_ACEOF
36225 #define ICONV_CONST $iconv_const
36226 _ACEOF
36227
36228 fi
36229 LIBICONV=
36230 if test "$am_cv_lib_iconv" = yes; then
36231 LIBICONV="-liconv"
36232 fi
36233
36234
36235 LIBS="$LIBICONV $LIBS"
36236
36237 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36238
36239 for ac_func in sigaction
36240 do
36241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36242 echo "$as_me:$LINENO: checking for $ac_func" >&5
36243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36244 if eval "test \"\${$as_ac_var+set}\" = set"; then
36245 echo $ECHO_N "(cached) $ECHO_C" >&6
36246 else
36247 cat >conftest.$ac_ext <<_ACEOF
36248 /* confdefs.h. */
36249 _ACEOF
36250 cat confdefs.h >>conftest.$ac_ext
36251 cat >>conftest.$ac_ext <<_ACEOF
36252 /* end confdefs.h. */
36253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36255 #define $ac_func innocuous_$ac_func
36256
36257 /* System header to define __stub macros and hopefully few prototypes,
36258 which can conflict with char $ac_func (); below.
36259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36260 <limits.h> exists even on freestanding compilers. */
36261
36262 #ifdef __STDC__
36263 # include <limits.h>
36264 #else
36265 # include <assert.h>
36266 #endif
36267
36268 #undef $ac_func
36269
36270 /* Override any gcc2 internal prototype to avoid an error. */
36271 #ifdef __cplusplus
36272 extern "C"
36273 {
36274 #endif
36275 /* We use char because int might match the return type of a gcc2
36276 builtin and then its argument prototype would still apply. */
36277 char $ac_func ();
36278 /* The GNU C library defines this for functions which it implements
36279 to always fail with ENOSYS. Some functions are actually named
36280 something starting with __ and the normal name is an alias. */
36281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36282 choke me
36283 #else
36284 char (*f) () = $ac_func;
36285 #endif
36286 #ifdef __cplusplus
36287 }
36288 #endif
36289
36290 int
36291 main ()
36292 {
36293 return f != $ac_func;
36294 ;
36295 return 0;
36296 }
36297 _ACEOF
36298 rm -f conftest.$ac_objext conftest$ac_exeext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36300 (eval $ac_link) 2>conftest.er1
36301 ac_status=$?
36302 grep -v '^ *+' conftest.er1 >conftest.err
36303 rm -f conftest.er1
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36310 ac_status=$?
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try='test -s conftest$ac_exeext'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; }; then
36319 eval "$as_ac_var=yes"
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 eval "$as_ac_var=no"
36325 fi
36326 rm -f conftest.err conftest.$ac_objext \
36327 conftest$ac_exeext conftest.$ac_ext
36328 fi
36329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36331 if test `eval echo '${'$as_ac_var'}'` = yes; then
36332 cat >>confdefs.h <<_ACEOF
36333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36334 _ACEOF
36335
36336 fi
36337 done
36338
36339
36340 if test "$ac_cv_func_sigaction" = "no"; then
36341 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36342 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36343 wxUSE_ON_FATAL_EXCEPTION=no
36344 fi
36345
36346 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36347 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36348 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36349 if test "${wx_cv_type_sa_handler+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 else
36352
36353 cat >conftest.$ac_ext <<_ACEOF
36354 /* confdefs.h. */
36355 _ACEOF
36356 cat confdefs.h >>conftest.$ac_ext
36357 cat >>conftest.$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36359 #include <signal.h>
36360 int
36361 main ()
36362 {
36363
36364 extern void testSigHandler(int);
36365
36366 struct sigaction sa;
36367 sa.sa_handler = testSigHandler;
36368
36369 ;
36370 return 0;
36371 }
36372 _ACEOF
36373 rm -f conftest.$ac_objext
36374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36375 (eval $ac_compile) 2>conftest.er1
36376 ac_status=$?
36377 grep -v '^ *+' conftest.er1 >conftest.err
36378 rm -f conftest.er1
36379 cat conftest.err >&5
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); } &&
36382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36384 (eval $ac_try) 2>&5
36385 ac_status=$?
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); }; } &&
36388 { ac_try='test -s conftest.$ac_objext'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36391 ac_status=$?
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; }; then
36394
36395 wx_cv_type_sa_handler=int
36396
36397 else
36398 echo "$as_me: failed program was:" >&5
36399 sed 's/^/| /' conftest.$ac_ext >&5
36400
36401
36402 wx_cv_type_sa_handler=void
36403
36404 fi
36405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36406
36407 fi
36408 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36409 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36410
36411 cat >>confdefs.h <<_ACEOF
36412 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36413 _ACEOF
36414
36415 fi
36416 fi
36417
36418 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36419 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36420 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36421 if test "${wx_cv_func_backtrace+set}" = set; then
36422 echo $ECHO_N "(cached) $ECHO_C" >&6
36423 else
36424
36425 cat >conftest.$ac_ext <<_ACEOF
36426 /* confdefs.h. */
36427 _ACEOF
36428 cat confdefs.h >>conftest.$ac_ext
36429 cat >>conftest.$ac_ext <<_ACEOF
36430 /* end confdefs.h. */
36431 #include <execinfo.h>
36432 int
36433 main ()
36434 {
36435
36436 void *trace[1];
36437 char **messages;
36438
36439 backtrace(trace, 1);
36440 messages = backtrace_symbols(trace, 1);
36441
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext
36447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36448 (eval $ac_compile) 2>conftest.er1
36449 ac_status=$?
36450 grep -v '^ *+' conftest.er1 >conftest.err
36451 rm -f conftest.er1
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } &&
36455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36458 ac_status=$?
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; } &&
36461 { ac_try='test -s conftest.$ac_objext'
36462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36463 (eval $ac_try) 2>&5
36464 ac_status=$?
36465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36466 (exit $ac_status); }; }; then
36467 wx_cv_func_backtrace=yes
36468 else
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.$ac_ext >&5
36471
36472 wx_cv_func_backtrace=no
36473
36474 fi
36475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36476
36477
36478 fi
36479 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36480 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36481
36482
36483 if test "$wx_cv_func_backtrace" = "no"; then
36484 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36485 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36486 wxUSE_STACKWALKER=no
36487 else
36488 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36489 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36490 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36491 echo $ECHO_N "(cached) $ECHO_C" >&6
36492 else
36493
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500 #include <cxxabi.h>
36501 int
36502 main ()
36503 {
36504
36505 int rc;
36506 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36507
36508 ;
36509 return 0;
36510 }
36511 _ACEOF
36512 rm -f conftest.$ac_objext conftest$ac_exeext
36513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36514 (eval $ac_link) 2>conftest.er1
36515 ac_status=$?
36516 grep -v '^ *+' conftest.er1 >conftest.err
36517 rm -f conftest.er1
36518 cat conftest.err >&5
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); } &&
36521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36524 ac_status=$?
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; } &&
36527 { ac_try='test -s conftest$ac_exeext'
36528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529 (eval $ac_try) 2>&5
36530 ac_status=$?
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); }; }; then
36533 wx_cv_func_cxa_demangle=yes
36534 else
36535 echo "$as_me: failed program was:" >&5
36536 sed 's/^/| /' conftest.$ac_ext >&5
36537
36538 wx_cv_func_cxa_demangle=no
36539
36540 fi
36541 rm -f conftest.err conftest.$ac_objext \
36542 conftest$ac_exeext conftest.$ac_ext
36543
36544
36545 fi
36546 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36547 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36548
36549 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36550 cat >>confdefs.h <<\_ACEOF
36551 #define HAVE_CXA_DEMANGLE 1
36552 _ACEOF
36553
36554 fi
36555 fi
36556 fi
36557
36558 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36559 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36560 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36561 wxUSE_STACKWALKER=no
36562 fi
36563
36564
36565
36566
36567 for ac_func in mkstemp mktemp
36568 do
36569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36572 if eval "test \"\${$as_ac_var+set}\" = set"; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36574 else
36575 cat >conftest.$ac_ext <<_ACEOF
36576 /* confdefs.h. */
36577 _ACEOF
36578 cat confdefs.h >>conftest.$ac_ext
36579 cat >>conftest.$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36583 #define $ac_func innocuous_$ac_func
36584
36585 /* System header to define __stub macros and hopefully few prototypes,
36586 which can conflict with char $ac_func (); below.
36587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36588 <limits.h> exists even on freestanding compilers. */
36589
36590 #ifdef __STDC__
36591 # include <limits.h>
36592 #else
36593 # include <assert.h>
36594 #endif
36595
36596 #undef $ac_func
36597
36598 /* Override any gcc2 internal prototype to avoid an error. */
36599 #ifdef __cplusplus
36600 extern "C"
36601 {
36602 #endif
36603 /* We use char because int might match the return type of a gcc2
36604 builtin and then its argument prototype would still apply. */
36605 char $ac_func ();
36606 /* The GNU C library defines this for functions which it implements
36607 to always fail with ENOSYS. Some functions are actually named
36608 something starting with __ and the normal name is an alias. */
36609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36610 choke me
36611 #else
36612 char (*f) () = $ac_func;
36613 #endif
36614 #ifdef __cplusplus
36615 }
36616 #endif
36617
36618 int
36619 main ()
36620 {
36621 return f != $ac_func;
36622 ;
36623 return 0;
36624 }
36625 _ACEOF
36626 rm -f conftest.$ac_objext conftest$ac_exeext
36627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36628 (eval $ac_link) 2>conftest.er1
36629 ac_status=$?
36630 grep -v '^ *+' conftest.er1 >conftest.err
36631 rm -f conftest.er1
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } &&
36635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36638 ac_status=$?
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; } &&
36641 { ac_try='test -s conftest$ac_exeext'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36644 ac_status=$?
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; }; then
36647 eval "$as_ac_var=yes"
36648 else
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36651
36652 eval "$as_ac_var=no"
36653 fi
36654 rm -f conftest.err conftest.$ac_objext \
36655 conftest$ac_exeext conftest.$ac_ext
36656 fi
36657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36659 if test `eval echo '${'$as_ac_var'}'` = yes; then
36660 cat >>confdefs.h <<_ACEOF
36661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36662 _ACEOF
36663 break
36664 fi
36665 done
36666
36667
36668 echo "$as_me:$LINENO: checking for statfs" >&5
36669 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36670 if test "${wx_cv_func_statfs+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
36680 #if defined(__BSD__)
36681 #include <sys/param.h>
36682 #include <sys/mount.h>
36683 #else
36684 #include <sys/vfs.h>
36685 #endif
36686
36687 int
36688 main ()
36689 {
36690
36691 long l;
36692 struct statfs fs;
36693 statfs("/", &fs);
36694 l = fs.f_bsize;
36695 l += fs.f_blocks;
36696 l += fs.f_bavail;
36697
36698 ;
36699 return 0;
36700 }
36701 _ACEOF
36702 rm -f conftest.$ac_objext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36704 (eval $ac_compile) 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36714 ac_status=$?
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try='test -s conftest.$ac_objext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 wx_cv_func_statfs=yes
36724 else
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.$ac_ext >&5
36727
36728 wx_cv_func_statfs=no
36729
36730 fi
36731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36732
36733 fi
36734 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36735 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36736
36737 if test "$wx_cv_func_statfs" = "yes"; then
36738 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36739 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36740 if test "${wx_cv_func_statfs_decl+set}" = set; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749
36750 #if defined(__BSD__)
36751 #include <sys/param.h>
36752 #include <sys/mount.h>
36753 #else
36754 #include <sys/vfs.h>
36755 #endif
36756
36757 int
36758 main ()
36759 {
36760
36761 struct statfs fs;
36762 statfs("", &fs);
36763
36764 ;
36765 return 0;
36766 }
36767 _ACEOF
36768 rm -f conftest.$ac_objext
36769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36770 (eval $ac_compile) 2>conftest.er1
36771 ac_status=$?
36772 grep -v '^ *+' conftest.er1 >conftest.err
36773 rm -f conftest.er1
36774 cat conftest.err >&5
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); } &&
36777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36780 ac_status=$?
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; } &&
36783 { ac_try='test -s conftest.$ac_objext'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36786 ac_status=$?
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; }; then
36789 wx_cv_func_statfs_decl=yes
36790 else
36791 echo "$as_me: failed program was:" >&5
36792 sed 's/^/| /' conftest.$ac_ext >&5
36793
36794 wx_cv_func_statfs_decl=no
36795
36796 fi
36797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36798
36799 fi
36800 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36801 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36802
36803 if test "$wx_cv_func_statfs_decl" = "yes"; then
36804 cat >>confdefs.h <<\_ACEOF
36805 #define HAVE_STATFS_DECL 1
36806 _ACEOF
36807
36808 fi
36809
36810 wx_cv_type_statvfs_t="struct statfs"
36811 cat >>confdefs.h <<\_ACEOF
36812 #define HAVE_STATFS 1
36813 _ACEOF
36814
36815 else
36816 echo "$as_me:$LINENO: checking for statvfs" >&5
36817 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36818 if test "${wx_cv_func_statvfs+set}" = set; then
36819 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 else
36821 cat >conftest.$ac_ext <<_ACEOF
36822 /* confdefs.h. */
36823 _ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36827
36828 #include <stddef.h>
36829 #include <sys/statvfs.h>
36830
36831 int
36832 main ()
36833 {
36834
36835 statvfs("/", NULL);
36836
36837 ;
36838 return 0;
36839 }
36840 _ACEOF
36841 rm -f conftest.$ac_objext
36842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36843 (eval $ac_compile) 2>conftest.er1
36844 ac_status=$?
36845 grep -v '^ *+' conftest.er1 >conftest.err
36846 rm -f conftest.er1
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } &&
36850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36853 ac_status=$?
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try='test -s conftest.$ac_objext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 wx_cv_func_statvfs=yes
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 wx_cv_func_statvfs=no
36868
36869 fi
36870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36871
36872 fi
36873 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36874 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36875
36876 if test "$wx_cv_func_statvfs" = "yes"; then
36877 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36878 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36879 if test "${wx_cv_type_statvfs_t+set}" = set; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36881 else
36882 cat >conftest.$ac_ext <<_ACEOF
36883 /* confdefs.h. */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h. */
36888
36889 #include <sys/statvfs.h>
36890
36891 int
36892 main ()
36893 {
36894
36895 long l;
36896 statvfs_t fs;
36897 statvfs("/", &fs);
36898 l = fs.f_bsize;
36899 l += fs.f_blocks;
36900 l += fs.f_bavail;
36901
36902 ;
36903 return 0;
36904 }
36905 _ACEOF
36906 rm -f conftest.$ac_objext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36908 (eval $ac_compile) 2>conftest.er1
36909 ac_status=$?
36910 grep -v '^ *+' conftest.er1 >conftest.err
36911 rm -f conftest.er1
36912 cat conftest.err >&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36918 ac_status=$?
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try='test -s conftest.$ac_objext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 wx_cv_type_statvfs_t=statvfs_t
36928 else
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.$ac_ext >&5
36931
36932
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939
36940 #include <sys/statvfs.h>
36941
36942 int
36943 main ()
36944 {
36945
36946 long l;
36947 struct statvfs fs;
36948 statvfs("/", &fs);
36949 l = fs.f_bsize;
36950 l += fs.f_blocks;
36951 l += fs.f_bavail;
36952
36953 ;
36954 return 0;
36955 }
36956 _ACEOF
36957 rm -f conftest.$ac_objext
36958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36959 (eval $ac_compile) 2>conftest.er1
36960 ac_status=$?
36961 grep -v '^ *+' conftest.er1 >conftest.err
36962 rm -f conftest.er1
36963 cat conftest.err >&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } &&
36966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36969 ac_status=$?
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36975 ac_status=$?
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978 wx_cv_type_statvfs_t="struct statvfs"
36979 else
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.$ac_ext >&5
36982
36983 wx_cv_type_statvfs_t="unknown"
36984
36985 fi
36986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36987
36988
36989 fi
36990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36991
36992 fi
36993 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36995
36996 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36997 cat >>confdefs.h <<\_ACEOF
36998 #define HAVE_STATVFS 1
36999 _ACEOF
37000
37001 fi
37002 else
37003 wx_cv_type_statvfs_t="unknown"
37004 fi
37005 fi
37006
37007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37008 cat >>confdefs.h <<_ACEOF
37009 #define WX_STATFS_T $wx_cv_type_statvfs_t
37010 _ACEOF
37011
37012 else
37013 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37014 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37015 fi
37016
37017 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37018
37019
37020 for ac_func in fcntl flock
37021 do
37022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37023 echo "$as_me:$LINENO: checking for $ac_func" >&5
37024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37025 if eval "test \"\${$as_ac_var+set}\" = set"; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37037
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37042
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37048
37049 #undef $ac_func
37050
37051 /* Override any gcc2 internal prototype to avoid an error. */
37052 #ifdef __cplusplus
37053 extern "C"
37054 {
37055 #endif
37056 /* We use char because int might match the return type of a gcc2
37057 builtin and then its argument prototype would still apply. */
37058 char $ac_func ();
37059 /* The GNU C library defines this for functions which it implements
37060 to always fail with ENOSYS. Some functions are actually named
37061 something starting with __ and the normal name is an alias. */
37062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37063 choke me
37064 #else
37065 char (*f) () = $ac_func;
37066 #endif
37067 #ifdef __cplusplus
37068 }
37069 #endif
37070
37071 int
37072 main ()
37073 {
37074 return f != $ac_func;
37075 ;
37076 return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext conftest$ac_exeext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37081 (eval $ac_link) 2>conftest.er1
37082 ac_status=$?
37083 grep -v '^ *+' conftest.er1 >conftest.err
37084 rm -f conftest.er1
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } &&
37088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37090 (eval $ac_try) 2>&5
37091 ac_status=$?
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); }; } &&
37094 { ac_try='test -s conftest$ac_exeext'
37095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37096 (eval $ac_try) 2>&5
37097 ac_status=$?
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); }; }; then
37100 eval "$as_ac_var=yes"
37101 else
37102 echo "$as_me: failed program was:" >&5
37103 sed 's/^/| /' conftest.$ac_ext >&5
37104
37105 eval "$as_ac_var=no"
37106 fi
37107 rm -f conftest.err conftest.$ac_objext \
37108 conftest$ac_exeext conftest.$ac_ext
37109 fi
37110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37112 if test `eval echo '${'$as_ac_var'}'` = yes; then
37113 cat >>confdefs.h <<_ACEOF
37114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37115 _ACEOF
37116 break
37117 fi
37118 done
37119
37120
37121 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37122 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37123 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37124 wxUSE_SNGLINST_CHECKER=no
37125 fi
37126 fi
37127
37128
37129 for ac_func in timegm
37130 do
37131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37132 echo "$as_me:$LINENO: checking for $ac_func" >&5
37133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37134 if eval "test \"\${$as_ac_var+set}\" = set"; then
37135 echo $ECHO_N "(cached) $ECHO_C" >&6
37136 else
37137 cat >conftest.$ac_ext <<_ACEOF
37138 /* confdefs.h. */
37139 _ACEOF
37140 cat confdefs.h >>conftest.$ac_ext
37141 cat >>conftest.$ac_ext <<_ACEOF
37142 /* end confdefs.h. */
37143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37145 #define $ac_func innocuous_$ac_func
37146
37147 /* System header to define __stub macros and hopefully few prototypes,
37148 which can conflict with char $ac_func (); below.
37149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37150 <limits.h> exists even on freestanding compilers. */
37151
37152 #ifdef __STDC__
37153 # include <limits.h>
37154 #else
37155 # include <assert.h>
37156 #endif
37157
37158 #undef $ac_func
37159
37160 /* Override any gcc2 internal prototype to avoid an error. */
37161 #ifdef __cplusplus
37162 extern "C"
37163 {
37164 #endif
37165 /* We use char because int might match the return type of a gcc2
37166 builtin and then its argument prototype would still apply. */
37167 char $ac_func ();
37168 /* The GNU C library defines this for functions which it implements
37169 to always fail with ENOSYS. Some functions are actually named
37170 something starting with __ and the normal name is an alias. */
37171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37172 choke me
37173 #else
37174 char (*f) () = $ac_func;
37175 #endif
37176 #ifdef __cplusplus
37177 }
37178 #endif
37179
37180 int
37181 main ()
37182 {
37183 return f != $ac_func;
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37190 (eval $ac_link) 2>conftest.er1
37191 ac_status=$?
37192 grep -v '^ *+' conftest.er1 >conftest.err
37193 rm -f conftest.er1
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } &&
37197 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37199 (eval $ac_try) 2>&5
37200 ac_status=$?
37201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37202 (exit $ac_status); }; } &&
37203 { ac_try='test -s conftest$ac_exeext'
37204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37205 (eval $ac_try) 2>&5
37206 ac_status=$?
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); }; }; then
37209 eval "$as_ac_var=yes"
37210 else
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.$ac_ext >&5
37213
37214 eval "$as_ac_var=no"
37215 fi
37216 rm -f conftest.err conftest.$ac_objext \
37217 conftest$ac_exeext conftest.$ac_ext
37218 fi
37219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37221 if test `eval echo '${'$as_ac_var'}'` = yes; then
37222 cat >>confdefs.h <<_ACEOF
37223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37224 _ACEOF
37225
37226 fi
37227 done
37228
37229
37230
37231
37232 for ac_func in putenv setenv
37233 do
37234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37235 echo "$as_me:$LINENO: checking for $ac_func" >&5
37236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37237 if eval "test \"\${$as_ac_var+set}\" = set"; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37239 else
37240 cat >conftest.$ac_ext <<_ACEOF
37241 /* confdefs.h. */
37242 _ACEOF
37243 cat confdefs.h >>conftest.$ac_ext
37244 cat >>conftest.$ac_ext <<_ACEOF
37245 /* end confdefs.h. */
37246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37248 #define $ac_func innocuous_$ac_func
37249
37250 /* System header to define __stub macros and hopefully few prototypes,
37251 which can conflict with char $ac_func (); below.
37252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37253 <limits.h> exists even on freestanding compilers. */
37254
37255 #ifdef __STDC__
37256 # include <limits.h>
37257 #else
37258 # include <assert.h>
37259 #endif
37260
37261 #undef $ac_func
37262
37263 /* Override any gcc2 internal prototype to avoid an error. */
37264 #ifdef __cplusplus
37265 extern "C"
37266 {
37267 #endif
37268 /* We use char because int might match the return type of a gcc2
37269 builtin and then its argument prototype would still apply. */
37270 char $ac_func ();
37271 /* The GNU C library defines this for functions which it implements
37272 to always fail with ENOSYS. Some functions are actually named
37273 something starting with __ and the normal name is an alias. */
37274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37275 choke me
37276 #else
37277 char (*f) () = $ac_func;
37278 #endif
37279 #ifdef __cplusplus
37280 }
37281 #endif
37282
37283 int
37284 main ()
37285 {
37286 return f != $ac_func;
37287 ;
37288 return 0;
37289 }
37290 _ACEOF
37291 rm -f conftest.$ac_objext conftest$ac_exeext
37292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37293 (eval $ac_link) 2>conftest.er1
37294 ac_status=$?
37295 grep -v '^ *+' conftest.er1 >conftest.err
37296 rm -f conftest.er1
37297 cat conftest.err >&5
37298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37299 (exit $ac_status); } &&
37300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37302 (eval $ac_try) 2>&5
37303 ac_status=$?
37304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37305 (exit $ac_status); }; } &&
37306 { ac_try='test -s conftest$ac_exeext'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37309 ac_status=$?
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; }; then
37312 eval "$as_ac_var=yes"
37313 else
37314 echo "$as_me: failed program was:" >&5
37315 sed 's/^/| /' conftest.$ac_ext >&5
37316
37317 eval "$as_ac_var=no"
37318 fi
37319 rm -f conftest.err conftest.$ac_objext \
37320 conftest$ac_exeext conftest.$ac_ext
37321 fi
37322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37324 if test `eval echo '${'$as_ac_var'}'` = yes; then
37325 cat >>confdefs.h <<_ACEOF
37326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37327 _ACEOF
37328 break
37329 fi
37330 done
37331
37332
37333 HAVE_SOME_SLEEP_FUNC=0
37334 if test "$USE_BEOS" = 1; then
37335 cat >>confdefs.h <<\_ACEOF
37336 #define HAVE_SLEEP 1
37337 _ACEOF
37338
37339 HAVE_SOME_SLEEP_FUNC=1
37340 fi
37341
37342 if test "$USE_DARWIN" = 1; then
37343 cat >>confdefs.h <<\_ACEOF
37344 #define HAVE_USLEEP 1
37345 _ACEOF
37346
37347 HAVE_SOME_SLEEP_FUNC=1
37348 fi
37349
37350 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37351 POSIX4_LINK=
37352
37353 for ac_func in nanosleep
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361 cat >conftest.$ac_ext <<_ACEOF
37362 /* confdefs.h. */
37363 _ACEOF
37364 cat confdefs.h >>conftest.$ac_ext
37365 cat >>conftest.$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37370
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37375
37376 #ifdef __STDC__
37377 # include <limits.h>
37378 #else
37379 # include <assert.h>
37380 #endif
37381
37382 #undef $ac_func
37383
37384 /* Override any gcc2 internal prototype to avoid an error. */
37385 #ifdef __cplusplus
37386 extern "C"
37387 {
37388 #endif
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37391 char $ac_func ();
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37396 choke me
37397 #else
37398 char (*f) () = $ac_func;
37399 #endif
37400 #ifdef __cplusplus
37401 }
37402 #endif
37403
37404 int
37405 main ()
37406 {
37407 return f != $ac_func;
37408 ;
37409 return 0;
37410 }
37411 _ACEOF
37412 rm -f conftest.$ac_objext conftest$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37415 ac_status=$?
37416 grep -v '^ *+' conftest.er1 >conftest.err
37417 rm -f conftest.er1
37418 cat conftest.err >&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37424 ac_status=$?
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37430 ac_status=$?
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 eval "$as_ac_var=yes"
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37437
37438 eval "$as_ac_var=no"
37439 fi
37440 rm -f conftest.err conftest.$ac_objext \
37441 conftest$ac_exeext conftest.$ac_ext
37442 fi
37443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h <<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37448 _ACEOF
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE_NANOSLEEP 1
37451 _ACEOF
37452
37453 else
37454
37455 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37456 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37457 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37458 echo $ECHO_N "(cached) $ECHO_C" >&6
37459 else
37460 ac_check_lib_save_LIBS=$LIBS
37461 LIBS="-lposix4 $LIBS"
37462 cat >conftest.$ac_ext <<_ACEOF
37463 /* confdefs.h. */
37464 _ACEOF
37465 cat confdefs.h >>conftest.$ac_ext
37466 cat >>conftest.$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37468
37469 /* Override any gcc2 internal prototype to avoid an error. */
37470 #ifdef __cplusplus
37471 extern "C"
37472 #endif
37473 /* We use char because int might match the return type of a gcc2
37474 builtin and then its argument prototype would still apply. */
37475 char nanosleep ();
37476 int
37477 main ()
37478 {
37479 nanosleep ();
37480 ;
37481 return 0;
37482 }
37483 _ACEOF
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37486 (eval $ac_link) 2>conftest.er1
37487 ac_status=$?
37488 grep -v '^ *+' conftest.er1 >conftest.err
37489 rm -f conftest.er1
37490 cat conftest.err >&5
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); } &&
37493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37496 ac_status=$?
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try='test -s conftest$ac_exeext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37502 ac_status=$?
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_cv_lib_posix4_nanosleep=yes
37506 else
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.$ac_ext >&5
37509
37510 ac_cv_lib_posix4_nanosleep=no
37511 fi
37512 rm -f conftest.err conftest.$ac_objext \
37513 conftest$ac_exeext conftest.$ac_ext
37514 LIBS=$ac_check_lib_save_LIBS
37515 fi
37516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37517 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37518 if test $ac_cv_lib_posix4_nanosleep = yes; then
37519
37520 cat >>confdefs.h <<\_ACEOF
37521 #define HAVE_NANOSLEEP 1
37522 _ACEOF
37523
37524 POSIX4_LINK=" -lposix4"
37525
37526 else
37527
37528
37529 for ac_func in usleep
37530 do
37531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37532 echo "$as_me:$LINENO: checking for $ac_func" >&5
37533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37534 if eval "test \"\${$as_ac_var+set}\" = set"; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 else
37537 cat >conftest.$ac_ext <<_ACEOF
37538 /* confdefs.h. */
37539 _ACEOF
37540 cat confdefs.h >>conftest.$ac_ext
37541 cat >>conftest.$ac_ext <<_ACEOF
37542 /* end confdefs.h. */
37543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37545 #define $ac_func innocuous_$ac_func
37546
37547 /* System header to define __stub macros and hopefully few prototypes,
37548 which can conflict with char $ac_func (); below.
37549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37550 <limits.h> exists even on freestanding compilers. */
37551
37552 #ifdef __STDC__
37553 # include <limits.h>
37554 #else
37555 # include <assert.h>
37556 #endif
37557
37558 #undef $ac_func
37559
37560 /* Override any gcc2 internal prototype to avoid an error. */
37561 #ifdef __cplusplus
37562 extern "C"
37563 {
37564 #endif
37565 /* We use char because int might match the return type of a gcc2
37566 builtin and then its argument prototype would still apply. */
37567 char $ac_func ();
37568 /* The GNU C library defines this for functions which it implements
37569 to always fail with ENOSYS. Some functions are actually named
37570 something starting with __ and the normal name is an alias. */
37571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37572 choke me
37573 #else
37574 char (*f) () = $ac_func;
37575 #endif
37576 #ifdef __cplusplus
37577 }
37578 #endif
37579
37580 int
37581 main ()
37582 {
37583 return f != $ac_func;
37584 ;
37585 return 0;
37586 }
37587 _ACEOF
37588 rm -f conftest.$ac_objext conftest$ac_exeext
37589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37590 (eval $ac_link) 2>conftest.er1
37591 ac_status=$?
37592 grep -v '^ *+' conftest.er1 >conftest.err
37593 rm -f conftest.er1
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } &&
37597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37599 (eval $ac_try) 2>&5
37600 ac_status=$?
37601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37602 (exit $ac_status); }; } &&
37603 { ac_try='test -s conftest$ac_exeext'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37606 ac_status=$?
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; }; then
37609 eval "$as_ac_var=yes"
37610 else
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.$ac_ext >&5
37613
37614 eval "$as_ac_var=no"
37615 fi
37616 rm -f conftest.err conftest.$ac_objext \
37617 conftest$ac_exeext conftest.$ac_ext
37618 fi
37619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37621 if test `eval echo '${'$as_ac_var'}'` = yes; then
37622 cat >>confdefs.h <<_ACEOF
37623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37624 _ACEOF
37625 cat >>confdefs.h <<\_ACEOF
37626 #define HAVE_USLEEP 1
37627 _ACEOF
37628
37629 else
37630 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37631 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37632
37633 fi
37634 done
37635
37636
37637
37638 fi
37639
37640
37641
37642 fi
37643 done
37644
37645 fi
37646
37647
37648
37649 for ac_func in uname gethostname
37650 do
37651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37652 echo "$as_me:$LINENO: checking for $ac_func" >&5
37653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37654 if eval "test \"\${$as_ac_var+set}\" = set"; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657 cat >conftest.$ac_ext <<_ACEOF
37658 /* confdefs.h. */
37659 _ACEOF
37660 cat confdefs.h >>conftest.$ac_ext
37661 cat >>conftest.$ac_ext <<_ACEOF
37662 /* end confdefs.h. */
37663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37665 #define $ac_func innocuous_$ac_func
37666
37667 /* System header to define __stub macros and hopefully few prototypes,
37668 which can conflict with char $ac_func (); below.
37669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37670 <limits.h> exists even on freestanding compilers. */
37671
37672 #ifdef __STDC__
37673 # include <limits.h>
37674 #else
37675 # include <assert.h>
37676 #endif
37677
37678 #undef $ac_func
37679
37680 /* Override any gcc2 internal prototype to avoid an error. */
37681 #ifdef __cplusplus
37682 extern "C"
37683 {
37684 #endif
37685 /* We use char because int might match the return type of a gcc2
37686 builtin and then its argument prototype would still apply. */
37687 char $ac_func ();
37688 /* The GNU C library defines this for functions which it implements
37689 to always fail with ENOSYS. Some functions are actually named
37690 something starting with __ and the normal name is an alias. */
37691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37692 choke me
37693 #else
37694 char (*f) () = $ac_func;
37695 #endif
37696 #ifdef __cplusplus
37697 }
37698 #endif
37699
37700 int
37701 main ()
37702 {
37703 return f != $ac_func;
37704 ;
37705 return 0;
37706 }
37707 _ACEOF
37708 rm -f conftest.$ac_objext conftest$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710 (eval $ac_link) 2>conftest.er1
37711 ac_status=$?
37712 grep -v '^ *+' conftest.er1 >conftest.err
37713 rm -f conftest.er1
37714 cat conftest.err >&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } &&
37717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37720 ac_status=$?
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; } &&
37723 { ac_try='test -s conftest$ac_exeext'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37726 ac_status=$?
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; }; then
37729 eval "$as_ac_var=yes"
37730 else
37731 echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.$ac_ext >&5
37733
37734 eval "$as_ac_var=no"
37735 fi
37736 rm -f conftest.err conftest.$ac_objext \
37737 conftest$ac_exeext conftest.$ac_ext
37738 fi
37739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37741 if test `eval echo '${'$as_ac_var'}'` = yes; then
37742 cat >>confdefs.h <<_ACEOF
37743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37744 _ACEOF
37745 break
37746 fi
37747 done
37748
37749
37750
37751 for wx_func in strtok_r
37752 do
37753 echo "$as_me:$LINENO: checking for $wx_func" >&5
37754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37755 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37756 echo $ECHO_N "(cached) $ECHO_C" >&6
37757 else
37758
37759 cat >conftest.$ac_ext <<_ACEOF
37760
37761 /* confdefs.h. */
37762 _ACEOF
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37766
37767 #define _REENTRANT
37768 $ac_includes_default
37769
37770 int
37771 main ()
37772 {
37773
37774 #ifndef $wx_func
37775 &$wx_func;
37776 #endif
37777
37778
37779 ;
37780 return 0;
37781 }
37782
37783 _ACEOF
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37786 (eval $ac_link) 2>conftest.er1
37787 ac_status=$?
37788 grep -v '^ *+' conftest.er1 >conftest.err
37789 rm -f conftest.er1
37790 cat conftest.err >&5
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); } &&
37793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37795 (eval $ac_try) 2>&5
37796 ac_status=$?
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); }; } &&
37799 { ac_try='test -s conftest$ac_exeext'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37802 ac_status=$?
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; }; then
37805 eval wx_cv_func_$wx_func=yes
37806 else
37807 echo "$as_me: failed program was:" >&5
37808 sed 's/^/| /' conftest.$ac_ext >&5
37809
37810 eval wx_cv_func_$wx_func=no
37811 fi
37812 rm -f conftest.err conftest.$ac_objext \
37813 conftest$ac_exeext conftest.$ac_ext
37814
37815 fi
37816 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37817 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37818
37819 if eval test \$wx_cv_func_$wx_func = yes
37820 then
37821 cat >>confdefs.h <<_ACEOF
37822 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37823 _ACEOF
37824
37825
37826 else
37827 :
37828
37829 fi
37830 done
37831
37832
37833 INET_LINK=
37834
37835 for ac_func in inet_addr
37836 do
37837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37838 echo "$as_me:$LINENO: checking for $ac_func" >&5
37839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37840 if eval "test \"\${$as_ac_var+set}\" = set"; then
37841 echo $ECHO_N "(cached) $ECHO_C" >&6
37842 else
37843 cat >conftest.$ac_ext <<_ACEOF
37844 /* confdefs.h. */
37845 _ACEOF
37846 cat confdefs.h >>conftest.$ac_ext
37847 cat >>conftest.$ac_ext <<_ACEOF
37848 /* end confdefs.h. */
37849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37851 #define $ac_func innocuous_$ac_func
37852
37853 /* System header to define __stub macros and hopefully few prototypes,
37854 which can conflict with char $ac_func (); below.
37855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37856 <limits.h> exists even on freestanding compilers. */
37857
37858 #ifdef __STDC__
37859 # include <limits.h>
37860 #else
37861 # include <assert.h>
37862 #endif
37863
37864 #undef $ac_func
37865
37866 /* Override any gcc2 internal prototype to avoid an error. */
37867 #ifdef __cplusplus
37868 extern "C"
37869 {
37870 #endif
37871 /* We use char because int might match the return type of a gcc2
37872 builtin and then its argument prototype would still apply. */
37873 char $ac_func ();
37874 /* The GNU C library defines this for functions which it implements
37875 to always fail with ENOSYS. Some functions are actually named
37876 something starting with __ and the normal name is an alias. */
37877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37878 choke me
37879 #else
37880 char (*f) () = $ac_func;
37881 #endif
37882 #ifdef __cplusplus
37883 }
37884 #endif
37885
37886 int
37887 main ()
37888 {
37889 return f != $ac_func;
37890 ;
37891 return 0;
37892 }
37893 _ACEOF
37894 rm -f conftest.$ac_objext conftest$ac_exeext
37895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37896 (eval $ac_link) 2>conftest.er1
37897 ac_status=$?
37898 grep -v '^ *+' conftest.er1 >conftest.err
37899 rm -f conftest.er1
37900 cat conftest.err >&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } &&
37903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37905 (eval $ac_try) 2>&5
37906 ac_status=$?
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); }; } &&
37909 { ac_try='test -s conftest$ac_exeext'
37910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37911 (eval $ac_try) 2>&5
37912 ac_status=$?
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 eval "$as_ac_var=yes"
37916 else
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37919
37920 eval "$as_ac_var=no"
37921 fi
37922 rm -f conftest.err conftest.$ac_objext \
37923 conftest$ac_exeext conftest.$ac_ext
37924 fi
37925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37927 if test `eval echo '${'$as_ac_var'}'` = yes; then
37928 cat >>confdefs.h <<_ACEOF
37929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37930 _ACEOF
37931 cat >>confdefs.h <<\_ACEOF
37932 #define HAVE_INET_ADDR 1
37933 _ACEOF
37934
37935 else
37936
37937 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37938 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37939 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 else
37942 ac_check_lib_save_LIBS=$LIBS
37943 LIBS="-lnsl $LIBS"
37944 cat >conftest.$ac_ext <<_ACEOF
37945 /* confdefs.h. */
37946 _ACEOF
37947 cat confdefs.h >>conftest.$ac_ext
37948 cat >>conftest.$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37950
37951 /* Override any gcc2 internal prototype to avoid an error. */
37952 #ifdef __cplusplus
37953 extern "C"
37954 #endif
37955 /* We use char because int might match the return type of a gcc2
37956 builtin and then its argument prototype would still apply. */
37957 char inet_addr ();
37958 int
37959 main ()
37960 {
37961 inet_addr ();
37962 ;
37963 return 0;
37964 }
37965 _ACEOF
37966 rm -f conftest.$ac_objext conftest$ac_exeext
37967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37968 (eval $ac_link) 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } &&
37975 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37977 (eval $ac_try) 2>&5
37978 ac_status=$?
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); }; } &&
37981 { ac_try='test -s conftest$ac_exeext'
37982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37983 (eval $ac_try) 2>&5
37984 ac_status=$?
37985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37986 (exit $ac_status); }; }; then
37987 ac_cv_lib_nsl_inet_addr=yes
37988 else
37989 echo "$as_me: failed program was:" >&5
37990 sed 's/^/| /' conftest.$ac_ext >&5
37991
37992 ac_cv_lib_nsl_inet_addr=no
37993 fi
37994 rm -f conftest.err conftest.$ac_objext \
37995 conftest$ac_exeext conftest.$ac_ext
37996 LIBS=$ac_check_lib_save_LIBS
37997 fi
37998 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38000 if test $ac_cv_lib_nsl_inet_addr = yes; then
38001 INET_LINK="nsl"
38002 else
38003
38004 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 else
38009 ac_check_lib_save_LIBS=$LIBS
38010 LIBS="-lresolv $LIBS"
38011 cat >conftest.$ac_ext <<_ACEOF
38012 /* confdefs.h. */
38013 _ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38017
38018 /* Override any gcc2 internal prototype to avoid an error. */
38019 #ifdef __cplusplus
38020 extern "C"
38021 #endif
38022 /* We use char because int might match the return type of a gcc2
38023 builtin and then its argument prototype would still apply. */
38024 char inet_addr ();
38025 int
38026 main ()
38027 {
38028 inet_addr ();
38029 ;
38030 return 0;
38031 }
38032 _ACEOF
38033 rm -f conftest.$ac_objext conftest$ac_exeext
38034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38035 (eval $ac_link) 2>conftest.er1
38036 ac_status=$?
38037 grep -v '^ *+' conftest.er1 >conftest.err
38038 rm -f conftest.er1
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); } &&
38042 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38045 ac_status=$?
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try='test -s conftest$ac_exeext'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38051 ac_status=$?
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; }; then
38054 ac_cv_lib_resolv_inet_addr=yes
38055 else
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38058
38059 ac_cv_lib_resolv_inet_addr=no
38060 fi
38061 rm -f conftest.err conftest.$ac_objext \
38062 conftest$ac_exeext conftest.$ac_ext
38063 LIBS=$ac_check_lib_save_LIBS
38064 fi
38065 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38066 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38067 if test $ac_cv_lib_resolv_inet_addr = yes; then
38068 INET_LINK="resolv"
38069 else
38070
38071 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38072 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38073 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076 ac_check_lib_save_LIBS=$LIBS
38077 LIBS="-lsocket $LIBS"
38078 cat >conftest.$ac_ext <<_ACEOF
38079 /* confdefs.h. */
38080 _ACEOF
38081 cat confdefs.h >>conftest.$ac_ext
38082 cat >>conftest.$ac_ext <<_ACEOF
38083 /* end confdefs.h. */
38084
38085 /* Override any gcc2 internal prototype to avoid an error. */
38086 #ifdef __cplusplus
38087 extern "C"
38088 #endif
38089 /* We use char because int might match the return type of a gcc2
38090 builtin and then its argument prototype would still apply. */
38091 char inet_addr ();
38092 int
38093 main ()
38094 {
38095 inet_addr ();
38096 ;
38097 return 0;
38098 }
38099 _ACEOF
38100 rm -f conftest.$ac_objext conftest$ac_exeext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 (eval $ac_link) 2>conftest.er1
38103 ac_status=$?
38104 grep -v '^ *+' conftest.er1 >conftest.err
38105 rm -f conftest.er1
38106 cat conftest.err >&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38111 (eval $ac_try) 2>&5
38112 ac_status=$?
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); }; } &&
38115 { ac_try='test -s conftest$ac_exeext'
38116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38117 (eval $ac_try) 2>&5
38118 ac_status=$?
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); }; }; then
38121 ac_cv_lib_socket_inet_addr=yes
38122 else
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38125
38126 ac_cv_lib_socket_inet_addr=no
38127 fi
38128 rm -f conftest.err conftest.$ac_objext \
38129 conftest$ac_exeext conftest.$ac_ext
38130 LIBS=$ac_check_lib_save_LIBS
38131 fi
38132 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38133 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38134 if test $ac_cv_lib_socket_inet_addr = yes; then
38135 INET_LINK="socket"
38136
38137 fi
38138
38139
38140
38141 fi
38142
38143
38144
38145 fi
38146
38147
38148
38149 fi
38150 done
38151
38152
38153
38154 for ac_func in inet_aton
38155 do
38156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38157 echo "$as_me:$LINENO: checking for $ac_func" >&5
38158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38159 if eval "test \"\${$as_ac_var+set}\" = set"; then
38160 echo $ECHO_N "(cached) $ECHO_C" >&6
38161 else
38162 cat >conftest.$ac_ext <<_ACEOF
38163 /* confdefs.h. */
38164 _ACEOF
38165 cat confdefs.h >>conftest.$ac_ext
38166 cat >>conftest.$ac_ext <<_ACEOF
38167 /* end confdefs.h. */
38168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38170 #define $ac_func innocuous_$ac_func
38171
38172 /* System header to define __stub macros and hopefully few prototypes,
38173 which can conflict with char $ac_func (); below.
38174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38175 <limits.h> exists even on freestanding compilers. */
38176
38177 #ifdef __STDC__
38178 # include <limits.h>
38179 #else
38180 # include <assert.h>
38181 #endif
38182
38183 #undef $ac_func
38184
38185 /* Override any gcc2 internal prototype to avoid an error. */
38186 #ifdef __cplusplus
38187 extern "C"
38188 {
38189 #endif
38190 /* We use char because int might match the return type of a gcc2
38191 builtin and then its argument prototype would still apply. */
38192 char $ac_func ();
38193 /* The GNU C library defines this for functions which it implements
38194 to always fail with ENOSYS. Some functions are actually named
38195 something starting with __ and the normal name is an alias. */
38196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38197 choke me
38198 #else
38199 char (*f) () = $ac_func;
38200 #endif
38201 #ifdef __cplusplus
38202 }
38203 #endif
38204
38205 int
38206 main ()
38207 {
38208 return f != $ac_func;
38209 ;
38210 return 0;
38211 }
38212 _ACEOF
38213 rm -f conftest.$ac_objext conftest$ac_exeext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38215 (eval $ac_link) 2>conftest.er1
38216 ac_status=$?
38217 grep -v '^ *+' conftest.er1 >conftest.err
38218 rm -f conftest.er1
38219 cat conftest.err >&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } &&
38222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38224 (eval $ac_try) 2>&5
38225 ac_status=$?
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); }; } &&
38228 { ac_try='test -s conftest$ac_exeext'
38229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38230 (eval $ac_try) 2>&5
38231 ac_status=$?
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); }; }; then
38234 eval "$as_ac_var=yes"
38235 else
38236 echo "$as_me: failed program was:" >&5
38237 sed 's/^/| /' conftest.$ac_ext >&5
38238
38239 eval "$as_ac_var=no"
38240 fi
38241 rm -f conftest.err conftest.$ac_objext \
38242 conftest$ac_exeext conftest.$ac_ext
38243 fi
38244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38246 if test `eval echo '${'$as_ac_var'}'` = yes; then
38247 cat >>confdefs.h <<_ACEOF
38248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38249 _ACEOF
38250 cat >>confdefs.h <<\_ACEOF
38251 #define HAVE_INET_ATON 1
38252 _ACEOF
38253
38254 else
38255
38256 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38257 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38258 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38259 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 else
38262 ac_check_lib_save_LIBS=$LIBS
38263 LIBS="-l$INET_LINK $LIBS"
38264 cat >conftest.$ac_ext <<_ACEOF
38265 /* confdefs.h. */
38266 _ACEOF
38267 cat confdefs.h >>conftest.$ac_ext
38268 cat >>conftest.$ac_ext <<_ACEOF
38269 /* end confdefs.h. */
38270
38271 /* Override any gcc2 internal prototype to avoid an error. */
38272 #ifdef __cplusplus
38273 extern "C"
38274 #endif
38275 /* We use char because int might match the return type of a gcc2
38276 builtin and then its argument prototype would still apply. */
38277 char inet_aton ();
38278 int
38279 main ()
38280 {
38281 inet_aton ();
38282 ;
38283 return 0;
38284 }
38285 _ACEOF
38286 rm -f conftest.$ac_objext conftest$ac_exeext
38287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38288 (eval $ac_link) 2>conftest.er1
38289 ac_status=$?
38290 grep -v '^ *+' conftest.er1 >conftest.err
38291 rm -f conftest.er1
38292 cat conftest.err >&5
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); } &&
38295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38298 ac_status=$?
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; } &&
38301 { ac_try='test -s conftest$ac_exeext'
38302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38303 (eval $ac_try) 2>&5
38304 ac_status=$?
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); }; }; then
38307 eval "$as_ac_Lib=yes"
38308 else
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38311
38312 eval "$as_ac_Lib=no"
38313 fi
38314 rm -f conftest.err conftest.$ac_objext \
38315 conftest$ac_exeext conftest.$ac_ext
38316 LIBS=$ac_check_lib_save_LIBS
38317 fi
38318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38319 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38320 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38321 cat >>confdefs.h <<\_ACEOF
38322 #define HAVE_INET_ATON 1
38323 _ACEOF
38324
38325 fi
38326
38327
38328 fi
38329 done
38330
38331
38332 if test "x$INET_LINK" != "x"; then
38333 cat >>confdefs.h <<\_ACEOF
38334 #define HAVE_INET_ADDR 1
38335 _ACEOF
38336
38337 INET_LINK=" -l$INET_LINK"
38338 fi
38339
38340 fi
38341
38342
38343
38344 EXTRALIBS_ESD=
38345 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38346 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38347 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38348 echo $ECHO_N "(cached) $ECHO_C" >&6
38349 else
38350 ac_check_lib_save_LIBS=$LIBS
38351 LIBS="-lesd $LIBS"
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358
38359 /* Override any gcc2 internal prototype to avoid an error. */
38360 #ifdef __cplusplus
38361 extern "C"
38362 #endif
38363 /* We use char because int might match the return type of a gcc2
38364 builtin and then its argument prototype would still apply. */
38365 char esd_close ();
38366 int
38367 main ()
38368 {
38369 esd_close ();
38370 ;
38371 return 0;
38372 }
38373 _ACEOF
38374 rm -f conftest.$ac_objext conftest$ac_exeext
38375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38376 (eval $ac_link) 2>conftest.er1
38377 ac_status=$?
38378 grep -v '^ *+' conftest.er1 >conftest.err
38379 rm -f conftest.er1
38380 cat conftest.err >&5
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); } &&
38383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38386 ac_status=$?
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; } &&
38389 { ac_try='test -s conftest$ac_exeext'
38390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38391 (eval $ac_try) 2>&5
38392 ac_status=$?
38393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38394 (exit $ac_status); }; }; then
38395 ac_cv_lib_esd_esd_close=yes
38396 else
38397 echo "$as_me: failed program was:" >&5
38398 sed 's/^/| /' conftest.$ac_ext >&5
38399
38400 ac_cv_lib_esd_esd_close=no
38401 fi
38402 rm -f conftest.err conftest.$ac_objext \
38403 conftest$ac_exeext conftest.$ac_ext
38404 LIBS=$ac_check_lib_save_LIBS
38405 fi
38406 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38407 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38408 if test $ac_cv_lib_esd_esd_close = yes; then
38409
38410
38411 for ac_header in esd.h
38412 do
38413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38415 echo "$as_me:$LINENO: checking for $ac_header" >&5
38416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 fi
38420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38422 else
38423 # Is the header compilable?
38424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38426 cat >conftest.$ac_ext <<_ACEOF
38427 /* confdefs.h. */
38428 _ACEOF
38429 cat confdefs.h >>conftest.$ac_ext
38430 cat >>conftest.$ac_ext <<_ACEOF
38431 /* end confdefs.h. */
38432 $ac_includes_default
38433 #include <$ac_header>
38434 _ACEOF
38435 rm -f conftest.$ac_objext
38436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38437 (eval $ac_compile) 2>conftest.er1
38438 ac_status=$?
38439 grep -v '^ *+' conftest.er1 >conftest.err
38440 rm -f conftest.er1
38441 cat conftest.err >&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); } &&
38444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38447 ac_status=$?
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try='test -s conftest.$ac_objext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 ac_header_compiler=yes
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461 ac_header_compiler=no
38462 fi
38463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38465 echo "${ECHO_T}$ac_header_compiler" >&6
38466
38467 # Is the header present?
38468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38470 cat >conftest.$ac_ext <<_ACEOF
38471 /* confdefs.h. */
38472 _ACEOF
38473 cat confdefs.h >>conftest.$ac_ext
38474 cat >>conftest.$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476 #include <$ac_header>
38477 _ACEOF
38478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38479 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } >/dev/null; then
38486 if test -s conftest.err; then
38487 ac_cpp_err=$ac_cxx_preproc_warn_flag
38488 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38489 else
38490 ac_cpp_err=
38491 fi
38492 else
38493 ac_cpp_err=yes
38494 fi
38495 if test -z "$ac_cpp_err"; then
38496 ac_header_preproc=yes
38497 else
38498 echo "$as_me: failed program was:" >&5
38499 sed 's/^/| /' conftest.$ac_ext >&5
38500
38501 ac_header_preproc=no
38502 fi
38503 rm -f conftest.err conftest.$ac_ext
38504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38505 echo "${ECHO_T}$ac_header_preproc" >&6
38506
38507 # So? What about this header?
38508 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38509 yes:no: )
38510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38514 ac_header_preproc=yes
38515 ;;
38516 no:yes:* )
38517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38529 (
38530 cat <<\_ASBOX
38531 ## ----------------------------------------- ##
38532 ## Report this to wx-dev@lists.wxwidgets.org ##
38533 ## ----------------------------------------- ##
38534 _ASBOX
38535 ) |
38536 sed "s/^/$as_me: WARNING: /" >&2
38537 ;;
38538 esac
38539 echo "$as_me:$LINENO: checking for $ac_header" >&5
38540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544 eval "$as_ac_Header=\$ac_header_preproc"
38545 fi
38546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38548
38549 fi
38550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38551 cat >>confdefs.h <<_ACEOF
38552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38553 _ACEOF
38554
38555 EXTRALIBS_ESD="-lesd"
38556
38557 fi
38558
38559 done
38560
38561
38562 fi
38563
38564
38565
38566 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38567 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38568 cat >conftest.$ac_ext <<_ACEOF
38569 /* confdefs.h. */
38570 _ACEOF
38571 cat confdefs.h >>conftest.$ac_ext
38572 cat >>conftest.$ac_ext <<_ACEOF
38573 /* end confdefs.h. */
38574 #ifdef __linux__
38575 #include <linux/cdrom.h>
38576 #else
38577 /* For Solaris */
38578 #include <sys/cdio.h>
38579 #endif
38580
38581 int
38582 main ()
38583 {
38584 struct cdrom_tocentry entry, old_entry;
38585 ;
38586 return 0;
38587 }
38588 _ACEOF
38589 rm -f conftest.$ac_objext
38590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38591 (eval $ac_compile) 2>conftest.er1
38592 ac_status=$?
38593 grep -v '^ *+' conftest.er1 >conftest.err
38594 rm -f conftest.er1
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } &&
38598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38600 (eval $ac_try) 2>&5
38601 ac_status=$?
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); }; } &&
38604 { ac_try='test -s conftest.$ac_objext'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; }; then
38610 echo "$as_me:$LINENO: result: yes" >&5
38611 echo "${ECHO_T}yes" >&6
38612 cat >>confdefs.h <<\_ACEOF
38613 #define HAVE_KNOWN_CDROM_INTERFACE 1
38614 _ACEOF
38615
38616 else
38617 echo "$as_me: failed program was:" >&5
38618 sed 's/^/| /' conftest.$ac_ext >&5
38619
38620 echo "$as_me:$LINENO: result: no" >&5
38621 echo "${ECHO_T}no" >&6
38622 fi
38623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38624
38625
38626 cat >confcache <<\_ACEOF
38627 # This file is a shell script that caches the results of configure
38628 # tests run on this system so they can be shared between configure
38629 # scripts and configure runs, see configure's option --config-cache.
38630 # It is not useful on other systems. If it contains results you don't
38631 # want to keep, you may remove or edit it.
38632 #
38633 # config.status only pays attention to the cache file if you give it
38634 # the --recheck option to rerun configure.
38635 #
38636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38638 # following values.
38639
38640 _ACEOF
38641
38642 # The following way of writing the cache mishandles newlines in values,
38643 # but we know of no workaround that is simple, portable, and efficient.
38644 # So, don't put newlines in cache variables' values.
38645 # Ultrix sh set writes to stderr and can't be redirected directly,
38646 # and sets the high bit in the cache file unless we assign to the vars.
38647 {
38648 (set) 2>&1 |
38649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38650 *ac_space=\ *)
38651 # `set' does not quote correctly, so add quotes (double-quote
38652 # substitution turns \\\\ into \\, and sed turns \\ into \).
38653 sed -n \
38654 "s/'/'\\\\''/g;
38655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38656 ;;
38657 *)
38658 # `set' quotes correctly as required by POSIX, so do not add quotes.
38659 sed -n \
38660 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38661 ;;
38662 esac;
38663 } |
38664 sed '
38665 t clear
38666 : clear
38667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38668 t end
38669 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38670 : end' >>confcache
38671 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38672 if test -w $cache_file; then
38673 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38674 cat confcache >$cache_file
38675 else
38676 echo "not updating unwritable cache $cache_file"
38677 fi
38678 fi
38679 rm -f confcache
38680
38681
38682 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38683
38684
38685 THREADS_LINK=
38686 THREADS_CXXFLAGS=
38687
38688 if test "$wxUSE_THREADS" = "yes" ; then
38689 if test "$USE_BEOS" = 1; then
38690 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38691 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38692 wxUSE_THREADS="no"
38693 fi
38694 fi
38695
38696 if test "$wxUSE_THREADS" = "yes" ; then
38697
38698
38699 THREAD_OPTS="-pthread"
38700 case "${host}" in
38701 *-*-solaris2* | *-*-sunos4* )
38702 if test "x$GCC" = "xyes"; then
38703 THREAD_OPTS="-pthreads $THREAD_OPTS"
38704 else
38705 THREAD_OPTS="-mt $THREAD_OPTS"
38706 fi
38707 ;;
38708 *-*-freebsd*)
38709 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38710 ;;
38711 *-*-darwin* | *-*-cygwin* )
38712 THREAD_OPTS=""
38713 ;;
38714 *-*-aix*)
38715 THREAD_OPTS="pthreads"
38716 ;;
38717 *-hp-hpux* )
38718 if test "x$GCC" = "xyes"; then
38719 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38720 THREAD_OPTS=""
38721 else
38722 THREAD_OPTS="-mt"
38723 fi
38724 ;;
38725
38726 *-*-irix* )
38727 if test "x$GCC" = "xyes"; then
38728 THREAD_OPTS=""
38729 fi
38730 ;;
38731
38732 *-*-*UnixWare*)
38733 if test "x$GCC" != "xyes"; then
38734 THREAD_OPTS="-Ethread"
38735 fi
38736 ;;
38737 esac
38738
38739 THREAD_OPTS="$THREAD_OPTS pthread none"
38740
38741 THREADS_OK=no
38742 for flag in $THREAD_OPTS; do
38743 case $flag in
38744 none)
38745 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38746 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38747 ;;
38748
38749 -*)
38750 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38751 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38752 THREADS_CXXFLAGS="$flag"
38753 ;;
38754
38755 *)
38756 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38757 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38758 THREADS_LINK="-l$flag"
38759 ;;
38760 esac
38761
38762 save_LIBS="$LIBS"
38763 save_CXXFLAGS="$CXXFLAGS"
38764 LIBS="$THREADS_LINK $LIBS"
38765 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38766
38767 cat >conftest.$ac_ext <<_ACEOF
38768 /* confdefs.h. */
38769 _ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38773 #include <pthread.h>
38774 int
38775 main ()
38776 {
38777 pthread_create(0,0,0,0);
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 THREADS_OK=yes
38804 else
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.$ac_ext >&5
38807
38808 fi
38809 rm -f conftest.err conftest.$ac_objext \
38810 conftest$ac_exeext conftest.$ac_ext
38811
38812 LIBS="$save_LIBS"
38813 CXXFLAGS="$save_CXXFLAGS"
38814
38815 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38816 echo "${ECHO_T}$THREADS_OK" >&6
38817 if test "x$THREADS_OK" = "xyes"; then
38818 break;
38819 fi
38820
38821 THREADS_LINK=""
38822 THREADS_CXXFLAGS=""
38823 done
38824
38825 if test "x$THREADS_OK" != "xyes"; then
38826 wxUSE_THREADS=no
38827 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38828 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38829 else
38830 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38831 LIBS="$THREADS_LINK $LIBS"
38832
38833 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38834 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38835 flag=no
38836 case "${host}" in
38837 *-aix*)
38838 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38839 flag="-D_THREAD_SAFE"
38840 ;;
38841 *-freebsd*)
38842 flag="-D_THREAD_SAFE"
38843 ;;
38844 *-hp-hpux* )
38845 flag="-D_REENTRANT"
38846 if test "x$GCC" != "xyes"; then
38847 flag="$flag -D_RWSTD_MULTI_THREAD"
38848 fi
38849 ;;
38850 *solaris* | alpha*-osf*)
38851 flag="-D_REENTRANT"
38852 ;;
38853 esac
38854 echo "$as_me:$LINENO: result: ${flag}" >&5
38855 echo "${ECHO_T}${flag}" >&6
38856 if test "x$flag" != xno; then
38857 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38858 fi
38859
38860 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38861 fi
38862 fi
38863
38864 if test "$wxUSE_THREADS" = "yes" ; then
38865
38866 for ac_func in thr_setconcurrency
38867 do
38868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38869 echo "$as_me:$LINENO: checking for $ac_func" >&5
38870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38871 if eval "test \"\${$as_ac_var+set}\" = set"; then
38872 echo $ECHO_N "(cached) $ECHO_C" >&6
38873 else
38874 cat >conftest.$ac_ext <<_ACEOF
38875 /* confdefs.h. */
38876 _ACEOF
38877 cat confdefs.h >>conftest.$ac_ext
38878 cat >>conftest.$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38882 #define $ac_func innocuous_$ac_func
38883
38884 /* System header to define __stub macros and hopefully few prototypes,
38885 which can conflict with char $ac_func (); below.
38886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38887 <limits.h> exists even on freestanding compilers. */
38888
38889 #ifdef __STDC__
38890 # include <limits.h>
38891 #else
38892 # include <assert.h>
38893 #endif
38894
38895 #undef $ac_func
38896
38897 /* Override any gcc2 internal prototype to avoid an error. */
38898 #ifdef __cplusplus
38899 extern "C"
38900 {
38901 #endif
38902 /* We use char because int might match the return type of a gcc2
38903 builtin and then its argument prototype would still apply. */
38904 char $ac_func ();
38905 /* The GNU C library defines this for functions which it implements
38906 to always fail with ENOSYS. Some functions are actually named
38907 something starting with __ and the normal name is an alias. */
38908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38909 choke me
38910 #else
38911 char (*f) () = $ac_func;
38912 #endif
38913 #ifdef __cplusplus
38914 }
38915 #endif
38916
38917 int
38918 main ()
38919 {
38920 return f != $ac_func;
38921 ;
38922 return 0;
38923 }
38924 _ACEOF
38925 rm -f conftest.$ac_objext conftest$ac_exeext
38926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38927 (eval $ac_link) 2>conftest.er1
38928 ac_status=$?
38929 grep -v '^ *+' conftest.er1 >conftest.err
38930 rm -f conftest.er1
38931 cat conftest.err >&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } &&
38934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38936 (eval $ac_try) 2>&5
38937 ac_status=$?
38938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38939 (exit $ac_status); }; } &&
38940 { ac_try='test -s conftest$ac_exeext'
38941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38942 (eval $ac_try) 2>&5
38943 ac_status=$?
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); }; }; then
38946 eval "$as_ac_var=yes"
38947 else
38948 echo "$as_me: failed program was:" >&5
38949 sed 's/^/| /' conftest.$ac_ext >&5
38950
38951 eval "$as_ac_var=no"
38952 fi
38953 rm -f conftest.err conftest.$ac_objext \
38954 conftest$ac_exeext conftest.$ac_ext
38955 fi
38956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38958 if test `eval echo '${'$as_ac_var'}'` = yes; then
38959 cat >>confdefs.h <<_ACEOF
38960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38961 _ACEOF
38962
38963 fi
38964 done
38965
38966
38967 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38968 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38969 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38970 echo $ECHO_N "(cached) $ECHO_C" >&6
38971 else
38972
38973 cat >conftest.$ac_ext <<_ACEOF
38974 /* confdefs.h. */
38975 _ACEOF
38976 cat confdefs.h >>conftest.$ac_ext
38977 cat >>conftest.$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979 #include <pthread.h>
38980 void ThreadCleanupFunc(void *p);
38981
38982 int
38983 main ()
38984 {
38985
38986 void *p;
38987 pthread_cleanup_push(ThreadCleanupFunc, p);
38988 pthread_cleanup_pop(0);
38989
38990 ;
38991 return 0;
38992 }
38993 _ACEOF
38994 rm -f conftest.$ac_objext
38995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38996 (eval $ac_compile) 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } &&
39003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39006 ac_status=$?
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try='test -s conftest.$ac_objext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39012 ac_status=$?
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015
39016 wx_cv_func_pthread_cleanup=yes
39017
39018 else
39019 echo "$as_me: failed program was:" >&5
39020 sed 's/^/| /' conftest.$ac_ext >&5
39021
39022
39023 wx_cv_func_pthread_cleanup=no
39024
39025
39026 fi
39027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39028
39029 fi
39030 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39031 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39032 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39033 cat >>confdefs.h <<\_ACEOF
39034 #define wxHAVE_PTHREAD_CLEANUP 1
39035 _ACEOF
39036
39037 fi
39038
39039
39040 for ac_header in sched.h
39041 do
39042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39044 echo "$as_me:$LINENO: checking for $ac_header" >&5
39045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39047 echo $ECHO_N "(cached) $ECHO_C" >&6
39048 fi
39049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39051 else
39052 # Is the header compilable?
39053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39055 cat >conftest.$ac_ext <<_ACEOF
39056 /* confdefs.h. */
39057 _ACEOF
39058 cat confdefs.h >>conftest.$ac_ext
39059 cat >>conftest.$ac_ext <<_ACEOF
39060 /* end confdefs.h. */
39061 $ac_includes_default
39062 #include <$ac_header>
39063 _ACEOF
39064 rm -f conftest.$ac_objext
39065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39066 (eval $ac_compile) 2>conftest.er1
39067 ac_status=$?
39068 grep -v '^ *+' conftest.er1 >conftest.err
39069 rm -f conftest.er1
39070 cat conftest.err >&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } &&
39073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39076 ac_status=$?
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; } &&
39079 { ac_try='test -s conftest.$ac_objext'
39080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39081 (eval $ac_try) 2>&5
39082 ac_status=$?
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); }; }; then
39085 ac_header_compiler=yes
39086 else
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.$ac_ext >&5
39089
39090 ac_header_compiler=no
39091 fi
39092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39094 echo "${ECHO_T}$ac_header_compiler" >&6
39095
39096 # Is the header present?
39097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39099 cat >conftest.$ac_ext <<_ACEOF
39100 /* confdefs.h. */
39101 _ACEOF
39102 cat confdefs.h >>conftest.$ac_ext
39103 cat >>conftest.$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 #include <$ac_header>
39106 _ACEOF
39107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39109 ac_status=$?
39110 grep -v '^ *+' conftest.er1 >conftest.err
39111 rm -f conftest.er1
39112 cat conftest.err >&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); } >/dev/null; then
39115 if test -s conftest.err; then
39116 ac_cpp_err=$ac_cxx_preproc_warn_flag
39117 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39118 else
39119 ac_cpp_err=
39120 fi
39121 else
39122 ac_cpp_err=yes
39123 fi
39124 if test -z "$ac_cpp_err"; then
39125 ac_header_preproc=yes
39126 else
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39129
39130 ac_header_preproc=no
39131 fi
39132 rm -f conftest.err conftest.$ac_ext
39133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39134 echo "${ECHO_T}$ac_header_preproc" >&6
39135
39136 # So? What about this header?
39137 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39138 yes:no: )
39139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39143 ac_header_preproc=yes
39144 ;;
39145 no:yes:* )
39146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39158 (
39159 cat <<\_ASBOX
39160 ## ----------------------------------------- ##
39161 ## Report this to wx-dev@lists.wxwidgets.org ##
39162 ## ----------------------------------------- ##
39163 _ASBOX
39164 ) |
39165 sed "s/^/$as_me: WARNING: /" >&2
39166 ;;
39167 esac
39168 echo "$as_me:$LINENO: checking for $ac_header" >&5
39169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39172 else
39173 eval "$as_ac_Header=\$ac_header_preproc"
39174 fi
39175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39177
39178 fi
39179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39180 cat >>confdefs.h <<_ACEOF
39181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39182 _ACEOF
39183
39184 fi
39185
39186 done
39187
39188 if test "$ac_cv_header_sched_h" = "yes"; then
39189 echo "$as_me:$LINENO: checking for sched_yield" >&5
39190 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39191 if test "${ac_cv_func_sched_yield+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39202 #define sched_yield innocuous_sched_yield
39203
39204 /* System header to define __stub macros and hopefully few prototypes,
39205 which can conflict with char sched_yield (); below.
39206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39207 <limits.h> exists even on freestanding compilers. */
39208
39209 #ifdef __STDC__
39210 # include <limits.h>
39211 #else
39212 # include <assert.h>
39213 #endif
39214
39215 #undef sched_yield
39216
39217 /* Override any gcc2 internal prototype to avoid an error. */
39218 #ifdef __cplusplus
39219 extern "C"
39220 {
39221 #endif
39222 /* We use char because int might match the return type of a gcc2
39223 builtin and then its argument prototype would still apply. */
39224 char sched_yield ();
39225 /* The GNU C library defines this for functions which it implements
39226 to always fail with ENOSYS. Some functions are actually named
39227 something starting with __ and the normal name is an alias. */
39228 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39229 choke me
39230 #else
39231 char (*f) () = sched_yield;
39232 #endif
39233 #ifdef __cplusplus
39234 }
39235 #endif
39236
39237 int
39238 main ()
39239 {
39240 return f != sched_yield;
39241 ;
39242 return 0;
39243 }
39244 _ACEOF
39245 rm -f conftest.$ac_objext conftest$ac_exeext
39246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39247 (eval $ac_link) 2>conftest.er1
39248 ac_status=$?
39249 grep -v '^ *+' conftest.er1 >conftest.err
39250 rm -f conftest.er1
39251 cat conftest.err >&5
39252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39253 (exit $ac_status); } &&
39254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39256 (eval $ac_try) 2>&5
39257 ac_status=$?
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); }; } &&
39260 { ac_try='test -s conftest$ac_exeext'
39261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39262 (eval $ac_try) 2>&5
39263 ac_status=$?
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); }; }; then
39266 ac_cv_func_sched_yield=yes
39267 else
39268 echo "$as_me: failed program was:" >&5
39269 sed 's/^/| /' conftest.$ac_ext >&5
39270
39271 ac_cv_func_sched_yield=no
39272 fi
39273 rm -f conftest.err conftest.$ac_objext \
39274 conftest$ac_exeext conftest.$ac_ext
39275 fi
39276 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39277 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39278 if test $ac_cv_func_sched_yield = yes; then
39279 cat >>confdefs.h <<\_ACEOF
39280 #define HAVE_SCHED_YIELD 1
39281 _ACEOF
39282
39283 else
39284
39285 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39286 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39287 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39288 echo $ECHO_N "(cached) $ECHO_C" >&6
39289 else
39290 ac_check_lib_save_LIBS=$LIBS
39291 LIBS="-lposix4 $LIBS"
39292 cat >conftest.$ac_ext <<_ACEOF
39293 /* confdefs.h. */
39294 _ACEOF
39295 cat confdefs.h >>conftest.$ac_ext
39296 cat >>conftest.$ac_ext <<_ACEOF
39297 /* end confdefs.h. */
39298
39299 /* Override any gcc2 internal prototype to avoid an error. */
39300 #ifdef __cplusplus
39301 extern "C"
39302 #endif
39303 /* We use char because int might match the return type of a gcc2
39304 builtin and then its argument prototype would still apply. */
39305 char sched_yield ();
39306 int
39307 main ()
39308 {
39309 sched_yield ();
39310 ;
39311 return 0;
39312 }
39313 _ACEOF
39314 rm -f conftest.$ac_objext conftest$ac_exeext
39315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39316 (eval $ac_link) 2>conftest.er1
39317 ac_status=$?
39318 grep -v '^ *+' conftest.er1 >conftest.err
39319 rm -f conftest.er1
39320 cat conftest.err >&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } &&
39323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39326 ac_status=$?
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; } &&
39329 { ac_try='test -s conftest$ac_exeext'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39332 ac_status=$?
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; }; then
39335 ac_cv_lib_posix4_sched_yield=yes
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 ac_cv_lib_posix4_sched_yield=no
39341 fi
39342 rm -f conftest.err conftest.$ac_objext \
39343 conftest$ac_exeext conftest.$ac_ext
39344 LIBS=$ac_check_lib_save_LIBS
39345 fi
39346 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39347 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39348 if test $ac_cv_lib_posix4_sched_yield = yes; then
39349 cat >>confdefs.h <<\_ACEOF
39350 #define HAVE_SCHED_YIELD 1
39351 _ACEOF
39352 POSIX4_LINK=" -lposix4"
39353 else
39354 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39355 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39356
39357 fi
39358
39359
39360
39361 fi
39362
39363 fi
39364
39365 HAVE_PRIOR_FUNCS=0
39366 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39367 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39368 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39370 else
39371 cat >conftest.$ac_ext <<_ACEOF
39372 /* confdefs.h. */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h. */
39377 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39379 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39380
39381 /* System header to define __stub macros and hopefully few prototypes,
39382 which can conflict with char pthread_attr_getschedpolicy (); below.
39383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384 <limits.h> exists even on freestanding compilers. */
39385
39386 #ifdef __STDC__
39387 # include <limits.h>
39388 #else
39389 # include <assert.h>
39390 #endif
39391
39392 #undef pthread_attr_getschedpolicy
39393
39394 /* Override any gcc2 internal prototype to avoid an error. */
39395 #ifdef __cplusplus
39396 extern "C"
39397 {
39398 #endif
39399 /* We use char because int might match the return type of a gcc2
39400 builtin and then its argument prototype would still apply. */
39401 char pthread_attr_getschedpolicy ();
39402 /* The GNU C library defines this for functions which it implements
39403 to always fail with ENOSYS. Some functions are actually named
39404 something starting with __ and the normal name is an alias. */
39405 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39406 choke me
39407 #else
39408 char (*f) () = pthread_attr_getschedpolicy;
39409 #endif
39410 #ifdef __cplusplus
39411 }
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return f != pthread_attr_getschedpolicy;
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39424 (eval $ac_link) 2>conftest.er1
39425 ac_status=$?
39426 grep -v '^ *+' conftest.er1 >conftest.err
39427 rm -f conftest.er1
39428 cat conftest.err >&5
39429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430 (exit $ac_status); } &&
39431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39433 (eval $ac_try) 2>&5
39434 ac_status=$?
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); }; } &&
39437 { ac_try='test -s conftest$ac_exeext'
39438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39439 (eval $ac_try) 2>&5
39440 ac_status=$?
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); }; }; then
39443 ac_cv_func_pthread_attr_getschedpolicy=yes
39444 else
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.$ac_ext >&5
39447
39448 ac_cv_func_pthread_attr_getschedpolicy=no
39449 fi
39450 rm -f conftest.err conftest.$ac_objext \
39451 conftest$ac_exeext conftest.$ac_ext
39452 fi
39453 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39454 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39455 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39456 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39457 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39458 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39460 else
39461 cat >conftest.$ac_ext <<_ACEOF
39462 /* confdefs.h. */
39463 _ACEOF
39464 cat confdefs.h >>conftest.$ac_ext
39465 cat >>conftest.$ac_ext <<_ACEOF
39466 /* end confdefs.h. */
39467 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39469 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39470
39471 /* System header to define __stub macros and hopefully few prototypes,
39472 which can conflict with char pthread_attr_setschedparam (); below.
39473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39474 <limits.h> exists even on freestanding compilers. */
39475
39476 #ifdef __STDC__
39477 # include <limits.h>
39478 #else
39479 # include <assert.h>
39480 #endif
39481
39482 #undef pthread_attr_setschedparam
39483
39484 /* Override any gcc2 internal prototype to avoid an error. */
39485 #ifdef __cplusplus
39486 extern "C"
39487 {
39488 #endif
39489 /* We use char because int might match the return type of a gcc2
39490 builtin and then its argument prototype would still apply. */
39491 char pthread_attr_setschedparam ();
39492 /* The GNU C library defines this for functions which it implements
39493 to always fail with ENOSYS. Some functions are actually named
39494 something starting with __ and the normal name is an alias. */
39495 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39496 choke me
39497 #else
39498 char (*f) () = pthread_attr_setschedparam;
39499 #endif
39500 #ifdef __cplusplus
39501 }
39502 #endif
39503
39504 int
39505 main ()
39506 {
39507 return f != pthread_attr_setschedparam;
39508 ;
39509 return 0;
39510 }
39511 _ACEOF
39512 rm -f conftest.$ac_objext conftest$ac_exeext
39513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39514 (eval $ac_link) 2>conftest.er1
39515 ac_status=$?
39516 grep -v '^ *+' conftest.er1 >conftest.err
39517 rm -f conftest.er1
39518 cat conftest.err >&5
39519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520 (exit $ac_status); } &&
39521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39523 (eval $ac_try) 2>&5
39524 ac_status=$?
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); }; } &&
39527 { ac_try='test -s conftest$ac_exeext'
39528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39529 (eval $ac_try) 2>&5
39530 ac_status=$?
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); }; }; then
39533 ac_cv_func_pthread_attr_setschedparam=yes
39534 else
39535 echo "$as_me: failed program was:" >&5
39536 sed 's/^/| /' conftest.$ac_ext >&5
39537
39538 ac_cv_func_pthread_attr_setschedparam=no
39539 fi
39540 rm -f conftest.err conftest.$ac_objext \
39541 conftest$ac_exeext conftest.$ac_ext
39542 fi
39543 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39544 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39545 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39546 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39547 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39548 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 else
39551 cat >conftest.$ac_ext <<_ACEOF
39552 /* confdefs.h. */
39553 _ACEOF
39554 cat confdefs.h >>conftest.$ac_ext
39555 cat >>conftest.$ac_ext <<_ACEOF
39556 /* end confdefs.h. */
39557 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39559 #define sched_get_priority_max innocuous_sched_get_priority_max
39560
39561 /* System header to define __stub macros and hopefully few prototypes,
39562 which can conflict with char sched_get_priority_max (); below.
39563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39564 <limits.h> exists even on freestanding compilers. */
39565
39566 #ifdef __STDC__
39567 # include <limits.h>
39568 #else
39569 # include <assert.h>
39570 #endif
39571
39572 #undef sched_get_priority_max
39573
39574 /* Override any gcc2 internal prototype to avoid an error. */
39575 #ifdef __cplusplus
39576 extern "C"
39577 {
39578 #endif
39579 /* We use char because int might match the return type of a gcc2
39580 builtin and then its argument prototype would still apply. */
39581 char sched_get_priority_max ();
39582 /* The GNU C library defines this for functions which it implements
39583 to always fail with ENOSYS. Some functions are actually named
39584 something starting with __ and the normal name is an alias. */
39585 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39586 choke me
39587 #else
39588 char (*f) () = sched_get_priority_max;
39589 #endif
39590 #ifdef __cplusplus
39591 }
39592 #endif
39593
39594 int
39595 main ()
39596 {
39597 return f != sched_get_priority_max;
39598 ;
39599 return 0;
39600 }
39601 _ACEOF
39602 rm -f conftest.$ac_objext conftest$ac_exeext
39603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39604 (eval $ac_link) 2>conftest.er1
39605 ac_status=$?
39606 grep -v '^ *+' conftest.er1 >conftest.err
39607 rm -f conftest.er1
39608 cat conftest.err >&5
39609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39610 (exit $ac_status); } &&
39611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39613 (eval $ac_try) 2>&5
39614 ac_status=$?
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); }; } &&
39617 { ac_try='test -s conftest$ac_exeext'
39618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39619 (eval $ac_try) 2>&5
39620 ac_status=$?
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); }; }; then
39623 ac_cv_func_sched_get_priority_max=yes
39624 else
39625 echo "$as_me: failed program was:" >&5
39626 sed 's/^/| /' conftest.$ac_ext >&5
39627
39628 ac_cv_func_sched_get_priority_max=no
39629 fi
39630 rm -f conftest.err conftest.$ac_objext \
39631 conftest$ac_exeext conftest.$ac_ext
39632 fi
39633 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39634 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39635 if test $ac_cv_func_sched_get_priority_max = yes; then
39636 HAVE_PRIOR_FUNCS=1
39637 else
39638 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39639 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39640 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39641 echo $ECHO_N "(cached) $ECHO_C" >&6
39642 else
39643 ac_check_lib_save_LIBS=$LIBS
39644 LIBS="-lposix4 $LIBS"
39645 cat >conftest.$ac_ext <<_ACEOF
39646 /* confdefs.h. */
39647 _ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651
39652 /* Override any gcc2 internal prototype to avoid an error. */
39653 #ifdef __cplusplus
39654 extern "C"
39655 #endif
39656 /* We use char because int might match the return type of a gcc2
39657 builtin and then its argument prototype would still apply. */
39658 char sched_get_priority_max ();
39659 int
39660 main ()
39661 {
39662 sched_get_priority_max ();
39663 ;
39664 return 0;
39665 }
39666 _ACEOF
39667 rm -f conftest.$ac_objext conftest$ac_exeext
39668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39669 (eval $ac_link) 2>conftest.er1
39670 ac_status=$?
39671 grep -v '^ *+' conftest.er1 >conftest.err
39672 rm -f conftest.er1
39673 cat conftest.err >&5
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); } &&
39676 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39679 ac_status=$?
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try='test -s conftest$ac_exeext'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39685 ac_status=$?
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39688 ac_cv_lib_posix4_sched_get_priority_max=yes
39689 else
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.$ac_ext >&5
39692
39693 ac_cv_lib_posix4_sched_get_priority_max=no
39694 fi
39695 rm -f conftest.err conftest.$ac_objext \
39696 conftest$ac_exeext conftest.$ac_ext
39697 LIBS=$ac_check_lib_save_LIBS
39698 fi
39699 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39700 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39701 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39702
39703 HAVE_PRIOR_FUNCS=1
39704 POSIX4_LINK=" -lposix4"
39705
39706 fi
39707
39708
39709 fi
39710
39711
39712 fi
39713
39714
39715 fi
39716
39717
39718 if test "$HAVE_PRIOR_FUNCS" = 1; then
39719 cat >>confdefs.h <<\_ACEOF
39720 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39721 _ACEOF
39722
39723 else
39724 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39725 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39726 fi
39727
39728 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39729 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39730 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39731 echo $ECHO_N "(cached) $ECHO_C" >&6
39732 else
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39741 #define pthread_cancel innocuous_pthread_cancel
39742
39743 /* System header to define __stub macros and hopefully few prototypes,
39744 which can conflict with char pthread_cancel (); below.
39745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39746 <limits.h> exists even on freestanding compilers. */
39747
39748 #ifdef __STDC__
39749 # include <limits.h>
39750 #else
39751 # include <assert.h>
39752 #endif
39753
39754 #undef pthread_cancel
39755
39756 /* Override any gcc2 internal prototype to avoid an error. */
39757 #ifdef __cplusplus
39758 extern "C"
39759 {
39760 #endif
39761 /* We use char because int might match the return type of a gcc2
39762 builtin and then its argument prototype would still apply. */
39763 char pthread_cancel ();
39764 /* The GNU C library defines this for functions which it implements
39765 to always fail with ENOSYS. Some functions are actually named
39766 something starting with __ and the normal name is an alias. */
39767 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39768 choke me
39769 #else
39770 char (*f) () = pthread_cancel;
39771 #endif
39772 #ifdef __cplusplus
39773 }
39774 #endif
39775
39776 int
39777 main ()
39778 {
39779 return f != pthread_cancel;
39780 ;
39781 return 0;
39782 }
39783 _ACEOF
39784 rm -f conftest.$ac_objext conftest$ac_exeext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39786 (eval $ac_link) 2>conftest.er1
39787 ac_status=$?
39788 grep -v '^ *+' conftest.er1 >conftest.err
39789 rm -f conftest.er1
39790 cat conftest.err >&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39795 (eval $ac_try) 2>&5
39796 ac_status=$?
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); }; } &&
39799 { ac_try='test -s conftest$ac_exeext'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39802 ac_status=$?
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; }; then
39805 ac_cv_func_pthread_cancel=yes
39806 else
39807 echo "$as_me: failed program was:" >&5
39808 sed 's/^/| /' conftest.$ac_ext >&5
39809
39810 ac_cv_func_pthread_cancel=no
39811 fi
39812 rm -f conftest.err conftest.$ac_objext \
39813 conftest$ac_exeext conftest.$ac_ext
39814 fi
39815 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39816 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39817 if test $ac_cv_func_pthread_cancel = yes; then
39818 cat >>confdefs.h <<\_ACEOF
39819 #define HAVE_PTHREAD_CANCEL 1
39820 _ACEOF
39821
39822 else
39823 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39824 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39825 fi
39826
39827
39828 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39829 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39830 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39831 echo $ECHO_N "(cached) $ECHO_C" >&6
39832 else
39833 cat >conftest.$ac_ext <<_ACEOF
39834 /* confdefs.h. */
39835 _ACEOF
39836 cat confdefs.h >>conftest.$ac_ext
39837 cat >>conftest.$ac_ext <<_ACEOF
39838 /* end confdefs.h. */
39839 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39841 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39842
39843 /* System header to define __stub macros and hopefully few prototypes,
39844 which can conflict with char pthread_attr_setstacksize (); below.
39845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39846 <limits.h> exists even on freestanding compilers. */
39847
39848 #ifdef __STDC__
39849 # include <limits.h>
39850 #else
39851 # include <assert.h>
39852 #endif
39853
39854 #undef pthread_attr_setstacksize
39855
39856 /* Override any gcc2 internal prototype to avoid an error. */
39857 #ifdef __cplusplus
39858 extern "C"
39859 {
39860 #endif
39861 /* We use char because int might match the return type of a gcc2
39862 builtin and then its argument prototype would still apply. */
39863 char pthread_attr_setstacksize ();
39864 /* The GNU C library defines this for functions which it implements
39865 to always fail with ENOSYS. Some functions are actually named
39866 something starting with __ and the normal name is an alias. */
39867 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39868 choke me
39869 #else
39870 char (*f) () = pthread_attr_setstacksize;
39871 #endif
39872 #ifdef __cplusplus
39873 }
39874 #endif
39875
39876 int
39877 main ()
39878 {
39879 return f != pthread_attr_setstacksize;
39880 ;
39881 return 0;
39882 }
39883 _ACEOF
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39886 (eval $ac_link) 2>conftest.er1
39887 ac_status=$?
39888 grep -v '^ *+' conftest.er1 >conftest.err
39889 rm -f conftest.er1
39890 cat conftest.err >&5
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); } &&
39893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39895 (eval $ac_try) 2>&5
39896 ac_status=$?
39897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39898 (exit $ac_status); }; } &&
39899 { ac_try='test -s conftest$ac_exeext'
39900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39901 (eval $ac_try) 2>&5
39902 ac_status=$?
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); }; }; then
39905 ac_cv_func_pthread_attr_setstacksize=yes
39906 else
39907 echo "$as_me: failed program was:" >&5
39908 sed 's/^/| /' conftest.$ac_ext >&5
39909
39910 ac_cv_func_pthread_attr_setstacksize=no
39911 fi
39912 rm -f conftest.err conftest.$ac_objext \
39913 conftest$ac_exeext conftest.$ac_ext
39914 fi
39915 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39916 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39917 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39918 cat >>confdefs.h <<\_ACEOF
39919 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39920 _ACEOF
39921
39922 fi
39923
39924
39925
39926 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39927 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39928 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39929 echo $ECHO_N "(cached) $ECHO_C" >&6
39930 else
39931
39932 cat >conftest.$ac_ext <<_ACEOF
39933 /* confdefs.h. */
39934 _ACEOF
39935 cat confdefs.h >>conftest.$ac_ext
39936 cat >>conftest.$ac_ext <<_ACEOF
39937 /* end confdefs.h. */
39938 #include <pthread.h>
39939 int
39940 main ()
39941 {
39942
39943 pthread_mutexattr_t attr;
39944 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39945
39946 ;
39947 return 0;
39948 }
39949 _ACEOF
39950 rm -f conftest.$ac_objext
39951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39952 (eval $ac_compile) 2>conftest.er1
39953 ac_status=$?
39954 grep -v '^ *+' conftest.er1 >conftest.err
39955 rm -f conftest.er1
39956 cat conftest.err >&5
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); } &&
39959 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39961 (eval $ac_try) 2>&5
39962 ac_status=$?
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); }; } &&
39965 { ac_try='test -s conftest.$ac_objext'
39966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967 (eval $ac_try) 2>&5
39968 ac_status=$?
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); }; }; then
39971 wx_cv_type_pthread_mutexattr_t=yes
39972 else
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39975
39976 wx_cv_type_pthread_mutexattr_t=no
39977
39978 fi
39979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39980
39981 fi
39982 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39983 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39984
39985 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39986 cat >>confdefs.h <<\_ACEOF
39987 #define HAVE_PTHREAD_MUTEXATTR_T 1
39988 _ACEOF
39989
39990
39991 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39992 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39993 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39994 echo $ECHO_N "(cached) $ECHO_C" >&6
39995 else
39996
39997 cat >conftest.$ac_ext <<_ACEOF
39998 /* confdefs.h. */
39999 _ACEOF
40000 cat confdefs.h >>conftest.$ac_ext
40001 cat >>conftest.$ac_ext <<_ACEOF
40002 /* end confdefs.h. */
40003 #include <pthread.h>
40004 int
40005 main ()
40006 {
40007
40008 pthread_mutexattr_t attr;
40009 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40010
40011 ;
40012 return 0;
40013 }
40014 _ACEOF
40015 rm -f conftest.$ac_objext
40016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40017 (eval $ac_compile) 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } &&
40024 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40026 (eval $ac_try) 2>&5
40027 ac_status=$?
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); }; } &&
40030 { ac_try='test -s conftest.$ac_objext'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; }; then
40036 wx_cv_func_pthread_mutexattr_settype_decl=yes
40037 else
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.$ac_ext >&5
40040
40041 wx_cv_func_pthread_mutexattr_settype_decl=no
40042
40043 fi
40044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40045
40046 fi
40047 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40048 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40049 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40050 cat >>confdefs.h <<\_ACEOF
40051 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40052 _ACEOF
40053
40054 fi
40055 else
40056 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40057 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40058 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40059 echo $ECHO_N "(cached) $ECHO_C" >&6
40060 else
40061
40062 cat >conftest.$ac_ext <<_ACEOF
40063 /* confdefs.h. */
40064 _ACEOF
40065 cat confdefs.h >>conftest.$ac_ext
40066 cat >>conftest.$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 #include <pthread.h>
40069 int
40070 main ()
40071 {
40072
40073 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40074
40075 ;
40076 return 0;
40077 }
40078 _ACEOF
40079 rm -f conftest.$ac_objext
40080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40081 (eval $ac_compile) 2>conftest.er1
40082 ac_status=$?
40083 grep -v '^ *+' conftest.er1 >conftest.err
40084 rm -f conftest.er1
40085 cat conftest.err >&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } &&
40088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40090 (eval $ac_try) 2>&5
40091 ac_status=$?
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); }; } &&
40094 { ac_try='test -s conftest.$ac_objext'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40097 ac_status=$?
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; }; then
40100
40101 wx_cv_type_pthread_rec_mutex_init=yes
40102
40103 else
40104 echo "$as_me: failed program was:" >&5
40105 sed 's/^/| /' conftest.$ac_ext >&5
40106
40107
40108 wx_cv_type_pthread_rec_mutex_init=no
40109
40110
40111 fi
40112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40113
40114 fi
40115 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40116 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40117 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40118 cat >>confdefs.h <<\_ACEOF
40119 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40120 _ACEOF
40121
40122 else
40123 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40124 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40125 fi
40126 fi
40127 fi
40128
40129 else
40130 if test "$wxUSE_THREADS" = "yes" ; then
40131 case "${host}" in
40132 *-*-mingw32* )
40133 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40134 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40135 if test "${wx_cv_cflags_mthread+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138
40139 CXXFLAGS_OLD="$CXXFLAGS"
40140 CXXFLAGS="-mthreads $CXXFLAGS"
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147
40148 int
40149 main ()
40150 {
40151
40152 ;
40153 return 0;
40154 }
40155 _ACEOF
40156 rm -f conftest.$ac_objext
40157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40158 (eval $ac_compile) 2>conftest.er1
40159 ac_status=$?
40160 grep -v '^ *+' conftest.er1 >conftest.err
40161 rm -f conftest.er1
40162 cat conftest.err >&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } &&
40165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40167 (eval $ac_try) 2>&5
40168 ac_status=$?
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); }; } &&
40171 { ac_try='test -s conftest.$ac_objext'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40174 ac_status=$?
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; }; then
40177 wx_cv_cflags_mthread=yes
40178 else
40179 echo "$as_me: failed program was:" >&5
40180 sed 's/^/| /' conftest.$ac_ext >&5
40181
40182 wx_cv_cflags_mthread=no
40183
40184 fi
40185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40186
40187
40188 fi
40189 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40190 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40191
40192 if test "$wx_cv_cflags_mthread" = "yes"; then
40193 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40194 LDFLAGS="$LDFLAGS -mthreads"
40195 else
40196 CXXFLAGS="$CXXFLAGS_OLD"
40197 fi
40198 ;;
40199 *-pc-os2*emx )
40200 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40201 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40202 LDFLAGS="$LDFLAGS -Zmt"
40203 ;;
40204 esac
40205 fi
40206 fi
40207
40208 echo "$as_me:$LINENO: checking for localtime_r" >&5
40209 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40210 if test "${ac_cv_func_localtime_r+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40212 else
40213 cat >conftest.$ac_ext <<_ACEOF
40214 /* confdefs.h. */
40215 _ACEOF
40216 cat confdefs.h >>conftest.$ac_ext
40217 cat >>conftest.$ac_ext <<_ACEOF
40218 /* end confdefs.h. */
40219 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40221 #define localtime_r innocuous_localtime_r
40222
40223 /* System header to define __stub macros and hopefully few prototypes,
40224 which can conflict with char localtime_r (); below.
40225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40226 <limits.h> exists even on freestanding compilers. */
40227
40228 #ifdef __STDC__
40229 # include <limits.h>
40230 #else
40231 # include <assert.h>
40232 #endif
40233
40234 #undef localtime_r
40235
40236 /* Override any gcc2 internal prototype to avoid an error. */
40237 #ifdef __cplusplus
40238 extern "C"
40239 {
40240 #endif
40241 /* We use char because int might match the return type of a gcc2
40242 builtin and then its argument prototype would still apply. */
40243 char localtime_r ();
40244 /* The GNU C library defines this for functions which it implements
40245 to always fail with ENOSYS. Some functions are actually named
40246 something starting with __ and the normal name is an alias. */
40247 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40248 choke me
40249 #else
40250 char (*f) () = localtime_r;
40251 #endif
40252 #ifdef __cplusplus
40253 }
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 return f != localtime_r;
40260 ;
40261 return 0;
40262 }
40263 _ACEOF
40264 rm -f conftest.$ac_objext conftest$ac_exeext
40265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40266 (eval $ac_link) 2>conftest.er1
40267 ac_status=$?
40268 grep -v '^ *+' conftest.er1 >conftest.err
40269 rm -f conftest.er1
40270 cat conftest.err >&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } &&
40273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40275 (eval $ac_try) 2>&5
40276 ac_status=$?
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); }; } &&
40279 { ac_try='test -s conftest$ac_exeext'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40282 ac_status=$?
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; }; then
40285 ac_cv_func_localtime_r=yes
40286 else
40287 echo "$as_me: failed program was:" >&5
40288 sed 's/^/| /' conftest.$ac_ext >&5
40289
40290 ac_cv_func_localtime_r=no
40291 fi
40292 rm -f conftest.err conftest.$ac_objext \
40293 conftest$ac_exeext conftest.$ac_ext
40294 fi
40295 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40296 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40297 if test $ac_cv_func_localtime_r = yes; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define HAVE_LOCALTIME_R 1
40300 _ACEOF
40301
40302 fi
40303
40304 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40305 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40306 if test "${ac_cv_func_gmtime_r+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309 cat >conftest.$ac_ext <<_ACEOF
40310 /* confdefs.h. */
40311 _ACEOF
40312 cat confdefs.h >>conftest.$ac_ext
40313 cat >>conftest.$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40315 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40317 #define gmtime_r innocuous_gmtime_r
40318
40319 /* System header to define __stub macros and hopefully few prototypes,
40320 which can conflict with char gmtime_r (); below.
40321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40322 <limits.h> exists even on freestanding compilers. */
40323
40324 #ifdef __STDC__
40325 # include <limits.h>
40326 #else
40327 # include <assert.h>
40328 #endif
40329
40330 #undef gmtime_r
40331
40332 /* Override any gcc2 internal prototype to avoid an error. */
40333 #ifdef __cplusplus
40334 extern "C"
40335 {
40336 #endif
40337 /* We use char because int might match the return type of a gcc2
40338 builtin and then its argument prototype would still apply. */
40339 char gmtime_r ();
40340 /* The GNU C library defines this for functions which it implements
40341 to always fail with ENOSYS. Some functions are actually named
40342 something starting with __ and the normal name is an alias. */
40343 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40344 choke me
40345 #else
40346 char (*f) () = gmtime_r;
40347 #endif
40348 #ifdef __cplusplus
40349 }
40350 #endif
40351
40352 int
40353 main ()
40354 {
40355 return f != gmtime_r;
40356 ;
40357 return 0;
40358 }
40359 _ACEOF
40360 rm -f conftest.$ac_objext conftest$ac_exeext
40361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40362 (eval $ac_link) 2>conftest.er1
40363 ac_status=$?
40364 grep -v '^ *+' conftest.er1 >conftest.err
40365 rm -f conftest.er1
40366 cat conftest.err >&5
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); } &&
40369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40372 ac_status=$?
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; } &&
40375 { ac_try='test -s conftest$ac_exeext'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40378 ac_status=$?
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; }; then
40381 ac_cv_func_gmtime_r=yes
40382 else
40383 echo "$as_me: failed program was:" >&5
40384 sed 's/^/| /' conftest.$ac_ext >&5
40385
40386 ac_cv_func_gmtime_r=no
40387 fi
40388 rm -f conftest.err conftest.$ac_objext \
40389 conftest$ac_exeext conftest.$ac_ext
40390 fi
40391 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40392 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40393 if test $ac_cv_func_gmtime_r = yes; then
40394 cat >>confdefs.h <<\_ACEOF
40395 #define HAVE_GMTIME_R 1
40396 _ACEOF
40397
40398 fi
40399
40400 echo "$as_me:$LINENO: checking for readdir_r" >&5
40401 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40402 if test "${ac_cv_func_readdir_r+set}" = set; then
40403 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 else
40405 cat >conftest.$ac_ext <<_ACEOF
40406 /* confdefs.h. */
40407 _ACEOF
40408 cat confdefs.h >>conftest.$ac_ext
40409 cat >>conftest.$ac_ext <<_ACEOF
40410 /* end confdefs.h. */
40411 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40413 #define readdir_r innocuous_readdir_r
40414
40415 /* System header to define __stub macros and hopefully few prototypes,
40416 which can conflict with char readdir_r (); below.
40417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40418 <limits.h> exists even on freestanding compilers. */
40419
40420 #ifdef __STDC__
40421 # include <limits.h>
40422 #else
40423 # include <assert.h>
40424 #endif
40425
40426 #undef readdir_r
40427
40428 /* Override any gcc2 internal prototype to avoid an error. */
40429 #ifdef __cplusplus
40430 extern "C"
40431 {
40432 #endif
40433 /* We use char because int might match the return type of a gcc2
40434 builtin and then its argument prototype would still apply. */
40435 char readdir_r ();
40436 /* The GNU C library defines this for functions which it implements
40437 to always fail with ENOSYS. Some functions are actually named
40438 something starting with __ and the normal name is an alias. */
40439 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40440 choke me
40441 #else
40442 char (*f) () = readdir_r;
40443 #endif
40444 #ifdef __cplusplus
40445 }
40446 #endif
40447
40448 int
40449 main ()
40450 {
40451 return f != readdir_r;
40452 ;
40453 return 0;
40454 }
40455 _ACEOF
40456 rm -f conftest.$ac_objext conftest$ac_exeext
40457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40458 (eval $ac_link) 2>conftest.er1
40459 ac_status=$?
40460 grep -v '^ *+' conftest.er1 >conftest.err
40461 rm -f conftest.er1
40462 cat conftest.err >&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); } &&
40465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40467 (eval $ac_try) 2>&5
40468 ac_status=$?
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); }; } &&
40471 { ac_try='test -s conftest$ac_exeext'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; }; then
40477 ac_cv_func_readdir_r=yes
40478 else
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40481
40482 ac_cv_func_readdir_r=no
40483 fi
40484 rm -f conftest.err conftest.$ac_objext \
40485 conftest$ac_exeext conftest.$ac_ext
40486 fi
40487 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40488 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40489 if test $ac_cv_func_readdir_r = yes; then
40490 cat >>confdefs.h <<\_ACEOF
40491 #define HAVE_READDIR_R 1
40492 _ACEOF
40493
40494 fi
40495
40496
40497
40498
40499 ac_ext=c
40500 ac_cpp='$CPP $CPPFLAGS'
40501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40504
40505 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40506 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40507
40508 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40509 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 else
40511
40512
40513 ################################################################
40514
40515 ac_cv_func_which_gethostbyname_r=unknown
40516
40517 #
40518 # ONE ARGUMENT (sanity check)
40519 #
40520
40521 # This should fail, as there is no variant of gethostbyname_r() that takes
40522 # a single argument. If it actually compiles, then we can assume that
40523 # netdb.h is not declaring the function, and the compiler is thereby
40524 # assuming an implicit prototype. In which case, we're out of luck.
40525 #
40526 cat >conftest.$ac_ext <<_ACEOF
40527 /* confdefs.h. */
40528 _ACEOF
40529 cat confdefs.h >>conftest.$ac_ext
40530 cat >>conftest.$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40532 #include <netdb.h>
40533 int
40534 main ()
40535 {
40536
40537 char *name = "www.gnu.org";
40538 (void)gethostbyname_r(name) /* ; */
40539
40540 ;
40541 return 0;
40542 }
40543 _ACEOF
40544 rm -f conftest.$ac_objext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40546 (eval $ac_compile) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40555 (eval $ac_try) 2>&5
40556 ac_status=$?
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); }; } &&
40559 { ac_try='test -s conftest.$ac_objext'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40562 ac_status=$?
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; }; then
40565 ac_cv_func_which_gethostbyname_r=no
40566 else
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40569
40570 fi
40571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40572
40573 #
40574 # SIX ARGUMENTS
40575 # (e.g. Linux)
40576 #
40577
40578 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40579
40580 cat >conftest.$ac_ext <<_ACEOF
40581 /* confdefs.h. */
40582 _ACEOF
40583 cat confdefs.h >>conftest.$ac_ext
40584 cat >>conftest.$ac_ext <<_ACEOF
40585 /* end confdefs.h. */
40586 #include <netdb.h>
40587 int
40588 main ()
40589 {
40590
40591 char *name = "www.gnu.org";
40592 struct hostent ret, *retp;
40593 char buf[1024];
40594 int buflen = 1024;
40595 int my_h_errno;
40596 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40597
40598 ;
40599 return 0;
40600 }
40601 _ACEOF
40602 rm -f conftest.$ac_objext
40603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40604 (eval $ac_compile) 2>conftest.er1
40605 ac_status=$?
40606 grep -v '^ *+' conftest.er1 >conftest.err
40607 rm -f conftest.er1
40608 cat conftest.err >&5
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); } &&
40611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40614 ac_status=$?
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; } &&
40617 { ac_try='test -s conftest.$ac_objext'
40618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40619 (eval $ac_try) 2>&5
40620 ac_status=$?
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); }; }; then
40623 ac_cv_func_which_gethostbyname_r=six
40624 else
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40627
40628 fi
40629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40630
40631 fi
40632
40633 #
40634 # FIVE ARGUMENTS
40635 # (e.g. Solaris)
40636 #
40637
40638 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40639
40640 cat >conftest.$ac_ext <<_ACEOF
40641 /* confdefs.h. */
40642 _ACEOF
40643 cat confdefs.h >>conftest.$ac_ext
40644 cat >>conftest.$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40646 #include <netdb.h>
40647 int
40648 main ()
40649 {
40650
40651 char *name = "www.gnu.org";
40652 struct hostent ret;
40653 char buf[1024];
40654 int buflen = 1024;
40655 int my_h_errno;
40656 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40657
40658 ;
40659 return 0;
40660 }
40661 _ACEOF
40662 rm -f conftest.$ac_objext
40663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40664 (eval $ac_compile) 2>conftest.er1
40665 ac_status=$?
40666 grep -v '^ *+' conftest.er1 >conftest.err
40667 rm -f conftest.er1
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } &&
40671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673 (eval $ac_try) 2>&5
40674 ac_status=$?
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); }; } &&
40677 { ac_try='test -s conftest.$ac_objext'
40678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679 (eval $ac_try) 2>&5
40680 ac_status=$?
40681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682 (exit $ac_status); }; }; then
40683 ac_cv_func_which_gethostbyname_r=five
40684 else
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40687
40688 fi
40689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40690
40691 fi
40692
40693 #
40694 # THREE ARGUMENTS
40695 # (e.g. AIX, HP-UX, Tru64)
40696 #
40697
40698 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40699
40700 cat >conftest.$ac_ext <<_ACEOF
40701 /* confdefs.h. */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40706 #include <netdb.h>
40707 int
40708 main ()
40709 {
40710
40711 char *name = "www.gnu.org";
40712 struct hostent ret;
40713 struct hostent_data data;
40714 (void)gethostbyname_r(name, &ret, &data) /* ; */
40715
40716 ;
40717 return 0;
40718 }
40719 _ACEOF
40720 rm -f conftest.$ac_objext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40722 (eval $ac_compile) 2>conftest.er1
40723 ac_status=$?
40724 grep -v '^ *+' conftest.er1 >conftest.err
40725 rm -f conftest.er1
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } &&
40729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40731 (eval $ac_try) 2>&5
40732 ac_status=$?
40733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40734 (exit $ac_status); }; } &&
40735 { ac_try='test -s conftest.$ac_objext'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40738 ac_status=$?
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; }; then
40741 ac_cv_func_which_gethostbyname_r=three
40742 else
40743 echo "$as_me: failed program was:" >&5
40744 sed 's/^/| /' conftest.$ac_ext >&5
40745
40746 fi
40747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40748
40749 fi
40750
40751 ################################################################
40752
40753
40754 fi
40755
40756 case "$ac_cv_func_which_gethostbyname_r" in
40757 three)
40758 echo "$as_me:$LINENO: result: three" >&5
40759 echo "${ECHO_T}three" >&6
40760 cat >>confdefs.h <<\_ACEOF
40761 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40762 _ACEOF
40763
40764 ;;
40765
40766 five)
40767 echo "$as_me:$LINENO: result: five" >&5
40768 echo "${ECHO_T}five" >&6
40769 cat >>confdefs.h <<\_ACEOF
40770 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40771 _ACEOF
40772
40773 ;;
40774
40775 six)
40776 echo "$as_me:$LINENO: result: six" >&5
40777 echo "${ECHO_T}six" >&6
40778 cat >>confdefs.h <<\_ACEOF
40779 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40780 _ACEOF
40781
40782 ;;
40783
40784 no)
40785 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40786 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40787 ;;
40788
40789 unknown)
40790 echo "$as_me:$LINENO: result: can't tell" >&5
40791 echo "${ECHO_T}can't tell" >&6
40792 ;;
40793
40794 *)
40795 { { echo "$as_me:$LINENO: error: internal error" >&5
40796 echo "$as_me: error: internal error" >&2;}
40797 { (exit 1); exit 1; }; }
40798 ;;
40799 esac
40800
40801 ac_ext=cc
40802 ac_cpp='$CXXCPP $CPPFLAGS'
40803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40806
40807
40808
40809 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40810 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40811 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40812 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40813 if test "${ac_cv_func_gethostbyname+set}" = set; then
40814 echo $ECHO_N "(cached) $ECHO_C" >&6
40815 else
40816 cat >conftest.$ac_ext <<_ACEOF
40817 /* confdefs.h. */
40818 _ACEOF
40819 cat confdefs.h >>conftest.$ac_ext
40820 cat >>conftest.$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40822 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40824 #define gethostbyname innocuous_gethostbyname
40825
40826 /* System header to define __stub macros and hopefully few prototypes,
40827 which can conflict with char gethostbyname (); below.
40828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40829 <limits.h> exists even on freestanding compilers. */
40830
40831 #ifdef __STDC__
40832 # include <limits.h>
40833 #else
40834 # include <assert.h>
40835 #endif
40836
40837 #undef gethostbyname
40838
40839 /* Override any gcc2 internal prototype to avoid an error. */
40840 #ifdef __cplusplus
40841 extern "C"
40842 {
40843 #endif
40844 /* We use char because int might match the return type of a gcc2
40845 builtin and then its argument prototype would still apply. */
40846 char gethostbyname ();
40847 /* The GNU C library defines this for functions which it implements
40848 to always fail with ENOSYS. Some functions are actually named
40849 something starting with __ and the normal name is an alias. */
40850 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40851 choke me
40852 #else
40853 char (*f) () = gethostbyname;
40854 #endif
40855 #ifdef __cplusplus
40856 }
40857 #endif
40858
40859 int
40860 main ()
40861 {
40862 return f != gethostbyname;
40863 ;
40864 return 0;
40865 }
40866 _ACEOF
40867 rm -f conftest.$ac_objext conftest$ac_exeext
40868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40869 (eval $ac_link) 2>conftest.er1
40870 ac_status=$?
40871 grep -v '^ *+' conftest.er1 >conftest.err
40872 rm -f conftest.er1
40873 cat conftest.err >&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); } &&
40876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40878 (eval $ac_try) 2>&5
40879 ac_status=$?
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); }; } &&
40882 { ac_try='test -s conftest$ac_exeext'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40885 ac_status=$?
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; }; then
40888 ac_cv_func_gethostbyname=yes
40889 else
40890 echo "$as_me: failed program was:" >&5
40891 sed 's/^/| /' conftest.$ac_ext >&5
40892
40893 ac_cv_func_gethostbyname=no
40894 fi
40895 rm -f conftest.err conftest.$ac_objext \
40896 conftest$ac_exeext conftest.$ac_ext
40897 fi
40898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40900 if test $ac_cv_func_gethostbyname = yes; then
40901 cat >>confdefs.h <<\_ACEOF
40902 #define HAVE_GETHOSTBYNAME 1
40903 _ACEOF
40904
40905 fi
40906
40907 fi
40908
40909 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40910 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40911 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40913 else
40914
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 #include <netdb.h>
40922 int
40923 main ()
40924 {
40925
40926 char *name;
40927 char *proto;
40928 struct servent *se, *res;
40929 char buffer[2048];
40930 int buflen = 2048;
40931 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40932
40933 ;
40934 return 0;
40935 }
40936 _ACEOF
40937 rm -f conftest.$ac_objext
40938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40939 (eval $ac_compile) 2>conftest.er1
40940 ac_status=$?
40941 grep -v '^ *+' conftest.er1 >conftest.err
40942 rm -f conftest.er1
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } &&
40946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40948 (eval $ac_try) 2>&5
40949 ac_status=$?
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; } &&
40952 { ac_try='test -s conftest.$ac_objext'
40953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40954 (eval $ac_try) 2>&5
40955 ac_status=$?
40956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957 (exit $ac_status); }; }; then
40958 ac_cv_func_which_getservbyname_r=six
40959 else
40960 echo "$as_me: failed program was:" >&5
40961 sed 's/^/| /' conftest.$ac_ext >&5
40962
40963
40964 cat >conftest.$ac_ext <<_ACEOF
40965 /* confdefs.h. */
40966 _ACEOF
40967 cat confdefs.h >>conftest.$ac_ext
40968 cat >>conftest.$ac_ext <<_ACEOF
40969 /* end confdefs.h. */
40970 #include <netdb.h>
40971 int
40972 main ()
40973 {
40974
40975 char *name;
40976 char *proto;
40977 struct servent *se;
40978 char buffer[2048];
40979 int buflen = 2048;
40980 (void) getservbyname_r(name, proto, se, buffer, buflen)
40981
40982 ;
40983 return 0;
40984 }
40985 _ACEOF
40986 rm -f conftest.$ac_objext
40987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40988 (eval $ac_compile) 2>conftest.er1
40989 ac_status=$?
40990 grep -v '^ *+' conftest.er1 >conftest.err
40991 rm -f conftest.er1
40992 cat conftest.err >&5
40993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994 (exit $ac_status); } &&
40995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40997 (eval $ac_try) 2>&5
40998 ac_status=$?
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; } &&
41001 { ac_try='test -s conftest.$ac_objext'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41004 ac_status=$?
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; }; then
41007 ac_cv_func_which_getservbyname_r=five
41008 else
41009 echo "$as_me: failed program was:" >&5
41010 sed 's/^/| /' conftest.$ac_ext >&5
41011
41012
41013 cat >conftest.$ac_ext <<_ACEOF
41014 /* confdefs.h. */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41019 #include <netdb.h>
41020 int
41021 main ()
41022 {
41023
41024 char *name;
41025 char *proto;
41026 struct servent *se;
41027 struct servent_data data;
41028 (void) getservbyname_r(name, proto, se, &data);
41029
41030 ;
41031 return 0;
41032 }
41033 _ACEOF
41034 rm -f conftest.$ac_objext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41036 (eval $ac_compile) 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; } &&
41049 { ac_try='test -s conftest.$ac_objext'
41050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41051 (eval $ac_try) 2>&5
41052 ac_status=$?
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 ac_cv_func_which_getservbyname_r=four
41056 else
41057 echo "$as_me: failed program was:" >&5
41058 sed 's/^/| /' conftest.$ac_ext >&5
41059
41060 ac_cv_func_which_getservbyname_r=no
41061
41062 fi
41063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41064
41065
41066 fi
41067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41068
41069
41070 fi
41071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41072
41073
41074 fi
41075 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41076 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41077
41078 if test $ac_cv_func_which_getservbyname_r = six; then
41079 cat >>confdefs.h <<\_ACEOF
41080 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41081 _ACEOF
41082
41083 elif test $ac_cv_func_which_getservbyname_r = five; then
41084 cat >>confdefs.h <<\_ACEOF
41085 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41086 _ACEOF
41087
41088 elif test $ac_cv_func_which_getservbyname_r = four; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41091 _ACEOF
41092
41093 fi
41094
41095
41096 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41097 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41098
41099 for ac_func in getservbyname
41100 do
41101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41102 echo "$as_me:$LINENO: checking for $ac_func" >&5
41103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41104 if eval "test \"\${$as_ac_var+set}\" = set"; then
41105 echo $ECHO_N "(cached) $ECHO_C" >&6
41106 else
41107 cat >conftest.$ac_ext <<_ACEOF
41108 /* confdefs.h. */
41109 _ACEOF
41110 cat confdefs.h >>conftest.$ac_ext
41111 cat >>conftest.$ac_ext <<_ACEOF
41112 /* end confdefs.h. */
41113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41115 #define $ac_func innocuous_$ac_func
41116
41117 /* System header to define __stub macros and hopefully few prototypes,
41118 which can conflict with char $ac_func (); below.
41119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41120 <limits.h> exists even on freestanding compilers. */
41121
41122 #ifdef __STDC__
41123 # include <limits.h>
41124 #else
41125 # include <assert.h>
41126 #endif
41127
41128 #undef $ac_func
41129
41130 /* Override any gcc2 internal prototype to avoid an error. */
41131 #ifdef __cplusplus
41132 extern "C"
41133 {
41134 #endif
41135 /* We use char because int might match the return type of a gcc2
41136 builtin and then its argument prototype would still apply. */
41137 char $ac_func ();
41138 /* The GNU C library defines this for functions which it implements
41139 to always fail with ENOSYS. Some functions are actually named
41140 something starting with __ and the normal name is an alias. */
41141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41142 choke me
41143 #else
41144 char (*f) () = $ac_func;
41145 #endif
41146 #ifdef __cplusplus
41147 }
41148 #endif
41149
41150 int
41151 main ()
41152 {
41153 return f != $ac_func;
41154 ;
41155 return 0;
41156 }
41157 _ACEOF
41158 rm -f conftest.$ac_objext conftest$ac_exeext
41159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41160 (eval $ac_link) 2>conftest.er1
41161 ac_status=$?
41162 grep -v '^ *+' conftest.er1 >conftest.err
41163 rm -f conftest.er1
41164 cat conftest.err >&5
41165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41166 (exit $ac_status); } &&
41167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41169 (eval $ac_try) 2>&5
41170 ac_status=$?
41171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41172 (exit $ac_status); }; } &&
41173 { ac_try='test -s conftest$ac_exeext'
41174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41175 (eval $ac_try) 2>&5
41176 ac_status=$?
41177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41178 (exit $ac_status); }; }; then
41179 eval "$as_ac_var=yes"
41180 else
41181 echo "$as_me: failed program was:" >&5
41182 sed 's/^/| /' conftest.$ac_ext >&5
41183
41184 eval "$as_ac_var=no"
41185 fi
41186 rm -f conftest.err conftest.$ac_objext \
41187 conftest$ac_exeext conftest.$ac_ext
41188 fi
41189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41191 if test `eval echo '${'$as_ac_var'}'` = yes; then
41192 cat >>confdefs.h <<_ACEOF
41193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41194 _ACEOF
41195 cat >>confdefs.h <<\_ACEOF
41196 #define HAVE_GETSERVBYNAME 1
41197 _ACEOF
41198
41199 fi
41200 done
41201
41202 fi
41203
41204 if test "$wxUSE_THREADS" = "yes"; then
41205 cat >>confdefs.h <<\_ACEOF
41206 #define wxUSE_THREADS 1
41207 _ACEOF
41208
41209
41210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41211 else
41212 if test "$wx_cv_func_strtok_r" = "yes"; then
41213 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41214 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41215 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41216 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41217 echo "$as_me:$LINENO: result: yes" >&5
41218 echo "${ECHO_T}yes" >&6
41219 else
41220 echo "$as_me:$LINENO: result: no" >&5
41221 echo "${ECHO_T}no" >&6
41222 fi
41223 fi
41224 fi
41225
41226 if test "$WXGTK20" = 1 ; then
41227 cat >>confdefs.h <<_ACEOF
41228 #define __WXGTK20__ $WXGTK20
41229 _ACEOF
41230
41231 WXGTK12=1
41232 fi
41233
41234 if test "$WXGTK12" = 1 ; then
41235 cat >>confdefs.h <<_ACEOF
41236 #define __WXGTK12__ $WXGTK12
41237 _ACEOF
41238
41239 fi
41240
41241 if test "$WXGTK127" = 1 ; then
41242 cat >>confdefs.h <<_ACEOF
41243 #define __WXGTK127__ $WXGTK127
41244 _ACEOF
41245
41246 fi
41247
41248 if test "$WXGPE" = 1 ; then
41249 cat >>confdefs.h <<_ACEOF
41250 #define __WXGPE__ $WXGPE
41251 _ACEOF
41252
41253 fi
41254
41255 DEBUG_CFLAGS=
41256 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41257 DEBUG_CFLAGS="-g"
41258 wxUSE_OPTIMISE=no
41259 fi
41260
41261 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41262 wxUSE_DEBUG_INFO=yes
41263 if test "$GCC" = yes; then
41264 DEBUG_CFLAGS="-ggdb"
41265 fi
41266 fi
41267
41268 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41269 cat >>confdefs.h <<\_ACEOF
41270 #define WXDEBUG 1
41271 _ACEOF
41272
41273 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41274 else
41275 if test "$wxUSE_GTK" = 1 ; then
41276 if test "x$wxGTK_VERSION" = "x1" ; then
41277 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41278 fi
41279 fi
41280 fi
41281
41282 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define wxUSE_MEMORY_TRACING 1
41285 _ACEOF
41286
41287 cat >>confdefs.h <<\_ACEOF
41288 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41289 _ACEOF
41290
41291 cat >>confdefs.h <<\_ACEOF
41292 #define wxUSE_DEBUG_NEW_ALWAYS 1
41293 _ACEOF
41294
41295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41296 fi
41297
41298 if test "$wxUSE_DMALLOC" = "yes" ; then
41299 DMALLOC_LIBS="-ldmallocthcxx"
41300 fi
41301
41302 PROFILE_FLAGS=
41303 if test "$wxUSE_PROFILE" = "yes" ; then
41304 PROFILE_FLAGS=" -pg"
41305 fi
41306
41307 if test "$GCC" = "yes" ; then
41308 if test "$wxUSE_NO_RTTI" = "yes" ; then
41309 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41310 fi
41311 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41312 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41313 fi
41314 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41315 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41316 fi
41317
41318 case "${host}" in
41319 powerpc*-*-aix* )
41320 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41321 ;;
41322 *-hppa* )
41323 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41324 ;;
41325 esac
41326 fi
41327
41328 OPTIMISE_CFLAGS=
41329 if test "$wxUSE_OPTIMISE" = "no" ; then
41330 if test "$GCC" = yes ; then
41331 OPTIMISE_CFLAGS="-O0"
41332 fi
41333 else
41334 if test "$GCC" = yes ; then
41335 case "${host}" in
41336 *-pc-os2_emx | *-pc-os2-emx )
41337 OPTIMISE_CFLAGS="-O2"
41338 ;;
41339 *)
41340 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41341 ;;
41342 esac
41343 else
41344 OPTIMISE_CFLAGS="-O"
41345 fi
41346 fi
41347
41348
41349 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41350 cat >>confdefs.h <<\_ACEOF
41351 #define WXWIN_COMPATIBILITY_2_4 1
41352 _ACEOF
41353
41354
41355 WXWIN_COMPATIBILITY_2_6="yes"
41356 fi
41357
41358 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41359 cat >>confdefs.h <<\_ACEOF
41360 #define WXWIN_COMPATIBILITY_2_6 1
41361 _ACEOF
41362
41363 fi
41364
41365
41366 if test "$wxUSE_GUI" = "yes"; then
41367 cat >>confdefs.h <<\_ACEOF
41368 #define wxUSE_GUI 1
41369 _ACEOF
41370
41371
41372 fi
41373
41374
41375 if test "$wxUSE_UNIX" = "yes"; then
41376 cat >>confdefs.h <<\_ACEOF
41377 #define wxUSE_UNIX 1
41378 _ACEOF
41379
41380 fi
41381
41382
41383 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41384
41385 HAVE_DL_FUNCS=0
41386 HAVE_SHL_FUNCS=0
41387 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41388 if test "$USE_DARWIN" = 1; then
41389 HAVE_DL_FUNCS=1
41390 elif test "$USE_DOS" = 1; then
41391 HAVE_DL_FUNCS=0
41392 else
41393
41394 for ac_func in dlopen
41395 do
41396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41397 echo "$as_me:$LINENO: checking for $ac_func" >&5
41398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41399 if eval "test \"\${$as_ac_var+set}\" = set"; then
41400 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 else
41402 cat >conftest.$ac_ext <<_ACEOF
41403 /* confdefs.h. */
41404 _ACEOF
41405 cat confdefs.h >>conftest.$ac_ext
41406 cat >>conftest.$ac_ext <<_ACEOF
41407 /* end confdefs.h. */
41408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41410 #define $ac_func innocuous_$ac_func
41411
41412 /* System header to define __stub macros and hopefully few prototypes,
41413 which can conflict with char $ac_func (); below.
41414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41415 <limits.h> exists even on freestanding compilers. */
41416
41417 #ifdef __STDC__
41418 # include <limits.h>
41419 #else
41420 # include <assert.h>
41421 #endif
41422
41423 #undef $ac_func
41424
41425 /* Override any gcc2 internal prototype to avoid an error. */
41426 #ifdef __cplusplus
41427 extern "C"
41428 {
41429 #endif
41430 /* We use char because int might match the return type of a gcc2
41431 builtin and then its argument prototype would still apply. */
41432 char $ac_func ();
41433 /* The GNU C library defines this for functions which it implements
41434 to always fail with ENOSYS. Some functions are actually named
41435 something starting with __ and the normal name is an alias. */
41436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41437 choke me
41438 #else
41439 char (*f) () = $ac_func;
41440 #endif
41441 #ifdef __cplusplus
41442 }
41443 #endif
41444
41445 int
41446 main ()
41447 {
41448 return f != $ac_func;
41449 ;
41450 return 0;
41451 }
41452 _ACEOF
41453 rm -f conftest.$ac_objext conftest$ac_exeext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41455 (eval $ac_link) 2>conftest.er1
41456 ac_status=$?
41457 grep -v '^ *+' conftest.er1 >conftest.err
41458 rm -f conftest.er1
41459 cat conftest.err >&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41471 ac_status=$?
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41478
41479 eval "$as_ac_var=no"
41480 fi
41481 rm -f conftest.err conftest.$ac_objext \
41482 conftest$ac_exeext conftest.$ac_ext
41483 fi
41484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41486 if test `eval echo '${'$as_ac_var'}'` = yes; then
41487 cat >>confdefs.h <<_ACEOF
41488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41489 _ACEOF
41490
41491 cat >>confdefs.h <<\_ACEOF
41492 #define HAVE_DLOPEN 1
41493 _ACEOF
41494
41495 HAVE_DL_FUNCS=1
41496
41497 else
41498
41499 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41500 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41501 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41502 echo $ECHO_N "(cached) $ECHO_C" >&6
41503 else
41504 ac_check_lib_save_LIBS=$LIBS
41505 LIBS="-ldl $LIBS"
41506 cat >conftest.$ac_ext <<_ACEOF
41507 /* confdefs.h. */
41508 _ACEOF
41509 cat confdefs.h >>conftest.$ac_ext
41510 cat >>conftest.$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41512
41513 /* Override any gcc2 internal prototype to avoid an error. */
41514 #ifdef __cplusplus
41515 extern "C"
41516 #endif
41517 /* We use char because int might match the return type of a gcc2
41518 builtin and then its argument prototype would still apply. */
41519 char dlopen ();
41520 int
41521 main ()
41522 {
41523 dlopen ();
41524 ;
41525 return 0;
41526 }
41527 _ACEOF
41528 rm -f conftest.$ac_objext conftest$ac_exeext
41529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41530 (eval $ac_link) 2>conftest.er1
41531 ac_status=$?
41532 grep -v '^ *+' conftest.er1 >conftest.err
41533 rm -f conftest.er1
41534 cat conftest.err >&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); } &&
41537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41539 (eval $ac_try) 2>&5
41540 ac_status=$?
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); }; } &&
41543 { ac_try='test -s conftest$ac_exeext'
41544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41545 (eval $ac_try) 2>&5
41546 ac_status=$?
41547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41548 (exit $ac_status); }; }; then
41549 ac_cv_lib_dl_dlopen=yes
41550 else
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.$ac_ext >&5
41553
41554 ac_cv_lib_dl_dlopen=no
41555 fi
41556 rm -f conftest.err conftest.$ac_objext \
41557 conftest$ac_exeext conftest.$ac_ext
41558 LIBS=$ac_check_lib_save_LIBS
41559 fi
41560 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41561 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41562 if test $ac_cv_lib_dl_dlopen = yes; then
41563
41564 cat >>confdefs.h <<\_ACEOF
41565 #define HAVE_DLOPEN 1
41566 _ACEOF
41567
41568 HAVE_DL_FUNCS=1
41569 DL_LINK=" -ldl$DL_LINK"
41570
41571 else
41572
41573
41574 for ac_func in shl_load
41575 do
41576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41577 echo "$as_me:$LINENO: checking for $ac_func" >&5
41578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41579 if eval "test \"\${$as_ac_var+set}\" = set"; then
41580 echo $ECHO_N "(cached) $ECHO_C" >&6
41581 else
41582 cat >conftest.$ac_ext <<_ACEOF
41583 /* confdefs.h. */
41584 _ACEOF
41585 cat confdefs.h >>conftest.$ac_ext
41586 cat >>conftest.$ac_ext <<_ACEOF
41587 /* end confdefs.h. */
41588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41590 #define $ac_func innocuous_$ac_func
41591
41592 /* System header to define __stub macros and hopefully few prototypes,
41593 which can conflict with char $ac_func (); below.
41594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41595 <limits.h> exists even on freestanding compilers. */
41596
41597 #ifdef __STDC__
41598 # include <limits.h>
41599 #else
41600 # include <assert.h>
41601 #endif
41602
41603 #undef $ac_func
41604
41605 /* Override any gcc2 internal prototype to avoid an error. */
41606 #ifdef __cplusplus
41607 extern "C"
41608 {
41609 #endif
41610 /* We use char because int might match the return type of a gcc2
41611 builtin and then its argument prototype would still apply. */
41612 char $ac_func ();
41613 /* The GNU C library defines this for functions which it implements
41614 to always fail with ENOSYS. Some functions are actually named
41615 something starting with __ and the normal name is an alias. */
41616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41617 choke me
41618 #else
41619 char (*f) () = $ac_func;
41620 #endif
41621 #ifdef __cplusplus
41622 }
41623 #endif
41624
41625 int
41626 main ()
41627 {
41628 return f != $ac_func;
41629 ;
41630 return 0;
41631 }
41632 _ACEOF
41633 rm -f conftest.$ac_objext conftest$ac_exeext
41634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41635 (eval $ac_link) 2>conftest.er1
41636 ac_status=$?
41637 grep -v '^ *+' conftest.er1 >conftest.err
41638 rm -f conftest.er1
41639 cat conftest.err >&5
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); } &&
41642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41644 (eval $ac_try) 2>&5
41645 ac_status=$?
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); }; } &&
41648 { ac_try='test -s conftest$ac_exeext'
41649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41650 (eval $ac_try) 2>&5
41651 ac_status=$?
41652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41653 (exit $ac_status); }; }; then
41654 eval "$as_ac_var=yes"
41655 else
41656 echo "$as_me: failed program was:" >&5
41657 sed 's/^/| /' conftest.$ac_ext >&5
41658
41659 eval "$as_ac_var=no"
41660 fi
41661 rm -f conftest.err conftest.$ac_objext \
41662 conftest$ac_exeext conftest.$ac_ext
41663 fi
41664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41666 if test `eval echo '${'$as_ac_var'}'` = yes; then
41667 cat >>confdefs.h <<_ACEOF
41668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41669 _ACEOF
41670
41671 cat >>confdefs.h <<\_ACEOF
41672 #define HAVE_SHL_LOAD 1
41673 _ACEOF
41674
41675 HAVE_SHL_FUNCS=1
41676
41677 else
41678
41679 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41680 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41681 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41682 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 else
41684 ac_check_lib_save_LIBS=$LIBS
41685 LIBS="-lshl_load $LIBS"
41686 cat >conftest.$ac_ext <<_ACEOF
41687 /* confdefs.h. */
41688 _ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692
41693 /* Override any gcc2 internal prototype to avoid an error. */
41694 #ifdef __cplusplus
41695 extern "C"
41696 #endif
41697 /* We use char because int might match the return type of a gcc2
41698 builtin and then its argument prototype would still apply. */
41699 char dld ();
41700 int
41701 main ()
41702 {
41703 dld ();
41704 ;
41705 return 0;
41706 }
41707 _ACEOF
41708 rm -f conftest.$ac_objext conftest$ac_exeext
41709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41710 (eval $ac_link) 2>conftest.er1
41711 ac_status=$?
41712 grep -v '^ *+' conftest.er1 >conftest.err
41713 rm -f conftest.er1
41714 cat conftest.err >&5
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); } &&
41717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41719 (eval $ac_try) 2>&5
41720 ac_status=$?
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); }; } &&
41723 { ac_try='test -s conftest$ac_exeext'
41724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41725 (eval $ac_try) 2>&5
41726 ac_status=$?
41727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41728 (exit $ac_status); }; }; then
41729 ac_cv_lib_shl_load_dld=yes
41730 else
41731 echo "$as_me: failed program was:" >&5
41732 sed 's/^/| /' conftest.$ac_ext >&5
41733
41734 ac_cv_lib_shl_load_dld=no
41735 fi
41736 rm -f conftest.err conftest.$ac_objext \
41737 conftest$ac_exeext conftest.$ac_ext
41738 LIBS=$ac_check_lib_save_LIBS
41739 fi
41740 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41741 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41742 if test $ac_cv_lib_shl_load_dld = yes; then
41743
41744 HAVE_SHL_FUNCS=1
41745 DL_LINK=" -ldld$DL_LINK"
41746
41747 fi
41748
41749
41750 fi
41751 done
41752
41753
41754 fi
41755
41756
41757 fi
41758 done
41759
41760
41761 if test "$HAVE_DL_FUNCS" = 1; then
41762
41763 for ac_func in dlerror
41764 do
41765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41766 echo "$as_me:$LINENO: checking for $ac_func" >&5
41767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41768 if eval "test \"\${$as_ac_var+set}\" = set"; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 else
41771 cat >conftest.$ac_ext <<_ACEOF
41772 /* confdefs.h. */
41773 _ACEOF
41774 cat confdefs.h >>conftest.$ac_ext
41775 cat >>conftest.$ac_ext <<_ACEOF
41776 /* end confdefs.h. */
41777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41779 #define $ac_func innocuous_$ac_func
41780
41781 /* System header to define __stub macros and hopefully few prototypes,
41782 which can conflict with char $ac_func (); below.
41783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41784 <limits.h> exists even on freestanding compilers. */
41785
41786 #ifdef __STDC__
41787 # include <limits.h>
41788 #else
41789 # include <assert.h>
41790 #endif
41791
41792 #undef $ac_func
41793
41794 /* Override any gcc2 internal prototype to avoid an error. */
41795 #ifdef __cplusplus
41796 extern "C"
41797 {
41798 #endif
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41801 char $ac_func ();
41802 /* The GNU C library defines this for functions which it implements
41803 to always fail with ENOSYS. Some functions are actually named
41804 something starting with __ and the normal name is an alias. */
41805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41806 choke me
41807 #else
41808 char (*f) () = $ac_func;
41809 #endif
41810 #ifdef __cplusplus
41811 }
41812 #endif
41813
41814 int
41815 main ()
41816 {
41817 return f != $ac_func;
41818 ;
41819 return 0;
41820 }
41821 _ACEOF
41822 rm -f conftest.$ac_objext conftest$ac_exeext
41823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41824 (eval $ac_link) 2>conftest.er1
41825 ac_status=$?
41826 grep -v '^ *+' conftest.er1 >conftest.err
41827 rm -f conftest.er1
41828 cat conftest.err >&5
41829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41830 (exit $ac_status); } &&
41831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41834 ac_status=$?
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41840 ac_status=$?
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41844 else
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 eval "$as_ac_var=no"
41849 fi
41850 rm -f conftest.err conftest.$ac_objext \
41851 conftest$ac_exeext conftest.$ac_ext
41852 fi
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h <<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41858 _ACEOF
41859 cat >>confdefs.h <<\_ACEOF
41860 #define HAVE_DLERROR 1
41861 _ACEOF
41862
41863 else
41864
41865 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41866 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41867 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 else
41870 ac_check_lib_save_LIBS=$LIBS
41871 LIBS="-ldl $LIBS"
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878
41879 /* Override any gcc2 internal prototype to avoid an error. */
41880 #ifdef __cplusplus
41881 extern "C"
41882 #endif
41883 /* We use char because int might match the return type of a gcc2
41884 builtin and then its argument prototype would still apply. */
41885 char dlerror ();
41886 int
41887 main ()
41888 {
41889 dlerror ();
41890 ;
41891 return 0;
41892 }
41893 _ACEOF
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41896 (eval $ac_link) 2>conftest.er1
41897 ac_status=$?
41898 grep -v '^ *+' conftest.er1 >conftest.err
41899 rm -f conftest.er1
41900 cat conftest.err >&5
41901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902 (exit $ac_status); } &&
41903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41905 (eval $ac_try) 2>&5
41906 ac_status=$?
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); }; } &&
41909 { ac_try='test -s conftest$ac_exeext'
41910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41911 (eval $ac_try) 2>&5
41912 ac_status=$?
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); }; }; then
41915 ac_cv_lib_dl_dlerror=yes
41916 else
41917 echo "$as_me: failed program was:" >&5
41918 sed 's/^/| /' conftest.$ac_ext >&5
41919
41920 ac_cv_lib_dl_dlerror=no
41921 fi
41922 rm -f conftest.err conftest.$ac_objext \
41923 conftest$ac_exeext conftest.$ac_ext
41924 LIBS=$ac_check_lib_save_LIBS
41925 fi
41926 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41927 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41928 if test $ac_cv_lib_dl_dlerror = yes; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define HAVE_DLERROR 1
41931 _ACEOF
41932
41933 fi
41934
41935
41936
41937 fi
41938 done
41939
41940 fi
41941 fi
41942
41943 if test "$HAVE_DL_FUNCS" = 0; then
41944 if test "$HAVE_SHL_FUNCS" = 0; then
41945 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41946 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41947 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41948 wxUSE_DYNAMIC_LOADER=no
41949 wxUSE_DYNLIB_CLASS=no
41950 else
41951 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41952 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41953 fi
41954 fi
41955 fi
41956 fi
41957 fi
41958
41959 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_DYNAMIC_LOADER 1
41962 _ACEOF
41963
41964 fi
41965 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41966 cat >>confdefs.h <<\_ACEOF
41967 #define wxUSE_DYNLIB_CLASS 1
41968 _ACEOF
41969
41970 fi
41971
41972
41973
41974 if test "$wxUSE_PLUGINS" = "yes" ; then
41975 if test "$wxUSE_SHARED" = "no" ; then
41976 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41977 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41978 wxUSE_PLUGINS=no
41979 fi
41980 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41981 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41982 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41983 wxUSE_PLUGINS=no
41984 fi
41985 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41986 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41987 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41988 wxUSE_PLUGINS=no
41989 fi
41990 if test "$wxUSE_PLUGINS" = "yes" ; then
41991 cat >>confdefs.h <<\_ACEOF
41992 #define wxUSE_PLUGINS 1
41993 _ACEOF
41994
41995 fi
41996 fi
41997
41998
41999 if test "$wxUSE_STL" = "yes"; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_STL 1
42002 _ACEOF
42003
42004 fi
42005
42006 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42007 cat >>confdefs.h <<\_ACEOF
42008 #define wxUSE_APPLE_IEEE 1
42009 _ACEOF
42010
42011 fi
42012
42013 if test "$wxUSE_TIMER" = "yes"; then
42014 cat >>confdefs.h <<\_ACEOF
42015 #define wxUSE_TIMER 1
42016 _ACEOF
42017
42018 fi
42019
42020 if test "$USE_UNIX" = "1" ; then
42021 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42022 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42023 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 else
42026
42027 cat >conftest.$ac_ext <<_ACEOF
42028 /* confdefs.h. */
42029 _ACEOF
42030 cat confdefs.h >>conftest.$ac_ext
42031 cat >>conftest.$ac_ext <<_ACEOF
42032 /* end confdefs.h. */
42033
42034 #include <sys/ioctl.h>
42035 #include <sys/soundcard.h>
42036
42037 int
42038 main ()
42039 {
42040
42041 ioctl(0, SNDCTL_DSP_SPEED, 0);
42042
42043 ;
42044 return 0;
42045 }
42046 _ACEOF
42047 rm -f conftest.$ac_objext conftest$ac_exeext
42048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42049 (eval $ac_link) 2>conftest.er1
42050 ac_status=$?
42051 grep -v '^ *+' conftest.er1 >conftest.err
42052 rm -f conftest.er1
42053 cat conftest.err >&5
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); } &&
42056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42059 ac_status=$?
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; } &&
42062 { ac_try='test -s conftest$ac_exeext'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42065 ac_status=$?
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; }; then
42068 ac_cv_header_sys_soundcard=yes
42069 else
42070 echo "$as_me: failed program was:" >&5
42071 sed 's/^/| /' conftest.$ac_ext >&5
42072
42073
42074 saveLibs="$LIBS"
42075 LIBS="$saveLibs -lossaudio"
42076 cat >conftest.$ac_ext <<_ACEOF
42077 /* confdefs.h. */
42078 _ACEOF
42079 cat confdefs.h >>conftest.$ac_ext
42080 cat >>conftest.$ac_ext <<_ACEOF
42081 /* end confdefs.h. */
42082
42083 #include <sys/ioctl.h>
42084 #include <sys/soundcard.h>
42085
42086 int
42087 main ()
42088 {
42089
42090 ioctl(0, SNDCTL_DSP_SPEED, 0);
42091
42092 ;
42093 return 0;
42094 }
42095 _ACEOF
42096 rm -f conftest.$ac_objext conftest$ac_exeext
42097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42098 (eval $ac_link) 2>conftest.er1
42099 ac_status=$?
42100 grep -v '^ *+' conftest.er1 >conftest.err
42101 rm -f conftest.er1
42102 cat conftest.err >&5
42103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42104 (exit $ac_status); } &&
42105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42107 (eval $ac_try) 2>&5
42108 ac_status=$?
42109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42110 (exit $ac_status); }; } &&
42111 { ac_try='test -s conftest$ac_exeext'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42114 ac_status=$?
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; }; then
42117 ac_cv_header_sys_soundcard=yes
42118 else
42119 echo "$as_me: failed program was:" >&5
42120 sed 's/^/| /' conftest.$ac_ext >&5
42121
42122
42123 LIBS="$saveLibs"
42124 ac_cv_header_sys_soundcard=no
42125
42126
42127 fi
42128 rm -f conftest.err conftest.$ac_objext \
42129 conftest$ac_exeext conftest.$ac_ext
42130
42131
42132 fi
42133 rm -f conftest.err conftest.$ac_objext \
42134 conftest$ac_exeext conftest.$ac_ext
42135
42136 fi
42137 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42138 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42139
42140 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42141 cat >>confdefs.h <<\_ACEOF
42142 #define HAVE_SYS_SOUNDCARD_H 1
42143 _ACEOF
42144
42145 else
42146 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42147 fi
42148 fi
42149 WITH_PLUGIN_SDL=0
42150 if test "$wxUSE_SOUND" = "yes"; then
42151 if test "$USE_UNIX" = "1" ; then
42152 if test "$wxUSE_LIBSDL" != "no"; then
42153
42154 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42155 if test "${with_sdl_prefix+set}" = set; then
42156 withval="$with_sdl_prefix"
42157 sdl_prefix="$withval"
42158 else
42159 sdl_prefix=""
42160 fi;
42161
42162 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42163 if test "${with_sdl_exec_prefix+set}" = set; then
42164 withval="$with_sdl_exec_prefix"
42165 sdl_exec_prefix="$withval"
42166 else
42167 sdl_exec_prefix=""
42168 fi;
42169 # Check whether --enable-sdltest or --disable-sdltest was given.
42170 if test "${enable_sdltest+set}" = set; then
42171 enableval="$enable_sdltest"
42172
42173 else
42174 enable_sdltest=yes
42175 fi;
42176
42177 if test x$sdl_exec_prefix != x ; then
42178 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42179 if test x${SDL_CONFIG+set} != xset ; then
42180 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42181 fi
42182 fi
42183 if test x$sdl_prefix != x ; then
42184 sdl_args="$sdl_args --prefix=$sdl_prefix"
42185 if test x${SDL_CONFIG+set} != xset ; then
42186 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42187 fi
42188 fi
42189
42190 if test "x$prefix" != xNONE; then
42191 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42192 fi
42193 # Extract the first word of "sdl-config", so it can be a program name with args.
42194 set dummy sdl-config; ac_word=$2
42195 echo "$as_me:$LINENO: checking for $ac_word" >&5
42196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42197 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42198 echo $ECHO_N "(cached) $ECHO_C" >&6
42199 else
42200 case $SDL_CONFIG in
42201 [\\/]* | ?:[\\/]*)
42202 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42203 ;;
42204 *)
42205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42206 for as_dir in $PATH
42207 do
42208 IFS=$as_save_IFS
42209 test -z "$as_dir" && as_dir=.
42210 for ac_exec_ext in '' $ac_executable_extensions; do
42211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42212 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42214 break 2
42215 fi
42216 done
42217 done
42218
42219 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42220 ;;
42221 esac
42222 fi
42223 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42224
42225 if test -n "$SDL_CONFIG"; then
42226 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42227 echo "${ECHO_T}$SDL_CONFIG" >&6
42228 else
42229 echo "$as_me:$LINENO: result: no" >&5
42230 echo "${ECHO_T}no" >&6
42231 fi
42232
42233 min_sdl_version=1.2.0
42234 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42235 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42236 no_sdl=""
42237 if test "$SDL_CONFIG" = "no" ; then
42238 no_sdl=yes
42239 else
42240 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42241 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42242
42243 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42245 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42247 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42249 if test "x$enable_sdltest" = "xyes" ; then
42250 ac_save_CFLAGS="$CFLAGS"
42251 ac_save_CXXFLAGS="$CXXFLAGS"
42252 ac_save_LIBS="$LIBS"
42253 CFLAGS="$CFLAGS $SDL_CFLAGS"
42254 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42255 LIBS="$LIBS $SDL_LIBS"
42256 rm -f conf.sdltest
42257 if test "$cross_compiling" = yes; then
42258 echo $ac_n "cross compiling; assumed OK... $ac_c"
42259 else
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266
42267 #include <stdio.h>
42268 #include <stdlib.h>
42269 #include <string.h>
42270 #include "SDL.h"
42271
42272 char*
42273 my_strdup (char *str)
42274 {
42275 char *new_str;
42276
42277 if (str)
42278 {
42279 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42280 strcpy (new_str, str);
42281 }
42282 else
42283 new_str = NULL;
42284
42285 return new_str;
42286 }
42287
42288 int main (int argc, char *argv[])
42289 {
42290 int major, minor, micro;
42291 char *tmp_version;
42292
42293 /* This hangs on some systems (?)
42294 system ("touch conf.sdltest");
42295 */
42296 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42297
42298 /* HP/UX 9 (%@#!) writes to sscanf strings */
42299 tmp_version = my_strdup("$min_sdl_version");
42300 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42301 printf("%s, bad version string\n", "$min_sdl_version");
42302 exit(1);
42303 }
42304
42305 if (($sdl_major_version > major) ||
42306 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42307 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42308 {
42309 return 0;
42310 }
42311 else
42312 {
42313 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42314 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42315 printf("*** best to upgrade to the required version.\n");
42316 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42317 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42318 printf("*** config.cache before re-running configure\n");
42319 return 1;
42320 }
42321 }
42322
42323
42324 _ACEOF
42325 rm -f conftest$ac_exeext
42326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42327 (eval $ac_link) 2>&5
42328 ac_status=$?
42329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42330 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
42336 :
42337 else
42338 echo "$as_me: program exited with status $ac_status" >&5
42339 echo "$as_me: failed program was:" >&5
42340 sed 's/^/| /' conftest.$ac_ext >&5
42341
42342 ( exit $ac_status )
42343 no_sdl=yes
42344 fi
42345 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42346 fi
42347 CFLAGS="$ac_save_CFLAGS"
42348 CXXFLAGS="$ac_save_CXXFLAGS"
42349 LIBS="$ac_save_LIBS"
42350 fi
42351 fi
42352 if test "x$no_sdl" = x ; then
42353 echo "$as_me:$LINENO: result: yes" >&5
42354 echo "${ECHO_T}yes" >&6
42355
42356 EXTRALIBS_SDL="$SDL_LIBS"
42357 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42358 cat >>confdefs.h <<\_ACEOF
42359 #define wxUSE_LIBSDL 1
42360 _ACEOF
42361
42362
42363 else
42364 echo "$as_me:$LINENO: result: no" >&5
42365 echo "${ECHO_T}no" >&6
42366 if test "$SDL_CONFIG" = "no" ; then
42367 echo "*** The sdl-config script installed by SDL could not be found"
42368 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42369 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42370 echo "*** full path to sdl-config."
42371 else
42372 if test -f conf.sdltest ; then
42373 :
42374 else
42375 echo "*** Could not run SDL test program, checking why..."
42376 CFLAGS="$CFLAGS $SDL_CFLAGS"
42377 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42378 LIBS="$LIBS $SDL_LIBS"
42379 cat >conftest.$ac_ext <<_ACEOF
42380 /* confdefs.h. */
42381 _ACEOF
42382 cat confdefs.h >>conftest.$ac_ext
42383 cat >>conftest.$ac_ext <<_ACEOF
42384 /* end confdefs.h. */
42385
42386 #include <stdio.h>
42387 #include "SDL.h"
42388
42389 int main(int argc, char *argv[])
42390 { return 0; }
42391 #undef main
42392 #define main K_and_R_C_main
42393
42394 int
42395 main ()
42396 {
42397 return 0;
42398 ;
42399 return 0;
42400 }
42401 _ACEOF
42402 rm -f conftest.$ac_objext conftest$ac_exeext
42403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42404 (eval $ac_link) 2>conftest.er1
42405 ac_status=$?
42406 grep -v '^ *+' conftest.er1 >conftest.err
42407 rm -f conftest.er1
42408 cat conftest.err >&5
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); } &&
42411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42414 ac_status=$?
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; } &&
42417 { ac_try='test -s conftest$ac_exeext'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42420 ac_status=$?
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; }; then
42423 echo "*** The test program compiled, but did not run. This usually means"
42424 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42425 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42426 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42427 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42428 echo "*** is required on your system"
42429 echo "***"
42430 echo "*** If you have an old version installed, it is best to remove it, although"
42431 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42432 else
42433 echo "$as_me: failed program was:" >&5
42434 sed 's/^/| /' conftest.$ac_ext >&5
42435
42436 echo "*** The test program failed to compile or link. See the file config.log for the"
42437 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42438 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42439 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42440 fi
42441 rm -f conftest.err conftest.$ac_objext \
42442 conftest$ac_exeext conftest.$ac_ext
42443 CFLAGS="$ac_save_CFLAGS"
42444 CXXFLAGS="$ac_save_CXXFLAGS"
42445 LIBS="$ac_save_LIBS"
42446 fi
42447 fi
42448 SDL_CFLAGS=""
42449 SDL_LIBS=""
42450 wxUSE_LIBSDL="no"
42451 fi
42452
42453
42454 rm -f conf.sdltest
42455
42456 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42457 WITH_PLUGIN_SDL=1
42458 fi
42459 fi
42460 fi
42461
42462 cat >>confdefs.h <<\_ACEOF
42463 #define wxUSE_SOUND 1
42464 _ACEOF
42465
42466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42467 fi
42468
42469 if test "$WXGTK20" = 1; then
42470 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42471 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42472
42473
42474 pkg_failed=no
42475 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42476 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42477
42478 if test -n "$PKG_CONFIG"; then
42479 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42480 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42481 else
42482 if test -n "$PKG_CONFIG" && \
42483 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42484 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42485 ac_status=$?
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; then
42488 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42489 else
42490 pkg_failed=yes
42491 fi
42492 fi
42493 else
42494 pkg_failed=untried
42495 fi
42496 if test -n "$PKG_CONFIG"; then
42497 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42498 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42499 else
42500 if test -n "$PKG_CONFIG" && \
42501 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42502 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42503 ac_status=$?
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); }; then
42506 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42507 else
42508 pkg_failed=yes
42509 fi
42510 fi
42511 else
42512 pkg_failed=untried
42513 fi
42514
42515
42516
42517 if test $pkg_failed = yes; then
42518
42519 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42520 _pkg_short_errors_supported=yes
42521 else
42522 _pkg_short_errors_supported=no
42523 fi
42524 if test $_pkg_short_errors_supported = yes; then
42525 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42526 else
42527 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42528 fi
42529 # Put the nasty error message in config.log where it belongs
42530 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42531
42532
42533 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42534 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42535 wxUSE_LIBGNOMEPRINT="no"
42536
42537
42538 elif test $pkg_failed = untried; then
42539
42540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42542 wxUSE_LIBGNOMEPRINT="no"
42543
42544
42545 else
42546 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42547 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42548 echo "$as_me:$LINENO: result: yes" >&5
42549 echo "${ECHO_T}yes" >&6
42550
42551 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42552 cat >>confdefs.h <<\_ACEOF
42553 #define wxUSE_LIBGNOMEPRINT 1
42554 _ACEOF
42555
42556
42557 fi
42558 fi
42559 fi
42560 fi
42561
42562 if test "$WXGTK20" = 1; then
42563 if test "$wxUSE_MIMETYPE" = "yes" ; then
42564 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42565
42566
42567 pkg_failed=no
42568 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42569 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42570
42571 if test -n "$PKG_CONFIG"; then
42572 if test -n "$GNOMEVFS_CFLAGS"; then
42573 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42574 else
42575 if test -n "$PKG_CONFIG" && \
42576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42577 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42578 ac_status=$?
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; then
42581 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42582 else
42583 pkg_failed=yes
42584 fi
42585 fi
42586 else
42587 pkg_failed=untried
42588 fi
42589 if test -n "$PKG_CONFIG"; then
42590 if test -n "$GNOMEVFS_LIBS"; then
42591 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42592 else
42593 if test -n "$PKG_CONFIG" && \
42594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42595 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42596 ac_status=$?
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); }; then
42599 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42600 else
42601 pkg_failed=yes
42602 fi
42603 fi
42604 else
42605 pkg_failed=untried
42606 fi
42607
42608
42609
42610 if test $pkg_failed = yes; then
42611
42612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42613 _pkg_short_errors_supported=yes
42614 else
42615 _pkg_short_errors_supported=no
42616 fi
42617 if test $_pkg_short_errors_supported = yes; then
42618 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42619 else
42620 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42621 fi
42622 # Put the nasty error message in config.log where it belongs
42623 echo "$GNOMEVFS_PKG_ERRORS" >&5
42624
42625
42626 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42627 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42628 wxUSE_LIBGNOMEVFS="no"
42629
42630
42631 elif test $pkg_failed = untried; then
42632
42633 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42634 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42635 wxUSE_LIBGNOMEVFS="no"
42636
42637
42638 else
42639 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42640 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42641 echo "$as_me:$LINENO: result: yes" >&5
42642 echo "${ECHO_T}yes" >&6
42643
42644 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42645 cat >>confdefs.h <<\_ACEOF
42646 #define wxUSE_LIBGNOMEVFS 1
42647 _ACEOF
42648
42649
42650 fi
42651 fi
42652 fi
42653 fi
42654
42655 if test "$WXGTK20" = 1; then
42656 if test "$wxUSE_LIBHILDON" = "yes" ; then
42657
42658 pkg_failed=no
42659 echo "$as_me:$LINENO: checking for HILDON" >&5
42660 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42661
42662 if test -n "$PKG_CONFIG"; then
42663 if test -n "$HILDON_CFLAGS"; then
42664 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42665 else
42666 if test -n "$PKG_CONFIG" && \
42667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42668 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42669 ac_status=$?
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; then
42672 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42673 else
42674 pkg_failed=yes
42675 fi
42676 fi
42677 else
42678 pkg_failed=untried
42679 fi
42680 if test -n "$PKG_CONFIG"; then
42681 if test -n "$HILDON_LIBS"; then
42682 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42683 else
42684 if test -n "$PKG_CONFIG" && \
42685 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42686 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42687 ac_status=$?
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; then
42690 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42691 else
42692 pkg_failed=yes
42693 fi
42694 fi
42695 else
42696 pkg_failed=untried
42697 fi
42698
42699
42700
42701 if test $pkg_failed = yes; then
42702
42703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42704 _pkg_short_errors_supported=yes
42705 else
42706 _pkg_short_errors_supported=no
42707 fi
42708 if test $_pkg_short_errors_supported = yes; then
42709 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42710 else
42711 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42712 fi
42713 # Put the nasty error message in config.log where it belongs
42714 echo "$HILDON_PKG_ERRORS" >&5
42715
42716
42717 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42718 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42719 wxUSE_LIBHILDON="no"
42720
42721
42722 elif test $pkg_failed = untried; then
42723
42724 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42725 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42726 wxUSE_LIBHILDON="no"
42727
42728
42729 else
42730 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42731 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42732 echo "$as_me:$LINENO: result: yes" >&5
42733 echo "${ECHO_T}yes" >&6
42734
42735 EXTRALIBS_HILDON="$HILDON_LIBS"
42736 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42737 cat >>confdefs.h <<\_ACEOF
42738 #define wxUSE_LIBHILDON 1
42739 _ACEOF
42740
42741
42742 fi
42743 fi
42744 fi
42745
42746 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_CMDLINE_PARSER 1
42749 _ACEOF
42750
42751 fi
42752
42753 if test "$wxUSE_STOPWATCH" = "yes"; then
42754 cat >>confdefs.h <<\_ACEOF
42755 #define wxUSE_STOPWATCH 1
42756 _ACEOF
42757
42758 fi
42759
42760 if test "$wxUSE_DATETIME" = "yes"; then
42761 cat >>confdefs.h <<\_ACEOF
42762 #define wxUSE_DATETIME 1
42763 _ACEOF
42764
42765 fi
42766
42767 if test "$wxUSE_FILE" = "yes"; then
42768 cat >>confdefs.h <<\_ACEOF
42769 #define wxUSE_FILE 1
42770 _ACEOF
42771
42772 fi
42773
42774 if test "$wxUSE_FFILE" = "yes"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_FFILE 1
42777 _ACEOF
42778
42779 fi
42780
42781 if test "$wxUSE_FILESYSTEM" = "yes"; then
42782 cat >>confdefs.h <<\_ACEOF
42783 #define wxUSE_FILESYSTEM 1
42784 _ACEOF
42785
42786 fi
42787
42788 if test "$wxUSE_FS_ZIP" = "yes"; then
42789 cat >>confdefs.h <<\_ACEOF
42790 #define wxUSE_FS_ZIP 1
42791 _ACEOF
42792
42793 fi
42794
42795 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_ARCHIVE_STREAMS 1
42798 _ACEOF
42799
42800 fi
42801
42802 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42803 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42804 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42805 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42806 elif test "$wxUSE_ZLIB" = "no"; then
42807 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42808 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42809 else
42810 cat >>confdefs.h <<\_ACEOF
42811 #define wxUSE_ZIPSTREAM 1
42812 _ACEOF
42813
42814 fi
42815 fi
42816
42817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42818 if test "$USE_UNIX" != 1; then
42819 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42820 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42821 wxUSE_ON_FATAL_EXCEPTION=no
42822 else
42823 cat >>confdefs.h <<\_ACEOF
42824 #define wxUSE_ON_FATAL_EXCEPTION 1
42825 _ACEOF
42826
42827 fi
42828 fi
42829
42830 if test "$wxUSE_STACKWALKER" = "yes"; then
42831 cat >>confdefs.h <<\_ACEOF
42832 #define wxUSE_STACKWALKER 1
42833 _ACEOF
42834
42835 fi
42836
42837 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42838 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42839 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42840 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42841 wxUSE_DEBUGREPORT=no
42842 else
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_DEBUGREPORT 1
42845 _ACEOF
42846
42847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42849 fi
42850 fi
42851 fi
42852
42853 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42854 cat >>confdefs.h <<\_ACEOF
42855 #define wxUSE_SNGLINST_CHECKER 1
42856 _ACEOF
42857
42858 fi
42859
42860 if test "$wxUSE_BUSYINFO" = "yes"; then
42861 cat >>confdefs.h <<\_ACEOF
42862 #define wxUSE_BUSYINFO 1
42863 _ACEOF
42864
42865 fi
42866
42867 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42868 cat >>confdefs.h <<\_ACEOF
42869 #define wxUSE_STD_IOSTREAM 1
42870 _ACEOF
42871
42872 fi
42873
42874 if test "$wxUSE_STD_STRING" = "yes"; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxUSE_STD_STRING 1
42877 _ACEOF
42878
42879 fi
42880
42881 if test "$wxUSE_STDPATHS" = "yes"; then
42882 cat >>confdefs.h <<\_ACEOF
42883 #define wxUSE_STDPATHS 1
42884 _ACEOF
42885
42886 fi
42887
42888 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_TEXTBUFFER 1
42891 _ACEOF
42892
42893 fi
42894
42895 if test "$wxUSE_TEXTFILE" = "yes"; then
42896 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42897 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42898 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42899 else
42900 cat >>confdefs.h <<\_ACEOF
42901 #define wxUSE_TEXTFILE 1
42902 _ACEOF
42903
42904 fi
42905 fi
42906
42907 if test "$wxUSE_CONFIG" = "yes" ; then
42908 if test "$wxUSE_TEXTFILE" != "yes"; then
42909 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42910 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42911 else
42912 cat >>confdefs.h <<\_ACEOF
42913 #define wxUSE_CONFIG 1
42914 _ACEOF
42915
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_CONFIG_NATIVE 1
42918 _ACEOF
42919
42920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42921 fi
42922 fi
42923
42924 if test "$wxUSE_INTL" = "yes" ; then
42925 if test "$wxUSE_FILE" != "yes"; then
42926 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42927 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42928 else
42929 cat >>confdefs.h <<\_ACEOF
42930 #define wxUSE_INTL 1
42931 _ACEOF
42932
42933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42934 GUIDIST="$GUIDIST INTL_DIST"
42935 fi
42936 fi
42937
42938 if test "$wxUSE_LOG" = "yes"; then
42939 cat >>confdefs.h <<\_ACEOF
42940 #define wxUSE_LOG 1
42941 _ACEOF
42942
42943
42944 if test "$wxUSE_LOGGUI" = "yes"; then
42945 cat >>confdefs.h <<\_ACEOF
42946 #define wxUSE_LOGGUI 1
42947 _ACEOF
42948
42949 fi
42950
42951 if test "$wxUSE_LOGWINDOW" = "yes"; then
42952 cat >>confdefs.h <<\_ACEOF
42953 #define wxUSE_LOGWINDOW 1
42954 _ACEOF
42955
42956 fi
42957
42958 if test "$wxUSE_LOGDIALOG" = "yes"; then
42959 cat >>confdefs.h <<\_ACEOF
42960 #define wxUSE_LOG_DIALOG 1
42961 _ACEOF
42962
42963 fi
42964
42965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42966 fi
42967
42968 if test "$wxUSE_LONGLONG" = "yes"; then
42969 cat >>confdefs.h <<\_ACEOF
42970 #define wxUSE_LONGLONG 1
42971 _ACEOF
42972
42973 fi
42974
42975 if test "$wxUSE_GEOMETRY" = "yes"; then
42976 cat >>confdefs.h <<\_ACEOF
42977 #define wxUSE_GEOMETRY 1
42978 _ACEOF
42979
42980 fi
42981
42982 if test "$wxUSE_STREAMS" = "yes" ; then
42983 cat >>confdefs.h <<\_ACEOF
42984 #define wxUSE_STREAMS 1
42985 _ACEOF
42986
42987 fi
42988
42989 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42990 cat >>confdefs.h <<\_ACEOF
42991 #define wxUSE_PRINTF_POS_PARAMS 1
42992 _ACEOF
42993
42994 fi
42995
42996
42997
42998 if test "$wxUSE_DATETIME" = "yes"; then
42999
43000 for ac_func in strptime
43001 do
43002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43003 echo "$as_me:$LINENO: checking for $ac_func" >&5
43004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43005 if eval "test \"\${$as_ac_var+set}\" = set"; then
43006 echo $ECHO_N "(cached) $ECHO_C" >&6
43007 else
43008 cat >conftest.$ac_ext <<_ACEOF
43009 /* confdefs.h. */
43010 _ACEOF
43011 cat confdefs.h >>conftest.$ac_ext
43012 cat >>conftest.$ac_ext <<_ACEOF
43013 /* end confdefs.h. */
43014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43016 #define $ac_func innocuous_$ac_func
43017
43018 /* System header to define __stub macros and hopefully few prototypes,
43019 which can conflict with char $ac_func (); below.
43020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43021 <limits.h> exists even on freestanding compilers. */
43022
43023 #ifdef __STDC__
43024 # include <limits.h>
43025 #else
43026 # include <assert.h>
43027 #endif
43028
43029 #undef $ac_func
43030
43031 /* Override any gcc2 internal prototype to avoid an error. */
43032 #ifdef __cplusplus
43033 extern "C"
43034 {
43035 #endif
43036 /* We use char because int might match the return type of a gcc2
43037 builtin and then its argument prototype would still apply. */
43038 char $ac_func ();
43039 /* The GNU C library defines this for functions which it implements
43040 to always fail with ENOSYS. Some functions are actually named
43041 something starting with __ and the normal name is an alias. */
43042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43043 choke me
43044 #else
43045 char (*f) () = $ac_func;
43046 #endif
43047 #ifdef __cplusplus
43048 }
43049 #endif
43050
43051 int
43052 main ()
43053 {
43054 return f != $ac_func;
43055 ;
43056 return 0;
43057 }
43058 _ACEOF
43059 rm -f conftest.$ac_objext conftest$ac_exeext
43060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43061 (eval $ac_link) 2>conftest.er1
43062 ac_status=$?
43063 grep -v '^ *+' conftest.er1 >conftest.err
43064 rm -f conftest.er1
43065 cat conftest.err >&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); } &&
43068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43070 (eval $ac_try) 2>&5
43071 ac_status=$?
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); }; } &&
43074 { ac_try='test -s conftest$ac_exeext'
43075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43076 (eval $ac_try) 2>&5
43077 ac_status=$?
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); }; }; then
43080 eval "$as_ac_var=yes"
43081 else
43082 echo "$as_me: failed program was:" >&5
43083 sed 's/^/| /' conftest.$ac_ext >&5
43084
43085 eval "$as_ac_var=no"
43086 fi
43087 rm -f conftest.err conftest.$ac_objext \
43088 conftest$ac_exeext conftest.$ac_ext
43089 fi
43090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43092 if test `eval echo '${'$as_ac_var'}'` = yes; then
43093 cat >>confdefs.h <<_ACEOF
43094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43095 _ACEOF
43096
43097 fi
43098 done
43099
43100 if test "$ac_cv_func_strptime" = "yes"; then
43101 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43102 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43103 if test "${wx_cv_func_strptime_decl+set}" = set; then
43104 echo $ECHO_N "(cached) $ECHO_C" >&6
43105 else
43106
43107 cat >conftest.$ac_ext <<_ACEOF
43108 /* confdefs.h. */
43109 _ACEOF
43110 cat confdefs.h >>conftest.$ac_ext
43111 cat >>conftest.$ac_ext <<_ACEOF
43112 /* end confdefs.h. */
43113
43114 #include <time.h>
43115
43116 int
43117 main ()
43118 {
43119
43120 struct tm t;
43121 strptime("foo", "bar", &t);
43122
43123 ;
43124 return 0;
43125 }
43126 _ACEOF
43127 rm -f conftest.$ac_objext
43128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43129 (eval $ac_compile) 2>conftest.er1
43130 ac_status=$?
43131 grep -v '^ *+' conftest.er1 >conftest.err
43132 rm -f conftest.er1
43133 cat conftest.err >&5
43134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43135 (exit $ac_status); } &&
43136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43139 ac_status=$?
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; } &&
43142 { ac_try='test -s conftest.$ac_objext'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43145 ac_status=$?
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; }; then
43148 wx_cv_func_strptime_decl=yes
43149 else
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43152
43153 wx_cv_func_strptime_decl=no
43154
43155 fi
43156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43157
43158
43159 fi
43160 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43161 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43162 fi
43163 if test "$wx_cv_func_strptime_decl" = "yes"; then
43164 cat >>confdefs.h <<\_ACEOF
43165 #define HAVE_STRPTIME_DECL 1
43166 _ACEOF
43167
43168 fi
43169
43170 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43171 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43172 if test "${wx_cv_var_timezone+set}" = set; then
43173 echo $ECHO_N "(cached) $ECHO_C" >&6
43174 else
43175
43176 cat >conftest.$ac_ext <<_ACEOF
43177 /* confdefs.h. */
43178 _ACEOF
43179 cat confdefs.h >>conftest.$ac_ext
43180 cat >>conftest.$ac_ext <<_ACEOF
43181 /* end confdefs.h. */
43182
43183 #include <time.h>
43184
43185 int
43186 main ()
43187 {
43188
43189 int tz;
43190 tz = timezone;
43191
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 rm -f conftest.$ac_objext
43197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43198 (eval $ac_compile) 2>conftest.er1
43199 ac_status=$?
43200 grep -v '^ *+' conftest.er1 >conftest.err
43201 rm -f conftest.er1
43202 cat conftest.err >&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } &&
43205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43208 ac_status=$?
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; } &&
43211 { ac_try='test -s conftest.$ac_objext'
43212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213 (eval $ac_try) 2>&5
43214 ac_status=$?
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217
43218 wx_cv_var_timezone=timezone
43219
43220 else
43221 echo "$as_me: failed program was:" >&5
43222 sed 's/^/| /' conftest.$ac_ext >&5
43223
43224
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
43232 #include <time.h>
43233
43234 int
43235 main ()
43236 {
43237
43238 int tz;
43239 tz = _timezone;
43240
43241 ;
43242 return 0;
43243 }
43244 _ACEOF
43245 rm -f conftest.$ac_objext
43246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43247 (eval $ac_compile) 2>conftest.er1
43248 ac_status=$?
43249 grep -v '^ *+' conftest.er1 >conftest.err
43250 rm -f conftest.er1
43251 cat conftest.err >&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } &&
43254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43256 (eval $ac_try) 2>&5
43257 ac_status=$?
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); }; } &&
43260 { ac_try='test -s conftest.$ac_objext'
43261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43262 (eval $ac_try) 2>&5
43263 ac_status=$?
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); }; }; then
43266
43267 wx_cv_var_timezone=_timezone
43268
43269 else
43270 echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.$ac_ext >&5
43272
43273
43274 cat >conftest.$ac_ext <<_ACEOF
43275 /* confdefs.h. */
43276 _ACEOF
43277 cat confdefs.h >>conftest.$ac_ext
43278 cat >>conftest.$ac_ext <<_ACEOF
43279 /* end confdefs.h. */
43280
43281 #include <time.h>
43282
43283 int
43284 main ()
43285 {
43286
43287 int tz;
43288 tz = __timezone;
43289
43290 ;
43291 return 0;
43292 }
43293 _ACEOF
43294 rm -f conftest.$ac_objext
43295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43296 (eval $ac_compile) 2>conftest.er1
43297 ac_status=$?
43298 grep -v '^ *+' conftest.er1 >conftest.err
43299 rm -f conftest.er1
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } &&
43303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43305 (eval $ac_try) 2>&5
43306 ac_status=$?
43307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308 (exit $ac_status); }; } &&
43309 { ac_try='test -s conftest.$ac_objext'
43310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43311 (eval $ac_try) 2>&5
43312 ac_status=$?
43313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43314 (exit $ac_status); }; }; then
43315
43316 wx_cv_var_timezone=__timezone
43317
43318 else
43319 echo "$as_me: failed program was:" >&5
43320 sed 's/^/| /' conftest.$ac_ext >&5
43321
43322
43323 if test "$USE_DOS" = 0 ; then
43324 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43325 echo "$as_me: WARNING: no timezone variable" >&2;}
43326 fi
43327
43328
43329 fi
43330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43331
43332
43333 fi
43334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43335
43336
43337 fi
43338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43339
43340
43341 fi
43342 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43343 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43344
43345 if test "x$wx_cv_var_timezone" != x ; then
43346 cat >>confdefs.h <<_ACEOF
43347 #define WX_TIMEZONE $wx_cv_var_timezone
43348 _ACEOF
43349
43350 fi
43351
43352
43353 for ac_func in localtime
43354 do
43355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43356 echo "$as_me:$LINENO: checking for $ac_func" >&5
43357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43358 if eval "test \"\${$as_ac_var+set}\" = set"; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43360 else
43361 cat >conftest.$ac_ext <<_ACEOF
43362 /* confdefs.h. */
43363 _ACEOF
43364 cat confdefs.h >>conftest.$ac_ext
43365 cat >>conftest.$ac_ext <<_ACEOF
43366 /* end confdefs.h. */
43367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43369 #define $ac_func innocuous_$ac_func
43370
43371 /* System header to define __stub macros and hopefully few prototypes,
43372 which can conflict with char $ac_func (); below.
43373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43374 <limits.h> exists even on freestanding compilers. */
43375
43376 #ifdef __STDC__
43377 # include <limits.h>
43378 #else
43379 # include <assert.h>
43380 #endif
43381
43382 #undef $ac_func
43383
43384 /* Override any gcc2 internal prototype to avoid an error. */
43385 #ifdef __cplusplus
43386 extern "C"
43387 {
43388 #endif
43389 /* We use char because int might match the return type of a gcc2
43390 builtin and then its argument prototype would still apply. */
43391 char $ac_func ();
43392 /* The GNU C library defines this for functions which it implements
43393 to always fail with ENOSYS. Some functions are actually named
43394 something starting with __ and the normal name is an alias. */
43395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43396 choke me
43397 #else
43398 char (*f) () = $ac_func;
43399 #endif
43400 #ifdef __cplusplus
43401 }
43402 #endif
43403
43404 int
43405 main ()
43406 {
43407 return f != $ac_func;
43408 ;
43409 return 0;
43410 }
43411 _ACEOF
43412 rm -f conftest.$ac_objext conftest$ac_exeext
43413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43414 (eval $ac_link) 2>conftest.er1
43415 ac_status=$?
43416 grep -v '^ *+' conftest.er1 >conftest.err
43417 rm -f conftest.er1
43418 cat conftest.err >&5
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); } &&
43421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43423 (eval $ac_try) 2>&5
43424 ac_status=$?
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); }; } &&
43427 { ac_try='test -s conftest$ac_exeext'
43428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43429 (eval $ac_try) 2>&5
43430 ac_status=$?
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); }; }; then
43433 eval "$as_ac_var=yes"
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43437
43438 eval "$as_ac_var=no"
43439 fi
43440 rm -f conftest.err conftest.$ac_objext \
43441 conftest$ac_exeext conftest.$ac_ext
43442 fi
43443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43445 if test `eval echo '${'$as_ac_var'}'` = yes; then
43446 cat >>confdefs.h <<_ACEOF
43447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43448 _ACEOF
43449
43450 fi
43451 done
43452
43453
43454 if test "$ac_cv_func_localtime" = "yes"; then
43455 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43456 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43457 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43458 echo $ECHO_N "(cached) $ECHO_C" >&6
43459 else
43460
43461 cat >conftest.$ac_ext <<_ACEOF
43462 /* confdefs.h. */
43463 _ACEOF
43464 cat confdefs.h >>conftest.$ac_ext
43465 cat >>conftest.$ac_ext <<_ACEOF
43466 /* end confdefs.h. */
43467
43468 #include <time.h>
43469
43470 int
43471 main ()
43472 {
43473
43474 struct tm tm;
43475 tm.tm_gmtoff++;
43476
43477 ;
43478 return 0;
43479 }
43480 _ACEOF
43481 rm -f conftest.$ac_objext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43483 (eval $ac_compile) 2>conftest.er1
43484 ac_status=$?
43485 grep -v '^ *+' conftest.er1 >conftest.err
43486 rm -f conftest.er1
43487 cat conftest.err >&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } &&
43490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43492 (eval $ac_try) 2>&5
43493 ac_status=$?
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); }; } &&
43496 { ac_try='test -s conftest.$ac_objext'
43497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43498 (eval $ac_try) 2>&5
43499 ac_status=$?
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); }; }; then
43502
43503 wx_cv_struct_tm_has_gmtoff=yes
43504
43505 else
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.$ac_ext >&5
43508
43509 wx_cv_struct_tm_has_gmtoff=no
43510
43511 fi
43512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43513
43514 fi
43515 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43516 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43517 fi
43518
43519 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define WX_GMTOFF_IN_TM 1
43522 _ACEOF
43523
43524 fi
43525
43526
43527
43528 for ac_func in gettimeofday ftime
43529 do
43530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43531 echo "$as_me:$LINENO: checking for $ac_func" >&5
43532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43533 if eval "test \"\${$as_ac_var+set}\" = set"; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43535 else
43536 cat >conftest.$ac_ext <<_ACEOF
43537 /* confdefs.h. */
43538 _ACEOF
43539 cat confdefs.h >>conftest.$ac_ext
43540 cat >>conftest.$ac_ext <<_ACEOF
43541 /* end confdefs.h. */
43542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43544 #define $ac_func innocuous_$ac_func
43545
43546 /* System header to define __stub macros and hopefully few prototypes,
43547 which can conflict with char $ac_func (); below.
43548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43549 <limits.h> exists even on freestanding compilers. */
43550
43551 #ifdef __STDC__
43552 # include <limits.h>
43553 #else
43554 # include <assert.h>
43555 #endif
43556
43557 #undef $ac_func
43558
43559 /* Override any gcc2 internal prototype to avoid an error. */
43560 #ifdef __cplusplus
43561 extern "C"
43562 {
43563 #endif
43564 /* We use char because int might match the return type of a gcc2
43565 builtin and then its argument prototype would still apply. */
43566 char $ac_func ();
43567 /* The GNU C library defines this for functions which it implements
43568 to always fail with ENOSYS. Some functions are actually named
43569 something starting with __ and the normal name is an alias. */
43570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43571 choke me
43572 #else
43573 char (*f) () = $ac_func;
43574 #endif
43575 #ifdef __cplusplus
43576 }
43577 #endif
43578
43579 int
43580 main ()
43581 {
43582 return f != $ac_func;
43583 ;
43584 return 0;
43585 }
43586 _ACEOF
43587 rm -f conftest.$ac_objext conftest$ac_exeext
43588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43589 (eval $ac_link) 2>conftest.er1
43590 ac_status=$?
43591 grep -v '^ *+' conftest.er1 >conftest.err
43592 rm -f conftest.er1
43593 cat conftest.err >&5
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); } &&
43596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43599 ac_status=$?
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; } &&
43602 { ac_try='test -s conftest$ac_exeext'
43603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43604 (eval $ac_try) 2>&5
43605 ac_status=$?
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); }; }; then
43608 eval "$as_ac_var=yes"
43609 else
43610 echo "$as_me: failed program was:" >&5
43611 sed 's/^/| /' conftest.$ac_ext >&5
43612
43613 eval "$as_ac_var=no"
43614 fi
43615 rm -f conftest.err conftest.$ac_objext \
43616 conftest$ac_exeext conftest.$ac_ext
43617 fi
43618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43620 if test `eval echo '${'$as_ac_var'}'` = yes; then
43621 cat >>confdefs.h <<_ACEOF
43622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43623 _ACEOF
43624 break
43625 fi
43626 done
43627
43628
43629 if test "$ac_cv_func_gettimeofday" = "yes"; then
43630 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43631 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43632 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43633 echo $ECHO_N "(cached) $ECHO_C" >&6
43634 else
43635
43636 cat >conftest.$ac_ext <<_ACEOF
43637 /* confdefs.h. */
43638 _ACEOF
43639 cat confdefs.h >>conftest.$ac_ext
43640 cat >>conftest.$ac_ext <<_ACEOF
43641 /* end confdefs.h. */
43642
43643 #include <sys/time.h>
43644 #include <unistd.h>
43645
43646 int
43647 main ()
43648 {
43649
43650 struct timeval tv;
43651 gettimeofday(&tv, NULL);
43652
43653 ;
43654 return 0;
43655 }
43656 _ACEOF
43657 rm -f conftest.$ac_objext
43658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43659 (eval $ac_compile) 2>conftest.er1
43660 ac_status=$?
43661 grep -v '^ *+' conftest.er1 >conftest.err
43662 rm -f conftest.er1
43663 cat conftest.err >&5
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); } &&
43666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; } &&
43672 { ac_try='test -s conftest.$ac_objext'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43675 ac_status=$?
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; }; then
43678 wx_cv_func_gettimeofday_has_2_args=yes
43679 else
43680 echo "$as_me: failed program was:" >&5
43681 sed 's/^/| /' conftest.$ac_ext >&5
43682
43683 cat >conftest.$ac_ext <<_ACEOF
43684 /* confdefs.h. */
43685 _ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43689
43690 #include <sys/time.h>
43691 #include <unistd.h>
43692
43693 int
43694 main ()
43695 {
43696
43697 struct timeval tv;
43698 gettimeofday(&tv);
43699
43700 ;
43701 return 0;
43702 }
43703 _ACEOF
43704 rm -f conftest.$ac_objext
43705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43706 (eval $ac_compile) 2>conftest.er1
43707 ac_status=$?
43708 grep -v '^ *+' conftest.er1 >conftest.err
43709 rm -f conftest.er1
43710 cat conftest.err >&5
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); } &&
43713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43715 (eval $ac_try) 2>&5
43716 ac_status=$?
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); }; } &&
43719 { ac_try='test -s conftest.$ac_objext'
43720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43721 (eval $ac_try) 2>&5
43722 ac_status=$?
43723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724 (exit $ac_status); }; }; then
43725 wx_cv_func_gettimeofday_has_2_args=no
43726 else
43727 echo "$as_me: failed program was:" >&5
43728 sed 's/^/| /' conftest.$ac_ext >&5
43729
43730
43731 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43732 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43733 wx_cv_func_gettimeofday_has_2_args=unknown
43734
43735
43736 fi
43737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43738
43739 fi
43740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43741
43742 fi
43743 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43744 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43745
43746 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define WX_GETTIMEOFDAY_NO_TZ 1
43749 _ACEOF
43750
43751 fi
43752 fi
43753
43754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43755 fi
43756
43757
43758 if test "$wxUSE_SOCKETS" = "yes"; then
43759 if test "$wxUSE_MGL" = "1"; then
43760 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43761 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43762 wxUSE_SOCKETS="no"
43763 fi
43764 fi
43765
43766 if test "$wxUSE_SOCKETS" = "yes"; then
43767 if test "$TOOLKIT" != "MSW"; then
43768 echo "$as_me:$LINENO: checking for socket" >&5
43769 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43770 if test "${ac_cv_func_socket+set}" = set; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 else
43773 cat >conftest.$ac_ext <<_ACEOF
43774 /* confdefs.h. */
43775 _ACEOF
43776 cat confdefs.h >>conftest.$ac_ext
43777 cat >>conftest.$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43779 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43781 #define socket innocuous_socket
43782
43783 /* System header to define __stub macros and hopefully few prototypes,
43784 which can conflict with char socket (); below.
43785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43786 <limits.h> exists even on freestanding compilers. */
43787
43788 #ifdef __STDC__
43789 # include <limits.h>
43790 #else
43791 # include <assert.h>
43792 #endif
43793
43794 #undef socket
43795
43796 /* Override any gcc2 internal prototype to avoid an error. */
43797 #ifdef __cplusplus
43798 extern "C"
43799 {
43800 #endif
43801 /* We use char because int might match the return type of a gcc2
43802 builtin and then its argument prototype would still apply. */
43803 char socket ();
43804 /* The GNU C library defines this for functions which it implements
43805 to always fail with ENOSYS. Some functions are actually named
43806 something starting with __ and the normal name is an alias. */
43807 #if defined (__stub_socket) || defined (__stub___socket)
43808 choke me
43809 #else
43810 char (*f) () = socket;
43811 #endif
43812 #ifdef __cplusplus
43813 }
43814 #endif
43815
43816 int
43817 main ()
43818 {
43819 return f != socket;
43820 ;
43821 return 0;
43822 }
43823 _ACEOF
43824 rm -f conftest.$ac_objext conftest$ac_exeext
43825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43826 (eval $ac_link) 2>conftest.er1
43827 ac_status=$?
43828 grep -v '^ *+' conftest.er1 >conftest.err
43829 rm -f conftest.er1
43830 cat conftest.err >&5
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); } &&
43833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43836 ac_status=$?
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; } &&
43839 { ac_try='test -s conftest$ac_exeext'
43840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841 (eval $ac_try) 2>&5
43842 ac_status=$?
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); }; }; then
43845 ac_cv_func_socket=yes
43846 else
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43849
43850 ac_cv_func_socket=no
43851 fi
43852 rm -f conftest.err conftest.$ac_objext \
43853 conftest$ac_exeext conftest.$ac_ext
43854 fi
43855 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43856 echo "${ECHO_T}$ac_cv_func_socket" >&6
43857 if test $ac_cv_func_socket = yes; then
43858 :
43859 else
43860
43861 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43862 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43863 if test "${ac_cv_lib_socket_socket+set}" = set; then
43864 echo $ECHO_N "(cached) $ECHO_C" >&6
43865 else
43866 ac_check_lib_save_LIBS=$LIBS
43867 LIBS="-lsocket $LIBS"
43868 cat >conftest.$ac_ext <<_ACEOF
43869 /* confdefs.h. */
43870 _ACEOF
43871 cat confdefs.h >>conftest.$ac_ext
43872 cat >>conftest.$ac_ext <<_ACEOF
43873 /* end confdefs.h. */
43874
43875 /* Override any gcc2 internal prototype to avoid an error. */
43876 #ifdef __cplusplus
43877 extern "C"
43878 #endif
43879 /* We use char because int might match the return type of a gcc2
43880 builtin and then its argument prototype would still apply. */
43881 char socket ();
43882 int
43883 main ()
43884 {
43885 socket ();
43886 ;
43887 return 0;
43888 }
43889 _ACEOF
43890 rm -f conftest.$ac_objext conftest$ac_exeext
43891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43892 (eval $ac_link) 2>conftest.er1
43893 ac_status=$?
43894 grep -v '^ *+' conftest.er1 >conftest.err
43895 rm -f conftest.er1
43896 cat conftest.err >&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); } &&
43899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43901 (eval $ac_try) 2>&5
43902 ac_status=$?
43903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43904 (exit $ac_status); }; } &&
43905 { ac_try='test -s conftest$ac_exeext'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43908 ac_status=$?
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; }; then
43911 ac_cv_lib_socket_socket=yes
43912 else
43913 echo "$as_me: failed program was:" >&5
43914 sed 's/^/| /' conftest.$ac_ext >&5
43915
43916 ac_cv_lib_socket_socket=no
43917 fi
43918 rm -f conftest.err conftest.$ac_objext \
43919 conftest$ac_exeext conftest.$ac_ext
43920 LIBS=$ac_check_lib_save_LIBS
43921 fi
43922 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43923 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43924 if test $ac_cv_lib_socket_socket = yes; then
43925 if test "$INET_LINK" != " -lsocket"; then
43926 INET_LINK="$INET_LINK -lsocket"
43927 fi
43928 else
43929
43930 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43931 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43932 wxUSE_SOCKETS=no
43933
43934
43935 fi
43936
43937
43938
43939 fi
43940
43941 fi
43942 fi
43943
43944 if test "$wxUSE_SOCKETS" = "yes" ; then
43945 if test "$TOOLKIT" != "MSW"; then
43946 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43947 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43948 if test "${wx_cv_type_getsockname3+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43950 else
43951
43952 cat >conftest.$ac_ext <<_ACEOF
43953 /* confdefs.h. */
43954 _ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958
43959 #include <sys/types.h>
43960 #include <sys/socket.h>
43961
43962 int
43963 main ()
43964 {
43965
43966 socklen_t len;
43967 getsockname(0, 0, &len);
43968
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 rm -f conftest.$ac_objext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43975 (eval $ac_compile) 2>conftest.er1
43976 ac_status=$?
43977 grep -v '^ *+' conftest.er1 >conftest.err
43978 rm -f conftest.er1
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43985 ac_status=$?
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; } &&
43988 { ac_try='test -s conftest.$ac_objext'
43989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990 (eval $ac_try) 2>&5
43991 ac_status=$?
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 wx_cv_type_getsockname3=socklen_t
43995 else
43996 echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.$ac_ext >&5
43998
43999
44000 CXXFLAGS_OLD="$CXXFLAGS"
44001 if test "$GCC" = yes ; then
44002 CXXFLAGS="-Werror $CXXFLAGS"
44003 fi
44004
44005 cat >conftest.$ac_ext <<_ACEOF
44006 /* confdefs.h. */
44007 _ACEOF
44008 cat confdefs.h >>conftest.$ac_ext
44009 cat >>conftest.$ac_ext <<_ACEOF
44010 /* end confdefs.h. */
44011
44012 #include <sys/types.h>
44013 #include <sys/socket.h>
44014
44015 int
44016 main ()
44017 {
44018
44019 size_t len;
44020 getsockname(0, 0, &len);
44021
44022 ;
44023 return 0;
44024 }
44025 _ACEOF
44026 rm -f conftest.$ac_objext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44028 (eval $ac_compile) 2>conftest.er1
44029 ac_status=$?
44030 grep -v '^ *+' conftest.er1 >conftest.err
44031 rm -f conftest.er1
44032 cat conftest.err >&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037 (eval $ac_try) 2>&5
44038 ac_status=$?
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; } &&
44041 { ac_try='test -s conftest.$ac_objext'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44044 ac_status=$?
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; }; then
44047 wx_cv_type_getsockname3=size_t
44048 else
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44051
44052 cat >conftest.$ac_ext <<_ACEOF
44053 /* confdefs.h. */
44054 _ACEOF
44055 cat confdefs.h >>conftest.$ac_ext
44056 cat >>conftest.$ac_ext <<_ACEOF
44057 /* end confdefs.h. */
44058
44059 #include <sys/types.h>
44060 #include <sys/socket.h>
44061
44062 int
44063 main ()
44064 {
44065
44066 int len;
44067 getsockname(0, 0, &len);
44068
44069 ;
44070 return 0;
44071 }
44072 _ACEOF
44073 rm -f conftest.$ac_objext
44074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44075 (eval $ac_compile) 2>conftest.er1
44076 ac_status=$?
44077 grep -v '^ *+' conftest.er1 >conftest.err
44078 rm -f conftest.er1
44079 cat conftest.err >&5
44080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44081 (exit $ac_status); } &&
44082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44084 (eval $ac_try) 2>&5
44085 ac_status=$?
44086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087 (exit $ac_status); }; } &&
44088 { ac_try='test -s conftest.$ac_objext'
44089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44090 (eval $ac_try) 2>&5
44091 ac_status=$?
44092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093 (exit $ac_status); }; }; then
44094 wx_cv_type_getsockname3=int
44095 else
44096 echo "$as_me: failed program was:" >&5
44097 sed 's/^/| /' conftest.$ac_ext >&5
44098
44099 wx_cv_type_getsockname3=unknown
44100
44101 fi
44102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44103
44104 fi
44105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44106
44107 CXXFLAGS="$CXXFLAGS_OLD"
44108
44109
44110 fi
44111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44112
44113 fi
44114 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44115 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44116
44117 if test "$wx_cv_type_getsockname3" = "unknown"; then
44118 wxUSE_SOCKETS=no
44119 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44120 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44121 else
44122 cat >>confdefs.h <<_ACEOF
44123 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44124 _ACEOF
44125
44126 fi
44127 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44128 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44129 if test "${wx_cv_type_getsockopt5+set}" = set; then
44130 echo $ECHO_N "(cached) $ECHO_C" >&6
44131 else
44132
44133 cat >conftest.$ac_ext <<_ACEOF
44134 /* confdefs.h. */
44135 _ACEOF
44136 cat confdefs.h >>conftest.$ac_ext
44137 cat >>conftest.$ac_ext <<_ACEOF
44138 /* end confdefs.h. */
44139
44140 #include <sys/types.h>
44141 #include <sys/socket.h>
44142
44143 int
44144 main ()
44145 {
44146
44147 socklen_t len;
44148 getsockopt(0, 0, 0, 0, &len);
44149
44150 ;
44151 return 0;
44152 }
44153 _ACEOF
44154 rm -f conftest.$ac_objext
44155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44156 (eval $ac_compile) 2>conftest.er1
44157 ac_status=$?
44158 grep -v '^ *+' conftest.er1 >conftest.err
44159 rm -f conftest.er1
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } &&
44163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44166 ac_status=$?
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; } &&
44169 { ac_try='test -s conftest.$ac_objext'
44170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44171 (eval $ac_try) 2>&5
44172 ac_status=$?
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); }; }; then
44175 wx_cv_type_getsockopt5=socklen_t
44176 else
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44179
44180
44181 CXXFLAGS_OLD="$CXXFLAGS"
44182 if test "$GCC" = yes ; then
44183 CXXFLAGS="-Werror $CXXFLAGS"
44184 fi
44185
44186 cat >conftest.$ac_ext <<_ACEOF
44187 /* confdefs.h. */
44188 _ACEOF
44189 cat confdefs.h >>conftest.$ac_ext
44190 cat >>conftest.$ac_ext <<_ACEOF
44191 /* end confdefs.h. */
44192
44193 #include <sys/types.h>
44194 #include <sys/socket.h>
44195
44196 int
44197 main ()
44198 {
44199
44200 size_t len;
44201 getsockopt(0, 0, 0, 0, &len);
44202
44203 ;
44204 return 0;
44205 }
44206 _ACEOF
44207 rm -f conftest.$ac_objext
44208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44209 (eval $ac_compile) 2>conftest.er1
44210 ac_status=$?
44211 grep -v '^ *+' conftest.er1 >conftest.err
44212 rm -f conftest.er1
44213 cat conftest.err >&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } &&
44216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44218 (eval $ac_try) 2>&5
44219 ac_status=$?
44220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221 (exit $ac_status); }; } &&
44222 { ac_try='test -s conftest.$ac_objext'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; }; then
44228 wx_cv_type_getsockopt5=size_t
44229 else
44230 echo "$as_me: failed program was:" >&5
44231 sed 's/^/| /' conftest.$ac_ext >&5
44232
44233 cat >conftest.$ac_ext <<_ACEOF
44234 /* confdefs.h. */
44235 _ACEOF
44236 cat confdefs.h >>conftest.$ac_ext
44237 cat >>conftest.$ac_ext <<_ACEOF
44238 /* end confdefs.h. */
44239
44240 #include <sys/types.h>
44241 #include <sys/socket.h>
44242
44243 int
44244 main ()
44245 {
44246
44247 int len;
44248 getsockopt(0, 0, 0, 0, &len);
44249
44250 ;
44251 return 0;
44252 }
44253 _ACEOF
44254 rm -f conftest.$ac_objext
44255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44256 (eval $ac_compile) 2>conftest.er1
44257 ac_status=$?
44258 grep -v '^ *+' conftest.er1 >conftest.err
44259 rm -f conftest.er1
44260 cat conftest.err >&5
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); } &&
44263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44265 (eval $ac_try) 2>&5
44266 ac_status=$?
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); }; } &&
44269 { ac_try='test -s conftest.$ac_objext'
44270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44271 (eval $ac_try) 2>&5
44272 ac_status=$?
44273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44274 (exit $ac_status); }; }; then
44275 wx_cv_type_getsockopt5=int
44276 else
44277 echo "$as_me: failed program was:" >&5
44278 sed 's/^/| /' conftest.$ac_ext >&5
44279
44280 wx_cv_type_getsockopt5=unknown
44281
44282 fi
44283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44284
44285 fi
44286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44287
44288 CXXFLAGS="$CXXFLAGS_OLD"
44289
44290
44291 fi
44292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44293
44294 fi
44295 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44296 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44297
44298 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44299 wxUSE_SOCKETS=no
44300 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44301 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44302 else
44303 cat >>confdefs.h <<_ACEOF
44304 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44305 _ACEOF
44306
44307 fi
44308 fi
44309 fi
44310
44311 if test "$wxUSE_SOCKETS" = "yes" ; then
44312 cat >>confdefs.h <<\_ACEOF
44313 #define wxUSE_SOCKETS 1
44314 _ACEOF
44315
44316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44317 fi
44318
44319 if test "$wxUSE_PROTOCOL" = "yes"; then
44320 if test "$wxUSE_SOCKETS" != "yes"; then
44321 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44322 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44323 wxUSE_PROTOCOL=no
44324 fi
44325 fi
44326
44327 if test "$wxUSE_PROTOCOL" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_PROTOCOL 1
44330 _ACEOF
44331
44332
44333 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_PROTOCOL_HTTP 1
44336 _ACEOF
44337
44338 fi
44339 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_PROTOCOL_FTP 1
44342 _ACEOF
44343
44344 fi
44345 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_PROTOCOL_FILE 1
44348 _ACEOF
44349
44350 fi
44351 else
44352 if test "$wxUSE_FS_INET" = "yes"; then
44353 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44354 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44355 wxUSE_FS_INET="no"
44356 fi
44357 fi
44358
44359 if test "$wxUSE_URL" = "yes"; then
44360 if test "$wxUSE_PROTOCOL" != "yes"; then
44361 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44362 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44363 wxUSE_URL=no
44364 fi
44365 if test "$wxUSE_URL" = "yes"; then
44366 cat >>confdefs.h <<\_ACEOF
44367 #define wxUSE_URL 1
44368 _ACEOF
44369
44370 fi
44371 fi
44372
44373 if test "$wxUSE_VARIANT" = "yes"; then
44374 cat >>confdefs.h <<\_ACEOF
44375 #define wxUSE_VARIANT 1
44376 _ACEOF
44377
44378 fi
44379
44380 if test "$wxUSE_FS_INET" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_FS_INET 1
44383 _ACEOF
44384
44385 fi
44386
44387
44388 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44389 wxUSE_JOYSTICK=no
44390
44391 if test "$TOOLKIT" = "MSW"; then
44392 wxUSE_JOYSTICK=yes
44393
44394 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44395 if test "$USE_DARWIN" = 1; then
44396 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44397 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44398 cat >conftest.$ac_ext <<_ACEOF
44399 /* confdefs.h. */
44400 _ACEOF
44401 cat confdefs.h >>conftest.$ac_ext
44402 cat >>conftest.$ac_ext <<_ACEOF
44403 /* end confdefs.h. */
44404 #include <IOKit/hid/IOHIDLib.h>
44405 int
44406 main ()
44407 {
44408 IOHIDQueueInterface *qi = NULL;
44409 IOHIDCallbackFunction cb = NULL;
44410 qi->setEventCallout(NULL, cb, NULL, NULL);
44411 ;
44412 return 0;
44413 }
44414 _ACEOF
44415 rm -f conftest.$ac_objext
44416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44417 (eval $ac_compile) 2>conftest.er1
44418 ac_status=$?
44419 grep -v '^ *+' conftest.er1 >conftest.err
44420 rm -f conftest.er1
44421 cat conftest.err >&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); } &&
44424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44426 (eval $ac_try) 2>&5
44427 ac_status=$?
44428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44429 (exit $ac_status); }; } &&
44430 { ac_try='test -s conftest.$ac_objext'
44431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44432 (eval $ac_try) 2>&5
44433 ac_status=$?
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); }; }; then
44436 wxUSE_JOYSTICK=yes
44437
44438 else
44439 echo "$as_me: failed program was:" >&5
44440 sed 's/^/| /' conftest.$ac_ext >&5
44441
44442 fi
44443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44444 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44445 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44446 fi
44447
44448 else
44449
44450 for ac_header in linux/joystick.h
44451 do
44452 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44454 echo "$as_me:$LINENO: checking for $ac_header" >&5
44455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44457 echo $ECHO_N "(cached) $ECHO_C" >&6
44458 fi
44459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44461 else
44462 # Is the header compilable?
44463 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44464 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44465 cat >conftest.$ac_ext <<_ACEOF
44466 /* confdefs.h. */
44467 _ACEOF
44468 cat confdefs.h >>conftest.$ac_ext
44469 cat >>conftest.$ac_ext <<_ACEOF
44470 /* end confdefs.h. */
44471 $ac_includes_default
44472 #include <$ac_header>
44473 _ACEOF
44474 rm -f conftest.$ac_objext
44475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44476 (eval $ac_compile) 2>conftest.er1
44477 ac_status=$?
44478 grep -v '^ *+' conftest.er1 >conftest.err
44479 rm -f conftest.er1
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } &&
44483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44485 (eval $ac_try) 2>&5
44486 ac_status=$?
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); }; } &&
44489 { ac_try='test -s conftest.$ac_objext'
44490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44491 (eval $ac_try) 2>&5
44492 ac_status=$?
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); }; }; then
44495 ac_header_compiler=yes
44496 else
44497 echo "$as_me: failed program was:" >&5
44498 sed 's/^/| /' conftest.$ac_ext >&5
44499
44500 ac_header_compiler=no
44501 fi
44502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44504 echo "${ECHO_T}$ac_header_compiler" >&6
44505
44506 # Is the header present?
44507 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44509 cat >conftest.$ac_ext <<_ACEOF
44510 /* confdefs.h. */
44511 _ACEOF
44512 cat confdefs.h >>conftest.$ac_ext
44513 cat >>conftest.$ac_ext <<_ACEOF
44514 /* end confdefs.h. */
44515 #include <$ac_header>
44516 _ACEOF
44517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44519 ac_status=$?
44520 grep -v '^ *+' conftest.er1 >conftest.err
44521 rm -f conftest.er1
44522 cat conftest.err >&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); } >/dev/null; then
44525 if test -s conftest.err; then
44526 ac_cpp_err=$ac_cxx_preproc_warn_flag
44527 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44528 else
44529 ac_cpp_err=
44530 fi
44531 else
44532 ac_cpp_err=yes
44533 fi
44534 if test -z "$ac_cpp_err"; then
44535 ac_header_preproc=yes
44536 else
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.$ac_ext >&5
44539
44540 ac_header_preproc=no
44541 fi
44542 rm -f conftest.err conftest.$ac_ext
44543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44544 echo "${ECHO_T}$ac_header_preproc" >&6
44545
44546 # So? What about this header?
44547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44548 yes:no: )
44549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44553 ac_header_preproc=yes
44554 ;;
44555 no:yes:* )
44556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44568 (
44569 cat <<\_ASBOX
44570 ## ----------------------------------------- ##
44571 ## Report this to wx-dev@lists.wxwidgets.org ##
44572 ## ----------------------------------------- ##
44573 _ASBOX
44574 ) |
44575 sed "s/^/$as_me: WARNING: /" >&2
44576 ;;
44577 esac
44578 echo "$as_me:$LINENO: checking for $ac_header" >&5
44579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44581 echo $ECHO_N "(cached) $ECHO_C" >&6
44582 else
44583 eval "$as_ac_Header=\$ac_header_preproc"
44584 fi
44585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44587
44588 fi
44589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44590 cat >>confdefs.h <<_ACEOF
44591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44592 _ACEOF
44593 wxUSE_JOYSTICK=yes
44594 fi
44595
44596 done
44597
44598 fi
44599
44600 if test "$wxUSE_JOYSTICK" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_JOYSTICK 1
44603 _ACEOF
44604
44605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44606 else
44607 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44608 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44609 fi
44610 fi
44611
44612
44613
44614 if test "$wxUSE_FONTMAP" = "yes" ; then
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_FONTMAP 1
44617 _ACEOF
44618
44619 fi
44620
44621 if test "$wxUSE_UNICODE" = "yes" ; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_UNICODE 1
44624 _ACEOF
44625
44626
44627 if test "$USE_WIN32" != 1; then
44628 wxUSE_UNICODE_MSLU=no
44629 fi
44630
44631 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44632 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44633 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44634 if test "${ac_cv_lib_unicows_main+set}" = set; then
44635 echo $ECHO_N "(cached) $ECHO_C" >&6
44636 else
44637 ac_check_lib_save_LIBS=$LIBS
44638 LIBS="-lunicows $LIBS"
44639 cat >conftest.$ac_ext <<_ACEOF
44640 /* confdefs.h. */
44641 _ACEOF
44642 cat confdefs.h >>conftest.$ac_ext
44643 cat >>conftest.$ac_ext <<_ACEOF
44644 /* end confdefs.h. */
44645
44646
44647 int
44648 main ()
44649 {
44650 main ();
44651 ;
44652 return 0;
44653 }
44654 _ACEOF
44655 rm -f conftest.$ac_objext conftest$ac_exeext
44656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44657 (eval $ac_link) 2>conftest.er1
44658 ac_status=$?
44659 grep -v '^ *+' conftest.er1 >conftest.err
44660 rm -f conftest.er1
44661 cat conftest.err >&5
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); } &&
44664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44666 (eval $ac_try) 2>&5
44667 ac_status=$?
44668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44669 (exit $ac_status); }; } &&
44670 { ac_try='test -s conftest$ac_exeext'
44671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44672 (eval $ac_try) 2>&5
44673 ac_status=$?
44674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44675 (exit $ac_status); }; }; then
44676 ac_cv_lib_unicows_main=yes
44677 else
44678 echo "$as_me: failed program was:" >&5
44679 sed 's/^/| /' conftest.$ac_ext >&5
44680
44681 ac_cv_lib_unicows_main=no
44682 fi
44683 rm -f conftest.err conftest.$ac_objext \
44684 conftest$ac_exeext conftest.$ac_ext
44685 LIBS=$ac_check_lib_save_LIBS
44686 fi
44687 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44688 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44689 if test $ac_cv_lib_unicows_main = yes; then
44690
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_UNICODE_MSLU 1
44693 _ACEOF
44694
44695
44696 else
44697
44698 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44699 Applications will only run on Windows NT/2000/XP!" >&5
44700 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44701 Applications will only run on Windows NT/2000/XP!" >&2;}
44702 wxUSE_UNICODE_MSLU=no
44703
44704 fi
44705
44706 fi
44707 fi
44708
44709 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_EXPERIMENTAL_PRINTF 1
44712 _ACEOF
44713
44714 fi
44715
44716
44717 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_POSTSCRIPT 1
44720 _ACEOF
44721
44722 fi
44723
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44726 _ACEOF
44727
44728
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_NORMALIZED_PS_FONTS 1
44731 _ACEOF
44732
44733
44734
44735 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_CONSTRAINTS 1
44738 _ACEOF
44739
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44741 fi
44742
44743 if test "$wxUSE_MDI" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_MDI 1
44746 _ACEOF
44747
44748
44749 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_MDI_ARCHITECTURE 1
44752 _ACEOF
44753
44754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44755 fi
44756 fi
44757
44758 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44761 _ACEOF
44762
44763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44764 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44766 fi
44767 fi
44768
44769 if test "$wxUSE_HELP" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_HELP 1
44772 _ACEOF
44773
44774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44775
44776 if test "$wxUSE_MSW" = 1; then
44777 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_MS_HTML_HELP 1
44780 _ACEOF
44781
44782 fi
44783 fi
44784
44785 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44786 if test "$wxUSE_HTML" = "yes"; then
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_WXHTML_HELP 1
44789 _ACEOF
44790
44791 else
44792 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44793 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44794 wxUSE_WXHTML_HELP=no
44795 fi
44796 fi
44797 fi
44798
44799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44800 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44801 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44802 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44803 else
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_PRINTING_ARCHITECTURE 1
44806 _ACEOF
44807
44808 fi
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44810 fi
44811
44812 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44813 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44814 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44815 { (exit 1); exit 1; }; }
44816 fi
44817
44818
44819 if test "$wxUSE_METAFILE" = "yes"; then
44820 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44821 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44822 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44823 wxUSE_METAFILE=no
44824 fi
44825 fi
44826
44827
44828 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44829 -o "$wxUSE_CLIPBOARD" = "yes" \
44830 -o "$wxUSE_OLE" = "yes" \
44831 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44832
44833 for ac_header in ole2.h
44834 do
44835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44837 echo "$as_me:$LINENO: checking for $ac_header" >&5
44838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44840 echo $ECHO_N "(cached) $ECHO_C" >&6
44841 fi
44842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44844 else
44845 # Is the header compilable?
44846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44848 cat >conftest.$ac_ext <<_ACEOF
44849 /* confdefs.h. */
44850 _ACEOF
44851 cat confdefs.h >>conftest.$ac_ext
44852 cat >>conftest.$ac_ext <<_ACEOF
44853 /* end confdefs.h. */
44854 $ac_includes_default
44855 #include <$ac_header>
44856 _ACEOF
44857 rm -f conftest.$ac_objext
44858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44859 (eval $ac_compile) 2>conftest.er1
44860 ac_status=$?
44861 grep -v '^ *+' conftest.er1 >conftest.err
44862 rm -f conftest.er1
44863 cat conftest.err >&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } &&
44866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44868 (eval $ac_try) 2>&5
44869 ac_status=$?
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); }; } &&
44872 { ac_try='test -s conftest.$ac_objext'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; }; then
44878 ac_header_compiler=yes
44879 else
44880 echo "$as_me: failed program was:" >&5
44881 sed 's/^/| /' conftest.$ac_ext >&5
44882
44883 ac_header_compiler=no
44884 fi
44885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44887 echo "${ECHO_T}$ac_header_compiler" >&6
44888
44889 # Is the header present?
44890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44892 cat >conftest.$ac_ext <<_ACEOF
44893 /* confdefs.h. */
44894 _ACEOF
44895 cat confdefs.h >>conftest.$ac_ext
44896 cat >>conftest.$ac_ext <<_ACEOF
44897 /* end confdefs.h. */
44898 #include <$ac_header>
44899 _ACEOF
44900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44902 ac_status=$?
44903 grep -v '^ *+' conftest.er1 >conftest.err
44904 rm -f conftest.er1
44905 cat conftest.err >&5
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); } >/dev/null; then
44908 if test -s conftest.err; then
44909 ac_cpp_err=$ac_cxx_preproc_warn_flag
44910 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44911 else
44912 ac_cpp_err=
44913 fi
44914 else
44915 ac_cpp_err=yes
44916 fi
44917 if test -z "$ac_cpp_err"; then
44918 ac_header_preproc=yes
44919 else
44920 echo "$as_me: failed program was:" >&5
44921 sed 's/^/| /' conftest.$ac_ext >&5
44922
44923 ac_header_preproc=no
44924 fi
44925 rm -f conftest.err conftest.$ac_ext
44926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44927 echo "${ECHO_T}$ac_header_preproc" >&6
44928
44929 # So? What about this header?
44930 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44931 yes:no: )
44932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44935 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44936 ac_header_preproc=yes
44937 ;;
44938 no:yes:* )
44939 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44940 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44941 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44942 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44943 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44944 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44945 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44946 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44949 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44950 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44951 (
44952 cat <<\_ASBOX
44953 ## ----------------------------------------- ##
44954 ## Report this to wx-dev@lists.wxwidgets.org ##
44955 ## ----------------------------------------- ##
44956 _ASBOX
44957 ) |
44958 sed "s/^/$as_me: WARNING: /" >&2
44959 ;;
44960 esac
44961 echo "$as_me:$LINENO: checking for $ac_header" >&5
44962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44964 echo $ECHO_N "(cached) $ECHO_C" >&6
44965 else
44966 eval "$as_ac_Header=\$ac_header_preproc"
44967 fi
44968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44970
44971 fi
44972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44973 cat >>confdefs.h <<_ACEOF
44974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44975 _ACEOF
44976
44977 fi
44978
44979 done
44980
44981
44982 if test "$ac_cv_header_ole2_h" = "yes" ; then
44983 if test "$GCC" = yes ; then
44984 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44985 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44986 cat >conftest.$ac_ext <<_ACEOF
44987 /* confdefs.h. */
44988 _ACEOF
44989 cat confdefs.h >>conftest.$ac_ext
44990 cat >>conftest.$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 #include <windows.h>
44993 #include <ole2.h>
44994 int
44995 main ()
44996 {
44997
44998 ;
44999 return 0;
45000 }
45001 _ACEOF
45002 rm -f conftest.$ac_objext
45003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45004 (eval $ac_compile) 2>conftest.er1
45005 ac_status=$?
45006 grep -v '^ *+' conftest.er1 >conftest.err
45007 rm -f conftest.er1
45008 cat conftest.err >&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); } &&
45011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45014 ac_status=$?
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; } &&
45017 { ac_try='test -s conftest.$ac_objext'
45018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45019 (eval $ac_try) 2>&5
45020 ac_status=$?
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); }; }; then
45023 echo "$as_me:$LINENO: result: no" >&5
45024 echo "${ECHO_T}no" >&6
45025 else
45026 echo "$as_me: failed program was:" >&5
45027 sed 's/^/| /' conftest.$ac_ext >&5
45028
45029 echo "$as_me:$LINENO: result: yes" >&5
45030 echo "${ECHO_T}yes" >&6
45031 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45032 fi
45033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45034 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45035 if test "$wxUSE_OLE" = "yes" ; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_OLE 1
45038 _ACEOF
45039
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_OLE_AUTOMATION 1
45042 _ACEOF
45043
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_OLE_ACTIVEX 1
45046 _ACEOF
45047
45048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45049 fi
45050 fi
45051
45052 if test "$wxUSE_DATAOBJ" = "yes" ; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_DATAOBJ 1
45055 _ACEOF
45056
45057 fi
45058 else
45059 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45060 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45061
45062 wxUSE_CLIPBOARD=no
45063 wxUSE_DRAG_AND_DROP=no
45064 wxUSE_DATAOBJ=no
45065 wxUSE_OLE=no
45066 fi
45067
45068 if test "$wxUSE_METAFILE" = "yes"; then
45069 cat >>confdefs.h <<\_ACEOF
45070 #define wxUSE_METAFILE 1
45071 _ACEOF
45072
45073
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_ENH_METAFILE 1
45076 _ACEOF
45077
45078 fi
45079 fi
45080
45081 if test "$wxUSE_IPC" = "yes"; then
45082 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45083 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45084 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45085 wxUSE_IPC=no
45086 fi
45087
45088 if test "$wxUSE_IPC" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_IPC 1
45091 _ACEOF
45092
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45094 fi
45095 fi
45096
45097 if test "$wxUSE_DATAOBJ" = "yes"; then
45098 if test "$wxUSE_MGL" = 1; then
45099 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45100 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45101 wxUSE_DATAOBJ=no
45102 else
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_DATAOBJ 1
45105 _ACEOF
45106
45107 fi
45108 else
45109 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45110 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45111 wxUSE_CLIPBOARD=no
45112 wxUSE_DRAG_AND_DROP=no
45113 fi
45114
45115 if test "$wxUSE_CLIPBOARD" = "yes"; then
45116 if test "$wxUSE_MGL" = 1; then
45117 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45118 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45119 wxUSE_CLIPBOARD=no
45120 fi
45121
45122 if test "$wxUSE_CLIPBOARD" = "yes"; then
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_CLIPBOARD 1
45125 _ACEOF
45126
45127 fi
45128 fi
45129
45130 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45131 if test "$wxUSE_GTK" = 1; then
45132 if test "$WXGTK12" != 1; then
45133 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45134 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45135 wxUSE_DRAG_AND_DROP=no
45136 fi
45137 fi
45138
45139 if test "$wxUSE_MOTIF" = 1; then
45140 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45141 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45142 wxUSE_DRAG_AND_DROP=no
45143 fi
45144
45145 if test "$wxUSE_X11" = 1; then
45146 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45147 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45148 wxUSE_DRAG_AND_DROP=no
45149 fi
45150
45151 if test "$wxUSE_MGL" = 1; then
45152 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45153 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45154 wxUSE_DRAG_AND_DROP=no
45155 fi
45156
45157 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_DRAG_AND_DROP 1
45160 _ACEOF
45161
45162 fi
45163
45164 fi
45165
45166 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45168 fi
45169
45170 if test "$wxUSE_SPLINES" = "yes" ; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_SPLINES 1
45173 _ACEOF
45174
45175 fi
45176
45177 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_MOUSEWHEEL 1
45180 _ACEOF
45181
45182 fi
45183
45184
45185 USES_CONTROLS=0
45186 if test "$wxUSE_CONTROLS" = "yes"; then
45187 USES_CONTROLS=1
45188 fi
45189
45190 if test "$wxUSE_ACCEL" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_ACCEL 1
45193 _ACEOF
45194
45195 USES_CONTROLS=1
45196 fi
45197
45198 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_ANIMATIONCTRL 1
45201 _ACEOF
45202
45203 USES_CONTROLS=1
45204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45205 fi
45206
45207 if test "$wxUSE_BUTTON" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_BUTTON 1
45210 _ACEOF
45211
45212 USES_CONTROLS=1
45213 fi
45214
45215 if test "$wxUSE_BMPBUTTON" = "yes"; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_BMPBUTTON 1
45218 _ACEOF
45219
45220 USES_CONTROLS=1
45221 fi
45222
45223 if test "$wxUSE_CALCTRL" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_CALENDARCTRL 1
45226 _ACEOF
45227
45228 USES_CONTROLS=1
45229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45230 fi
45231
45232 if test "$wxUSE_CARET" = "yes"; then
45233 cat >>confdefs.h <<\_ACEOF
45234 #define wxUSE_CARET 1
45235 _ACEOF
45236
45237 USES_CONTROLS=1
45238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45239 fi
45240
45241 if test "$wxUSE_COMBOBOX" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_COMBOBOX 1
45244 _ACEOF
45245
45246 USES_CONTROLS=1
45247 fi
45248
45249 if test "$wxUSE_COMBOCTRL" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_COMBOCTRL 1
45252 _ACEOF
45253
45254 USES_CONTROLS=1
45255 fi
45256
45257 if test "$wxUSE_CHOICE" = "yes"; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_CHOICE 1
45260 _ACEOF
45261
45262 USES_CONTROLS=1
45263 fi
45264
45265 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_CHOICEBOOK 1
45268 _ACEOF
45269
45270 USES_CONTROLS=1
45271 fi
45272
45273 if test "$wxUSE_CHECKBOX" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_CHECKBOX 1
45276 _ACEOF
45277
45278 USES_CONTROLS=1
45279 fi
45280
45281 if test "$wxUSE_CHECKLST" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_CHECKLISTBOX 1
45284 _ACEOF
45285
45286 USES_CONTROLS=1
45287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45288 fi
45289
45290 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_COLOURPICKERCTRL 1
45293 _ACEOF
45294
45295 USES_CONTROLS=1
45296 fi
45297
45298 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_DATEPICKCTRL 1
45301 _ACEOF
45302
45303 USES_CONTROLS=1
45304 fi
45305
45306 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_DIRPICKERCTRL 1
45309 _ACEOF
45310
45311 USES_CONTROLS=1
45312 fi
45313
45314 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_FILEPICKERCTRL 1
45317 _ACEOF
45318
45319 USES_CONTROLS=1
45320 fi
45321
45322 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_FONTPICKERCTRL 1
45325 _ACEOF
45326
45327 USES_CONTROLS=1
45328 fi
45329
45330 if test "$wxUSE_DISPLAY" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_DISPLAY 1
45333 _ACEOF
45334
45335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45336 fi
45337
45338 if test "$wxUSE_GAUGE" = "yes"; then
45339 cat >>confdefs.h <<\_ACEOF
45340 #define wxUSE_GAUGE 1
45341 _ACEOF
45342
45343 USES_CONTROLS=1
45344 fi
45345
45346 if test "$wxUSE_GRID" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_GRID 1
45349 _ACEOF
45350
45351 USES_CONTROLS=1
45352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45353 fi
45354
45355 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_HYPERLINKCTRL 1
45358 _ACEOF
45359
45360 USES_CONTROLS=1
45361 fi
45362
45363 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_BITMAPCOMBOBOX 1
45366 _ACEOF
45367
45368 USES_CONTROLS=1
45369 fi
45370
45371 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_DATAVIEWCTRL 1
45374 _ACEOF
45375
45376 USES_CONTROLS=1
45377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45378 fi
45379
45380 if test "$wxUSE_IMAGLIST" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_IMAGLIST 1
45383 _ACEOF
45384
45385 fi
45386
45387 if test "$wxUSE_LISTBOOK" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_LISTBOOK 1
45390 _ACEOF
45391
45392 USES_CONTROLS=1
45393 fi
45394
45395 if test "$wxUSE_LISTBOX" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_LISTBOX 1
45398 _ACEOF
45399
45400 USES_CONTROLS=1
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45402 fi
45403
45404 if test "$wxUSE_LISTCTRL" = "yes"; then
45405 if test "$wxUSE_IMAGLIST" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_LISTCTRL 1
45408 _ACEOF
45409
45410 USES_CONTROLS=1
45411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45412 else
45413 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45414 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45415 fi
45416 fi
45417
45418 if test "$wxUSE_NOTEBOOK" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_NOTEBOOK 1
45421 _ACEOF
45422
45423 USES_CONTROLS=1
45424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45425 fi
45426
45427 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_ODCOMBOBOX 1
45430 _ACEOF
45431
45432 USES_CONTROLS=1
45433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45434 fi
45435
45436
45437 if test "$wxUSE_RADIOBOX" = "yes"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_RADIOBOX 1
45440 _ACEOF
45441
45442 USES_CONTROLS=1
45443 fi
45444
45445 if test "$wxUSE_RADIOBTN" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_RADIOBTN 1
45448 _ACEOF
45449
45450 USES_CONTROLS=1
45451 fi
45452
45453 if test "$wxUSE_SASH" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_SASH 1
45456 _ACEOF
45457
45458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45459 fi
45460
45461 if test "$wxUSE_SCROLLBAR" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_SCROLLBAR 1
45464 _ACEOF
45465
45466 USES_CONTROLS=1
45467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45468 fi
45469
45470 if test "$wxUSE_SLIDER" = "yes"; then
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_SLIDER 1
45473 _ACEOF
45474
45475 USES_CONTROLS=1
45476 fi
45477
45478 if test "$wxUSE_SPINBTN" = "yes"; then
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_SPINBTN 1
45481 _ACEOF
45482
45483 USES_CONTROLS=1
45484 fi
45485
45486 if test "$wxUSE_SPINCTRL" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_SPINCTRL 1
45489 _ACEOF
45490
45491 USES_CONTROLS=1
45492 fi
45493
45494 if test "$wxUSE_SPLITTER" = "yes"; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_SPLITTER 1
45497 _ACEOF
45498
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45500 fi
45501
45502 if test "$wxUSE_STATBMP" = "yes"; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_STATBMP 1
45505 _ACEOF
45506
45507 USES_CONTROLS=1
45508 fi
45509
45510 if test "$wxUSE_STATBOX" = "yes"; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_STATBOX 1
45513 _ACEOF
45514
45515 USES_CONTROLS=1
45516 fi
45517
45518 if test "$wxUSE_STATTEXT" = "yes"; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_STATTEXT 1
45521 _ACEOF
45522
45523 USES_CONTROLS=1
45524 fi
45525
45526 if test "$wxUSE_STATLINE" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_STATLINE 1
45529 _ACEOF
45530
45531 USES_CONTROLS=1
45532 fi
45533
45534 if test "$wxUSE_STATUSBAR" = "yes"; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_NATIVE_STATUSBAR 1
45537 _ACEOF
45538
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_STATUSBAR 1
45541 _ACEOF
45542
45543 USES_CONTROLS=1
45544
45545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45546 fi
45547
45548 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_TAB_DIALOG 1
45551 _ACEOF
45552
45553 fi
45554
45555 if test "$wxUSE_TEXTCTRL" = "yes"; then
45556 cat >>confdefs.h <<\_ACEOF
45557 #define wxUSE_TEXTCTRL 1
45558 _ACEOF
45559
45560 USES_CONTROLS=1
45561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45562 fi
45563
45564 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45565 if test "$wxUSE_COCOA" = 1 ; then
45566 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45567 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45568 wxUSE_TOGGLEBTN=no
45569 fi
45570
45571 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_TOGGLEBTN 1
45574 _ACEOF
45575
45576 USES_CONTROLS=1
45577 fi
45578 fi
45579
45580 if test "$wxUSE_TOOLBAR" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_TOOLBAR 1
45583 _ACEOF
45584
45585 USES_CONTROLS=1
45586
45587 if test "$wxUSE_UNIVERSAL" = "yes"; then
45588 wxUSE_TOOLBAR_NATIVE="no"
45589 else
45590 wxUSE_TOOLBAR_NATIVE="yes"
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_TOOLBAR_NATIVE 1
45593 _ACEOF
45594
45595 fi
45596
45597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45598 fi
45599
45600 if test "$wxUSE_TOOLTIPS" = "yes"; then
45601 if test "$wxUSE_MOTIF" = 1; then
45602 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45603 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45604 else
45605 if test "$wxUSE_UNIVERSAL" = "yes"; then
45606 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45607 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45608 else
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_TOOLTIPS 1
45611 _ACEOF
45612
45613 fi
45614 fi
45615 fi
45616
45617 if test "$wxUSE_TREEBOOK" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_TREEBOOK 1
45620 _ACEOF
45621
45622 USES_CONTROLS=1
45623 fi
45624
45625 if test "$wxUSE_TOOLBOOK" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_TOOLBOOK 1
45628 _ACEOF
45629
45630 USES_CONTROLS=1
45631 fi
45632
45633 if test "$wxUSE_TREECTRL" = "yes"; then
45634 if test "$wxUSE_IMAGLIST" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_TREECTRL 1
45637 _ACEOF
45638
45639 USES_CONTROLS=1
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45641 else
45642 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45643 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45644 fi
45645 fi
45646
45647 if test "$wxUSE_POPUPWIN" = "yes"; then
45648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45649 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45650 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45651 else
45652 if test "$wxUSE_PM" = 1; then
45653 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45654 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45655 else
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_POPUPWIN 1
45658 _ACEOF
45659
45660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45661
45662 USES_CONTROLS=1
45663 fi
45664 fi
45665 fi
45666
45667 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45668 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45669 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45670 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45671 else
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_DIALUP_MANAGER 1
45674 _ACEOF
45675
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45677 fi
45678 fi
45679
45680 if test "$wxUSE_TIPWINDOW" = "yes"; then
45681 if test "$wxUSE_PM" = 1; then
45682 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45683 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45684 else
45685 cat >>confdefs.h <<\_ACEOF
45686 #define wxUSE_TIPWINDOW 1
45687 _ACEOF
45688
45689 fi
45690 fi
45691
45692 if test "$USES_CONTROLS" = 1; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_CONTROLS 1
45695 _ACEOF
45696
45697 fi
45698
45699
45700 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_ACCESSIBILITY 1
45703 _ACEOF
45704
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45706 fi
45707
45708 if test "$wxUSE_DC_CACHEING" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_DC_CACHEING 1
45711 _ACEOF
45712
45713 fi
45714
45715 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_DRAGIMAGE 1
45718 _ACEOF
45719
45720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45721 fi
45722
45723 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45724 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45725 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45726 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45727 else
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_EXCEPTIONS 1
45730 _ACEOF
45731
45732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45733 fi
45734 fi
45735
45736 USE_HTML=0
45737 if test "$wxUSE_HTML" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_HTML 1
45740 _ACEOF
45741
45742 USE_HTML=1
45743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45744 if test "$wxUSE_MAC" = 1; then
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45746 fi
45747 fi
45748 if test "$wxUSE_WEBKIT" = "yes"; then
45749 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45750 old_CPPFLAGS="$CPPFLAGS"
45751 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45752 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45753 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45754 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45755 echo $ECHO_N "(cached) $ECHO_C" >&6
45756 else
45757 cat >conftest.$ac_ext <<_ACEOF
45758 /* confdefs.h. */
45759 _ACEOF
45760 cat confdefs.h >>conftest.$ac_ext
45761 cat >>conftest.$ac_ext <<_ACEOF
45762 /* end confdefs.h. */
45763 #include <Carbon/Carbon.h>
45764
45765 #include <WebKit/HIWebView.h>
45766 _ACEOF
45767 rm -f conftest.$ac_objext
45768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45769 (eval $ac_compile) 2>conftest.er1
45770 ac_status=$?
45771 grep -v '^ *+' conftest.er1 >conftest.err
45772 rm -f conftest.er1
45773 cat conftest.err >&5
45774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45775 (exit $ac_status); } &&
45776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45778 (eval $ac_try) 2>&5
45779 ac_status=$?
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); }; } &&
45782 { ac_try='test -s conftest.$ac_objext'
45783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45784 (eval $ac_try) 2>&5
45785 ac_status=$?
45786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45787 (exit $ac_status); }; }; then
45788 ac_cv_header_WebKit_HIWebView_h=yes
45789 else
45790 echo "$as_me: failed program was:" >&5
45791 sed 's/^/| /' conftest.$ac_ext >&5
45792
45793 ac_cv_header_WebKit_HIWebView_h=no
45794 fi
45795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45796 fi
45797 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45798 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45799 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45800
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_WEBKIT 1
45803 _ACEOF
45804
45805 WEBKIT_LINK="-framework WebKit"
45806
45807 else
45808
45809 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45810 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45811 wxUSE_WEBKIT=no
45812
45813 fi
45814
45815
45816 CPPFLAGS="$old_CPPFLAGS"
45817 elif test "$wxUSE_COCOA" = 1; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_WEBKIT 1
45820 _ACEOF
45821
45822 else
45823 wxUSE_WEBKIT=no
45824 fi
45825 fi
45826
45827 USE_XRC=0
45828 if test "$wxUSE_XRC" = "yes"; then
45829 if test "$wxUSE_XML" != "yes"; then
45830 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45831 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45832 wxUSE_XRC=no
45833 else
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_XRC 1
45836 _ACEOF
45837
45838 USE_XRC=1
45839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45840 fi
45841 fi
45842
45843 USE_AUI=0
45844 if test "$wxUSE_AUI" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_AUI 1
45847 _ACEOF
45848
45849 USE_AUI=1
45850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45851 fi
45852
45853 if test "$wxUSE_MENUS" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_MENUS 1
45856 _ACEOF
45857
45858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45859 fi
45860
45861 if test "$wxUSE_METAFILE" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_METAFILE 1
45864 _ACEOF
45865
45866 fi
45867
45868 if test "$wxUSE_MIMETYPE" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_MIMETYPE 1
45871 _ACEOF
45872
45873 fi
45874
45875 if test "$wxUSE_MINIFRAME" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_MINIFRAME 1
45878 _ACEOF
45879
45880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45881 fi
45882
45883 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_SYSTEM_OPTIONS 1
45886 _ACEOF
45887
45888 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45889 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45891 fi
45892 fi
45893
45894
45895 if test "$wxUSE_VALIDATORS" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_VALIDATORS 1
45898 _ACEOF
45899
45900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45901 fi
45902
45903 if test "$wxUSE_PALETTE" = "yes" ; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_PALETTE 1
45906 _ACEOF
45907
45908 fi
45909
45910 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45911 LIBS=" -lunicows $LIBS"
45912 fi
45913
45914 USE_RICHTEXT=0
45915 if test "$wxUSE_RICHTEXT" = "yes"; then
45916 cat >>confdefs.h <<\_ACEOF
45917 #define wxUSE_RICHTEXT 1
45918 _ACEOF
45919
45920 USE_RICHTEXT=1
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45922 fi
45923
45924
45925 if test "$wxUSE_IMAGE" = "yes" ; then
45926 cat >>confdefs.h <<\_ACEOF
45927 #define wxUSE_IMAGE 1
45928 _ACEOF
45929
45930
45931 if test "$wxUSE_GIF" = "yes" ; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_GIF 1
45934 _ACEOF
45935
45936 fi
45937
45938 if test "$wxUSE_PCX" = "yes" ; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_PCX 1
45941 _ACEOF
45942
45943 fi
45944
45945 if test "$wxUSE_IFF" = "yes" ; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_IFF 1
45948 _ACEOF
45949
45950 fi
45951
45952 if test "$wxUSE_PNM" = "yes" ; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_PNM 1
45955 _ACEOF
45956
45957 fi
45958
45959 if test "$wxUSE_XPM" = "yes" ; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_XPM 1
45962 _ACEOF
45963
45964 fi
45965
45966 if test "$wxUSE_ICO_CUR" = "yes" ; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define wxUSE_ICO_CUR 1
45969 _ACEOF
45970
45971 fi
45972 fi
45973
45974
45975 if test "$wxUSE_ABOUTDLG" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_ABOUTDLG 1
45978 _ACEOF
45979
45980 fi
45981
45982 if test "$wxUSE_CHOICEDLG" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_CHOICEDLG 1
45985 _ACEOF
45986
45987 fi
45988
45989 if test "$wxUSE_COLOURDLG" = "yes"; then
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_COLOURDLG 1
45992 _ACEOF
45993
45994 fi
45995
45996 if test "$wxUSE_FILEDLG" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_FILEDLG 1
45999 _ACEOF
46000
46001 fi
46002
46003 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_FINDREPLDLG 1
46006 _ACEOF
46007
46008 fi
46009
46010 if test "$wxUSE_FONTDLG" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define wxUSE_FONTDLG 1
46013 _ACEOF
46014
46015 fi
46016
46017 if test "$wxUSE_DIRDLG" = "yes"; then
46018 if test "$wxUSE_TREECTRL" != "yes"; then
46019 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46020 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46021 else
46022 cat >>confdefs.h <<\_ACEOF
46023 #define wxUSE_DIRDLG 1
46024 _ACEOF
46025
46026 fi
46027 fi
46028
46029 if test "$wxUSE_MSGDLG" = "yes"; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_MSGDLG 1
46032 _ACEOF
46033
46034 fi
46035
46036 if test "$wxUSE_NUMBERDLG" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_NUMBERDLG 1
46039 _ACEOF
46040
46041 fi
46042
46043 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46044 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46045 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46046 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46047 else
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_PROGRESSDLG 1
46050 _ACEOF
46051
46052 fi
46053 fi
46054
46055 if test "$wxUSE_SPLASH" = "yes"; then
46056 cat >>confdefs.h <<\_ACEOF
46057 #define wxUSE_SPLASH 1
46058 _ACEOF
46059
46060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46061 fi
46062
46063 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46064 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46065 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46066 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46067 else
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_STARTUP_TIPS 1
46070 _ACEOF
46071
46072 fi
46073 fi
46074
46075 if test "$wxUSE_TEXTDLG" = "yes"; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_TEXTDLG 1
46078 _ACEOF
46079
46080 fi
46081
46082 if test "$wxUSE_WIZARDDLG" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_WIZARDDLG 1
46085 _ACEOF
46086
46087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46088 fi
46089
46090
46091 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46092 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_GRAPHICS_CONTEXT 1
46095 _ACEOF
46096
46097 elif test "$wxUSE_GTK" != 1; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_GRAPHICS_CONTEXT 1
46100 _ACEOF
46101
46102 else
46103
46104 pkg_failed=no
46105 echo "$as_me:$LINENO: checking for CAIRO" >&5
46106 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46107
46108 if test -n "$PKG_CONFIG"; then
46109 if test -n "$CAIRO_CFLAGS"; then
46110 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46111 else
46112 if test -n "$PKG_CONFIG" && \
46113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46114 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46115 ac_status=$?
46116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46117 (exit $ac_status); }; then
46118 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46119 else
46120 pkg_failed=yes
46121 fi
46122 fi
46123 else
46124 pkg_failed=untried
46125 fi
46126 if test -n "$PKG_CONFIG"; then
46127 if test -n "$CAIRO_LIBS"; then
46128 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46129 else
46130 if test -n "$PKG_CONFIG" && \
46131 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46132 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46133 ac_status=$?
46134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46135 (exit $ac_status); }; then
46136 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46137 else
46138 pkg_failed=yes
46139 fi
46140 fi
46141 else
46142 pkg_failed=untried
46143 fi
46144
46145
46146
46147 if test $pkg_failed = yes; then
46148
46149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46150 _pkg_short_errors_supported=yes
46151 else
46152 _pkg_short_errors_supported=no
46153 fi
46154 if test $_pkg_short_errors_supported = yes; then
46155 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46156 else
46157 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46158 fi
46159 # Put the nasty error message in config.log where it belongs
46160 echo "$CAIRO_PKG_ERRORS" >&5
46161
46162
46163 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46164 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46165
46166
46167 elif test $pkg_failed = untried; then
46168
46169 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46170 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46171
46172
46173 else
46174 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46175 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46176 echo "$as_me:$LINENO: result: yes" >&5
46177 echo "${ECHO_T}yes" >&6
46178
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_GRAPHICS_CONTEXT 1
46181 _ACEOF
46182
46183
46184 fi
46185 fi
46186 fi
46187
46188
46189 USE_MEDIA=0
46190
46191 if test "$wxUSE_MEDIACTRL" = "yes"; then
46192 USE_MEDIA=1
46193
46194 if test "$wxUSE_GTK" = 1; then
46195 wxUSE_GSTREAMER="no"
46196
46197 GST_VERSION_MAJOR=0
46198 GST_VERSION_MINOR=10
46199 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46200
46201 if test "$wxUSE_GSTREAMER8" = "no"; then
46202
46203 pkg_failed=no
46204 echo "$as_me:$LINENO: checking for GST" >&5
46205 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46206
46207 if test -n "$PKG_CONFIG"; then
46208 if test -n "$GST_CFLAGS"; then
46209 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46210 else
46211 if test -n "$PKG_CONFIG" && \
46212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46213 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46214 ac_status=$?
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; then
46217 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46218 else
46219 pkg_failed=yes
46220 fi
46221 fi
46222 else
46223 pkg_failed=untried
46224 fi
46225 if test -n "$PKG_CONFIG"; then
46226 if test -n "$GST_LIBS"; then
46227 pkg_cv_GST_LIBS="$GST_LIBS"
46228 else
46229 if test -n "$PKG_CONFIG" && \
46230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46231 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46232 ac_status=$?
46233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46234 (exit $ac_status); }; then
46235 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46236 else
46237 pkg_failed=yes
46238 fi
46239 fi
46240 else
46241 pkg_failed=untried
46242 fi
46243
46244
46245
46246 if test $pkg_failed = yes; then
46247
46248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46249 _pkg_short_errors_supported=yes
46250 else
46251 _pkg_short_errors_supported=no
46252 fi
46253 if test $_pkg_short_errors_supported = yes; then
46254 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46255 else
46256 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46257 fi
46258 # Put the nasty error message in config.log where it belongs
46259 echo "$GST_PKG_ERRORS" >&5
46260
46261
46262 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46263 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46264 GST_VERSION_MINOR=8
46265
46266
46267 elif test $pkg_failed = untried; then
46268
46269 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46270 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46271 GST_VERSION_MINOR=8
46272
46273
46274 else
46275 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46276 GST_LIBS=$pkg_cv_GST_LIBS
46277 echo "$as_me:$LINENO: result: yes" >&5
46278 echo "${ECHO_T}yes" >&6
46279
46280 wxUSE_GSTREAMER="yes"
46281 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46282
46283 fi
46284 else
46285 GST_VERSION_MINOR=8
46286 fi
46287
46288 if test $GST_VERSION_MINOR = "8"; then
46289 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46290
46291 pkg_failed=no
46292 echo "$as_me:$LINENO: checking for GST" >&5
46293 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46294
46295 if test -n "$PKG_CONFIG"; then
46296 if test -n "$GST_CFLAGS"; then
46297 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46298 else
46299 if test -n "$PKG_CONFIG" && \
46300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46301 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46302 ac_status=$?
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); }; then
46305 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46306 else
46307 pkg_failed=yes
46308 fi
46309 fi
46310 else
46311 pkg_failed=untried
46312 fi
46313 if test -n "$PKG_CONFIG"; then
46314 if test -n "$GST_LIBS"; then
46315 pkg_cv_GST_LIBS="$GST_LIBS"
46316 else
46317 if test -n "$PKG_CONFIG" && \
46318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46319 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46320 ac_status=$?
46321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46322 (exit $ac_status); }; then
46323 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46324 else
46325 pkg_failed=yes
46326 fi
46327 fi
46328 else
46329 pkg_failed=untried
46330 fi
46331
46332
46333
46334 if test $pkg_failed = yes; then
46335
46336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46337 _pkg_short_errors_supported=yes
46338 else
46339 _pkg_short_errors_supported=no
46340 fi
46341 if test $_pkg_short_errors_supported = yes; then
46342 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46343 else
46344 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46345 fi
46346 # Put the nasty error message in config.log where it belongs
46347 echo "$GST_PKG_ERRORS" >&5
46348
46349
46350 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46351 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46352
46353 elif test $pkg_failed = untried; then
46354
46355 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46356 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46357
46358 else
46359 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46360 GST_LIBS=$pkg_cv_GST_LIBS
46361 echo "$as_me:$LINENO: result: yes" >&5
46362 echo "${ECHO_T}yes" >&6
46363 wxUSE_GSTREAMER="yes"
46364 fi
46365 fi
46366
46367
46368 if test "$wxUSE_GSTREAMER" = "yes"; then
46369 case "${host}" in
46370 *-*-solaris2* )
46371 if "$GCC" = yes; then
46372 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46373 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46374 fi
46375 esac
46376
46377 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46378 LIBS="$GST_LIBS $LIBS"
46379
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_GSTREAMER 1
46382 _ACEOF
46383
46384 else
46385 USE_MEDIA=0
46386 fi
46387 fi
46388
46389 if test $USE_MEDIA = 1; then
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_MEDIACTRL 1
46393 _ACEOF
46394
46395 fi
46396 fi
46397
46398
46399 if test "$cross_compiling" = "yes"; then
46400 OSINFO="\"$host\""
46401 else
46402 OSINFO=`uname -s -r -m`
46403 OSINFO="\"$OSINFO\""
46404 fi
46405
46406 cat >>confdefs.h <<_ACEOF
46407 #define WXWIN_OS_DESCRIPTION $OSINFO
46408 _ACEOF
46409
46410
46411
46412 if test "x$prefix" != "xNONE"; then
46413 wxPREFIX=$prefix
46414 else
46415 wxPREFIX=$ac_default_prefix
46416 fi
46417
46418 cat >>confdefs.h <<_ACEOF
46419 #define wxINSTALL_PREFIX "$wxPREFIX"
46420 _ACEOF
46421
46422
46423
46424
46425 CORE_BASE_LIBS="net base"
46426 CORE_GUI_LIBS="adv core"
46427
46428 if test "$wxUSE_XML" = "yes" ; then
46429 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46430 fi
46431 if test "$wxUSE_ODBC" != "no" ; then
46432 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46433 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46434 fi
46435 if test "$wxUSE_HTML" = "yes" ; then
46436 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46437 fi
46438 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46439 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46440 fi
46441 if test "$wxUSE_XRC" = "yes" ; then
46442 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46443 fi
46444 if test "$wxUSE_AUI" = "yes" ; then
46445 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46446 fi
46447
46448 if test "$wxUSE_GUI" != "yes"; then
46449 CORE_GUI_LIBS=""
46450 fi
46451
46452
46453
46454
46455
46456 ac_ext=c
46457 ac_cpp='$CPP $CPPFLAGS'
46458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46461
46462
46463
46464 if test "$wxUSE_MAC" = 1 ; then
46465 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46466 if test "$USE_DARWIN" = 1; then
46467 LDFLAGS="$LDFLAGS -framework QuickTime"
46468 else
46469 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46470 fi
46471 fi
46472 if test "$USE_DARWIN" = 1; then
46473 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46474 else
46475 LDFLAGS="$LDFLAGS -lCarbonLib"
46476 fi
46477 fi
46478 if test "$wxUSE_COCOA" = 1 ; then
46479 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46480 if test "$wxUSE_MEDIACTRL" = "yes"; then
46481 LDFLAGS="$LDFLAGS -framework QuickTime"
46482 fi
46483 fi
46484 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46485 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46486 fi
46487
46488 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46489
46490 if test "$wxUSE_GUI" = "yes"; then
46491
46492
46493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46494 dynamic erase event exec font image minimal mobile \
46495 mobile/wxedit mobile/styles propsize render \
46496 rotate shaped vscroll widgets"
46497
46498 if test "$wxUSE_MONOLITHIC" != "yes"; then
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46500 fi
46501 if test "$TOOLKIT" = "MSW"; then
46502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46503 if test "$wxUSE_UNIVERSAL" != "yes"; then
46504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46505 fi
46506 fi
46507 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46509 fi
46510 else
46511 SAMPLES_SUBDIRS="console"
46512 fi
46513
46514
46515 if test "x$INTELCC" = "xyes" ; then
46516 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46517 elif test "$GCC" = yes ; then
46518 CWARNINGS="-Wall -Wundef"
46519 fi
46520
46521 if test "x$INTELCXX" = "xyes" ; then
46522 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46523 elif test "$GXX" = yes ; then
46524 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46525 fi
46526
46527
46528 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46529 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46530
46531
46532 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46533 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46534 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46535 $CPPFLAGS `
46536
46537 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46538 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46539 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46540
46541 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46542
46543
46544 if test "x$MWCC" = "xyes"; then
46545
46546 CC="$CC -cwd source -I-"
46547 CXX="$CXX -cwd source -I-"
46548 fi
46549
46550
46551 LIBS=`echo $LIBS`
46552 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46553 EXTRALIBS_XML="$EXPAT_LINK"
46554 EXTRALIBS_HTML="$MSPACK_LINK"
46555 EXTRALIBS_ODBC="$ODBC_LINK"
46556 if test "$wxUSE_GUI" = "yes"; then
46557 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46558 fi
46559 if test "$wxUSE_OPENGL" = "yes"; then
46560 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46561 fi
46562
46563 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46564
46565 WXCONFIG_LIBS="$LIBS"
46566
46567 if test "$wxUSE_REGEX" = "builtin" ; then
46568 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46569 fi
46570 if test "$wxUSE_EXPAT" = "builtin" ; then
46571 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46572 fi
46573 if test "$wxUSE_ODBC" = "builtin" ; then
46574 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46575 fi
46576 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46577 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46578 fi
46579 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46580 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46581 fi
46582 if test "$wxUSE_LIBPNG" = "builtin" ; then
46583 wxconfig_3rdparty="png $wxconfig_3rdparty"
46584 fi
46585 if test "$wxUSE_ZLIB" = "builtin" ; then
46586 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46587 fi
46588
46589 for i in $wxconfig_3rdparty ; do
46590 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46591 done
46592
46593
46594 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46595 WXUNIV=1
46596
46597 case "$wxUNIV_THEMES" in
46598 ''|all)
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_ALL_THEMES 1
46601 _ACEOF
46602
46603 ;;
46604
46605 *)
46606 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46607 cat >>confdefs.h <<_ACEOF
46608 #define wxUSE_THEME_$t 1
46609 _ACEOF
46610
46611 done
46612 esac
46613 else
46614 WXUNIV=0
46615 fi
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625 if test $wxUSE_MONOLITHIC = "yes" ; then
46626 MONOLITHIC=1
46627 else
46628 MONOLITHIC=0
46629 fi
46630
46631 if test $wxUSE_PLUGINS = "yes" ; then
46632 USE_PLUGINS=1
46633 else
46634 USE_PLUGINS=0
46635 fi
46636
46637 if test $wxUSE_ODBC != "no" ; then
46638 USE_ODBC=1
46639 else
46640 USE_ODBC=0
46641 fi
46642
46643 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46644 USE_QA=1
46645 else
46646 USE_QA=0
46647 fi
46648
46649 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46650 OFFICIAL_BUILD=1
46651 else
46652 OFFICIAL_BUILD=0
46653 fi
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46680
46681
46682
46683
46684
46685
46686
46687
46688 case "$TOOLKIT" in
46689 GTK)
46690 TOOLKIT_DESC="GTK+"
46691 if test "$WXGTK20" = 1; then
46692 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46693 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46694 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46695 fi
46696 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46697 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46698 fi
46699 if test "$wxUSE_LIBHILDON" = "yes"; then
46700 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46701 fi
46702
46703 if test "$TOOLKIT_EXTRA" != ""; then
46704 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46705 fi
46706 fi
46707 ;;
46708
46709 ?*)
46710 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46711 ;;
46712
46713 *)
46714 TOOLKIT_DESC="base only"
46715 ;;
46716 esac
46717
46718 if test "$wxUSE_WINE" = "yes"; then
46719 BAKEFILE_FORCE_PLATFORM=win32
46720 fi
46721
46722 if test "$wxUSE_MAC" = 1 ; then
46723 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46724 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46725 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46726 else
46727 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46728 fi
46729 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46730 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46731 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46732 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46733 bk_use_pch=no
46734 fi
46735 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46736 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46737 fi
46738
46739
46740
46741
46742 if test "x$BAKEFILE_HOST" = "x"; then
46743 if test "x${host}" = "x" ; then
46744 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46745 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46746 { (exit 1); exit 1; }; }
46747 fi
46748
46749 BAKEFILE_HOST="${host}"
46750 fi
46751
46752 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46753
46754 if test -n "$ac_tool_prefix"; then
46755 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46756 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46757 echo "$as_me:$LINENO: checking for $ac_word" >&5
46758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46759 if test "${ac_cv_prog_RANLIB+set}" = set; then
46760 echo $ECHO_N "(cached) $ECHO_C" >&6
46761 else
46762 if test -n "$RANLIB"; then
46763 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46764 else
46765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46766 for as_dir in $PATH
46767 do
46768 IFS=$as_save_IFS
46769 test -z "$as_dir" && as_dir=.
46770 for ac_exec_ext in '' $ac_executable_extensions; do
46771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46772 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46774 break 2
46775 fi
46776 done
46777 done
46778
46779 fi
46780 fi
46781 RANLIB=$ac_cv_prog_RANLIB
46782 if test -n "$RANLIB"; then
46783 echo "$as_me:$LINENO: result: $RANLIB" >&5
46784 echo "${ECHO_T}$RANLIB" >&6
46785 else
46786 echo "$as_me:$LINENO: result: no" >&5
46787 echo "${ECHO_T}no" >&6
46788 fi
46789
46790 fi
46791 if test -z "$ac_cv_prog_RANLIB"; then
46792 ac_ct_RANLIB=$RANLIB
46793 # Extract the first word of "ranlib", so it can be a program name with args.
46794 set dummy ranlib; ac_word=$2
46795 echo "$as_me:$LINENO: checking for $ac_word" >&5
46796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46797 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46798 echo $ECHO_N "(cached) $ECHO_C" >&6
46799 else
46800 if test -n "$ac_ct_RANLIB"; then
46801 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46802 else
46803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46804 for as_dir in $PATH
46805 do
46806 IFS=$as_save_IFS
46807 test -z "$as_dir" && as_dir=.
46808 for ac_exec_ext in '' $ac_executable_extensions; do
46809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46810 ac_cv_prog_ac_ct_RANLIB="ranlib"
46811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46812 break 2
46813 fi
46814 done
46815 done
46816
46817 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46818 fi
46819 fi
46820 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46821 if test -n "$ac_ct_RANLIB"; then
46822 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46823 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46824 else
46825 echo "$as_me:$LINENO: result: no" >&5
46826 echo "${ECHO_T}no" >&6
46827 fi
46828
46829 RANLIB=$ac_ct_RANLIB
46830 else
46831 RANLIB="$ac_cv_prog_RANLIB"
46832 fi
46833
46834 # Find a good install program. We prefer a C program (faster),
46835 # so one script is as good as another. But avoid the broken or
46836 # incompatible versions:
46837 # SysV /etc/install, /usr/sbin/install
46838 # SunOS /usr/etc/install
46839 # IRIX /sbin/install
46840 # AIX /bin/install
46841 # AmigaOS /C/install, which installs bootblocks on floppy discs
46842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46845 # OS/2's system install, which has a completely different semantic
46846 # ./install, which can be erroneously created by make from ./install.sh.
46847 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46848 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46849 if test -z "$INSTALL"; then
46850 if test "${ac_cv_path_install+set}" = set; then
46851 echo $ECHO_N "(cached) $ECHO_C" >&6
46852 else
46853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46854 for as_dir in $PATH
46855 do
46856 IFS=$as_save_IFS
46857 test -z "$as_dir" && as_dir=.
46858 # Account for people who put trailing slashes in PATH elements.
46859 case $as_dir/ in
46860 ./ | .// | /cC/* | \
46861 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46862 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46863 /usr/ucb/* ) ;;
46864 *)
46865 # OSF1 and SCO ODT 3.0 have their own names for install.
46866 # Don't use installbsd from OSF since it installs stuff as root
46867 # by default.
46868 for ac_prog in ginstall scoinst install; do
46869 for ac_exec_ext in '' $ac_executable_extensions; do
46870 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46871 if test $ac_prog = install &&
46872 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46873 # AIX install. It has an incompatible calling convention.
46874 :
46875 elif test $ac_prog = install &&
46876 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46877 # program-specific install script used by HP pwplus--don't use.
46878 :
46879 else
46880 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46881 break 3
46882 fi
46883 fi
46884 done
46885 done
46886 ;;
46887 esac
46888 done
46889
46890
46891 fi
46892 if test "${ac_cv_path_install+set}" = set; then
46893 INSTALL=$ac_cv_path_install
46894 else
46895 # As a last resort, use the slow shell script. We don't cache a
46896 # path for INSTALL within a source directory, because that will
46897 # break other packages using the cache if that directory is
46898 # removed, or if the path is relative.
46899 INSTALL=$ac_install_sh
46900 fi
46901 fi
46902 echo "$as_me:$LINENO: result: $INSTALL" >&5
46903 echo "${ECHO_T}$INSTALL" >&6
46904
46905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46906 # It thinks the first close brace ends the variable substitution.
46907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46908
46909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46910
46911 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46912
46913 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46914 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46915 LN_S=$as_ln_s
46916 if test "$LN_S" = "ln -s"; then
46917 echo "$as_me:$LINENO: result: yes" >&5
46918 echo "${ECHO_T}yes" >&6
46919 else
46920 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46921 echo "${ECHO_T}no, using $LN_S" >&6
46922 fi
46923
46924
46925 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46926 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46927 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46928 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46929 echo $ECHO_N "(cached) $ECHO_C" >&6
46930 else
46931 cat >conftest.make <<\_ACEOF
46932 all:
46933 @echo 'ac_maketemp="$(MAKE)"'
46934 _ACEOF
46935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46936 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46937 if test -n "$ac_maketemp"; then
46938 eval ac_cv_prog_make_${ac_make}_set=yes
46939 else
46940 eval ac_cv_prog_make_${ac_make}_set=no
46941 fi
46942 rm -f conftest.make
46943 fi
46944 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46945 echo "$as_me:$LINENO: result: yes" >&5
46946 echo "${ECHO_T}yes" >&6
46947 SET_MAKE=
46948 else
46949 echo "$as_me:$LINENO: result: no" >&5
46950 echo "${ECHO_T}no" >&6
46951 SET_MAKE="MAKE=${MAKE-make}"
46952 fi
46953
46954
46955
46956 if test -n "$ac_tool_prefix"; then
46957 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46958 set dummy ${ac_tool_prefix}ar; ac_word=$2
46959 echo "$as_me:$LINENO: checking for $ac_word" >&5
46960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46961 if test "${ac_cv_prog_AR+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 else
46964 if test -n "$AR"; then
46965 ac_cv_prog_AR="$AR" # Let the user override the test.
46966 else
46967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46968 for as_dir in $PATH
46969 do
46970 IFS=$as_save_IFS
46971 test -z "$as_dir" && as_dir=.
46972 for ac_exec_ext in '' $ac_executable_extensions; do
46973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46974 ac_cv_prog_AR="${ac_tool_prefix}ar"
46975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46976 break 2
46977 fi
46978 done
46979 done
46980
46981 fi
46982 fi
46983 AR=$ac_cv_prog_AR
46984 if test -n "$AR"; then
46985 echo "$as_me:$LINENO: result: $AR" >&5
46986 echo "${ECHO_T}$AR" >&6
46987 else
46988 echo "$as_me:$LINENO: result: no" >&5
46989 echo "${ECHO_T}no" >&6
46990 fi
46991
46992 fi
46993 if test -z "$ac_cv_prog_AR"; then
46994 ac_ct_AR=$AR
46995 # Extract the first word of "ar", so it can be a program name with args.
46996 set dummy ar; ac_word=$2
46997 echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46999 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47001 else
47002 if test -n "$ac_ct_AR"; then
47003 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47004 else
47005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47006 for as_dir in $PATH
47007 do
47008 IFS=$as_save_IFS
47009 test -z "$as_dir" && as_dir=.
47010 for ac_exec_ext in '' $ac_executable_extensions; do
47011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47012 ac_cv_prog_ac_ct_AR="ar"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47014 break 2
47015 fi
47016 done
47017 done
47018
47019 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47020 fi
47021 fi
47022 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47023 if test -n "$ac_ct_AR"; then
47024 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47025 echo "${ECHO_T}$ac_ct_AR" >&6
47026 else
47027 echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6
47029 fi
47030
47031 AR=$ac_ct_AR
47032 else
47033 AR="$ac_cv_prog_AR"
47034 fi
47035
47036 if test -n "$ac_tool_prefix"; then
47037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47038 set dummy ${ac_tool_prefix}strip; ac_word=$2
47039 echo "$as_me:$LINENO: checking for $ac_word" >&5
47040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47041 if test "${ac_cv_prog_STRIP+set}" = set; then
47042 echo $ECHO_N "(cached) $ECHO_C" >&6
47043 else
47044 if test -n "$STRIP"; then
47045 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47046 else
47047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47048 for as_dir in $PATH
47049 do
47050 IFS=$as_save_IFS
47051 test -z "$as_dir" && as_dir=.
47052 for ac_exec_ext in '' $ac_executable_extensions; do
47053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47054 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47056 break 2
47057 fi
47058 done
47059 done
47060
47061 fi
47062 fi
47063 STRIP=$ac_cv_prog_STRIP
47064 if test -n "$STRIP"; then
47065 echo "$as_me:$LINENO: result: $STRIP" >&5
47066 echo "${ECHO_T}$STRIP" >&6
47067 else
47068 echo "$as_me:$LINENO: result: no" >&5
47069 echo "${ECHO_T}no" >&6
47070 fi
47071
47072 fi
47073 if test -z "$ac_cv_prog_STRIP"; then
47074 ac_ct_STRIP=$STRIP
47075 # Extract the first word of "strip", so it can be a program name with args.
47076 set dummy strip; ac_word=$2
47077 echo "$as_me:$LINENO: checking for $ac_word" >&5
47078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47079 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47080 echo $ECHO_N "(cached) $ECHO_C" >&6
47081 else
47082 if test -n "$ac_ct_STRIP"; then
47083 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47084 else
47085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47086 for as_dir in $PATH
47087 do
47088 IFS=$as_save_IFS
47089 test -z "$as_dir" && as_dir=.
47090 for ac_exec_ext in '' $ac_executable_extensions; do
47091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47092 ac_cv_prog_ac_ct_STRIP="strip"
47093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47094 break 2
47095 fi
47096 done
47097 done
47098
47099 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47100 fi
47101 fi
47102 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47103 if test -n "$ac_ct_STRIP"; then
47104 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47105 echo "${ECHO_T}$ac_ct_STRIP" >&6
47106 else
47107 echo "$as_me:$LINENO: result: no" >&5
47108 echo "${ECHO_T}no" >&6
47109 fi
47110
47111 STRIP=$ac_ct_STRIP
47112 else
47113 STRIP="$ac_cv_prog_STRIP"
47114 fi
47115
47116 if test -n "$ac_tool_prefix"; then
47117 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47118 set dummy ${ac_tool_prefix}nm; ac_word=$2
47119 echo "$as_me:$LINENO: checking for $ac_word" >&5
47120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47121 if test "${ac_cv_prog_NM+set}" = set; then
47122 echo $ECHO_N "(cached) $ECHO_C" >&6
47123 else
47124 if test -n "$NM"; then
47125 ac_cv_prog_NM="$NM" # Let the user override the test.
47126 else
47127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47128 for as_dir in $PATH
47129 do
47130 IFS=$as_save_IFS
47131 test -z "$as_dir" && as_dir=.
47132 for ac_exec_ext in '' $ac_executable_extensions; do
47133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47134 ac_cv_prog_NM="${ac_tool_prefix}nm"
47135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47136 break 2
47137 fi
47138 done
47139 done
47140
47141 fi
47142 fi
47143 NM=$ac_cv_prog_NM
47144 if test -n "$NM"; then
47145 echo "$as_me:$LINENO: result: $NM" >&5
47146 echo "${ECHO_T}$NM" >&6
47147 else
47148 echo "$as_me:$LINENO: result: no" >&5
47149 echo "${ECHO_T}no" >&6
47150 fi
47151
47152 fi
47153 if test -z "$ac_cv_prog_NM"; then
47154 ac_ct_NM=$NM
47155 # Extract the first word of "nm", so it can be a program name with args.
47156 set dummy nm; ac_word=$2
47157 echo "$as_me:$LINENO: checking for $ac_word" >&5
47158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47159 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47160 echo $ECHO_N "(cached) $ECHO_C" >&6
47161 else
47162 if test -n "$ac_ct_NM"; then
47163 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47164 else
47165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47166 for as_dir in $PATH
47167 do
47168 IFS=$as_save_IFS
47169 test -z "$as_dir" && as_dir=.
47170 for ac_exec_ext in '' $ac_executable_extensions; do
47171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47172 ac_cv_prog_ac_ct_NM="nm"
47173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47174 break 2
47175 fi
47176 done
47177 done
47178
47179 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47180 fi
47181 fi
47182 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47183 if test -n "$ac_ct_NM"; then
47184 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47185 echo "${ECHO_T}$ac_ct_NM" >&6
47186 else
47187 echo "$as_me:$LINENO: result: no" >&5
47188 echo "${ECHO_T}no" >&6
47189 fi
47190
47191 NM=$ac_ct_NM
47192 else
47193 NM="$ac_cv_prog_NM"
47194 fi
47195
47196
47197 case ${BAKEFILE_HOST} in
47198 *-hp-hpux* )
47199 INSTALL_DIR="mkdir -p"
47200 ;;
47201 *) INSTALL_DIR="$INSTALL -d"
47202 ;;
47203 esac
47204
47205
47206 LDFLAGS_GUI=
47207 case ${BAKEFILE_HOST} in
47208 *-*-cygwin* | *-*-mingw32* )
47209 LDFLAGS_GUI="-mwindows"
47210 esac
47211
47212
47213 fi
47214
47215 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47216 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47217 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47218 echo $ECHO_N "(cached) $ECHO_C" >&6
47219 else
47220
47221 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47222 egrep -s GNU > /dev/null); then
47223 bakefile_cv_prog_makeisgnu="yes"
47224 else
47225 bakefile_cv_prog_makeisgnu="no"
47226 fi
47227
47228 fi
47229 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47230 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47231
47232 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47233 IF_GNU_MAKE=""
47234 else
47235 IF_GNU_MAKE="#"
47236 fi
47237
47238
47239
47240 PLATFORM_UNIX=0
47241 PLATFORM_WIN32=0
47242 PLATFORM_MSDOS=0
47243 PLATFORM_MAC=0
47244 PLATFORM_MACOS=0
47245 PLATFORM_MACOSX=0
47246 PLATFORM_OS2=0
47247 PLATFORM_BEOS=0
47248
47249 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47250 case "${BAKEFILE_HOST}" in
47251 *-*-mingw32* )
47252 PLATFORM_WIN32=1
47253 ;;
47254 *-pc-msdosdjgpp )
47255 PLATFORM_MSDOS=1
47256 ;;
47257 *-pc-os2_emx | *-pc-os2-emx )
47258 PLATFORM_OS2=1
47259 ;;
47260 *-*-darwin* )
47261 PLATFORM_MAC=1
47262 PLATFORM_MACOSX=1
47263 ;;
47264 *-*-beos* )
47265 PLATFORM_BEOS=1
47266 ;;
47267 powerpc-apple-macos* )
47268 PLATFORM_MAC=1
47269 PLATFORM_MACOS=1
47270 ;;
47271 * )
47272 PLATFORM_UNIX=1
47273 ;;
47274 esac
47275 else
47276 case "$BAKEFILE_FORCE_PLATFORM" in
47277 win32 )
47278 PLATFORM_WIN32=1
47279 ;;
47280 msdos )
47281 PLATFORM_MSDOS=1
47282 ;;
47283 os2 )
47284 PLATFORM_OS2=1
47285 ;;
47286 darwin )
47287 PLATFORM_MAC=1
47288 PLATFORM_MACOSX=1
47289 ;;
47290 unix )
47291 PLATFORM_UNIX=1
47292 ;;
47293 beos )
47294 PLATFORM_BEOS=1
47295 ;;
47296 * )
47297 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47298 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47299 { (exit 1); exit 1; }; }
47300 ;;
47301 esac
47302 fi
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314 # Check whether --enable-omf or --disable-omf was given.
47315 if test "${enable_omf+set}" = set; then
47316 enableval="$enable_omf"
47317 bk_os2_use_omf="$enableval"
47318 fi;
47319
47320 case "${BAKEFILE_HOST}" in
47321 *-*-darwin* )
47322 if test "x$GCC" = "xyes"; then
47323 CFLAGS="$CFLAGS -fno-common"
47324 CXXFLAGS="$CXXFLAGS -fno-common"
47325 fi
47326 if test "x$XLCC" = "xyes"; then
47327 CFLAGS="$CFLAGS -qnocommon"
47328 CXXFLAGS="$CXXFLAGS -qnocommon"
47329 fi
47330 ;;
47331
47332 *-pc-os2_emx | *-pc-os2-emx )
47333 if test "x$bk_os2_use_omf" = "xyes" ; then
47334 AR=emxomfar
47335 RANLIB=:
47336 LDFLAGS="-Zomf $LDFLAGS"
47337 CFLAGS="-Zomf $CFLAGS"
47338 CXXFLAGS="-Zomf $CXXFLAGS"
47339 OS2_LIBEXT="lib"
47340 else
47341 OS2_LIBEXT="a"
47342 fi
47343 ;;
47344
47345 i*86-*-beos* )
47346 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47347 ;;
47348 esac
47349
47350
47351 SO_SUFFIX="so"
47352 SO_SUFFIX_MODULE="so"
47353 EXEEXT=""
47354 LIBPREFIX="lib"
47355 LIBEXT=".a"
47356 DLLPREFIX="lib"
47357 DLLPREFIX_MODULE=""
47358 DLLIMP_SUFFIX=""
47359 dlldir="$libdir"
47360
47361 case "${BAKEFILE_HOST}" in
47362 *-hp-hpux* )
47363 SO_SUFFIX="sl"
47364 SO_SUFFIX_MODULE="sl"
47365 ;;
47366 *-*-aix* )
47367 SO_SUFFIX="a"
47368 SO_SUFFIX_MODULE="a"
47369 ;;
47370 *-*-cygwin* )
47371 SO_SUFFIX="dll"
47372 SO_SUFFIX_MODULE="dll"
47373 DLLIMP_SUFFIX="dll.a"
47374 EXEEXT=".exe"
47375 DLLPREFIX="cyg"
47376 dlldir="$bindir"
47377 ;;
47378 *-*-mingw32* )
47379 SO_SUFFIX="dll"
47380 SO_SUFFIX_MODULE="dll"
47381 DLLIMP_SUFFIX="dll.a"
47382 EXEEXT=".exe"
47383 DLLPREFIX=""
47384 dlldir="$bindir"
47385 ;;
47386 *-pc-msdosdjgpp )
47387 EXEEXT=".exe"
47388 DLLPREFIX=""
47389 dlldir="$bindir"
47390 ;;
47391 *-pc-os2_emx | *-pc-os2-emx )
47392 SO_SUFFIX="dll"
47393 SO_SUFFIX_MODULE="dll"
47394 DLLIMP_SUFFIX=$OS2_LIBEXT
47395 EXEEXT=".exe"
47396 DLLPREFIX=""
47397 LIBPREFIX=""
47398 LIBEXT=".$OS2_LIBEXT"
47399 dlldir="$bindir"
47400 ;;
47401 *-*-darwin* )
47402 SO_SUFFIX="dylib"
47403 SO_SUFFIX_MODULE="bundle"
47404 ;;
47405 esac
47406
47407 if test "x$DLLIMP_SUFFIX" = "x" ; then
47408 DLLIMP_SUFFIX="$SO_SUFFIX"
47409 fi
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422 PIC_FLAG=""
47423 if test "x$GCC" = "xyes"; then
47424 PIC_FLAG="-fPIC"
47425 fi
47426
47427 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47428 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47429 WINDOWS_IMPLIB=0
47430
47431 case "${BAKEFILE_HOST}" in
47432 *-hp-hpux* )
47433 if test "x$GCC" != "xyes"; then
47434 LDFLAGS="$LDFLAGS -L/usr/lib"
47435
47436 SHARED_LD_CC="${CC} -b -o"
47437 SHARED_LD_CXX="${CXX} -b -o"
47438 PIC_FLAG="+Z"
47439 fi
47440 ;;
47441
47442 *-*-linux* )
47443 if test "x$GCC" != "xyes"; then
47444 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47445 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47446 if test "${bakefile_cv_prog_icc+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47448 else
47449
47450 cat >conftest.$ac_ext <<_ACEOF
47451 /* confdefs.h. */
47452 _ACEOF
47453 cat confdefs.h >>conftest.$ac_ext
47454 cat >>conftest.$ac_ext <<_ACEOF
47455 /* end confdefs.h. */
47456
47457 int
47458 main ()
47459 {
47460
47461 #ifndef __INTEL_COMPILER
47462 This is not ICC
47463 #endif
47464
47465 ;
47466 return 0;
47467 }
47468 _ACEOF
47469 rm -f conftest.$ac_objext
47470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47471 (eval $ac_compile) 2>conftest.er1
47472 ac_status=$?
47473 grep -v '^ *+' conftest.er1 >conftest.err
47474 rm -f conftest.er1
47475 cat conftest.err >&5
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); } &&
47478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47480 (eval $ac_try) 2>&5
47481 ac_status=$?
47482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47483 (exit $ac_status); }; } &&
47484 { ac_try='test -s conftest.$ac_objext'
47485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47486 (eval $ac_try) 2>&5
47487 ac_status=$?
47488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47489 (exit $ac_status); }; }; then
47490 bakefile_cv_prog_icc=yes
47491 else
47492 echo "$as_me: failed program was:" >&5
47493 sed 's/^/| /' conftest.$ac_ext >&5
47494
47495 bakefile_cv_prog_icc=no
47496
47497 fi
47498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47499
47500 fi
47501 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47502 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47503 if test "$bakefile_cv_prog_icc" = "yes"; then
47504 PIC_FLAG="-KPIC"
47505 fi
47506 fi
47507 ;;
47508
47509 *-*-solaris2* )
47510 if test "x$GCC" != xyes ; then
47511 SHARED_LD_CC="${CC} -G -o"
47512 SHARED_LD_CXX="${CXX} -G -o"
47513 PIC_FLAG="-KPIC"
47514 fi
47515 ;;
47516
47517 *-*-darwin* )
47518
47519 D='$'
47520 cat <<EOF >shared-ld-sh
47521 #!/bin/sh
47522 #-----------------------------------------------------------------------------
47523 #-- Name: distrib/mac/shared-ld-sh
47524 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47525 #-- Author: Gilles Depeyrot
47526 #-- Copyright: (c) 2002 Gilles Depeyrot
47527 #-- Licence: any use permitted
47528 #-----------------------------------------------------------------------------
47529
47530 verbose=0
47531 args=""
47532 objects=""
47533 linking_flag="-dynamiclib"
47534 ldargs="-r -keep_private_externs -nostdlib"
47535
47536 while test ${D}# -gt 0; do
47537 case ${D}1 in
47538
47539 -v)
47540 verbose=1
47541 ;;
47542
47543 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47544 # collect these options and values
47545 args="${D}{args} ${D}1 ${D}2"
47546 shift
47547 ;;
47548
47549 -s|-Wl,*)
47550 # collect these load args
47551 ldargs="${D}{ldargs} ${D}1"
47552 ;;
47553
47554 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47555 # collect these options
47556 args="${D}{args} ${D}1"
47557 ;;
47558
47559 -dynamiclib|-bundle)
47560 linking_flag="${D}1"
47561 ;;
47562
47563 -*)
47564 echo "shared-ld: unhandled option '${D}1'"
47565 exit 1
47566 ;;
47567
47568 *.o | *.a | *.dylib)
47569 # collect object files
47570 objects="${D}{objects} ${D}1"
47571 ;;
47572
47573 *)
47574 echo "shared-ld: unhandled argument '${D}1'"
47575 exit 1
47576 ;;
47577
47578 esac
47579 shift
47580 done
47581
47582 status=0
47583
47584 #
47585 # Link one module containing all the others
47586 #
47587 if test ${D}{verbose} = 1; then
47588 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47589 fi
47590 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47591 status=${D}?
47592
47593 #
47594 # Link the shared library from the single module created, but only if the
47595 # previous command didn't fail:
47596 #
47597 if test ${D}{status} = 0; then
47598 if test ${D}{verbose} = 1; then
47599 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47600 fi
47601 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47602 status=${D}?
47603 fi
47604
47605 #
47606 # Remove intermediate module
47607 #
47608 rm -f master.${D}${D}.o
47609
47610 exit ${D}status
47611 EOF
47612
47613 chmod +x shared-ld-sh
47614
47615 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47616 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47617
47618
47619 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47620 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47621 if test "${bakefile_cv_gcc31+set}" = set; then
47622 echo $ECHO_N "(cached) $ECHO_C" >&6
47623 else
47624
47625 cat >conftest.$ac_ext <<_ACEOF
47626 /* confdefs.h. */
47627 _ACEOF
47628 cat confdefs.h >>conftest.$ac_ext
47629 cat >>conftest.$ac_ext <<_ACEOF
47630 /* end confdefs.h. */
47631
47632 int
47633 main ()
47634 {
47635
47636 #if (__GNUC__ < 3) || \
47637 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47638 This is old gcc
47639 #endif
47640
47641 ;
47642 return 0;
47643 }
47644 _ACEOF
47645 rm -f conftest.$ac_objext
47646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47647 (eval $ac_compile) 2>conftest.er1
47648 ac_status=$?
47649 grep -v '^ *+' conftest.er1 >conftest.err
47650 rm -f conftest.er1
47651 cat conftest.err >&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } &&
47654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47656 (eval $ac_try) 2>&5
47657 ac_status=$?
47658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659 (exit $ac_status); }; } &&
47660 { ac_try='test -s conftest.$ac_objext'
47661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662 (eval $ac_try) 2>&5
47663 ac_status=$?
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); }; }; then
47666
47667 bakefile_cv_gcc31=yes
47668
47669 else
47670 echo "$as_me: failed program was:" >&5
47671 sed 's/^/| /' conftest.$ac_ext >&5
47672
47673
47674 bakefile_cv_gcc31=no
47675
47676
47677 fi
47678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47679
47680 fi
47681 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47682 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47683 if test "$bakefile_cv_gcc31" = "no"; then
47684 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47685 SHARED_LD_CXX="$SHARED_LD_CC"
47686 else
47687 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47688 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47689 fi
47690
47691 if test "x$GCC" == "xyes"; then
47692 PIC_FLAG="-dynamic -fPIC"
47693 fi
47694 if test "x$XLCC" = "xyes"; then
47695 PIC_FLAG="-dynamic -DPIC"
47696 fi
47697 ;;
47698
47699 *-*-aix* )
47700 if test "x$GCC" = "xyes"; then
47701 PIC_FLAG=""
47702
47703 case "${BAKEFILE_HOST}" in
47704 *-*-aix5* )
47705 LD_EXPFULL="-Wl,-bexpfull"
47706 ;;
47707 esac
47708
47709 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47710 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47711 else
47712 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47713 set dummy makeC++SharedLib; ac_word=$2
47714 echo "$as_me:$LINENO: checking for $ac_word" >&5
47715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47716 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47717 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 else
47719 if test -n "$AIX_CXX_LD"; then
47720 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47721 else
47722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47723 for as_dir in $PATH
47724 do
47725 IFS=$as_save_IFS
47726 test -z "$as_dir" && as_dir=.
47727 for ac_exec_ext in '' $ac_executable_extensions; do
47728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47729 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47731 break 2
47732 fi
47733 done
47734 done
47735
47736 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47737 fi
47738 fi
47739 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47740 if test -n "$AIX_CXX_LD"; then
47741 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47742 echo "${ECHO_T}$AIX_CXX_LD" >&6
47743 else
47744 echo "$as_me:$LINENO: result: no" >&5
47745 echo "${ECHO_T}no" >&6
47746 fi
47747
47748 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47749 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47750 fi
47751 ;;
47752
47753 *-*-beos* )
47754 SHARED_LD_CC="${LD} -nostart -o"
47755 SHARED_LD_CXX="${LD} -nostart -o"
47756 ;;
47757
47758 *-*-irix* )
47759 if test "x$GCC" != "xyes"; then
47760 PIC_FLAG="-KPIC"
47761 fi
47762 ;;
47763
47764 *-*-cygwin* | *-*-mingw32* )
47765 PIC_FLAG=""
47766 SHARED_LD_CC="\$(CC) -shared -o"
47767 SHARED_LD_CXX="\$(CXX) -shared -o"
47768 WINDOWS_IMPLIB=1
47769 ;;
47770
47771 *-pc-os2_emx | *-pc-os2-emx )
47772 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47773 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47774 PIC_FLAG=""
47775
47776 D='$'
47777 cat <<EOF >dllar.sh
47778 #!/bin/sh
47779 #
47780 # dllar - a tool to build both a .dll and an .a file
47781 # from a set of object (.o) files for EMX/OS2.
47782 #
47783 # Written by Andrew Zabolotny, bit@freya.etu.ru
47784 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47785 #
47786 # This script will accept a set of files on the command line.
47787 # All the public symbols from the .o files will be exported into
47788 # a .DEF file, then linker will be run (through gcc) against them to
47789 # build a shared library consisting of all given .o files. All libraries
47790 # (.a) will be first decompressed into component .o files then act as
47791 # described above. You can optionally give a description (-d "description")
47792 # which will be put into .DLL. To see the list of accepted options (as well
47793 # as command-line format) simply run this program without options. The .DLL
47794 # is built to be imported by name (there is no guarantee that new versions
47795 # of the library you build will have same ordinals for same symbols).
47796 #
47797 # dllar is free software; you can redistribute it and/or modify
47798 # it under the terms of the GNU General Public License as published by
47799 # the Free Software Foundation; either version 2, or (at your option)
47800 # any later version.
47801 #
47802 # dllar is distributed in the hope that it will be useful,
47803 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47804 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47805 # GNU General Public License for more details.
47806 #
47807 # You should have received a copy of the GNU General Public License
47808 # along with dllar; see the file COPYING. If not, write to the Free
47809 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47810 # 02111-1307, USA.
47811
47812 # To successfuly run this program you will need:
47813 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47814 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47815 # - gcc
47816 # (used to build the .dll)
47817 # - emxexp
47818 # (used to create .def file from .o files)
47819 # - emximp
47820 # (used to create .a file from .def file)
47821 # - GNU text utilites (cat, sort, uniq)
47822 # used to process emxexp output
47823 # - GNU file utilities (mv, rm)
47824 # - GNU sed
47825 # - lxlite (optional, see flag below)
47826 # (used for general .dll cleanup)
47827 #
47828
47829 flag_USE_LXLITE=1;
47830
47831 #
47832 # helper functions
47833 # basnam, variant of basename, which does _not_ remove the path, _iff_
47834 # second argument (suffix to remove) is given
47835 basnam(){
47836 case ${D}# in
47837 1)
47838 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47839 ;;
47840 2)
47841 echo ${D}1 | sed 's/'${D}2'${D}//'
47842 ;;
47843 *)
47844 echo "error in basnam ${D}*"
47845 exit 8
47846 ;;
47847 esac
47848 }
47849
47850 # Cleanup temporary files and output
47851 CleanUp() {
47852 cd ${D}curDir
47853 for i in ${D}inputFiles ; do
47854 case ${D}i in
47855 *!)
47856 rm -rf \`basnam ${D}i !\`
47857 ;;
47858 *)
47859 ;;
47860 esac
47861 done
47862
47863 # Kill result in case of failure as there is just to many stupid make/nmake
47864 # things out there which doesn't do this.
47865 if [ ${D}# -eq 0 ]; then
47866 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47867 fi
47868 }
47869
47870 # Print usage and exit script with rc=1.
47871 PrintHelp() {
47872 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47873 echo ' [-name-mangler-script script.sh]'
47874 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47875 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47876 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47877 echo ' [*.o] [*.a]'
47878 echo '*> "output_file" should have no extension.'
47879 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47880 echo ' The import library name is derived from this and is set to "name".a,'
47881 echo ' unless overridden by -import'
47882 echo '*> "importlib_name" should have no extension.'
47883 echo ' If it has the .o, or .a extension, it is automatically removed.'
47884 echo ' This name is used as the import library name and may be longer and'
47885 echo ' more descriptive than the DLL name which has to follow the old '
47886 echo ' 8.3 convention of FAT.'
47887 echo '*> "script.sh may be given to override the output_file name by a'
47888 echo ' different name. It is mainly useful if the regular make process'
47889 echo ' of some package does not take into account OS/2 restriction of'
47890 echo ' DLL name lengths. It takes the importlib name as input and is'
47891 echo ' supposed to procude a shorter name as output. The script should'
47892 echo ' expect to get importlib_name without extension and should produce'
47893 echo ' a (max.) 8 letter name without extension.'
47894 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47895 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47896 echo ' These flags will be put at the start of GCC command line.'
47897 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47898 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47899 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47900 echo ' If the last character of a symbol is "*", all symbols beginning'
47901 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47902 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47903 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47904 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47905 echo ' C runtime DLLs.'
47906 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47907 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47908 echo ' unchanged to GCC at the end of command line.'
47909 echo '*> If you create a DLL from a library and you do not specify -o,'
47910 echo ' the basename for DLL and import library will be set to library name,'
47911 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47912 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47913 echo ' library will be renamed into gcc_s.a.'
47914 echo '--------'
47915 echo 'Example:'
47916 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47917 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47918 CleanUp
47919 exit 1
47920 }
47921
47922 # Execute a command.
47923 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47924 # @Uses Whatever CleanUp() uses.
47925 doCommand() {
47926 echo "${D}*"
47927 eval ${D}*
47928 rcCmd=${D}?
47929
47930 if [ ${D}rcCmd -ne 0 ]; then
47931 echo "command failed, exit code="${D}rcCmd
47932 CleanUp
47933 exit ${D}rcCmd
47934 fi
47935 }
47936
47937 # main routine
47938 # setup globals
47939 cmdLine=${D}*
47940 outFile=""
47941 outimpFile=""
47942 inputFiles=""
47943 renameScript=""
47944 description=""
47945 CC=gcc.exe
47946 CFLAGS="-s -Zcrtdll"
47947 EXTRA_CFLAGS=""
47948 EXPORT_BY_ORDINALS=0
47949 exclude_symbols=""
47950 library_flags=""
47951 curDir=\`pwd\`
47952 curDirS=curDir
47953 case ${D}curDirS in
47954 */)
47955 ;;
47956 *)
47957 curDirS=${D}{curDirS}"/"
47958 ;;
47959 esac
47960 # Parse commandline
47961 libsToLink=0
47962 omfLinking=0
47963 while [ ${D}1 ]; do
47964 case ${D}1 in
47965 -ord*)
47966 EXPORT_BY_ORDINALS=1;
47967 ;;
47968 -o*)
47969 shift
47970 outFile=${D}1
47971 ;;
47972 -i*)
47973 shift
47974 outimpFile=${D}1
47975 ;;
47976 -name-mangler-script)
47977 shift
47978 renameScript=${D}1
47979 ;;
47980 -d*)
47981 shift
47982 description=${D}1
47983 ;;
47984 -f*)
47985 shift
47986 CFLAGS=${D}1
47987 ;;
47988 -c*)
47989 shift
47990 CC=${D}1
47991 ;;
47992 -h*)
47993 PrintHelp
47994 ;;
47995 -ex*)
47996 shift
47997 exclude_symbols=${D}{exclude_symbols}${D}1" "
47998 ;;
47999 -libf*)
48000 shift
48001 library_flags=${D}{library_flags}${D}1" "
48002 ;;
48003 -nocrt*)
48004 CFLAGS="-s"
48005 ;;
48006 -nolxl*)
48007 flag_USE_LXLITE=0
48008 ;;
48009 -* | /*)
48010 case ${D}1 in
48011 -L* | -l*)
48012 libsToLink=1
48013 ;;
48014 -Zomf)
48015 omfLinking=1
48016 ;;
48017 *)
48018 ;;
48019 esac
48020 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48021 ;;
48022 *.dll)
48023 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48024 if [ ${D}omfLinking -eq 1 ]; then
48025 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48026 else
48027 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48028 fi
48029 ;;
48030 *)
48031 found=0;
48032 if [ ${D}libsToLink -ne 0 ]; then
48033 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48034 else
48035 for file in ${D}1 ; do
48036 if [ -f ${D}file ]; then
48037 inputFiles="${D}{inputFiles} ${D}file"
48038 found=1
48039 fi
48040 done
48041 if [ ${D}found -eq 0 ]; then
48042 echo "ERROR: No file(s) found: "${D}1
48043 exit 8
48044 fi
48045 fi
48046 ;;
48047 esac
48048 shift
48049 done # iterate cmdline words
48050
48051 #
48052 if [ -z "${D}inputFiles" ]; then
48053 echo "dllar: no input files"
48054 PrintHelp
48055 fi
48056
48057 # Now extract all .o files from .a files
48058 newInputFiles=""
48059 for file in ${D}inputFiles ; do
48060 case ${D}file in
48061 *.a | *.lib)
48062 case ${D}file in
48063 *.a)
48064 suffix=".a"
48065 AR="ar"
48066 ;;
48067 *.lib)
48068 suffix=".lib"
48069 AR="emxomfar"
48070 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48071 ;;
48072 *)
48073 ;;
48074 esac
48075 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48076 mkdir ${D}dirname
48077 if [ ${D}? -ne 0 ]; then
48078 echo "Failed to create subdirectory ./${D}dirname"
48079 CleanUp
48080 exit 8;
48081 fi
48082 # Append '!' to indicate archive
48083 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48084 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48085 cd ${D}curDir
48086 found=0;
48087 for subfile in ${D}dirname/*.o* ; do
48088 if [ -f ${D}subfile ]; then
48089 found=1
48090 if [ -s ${D}subfile ]; then
48091 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48092 newInputFiles="${D}newInputFiles ${D}subfile"
48093 fi
48094 fi
48095 done
48096 if [ ${D}found -eq 0 ]; then
48097 echo "WARNING: there are no files in archive \\'${D}file\\'"
48098 fi
48099 ;;
48100 *)
48101 newInputFiles="${D}{newInputFiles} ${D}file"
48102 ;;
48103 esac
48104 done
48105 inputFiles="${D}newInputFiles"
48106
48107 # Output filename(s).
48108 do_backup=0;
48109 if [ -z ${D}outFile ]; then
48110 do_backup=1;
48111 set outFile ${D}inputFiles; outFile=${D}2
48112 fi
48113
48114 # If it is an archive, remove the '!' and the '_%' suffixes
48115 case ${D}outFile in
48116 *_%!)
48117 outFile=\`basnam ${D}outFile _%!\`
48118 ;;
48119 *)
48120 ;;
48121 esac
48122 case ${D}outFile in
48123 *.dll)
48124 outFile=\`basnam ${D}outFile .dll\`
48125 ;;
48126 *.DLL)
48127 outFile=\`basnam ${D}outFile .DLL\`
48128 ;;
48129 *.o)
48130 outFile=\`basnam ${D}outFile .o\`
48131 ;;
48132 *.obj)
48133 outFile=\`basnam ${D}outFile .obj\`
48134 ;;
48135 *.a)
48136 outFile=\`basnam ${D}outFile .a\`
48137 ;;
48138 *.lib)
48139 outFile=\`basnam ${D}outFile .lib\`
48140 ;;
48141 *)
48142 ;;
48143 esac
48144 case ${D}outimpFile in
48145 *.a)
48146 outimpFile=\`basnam ${D}outimpFile .a\`
48147 ;;
48148 *.lib)
48149 outimpFile=\`basnam ${D}outimpFile .lib\`
48150 ;;
48151 *)
48152 ;;
48153 esac
48154 if [ -z ${D}outimpFile ]; then
48155 outimpFile=${D}outFile
48156 fi
48157 defFile="${D}{outFile}.def"
48158 arcFile="${D}{outimpFile}.a"
48159 arcFile2="${D}{outimpFile}.lib"
48160
48161 #create ${D}dllFile as something matching 8.3 restrictions,
48162 if [ -z ${D}renameScript ] ; then
48163 dllFile="${D}outFile"
48164 else
48165 dllFile=\`${D}renameScript ${D}outimpFile\`
48166 fi
48167
48168 if [ ${D}do_backup -ne 0 ] ; then
48169 if [ -f ${D}arcFile ] ; then
48170 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48171 fi
48172 if [ -f ${D}arcFile2 ] ; then
48173 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48174 fi
48175 fi
48176
48177 # Extract public symbols from all the object files.
48178 tmpdefFile=${D}{defFile}_%
48179 rm -f ${D}tmpdefFile
48180 for file in ${D}inputFiles ; do
48181 case ${D}file in
48182 *!)
48183 ;;
48184 *)
48185 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48186 ;;
48187 esac
48188 done
48189
48190 # Create the def file.
48191 rm -f ${D}defFile
48192 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48193 dllFile="${D}{dllFile}.dll"
48194 if [ ! -z ${D}description ]; then
48195 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48196 fi
48197 echo "EXPORTS" >> ${D}defFile
48198
48199 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48200 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48201
48202 # Checks if the export is ok or not.
48203 for word in ${D}exclude_symbols; do
48204 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48205 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48206 done
48207
48208
48209 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48210 sed "=" < ${D}tmpdefFile | \\
48211 sed '
48212 N
48213 : loop
48214 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48215 t loop
48216 ' > ${D}{tmpdefFile}%
48217 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48218 else
48219 rm -f ${D}{tmpdefFile}%
48220 fi
48221 cat ${D}tmpdefFile >> ${D}defFile
48222 rm -f ${D}tmpdefFile
48223
48224 # Do linking, create implib, and apply lxlite.
48225 gccCmdl="";
48226 for file in ${D}inputFiles ; do
48227 case ${D}file in
48228 *!)
48229 ;;
48230 *)
48231 gccCmdl="${D}gccCmdl ${D}file"
48232 ;;
48233 esac
48234 done
48235 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48236 touch "${D}{outFile}.dll"
48237
48238 doCommand "emximp -o ${D}arcFile ${D}defFile"
48239 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48240 add_flags="";
48241 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48242 add_flags="-ynd"
48243 fi
48244 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48245 fi
48246 doCommand "emxomf -s -l ${D}arcFile"
48247
48248 # Successful exit.
48249 CleanUp 1
48250 exit 0
48251 EOF
48252
48253 chmod +x dllar.sh
48254 ;;
48255
48256 powerpc-apple-macos* | \
48257 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48258 *-*-sunos4* | \
48259 *-*-osf* | \
48260 *-*-dgux5* | \
48261 *-*-sysv5* | \
48262 *-pc-msdosdjgpp )
48263 ;;
48264
48265 *)
48266 esac
48267
48268 if test "x$PIC_FLAG" != "x" ; then
48269 PIC_FLAG="$PIC_FLAG -DPIC"
48270 fi
48271
48272 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48273 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48274 fi
48275 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48276 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48277 fi
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287 USE_SOVERSION=0
48288 USE_SOVERLINUX=0
48289 USE_SOVERSOLARIS=0
48290 USE_SOVERCYGWIN=0
48291 USE_SOSYMLINKS=0
48292 USE_MACVERSION=0
48293 SONAME_FLAG=
48294
48295 case "${BAKEFILE_HOST}" in
48296 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48297 SONAME_FLAG="-Wl,-soname,"
48298 USE_SOVERSION=1
48299 USE_SOVERLINUX=1
48300 USE_SOSYMLINKS=1
48301 ;;
48302
48303 *-*-solaris2* )
48304 SONAME_FLAG="-h "
48305 USE_SOVERSION=1
48306 USE_SOVERSOLARIS=1
48307 USE_SOSYMLINKS=1
48308 ;;
48309
48310 *-*-darwin* )
48311 USE_MACVERSION=1
48312 USE_SOVERSION=1
48313 USE_SOSYMLINKS=1
48314 ;;
48315
48316 *-*-cygwin* )
48317 USE_SOVERSION=1
48318 USE_SOVERCYGWIN=1
48319 ;;
48320 esac
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48332 if test "${enable_dependency_tracking+set}" = set; then
48333 enableval="$enable_dependency_tracking"
48334 bk_use_trackdeps="$enableval"
48335 fi;
48336
48337 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48338 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48339
48340 if test "x$bk_use_trackdeps" = "xno" ; then
48341 DEPS_TRACKING=0
48342 echo "$as_me:$LINENO: result: disabled" >&5
48343 echo "${ECHO_T}disabled" >&6
48344 else
48345 DEPS_TRACKING=1
48346
48347 if test "x$GCC" = "xyes"; then
48348 DEPSMODE=gcc
48349 case "${BAKEFILE_HOST}" in
48350 *-*-darwin* )
48351 DEPSFLAG="-no-cpp-precomp -MMD"
48352 ;;
48353 * )
48354 DEPSFLAG="-MMD"
48355 ;;
48356 esac
48357 echo "$as_me:$LINENO: result: gcc" >&5
48358 echo "${ECHO_T}gcc" >&6
48359 elif test "x$MWCC" = "xyes"; then
48360 DEPSMODE=mwcc
48361 DEPSFLAG="-MM"
48362 echo "$as_me:$LINENO: result: mwcc" >&5
48363 echo "${ECHO_T}mwcc" >&6
48364 elif test "x$SUNCC" = "xyes"; then
48365 DEPSMODE=unixcc
48366 DEPSFLAG="-xM1"
48367 echo "$as_me:$LINENO: result: Sun cc" >&5
48368 echo "${ECHO_T}Sun cc" >&6
48369 elif test "x$SGICC" = "xyes"; then
48370 DEPSMODE=unixcc
48371 DEPSFLAG="-M"
48372 echo "$as_me:$LINENO: result: SGI cc" >&5
48373 echo "${ECHO_T}SGI cc" >&6
48374 elif test "x$HPCC" = "xyes"; then
48375 DEPSMODE=unixcc
48376 DEPSFLAG="+make"
48377 echo "$as_me:$LINENO: result: HP cc" >&5
48378 echo "${ECHO_T}HP cc" >&6
48379 elif test "x$COMPAQCC" = "xyes"; then
48380 DEPSMODE=gcc
48381 DEPSFLAG="-MD"
48382 echo "$as_me:$LINENO: result: Compaq cc" >&5
48383 echo "${ECHO_T}Compaq cc" >&6
48384 else
48385 DEPS_TRACKING=0
48386 echo "$as_me:$LINENO: result: none" >&5
48387 echo "${ECHO_T}none" >&6
48388 fi
48389
48390 if test $DEPS_TRACKING = 1 ; then
48391
48392 D='$'
48393 cat <<EOF >bk-deps
48394 #!/bin/sh
48395
48396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48397 # script. It is used to track C/C++ files dependencies in portable way.
48398 #
48399 # Permission is given to use this file in any way.
48400
48401 DEPSMODE=${DEPSMODE}
48402 DEPSDIR=.deps
48403 DEPSFLAG="${DEPSFLAG}"
48404
48405 mkdir -p ${D}DEPSDIR
48406
48407 if test ${D}DEPSMODE = gcc ; then
48408 ${D}* ${D}{DEPSFLAG}
48409 status=${D}?
48410 if test ${D}{status} != 0 ; then
48411 exit ${D}{status}
48412 fi
48413 # move created file to the location we want it in:
48414 while test ${D}# -gt 0; do
48415 case "${D}1" in
48416 -o )
48417 shift
48418 objfile=${D}1
48419 ;;
48420 -* )
48421 ;;
48422 * )
48423 srcfile=${D}1
48424 ;;
48425 esac
48426 shift
48427 done
48428 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48429 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48430 if test -f ${D}depfile ; then
48431 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48432 rm -f ${D}depfile
48433 else
48434 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48435 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48436 if test ! -f ${D}depfile ; then
48437 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48438 depfile="${D}objfile.d"
48439 fi
48440 if test -f ${D}depfile ; then
48441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48442 rm -f ${D}depfile
48443 fi
48444 fi
48445 exit 0
48446 elif test ${D}DEPSMODE = mwcc ; then
48447 ${D}* || exit ${D}?
48448 # Run mwcc again with -MM and redirect into the dep file we want
48449 # NOTE: We can't use shift here because we need ${D}* to be valid
48450 prevarg=
48451 for arg in ${D}* ; do
48452 if test "${D}prevarg" = "-o"; then
48453 objfile=${D}arg
48454 else
48455 case "${D}arg" in
48456 -* )
48457 ;;
48458 * )
48459 srcfile=${D}arg
48460 ;;
48461 esac
48462 fi
48463 prevarg="${D}arg"
48464 done
48465 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48466 exit 0
48467 elif test ${D}DEPSMODE = unixcc; then
48468 ${D}* || exit ${D}?
48469 # Run compiler again with deps flag and redirect into the dep file.
48470 # It doesn't work if the '-o FILE' option is used, but without it the
48471 # dependency file will contain the wrong name for the object. So it is
48472 # removed from the command line, and the dep file is fixed with sed.
48473 cmd=""
48474 while test ${D}# -gt 0; do
48475 case "${D}1" in
48476 -o )
48477 shift
48478 objfile=${D}1
48479 ;;
48480 * )
48481 eval arg${D}#=\\${D}1
48482 cmd="${D}cmd \\${D}arg${D}#"
48483 ;;
48484 esac
48485 shift
48486 done
48487 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48488 exit 0
48489 else
48490 ${D}*
48491 exit ${D}?
48492 fi
48493 EOF
48494
48495 chmod +x bk-deps
48496 fi
48497 fi
48498
48499
48500
48501
48502 case ${BAKEFILE_HOST} in
48503 *-*-cygwin* | *-*-mingw32* )
48504 if test -n "$ac_tool_prefix"; then
48505 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48506 set dummy ${ac_tool_prefix}windres; ac_word=$2
48507 echo "$as_me:$LINENO: checking for $ac_word" >&5
48508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48509 if test "${ac_cv_prog_WINDRES+set}" = set; then
48510 echo $ECHO_N "(cached) $ECHO_C" >&6
48511 else
48512 if test -n "$WINDRES"; then
48513 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48514 else
48515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48516 for as_dir in $PATH
48517 do
48518 IFS=$as_save_IFS
48519 test -z "$as_dir" && as_dir=.
48520 for ac_exec_ext in '' $ac_executable_extensions; do
48521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48522 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48524 break 2
48525 fi
48526 done
48527 done
48528
48529 fi
48530 fi
48531 WINDRES=$ac_cv_prog_WINDRES
48532 if test -n "$WINDRES"; then
48533 echo "$as_me:$LINENO: result: $WINDRES" >&5
48534 echo "${ECHO_T}$WINDRES" >&6
48535 else
48536 echo "$as_me:$LINENO: result: no" >&5
48537 echo "${ECHO_T}no" >&6
48538 fi
48539
48540 fi
48541 if test -z "$ac_cv_prog_WINDRES"; then
48542 ac_ct_WINDRES=$WINDRES
48543 # Extract the first word of "windres", so it can be a program name with args.
48544 set dummy windres; ac_word=$2
48545 echo "$as_me:$LINENO: checking for $ac_word" >&5
48546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48547 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48548 echo $ECHO_N "(cached) $ECHO_C" >&6
48549 else
48550 if test -n "$ac_ct_WINDRES"; then
48551 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48552 else
48553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48554 for as_dir in $PATH
48555 do
48556 IFS=$as_save_IFS
48557 test -z "$as_dir" && as_dir=.
48558 for ac_exec_ext in '' $ac_executable_extensions; do
48559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48560 ac_cv_prog_ac_ct_WINDRES="windres"
48561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48562 break 2
48563 fi
48564 done
48565 done
48566
48567 fi
48568 fi
48569 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48570 if test -n "$ac_ct_WINDRES"; then
48571 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48572 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48573 else
48574 echo "$as_me:$LINENO: result: no" >&5
48575 echo "${ECHO_T}no" >&6
48576 fi
48577
48578 WINDRES=$ac_ct_WINDRES
48579 else
48580 WINDRES="$ac_cv_prog_WINDRES"
48581 fi
48582
48583 ;;
48584
48585 *-*-darwin* | powerpc-apple-macos* )
48586 # Extract the first word of "Rez", so it can be a program name with args.
48587 set dummy Rez; ac_word=$2
48588 echo "$as_me:$LINENO: checking for $ac_word" >&5
48589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48590 if test "${ac_cv_prog_REZ+set}" = set; then
48591 echo $ECHO_N "(cached) $ECHO_C" >&6
48592 else
48593 if test -n "$REZ"; then
48594 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48595 else
48596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48597 for as_dir in $PATH
48598 do
48599 IFS=$as_save_IFS
48600 test -z "$as_dir" && as_dir=.
48601 for ac_exec_ext in '' $ac_executable_extensions; do
48602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48603 ac_cv_prog_REZ="Rez"
48604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48605 break 2
48606 fi
48607 done
48608 done
48609
48610 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48611 fi
48612 fi
48613 REZ=$ac_cv_prog_REZ
48614 if test -n "$REZ"; then
48615 echo "$as_me:$LINENO: result: $REZ" >&5
48616 echo "${ECHO_T}$REZ" >&6
48617 else
48618 echo "$as_me:$LINENO: result: no" >&5
48619 echo "${ECHO_T}no" >&6
48620 fi
48621
48622 # Extract the first word of "SetFile", so it can be a program name with args.
48623 set dummy SetFile; ac_word=$2
48624 echo "$as_me:$LINENO: checking for $ac_word" >&5
48625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48626 if test "${ac_cv_prog_SETFILE+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48628 else
48629 if test -n "$SETFILE"; then
48630 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48631 else
48632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48633 for as_dir in $PATH
48634 do
48635 IFS=$as_save_IFS
48636 test -z "$as_dir" && as_dir=.
48637 for ac_exec_ext in '' $ac_executable_extensions; do
48638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48639 ac_cv_prog_SETFILE="SetFile"
48640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48641 break 2
48642 fi
48643 done
48644 done
48645
48646 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48647 fi
48648 fi
48649 SETFILE=$ac_cv_prog_SETFILE
48650 if test -n "$SETFILE"; then
48651 echo "$as_me:$LINENO: result: $SETFILE" >&5
48652 echo "${ECHO_T}$SETFILE" >&6
48653 else
48654 echo "$as_me:$LINENO: result: no" >&5
48655 echo "${ECHO_T}no" >&6
48656 fi
48657
48658 ;;
48659 esac
48660
48661
48662
48663
48664
48665
48666 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48667
48668
48669 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48670
48671
48672
48673 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48674 if test "${enable_precomp_headers+set}" = set; then
48675 enableval="$enable_precomp_headers"
48676 bk_use_pch="$enableval"
48677 fi;
48678
48679 GCC_PCH=0
48680 ICC_PCH=0
48681 USE_PCH=0
48682
48683 case ${BAKEFILE_HOST} in
48684 *-*-cygwin* )
48685 bk_use_pch="no"
48686 ;;
48687 esac
48688
48689 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48690 if test "x$GCC" = "xyes"; then
48691 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48692 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48693 cat >conftest.$ac_ext <<_ACEOF
48694 /* confdefs.h. */
48695 _ACEOF
48696 cat confdefs.h >>conftest.$ac_ext
48697 cat >>conftest.$ac_ext <<_ACEOF
48698 /* end confdefs.h. */
48699
48700 int
48701 main ()
48702 {
48703
48704 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48705 There is no PCH support
48706 #endif
48707 #if (__GNUC__ < 3)
48708 There is no PCH support
48709 #endif
48710 #if (__GNUC__ == 3) && \
48711 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48712 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48713 ( defined(__INTEL_COMPILER) )
48714 There is no PCH support
48715 #endif
48716
48717 ;
48718 return 0;
48719 }
48720 _ACEOF
48721 rm -f conftest.$ac_objext
48722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48723 (eval $ac_compile) 2>conftest.er1
48724 ac_status=$?
48725 grep -v '^ *+' conftest.er1 >conftest.err
48726 rm -f conftest.er1
48727 cat conftest.err >&5
48728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48729 (exit $ac_status); } &&
48730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48732 (eval $ac_try) 2>&5
48733 ac_status=$?
48734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48735 (exit $ac_status); }; } &&
48736 { ac_try='test -s conftest.$ac_objext'
48737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48738 (eval $ac_try) 2>&5
48739 ac_status=$?
48740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48741 (exit $ac_status); }; }; then
48742
48743 echo "$as_me:$LINENO: result: yes" >&5
48744 echo "${ECHO_T}yes" >&6
48745 GCC_PCH=1
48746
48747 else
48748 echo "$as_me: failed program was:" >&5
48749 sed 's/^/| /' conftest.$ac_ext >&5
48750
48751
48752 cat >conftest.$ac_ext <<_ACEOF
48753 /* confdefs.h. */
48754 _ACEOF
48755 cat confdefs.h >>conftest.$ac_ext
48756 cat >>conftest.$ac_ext <<_ACEOF
48757 /* end confdefs.h. */
48758
48759 int
48760 main ()
48761 {
48762
48763 #if !defined(__INTEL_COMPILER) || \
48764 (__INTEL_COMPILER < 800)
48765 There is no PCH support
48766 #endif
48767
48768 ;
48769 return 0;
48770 }
48771 _ACEOF
48772 rm -f conftest.$ac_objext
48773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48774 (eval $ac_compile) 2>conftest.er1
48775 ac_status=$?
48776 grep -v '^ *+' conftest.er1 >conftest.err
48777 rm -f conftest.er1
48778 cat conftest.err >&5
48779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48780 (exit $ac_status); } &&
48781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48783 (eval $ac_try) 2>&5
48784 ac_status=$?
48785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48786 (exit $ac_status); }; } &&
48787 { ac_try='test -s conftest.$ac_objext'
48788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48789 (eval $ac_try) 2>&5
48790 ac_status=$?
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); }; }; then
48793
48794 echo "$as_me:$LINENO: result: yes" >&5
48795 echo "${ECHO_T}yes" >&6
48796 ICC_PCH=1
48797
48798 else
48799 echo "$as_me: failed program was:" >&5
48800 sed 's/^/| /' conftest.$ac_ext >&5
48801
48802
48803 echo "$as_me:$LINENO: result: no" >&5
48804 echo "${ECHO_T}no" >&6
48805
48806 fi
48807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48808
48809 fi
48810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48811 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48812 USE_PCH=1
48813
48814 D='$'
48815 cat <<EOF >bk-make-pch
48816 #!/bin/sh
48817
48818 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48819 # script. It is used to generated precompiled headers.
48820 #
48821 # Permission is given to use this file in any way.
48822
48823 outfile="${D}{1}"
48824 header="${D}{2}"
48825 shift
48826 shift
48827
48828 compiler=""
48829 headerfile=""
48830
48831 while test ${D}{#} -gt 0; do
48832 add_to_cmdline=1
48833 case "${D}{1}" in
48834 -I* )
48835 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48836 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48837 headerfile="${D}{incdir}/${D}{header}"
48838 fi
48839 ;;
48840 -use-pch|-use_pch )
48841 shift
48842 add_to_cmdline=0
48843 ;;
48844 esac
48845 if test ${D}add_to_cmdline = 1 ; then
48846 compiler="${D}{compiler} ${D}{1}"
48847 fi
48848 shift
48849 done
48850
48851 if test "x${D}{headerfile}" = "x" ; then
48852 echo "error: can't find header ${D}{header} in include paths" >&2
48853 else
48854 if test -f ${D}{outfile} ; then
48855 rm -f ${D}{outfile}
48856 else
48857 mkdir -p \`dirname ${D}{outfile}\`
48858 fi
48859 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48860 mkdir -p .deps
48861 if test "x${GCC_PCH}" = "x1" ; then
48862 # can do this because gcc is >= 3.4:
48863 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48864 elif test "x${ICC_PCH}" = "x1" ; then
48865 filename=pch_gen-${D}${D}
48866 file=${D}{filename}.c
48867 dfile=${D}{filename}.d
48868 cat > ${D}file <<EOT
48869 #include "${D}header"
48870 EOT
48871 # using -MF icc complains about differing command lines in creation/use
48872 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48873 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48874 rm -f ${D}file ${D}dfile ${D}{filename}.o
48875 fi
48876 exit ${D}{?}
48877 fi
48878 EOF
48879
48880 chmod +x bk-make-pch
48881 fi
48882 fi
48883 fi
48884
48885
48886
48887
48888 COND_BUILD_DEBUG="#"
48889 if test "x$BUILD" = "xdebug" ; then
48890 COND_BUILD_DEBUG=""
48891 fi
48892
48893 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48894 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48895 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48896 fi
48897
48898 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48899 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48900 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48901 fi
48902
48903 COND_BUILD_DEBUG_UNICODE_0="#"
48904 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48905 COND_BUILD_DEBUG_UNICODE_0=""
48906 fi
48907
48908 COND_BUILD_DEBUG_UNICODE_1="#"
48909 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48910 COND_BUILD_DEBUG_UNICODE_1=""
48911 fi
48912
48913 COND_BUILD_RELEASE="#"
48914 if test "x$BUILD" = "xrelease" ; then
48915 COND_BUILD_RELEASE=""
48916 fi
48917
48918 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48919 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48920 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48921 fi
48922
48923 COND_BUILD_RELEASE_UNICODE_0="#"
48924 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48925 COND_BUILD_RELEASE_UNICODE_0=""
48926 fi
48927
48928 COND_BUILD_RELEASE_UNICODE_1="#"
48929 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48930 COND_BUILD_RELEASE_UNICODE_1=""
48931 fi
48932
48933 COND_DEBUG_FLAG_1="#"
48934 if test "x$DEBUG_FLAG" = "x1" ; then
48935 COND_DEBUG_FLAG_1=""
48936 fi
48937
48938 COND_DEBUG_INFO_0="#"
48939 if test "x$DEBUG_INFO" = "x0" ; then
48940 COND_DEBUG_INFO_0=""
48941 fi
48942
48943 COND_DEBUG_INFO_1="#"
48944 if test "x$DEBUG_INFO" = "x1" ; then
48945 COND_DEBUG_INFO_1=""
48946 fi
48947
48948 COND_DEPS_TRACKING_0="#"
48949 if test "x$DEPS_TRACKING" = "x0" ; then
48950 COND_DEPS_TRACKING_0=""
48951 fi
48952
48953 COND_DEPS_TRACKING_1="#"
48954 if test "x$DEPS_TRACKING" = "x1" ; then
48955 COND_DEPS_TRACKING_1=""
48956 fi
48957
48958 COND_GCC_PCH_1="#"
48959 if test "x$GCC_PCH" = "x1" ; then
48960 COND_GCC_PCH_1=""
48961 fi
48962
48963 COND_ICC_PCH_1="#"
48964 if test "x$ICC_PCH" = "x1" ; then
48965 COND_ICC_PCH_1=""
48966 fi
48967
48968 COND_MONOLITHIC_0="#"
48969 if test "x$MONOLITHIC" = "x0" ; then
48970 COND_MONOLITHIC_0=""
48971 fi
48972
48973 COND_MONOLITHIC_0_SHARED_0="#"
48974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48975 COND_MONOLITHIC_0_SHARED_0=""
48976 fi
48977
48978 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48980 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48981 fi
48982
48983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48985 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48986 fi
48987
48988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48990 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48991 fi
48992
48993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48995 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48996 fi
48997
48998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49001 fi
49002
49003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49006 fi
49007
49008 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49010 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49011 fi
49012
49013 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49015 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49016 fi
49017
49018 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49020 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49021 fi
49022
49023 COND_MONOLITHIC_0_SHARED_1="#"
49024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49025 COND_MONOLITHIC_0_SHARED_1=""
49026 fi
49027
49028 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49030 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49031 fi
49032
49033 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49035 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49036 fi
49037
49038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49040 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49041 fi
49042
49043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49045 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49046 fi
49047
49048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49050 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49051 fi
49052
49053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49056 fi
49057
49058 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49060 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49061 fi
49062
49063 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49065 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49066 fi
49067
49068 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49070 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49071 fi
49072
49073 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49074 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49075 COND_MONOLITHIC_0_USE_MEDIA_1=""
49076 fi
49077
49078 COND_MONOLITHIC_0_USE_ODBC_1="#"
49079 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49080 COND_MONOLITHIC_0_USE_ODBC_1=""
49081 fi
49082
49083 COND_MONOLITHIC_1="#"
49084 if test "x$MONOLITHIC" = "x1" ; then
49085 COND_MONOLITHIC_1=""
49086 fi
49087
49088 COND_MONOLITHIC_1_SHARED_0="#"
49089 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49090 COND_MONOLITHIC_1_SHARED_0=""
49091 fi
49092
49093 COND_MONOLITHIC_1_SHARED_1="#"
49094 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49095 COND_MONOLITHIC_1_SHARED_1=""
49096 fi
49097
49098 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49099 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49100 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49101 fi
49102
49103 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49104 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49105 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49106 fi
49107
49108 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49109 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49110 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49111 fi
49112
49113 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49114 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49115 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49116 fi
49117
49118 COND_PLATFORM_MACOSX_1="#"
49119 if test "x$PLATFORM_MACOSX" = "x1" ; then
49120 COND_PLATFORM_MACOSX_1=""
49121 fi
49122
49123 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49125 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49126 fi
49127
49128 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49130 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49131 fi
49132
49133 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49135 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49136 fi
49137
49138 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49139 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49140 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49141 fi
49142
49143 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49144 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49145 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49146 fi
49147
49148 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49149 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49150 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49151 fi
49152
49153 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49154 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49155 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49156 fi
49157
49158 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49159 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49160 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49161 fi
49162
49163 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49164 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49165 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49166 fi
49167
49168 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49169 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49170 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49171 fi
49172
49173 COND_PLATFORM_MACOS_1="#"
49174 if test "x$PLATFORM_MACOS" = "x1" ; then
49175 COND_PLATFORM_MACOS_1=""
49176 fi
49177
49178 COND_PLATFORM_MAC_1="#"
49179 if test "x$PLATFORM_MAC" = "x1" ; then
49180 COND_PLATFORM_MAC_1=""
49181 fi
49182
49183 COND_PLATFORM_MSDOS_0="#"
49184 if test "x$PLATFORM_MSDOS" = "x0" ; then
49185 COND_PLATFORM_MSDOS_0=""
49186 fi
49187
49188 COND_PLATFORM_MSDOS_1="#"
49189 if test "x$PLATFORM_MSDOS" = "x1" ; then
49190 COND_PLATFORM_MSDOS_1=""
49191 fi
49192
49193 COND_PLATFORM_OS2_1="#"
49194 if test "x$PLATFORM_OS2" = "x1" ; then
49195 COND_PLATFORM_OS2_1=""
49196 fi
49197
49198 COND_PLATFORM_UNIX_0="#"
49199 if test "x$PLATFORM_UNIX" = "x0" ; then
49200 COND_PLATFORM_UNIX_0=""
49201 fi
49202
49203 COND_PLATFORM_UNIX_1="#"
49204 if test "x$PLATFORM_UNIX" = "x1" ; then
49205 COND_PLATFORM_UNIX_1=""
49206 fi
49207
49208 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49209 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49210 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49211 fi
49212
49213 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49214 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49216 fi
49217
49218 COND_PLATFORM_WIN32_0="#"
49219 if test "x$PLATFORM_WIN32" = "x0" ; then
49220 COND_PLATFORM_WIN32_0=""
49221 fi
49222
49223 COND_PLATFORM_WIN32_1="#"
49224 if test "x$PLATFORM_WIN32" = "x1" ; then
49225 COND_PLATFORM_WIN32_1=""
49226 fi
49227
49228 COND_SHARED_0="#"
49229 if test "x$SHARED" = "x0" ; then
49230 COND_SHARED_0=""
49231 fi
49232
49233 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49234 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49235 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49236 fi
49237
49238 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49239 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49240 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49241 fi
49242
49243 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49244 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49245 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49246 fi
49247
49248 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49249 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49250 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49251 fi
49252
49253 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49254 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49255 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49256 fi
49257
49258 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49259 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49261 fi
49262
49263 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49264 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49266 fi
49267
49268 COND_SHARED_0_USE_XRC_1="#"
49269 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49270 COND_SHARED_0_USE_XRC_1=""
49271 fi
49272
49273 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49274 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49275 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49276 fi
49277
49278 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49279 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49280 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49281 fi
49282
49283 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49284 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49285 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49286 fi
49287
49288 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49289 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49290 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49291 fi
49292
49293 COND_SHARED_1="#"
49294 if test "x$SHARED" = "x1" ; then
49295 COND_SHARED_1=""
49296 fi
49297
49298 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49299 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49300 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49301 fi
49302
49303 COND_SHARED_1_USE_XRC_1="#"
49304 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49305 COND_SHARED_1_USE_XRC_1=""
49306 fi
49307
49308 COND_TOOLKIT_="#"
49309 if test "x$TOOLKIT" = "x" ; then
49310 COND_TOOLKIT_=""
49311 fi
49312
49313 COND_TOOLKIT_COCOA="#"
49314 if test "x$TOOLKIT" = "xCOCOA" ; then
49315 COND_TOOLKIT_COCOA=""
49316 fi
49317
49318 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49319 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49320 COND_TOOLKIT_COCOA_USE_GUI_1=""
49321 fi
49322
49323 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49324 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49325 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49326 fi
49327
49328 COND_TOOLKIT_DFB="#"
49329 if test "x$TOOLKIT" = "xDFB" ; then
49330 COND_TOOLKIT_DFB=""
49331 fi
49332
49333 COND_TOOLKIT_DFB_USE_GUI_1="#"
49334 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49335 COND_TOOLKIT_DFB_USE_GUI_1=""
49336 fi
49337
49338 COND_TOOLKIT_GTK="#"
49339 if test "x$TOOLKIT" = "xGTK" ; then
49340 COND_TOOLKIT_GTK=""
49341 fi
49342
49343 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49346 fi
49347
49348 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49351 fi
49352
49353 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49354 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49356 fi
49357
49358 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49359 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49360 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49361 fi
49362
49363 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49364 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49365 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49366 fi
49367
49368 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49369 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49370 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49371 fi
49372
49373 COND_TOOLKIT_GTK_USE_GUI_1="#"
49374 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49375 COND_TOOLKIT_GTK_USE_GUI_1=""
49376 fi
49377
49378 COND_TOOLKIT_MAC="#"
49379 if test "x$TOOLKIT" = "xMAC" ; then
49380 COND_TOOLKIT_MAC=""
49381 fi
49382
49383 COND_TOOLKIT_MAC_USE_GUI_1="#"
49384 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49385 COND_TOOLKIT_MAC_USE_GUI_1=""
49386 fi
49387
49388 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49389 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49390 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49391 fi
49392
49393 COND_TOOLKIT_MGL="#"
49394 if test "x$TOOLKIT" = "xMGL" ; then
49395 COND_TOOLKIT_MGL=""
49396 fi
49397
49398 COND_TOOLKIT_MGL_USE_GUI_1="#"
49399 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49400 COND_TOOLKIT_MGL_USE_GUI_1=""
49401 fi
49402
49403 COND_TOOLKIT_MOTIF="#"
49404 if test "x$TOOLKIT" = "xMOTIF" ; then
49405 COND_TOOLKIT_MOTIF=""
49406 fi
49407
49408 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49409 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49410 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49411 fi
49412
49413 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49414 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49415 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49416 fi
49417
49418 COND_TOOLKIT_MSW="#"
49419 if test "x$TOOLKIT" = "xMSW" ; then
49420 COND_TOOLKIT_MSW=""
49421 fi
49422
49423 COND_TOOLKIT_MSW_USE_GUI_1="#"
49424 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49425 COND_TOOLKIT_MSW_USE_GUI_1=""
49426 fi
49427
49428 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49429 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49430 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49431 fi
49432
49433 COND_TOOLKIT_MSW_WXUNIV_0="#"
49434 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49435 COND_TOOLKIT_MSW_WXUNIV_0=""
49436 fi
49437
49438 COND_TOOLKIT_PM="#"
49439 if test "x$TOOLKIT" = "xPM" ; then
49440 COND_TOOLKIT_PM=""
49441 fi
49442
49443 COND_TOOLKIT_PM_USE_GUI_1="#"
49444 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49445 COND_TOOLKIT_PM_USE_GUI_1=""
49446 fi
49447
49448 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49449 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49450 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49451 fi
49452
49453 COND_TOOLKIT_WINCE="#"
49454 if test "x$TOOLKIT" = "xWINCE" ; then
49455 COND_TOOLKIT_WINCE=""
49456 fi
49457
49458 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49459 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49460 COND_TOOLKIT_WINCE_USE_GUI_1=""
49461 fi
49462
49463 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49464 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49465 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49466 fi
49467
49468 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49469 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49470 COND_TOOLKIT_WINCE_WXUNIV_0=""
49471 fi
49472
49473 COND_TOOLKIT_X11="#"
49474 if test "x$TOOLKIT" = "xX11" ; then
49475 COND_TOOLKIT_X11=""
49476 fi
49477
49478 COND_TOOLKIT_X11_USE_GUI_1="#"
49479 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49480 COND_TOOLKIT_X11_USE_GUI_1=""
49481 fi
49482
49483 COND_UNICODE_1="#"
49484 if test "x$UNICODE" = "x1" ; then
49485 COND_UNICODE_1=""
49486 fi
49487
49488 COND_USE_EXCEPTIONS_0="#"
49489 if test "x$USE_EXCEPTIONS" = "x0" ; then
49490 COND_USE_EXCEPTIONS_0=""
49491 fi
49492
49493 COND_USE_EXCEPTIONS_1="#"
49494 if test "x$USE_EXCEPTIONS" = "x1" ; then
49495 COND_USE_EXCEPTIONS_1=""
49496 fi
49497
49498 COND_USE_GUI_0="#"
49499 if test "x$USE_GUI" = "x0" ; then
49500 COND_USE_GUI_0=""
49501 fi
49502
49503 COND_USE_GUI_1="#"
49504 if test "x$USE_GUI" = "x1" ; then
49505 COND_USE_GUI_1=""
49506 fi
49507
49508 COND_USE_GUI_1_WXUNIV_0="#"
49509 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49510 COND_USE_GUI_1_WXUNIV_0=""
49511 fi
49512
49513 COND_USE_GUI_1_WXUNIV_1="#"
49514 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49515 COND_USE_GUI_1_WXUNIV_1=""
49516 fi
49517
49518 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49520 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49521 fi
49522
49523 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49525 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49526 fi
49527
49528 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49530 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49531 fi
49532
49533 COND_USE_ODBC_1="#"
49534 if test "x$USE_ODBC" = "x1" ; then
49535 COND_USE_ODBC_1=""
49536 fi
49537
49538 COND_USE_OPENGL_1="#"
49539 if test "x$USE_OPENGL" = "x1" ; then
49540 COND_USE_OPENGL_1=""
49541 fi
49542
49543 COND_USE_PCH_1="#"
49544 if test "x$USE_PCH" = "x1" ; then
49545 COND_USE_PCH_1=""
49546 fi
49547
49548 COND_USE_PLUGINS_0="#"
49549 if test "x$USE_PLUGINS" = "x0" ; then
49550 COND_USE_PLUGINS_0=""
49551 fi
49552
49553 COND_USE_RTTI_0="#"
49554 if test "x$USE_RTTI" = "x0" ; then
49555 COND_USE_RTTI_0=""
49556 fi
49557
49558 COND_USE_RTTI_1="#"
49559 if test "x$USE_RTTI" = "x1" ; then
49560 COND_USE_RTTI_1=""
49561 fi
49562
49563 COND_USE_SOSYMLINKS_1="#"
49564 if test "x$USE_SOSYMLINKS" = "x1" ; then
49565 COND_USE_SOSYMLINKS_1=""
49566 fi
49567
49568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49571 fi
49572
49573 COND_USE_SOVERLINUX_1="#"
49574 if test "x$USE_SOVERLINUX" = "x1" ; then
49575 COND_USE_SOVERLINUX_1=""
49576 fi
49577
49578 COND_USE_SOVERSION_0="#"
49579 if test "x$USE_SOVERSION" = "x0" ; then
49580 COND_USE_SOVERSION_0=""
49581 fi
49582
49583 COND_USE_SOVERSOLARIS_1="#"
49584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49585 COND_USE_SOVERSOLARIS_1=""
49586 fi
49587
49588 COND_USE_THREADS_0="#"
49589 if test "x$USE_THREADS" = "x0" ; then
49590 COND_USE_THREADS_0=""
49591 fi
49592
49593 COND_USE_THREADS_1="#"
49594 if test "x$USE_THREADS" = "x1" ; then
49595 COND_USE_THREADS_1=""
49596 fi
49597
49598 COND_USE_XRC_1="#"
49599 if test "x$USE_XRC" = "x1" ; then
49600 COND_USE_XRC_1=""
49601 fi
49602
49603 COND_WINDOWS_IMPLIB_1="#"
49604 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49605 COND_WINDOWS_IMPLIB_1=""
49606 fi
49607
49608 COND_WITH_PLUGIN_SDL_1="#"
49609 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49610 COND_WITH_PLUGIN_SDL_1=""
49611 fi
49612
49613 COND_WXUNIV_0="#"
49614 if test "x$WXUNIV" = "x0" ; then
49615 COND_WXUNIV_0=""
49616 fi
49617
49618 COND_WXUNIV_1="#"
49619 if test "x$WXUNIV" = "x1" ; then
49620 COND_WXUNIV_1=""
49621 fi
49622
49623 COND_WXUSE_EXPAT_BUILTIN="#"
49624 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49625 COND_WXUSE_EXPAT_BUILTIN=""
49626 fi
49627
49628 COND_WXUSE_LIBJPEG_BUILTIN="#"
49629 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49630 COND_WXUSE_LIBJPEG_BUILTIN=""
49631 fi
49632
49633 COND_WXUSE_LIBPNG_BUILTIN="#"
49634 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49635 COND_WXUSE_LIBPNG_BUILTIN=""
49636 fi
49637
49638 COND_WXUSE_LIBTIFF_BUILTIN="#"
49639 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49640 COND_WXUSE_LIBTIFF_BUILTIN=""
49641 fi
49642
49643 COND_WXUSE_ODBC_BUILTIN="#"
49644 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49645 COND_WXUSE_ODBC_BUILTIN=""
49646 fi
49647
49648 COND_WXUSE_REGEX_BUILTIN="#"
49649 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49650 COND_WXUSE_REGEX_BUILTIN=""
49651 fi
49652
49653 COND_WXUSE_ZLIB_BUILTIN="#"
49654 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49655 COND_WXUSE_ZLIB_BUILTIN=""
49656 fi
49657
49658
49659
49660 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49661 { { 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
49662 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;}
49663 { (exit 1); exit 1; }; }
49664 fi
49665
49666 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49667 { { 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
49668 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;}
49669 { (exit 1); exit 1; }; }
49670 fi
49671
49672
49673
49674 if test "$wxUSE_MAC" = 1 ; then
49675 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49676 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49677 mv temp bk-deps
49678 chmod +x bk-deps
49679 fi
49680 fi
49681
49682 if test "$wxUSE_SHARED" = "yes"; then
49683
49684 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49685 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49686
49687 case "${host}" in
49688 *-pc-os2_emx | *-pc-os2-emx )
49689 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49690 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49691 cp -p ${srcdir}/src/os2/dllnames.sh .
49692 cp -p ${srcdir}/src/os2/dllar.sh .
49693 ;;
49694 esac
49695 else
49696
49697 EXE_LINKER="$CXX -o"
49698
49699 fi
49700 if test "$wxUSE_OMF" = "yes"; then
49701 case "${host}" in
49702 *-pc-os2_emx | *-pc-os2-emx )
49703 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49704 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49705 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49706 ;;
49707 esac
49708 fi
49709
49710 if test $GCC_PCH = 1 ; then
49711 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49712 fi
49713
49714 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49715
49716 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49779 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49780 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49781 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49782 echo $ECHO_N "(cached) $ECHO_C" >&6
49783 else
49784 cat >conftest.make <<\_ACEOF
49785 all:
49786 @echo 'ac_maketemp="$(MAKE)"'
49787 _ACEOF
49788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49789 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49790 if test -n "$ac_maketemp"; then
49791 eval ac_cv_prog_make_${ac_make}_set=yes
49792 else
49793 eval ac_cv_prog_make_${ac_make}_set=no
49794 fi
49795 rm -f conftest.make
49796 fi
49797 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49798 echo "$as_me:$LINENO: result: yes" >&5
49799 echo "${ECHO_T}yes" >&6
49800 SET_MAKE=
49801 else
49802 echo "$as_me:$LINENO: result: no" >&5
49803 echo "${ECHO_T}no" >&6
49804 SET_MAKE="MAKE=${MAKE-make}"
49805 fi
49806
49807
49808
49809 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49810
49811
49812 if test "$USE_WIN32" = 1; then
49813 ac_config_commands="$ac_config_commands
49814 rcdefs.h
49815 "
49816
49817 fi
49818
49819 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49820
49821
49822 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49823
49824
49825 ac_config_files="$ac_config_files version-script Makefile"
49826
49827
49828 ac_config_commands="$ac_config_commands wx-config"
49829
49830
49831
49832 if test "$wxWITH_SUBDIRS" != "no"; then
49833 if test "$wxUSE_GUI" = "yes"; then
49834 SUBDIRS="samples demos utils contrib"
49835 else SUBDIRS="samples utils"
49836 fi
49837
49838
49839
49840 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49841 if test "${with_cppunit_prefix+set}" = set; then
49842 withval="$with_cppunit_prefix"
49843 cppunit_config_prefix="$withval"
49844 else
49845 cppunit_config_prefix=""
49846 fi;
49847
49848 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49849 if test "${with_cppunit_exec_prefix+set}" = set; then
49850 withval="$with_cppunit_exec_prefix"
49851 cppunit_config_exec_prefix="$withval"
49852 else
49853 cppunit_config_exec_prefix=""
49854 fi;
49855
49856 if test x$cppunit_config_exec_prefix != x ; then
49857 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49858 if test x${CPPUNIT_CONFIG+set} != xset ; then
49859 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49860 fi
49861 fi
49862 if test x$cppunit_config_prefix != x ; then
49863 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49864 if test x${CPPUNIT_CONFIG+set} != xset ; then
49865 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49866 fi
49867 fi
49868
49869 # Extract the first word of "cppunit-config", so it can be a program name with args.
49870 set dummy cppunit-config; ac_word=$2
49871 echo "$as_me:$LINENO: checking for $ac_word" >&5
49872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49873 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49874 echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876 case $CPPUNIT_CONFIG in
49877 [\\/]* | ?:[\\/]*)
49878 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49879 ;;
49880 *)
49881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49882 for as_dir in $PATH
49883 do
49884 IFS=$as_save_IFS
49885 test -z "$as_dir" && as_dir=.
49886 for ac_exec_ext in '' $ac_executable_extensions; do
49887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49888 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49890 break 2
49891 fi
49892 done
49893 done
49894
49895 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49896 ;;
49897 esac
49898 fi
49899 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49900
49901 if test -n "$CPPUNIT_CONFIG"; then
49902 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49903 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49904 else
49905 echo "$as_me:$LINENO: result: no" >&5
49906 echo "${ECHO_T}no" >&6
49907 fi
49908
49909 cppunit_version_min=1.8.0
49910
49911 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49912 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49913 no_cppunit=""
49914 if test "$CPPUNIT_CONFIG" = "no" ; then
49915 echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6
49917 no_cppunit=yes
49918 else
49919 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49920 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49921 cppunit_version=`$CPPUNIT_CONFIG --version`
49922
49923 cppunit_major_version=`echo $cppunit_version | \
49924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49925 cppunit_minor_version=`echo $cppunit_version | \
49926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49927 cppunit_micro_version=`echo $cppunit_version | \
49928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49929
49930 cppunit_major_min=`echo $cppunit_version_min | \
49931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49932 cppunit_minor_min=`echo $cppunit_version_min | \
49933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49934 cppunit_micro_min=`echo $cppunit_version_min | \
49935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49936
49937 cppunit_version_proper=`expr \
49938 $cppunit_major_version \> $cppunit_major_min \| \
49939 $cppunit_major_version \= $cppunit_major_min \& \
49940 $cppunit_minor_version \> $cppunit_minor_min \| \
49941 $cppunit_major_version \= $cppunit_major_min \& \
49942 $cppunit_minor_version \= $cppunit_minor_min \& \
49943 $cppunit_micro_version \>= $cppunit_micro_min `
49944
49945 if test "$cppunit_version_proper" = "1" ; then
49946 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49947 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49948 else
49949 echo "$as_me:$LINENO: result: no" >&5
49950 echo "${ECHO_T}no" >&6
49951 no_cppunit=yes
49952 fi
49953 fi
49954
49955 if test "x$no_cppunit" = x ; then
49956 SUBDIRS="$SUBDIRS tests"
49957 else
49958 CPPUNIT_CFLAGS=""
49959 CPPUNIT_LIBS=""
49960 :
49961 fi
49962
49963
49964
49965
49966
49967 for subdir in `echo $SUBDIRS`; do
49968 if test -d ${srcdir}/${subdir} ; then
49969 if test "$wxUSE_GUI" = "yes"; then
49970 if test ${subdir} = "samples"; then
49971 makefiles="samples/Makefile.in $makefiles"
49972 for sample in `echo $SAMPLES_SUBDIRS`; do
49973 if test -d $srcdir/samples/$sample; then
49974 makefiles="samples/$sample/Makefile.in $makefiles"
49975 fi
49976 done
49977 else
49978 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49979 eval "disabled=\$$disabled_var"
49980 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49981 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49982 fi
49983 else if test ${subdir} = "samples"; then
49984 makefiles="samples/Makefile.in samples/console/Makefile.in"
49985 elif test ${subdir} = "utils"; then
49986 makefiles=""
49987 for util in HelpGen tex2rtf ; do
49988 if test -d $srcdir/utils/$util ; then
49989 makefiles="utils/$util/Makefile.in \
49990 utils/$util/src/Makefile.in \
49991 $makefiles"
49992 fi
49993 done
49994 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49995 fi
49996 fi
49997
49998 for mkin in $makefiles ; do
49999 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50000 ac_config_files="$ac_config_files $mk"
50001
50002 done
50003 fi
50004 done
50005 fi
50006 cat >confcache <<\_ACEOF
50007 # This file is a shell script that caches the results of configure
50008 # tests run on this system so they can be shared between configure
50009 # scripts and configure runs, see configure's option --config-cache.
50010 # It is not useful on other systems. If it contains results you don't
50011 # want to keep, you may remove or edit it.
50012 #
50013 # config.status only pays attention to the cache file if you give it
50014 # the --recheck option to rerun configure.
50015 #
50016 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50017 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50018 # following values.
50019
50020 _ACEOF
50021
50022 # The following way of writing the cache mishandles newlines in values,
50023 # but we know of no workaround that is simple, portable, and efficient.
50024 # So, don't put newlines in cache variables' values.
50025 # Ultrix sh set writes to stderr and can't be redirected directly,
50026 # and sets the high bit in the cache file unless we assign to the vars.
50027 {
50028 (set) 2>&1 |
50029 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50030 *ac_space=\ *)
50031 # `set' does not quote correctly, so add quotes (double-quote
50032 # substitution turns \\\\ into \\, and sed turns \\ into \).
50033 sed -n \
50034 "s/'/'\\\\''/g;
50035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50036 ;;
50037 *)
50038 # `set' quotes correctly as required by POSIX, so do not add quotes.
50039 sed -n \
50040 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50041 ;;
50042 esac;
50043 } |
50044 sed '
50045 t clear
50046 : clear
50047 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50048 t end
50049 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50050 : end' >>confcache
50051 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50052 if test -w $cache_file; then
50053 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50054 cat confcache >$cache_file
50055 else
50056 echo "not updating unwritable cache $cache_file"
50057 fi
50058 fi
50059 rm -f confcache
50060
50061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50062 # Let make expand exec_prefix.
50063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50064
50065 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50066 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50067 # trailing colons and then remove the whole line if VPATH becomes empty
50068 # (actually we leave an empty line to preserve line numbers).
50069 if test "x$srcdir" = x.; then
50070 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50071 s/:*\$(srcdir):*/:/;
50072 s/:*\${srcdir}:*/:/;
50073 s/:*@srcdir@:*/:/;
50074 s/^\([^=]*=[ ]*\):*/\1/;
50075 s/:*$//;
50076 s/^[^=]*=[ ]*$//;
50077 }'
50078 fi
50079
50080 DEFS=-DHAVE_CONFIG_H
50081
50082 ac_libobjs=
50083 ac_ltlibobjs=
50084 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50085 # 1. Remove the extension, and $U if already installed.
50086 ac_i=`echo "$ac_i" |
50087 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50088 # 2. Add them.
50089 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50090 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50091 done
50092 LIBOBJS=$ac_libobjs
50093
50094 LTLIBOBJS=$ac_ltlibobjs
50095
50096
50097
50098 : ${CONFIG_STATUS=./config.status}
50099 ac_clean_files_save=$ac_clean_files
50100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50103 cat >$CONFIG_STATUS <<_ACEOF
50104 #! $SHELL
50105 # Generated by $as_me.
50106 # Run this file to recreate the current configuration.
50107 # Compiler output produced by configure, useful for debugging
50108 # configure, is in config.log if it exists.
50109
50110 debug=false
50111 ac_cs_recheck=false
50112 ac_cs_silent=false
50113 SHELL=\${CONFIG_SHELL-$SHELL}
50114 _ACEOF
50115
50116 cat >>$CONFIG_STATUS <<\_ACEOF
50117 ## --------------------- ##
50118 ## M4sh Initialization. ##
50119 ## --------------------- ##
50120
50121 # Be Bourne compatible
50122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50123 emulate sh
50124 NULLCMD=:
50125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50126 # is contrary to our usage. Disable this feature.
50127 alias -g '${1+"$@"}'='"$@"'
50128 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50129 set -o posix
50130 fi
50131 DUALCASE=1; export DUALCASE # for MKS sh
50132
50133 # Support unset when possible.
50134 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50135 as_unset=unset
50136 else
50137 as_unset=false
50138 fi
50139
50140
50141 # Work around bugs in pre-3.0 UWIN ksh.
50142 $as_unset ENV MAIL MAILPATH
50143 PS1='$ '
50144 PS2='> '
50145 PS4='+ '
50146
50147 # NLS nuisances.
50148 for as_var in \
50149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50151 LC_TELEPHONE LC_TIME
50152 do
50153 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50154 eval $as_var=C; export $as_var
50155 else
50156 $as_unset $as_var
50157 fi
50158 done
50159
50160 # Required to use basename.
50161 if expr a : '\(a\)' >/dev/null 2>&1; then
50162 as_expr=expr
50163 else
50164 as_expr=false
50165 fi
50166
50167 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50168 as_basename=basename
50169 else
50170 as_basename=false
50171 fi
50172
50173
50174 # Name of the executable.
50175 as_me=`$as_basename "$0" ||
50176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50177 X"$0" : 'X\(//\)$' \| \
50178 X"$0" : 'X\(/\)$' \| \
50179 . : '\(.\)' 2>/dev/null ||
50180 echo X/"$0" |
50181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50182 /^X\/\(\/\/\)$/{ s//\1/; q; }
50183 /^X\/\(\/\).*/{ s//\1/; q; }
50184 s/.*/./; q'`
50185
50186
50187 # PATH needs CR, and LINENO needs CR and PATH.
50188 # Avoid depending upon Character Ranges.
50189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50192 as_cr_digits='0123456789'
50193 as_cr_alnum=$as_cr_Letters$as_cr_digits
50194
50195 # The user is always right.
50196 if test "${PATH_SEPARATOR+set}" != set; then
50197 echo "#! /bin/sh" >conf$$.sh
50198 echo "exit 0" >>conf$$.sh
50199 chmod +x conf$$.sh
50200 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50201 PATH_SEPARATOR=';'
50202 else
50203 PATH_SEPARATOR=:
50204 fi
50205 rm -f conf$$.sh
50206 fi
50207
50208
50209 as_lineno_1=$LINENO
50210 as_lineno_2=$LINENO
50211 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50212 test "x$as_lineno_1" != "x$as_lineno_2" &&
50213 test "x$as_lineno_3" = "x$as_lineno_2" || {
50214 # Find who we are. Look in the path if we contain no path at all
50215 # relative or not.
50216 case $0 in
50217 *[\\/]* ) as_myself=$0 ;;
50218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50219 for as_dir in $PATH
50220 do
50221 IFS=$as_save_IFS
50222 test -z "$as_dir" && as_dir=.
50223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50224 done
50225
50226 ;;
50227 esac
50228 # We did not find ourselves, most probably we were run as `sh COMMAND'
50229 # in which case we are not to be found in the path.
50230 if test "x$as_myself" = x; then
50231 as_myself=$0
50232 fi
50233 if test ! -f "$as_myself"; then
50234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50236 { (exit 1); exit 1; }; }
50237 fi
50238 case $CONFIG_SHELL in
50239 '')
50240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50242 do
50243 IFS=$as_save_IFS
50244 test -z "$as_dir" && as_dir=.
50245 for as_base in sh bash ksh sh5; do
50246 case $as_dir in
50247 /*)
50248 if ("$as_dir/$as_base" -c '
50249 as_lineno_1=$LINENO
50250 as_lineno_2=$LINENO
50251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50252 test "x$as_lineno_1" != "x$as_lineno_2" &&
50253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50254 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50255 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50256 CONFIG_SHELL=$as_dir/$as_base
50257 export CONFIG_SHELL
50258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50259 fi;;
50260 esac
50261 done
50262 done
50263 ;;
50264 esac
50265
50266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50267 # uniformly replaced by the line number. The first 'sed' inserts a
50268 # line-number line before each line; the second 'sed' does the real
50269 # work. The second script uses 'N' to pair each line-number line
50270 # with the numbered line, and appends trailing '-' during
50271 # substitution so that $LINENO is not a special case at line end.
50272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50274 sed '=' <$as_myself |
50275 sed '
50276 N
50277 s,$,-,
50278 : loop
50279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50280 t loop
50281 s,-$,,
50282 s,^['$as_cr_digits']*\n,,
50283 ' >$as_me.lineno &&
50284 chmod +x $as_me.lineno ||
50285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50287 { (exit 1); exit 1; }; }
50288
50289 # Don't try to exec as it changes $[0], causing all sort of problems
50290 # (the dirname of $[0] is not the place where we might find the
50291 # original and so on. Autoconf is especially sensible to this).
50292 . ./$as_me.lineno
50293 # Exit status is that of the last command.
50294 exit
50295 }
50296
50297
50298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50299 *c*,-n*) ECHO_N= ECHO_C='
50300 ' ECHO_T=' ' ;;
50301 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50302 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50303 esac
50304
50305 if expr a : '\(a\)' >/dev/null 2>&1; then
50306 as_expr=expr
50307 else
50308 as_expr=false
50309 fi
50310
50311 rm -f conf$$ conf$$.exe conf$$.file
50312 echo >conf$$.file
50313 if ln -s conf$$.file conf$$ 2>/dev/null; then
50314 # We could just check for DJGPP; but this test a) works b) is more generic
50315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50316 if test -f conf$$.exe; then
50317 # Don't use ln at all; we don't have any links
50318 as_ln_s='cp -p'
50319 else
50320 as_ln_s='ln -s'
50321 fi
50322 elif ln conf$$.file conf$$ 2>/dev/null; then
50323 as_ln_s=ln
50324 else
50325 as_ln_s='cp -p'
50326 fi
50327 rm -f conf$$ conf$$.exe conf$$.file
50328
50329 if mkdir -p . 2>/dev/null; then
50330 as_mkdir_p=:
50331 else
50332 test -d ./-p && rmdir ./-p
50333 as_mkdir_p=false
50334 fi
50335
50336 as_executable_p="test -f"
50337
50338 # Sed expression to map a string onto a valid CPP name.
50339 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50340
50341 # Sed expression to map a string onto a valid variable name.
50342 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50343
50344
50345 # IFS
50346 # We need space, tab and new line, in precisely that order.
50347 as_nl='
50348 '
50349 IFS=" $as_nl"
50350
50351 # CDPATH.
50352 $as_unset CDPATH
50353
50354 exec 6>&1
50355
50356 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50357 # report actual input values of CONFIG_FILES etc. instead of their
50358 # values after options handling. Logging --version etc. is OK.
50359 exec 5>>config.log
50360 {
50361 echo
50362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50363 ## Running $as_me. ##
50364 _ASBOX
50365 } >&5
50366 cat >&5 <<_CSEOF
50367
50368 This file was extended by wxWidgets $as_me 2.7.1, which was
50369 generated by GNU Autoconf 2.59. Invocation command line was
50370
50371 CONFIG_FILES = $CONFIG_FILES
50372 CONFIG_HEADERS = $CONFIG_HEADERS
50373 CONFIG_LINKS = $CONFIG_LINKS
50374 CONFIG_COMMANDS = $CONFIG_COMMANDS
50375 $ $0 $@
50376
50377 _CSEOF
50378 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50379 echo >&5
50380 _ACEOF
50381
50382 # Files that config.status was made for.
50383 if test -n "$ac_config_files"; then
50384 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50385 fi
50386
50387 if test -n "$ac_config_headers"; then
50388 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50389 fi
50390
50391 if test -n "$ac_config_links"; then
50392 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50393 fi
50394
50395 if test -n "$ac_config_commands"; then
50396 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50397 fi
50398
50399 cat >>$CONFIG_STATUS <<\_ACEOF
50400
50401 ac_cs_usage="\
50402 \`$as_me' instantiates files from templates according to the
50403 current configuration.
50404
50405 Usage: $0 [OPTIONS] [FILE]...
50406
50407 -h, --help print this help, then exit
50408 -V, --version print version number, then exit
50409 -q, --quiet do not print progress messages
50410 -d, --debug don't remove temporary files
50411 --recheck update $as_me by reconfiguring in the same conditions
50412 --file=FILE[:TEMPLATE]
50413 instantiate the configuration file FILE
50414 --header=FILE[:TEMPLATE]
50415 instantiate the configuration header FILE
50416
50417 Configuration files:
50418 $config_files
50419
50420 Configuration headers:
50421 $config_headers
50422
50423 Configuration commands:
50424 $config_commands
50425
50426 Report bugs to <bug-autoconf@gnu.org>."
50427 _ACEOF
50428
50429 cat >>$CONFIG_STATUS <<_ACEOF
50430 ac_cs_version="\\
50431 wxWidgets config.status 2.7.1
50432 configured by $0, generated by GNU Autoconf 2.59,
50433 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50434
50435 Copyright (C) 2003 Free Software Foundation, Inc.
50436 This config.status script is free software; the Free Software Foundation
50437 gives unlimited permission to copy, distribute and modify it."
50438 srcdir=$srcdir
50439 INSTALL="$INSTALL"
50440 _ACEOF
50441
50442 cat >>$CONFIG_STATUS <<\_ACEOF
50443 # If no file are specified by the user, then we need to provide default
50444 # value. By we need to know if files were specified by the user.
50445 ac_need_defaults=:
50446 while test $# != 0
50447 do
50448 case $1 in
50449 --*=*)
50450 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50451 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50452 ac_shift=:
50453 ;;
50454 -*)
50455 ac_option=$1
50456 ac_optarg=$2
50457 ac_shift=shift
50458 ;;
50459 *) # This is not an option, so the user has probably given explicit
50460 # arguments.
50461 ac_option=$1
50462 ac_need_defaults=false;;
50463 esac
50464
50465 case $ac_option in
50466 # Handling of the options.
50467 _ACEOF
50468 cat >>$CONFIG_STATUS <<\_ACEOF
50469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50470 ac_cs_recheck=: ;;
50471 --version | --vers* | -V )
50472 echo "$ac_cs_version"; exit 0 ;;
50473 --he | --h)
50474 # Conflict between --help and --header
50475 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50476 Try \`$0 --help' for more information." >&5
50477 echo "$as_me: error: ambiguous option: $1
50478 Try \`$0 --help' for more information." >&2;}
50479 { (exit 1); exit 1; }; };;
50480 --help | --hel | -h )
50481 echo "$ac_cs_usage"; exit 0 ;;
50482 --debug | --d* | -d )
50483 debug=: ;;
50484 --file | --fil | --fi | --f )
50485 $ac_shift
50486 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50487 ac_need_defaults=false;;
50488 --header | --heade | --head | --hea )
50489 $ac_shift
50490 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50491 ac_need_defaults=false;;
50492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50494 ac_cs_silent=: ;;
50495
50496 # This is an error.
50497 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50498 Try \`$0 --help' for more information." >&5
50499 echo "$as_me: error: unrecognized option: $1
50500 Try \`$0 --help' for more information." >&2;}
50501 { (exit 1); exit 1; }; } ;;
50502
50503 *) ac_config_targets="$ac_config_targets $1" ;;
50504
50505 esac
50506 shift
50507 done
50508
50509 ac_configure_extra_args=
50510
50511 if $ac_cs_silent; then
50512 exec 6>/dev/null
50513 ac_configure_extra_args="$ac_configure_extra_args --silent"
50514 fi
50515
50516 _ACEOF
50517 cat >>$CONFIG_STATUS <<_ACEOF
50518 if \$ac_cs_recheck; then
50519 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50520 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50521 fi
50522
50523 _ACEOF
50524
50525 cat >>$CONFIG_STATUS <<_ACEOF
50526 #
50527 # INIT-COMMANDS section.
50528 #
50529
50530
50531 CPP="$CPP"
50532 infile="$srcdir/include/wx/msw/genrcdefs.h"
50533 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50534
50535
50536 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50537 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50538 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50539 LN_S="${LN_S}"
50540
50541
50542 _ACEOF
50543
50544
50545
50546 cat >>$CONFIG_STATUS <<\_ACEOF
50547 for ac_config_target in $ac_config_targets
50548 do
50549 case "$ac_config_target" in
50550 # Handling of arguments.
50551 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50552 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50553 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50554 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50555 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50556 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50557 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50558 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50559 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50560 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50561 { (exit 1); exit 1; }; };;
50562 esac
50563 done
50564
50565 # If the user did not use the arguments to specify the items to instantiate,
50566 # then the envvar interface is used. Set only those that are not.
50567 # We use the long form for the default assignment because of an extremely
50568 # bizarre bug on SunOS 4.1.3.
50569 if $ac_need_defaults; then
50570 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50571 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50572 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50573 fi
50574
50575 # Have a temporary directory for convenience. Make it in the build tree
50576 # simply because there is no reason to put it here, and in addition,
50577 # creating and moving files from /tmp can sometimes cause problems.
50578 # Create a temporary directory, and hook for its removal unless debugging.
50579 $debug ||
50580 {
50581 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50582 trap '{ (exit 1); exit 1; }' 1 2 13 15
50583 }
50584
50585 # Create a (secure) tmp directory for tmp files.
50586
50587 {
50588 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50589 test -n "$tmp" && test -d "$tmp"
50590 } ||
50591 {
50592 tmp=./confstat$$-$RANDOM
50593 (umask 077 && mkdir $tmp)
50594 } ||
50595 {
50596 echo "$me: cannot create a temporary directory in ." >&2
50597 { (exit 1); exit 1; }
50598 }
50599
50600 _ACEOF
50601
50602 cat >>$CONFIG_STATUS <<_ACEOF
50603
50604 #
50605 # CONFIG_FILES section.
50606 #
50607
50608 # No need to generate the scripts if there are no CONFIG_FILES.
50609 # This happens for instance when ./config.status config.h
50610 if test -n "\$CONFIG_FILES"; then
50611 # Protect against being on the right side of a sed subst in config.status.
50612 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50613 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50614 s,@SHELL@,$SHELL,;t t
50615 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50616 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50617 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50618 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50619 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50620 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50621 s,@exec_prefix@,$exec_prefix,;t t
50622 s,@prefix@,$prefix,;t t
50623 s,@program_transform_name@,$program_transform_name,;t t
50624 s,@bindir@,$bindir,;t t
50625 s,@sbindir@,$sbindir,;t t
50626 s,@libexecdir@,$libexecdir,;t t
50627 s,@datadir@,$datadir,;t t
50628 s,@sysconfdir@,$sysconfdir,;t t
50629 s,@sharedstatedir@,$sharedstatedir,;t t
50630 s,@localstatedir@,$localstatedir,;t t
50631 s,@libdir@,$libdir,;t t
50632 s,@includedir@,$includedir,;t t
50633 s,@oldincludedir@,$oldincludedir,;t t
50634 s,@infodir@,$infodir,;t t
50635 s,@mandir@,$mandir,;t t
50636 s,@build_alias@,$build_alias,;t t
50637 s,@host_alias@,$host_alias,;t t
50638 s,@target_alias@,$target_alias,;t t
50639 s,@DEFS@,$DEFS,;t t
50640 s,@ECHO_C@,$ECHO_C,;t t
50641 s,@ECHO_N@,$ECHO_N,;t t
50642 s,@ECHO_T@,$ECHO_T,;t t
50643 s,@LIBS@,$LIBS,;t t
50644 s,@build@,$build,;t t
50645 s,@build_cpu@,$build_cpu,;t t
50646 s,@build_vendor@,$build_vendor,;t t
50647 s,@build_os@,$build_os,;t t
50648 s,@host@,$host,;t t
50649 s,@host_cpu@,$host_cpu,;t t
50650 s,@host_vendor@,$host_vendor,;t t
50651 s,@host_os@,$host_os,;t t
50652 s,@target@,$target,;t t
50653 s,@target_cpu@,$target_cpu,;t t
50654 s,@target_vendor@,$target_vendor,;t t
50655 s,@target_os@,$target_os,;t t
50656 s,@CC@,$CC,;t t
50657 s,@CFLAGS@,$CFLAGS,;t t
50658 s,@LDFLAGS@,$LDFLAGS,;t t
50659 s,@CPPFLAGS@,$CPPFLAGS,;t t
50660 s,@ac_ct_CC@,$ac_ct_CC,;t t
50661 s,@EXEEXT@,$EXEEXT,;t t
50662 s,@OBJEXT@,$OBJEXT,;t t
50663 s,@CPP@,$CPP,;t t
50664 s,@EGREP@,$EGREP,;t t
50665 s,@CXX@,$CXX,;t t
50666 s,@CXXFLAGS@,$CXXFLAGS,;t t
50667 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50668 s,@RANLIB@,$RANLIB,;t t
50669 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50670 s,@AR@,$AR,;t t
50671 s,@ac_ct_AR@,$ac_ct_AR,;t t
50672 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50673 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50674 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50675 s,@STRIP@,$STRIP,;t t
50676 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50677 s,@WINDRES@,$WINDRES,;t t
50678 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50679 s,@DLLTOOL@,$DLLTOOL,;t t
50680 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50681 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50682 s,@LN_S@,$LN_S,;t t
50683 s,@CXXCPP@,$CXXCPP,;t t
50684 s,@subdirs@,$subdirs,;t t
50685 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50686 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50687 s,@GTK_LIBS@,$GTK_LIBS,;t t
50688 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50689 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50690 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50691 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50692 s,@X_CFLAGS@,$X_CFLAGS,;t t
50693 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50694 s,@X_LIBS@,$X_LIBS,;t t
50695 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50696 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50697 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50698 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50699 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50700 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50701 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50702 s,@REZ@,$REZ,;t t
50703 s,@DEREZ@,$DEREZ,;t t
50704 s,@SETFILE@,$SETFILE,;t t
50705 s,@LIBICONV@,$LIBICONV,;t t
50706 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50707 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50708 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50709 s,@SDL_LIBS@,$SDL_LIBS,;t t
50710 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50711 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50712 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50713 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50714 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50715 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50716 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50717 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50718 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50719 s,@GST_LIBS@,$GST_LIBS,;t t
50720 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50721 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50722 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50723 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50724 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50725 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50726 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50727 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50728 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50729 s,@VENDOR@,$VENDOR,;t t
50730 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50731 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50732 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50733 s,@WXUNIV@,$WXUNIV,;t t
50734 s,@MONOLITHIC@,$MONOLITHIC,;t t
50735 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50736 s,@EXTRALIBS@,$EXTRALIBS,;t t
50737 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50738 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50739 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50740 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50741 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50742 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50743 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50744 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50745 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50746 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50747 s,@UNICODE@,$UNICODE,;t t
50748 s,@BUILD@,$BUILD,;t t
50749 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50750 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50751 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50752 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50753 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50754 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50755 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50756 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50757 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50758 s,@SET_MAKE@,$SET_MAKE,;t t
50759 s,@MAKE_SET@,$MAKE_SET,;t t
50760 s,@NM@,$NM,;t t
50761 s,@ac_ct_NM@,$ac_ct_NM,;t t
50762 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50763 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50764 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50765 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50766 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50767 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50768 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50769 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50770 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50771 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50772 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50773 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50774 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50775 s,@LIBPREFIX@,$LIBPREFIX,;t t
50776 s,@LIBEXT@,$LIBEXT,;t t
50777 s,@DLLPREFIX@,$DLLPREFIX,;t t
50778 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50779 s,@dlldir@,$dlldir,;t t
50780 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50781 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50782 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50783 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50784 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50785 s,@PIC_FLAG@,$PIC_FLAG,;t t
50786 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50787 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50788 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50789 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50790 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50791 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50792 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50793 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50794 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50795 s,@GCC_PCH@,$GCC_PCH,;t t
50796 s,@ICC_PCH@,$ICC_PCH,;t t
50797 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50798 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50799 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50800 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50801 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50802 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50803 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50804 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50805 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50806 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50807 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50808 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50809 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50810 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50811 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50812 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50813 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50814 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50815 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50816 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50817 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
50818 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
50819 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
50820 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
50821 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50822 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50823 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50824 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50825 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50826 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50827 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
50828 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
50829 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
50830 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
50831 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50832 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50833 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50834 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50835 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50836 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50837 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50838 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50839 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50840 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50841 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50842 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50843 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50844 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50845 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50846 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50847 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50848 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50849 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
50850 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50851 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50852 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50853 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50854 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50855 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50856 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50857 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50858 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50859 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50860 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50861 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50862 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50863 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50864 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50865 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50866 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50867 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50868 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50869 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50870 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50871 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50872 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50873 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50874 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50875 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50876 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50877 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50878 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50879 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50880 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50881 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50882 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50883 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50884 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50885 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50886 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50887 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50888 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50889 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50890 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50891 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
50892 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50893 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50894 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50895 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50896 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50897 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50898 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50899 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50900 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50902 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50903 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50904 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50905 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50906 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50907 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50908 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50909 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50910 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50911 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50912 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50913 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50914 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50915 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50916 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50917 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50918 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50919 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50920 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50921 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50922 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50923 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50924 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50925 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50926 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50927 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50928 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50929 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50930 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50931 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50932 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50933 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50934 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50935 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50936 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50937 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50938 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50939 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50940 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50941 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50942 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50943 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50944 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50945 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50946 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50947 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50948 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50949 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50950 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50951 s,@SHARED@,$SHARED,;t t
50952 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50953 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50954 s,@USE_GUI@,$USE_GUI,;t t
50955 s,@AFMINSTALL@,$AFMINSTALL,;t t
50956 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50957 s,@TOOLKIT@,$TOOLKIT,;t t
50958 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50959 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50960 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50961 s,@cross_compiling@,$cross_compiling,;t t
50962 s,@WIDGET_SET@,$WIDGET_SET,;t t
50963 s,@WX_RELEASE@,$WX_RELEASE,;t t
50964 s,@WX_VERSION@,$WX_VERSION,;t t
50965 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50966 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50967 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50968 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50969 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50970 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50971 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50972 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50973 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50974 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50975 s,@EXE_LINKER@,$EXE_LINKER,;t t
50976 s,@GUIDIST@,$GUIDIST,;t t
50977 s,@DISTDIR@,$DISTDIR,;t t
50978 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50979 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50980 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50981 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50982 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50983 s,@RESCOMP@,$RESCOMP,;t t
50984 s,@RESFLAGS@,$RESFLAGS,;t t
50985 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50986 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50987 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50988 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50989 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50990 s,@MACSETFILE@,$MACSETFILE,;t t
50991 s,@GCC@,$GCC,;t t
50992 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50993 s,@LIBOBJS@,$LIBOBJS,;t t
50994 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50995 CEOF
50996
50997 _ACEOF
50998
50999 cat >>$CONFIG_STATUS <<\_ACEOF
51000 # Split the substitutions into bite-sized pieces for seds with
51001 # small command number limits, like on Digital OSF/1 and HP-UX.
51002 ac_max_sed_lines=48
51003 ac_sed_frag=1 # Number of current file.
51004 ac_beg=1 # First line for current file.
51005 ac_end=$ac_max_sed_lines # Line after last line for current file.
51006 ac_more_lines=:
51007 ac_sed_cmds=
51008 while $ac_more_lines; do
51009 if test $ac_beg -gt 1; then
51010 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51011 else
51012 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51013 fi
51014 if test ! -s $tmp/subs.frag; then
51015 ac_more_lines=false
51016 else
51017 # The purpose of the label and of the branching condition is to
51018 # speed up the sed processing (if there are no `@' at all, there
51019 # is no need to browse any of the substitutions).
51020 # These are the two extra sed commands mentioned above.
51021 (echo ':t
51022 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51023 if test -z "$ac_sed_cmds"; then
51024 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51025 else
51026 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51027 fi
51028 ac_sed_frag=`expr $ac_sed_frag + 1`
51029 ac_beg=$ac_end
51030 ac_end=`expr $ac_end + $ac_max_sed_lines`
51031 fi
51032 done
51033 if test -z "$ac_sed_cmds"; then
51034 ac_sed_cmds=cat
51035 fi
51036 fi # test -n "$CONFIG_FILES"
51037
51038 _ACEOF
51039 cat >>$CONFIG_STATUS <<\_ACEOF
51040 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51041 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51042 case $ac_file in
51043 - | *:- | *:-:* ) # input from stdin
51044 cat >$tmp/stdin
51045 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51046 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51047 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51048 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51049 * ) ac_file_in=$ac_file.in ;;
51050 esac
51051
51052 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51053 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51054 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51055 X"$ac_file" : 'X\(//\)[^/]' \| \
51056 X"$ac_file" : 'X\(//\)$' \| \
51057 X"$ac_file" : 'X\(/\)' \| \
51058 . : '\(.\)' 2>/dev/null ||
51059 echo X"$ac_file" |
51060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51061 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51062 /^X\(\/\/\)$/{ s//\1/; q; }
51063 /^X\(\/\).*/{ s//\1/; q; }
51064 s/.*/./; q'`
51065 { if $as_mkdir_p; then
51066 mkdir -p "$ac_dir"
51067 else
51068 as_dir="$ac_dir"
51069 as_dirs=
51070 while test ! -d "$as_dir"; do
51071 as_dirs="$as_dir $as_dirs"
51072 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51074 X"$as_dir" : 'X\(//\)[^/]' \| \
51075 X"$as_dir" : 'X\(//\)$' \| \
51076 X"$as_dir" : 'X\(/\)' \| \
51077 . : '\(.\)' 2>/dev/null ||
51078 echo X"$as_dir" |
51079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51081 /^X\(\/\/\)$/{ s//\1/; q; }
51082 /^X\(\/\).*/{ s//\1/; q; }
51083 s/.*/./; q'`
51084 done
51085 test ! -n "$as_dirs" || mkdir $as_dirs
51086 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51087 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51088 { (exit 1); exit 1; }; }; }
51089
51090 ac_builddir=.
51091
51092 if test "$ac_dir" != .; then
51093 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51094 # A "../" for each directory in $ac_dir_suffix.
51095 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51096 else
51097 ac_dir_suffix= ac_top_builddir=
51098 fi
51099
51100 case $srcdir in
51101 .) # No --srcdir option. We are building in place.
51102 ac_srcdir=.
51103 if test -z "$ac_top_builddir"; then
51104 ac_top_srcdir=.
51105 else
51106 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51107 fi ;;
51108 [\\/]* | ?:[\\/]* ) # Absolute path.
51109 ac_srcdir=$srcdir$ac_dir_suffix;
51110 ac_top_srcdir=$srcdir ;;
51111 *) # Relative path.
51112 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51113 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51114 esac
51115
51116 # Do not use `cd foo && pwd` to compute absolute paths, because
51117 # the directories may not exist.
51118 case `pwd` in
51119 .) ac_abs_builddir="$ac_dir";;
51120 *)
51121 case "$ac_dir" in
51122 .) ac_abs_builddir=`pwd`;;
51123 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51124 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51125 esac;;
51126 esac
51127 case $ac_abs_builddir in
51128 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51129 *)
51130 case ${ac_top_builddir}. in
51131 .) ac_abs_top_builddir=$ac_abs_builddir;;
51132 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51133 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51134 esac;;
51135 esac
51136 case $ac_abs_builddir in
51137 .) ac_abs_srcdir=$ac_srcdir;;
51138 *)
51139 case $ac_srcdir in
51140 .) ac_abs_srcdir=$ac_abs_builddir;;
51141 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51142 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51143 esac;;
51144 esac
51145 case $ac_abs_builddir in
51146 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51147 *)
51148 case $ac_top_srcdir in
51149 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51150 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51151 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51152 esac;;
51153 esac
51154
51155
51156 case $INSTALL in
51157 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51158 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51159 esac
51160
51161 # Let's still pretend it is `configure' which instantiates (i.e., don't
51162 # use $as_me), people would be surprised to read:
51163 # /* config.h. Generated by config.status. */
51164 if test x"$ac_file" = x-; then
51165 configure_input=
51166 else
51167 configure_input="$ac_file. "
51168 fi
51169 configure_input=$configure_input"Generated from `echo $ac_file_in |
51170 sed 's,.*/,,'` by configure."
51171
51172 # First look for the input files in the build tree, otherwise in the
51173 # src tree.
51174 ac_file_inputs=`IFS=:
51175 for f in $ac_file_in; do
51176 case $f in
51177 -) echo $tmp/stdin ;;
51178 [\\/$]*)
51179 # Absolute (can't be DOS-style, as IFS=:)
51180 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51181 echo "$as_me: error: cannot find input file: $f" >&2;}
51182 { (exit 1); exit 1; }; }
51183 echo "$f";;
51184 *) # Relative
51185 if test -f "$f"; then
51186 # Build tree
51187 echo "$f"
51188 elif test -f "$srcdir/$f"; then
51189 # Source tree
51190 echo "$srcdir/$f"
51191 else
51192 # /dev/null tree
51193 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51194 echo "$as_me: error: cannot find input file: $f" >&2;}
51195 { (exit 1); exit 1; }; }
51196 fi;;
51197 esac
51198 done` || { (exit 1); exit 1; }
51199
51200 if test x"$ac_file" != x-; then
51201 { echo "$as_me:$LINENO: creating $ac_file" >&5
51202 echo "$as_me: creating $ac_file" >&6;}
51203 rm -f "$ac_file"
51204 fi
51205 _ACEOF
51206 cat >>$CONFIG_STATUS <<_ACEOF
51207 sed "$ac_vpsub
51208 $extrasub
51209 _ACEOF
51210 cat >>$CONFIG_STATUS <<\_ACEOF
51211 :t
51212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51213 s,@configure_input@,$configure_input,;t t
51214 s,@srcdir@,$ac_srcdir,;t t
51215 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51216 s,@top_srcdir@,$ac_top_srcdir,;t t
51217 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51218 s,@builddir@,$ac_builddir,;t t
51219 s,@abs_builddir@,$ac_abs_builddir,;t t
51220 s,@top_builddir@,$ac_top_builddir,;t t
51221 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51222 s,@INSTALL@,$ac_INSTALL,;t t
51223 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51224 rm -f $tmp/stdin
51225 if test x"$ac_file" != x-; then
51226 mv $tmp/out $ac_file
51227 else
51228 cat $tmp/out
51229 rm -f $tmp/out
51230 fi
51231
51232 # Run the commands associated with the file.
51233 case $ac_file in
51234 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51235 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51236 esac
51237 done
51238 _ACEOF
51239 cat >>$CONFIG_STATUS <<\_ACEOF
51240
51241 #
51242 # CONFIG_HEADER section.
51243 #
51244
51245 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51246 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51247 #
51248 # ac_d sets the value in "#define NAME VALUE" lines.
51249 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51250 ac_dB='[ ].*$,\1#\2'
51251 ac_dC=' '
51252 ac_dD=',;t'
51253 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51254 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51255 ac_uB='$,\1#\2define\3'
51256 ac_uC=' '
51257 ac_uD=',;t'
51258
51259 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51260 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51261 case $ac_file in
51262 - | *:- | *:-:* ) # input from stdin
51263 cat >$tmp/stdin
51264 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51265 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51266 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51267 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51268 * ) ac_file_in=$ac_file.in ;;
51269 esac
51270
51271 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51272 echo "$as_me: creating $ac_file" >&6;}
51273
51274 # First look for the input files in the build tree, otherwise in the
51275 # src tree.
51276 ac_file_inputs=`IFS=:
51277 for f in $ac_file_in; do
51278 case $f in
51279 -) echo $tmp/stdin ;;
51280 [\\/$]*)
51281 # Absolute (can't be DOS-style, as IFS=:)
51282 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51283 echo "$as_me: error: cannot find input file: $f" >&2;}
51284 { (exit 1); exit 1; }; }
51285 # Do quote $f, to prevent DOS paths from being IFS'd.
51286 echo "$f";;
51287 *) # Relative
51288 if test -f "$f"; then
51289 # Build tree
51290 echo "$f"
51291 elif test -f "$srcdir/$f"; then
51292 # Source tree
51293 echo "$srcdir/$f"
51294 else
51295 # /dev/null tree
51296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51297 echo "$as_me: error: cannot find input file: $f" >&2;}
51298 { (exit 1); exit 1; }; }
51299 fi;;
51300 esac
51301 done` || { (exit 1); exit 1; }
51302 # Remove the trailing spaces.
51303 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51304
51305 _ACEOF
51306
51307 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51308 # `conftest.undefs', that substitutes the proper values into
51309 # config.h.in to produce config.h. The first handles `#define'
51310 # templates, and the second `#undef' templates.
51311 # And first: Protect against being on the right side of a sed subst in
51312 # config.status. Protect against being in an unquoted here document
51313 # in config.status.
51314 rm -f conftest.defines conftest.undefs
51315 # Using a here document instead of a string reduces the quoting nightmare.
51316 # Putting comments in sed scripts is not portable.
51317 #
51318 # `end' is used to avoid that the second main sed command (meant for
51319 # 0-ary CPP macros) applies to n-ary macro definitions.
51320 # See the Autoconf documentation for `clear'.
51321 cat >confdef2sed.sed <<\_ACEOF
51322 s/[\\&,]/\\&/g
51323 s,[\\$`],\\&,g
51324 t clear
51325 : clear
51326 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51327 t end
51328 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51329 : end
51330 _ACEOF
51331 # If some macros were called several times there might be several times
51332 # the same #defines, which is useless. Nevertheless, we may not want to
51333 # sort them, since we want the *last* AC-DEFINE to be honored.
51334 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51335 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51336 rm -f confdef2sed.sed
51337
51338 # This sed command replaces #undef with comments. This is necessary, for
51339 # example, in the case of _POSIX_SOURCE, which is predefined and required
51340 # on some systems where configure will not decide to define it.
51341 cat >>conftest.undefs <<\_ACEOF
51342 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51343 _ACEOF
51344
51345 # Break up conftest.defines because some shells have a limit on the size
51346 # of here documents, and old seds have small limits too (100 cmds).
51347 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51348 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51349 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51350 echo ' :' >>$CONFIG_STATUS
51351 rm -f conftest.tail
51352 while grep . conftest.defines >/dev/null
51353 do
51354 # Write a limited-size here document to $tmp/defines.sed.
51355 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51356 # Speed up: don't consider the non `#define' lines.
51357 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51358 # Work around the forget-to-reset-the-flag bug.
51359 echo 't clr' >>$CONFIG_STATUS
51360 echo ': clr' >>$CONFIG_STATUS
51361 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51362 echo 'CEOF
51363 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51364 rm -f $tmp/in
51365 mv $tmp/out $tmp/in
51366 ' >>$CONFIG_STATUS
51367 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51368 rm -f conftest.defines
51369 mv conftest.tail conftest.defines
51370 done
51371 rm -f conftest.defines
51372 echo ' fi # grep' >>$CONFIG_STATUS
51373 echo >>$CONFIG_STATUS
51374
51375 # Break up conftest.undefs because some shells have a limit on the size
51376 # of here documents, and old seds have small limits too (100 cmds).
51377 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51378 rm -f conftest.tail
51379 while grep . conftest.undefs >/dev/null
51380 do
51381 # Write a limited-size here document to $tmp/undefs.sed.
51382 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51383 # Speed up: don't consider the non `#undef'
51384 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51385 # Work around the forget-to-reset-the-flag bug.
51386 echo 't clr' >>$CONFIG_STATUS
51387 echo ': clr' >>$CONFIG_STATUS
51388 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51389 echo 'CEOF
51390 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51391 rm -f $tmp/in
51392 mv $tmp/out $tmp/in
51393 ' >>$CONFIG_STATUS
51394 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51395 rm -f conftest.undefs
51396 mv conftest.tail conftest.undefs
51397 done
51398 rm -f conftest.undefs
51399
51400 cat >>$CONFIG_STATUS <<\_ACEOF
51401 # Let's still pretend it is `configure' which instantiates (i.e., don't
51402 # use $as_me), people would be surprised to read:
51403 # /* config.h. Generated by config.status. */
51404 if test x"$ac_file" = x-; then
51405 echo "/* Generated by configure. */" >$tmp/config.h
51406 else
51407 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51408 fi
51409 cat $tmp/in >>$tmp/config.h
51410 rm -f $tmp/in
51411 if test x"$ac_file" != x-; then
51412 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51413 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51414 echo "$as_me: $ac_file is unchanged" >&6;}
51415 else
51416 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51417 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51418 X"$ac_file" : 'X\(//\)[^/]' \| \
51419 X"$ac_file" : 'X\(//\)$' \| \
51420 X"$ac_file" : 'X\(/\)' \| \
51421 . : '\(.\)' 2>/dev/null ||
51422 echo X"$ac_file" |
51423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51425 /^X\(\/\/\)$/{ s//\1/; q; }
51426 /^X\(\/\).*/{ s//\1/; q; }
51427 s/.*/./; q'`
51428 { if $as_mkdir_p; then
51429 mkdir -p "$ac_dir"
51430 else
51431 as_dir="$ac_dir"
51432 as_dirs=
51433 while test ! -d "$as_dir"; do
51434 as_dirs="$as_dir $as_dirs"
51435 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51437 X"$as_dir" : 'X\(//\)[^/]' \| \
51438 X"$as_dir" : 'X\(//\)$' \| \
51439 X"$as_dir" : 'X\(/\)' \| \
51440 . : '\(.\)' 2>/dev/null ||
51441 echo X"$as_dir" |
51442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51444 /^X\(\/\/\)$/{ s//\1/; q; }
51445 /^X\(\/\).*/{ s//\1/; q; }
51446 s/.*/./; q'`
51447 done
51448 test ! -n "$as_dirs" || mkdir $as_dirs
51449 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51451 { (exit 1); exit 1; }; }; }
51452
51453 rm -f $ac_file
51454 mv $tmp/config.h $ac_file
51455 fi
51456 else
51457 cat $tmp/config.h
51458 rm -f $tmp/config.h
51459 fi
51460 done
51461 _ACEOF
51462 cat >>$CONFIG_STATUS <<\_ACEOF
51463
51464 #
51465 # CONFIG_COMMANDS section.
51466 #
51467 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51468 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51469 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51470 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51471 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51472 X"$ac_dest" : 'X\(//\)[^/]' \| \
51473 X"$ac_dest" : 'X\(//\)$' \| \
51474 X"$ac_dest" : 'X\(/\)' \| \
51475 . : '\(.\)' 2>/dev/null ||
51476 echo X"$ac_dest" |
51477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51478 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51479 /^X\(\/\/\)$/{ s//\1/; q; }
51480 /^X\(\/\).*/{ s//\1/; q; }
51481 s/.*/./; q'`
51482 { if $as_mkdir_p; then
51483 mkdir -p "$ac_dir"
51484 else
51485 as_dir="$ac_dir"
51486 as_dirs=
51487 while test ! -d "$as_dir"; do
51488 as_dirs="$as_dir $as_dirs"
51489 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51491 X"$as_dir" : 'X\(//\)[^/]' \| \
51492 X"$as_dir" : 'X\(//\)$' \| \
51493 X"$as_dir" : 'X\(/\)' \| \
51494 . : '\(.\)' 2>/dev/null ||
51495 echo X"$as_dir" |
51496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51498 /^X\(\/\/\)$/{ s//\1/; q; }
51499 /^X\(\/\).*/{ s//\1/; q; }
51500 s/.*/./; q'`
51501 done
51502 test ! -n "$as_dirs" || mkdir $as_dirs
51503 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51504 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51505 { (exit 1); exit 1; }; }; }
51506
51507 ac_builddir=.
51508
51509 if test "$ac_dir" != .; then
51510 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51511 # A "../" for each directory in $ac_dir_suffix.
51512 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51513 else
51514 ac_dir_suffix= ac_top_builddir=
51515 fi
51516
51517 case $srcdir in
51518 .) # No --srcdir option. We are building in place.
51519 ac_srcdir=.
51520 if test -z "$ac_top_builddir"; then
51521 ac_top_srcdir=.
51522 else
51523 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51524 fi ;;
51525 [\\/]* | ?:[\\/]* ) # Absolute path.
51526 ac_srcdir=$srcdir$ac_dir_suffix;
51527 ac_top_srcdir=$srcdir ;;
51528 *) # Relative path.
51529 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51530 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51531 esac
51532
51533 # Do not use `cd foo && pwd` to compute absolute paths, because
51534 # the directories may not exist.
51535 case `pwd` in
51536 .) ac_abs_builddir="$ac_dir";;
51537 *)
51538 case "$ac_dir" in
51539 .) ac_abs_builddir=`pwd`;;
51540 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51541 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51542 esac;;
51543 esac
51544 case $ac_abs_builddir in
51545 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51546 *)
51547 case ${ac_top_builddir}. in
51548 .) ac_abs_top_builddir=$ac_abs_builddir;;
51549 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51550 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51551 esac;;
51552 esac
51553 case $ac_abs_builddir in
51554 .) ac_abs_srcdir=$ac_srcdir;;
51555 *)
51556 case $ac_srcdir in
51557 .) ac_abs_srcdir=$ac_abs_builddir;;
51558 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51559 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51560 esac;;
51561 esac
51562 case $ac_abs_builddir in
51563 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51564 *)
51565 case $ac_top_srcdir in
51566 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51567 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51568 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51569 esac;;
51570 esac
51571
51572
51573 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51574 echo "$as_me: executing $ac_dest commands" >&6;}
51575 case $ac_dest in
51576 rcdefs.h )
51577 mkdir -p $outdir &&
51578 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51579 ;;
51580 wx-config ) rm -f wx-config
51581 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51582 ;;
51583 esac
51584 done
51585 _ACEOF
51586
51587 cat >>$CONFIG_STATUS <<\_ACEOF
51588
51589 { (exit 0); exit 0; }
51590 _ACEOF
51591 chmod +x $CONFIG_STATUS
51592 ac_clean_files=$ac_clean_files_save
51593
51594
51595 # configure is writing to config.log, and then calls config.status.
51596 # config.status does its own redirection, appending to config.log.
51597 # Unfortunately, on DOS this fails, as config.log is still kept open
51598 # by configure, so config.status won't be able to write to it; its
51599 # output is simply discarded. So we exec the FD to /dev/null,
51600 # effectively closing config.log, so it can be properly (re)opened and
51601 # appended to by config.status. When coming back to configure, we
51602 # need to make the FD available again.
51603 if test "$no_create" != yes; then
51604 ac_cs_success=:
51605 ac_config_status_args=
51606 test "$silent" = yes &&
51607 ac_config_status_args="$ac_config_status_args --quiet"
51608 exec 5>/dev/null
51609 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51610 exec 5>>config.log
51611 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51612 # would make configure fail if this is the last instruction.
51613 $ac_cs_success || { (exit 1); exit 1; }
51614 fi
51615
51616 #
51617 # CONFIG_SUBDIRS section.
51618 #
51619 if test "$no_recursion" != yes; then
51620
51621 # Remove --cache-file and --srcdir arguments so they do not pile up.
51622 ac_sub_configure_args=
51623 ac_prev=
51624 for ac_arg in $ac_configure_args; do
51625 if test -n "$ac_prev"; then
51626 ac_prev=
51627 continue
51628 fi
51629 case $ac_arg in
51630 -cache-file | --cache-file | --cache-fil | --cache-fi \
51631 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51632 ac_prev=cache_file ;;
51633 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51634 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51635 | --c=*)
51636 ;;
51637 --config-cache | -C)
51638 ;;
51639 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51640 ac_prev=srcdir ;;
51641 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51642 ;;
51643 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51644 ac_prev=prefix ;;
51645 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51646 ;;
51647 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51648 esac
51649 done
51650
51651 # Always prepend --prefix to ensure using the same prefix
51652 # in subdir configurations.
51653 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51654
51655 ac_popdir=`pwd`
51656 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51657
51658 # Do not complain, so a configure script can configure whichever
51659 # parts of a large source tree are present.
51660 test -d $srcdir/$ac_dir || continue
51661
51662 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51663 echo "$as_me: configuring in $ac_dir" >&6;}
51664 { if $as_mkdir_p; then
51665 mkdir -p "$ac_dir"
51666 else
51667 as_dir="$ac_dir"
51668 as_dirs=
51669 while test ! -d "$as_dir"; do
51670 as_dirs="$as_dir $as_dirs"
51671 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51673 X"$as_dir" : 'X\(//\)[^/]' \| \
51674 X"$as_dir" : 'X\(//\)$' \| \
51675 X"$as_dir" : 'X\(/\)' \| \
51676 . : '\(.\)' 2>/dev/null ||
51677 echo X"$as_dir" |
51678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51680 /^X\(\/\/\)$/{ s//\1/; q; }
51681 /^X\(\/\).*/{ s//\1/; q; }
51682 s/.*/./; q'`
51683 done
51684 test ! -n "$as_dirs" || mkdir $as_dirs
51685 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51687 { (exit 1); exit 1; }; }; }
51688
51689 ac_builddir=.
51690
51691 if test "$ac_dir" != .; then
51692 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51693 # A "../" for each directory in $ac_dir_suffix.
51694 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51695 else
51696 ac_dir_suffix= ac_top_builddir=
51697 fi
51698
51699 case $srcdir in
51700 .) # No --srcdir option. We are building in place.
51701 ac_srcdir=.
51702 if test -z "$ac_top_builddir"; then
51703 ac_top_srcdir=.
51704 else
51705 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51706 fi ;;
51707 [\\/]* | ?:[\\/]* ) # Absolute path.
51708 ac_srcdir=$srcdir$ac_dir_suffix;
51709 ac_top_srcdir=$srcdir ;;
51710 *) # Relative path.
51711 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51712 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51713 esac
51714
51715 # Do not use `cd foo && pwd` to compute absolute paths, because
51716 # the directories may not exist.
51717 case `pwd` in
51718 .) ac_abs_builddir="$ac_dir";;
51719 *)
51720 case "$ac_dir" in
51721 .) ac_abs_builddir=`pwd`;;
51722 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51723 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51724 esac;;
51725 esac
51726 case $ac_abs_builddir in
51727 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51728 *)
51729 case ${ac_top_builddir}. in
51730 .) ac_abs_top_builddir=$ac_abs_builddir;;
51731 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51732 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51733 esac;;
51734 esac
51735 case $ac_abs_builddir in
51736 .) ac_abs_srcdir=$ac_srcdir;;
51737 *)
51738 case $ac_srcdir in
51739 .) ac_abs_srcdir=$ac_abs_builddir;;
51740 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51741 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51742 esac;;
51743 esac
51744 case $ac_abs_builddir in
51745 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51746 *)
51747 case $ac_top_srcdir in
51748 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51749 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51750 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51751 esac;;
51752 esac
51753
51754
51755 cd $ac_dir
51756
51757 # Check for guested configure; otherwise get Cygnus style configure.
51758 if test -f $ac_srcdir/configure.gnu; then
51759 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51760 elif test -f $ac_srcdir/configure; then
51761 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51762 elif test -f $ac_srcdir/configure.in; then
51763 ac_sub_configure=$ac_configure
51764 else
51765 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51766 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51767 ac_sub_configure=
51768 fi
51769
51770 # The recursion is here.
51771 if test -n "$ac_sub_configure"; then
51772 # Make the cache file name correct relative to the subdirectory.
51773 case $cache_file in
51774 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51775 *) # Relative path.
51776 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51777 esac
51778
51779 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51780 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51781 # The eval makes quoting arguments work.
51782 eval $ac_sub_configure $ac_sub_configure_args \
51783 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51784 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51785 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51786 { (exit 1); exit 1; }; }
51787 fi
51788
51789 cd "$ac_popdir"
51790 done
51791 fi
51792
51793
51794 echo
51795 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51796 echo ""
51797 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51798 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51799
51800 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51801 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51802 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51803
51804 echo " What level of wxWidgets compatibility should be enabled?"
51805 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51806 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51807
51808 echo " Which libraries should wxWidgets use?"
51809 echo " jpeg ${wxUSE_LIBJPEG-none}"
51810 echo " png ${wxUSE_LIBPNG-none}"
51811 echo " regex ${wxUSE_REGEX}"
51812 echo " tiff ${wxUSE_LIBTIFF-none}"
51813 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51814 echo " xpm ${wxUSE_LIBXPM-none}"
51815 fi
51816 echo " zlib ${wxUSE_ZLIB}"
51817 echo " odbc ${wxUSE_ODBC}"
51818 echo " expat ${wxUSE_EXPAT}"
51819 echo " libmspack ${wxUSE_LIBMSPACK}"
51820 echo " sdl ${wxUSE_LIBSDL}"
51821
51822 echo ""
51823