]> git.saurik.com Git - wxWidgets.git/blob - configure
43c17e327e2327c953b0add28e1e5da031e73987
[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 wx_top_builddir 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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.7.1
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=7
1805 wx_release_number=2
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 fi
11807
11808
11809 if test "$wxUSE_GUI" = "yes"; then
11810
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11815 fi
11816
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit in `echo $ALL_TOOLKITS`; do
11819 var=wxUSE_$toolkit
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11822 eval "$var=0"
11823 elif test "x$value" != "x"; then
11824 eval "$var=1"
11825 fi
11826
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11829 fi
11830 done
11831 else
11832 for toolkit in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11835 else
11836 var=DEFAULT_wxUSE_$toolkit
11837
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11841 fi
11842 fi
11843 eval "wxUSE_$toolkit=\$${var}"
11844 done
11845 fi
11846
11847 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11850
11851 case "${host}" in
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11854 esac
11855
11856 case "$NUM_TOOLKITS" in
11857 1)
11858 ;;
11859 0)
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11863 ;;
11864 *)
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11868 esac
11869
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11872 wxGTK_VERSION=2
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11874 wxGTK_VERSION=1
11875 fi
11876
11877 for toolkit in `echo $ALL_TOOLKITS`; do
11878 var=wxUSE_$toolkit
11879 eval "value=\$${var}"
11880 if test "x$value" != x; then
11881 cache_var=CACHE_$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11888 fi
11889 fi
11890 if test "$value" = 1; then
11891 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11894 fi
11895 fi
11896 done
11897 else
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11901 else
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11904 fi
11905 fi
11906
11907
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11914 #
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11917 #
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11921
11922 _ACEOF
11923
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11929 {
11930 (set) 2>&1 |
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11932 *ac_space=\ *)
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11935 sed -n \
11936 "s/'/'\\\\''/g;
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11938 ;;
11939 *)
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11941 sed -n \
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11943 ;;
11944 esac;
11945 } |
11946 sed '
11947 t clear
11948 : clear
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11950 t end
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11952 : end' >>confcache
11953 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache >$cache_file
11957 else
11958 echo "not updating unwritable cache $cache_file"
11959 fi
11960 fi
11961 rm -f confcache
11962
11963 CFLAGS=${CFLAGS:=}
11964
11965
11966
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC="$CC" # Let the user override the test.
11982 else
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 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 break 2
11993 fi
11994 done
11995 done
11996
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12003 else
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008 fi
12009 if test -z "$ac_cv_prog_CC"; then
12010 ac_ct_CC=$CC
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12023 do
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12031 fi
12032 done
12033 done
12034
12035 fi
12036 fi
12037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12041 else
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12044 fi
12045
12046 CC=$ac_ct_CC
12047 else
12048 CC="$ac_cv_prog_CC"
12049 fi
12050
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy ${ac_tool_prefix}cc; ac_word=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC="$CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066 IFS=$as_save_IFS
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 break 2
12073 fi
12074 done
12075 done
12076
12077 fi
12078 fi
12079 CC=$ac_cv_prog_CC
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12083 else
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12086 fi
12087
12088 fi
12089 if test -z "$ac_cv_prog_CC"; then
12090 ac_ct_CC=$CC
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc; ac_word=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12100 else
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12103 do
12104 IFS=$as_save_IFS
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 break 2
12111 fi
12112 done
12113 done
12114
12115 fi
12116 fi
12117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12121 else
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12124 fi
12125
12126 CC=$ac_ct_CC
12127 else
12128 CC="$ac_cv_prog_CC"
12129 fi
12130
12131 fi
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc; ac_word=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 ac_prog_rejected=no
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected=yes
12153 continue
12154 fi
12155 ac_cv_prog_CC="cc"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12165 shift
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12170 shift
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172 fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12180 else
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12183 fi
12184
12185 fi
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12188 for ac_prog in cl
12189 do
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203 IFS=$as_save_IFS
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 break 2
12210 fi
12211 done
12212 done
12213
12214 fi
12215 fi
12216 CC=$ac_cv_prog_CC
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12223 fi
12224
12225 test -n "$CC" && break
12226 done
12227 fi
12228 if test -z "$CC"; then
12229 ac_ct_CC=$CC
12230 for ac_prog in cl
12231 do
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy $ac_prog; ac_word=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12241 else
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245 IFS=$as_save_IFS
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 break 2
12252 fi
12253 done
12254 done
12255
12256 fi
12257 fi
12258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12262 else
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12265 fi
12266
12267 test -n "$ac_ct_CC" && break
12268 done
12269
12270 CC=$ac_ct_CC
12271 fi
12272
12273 fi
12274
12275
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12281
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev/null >&5) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev/null >&5) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 ac_clean_files_save=$ac_clean_files
12318 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12321 # of exeext.
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12332 # resort.
12333
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12336 ac_cv_exeext=
12337 # b.out is created by i960 compilers.
12338 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12339 do
12340 test -f "$ac_file" || continue
12341 case $ac_file in
12342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12343 ;;
12344 conftest.$ac_ext )
12345 # This is the source file.
12346 ;;
12347 [ab].out )
12348 # We found the default executable, but exeext='' is most
12349 # certainly right.
12350 break;;
12351 *.* )
12352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12357 break;;
12358 * )
12359 break;;
12360 esac
12361 done
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12365
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12371 fi
12372
12373 ac_exeext=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12376
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 cross_compiling=no
12391 else
12392 if test "$cross_compiling" = maybe; then
12393 cross_compiling=yes
12394 else
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12402 fi
12403 fi
12404 fi
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12407
12408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12409 ac_clean_files=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12416
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12427 # `rm'.
12428 for ac_file in conftest.exe conftest conftest.*; do
12429 test -f "$ac_file" || continue
12430 case $ac_file in
12431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12434 break;;
12435 * ) break;;
12436 esac
12437 done
12438 else
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12444 fi
12445
12446 rm -f conftest$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12449
12450 rm -f conftest.$ac_ext
12451 EXEEXT=$ac_cv_exeext
12452 ac_exeext=$EXEEXT
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464
12465 int
12466 main ()
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12480 case $ac_file in
12481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12483 break;;
12484 esac
12485 done
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12495 fi
12496
12497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT=$ac_cv_objext
12502 ac_objext=$OBJEXT
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514
12515 int
12516 main ()
12517 {
12518 #ifndef __GNUC__
12519 choke me
12520 #endif
12521
12522 ;
12523 return 0;
12524 }
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 ac_compiler_gnu=no
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS=${CFLAGS+set}
12562 ac_save_CFLAGS=$CFLAGS
12563 CFLAGS="-g"
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575
12576 int
12577 main ()
12578 {
12579
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_cv_prog_cc_g=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 fi
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12620 CFLAGS="-g -O2"
12621 else
12622 CFLAGS="-g"
12623 fi
12624 else
12625 if test "$GCC" = yes; then
12626 CFLAGS="-O2"
12627 else
12628 CFLAGS=
12629 fi
12630 fi
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 ac_cv_prog_cc_stdc=no
12637 ac_save_CC=$CC
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12645 #include <stdio.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12652 char **p;
12653 int i;
12654 {
12655 return p[i];
12656 }
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12658 {
12659 char *s;
12660 va_list v;
12661 va_start (v,p);
12662 s = g (p, va_arg (v,int));
12663 va_end (v);
12664 return s;
12665 }
12666
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12675
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12680 int argc;
12681 char **argv;
12682 int
12683 main ()
12684 {
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 do
12699 CC="$ac_save_CC $ac_arg"
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc=$ac_arg
12722 break
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 fi
12728 rm -f conftest.err conftest.$ac_objext
12729 done
12730 rm -f conftest.$ac_ext conftest.$ac_objext
12731 CC=$ac_save_CC
12732
12733 fi
12734
12735 case "x$ac_cv_prog_cc_stdc" in
12736 x|xno)
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12739 *)
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC="$CC $ac_cv_prog_cc_stdc" ;;
12743 esac
12744
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12751 choke me
12752 #endif
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration in \
12776 '' \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12781 'void exit (int);'
12782 do
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 $ac_declaration
12790 #include <stdlib.h>
12791 int
12792 main ()
12793 {
12794 exit (42);
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 rm -f conftest.$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 :
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_declaration
12835 int
12836 main ()
12837 {
12838 exit (42);
12839 ;
12840 return 0;
12841 }
12842 _ACEOF
12843 rm -f conftest.$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 break
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 fi
12870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 done
12872 rm -f conftest*
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12877 fi
12878
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891
12892
12893 ac_ext=c
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914
12915 #ifndef __INTEL_COMPILER
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 bakefile_cv_c_compiler___INTEL_COMPILER=no
12950
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12958 ac_ext=c
12959 ac_cpp='$CPP $CPPFLAGS'
12960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12965 :; INTELCC=yes
12966 else
12967 :;
12968 fi
12969
12970
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 cat >conftest.$ac_ext <<_ACEOF
12979 /* confdefs.h. */
12980 _ACEOF
12981 cat confdefs.h >>conftest.$ac_ext
12982 cat >>conftest.$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984
12985 int
12986 main ()
12987 {
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest.$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13000 case $ac_file in
13001 conftest.$ac_ext.o)
13002 bakefile_cv_c_exto="-ext o"
13003 ;;
13004 *)
13005 ;;
13006 esac
13007 done
13008 else
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014
13015 fi
13016
13017 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13025 fi
13026 if test "c" = "cxx"; then
13027 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13028 fi
13029 fi
13030
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS=${CFLAGS+set}
13034 ac_save_CFLAGS=$CFLAGS
13035 CFLAGS="-g"
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 cat >conftest.$ac_ext <<_ACEOF
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047
13048 int
13049 main ()
13050 {
13051
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 ac_cv_prog_cc_g=no
13083 fi
13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13092 CFLAGS="-g -O2"
13093 else
13094 CFLAGS="-g"
13095 fi
13096 else
13097 if test "$GCC" = yes; then
13098 CFLAGS="-O2"
13099 else
13100 CFLAGS=
13101 fi
13102 fi
13103 fi
13104 fi
13105
13106 case `uname -s` in
13107 AIX*)
13108 ac_ext=c
13109 ac_cpp='$CPP $CPPFLAGS'
13110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125
13126 int
13127 main ()
13128 {
13129 #ifndef __xlC__
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13149 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc=yes
13159 else
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13162
13163 bakefile_compiler_xlc=no
13164 fi
13165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13166 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13167
13168 fi
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13171
13172 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179
13180 ;;
13181
13182 Darwin)
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __MWERKS__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_mwerks=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13246
13247 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276 #ifndef __xlC__
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_compiler_xlc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_compiler_xlc=no
13311 fi
13312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13314
13315 fi
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13318
13319 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326
13327 ;;
13328
13329 IRIX*)
13330
13331
13332 ac_ext=c
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353
13354 #ifndef _SGI_COMPILER_VERSION
13355 choke me
13356 #endif
13357
13358 ;
13359 return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392
13393
13394 fi
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13404 :; SGICC=yes
13405 else
13406 :;
13407 fi
13408
13409
13410 ;;
13411
13412 HP-UX*)
13413
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432
13433 int
13434 main ()
13435 {
13436
13437 #ifndef __HP_cc
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 bakefile_cv_c_compiler___HP_cc=no
13472
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475
13476
13477 fi
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13487 :; HPCC=yes
13488 else
13489 :;
13490 fi
13491
13492
13493 ;;
13494
13495 OSF1)
13496
13497
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13503
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515
13516 int
13517 main ()
13518 {
13519
13520 #ifndef __DECC
13521 choke me
13522 #endif
13523
13524 ;
13525 return 0;
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_cv_c_compiler___DECC=no
13555
13556 fi
13557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13558
13559
13560 fi
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13570 :; COMPAQCC=yes
13571 else
13572 :;
13573 fi
13574
13575
13576 ;;
13577
13578 SunOS)
13579
13580
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 int
13600 main ()
13601 {
13602
13603 #ifndef __SUNPRO_C
13604 choke me
13605 #endif
13606
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637 bakefile_cv_c_compiler___SUNPRO_C=no
13638
13639 fi
13640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641
13642
13643 fi
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13653 :; SUNCC=yes
13654 else
13655 :;
13656 fi
13657
13658
13659 ;;
13660 esac
13661 fi
13662
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13674 CPP=
13675 fi
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 else
13680 # Double quotes because CPP needs to be expanded
13681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13682 do
13683 ac_preproc_ok=false
13684 for ac_c_preproc_warn_flag in '' yes
13685 do
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #ifdef __STDC__
13699 # include <limits.h>
13700 #else
13701 # include <assert.h>
13702 #endif
13703 Syntax error
13704 _ACEOF
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev/null; then
13713 if test -s conftest.err; then
13714 ac_cpp_err=$ac_c_preproc_warn_flag
13715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 else
13717 ac_cpp_err=
13718 fi
13719 else
13720 ac_cpp_err=yes
13721 fi
13722 if test -z "$ac_cpp_err"; then
13723 :
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 # Broken: fails on valid input.
13729 continue
13730 fi
13731 rm -f conftest.err conftest.$ac_ext
13732
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.$ac_ext <<_ACEOF
13736 /* confdefs.h. */
13737 _ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13742 _ACEOF
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev/null; then
13751 if test -s conftest.err; then
13752 ac_cpp_err=$ac_c_preproc_warn_flag
13753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13754 else
13755 ac_cpp_err=
13756 fi
13757 else
13758 ac_cpp_err=yes
13759 fi
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13762 continue
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 # Passes both tests.
13768 ac_preproc_ok=:
13769 break
13770 fi
13771 rm -f conftest.err conftest.$ac_ext
13772
13773 done
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.$ac_ext
13776 if $ac_preproc_ok; then
13777 break
13778 fi
13779
13780 done
13781 ac_cv_prog_CPP=$CPP
13782
13783 fi
13784 CPP=$ac_cv_prog_CPP
13785 else
13786 ac_cv_prog_CPP=$CPP
13787 fi
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok=false
13791 for ac_c_preproc_warn_flag in '' yes
13792 do
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810 Syntax error
13811 _ACEOF
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null; then
13820 if test -s conftest.err; then
13821 ac_cpp_err=$ac_c_preproc_warn_flag
13822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13823 else
13824 ac_cpp_err=
13825 fi
13826 else
13827 ac_cpp_err=yes
13828 fi
13829 if test -z "$ac_cpp_err"; then
13830 :
13831 else
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13834
13835 # Broken: fails on valid input.
13836 continue
13837 fi
13838 rm -f conftest.err conftest.$ac_ext
13839
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13849 _ACEOF
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13852 ac_status=$?
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev/null; then
13858 if test -s conftest.err; then
13859 ac_cpp_err=$ac_c_preproc_warn_flag
13860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13861 else
13862 ac_cpp_err=
13863 fi
13864 else
13865 ac_cpp_err=yes
13866 fi
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13869 continue
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 # Passes both tests.
13875 ac_preproc_ok=:
13876 break
13877 fi
13878 rm -f conftest.err conftest.$ac_ext
13879
13880 done
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.$ac_ext
13883 if $ac_preproc_ok; then
13884 :
13885 else
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892
13893 ac_ext=c
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898
13899
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13906 then ac_cv_prog_egrep='grep -E'
13907 else ac_cv_prog_egrep='egrep'
13908 fi
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP=$ac_cv_prog_egrep
13913
13914
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 ac_pattern="Autoconf.*'x'"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 #include <sgtty.h>
13929 Autoconf TIOCGETP
13930 _ACEOF
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13933 ac_cv_prog_gcc_traditional=yes
13934 else
13935 ac_cv_prog_gcc_traditional=no
13936 fi
13937 rm -f conftest*
13938
13939
13940 if test $ac_cv_prog_gcc_traditional = no; then
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13948 Autoconf TCGETA
13949 _ACEOF
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13952 ac_cv_prog_gcc_traditional=yes
13953 fi
13954 rm -f conftest*
13955
13956 fi
13957 fi
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC="$CC -traditional"
13962 fi
13963 fi
13964
13965
13966 ac_ext=cc
13967 ac_cpp='$CXXCPP $CPPFLAGS'
13968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13971
13972
13973 CXXFLAGS=${CXXFLAGS:=}
13974
13975
13976
13977 ac_ext=cc
13978 ac_cpp='$CXXCPP $CPPFLAGS'
13979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13982 if test -n "$ac_tool_prefix"; then
13983 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13984 do
13985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13987 echo "$as_me:$LINENO: checking for $ac_word" >&5
13988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13989 if test "${ac_cv_prog_CXX+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 else
13992 if test -n "$CXX"; then
13993 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13994 else
13995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13996 for as_dir in $PATH
13997 do
13998 IFS=$as_save_IFS
13999 test -z "$as_dir" && as_dir=.
14000 for ac_exec_ext in '' $ac_executable_extensions; do
14001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14002 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 break 2
14005 fi
14006 done
14007 done
14008
14009 fi
14010 fi
14011 CXX=$ac_cv_prog_CXX
14012 if test -n "$CXX"; then
14013 echo "$as_me:$LINENO: result: $CXX" >&5
14014 echo "${ECHO_T}$CXX" >&6
14015 else
14016 echo "$as_me:$LINENO: result: no" >&5
14017 echo "${ECHO_T}no" >&6
14018 fi
14019
14020 test -n "$CXX" && break
14021 done
14022 fi
14023 if test -z "$CXX"; then
14024 ac_ct_CXX=$CXX
14025 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14026 do
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy $ac_prog; ac_word=$2
14029 echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14031 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 if test -n "$ac_ct_CXX"; then
14035 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14036 else
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14039 do
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14044 ac_cv_prog_ac_ct_CXX="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 break 2
14047 fi
14048 done
14049 done
14050
14051 fi
14052 fi
14053 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14054 if test -n "$ac_ct_CXX"; then
14055 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14056 echo "${ECHO_T}$ac_ct_CXX" >&6
14057 else
14058 echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6
14060 fi
14061
14062 test -n "$ac_ct_CXX" && break
14063 done
14064 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14065
14066 CXX=$ac_ct_CXX
14067 fi
14068
14069
14070 # Provide some information about the compiler.
14071 echo "$as_me:$LINENO:" \
14072 "checking for C++ compiler version" >&5
14073 ac_compiler=`set X $ac_compile; echo $2`
14074 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14075 (eval $ac_compiler --version </dev/null >&5) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }
14079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14080 (eval $ac_compiler -v </dev/null >&5) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }
14084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14085 (eval $ac_compiler -V </dev/null >&5) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }
14089
14090 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14091 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h. */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101
14102 int
14103 main ()
14104 {
14105 #ifndef __GNUC__
14106 choke me
14107 #endif
14108
14109 ;
14110 return 0;
14111 }
14112 _ACEOF
14113 rm -f conftest.$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>conftest.er1
14116 ac_status=$?
14117 grep -v '^ *+' conftest.er1 >conftest.err
14118 rm -f conftest.er1
14119 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_compiler_gnu=yes
14135 else
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14138
14139 ac_compiler_gnu=no
14140 fi
14141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14142 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14143
14144 fi
14145 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14146 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14147 GXX=`test $ac_compiler_gnu = yes && echo yes`
14148 ac_test_CXXFLAGS=${CXXFLAGS+set}
14149 ac_save_CXXFLAGS=$CXXFLAGS
14150 CXXFLAGS="-g"
14151 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14153 if test "${ac_cv_prog_cxx_g+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162
14163 int
14164 main ()
14165 {
14166
14167 ;
14168 return 0;
14169 }
14170 _ACEOF
14171 rm -f conftest.$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14189 ac_status=$?
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_prog_cxx_g=yes
14193 else
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14196
14197 ac_cv_prog_cxx_g=no
14198 fi
14199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14200 fi
14201 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14202 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14203 if test "$ac_test_CXXFLAGS" = set; then
14204 CXXFLAGS=$ac_save_CXXFLAGS
14205 elif test $ac_cv_prog_cxx_g = yes; then
14206 if test "$GXX" = yes; then
14207 CXXFLAGS="-g -O2"
14208 else
14209 CXXFLAGS="-g"
14210 fi
14211 else
14212 if test "$GXX" = yes; then
14213 CXXFLAGS="-O2"
14214 else
14215 CXXFLAGS=
14216 fi
14217 fi
14218 for ac_declaration in \
14219 '' \
14220 'extern "C" void std::exit (int) throw (); using std::exit;' \
14221 'extern "C" void std::exit (int); using std::exit;' \
14222 'extern "C" void exit (int) throw ();' \
14223 'extern "C" void exit (int);' \
14224 'void exit (int);'
14225 do
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 $ac_declaration
14233 #include <stdlib.h>
14234 int
14235 main ()
14236 {
14237 exit (42);
14238 ;
14239 return 0;
14240 }
14241 _ACEOF
14242 rm -f conftest.$ac_objext
14243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14244 (eval $ac_compile) 2>conftest.er1
14245 ac_status=$?
14246 grep -v '^ *+' conftest.er1 >conftest.err
14247 rm -f conftest.er1
14248 cat conftest.err >&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } &&
14251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14260 ac_status=$?
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 :
14264 else
14265 echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.$ac_ext >&5
14267
14268 continue
14269 fi
14270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_declaration
14278 int
14279 main ()
14280 {
14281 exit (42);
14282 ;
14283 return 0;
14284 }
14285 _ACEOF
14286 rm -f conftest.$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>conftest.er1
14289 ac_status=$?
14290 grep -v '^ *+' conftest.er1 >conftest.err
14291 rm -f conftest.er1
14292 cat conftest.err >&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14298 ac_status=$?
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 break
14308 else
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.$ac_ext >&5
14311
14312 fi
14313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14314 done
14315 rm -f conftest*
14316 if test -n "$ac_declaration"; then
14317 echo '#ifdef __cplusplus' >>confdefs.h
14318 echo $ac_declaration >>confdefs.h
14319 echo '#endif' >>confdefs.h
14320 fi
14321
14322 ac_ext=cc
14323 ac_cpp='$CXXCPP $CPPFLAGS'
14324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14327
14328
14329
14330 ac_ext=cc
14331 ac_cpp='$CXXCPP $CPPFLAGS'
14332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14335
14336 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14337 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14338 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 cat >conftest.$ac_ext <<_ACEOF
14342 /* confdefs.h. */
14343 _ACEOF
14344 cat confdefs.h >>conftest.$ac_ext
14345 cat >>conftest.$ac_ext <<_ACEOF
14346 /* end confdefs.h. */
14347
14348 int
14349 main ()
14350 {
14351
14352 #ifndef __INTEL_COMPILER
14353 choke me
14354 #endif
14355
14356 ;
14357 return 0;
14358 }
14359 _ACEOF
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>conftest.er1
14363 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1
14366 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; } &&
14375 { ac_try='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14385
14386 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14387
14388 fi
14389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14390
14391
14392 fi
14393 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14395 ac_ext=cc
14396 ac_cpp='$CXXCPP $CPPFLAGS'
14397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14400
14401 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14402 :; INTELCXX=yes
14403 else
14404 :;
14405 fi
14406
14407
14408 if test "x$GCXX" != "xyes"; then
14409 if test "xCXX" = "xC"; then
14410 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14411 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14412 if test "${bakefile_cv_cxx_exto+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 else
14415 cat >conftest.$ac_ext <<_ACEOF
14416 /* confdefs.h. */
14417 _ACEOF
14418 cat confdefs.h >>conftest.$ac_ext
14419 cat >>conftest.$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421
14422 int
14423 main ()
14424 {
14425
14426 ;
14427 return 0;
14428 }
14429 _ACEOF
14430 rm -f conftest.$ac_objext conftest.$ac_ext.o
14431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14432 (eval $ac_compile) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; then
14436 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14437 case $ac_file in
14438 conftest.$ac_ext.o)
14439 bakefile_cv_cxx_exto="-ext o"
14440 ;;
14441 *)
14442 ;;
14443 esac
14444 done
14445 else
14446 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14447 See \`config.log' for more details." >&5
14448 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14449 See \`config.log' for more details." >&2;}
14450 { (exit 1); exit 1; }; }
14451
14452 fi
14453
14454 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14455
14456 fi
14457 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14458 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14459 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14460 if test "cxx" = "c"; then
14461 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14462 fi
14463 if test "cxx" = "cxx"; then
14464 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14465 fi
14466 fi
14467
14468 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14469 unset ac_cv_prog_cc_g
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 CFLAGS="-g"
14473 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14474 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14475 if test "${ac_cv_prog_cc_g+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 else
14478 cat >conftest.$ac_ext <<_ACEOF
14479 /* confdefs.h. */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14484
14485 int
14486 main ()
14487 {
14488
14489 ;
14490 return 0;
14491 }
14492 _ACEOF
14493 rm -f conftest.$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14505 ac_status=$?
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14511 ac_status=$?
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_prog_cc_g=yes
14515 else
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14518
14519 ac_cv_prog_cc_g=no
14520 fi
14521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14522 fi
14523 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14524 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14525 if test "$ac_test_CFLAGS" = set; then
14526 CFLAGS=$ac_save_CFLAGS
14527 elif test $ac_cv_prog_cc_g = yes; then
14528 if test "$GCC" = yes; then
14529 CFLAGS="-g -O2"
14530 else
14531 CFLAGS="-g"
14532 fi
14533 else
14534 if test "$GCC" = yes; then
14535 CFLAGS="-O2"
14536 else
14537 CFLAGS=
14538 fi
14539 fi
14540 fi
14541 fi
14542
14543 case `uname -s` in
14544 AIX*)
14545 ac_ext=cc
14546 ac_cpp='$CXXCPP $CPPFLAGS'
14547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14550
14551 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14552 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14553 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14562
14563 int
14564 main ()
14565 {
14566 #ifndef __xlC__
14567 choke me
14568 #endif
14569
14570 ;
14571 return 0;
14572 }
14573 _ACEOF
14574 rm -f conftest.$ac_objext
14575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14576 (eval $ac_compile) 2>conftest.er1
14577 ac_status=$?
14578 grep -v '^ *+' conftest.er1 >conftest.err
14579 rm -f conftest.er1
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } &&
14583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try='test -s conftest.$ac_objext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 bakefile_compiler_xlc=yes
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 bakefile_compiler_xlc=no
14601 fi
14602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14603 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14604
14605 fi
14606 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14607 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14608
14609 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14610 ac_ext=cc
14611 ac_cpp='$CXXCPP $CPPFLAGS'
14612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14615
14616
14617 ;;
14618
14619 Darwin)
14620 ac_ext=cc
14621 ac_cpp='$CXXCPP $CPPFLAGS'
14622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14625
14626 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14627 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14628 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 else
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637
14638 int
14639 main ()
14640 {
14641 #ifndef __MWERKS__
14642 choke me
14643 #endif
14644
14645 ;
14646 return 0;
14647 }
14648 _ACEOF
14649 rm -f conftest.$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_compiler_mwerks=yes
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14674
14675 bakefile_compiler_mwerks=no
14676 fi
14677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14678 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14679
14680 fi
14681 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14682 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14683
14684 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691
14692 ac_ext=cc
14693 ac_cpp='$CXXCPP $CPPFLAGS'
14694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14697
14698 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14700 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 else
14703 cat >conftest.$ac_ext <<_ACEOF
14704 /* confdefs.h. */
14705 _ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709
14710 int
14711 main ()
14712 {
14713 #ifndef __xlC__
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_compiler_xlc=yes
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 bakefile_compiler_xlc=no
14748 fi
14749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14750 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14751
14752 fi
14753 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14754 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14755
14756 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14757 ac_ext=cc
14758 ac_cpp='$CXXCPP $CPPFLAGS'
14759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14762
14763
14764 ;;
14765
14766 IRIX*)
14767
14768
14769 ac_ext=cc
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14774
14775 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14776 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14777 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786
14787 int
14788 main ()
14789 {
14790
14791 #ifndef _SGI_COMPILER_VERSION
14792 choke me
14793 #endif
14794
14795 ;
14796 return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14802 ac_status=$?
14803 grep -v '^ *+' conftest.er1 >conftest.err
14804 rm -f conftest.er1
14805 cat conftest.err >&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14824
14825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14826
14827 fi
14828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14829
14830
14831 fi
14832 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14833 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14834 ac_ext=cc
14835 ac_cpp='$CXXCPP $CPPFLAGS'
14836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14839
14840 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14841 :; SGICXX=yes
14842 else
14843 :;
14844 fi
14845
14846
14847 ;;
14848
14849 HP-UX*)
14850
14851
14852 ac_ext=cc
14853 ac_cpp='$CXXCPP $CPPFLAGS'
14854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14857
14858 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14859 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14860 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 cat >conftest.$ac_ext <<_ACEOF
14864 /* confdefs.h. */
14865 _ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869
14870 int
14871 main ()
14872 {
14873
14874 #ifndef __HP_aCC
14875 choke me
14876 #endif
14877
14878 ;
14879 return 0;
14880 }
14881 _ACEOF
14882 rm -f conftest.$ac_objext
14883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14884 (eval $ac_compile) 2>conftest.er1
14885 ac_status=$?
14886 grep -v '^ *+' conftest.er1 >conftest.err
14887 rm -f conftest.er1
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; } &&
14897 { ac_try='test -s conftest.$ac_objext'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; }; then
14903 bakefile_cv_cxx_compiler___HP_aCC=yes
14904 else
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14907
14908 bakefile_cv_cxx_compiler___HP_aCC=no
14909
14910 fi
14911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14912
14913
14914 fi
14915 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14916 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14917 ac_ext=cc
14918 ac_cpp='$CXXCPP $CPPFLAGS'
14919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14922
14923 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14924 :; HPCXX=yes
14925 else
14926 :;
14927 fi
14928
14929
14930 ;;
14931
14932 OSF1)
14933
14934
14935 ac_ext=cc
14936 ac_cpp='$CXXCPP $CPPFLAGS'
14937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14940
14941 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14942 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14943 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14944 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 else
14946 cat >conftest.$ac_ext <<_ACEOF
14947 /* confdefs.h. */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952
14953 int
14954 main ()
14955 {
14956
14957 #ifndef __DECCXX
14958 choke me
14959 #endif
14960
14961 ;
14962 return 0;
14963 }
14964 _ACEOF
14965 rm -f conftest.$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>conftest.er1
14968 ac_status=$?
14969 grep -v '^ *+' conftest.er1 >conftest.err
14970 rm -f conftest.er1
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; } &&
14980 { ac_try='test -s conftest.$ac_objext'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14983 ac_status=$?
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14986 bakefile_cv_cxx_compiler___DECCXX=yes
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14990
14991 bakefile_cv_cxx_compiler___DECCXX=no
14992
14993 fi
14994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14995
14996
14997 fi
14998 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15000 ac_ext=cc
15001 ac_cpp='$CXXCPP $CPPFLAGS'
15002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15005
15006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15007 :; COMPAQCXX=yes
15008 else
15009 :;
15010 fi
15011
15012
15013 ;;
15014
15015 SunOS)
15016
15017
15018 ac_ext=cc
15019 ac_cpp='$CXXCPP $CPPFLAGS'
15020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15023
15024 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15025 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15026 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035
15036 int
15037 main ()
15038 {
15039
15040 #ifndef __SUNPRO_CC
15041 choke me
15042 #endif
15043
15044 ;
15045 return 0;
15046 }
15047 _ACEOF
15048 rm -f conftest.$ac_objext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15050 (eval $ac_compile) 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; } &&
15063 { ac_try='test -s conftest.$ac_objext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15075
15076 fi
15077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15078
15079
15080 fi
15081 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15083 ac_ext=cc
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15088
15089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15090 :; SUNCXX=yes
15091 else
15092 :;
15093 fi
15094
15095
15096 ;;
15097 esac
15098 fi
15099
15100
15101
15102 if test -n "$ac_tool_prefix"; then
15103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15105 echo "$as_me:$LINENO: checking for $ac_word" >&5
15106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15107 if test "${ac_cv_prog_RANLIB+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 else
15110 if test -n "$RANLIB"; then
15111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15112 else
15113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15114 for as_dir in $PATH
15115 do
15116 IFS=$as_save_IFS
15117 test -z "$as_dir" && as_dir=.
15118 for ac_exec_ext in '' $ac_executable_extensions; do
15119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15122 break 2
15123 fi
15124 done
15125 done
15126
15127 fi
15128 fi
15129 RANLIB=$ac_cv_prog_RANLIB
15130 if test -n "$RANLIB"; then
15131 echo "$as_me:$LINENO: result: $RANLIB" >&5
15132 echo "${ECHO_T}$RANLIB" >&6
15133 else
15134 echo "$as_me:$LINENO: result: no" >&5
15135 echo "${ECHO_T}no" >&6
15136 fi
15137
15138 fi
15139 if test -z "$ac_cv_prog_RANLIB"; then
15140 ac_ct_RANLIB=$RANLIB
15141 # Extract the first word of "ranlib", so it can be a program name with args.
15142 set dummy ranlib; ac_word=$2
15143 echo "$as_me:$LINENO: checking for $ac_word" >&5
15144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 if test -n "$ac_ct_RANLIB"; then
15149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15150 else
15151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15152 for as_dir in $PATH
15153 do
15154 IFS=$as_save_IFS
15155 test -z "$as_dir" && as_dir=.
15156 for ac_exec_ext in '' $ac_executable_extensions; do
15157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_prog_ac_ct_RANLIB="ranlib"
15159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 break 2
15161 fi
15162 done
15163 done
15164
15165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15166 fi
15167 fi
15168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15169 if test -n "$ac_ct_RANLIB"; then
15170 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15172 else
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15175 fi
15176
15177 RANLIB=$ac_ct_RANLIB
15178 else
15179 RANLIB="$ac_cv_prog_RANLIB"
15180 fi
15181
15182
15183 if test -n "$ac_tool_prefix"; then
15184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15185 set dummy ${ac_tool_prefix}ar; ac_word=$2
15186 echo "$as_me:$LINENO: checking for $ac_word" >&5
15187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15188 if test "${ac_cv_prog_AR+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 else
15191 if test -n "$AR"; then
15192 ac_cv_prog_AR="$AR" # Let the user override the test.
15193 else
15194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15195 for as_dir in $PATH
15196 do
15197 IFS=$as_save_IFS
15198 test -z "$as_dir" && as_dir=.
15199 for ac_exec_ext in '' $ac_executable_extensions; do
15200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15201 ac_cv_prog_AR="${ac_tool_prefix}ar"
15202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15203 break 2
15204 fi
15205 done
15206 done
15207
15208 fi
15209 fi
15210 AR=$ac_cv_prog_AR
15211 if test -n "$AR"; then
15212 echo "$as_me:$LINENO: result: $AR" >&5
15213 echo "${ECHO_T}$AR" >&6
15214 else
15215 echo "$as_me:$LINENO: result: no" >&5
15216 echo "${ECHO_T}no" >&6
15217 fi
15218
15219 fi
15220 if test -z "$ac_cv_prog_AR"; then
15221 ac_ct_AR=$AR
15222 # Extract the first word of "ar", so it can be a program name with args.
15223 set dummy ar; ac_word=$2
15224 echo "$as_me:$LINENO: checking for $ac_word" >&5
15225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15226 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 if test -n "$ac_ct_AR"; then
15230 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15231 else
15232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15233 for as_dir in $PATH
15234 do
15235 IFS=$as_save_IFS
15236 test -z "$as_dir" && as_dir=.
15237 for ac_exec_ext in '' $ac_executable_extensions; do
15238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15239 ac_cv_prog_ac_ct_AR="ar"
15240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15241 break 2
15242 fi
15243 done
15244 done
15245
15246 fi
15247 fi
15248 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15249 if test -n "$ac_ct_AR"; then
15250 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15251 echo "${ECHO_T}$ac_ct_AR" >&6
15252 else
15253 echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6
15255 fi
15256
15257 AR=$ac_ct_AR
15258 else
15259 AR="$ac_cv_prog_AR"
15260 fi
15261
15262 if test "x$AR" = "x" ; then
15263 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15264 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15265 { (exit 1); exit 1; }; }
15266 fi
15267
15268 # Find a good install program. We prefer a C program (faster),
15269 # so one script is as good as another. But avoid the broken or
15270 # incompatible versions:
15271 # SysV /etc/install, /usr/sbin/install
15272 # SunOS /usr/etc/install
15273 # IRIX /sbin/install
15274 # AIX /bin/install
15275 # AmigaOS /C/install, which installs bootblocks on floppy discs
15276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15279 # OS/2's system install, which has a completely different semantic
15280 # ./install, which can be erroneously created by make from ./install.sh.
15281 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15283 if test -z "$INSTALL"; then
15284 if test "${ac_cv_path_install+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15288 for as_dir in $PATH
15289 do
15290 IFS=$as_save_IFS
15291 test -z "$as_dir" && as_dir=.
15292 # Account for people who put trailing slashes in PATH elements.
15293 case $as_dir/ in
15294 ./ | .// | /cC/* | \
15295 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15296 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15297 /usr/ucb/* ) ;;
15298 *)
15299 # OSF1 and SCO ODT 3.0 have their own names for install.
15300 # Don't use installbsd from OSF since it installs stuff as root
15301 # by default.
15302 for ac_prog in ginstall scoinst install; do
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15305 if test $ac_prog = install &&
15306 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15307 # AIX install. It has an incompatible calling convention.
15308 :
15309 elif test $ac_prog = install &&
15310 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15311 # program-specific install script used by HP pwplus--don't use.
15312 :
15313 else
15314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15315 break 3
15316 fi
15317 fi
15318 done
15319 done
15320 ;;
15321 esac
15322 done
15323
15324
15325 fi
15326 if test "${ac_cv_path_install+set}" = set; then
15327 INSTALL=$ac_cv_path_install
15328 else
15329 # As a last resort, use the slow shell script. We don't cache a
15330 # path for INSTALL within a source directory, because that will
15331 # break other packages using the cache if that directory is
15332 # removed, or if the path is relative.
15333 INSTALL=$ac_install_sh
15334 fi
15335 fi
15336 echo "$as_me:$LINENO: result: $INSTALL" >&5
15337 echo "${ECHO_T}$INSTALL" >&6
15338
15339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15340 # It thinks the first close brace ends the variable substitution.
15341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15342
15343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15344
15345 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15346
15347
15348 case ${INSTALL} in
15349 /* ) # Absolute
15350 ;;
15351 ?:* ) # Drive letter, considered as absolute.
15352 ;;
15353 *)
15354 INSTALL=`pwd`/${INSTALL} ;;
15355 esac
15356
15357
15358 case "${host}" in
15359
15360 *-*-darwin* )
15361 INSTALL_PROGRAM="cp -fp"
15362 INSTALL_DATA="cp -fp"
15363 ;;
15364 *)
15365 ;;
15366 esac
15367
15368 if test -n "$ac_tool_prefix"; then
15369 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15370 set dummy ${ac_tool_prefix}strip; ac_word=$2
15371 echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15373 if test "${ac_cv_prog_STRIP+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376 if test -n "$STRIP"; then
15377 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15378 else
15379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15380 for as_dir in $PATH
15381 do
15382 IFS=$as_save_IFS
15383 test -z "$as_dir" && as_dir=.
15384 for ac_exec_ext in '' $ac_executable_extensions; do
15385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15386 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15388 break 2
15389 fi
15390 done
15391 done
15392
15393 fi
15394 fi
15395 STRIP=$ac_cv_prog_STRIP
15396 if test -n "$STRIP"; then
15397 echo "$as_me:$LINENO: result: $STRIP" >&5
15398 echo "${ECHO_T}$STRIP" >&6
15399 else
15400 echo "$as_me:$LINENO: result: no" >&5
15401 echo "${ECHO_T}no" >&6
15402 fi
15403
15404 fi
15405 if test -z "$ac_cv_prog_STRIP"; then
15406 ac_ct_STRIP=$STRIP
15407 # Extract the first word of "strip", so it can be a program name with args.
15408 set dummy strip; ac_word=$2
15409 echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15411 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 else
15414 if test -n "$ac_ct_STRIP"; then
15415 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15416 else
15417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15419 do
15420 IFS=$as_save_IFS
15421 test -z "$as_dir" && as_dir=.
15422 for ac_exec_ext in '' $ac_executable_extensions; do
15423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_prog_ac_ct_STRIP="strip"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15426 break 2
15427 fi
15428 done
15429 done
15430
15431 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15432 fi
15433 fi
15434 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15435 if test -n "$ac_ct_STRIP"; then
15436 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15437 echo "${ECHO_T}$ac_ct_STRIP" >&6
15438 else
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15441 fi
15442
15443 STRIP=$ac_ct_STRIP
15444 else
15445 STRIP="$ac_cv_prog_STRIP"
15446 fi
15447
15448
15449 if test "$wxUSE_WINE" = "yes"; then
15450 if test -n "$ac_tool_prefix"; then
15451 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15452 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15453 echo "$as_me:$LINENO: checking for $ac_word" >&5
15454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15455 if test "${ac_cv_prog_WINDRES+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 else
15458 if test -n "$WINDRES"; then
15459 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15460 else
15461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15462 for as_dir in $PATH
15463 do
15464 IFS=$as_save_IFS
15465 test -z "$as_dir" && as_dir=.
15466 for ac_exec_ext in '' $ac_executable_extensions; do
15467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15468 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15470 break 2
15471 fi
15472 done
15473 done
15474
15475 fi
15476 fi
15477 WINDRES=$ac_cv_prog_WINDRES
15478 if test -n "$WINDRES"; then
15479 echo "$as_me:$LINENO: result: $WINDRES" >&5
15480 echo "${ECHO_T}$WINDRES" >&6
15481 else
15482 echo "$as_me:$LINENO: result: no" >&5
15483 echo "${ECHO_T}no" >&6
15484 fi
15485
15486 fi
15487 if test -z "$ac_cv_prog_WINDRES"; then
15488 ac_ct_WINDRES=$WINDRES
15489 # Extract the first word of "wrc", so it can be a program name with args.
15490 set dummy wrc; ac_word=$2
15491 echo "$as_me:$LINENO: checking for $ac_word" >&5
15492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15493 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15495 else
15496 if test -n "$ac_ct_WINDRES"; then
15497 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15498 else
15499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15500 for as_dir in $PATH
15501 do
15502 IFS=$as_save_IFS
15503 test -z "$as_dir" && as_dir=.
15504 for ac_exec_ext in '' $ac_executable_extensions; do
15505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15506 ac_cv_prog_ac_ct_WINDRES="wrc"
15507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15508 break 2
15509 fi
15510 done
15511 done
15512
15513 fi
15514 fi
15515 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15516 if test -n "$ac_ct_WINDRES"; then
15517 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15518 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15519 else
15520 echo "$as_me:$LINENO: result: no" >&5
15521 echo "${ECHO_T}no" >&6
15522 fi
15523
15524 WINDRES=$ac_ct_WINDRES
15525 else
15526 WINDRES="$ac_cv_prog_WINDRES"
15527 fi
15528
15529 RESCOMP="$WINDRES"
15530 else
15531 case "${host}" in
15532 *-*-cygwin* | *-*-mingw32* )
15533 if test -n "$ac_tool_prefix"; then
15534 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15535 set dummy ${ac_tool_prefix}windres; ac_word=$2
15536 echo "$as_me:$LINENO: checking for $ac_word" >&5
15537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15538 if test "${ac_cv_prog_WINDRES+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15541 if test -n "$WINDRES"; then
15542 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15543 else
15544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15545 for as_dir in $PATH
15546 do
15547 IFS=$as_save_IFS
15548 test -z "$as_dir" && as_dir=.
15549 for ac_exec_ext in '' $ac_executable_extensions; do
15550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15553 break 2
15554 fi
15555 done
15556 done
15557
15558 fi
15559 fi
15560 WINDRES=$ac_cv_prog_WINDRES
15561 if test -n "$WINDRES"; then
15562 echo "$as_me:$LINENO: result: $WINDRES" >&5
15563 echo "${ECHO_T}$WINDRES" >&6
15564 else
15565 echo "$as_me:$LINENO: result: no" >&5
15566 echo "${ECHO_T}no" >&6
15567 fi
15568
15569 fi
15570 if test -z "$ac_cv_prog_WINDRES"; then
15571 ac_ct_WINDRES=$WINDRES
15572 # Extract the first word of "windres", so it can be a program name with args.
15573 set dummy windres; ac_word=$2
15574 echo "$as_me:$LINENO: checking for $ac_word" >&5
15575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15576 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15578 else
15579 if test -n "$ac_ct_WINDRES"; then
15580 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15581 else
15582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15583 for as_dir in $PATH
15584 do
15585 IFS=$as_save_IFS
15586 test -z "$as_dir" && as_dir=.
15587 for ac_exec_ext in '' $ac_executable_extensions; do
15588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15589 ac_cv_prog_ac_ct_WINDRES="windres"
15590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15591 break 2
15592 fi
15593 done
15594 done
15595
15596 fi
15597 fi
15598 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15599 if test -n "$ac_ct_WINDRES"; then
15600 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15601 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15602 else
15603 echo "$as_me:$LINENO: result: no" >&5
15604 echo "${ECHO_T}no" >&6
15605 fi
15606
15607 WINDRES=$ac_ct_WINDRES
15608 else
15609 WINDRES="$ac_cv_prog_WINDRES"
15610 fi
15611
15612 RESCOMP="$WINDRES"
15613 if test -n "$ac_tool_prefix"; then
15614 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15615 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15616 echo "$as_me:$LINENO: checking for $ac_word" >&5
15617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15618 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 if test -n "$DLLTOOL"; then
15622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15623 else
15624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15625 for as_dir in $PATH
15626 do
15627 IFS=$as_save_IFS
15628 test -z "$as_dir" && as_dir=.
15629 for ac_exec_ext in '' $ac_executable_extensions; do
15630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15631 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15633 break 2
15634 fi
15635 done
15636 done
15637
15638 fi
15639 fi
15640 DLLTOOL=$ac_cv_prog_DLLTOOL
15641 if test -n "$DLLTOOL"; then
15642 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15643 echo "${ECHO_T}$DLLTOOL" >&6
15644 else
15645 echo "$as_me:$LINENO: result: no" >&5
15646 echo "${ECHO_T}no" >&6
15647 fi
15648
15649 fi
15650 if test -z "$ac_cv_prog_DLLTOOL"; then
15651 ac_ct_DLLTOOL=$DLLTOOL
15652 # Extract the first word of "dlltool", so it can be a program name with args.
15653 set dummy dlltool; ac_word=$2
15654 echo "$as_me:$LINENO: checking for $ac_word" >&5
15655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15656 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 if test -n "$ac_ct_DLLTOOL"; then
15660 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15661 else
15662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15663 for as_dir in $PATH
15664 do
15665 IFS=$as_save_IFS
15666 test -z "$as_dir" && as_dir=.
15667 for ac_exec_ext in '' $ac_executable_extensions; do
15668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15669 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15671 break 2
15672 fi
15673 done
15674 done
15675
15676 fi
15677 fi
15678 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15679 if test -n "$ac_ct_DLLTOOL"; then
15680 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15681 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15682 else
15683 echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6
15685 fi
15686
15687 DLLTOOL=$ac_ct_DLLTOOL
15688 else
15689 DLLTOOL="$ac_cv_prog_DLLTOOL"
15690 fi
15691
15692 ;;
15693 esac
15694 fi
15695
15696 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15697 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15698 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 else
15701
15702 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15703 egrep -s GNU > /dev/null); then
15704 wx_cv_prog_makeisgnu="yes"
15705 else
15706 wx_cv_prog_makeisgnu="no"
15707 fi
15708
15709 fi
15710 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15711 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15712
15713 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15714 IF_GNU_MAKE=""
15715 else
15716 IF_GNU_MAKE="#"
15717 fi
15718
15719
15720
15721 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15722 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15723 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15724 if test "${wx_cv_prog_makevpath+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727
15728 cat - << EOF > confMake
15729 check : file
15730 cp \$? \$@
15731 cp \$? final_file
15732 EOF
15733
15734 if test ! -d sub ; then
15735 mkdir sub
15736 fi
15737 echo dummy > sub/file
15738 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15739 RESULT=$?
15740 rm -f sub/file check final_file confMake
15741 rmdir sub
15742 if test "$RESULT" = 0; then
15743 wx_cv_prog_makevpath="yes"
15744 else
15745 wx_cv_prog_makevpath="no"
15746 fi
15747
15748 fi
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15751
15752 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15753 { { echo "$as_me:$LINENO: error:
15754 You need a make-utility that is able to use the variable
15755 VPATH correctly.
15756 If your version of make does not support VPATH correctly,
15757 please install GNU-make (possibly as gmake), and start
15758 configure with the following command:
15759 export MAKE=gmake; ./configure for sh-type shells
15760 setenv MAKE gmake; ./configure for csh-type shells
15761 Also please do remember to use gmake in this case every time
15762 you are trying to compile.
15763 " >&5
15764 echo "$as_me: error:
15765 You need a make-utility that is able to use the variable
15766 VPATH correctly.
15767 If your version of make does not support VPATH correctly,
15768 please install GNU-make (possibly as gmake), and start
15769 configure with the following command:
15770 export MAKE=gmake; ./configure for sh-type shells
15771 setenv MAKE gmake; ./configure for csh-type shells
15772 Also please do remember to use gmake in this case every time
15773 you are trying to compile.
15774 " >&2;}
15775 { (exit 1); exit 1; }; }
15776 fi fi
15777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15779 LN_S=$as_ln_s
15780 if test "$LN_S" = "ln -s"; then
15781 echo "$as_me:$LINENO: result: yes" >&5
15782 echo "${ECHO_T}yes" >&6
15783 else
15784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15785 echo "${ECHO_T}no, using $LN_S" >&6
15786 fi
15787
15788
15789
15790
15791 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15792 CXXFLAGS="-qunique $CXXFLAGS"
15793 fi
15794
15795 case "${host}" in
15796 powerpc-*-darwin* )
15797 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15798 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15799 cat >conftest.$ac_ext <<_ACEOF
15800 /* confdefs.h. */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805
15806 int
15807 main ()
15808 {
15809 #ifndef __POWERPC__
15810 choke me for lack of PowerPC
15811 #endif
15812
15813 ;
15814 return 0;
15815 }
15816 _ACEOF
15817 rm -f conftest.$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15829 ac_status=$?
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 echo "$as_me:$LINENO: result: yes" >&5
15839 echo "${ECHO_T}yes" >&6
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6
15846 cat >>confdefs.h <<\_ACEOF
15847 #define __POWERPC__ 1
15848 _ACEOF
15849
15850
15851 fi
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15853 ;;
15854 esac
15855
15856 case "${host}" in
15857 *-*-darwin* )
15858 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15859 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h. */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 #include <CoreFoundation/CFBase.h>
15867
15868 int
15869 main ()
15870 {
15871
15872 ;
15873 return 0;
15874 }
15875 _ACEOF
15876 rm -f conftest.$ac_objext
15877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15878 (eval $ac_compile) 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 echo "$as_me:$LINENO: result: yes" >&5
15898 echo "${ECHO_T}yes" >&6
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15902
15903 echo "$as_me:$LINENO: result: no" >&5
15904 echo "${ECHO_T}no" >&6
15905 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15906 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 #define __CF_USE_FRAMEWORK_INCLUDES__
15914 #include <CoreFoundation/CFBase.h>
15915
15916 int
15917 main ()
15918 {
15919
15920 ;
15921 return 0;
15922 }
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try='test -s conftest.$ac_objext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 echo "$as_me:$LINENO: result: yes" >&5
15946 echo "${ECHO_T}yes" >&6
15947 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15948 else
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.$ac_ext >&5
15951
15952 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15953 See \`config.log' for more details." >&5
15954 echo "$as_me: error: no. CoreFoundation not available.
15955 See \`config.log' for more details." >&2;}
15956 { (exit 1); exit 1; }; }
15957
15958 fi
15959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15960
15961
15962 fi
15963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15964 ;;
15965 esac
15966
15967 wants_win32=0
15968 doesnt_want_win32=0
15969 case "${host}" in
15970 *-*-cygwin*)
15971 if test "$wxUSE_MSW" = 1 ; then
15972 wants_win32=1
15973 else
15974 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15975 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15976 if test "${wx_cv_nocygwin+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979
15980 cat >conftest.$ac_ext <<_ACEOF
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986
15987 int
15988 main ()
15989 {
15990
15991 #ifdef __MINGW32__
15992 choke me
15993 #endif
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16002 ac_status=$?
16003 grep -v '^ *+' conftest.er1 >conftest.err
16004 rm -f conftest.er1
16005 cat conftest.err >&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 wx_cv_nocygwin=no
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16024
16025 wx_cv_nocygwin=yes
16026
16027 fi
16028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16029
16030
16031 fi
16032 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16033 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16034
16035 if test "$wx_cv_nocygwin" = "yes"; then
16036 wants_win32=1
16037 else
16038 doesnt_want_win32=1
16039 fi
16040 fi
16041 if test "$wants_win32" = 1 ; then
16042 BAKEFILE_FORCE_PLATFORM=win32
16043 fi
16044 ;;
16045 *-*-mingw*)
16046 wants_win32=1
16047 ;;
16048 esac
16049
16050 if test "$wxUSE_WINE" = "yes"; then
16051 wants_win32=1
16052 CC=winegcc
16053 CXX=wineg++
16054 LDFLAGS_GUI="-mwindows"
16055 fi
16056
16057 if test "$wants_win32" = 1 ; then
16058 USE_UNIX=0
16059 USE_WIN32=1
16060 cat >>confdefs.h <<\_ACEOF
16061 #define __WIN32__ 1
16062 _ACEOF
16063
16064 cat >>confdefs.h <<\_ACEOF
16065 #define __WIN95__ 1
16066 _ACEOF
16067
16068 cat >>confdefs.h <<\_ACEOF
16069 #define __WINDOWS__ 1
16070 _ACEOF
16071
16072 cat >>confdefs.h <<\_ACEOF
16073 #define __GNUWIN32__ 1
16074 _ACEOF
16075
16076 cat >>confdefs.h <<\_ACEOF
16077 #define STRICT 1
16078 _ACEOF
16079
16080 fi
16081 if test "$doesnt_want_win32" = 1 ; then
16082 USE_UNIX=1
16083 USE_WIN32=0
16084 fi
16085
16086 if test "$USE_UNIX" = 1 ; then
16087 wxUSE_UNIX=yes
16088 cat >>confdefs.h <<\_ACEOF
16089 #define __UNIX__ 1
16090 _ACEOF
16091
16092 fi
16093
16094 case "${host}" in
16095 *-pc-os2_emx | *-pc-os2-emx )
16096 ac_ext=c
16097 ac_cpp='$CPP $CPPFLAGS'
16098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16101
16102 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16103 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16104 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16105 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 ac_check_lib_save_LIBS=$LIBS
16109 LIBS="-lcExt $LIBS"
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116
16117 /* Override any gcc2 internal prototype to avoid an error. */
16118 #ifdef __cplusplus
16119 extern "C"
16120 #endif
16121 /* We use char because int might match the return type of a gcc2
16122 builtin and then its argument prototype would still apply. */
16123 char drand48 ();
16124 int
16125 main ()
16126 {
16127 drand48 ();
16128 ;
16129 return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try='test -s conftest$ac_exeext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_lib_cExt_drand48=yes
16154 else
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16157
16158 ac_cv_lib_cExt_drand48=no
16159 fi
16160 rm -f conftest.err conftest.$ac_objext \
16161 conftest$ac_exeext conftest.$ac_ext
16162 LIBS=$ac_check_lib_save_LIBS
16163 fi
16164 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16165 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16166 if test $ac_cv_lib_cExt_drand48 = yes; then
16167 LIBS="$LIBS -lcExt"
16168 fi
16169
16170 else
16171 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16172 fi
16173 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16174 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16175 if test "${wx_cv_gccversion+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 else
16178
16179 if test "$cross_compiling" = yes; then
16180 wx_cv_gccversion="EMX2"
16181
16182 else
16183 cat >conftest.$ac_ext <<_ACEOF
16184 /* confdefs.h. */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189
16190 #include <stdio.h>
16191
16192 int main()
16193 {
16194 FILE *f=fopen("conftestval", "w");
16195 if (!f) exit(1);
16196 fprintf(f,
16197 #if (__GNUC__ < 3)
16198 "EMX2"
16199 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16200 "EMX3"
16201 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16202 "Innotek5"
16203 #else
16204 "Innotek6"
16205 #endif
16206 );
16207 exit(0);
16208 }
16209
16210 _ACEOF
16211 rm -f conftest$ac_exeext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16213 (eval $ac_link) 2>&5
16214 ac_status=$?
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 wx_cv_gccversion=`cat conftestval`
16223 else
16224 echo "$as_me: program exited with status $ac_status" >&5
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.$ac_ext >&5
16227
16228 ( exit $ac_status )
16229 wx_cv_gccversion="EMX2"
16230 fi
16231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16232 fi
16233
16234 fi
16235 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16236 echo "${ECHO_T}$wx_cv_gccversion" >&6
16237 ac_ext=cc
16238 ac_cpp='$CXXCPP $CPPFLAGS'
16239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16242
16243 if test "$wx_cv_gccversion" = "EMX2"; then
16244 LIBS="$LIBS -lstdcpp"
16245 LDFLAGS="$LDFLAGS -Zsysv-signals"
16246 else
16247 if test "$wx_cv_gccversion" = "EMX3"; then
16248 LIBS="$LIBS -lstdcxx -lgcc"
16249 LDFLAGS="$LDFLAGS -Zsysv-signals"
16250 else
16251 LIBS="$LIBS -lstdc++"
16252 fi
16253 fi
16254 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16255 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16256 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16257 wxUSE_OMF=yes
16258 enable_omf=yes
16259 fi
16260 ;;
16261 *)
16262
16263 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16264 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16265 if test "${ac_cv_string_strcasecmp+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16268
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275
16276 #include <string.h>
16277
16278 int
16279 main ()
16280 {
16281
16282 strcasecmp("foo", "bar");
16283
16284 ;
16285 return 0;
16286 }
16287 _ACEOF
16288 rm -f conftest.$ac_objext conftest$ac_exeext
16289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290 (eval $ac_link) 2>conftest.er1
16291 ac_status=$?
16292 grep -v '^ *+' conftest.er1 >conftest.err
16293 rm -f conftest.er1
16294 cat conftest.err >&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } &&
16297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest$ac_exeext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_cv_string_strcasecmp=yes
16310 else
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16313
16314 ac_cv_string_strcasecmp=no
16315
16316 fi
16317 rm -f conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319
16320 fi
16321 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16322 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16323
16324 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16325 cat >>confdefs.h <<\_ACEOF
16326 #define HAVE_STRCASECMP_IN_STRING_H 1
16327 _ACEOF
16328
16329 else
16330 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16331 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16332 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 else
16335
16336 cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h. */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342
16343 #include <strings.h>
16344
16345 int
16346 main ()
16347 {
16348
16349 strcasecmp("foo", "bar");
16350
16351 ;
16352 return 0;
16353 }
16354 _ACEOF
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>conftest.er1
16358 ac_status=$?
16359 grep -v '^ *+' conftest.er1 >conftest.err
16360 rm -f conftest.er1
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; } &&
16370 { ac_try='test -s conftest$ac_exeext'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16376 ac_cv_strings_strcasecmp=yes
16377 else
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16380
16381 ac_cv_strings_strcasecmp=no
16382
16383 fi
16384 rm -f conftest.err conftest.$ac_objext \
16385 conftest$ac_exeext conftest.$ac_ext
16386
16387 fi
16388 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16389 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16390
16391 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16392 cat >>confdefs.h <<\_ACEOF
16393 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16394 _ACEOF
16395
16396 else
16397 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16398 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16399 { (exit 1); exit 1; }; }
16400 fi
16401 fi
16402
16403 ;;
16404 esac
16405
16406
16407 ac_ext=cc
16408 ac_cpp='$CXXCPP $CPPFLAGS'
16409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16412 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16413 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16414 if test -z "$CXXCPP"; then
16415 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16417 else
16418 # Double quotes because CXXCPP needs to be expanded
16419 for CXXCPP in "$CXX -E" "/lib/cpp"
16420 do
16421 ac_preproc_ok=false
16422 for ac_cxx_preproc_warn_flag in '' yes
16423 do
16424 # Use a header file that comes with gcc, so configuring glibc
16425 # with a fresh cross-compiler works.
16426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427 # <limits.h> exists even on freestanding compilers.
16428 # On the NeXT, cc -E runs the code through the compiler's parser,
16429 # not just through cpp. "Syntax error" is here to catch this case.
16430 cat >conftest.$ac_ext <<_ACEOF
16431 /* confdefs.h. */
16432 _ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 #ifdef __STDC__
16437 # include <limits.h>
16438 #else
16439 # include <assert.h>
16440 #endif
16441 Syntax error
16442 _ACEOF
16443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16445 ac_status=$?
16446 grep -v '^ *+' conftest.er1 >conftest.err
16447 rm -f conftest.er1
16448 cat conftest.err >&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } >/dev/null; then
16451 if test -s conftest.err; then
16452 ac_cpp_err=$ac_cxx_preproc_warn_flag
16453 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16454 else
16455 ac_cpp_err=
16456 fi
16457 else
16458 ac_cpp_err=yes
16459 fi
16460 if test -z "$ac_cpp_err"; then
16461 :
16462 else
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16465
16466 # Broken: fails on valid input.
16467 continue
16468 fi
16469 rm -f conftest.err conftest.$ac_ext
16470
16471 # OK, works on sane cases. Now check whether non-existent headers
16472 # can be detected and how.
16473 cat >conftest.$ac_ext <<_ACEOF
16474 /* confdefs.h. */
16475 _ACEOF
16476 cat confdefs.h >>conftest.$ac_ext
16477 cat >>conftest.$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <ac_nonexistent.h>
16480 _ACEOF
16481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16483 ac_status=$?
16484 grep -v '^ *+' conftest.er1 >conftest.err
16485 rm -f conftest.er1
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } >/dev/null; then
16489 if test -s conftest.err; then
16490 ac_cpp_err=$ac_cxx_preproc_warn_flag
16491 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16492 else
16493 ac_cpp_err=
16494 fi
16495 else
16496 ac_cpp_err=yes
16497 fi
16498 if test -z "$ac_cpp_err"; then
16499 # Broken: success on invalid input.
16500 continue
16501 else
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.$ac_ext >&5
16504
16505 # Passes both tests.
16506 ac_preproc_ok=:
16507 break
16508 fi
16509 rm -f conftest.err conftest.$ac_ext
16510
16511 done
16512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16513 rm -f conftest.err conftest.$ac_ext
16514 if $ac_preproc_ok; then
16515 break
16516 fi
16517
16518 done
16519 ac_cv_prog_CXXCPP=$CXXCPP
16520
16521 fi
16522 CXXCPP=$ac_cv_prog_CXXCPP
16523 else
16524 ac_cv_prog_CXXCPP=$CXXCPP
16525 fi
16526 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16527 echo "${ECHO_T}$CXXCPP" >&6
16528 ac_preproc_ok=false
16529 for ac_cxx_preproc_warn_flag in '' yes
16530 do
16531 # Use a header file that comes with gcc, so configuring glibc
16532 # with a fresh cross-compiler works.
16533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16534 # <limits.h> exists even on freestanding compilers.
16535 # On the NeXT, cc -E runs the code through the compiler's parser,
16536 # not just through cpp. "Syntax error" is here to catch this case.
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 #ifdef __STDC__
16544 # include <limits.h>
16545 #else
16546 # include <assert.h>
16547 #endif
16548 Syntax error
16549 _ACEOF
16550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } >/dev/null; then
16558 if test -s conftest.err; then
16559 ac_cpp_err=$ac_cxx_preproc_warn_flag
16560 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16561 else
16562 ac_cpp_err=
16563 fi
16564 else
16565 ac_cpp_err=yes
16566 fi
16567 if test -z "$ac_cpp_err"; then
16568 :
16569 else
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.$ac_ext >&5
16572
16573 # Broken: fails on valid input.
16574 continue
16575 fi
16576 rm -f conftest.err conftest.$ac_ext
16577
16578 # OK, works on sane cases. Now check whether non-existent headers
16579 # can be detected and how.
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 #include <ac_nonexistent.h>
16587 _ACEOF
16588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } >/dev/null; then
16596 if test -s conftest.err; then
16597 ac_cpp_err=$ac_cxx_preproc_warn_flag
16598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16599 else
16600 ac_cpp_err=
16601 fi
16602 else
16603 ac_cpp_err=yes
16604 fi
16605 if test -z "$ac_cpp_err"; then
16606 # Broken: success on invalid input.
16607 continue
16608 else
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16611
16612 # Passes both tests.
16613 ac_preproc_ok=:
16614 break
16615 fi
16616 rm -f conftest.err conftest.$ac_ext
16617
16618 done
16619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16620 rm -f conftest.err conftest.$ac_ext
16621 if $ac_preproc_ok; then
16622 :
16623 else
16624 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16625 See \`config.log' for more details." >&5
16626 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16627 See \`config.log' for more details." >&2;}
16628 { (exit 1); exit 1; }; }
16629 fi
16630
16631 ac_ext=cc
16632 ac_cpp='$CXXCPP $CPPFLAGS'
16633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16636
16637
16638 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16639 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16640 if test "${ac_cv_header_stdc+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 else
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdlib.h>
16650 #include <stdarg.h>
16651 #include <string.h>
16652 #include <float.h>
16653
16654 int
16655 main ()
16656 {
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16664 (eval $ac_compile) 2>conftest.er1
16665 ac_status=$?
16666 grep -v '^ *+' conftest.er1 >conftest.err
16667 rm -f conftest.er1
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 ac_cv_header_stdc=yes
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16687
16688 ac_cv_header_stdc=no
16689 fi
16690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16691
16692 if test $ac_cv_header_stdc = yes; then
16693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #include <string.h>
16701
16702 _ACEOF
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "memchr" >/dev/null 2>&1; then
16705 :
16706 else
16707 ac_cv_header_stdc=no
16708 fi
16709 rm -f conftest*
16710
16711 fi
16712
16713 if test $ac_cv_header_stdc = yes; then
16714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <stdlib.h>
16722
16723 _ACEOF
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725 $EGREP "free" >/dev/null 2>&1; then
16726 :
16727 else
16728 ac_cv_header_stdc=no
16729 fi
16730 rm -f conftest*
16731
16732 fi
16733
16734 if test $ac_cv_header_stdc = yes; then
16735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16736 if test "$cross_compiling" = yes; then
16737 :
16738 else
16739 cat >conftest.$ac_ext <<_ACEOF
16740 /* confdefs.h. */
16741 _ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 #include <ctype.h>
16746 #if ((' ' & 0x0FF) == 0x020)
16747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16749 #else
16750 # define ISLOWER(c) \
16751 (('a' <= (c) && (c) <= 'i') \
16752 || ('j' <= (c) && (c) <= 'r') \
16753 || ('s' <= (c) && (c) <= 'z'))
16754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16755 #endif
16756
16757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16758 int
16759 main ()
16760 {
16761 int i;
16762 for (i = 0; i < 256; i++)
16763 if (XOR (islower (i), ISLOWER (i))
16764 || toupper (i) != TOUPPER (i))
16765 exit(2);
16766 exit (0);
16767 }
16768 _ACEOF
16769 rm -f conftest$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 :
16781 else
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16785
16786 ( exit $ac_status )
16787 ac_cv_header_stdc=no
16788 fi
16789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16790 fi
16791 fi
16792 fi
16793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16795 if test $ac_cv_header_stdc = yes; then
16796
16797 cat >>confdefs.h <<\_ACEOF
16798 #define STDC_HEADERS 1
16799 _ACEOF
16800
16801 fi
16802
16803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16814 inttypes.h stdint.h unistd.h
16815 do
16816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16817 echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 else
16822 cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h. */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16829
16830 #include <$ac_header>
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 eval "$as_ac_Header=yes"
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 eval "$as_ac_Header=no"
16859 fi
16860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16861 fi
16862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h <<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16867 _ACEOF
16868
16869 fi
16870
16871 done
16872
16873
16874
16875 for ac_header in stdlib.h
16876 do
16877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16879 echo "$as_me:$LINENO: checking for $ac_header" >&5
16880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 fi
16884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16886 else
16887 # Is the header compilable?
16888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16897 #include <$ac_header>
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_header_compiler=yes
16921 else
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 ac_header_compiler=no
16926 fi
16927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16929 echo "${ECHO_T}$ac_header_compiler" >&6
16930
16931 # Is the header present?
16932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16934 cat >conftest.$ac_ext <<_ACEOF
16935 /* confdefs.h. */
16936 _ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 #include <$ac_header>
16941 _ACEOF
16942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } >/dev/null; then
16950 if test -s conftest.err; then
16951 ac_cpp_err=$ac_cxx_preproc_warn_flag
16952 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16953 else
16954 ac_cpp_err=
16955 fi
16956 else
16957 ac_cpp_err=yes
16958 fi
16959 if test -z "$ac_cpp_err"; then
16960 ac_header_preproc=yes
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 ac_header_preproc=no
16966 fi
16967 rm -f conftest.err conftest.$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16969 echo "${ECHO_T}$ac_header_preproc" >&6
16970
16971 # So? What about this header?
16972 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16973 yes:no: )
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16978 ac_header_preproc=yes
16979 ;;
16980 no:yes:* )
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16993 (
16994 cat <<\_ASBOX
16995 ## ----------------------------------------- ##
16996 ## Report this to wx-dev@lists.wxwidgets.org ##
16997 ## ----------------------------------------- ##
16998 _ASBOX
16999 ) |
17000 sed "s/^/$as_me: WARNING: /" >&2
17001 ;;
17002 esac
17003 echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 eval "$as_ac_Header=\$ac_header_preproc"
17009 fi
17010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17012
17013 fi
17014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17015 cat >>confdefs.h <<_ACEOF
17016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17017 _ACEOF
17018
17019 fi
17020
17021 done
17022
17023
17024 for ac_header in malloc.h
17025 do
17026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17028 echo "$as_me:$LINENO: checking for $ac_header" >&5
17029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 fi
17033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17035 else
17036 # Is the header compilable?
17037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17046 #include <$ac_header>
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17066 ac_status=$?
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_header_compiler=yes
17070 else
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 ac_header_compiler=no
17075 fi
17076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17078 echo "${ECHO_T}$ac_header_compiler" >&6
17079
17080 # Is the header present?
17081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17090 _ACEOF
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev/null; then
17099 if test -s conftest.err; then
17100 ac_cpp_err=$ac_cxx_preproc_warn_flag
17101 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17102 else
17103 ac_cpp_err=
17104 fi
17105 else
17106 ac_cpp_err=yes
17107 fi
17108 if test -z "$ac_cpp_err"; then
17109 ac_header_preproc=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 ac_header_preproc=no
17115 fi
17116 rm -f conftest.err conftest.$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17118 echo "${ECHO_T}$ac_header_preproc" >&6
17119
17120 # So? What about this header?
17121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17122 yes:no: )
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17127 ac_header_preproc=yes
17128 ;;
17129 no:yes:* )
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17142 (
17143 cat <<\_ASBOX
17144 ## ----------------------------------------- ##
17145 ## Report this to wx-dev@lists.wxwidgets.org ##
17146 ## ----------------------------------------- ##
17147 _ASBOX
17148 ) |
17149 sed "s/^/$as_me: WARNING: /" >&2
17150 ;;
17151 esac
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 eval "$as_ac_Header=\$ac_header_preproc"
17158 fi
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17161
17162 fi
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h <<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17166 _ACEOF
17167
17168 fi
17169
17170 done
17171
17172
17173 for ac_header in unistd.h
17174 do
17175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo "$as_me:$LINENO: checking for $ac_header" >&5
17178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 fi
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17184 else
17185 # Is the header compilable?
17186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17195 #include <$ac_header>
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17199 (eval $ac_compile) 2>conftest.er1
17200 ac_status=$?
17201 grep -v '^ *+' conftest.er1 >conftest.err
17202 rm -f conftest.er1
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; } &&
17212 { ac_try='test -s conftest.$ac_objext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 ac_header_compiler=yes
17219 else
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17222
17223 ac_header_compiler=no
17224 fi
17225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17227 echo "${ECHO_T}$ac_header_compiler" >&6
17228
17229 # Is the header present?
17230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 #include <$ac_header>
17239 _ACEOF
17240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17242 ac_status=$?
17243 grep -v '^ *+' conftest.er1 >conftest.err
17244 rm -f conftest.er1
17245 cat conftest.err >&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } >/dev/null; then
17248 if test -s conftest.err; then
17249 ac_cpp_err=$ac_cxx_preproc_warn_flag
17250 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17251 else
17252 ac_cpp_err=
17253 fi
17254 else
17255 ac_cpp_err=yes
17256 fi
17257 if test -z "$ac_cpp_err"; then
17258 ac_header_preproc=yes
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17262
17263 ac_header_preproc=no
17264 fi
17265 rm -f conftest.err conftest.$ac_ext
17266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17267 echo "${ECHO_T}$ac_header_preproc" >&6
17268
17269 # So? What about this header?
17270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17271 yes:no: )
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17276 ac_header_preproc=yes
17277 ;;
17278 no:yes:* )
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17291 (
17292 cat <<\_ASBOX
17293 ## ----------------------------------------- ##
17294 ## Report this to wx-dev@lists.wxwidgets.org ##
17295 ## ----------------------------------------- ##
17296 _ASBOX
17297 ) |
17298 sed "s/^/$as_me: WARNING: /" >&2
17299 ;;
17300 esac
17301 echo "$as_me:$LINENO: checking for $ac_header" >&5
17302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306 eval "$as_ac_Header=\$ac_header_preproc"
17307 fi
17308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17310
17311 fi
17312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17313 cat >>confdefs.h <<_ACEOF
17314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17315 _ACEOF
17316
17317 fi
17318
17319 done
17320
17321
17322 for ac_header in wchar.h
17323 do
17324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17326 echo "$as_me:$LINENO: checking for $ac_header" >&5
17327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 fi
17331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17333 else
17334 # Is the header compilable?
17335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 #include <$ac_header>
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_header_compiler=yes
17368 else
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_header_compiler=no
17373 fi
17374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17376 echo "${ECHO_T}$ac_header_compiler" >&6
17377
17378 # Is the header present?
17379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <$ac_header>
17388 _ACEOF
17389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } >/dev/null; then
17397 if test -s conftest.err; then
17398 ac_cpp_err=$ac_cxx_preproc_warn_flag
17399 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17400 else
17401 ac_cpp_err=
17402 fi
17403 else
17404 ac_cpp_err=yes
17405 fi
17406 if test -z "$ac_cpp_err"; then
17407 ac_header_preproc=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_header_preproc=no
17413 fi
17414 rm -f conftest.err conftest.$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17416 echo "${ECHO_T}$ac_header_preproc" >&6
17417
17418 # So? What about this header?
17419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17420 yes:no: )
17421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17425 ac_header_preproc=yes
17426 ;;
17427 no:yes:* )
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17440 (
17441 cat <<\_ASBOX
17442 ## ----------------------------------------- ##
17443 ## Report this to wx-dev@lists.wxwidgets.org ##
17444 ## ----------------------------------------- ##
17445 _ASBOX
17446 ) |
17447 sed "s/^/$as_me: WARNING: /" >&2
17448 ;;
17449 esac
17450 echo "$as_me:$LINENO: checking for $ac_header" >&5
17451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 else
17455 eval "$as_ac_Header=\$ac_header_preproc"
17456 fi
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17459
17460 fi
17461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17462 cat >>confdefs.h <<_ACEOF
17463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17464 _ACEOF
17465
17466 fi
17467
17468 done
17469
17470
17471 if test "$ac_cv_header_wchar_h" != "yes"; then
17472
17473 for ac_header in wcstr.h
17474 do
17475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17477 echo "$as_me:$LINENO: checking for $ac_header" >&5
17478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 fi
17482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17484 else
17485 # Is the header compilable?
17486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17488 cat >conftest.$ac_ext <<_ACEOF
17489 /* confdefs.h. */
17490 _ACEOF
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17495 #include <$ac_header>
17496 _ACEOF
17497 rm -f conftest.$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17500 ac_status=$?
17501 grep -v '^ *+' conftest.er1 >conftest.err
17502 rm -f conftest.er1
17503 cat conftest.err >&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518 ac_header_compiler=yes
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17522
17523 ac_header_compiler=no
17524 fi
17525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17527 echo "${ECHO_T}$ac_header_compiler" >&6
17528
17529 # Is the header present?
17530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <$ac_header>
17539 _ACEOF
17540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } >/dev/null; then
17548 if test -s conftest.err; then
17549 ac_cpp_err=$ac_cxx_preproc_warn_flag
17550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17551 else
17552 ac_cpp_err=
17553 fi
17554 else
17555 ac_cpp_err=yes
17556 fi
17557 if test -z "$ac_cpp_err"; then
17558 ac_header_preproc=yes
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 ac_header_preproc=no
17564 fi
17565 rm -f conftest.err conftest.$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17567 echo "${ECHO_T}$ac_header_preproc" >&6
17568
17569 # So? What about this header?
17570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17571 yes:no: )
17572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17576 ac_header_preproc=yes
17577 ;;
17578 no:yes:* )
17579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17591 (
17592 cat <<\_ASBOX
17593 ## ----------------------------------------- ##
17594 ## Report this to wx-dev@lists.wxwidgets.org ##
17595 ## ----------------------------------------- ##
17596 _ASBOX
17597 ) |
17598 sed "s/^/$as_me: WARNING: /" >&2
17599 ;;
17600 esac
17601 echo "$as_me:$LINENO: checking for $ac_header" >&5
17602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 else
17606 eval "$as_ac_Header=\$ac_header_preproc"
17607 fi
17608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17610
17611 fi
17612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17613 cat >>confdefs.h <<_ACEOF
17614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17615 _ACEOF
17616
17617 fi
17618
17619 done
17620
17621 fi
17622
17623
17624 for ac_header in fnmatch.h
17625 do
17626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17628 echo "$as_me:$LINENO: checking for $ac_header" >&5
17629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17632 fi
17633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17635 else
17636 # Is the header compilable?
17637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 #include <$ac_header>
17647 _ACEOF
17648 rm -f conftest.$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 ac_header_compiler=yes
17670 else
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.$ac_ext >&5
17673
17674 ac_header_compiler=no
17675 fi
17676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17678 echo "${ECHO_T}$ac_header_compiler" >&6
17679
17680 # Is the header present?
17681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 #include <$ac_header>
17690 _ACEOF
17691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } >/dev/null; then
17699 if test -s conftest.err; then
17700 ac_cpp_err=$ac_cxx_preproc_warn_flag
17701 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17702 else
17703 ac_cpp_err=
17704 fi
17705 else
17706 ac_cpp_err=yes
17707 fi
17708 if test -z "$ac_cpp_err"; then
17709 ac_header_preproc=yes
17710 else
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17713
17714 ac_header_preproc=no
17715 fi
17716 rm -f conftest.err conftest.$ac_ext
17717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17718 echo "${ECHO_T}$ac_header_preproc" >&6
17719
17720 # So? What about this header?
17721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17722 yes:no: )
17723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17727 ac_header_preproc=yes
17728 ;;
17729 no:yes:* )
17730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17742 (
17743 cat <<\_ASBOX
17744 ## ----------------------------------------- ##
17745 ## Report this to wx-dev@lists.wxwidgets.org ##
17746 ## ----------------------------------------- ##
17747 _ASBOX
17748 ) |
17749 sed "s/^/$as_me: WARNING: /" >&2
17750 ;;
17751 esac
17752 echo "$as_me:$LINENO: checking for $ac_header" >&5
17753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 else
17757 eval "$as_ac_Header=\$ac_header_preproc"
17758 fi
17759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17761
17762 fi
17763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17766 _ACEOF
17767
17768 fi
17769
17770 done
17771
17772
17773
17774 for ac_header in langinfo.h
17775 do
17776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo "$as_me:$LINENO: checking for $ac_header" >&5
17779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
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 else
17786 # Is the header compilable?
17787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17789 cat >conftest.$ac_ext <<_ACEOF
17790 /* confdefs.h. */
17791 _ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 $ac_includes_default
17796 #include <$ac_header>
17797 _ACEOF
17798 rm -f conftest.$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17819 ac_header_compiler=yes
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 ac_header_compiler=no
17825 fi
17826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17828 echo "${ECHO_T}$ac_header_compiler" >&6
17829
17830 # Is the header present?
17831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #include <$ac_header>
17840 _ACEOF
17841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } >/dev/null; then
17849 if test -s conftest.err; then
17850 ac_cpp_err=$ac_cxx_preproc_warn_flag
17851 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17852 else
17853 ac_cpp_err=
17854 fi
17855 else
17856 ac_cpp_err=yes
17857 fi
17858 if test -z "$ac_cpp_err"; then
17859 ac_header_preproc=yes
17860 else
17861 echo "$as_me: failed program was:" >&5
17862 sed 's/^/| /' conftest.$ac_ext >&5
17863
17864 ac_header_preproc=no
17865 fi
17866 rm -f conftest.err conftest.$ac_ext
17867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17868 echo "${ECHO_T}$ac_header_preproc" >&6
17869
17870 # So? What about this header?
17871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17872 yes:no: )
17873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17877 ac_header_preproc=yes
17878 ;;
17879 no:yes:* )
17880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17892 (
17893 cat <<\_ASBOX
17894 ## ----------------------------------------- ##
17895 ## Report this to wx-dev@lists.wxwidgets.org ##
17896 ## ----------------------------------------- ##
17897 _ASBOX
17898 ) |
17899 sed "s/^/$as_me: WARNING: /" >&2
17900 ;;
17901 esac
17902 echo "$as_me:$LINENO: checking for $ac_header" >&5
17903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17906 else
17907 eval "$as_ac_Header=\$ac_header_preproc"
17908 fi
17909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17911
17912 fi
17913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17914 cat >>confdefs.h <<_ACEOF
17915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17916 _ACEOF
17917
17918 fi
17919
17920 done
17921
17922
17923 case "${host}" in
17924 *-pc-os2_emx | *-pc-os2-emx )
17925 if test $ac_cv_header_langinfo_h = "yes" \
17926 -a \( "$wx_cv_gccversion" = "EMX2" \
17927 -o "$wx_cv_gccversion" = "EMX3" \
17928 -o "$wx_cv_gccversion" = "Innotek5" \); then
17929 LIBS="$LIBS -lintl"
17930 fi
17931 ;;
17932 esac
17933
17934 if test "$USE_UNIX" = 1 ; then
17935
17936 for ac_header in sys/select.h
17937 do
17938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo "$as_me:$LINENO: checking for $ac_header" >&5
17941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 fi
17945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17947 else
17948 # Is the header compilable?
17949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h. */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 #include <$ac_header>
17959 _ACEOF
17960 rm -f conftest.$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17963 ac_status=$?
17964 grep -v '^ *+' conftest.er1 >conftest.err
17965 rm -f conftest.er1
17966 cat conftest.err >&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_header_compiler=yes
17982 else
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.$ac_ext >&5
17985
17986 ac_header_compiler=no
17987 fi
17988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17990 echo "${ECHO_T}$ac_header_compiler" >&6
17991
17992 # Is the header present?
17993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <$ac_header>
18002 _ACEOF
18003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18005 ac_status=$?
18006 grep -v '^ *+' conftest.er1 >conftest.err
18007 rm -f conftest.er1
18008 cat conftest.err >&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } >/dev/null; then
18011 if test -s conftest.err; then
18012 ac_cpp_err=$ac_cxx_preproc_warn_flag
18013 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18014 else
18015 ac_cpp_err=
18016 fi
18017 else
18018 ac_cpp_err=yes
18019 fi
18020 if test -z "$ac_cpp_err"; then
18021 ac_header_preproc=yes
18022 else
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18025
18026 ac_header_preproc=no
18027 fi
18028 rm -f conftest.err conftest.$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18030 echo "${ECHO_T}$ac_header_preproc" >&6
18031
18032 # So? What about this header?
18033 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18034 yes:no: )
18035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18039 ac_header_preproc=yes
18040 ;;
18041 no:yes:* )
18042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18054 (
18055 cat <<\_ASBOX
18056 ## ----------------------------------------- ##
18057 ## Report this to wx-dev@lists.wxwidgets.org ##
18058 ## ----------------------------------------- ##
18059 _ASBOX
18060 ) |
18061 sed "s/^/$as_me: WARNING: /" >&2
18062 ;;
18063 esac
18064 echo "$as_me:$LINENO: checking for $ac_header" >&5
18065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 else
18069 eval "$as_ac_Header=\$ac_header_preproc"
18070 fi
18071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18073
18074 fi
18075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18076 cat >>confdefs.h <<_ACEOF
18077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18078 _ACEOF
18079
18080 fi
18081
18082 done
18083
18084 fi
18085
18086
18087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18089 if test "${ac_cv_c_const+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098
18099 int
18100 main ()
18101 {
18102 /* FIXME: Include the comments suggested by Paul. */
18103 #ifndef __cplusplus
18104 /* Ultrix mips cc rejects this. */
18105 typedef int charset[2];
18106 const charset x;
18107 /* SunOS 4.1.1 cc rejects this. */
18108 char const *const *ccp;
18109 char **p;
18110 /* NEC SVR4.0.2 mips cc rejects this. */
18111 struct point {int x, y;};
18112 static struct point const zero = {0,0};
18113 /* AIX XL C 1.02.0.0 rejects this.
18114 It does not let you subtract one const X* pointer from another in
18115 an arm of an if-expression whose if-part is not a constant
18116 expression */
18117 const char *g = "string";
18118 ccp = &g + (g ? g-g : 0);
18119 /* HPUX 7.0 cc rejects these. */
18120 ++ccp;
18121 p = (char**) ccp;
18122 ccp = (char const *const *) p;
18123 { /* SCO 3.2v4 cc rejects this. */
18124 char *t;
18125 char const *s = 0 ? (char *) 0 : (char const *) 0;
18126
18127 *t++ = 0;
18128 }
18129 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18130 int x[] = {25, 17};
18131 const int *foo = &x[0];
18132 ++foo;
18133 }
18134 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18135 typedef const int *iptr;
18136 iptr p = 0;
18137 ++p;
18138 }
18139 { /* AIX XL C 1.02.0.0 rejects this saying
18140 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18141 struct s { int j; const int *ap[3]; };
18142 struct s *b; b->j = 5;
18143 }
18144 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18145 const int foo = 10;
18146 }
18147 #endif
18148
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 rm -f conftest.$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_cv_c_const=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_cv_c_const=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 fi
18183 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18184 echo "${ECHO_T}$ac_cv_c_const" >&6
18185 if test $ac_cv_c_const = no; then
18186
18187 cat >>confdefs.h <<\_ACEOF
18188 #define const
18189 _ACEOF
18190
18191 fi
18192
18193 echo "$as_me:$LINENO: checking for inline" >&5
18194 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18195 if test "${ac_cv_c_inline+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198 ac_cv_c_inline=no
18199 for ac_kw in inline __inline__ __inline; do
18200 cat >conftest.$ac_ext <<_ACEOF
18201 /* confdefs.h. */
18202 _ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #ifndef __cplusplus
18207 typedef int foo_t;
18208 static $ac_kw foo_t static_foo () {return 0; }
18209 $ac_kw foo_t foo () {return 0; }
18210 #endif
18211
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_cv_c_inline=$ac_kw; break
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18238
18239 fi
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18241 done
18242
18243 fi
18244 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18245 echo "${ECHO_T}$ac_cv_c_inline" >&6
18246
18247
18248 case $ac_cv_c_inline in
18249 inline | yes) ;;
18250 *)
18251 case $ac_cv_c_inline in
18252 no) ac_val=;;
18253 *) ac_val=$ac_cv_c_inline;;
18254 esac
18255 cat >>confdefs.h <<_ACEOF
18256 #ifndef __cplusplus
18257 #define inline $ac_val
18258 #endif
18259 _ACEOF
18260 ;;
18261 esac
18262
18263
18264 echo "$as_me:$LINENO: checking for char" >&5
18265 echo $ECHO_N "checking for char... $ECHO_C" >&6
18266 if test "${ac_cv_type_char+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h. */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18276 int
18277 main ()
18278 {
18279 if ((char *) 0)
18280 return 0;
18281 if (sizeof (char))
18282 return 0;
18283 ;
18284 return 0;
18285 }
18286 _ACEOF
18287 rm -f conftest.$ac_objext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18289 (eval $ac_compile) 2>conftest.er1
18290 ac_status=$?
18291 grep -v '^ *+' conftest.er1 >conftest.err
18292 rm -f conftest.er1
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18299 ac_status=$?
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; } &&
18302 { ac_try='test -s conftest.$ac_objext'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18305 ac_status=$?
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; }; then
18308 ac_cv_type_char=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 ac_cv_type_char=no
18314 fi
18315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18316 fi
18317 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18318 echo "${ECHO_T}$ac_cv_type_char" >&6
18319
18320 echo "$as_me:$LINENO: checking size of char" >&5
18321 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18322 if test "${ac_cv_sizeof_char+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325 if test "$ac_cv_type_char" = yes; then
18326 # The cast to unsigned long works around a bug in the HP C Compiler
18327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18329 # This bug is HP SR number 8606223364.
18330 if test "$cross_compiling" = yes; then
18331 # Depending upon the size, compute the lo and hi bounds.
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18339 int
18340 main ()
18341 {
18342 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18343 test_array [0] = 0
18344
18345 ;
18346 return 0;
18347 }
18348 _ACEOF
18349 rm -f conftest.$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_lo=0 ac_mid=0
18371 while :; do
18372 cat >conftest.$ac_ext <<_ACEOF
18373 /* confdefs.h. */
18374 _ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18379 int
18380 main ()
18381 {
18382 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18383 test_array [0] = 0
18384
18385 ;
18386 return 0;
18387 }
18388 _ACEOF
18389 rm -f conftest.$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18392 ac_status=$?
18393 grep -v '^ *+' conftest.er1 >conftest.err
18394 rm -f conftest.er1
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try='test -s conftest.$ac_objext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18407 ac_status=$?
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 ac_hi=$ac_mid; break
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18414
18415 ac_lo=`expr $ac_mid + 1`
18416 if test $ac_lo -le $ac_mid; then
18417 ac_lo= ac_hi=
18418 break
18419 fi
18420 ac_mid=`expr 2 '*' $ac_mid + 1`
18421 fi
18422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18423 done
18424 else
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18427
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 $ac_includes_default
18435 int
18436 main ()
18437 {
18438 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18439 test_array [0] = 0
18440
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } &&
18454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18457 ac_status=$?
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; } &&
18460 { ac_try='test -s conftest.$ac_objext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18466 ac_hi=-1 ac_mid=-1
18467 while :; do
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18475 int
18476 main ()
18477 {
18478 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18479 test_array [0] = 0
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 rm -f conftest.$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_lo=$ac_mid; break
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 ac_hi=`expr '(' $ac_mid ')' - 1`
18512 if test $ac_mid -le $ac_hi; then
18513 ac_lo= ac_hi=
18514 break
18515 fi
18516 ac_mid=`expr 2 '*' $ac_mid`
18517 fi
18518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18519 done
18520 else
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18523
18524 ac_lo= ac_hi=
18525 fi
18526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18527 fi
18528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18529 # Binary search between lo and hi bounds.
18530 while test "x$ac_lo" != "x$ac_hi"; do
18531 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 $ac_includes_default
18539 int
18540 main ()
18541 {
18542 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18543 test_array [0] = 0
18544
18545 ;
18546 return 0;
18547 }
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 ac_hi=$ac_mid
18571 else
18572 echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.$ac_ext >&5
18574
18575 ac_lo=`expr '(' $ac_mid ')' + 1`
18576 fi
18577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18578 done
18579 case $ac_lo in
18580 ?*) ac_cv_sizeof_char=$ac_lo;;
18581 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18582 See \`config.log' for more details." >&5
18583 echo "$as_me: error: cannot compute sizeof (char), 77
18584 See \`config.log' for more details." >&2;}
18585 { (exit 1); exit 1; }; } ;;
18586 esac
18587 else
18588 if test "$cross_compiling" = yes; then
18589 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18590 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18591 { (exit 1); exit 1; }; }
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18600 long longval () { return (long) (sizeof (char)); }
18601 unsigned long ulongval () { return (long) (sizeof (char)); }
18602 #include <stdio.h>
18603 #include <stdlib.h>
18604 int
18605 main ()
18606 {
18607
18608 FILE *f = fopen ("conftest.val", "w");
18609 if (! f)
18610 exit (1);
18611 if (((long) (sizeof (char))) < 0)
18612 {
18613 long i = longval ();
18614 if (i != ((long) (sizeof (char))))
18615 exit (1);
18616 fprintf (f, "%ld\n", i);
18617 }
18618 else
18619 {
18620 unsigned long i = ulongval ();
18621 if (i != ((long) (sizeof (char))))
18622 exit (1);
18623 fprintf (f, "%lu\n", i);
18624 }
18625 exit (ferror (f) || fclose (f) != 0);
18626
18627 ;
18628 return 0;
18629 }
18630 _ACEOF
18631 rm -f conftest$ac_exeext
18632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18633 (eval $ac_link) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_sizeof_char=`cat conftest.val`
18643 else
18644 echo "$as_me: program exited with status $ac_status" >&5
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18647
18648 ( exit $ac_status )
18649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18650 See \`config.log' for more details." >&5
18651 echo "$as_me: error: cannot compute sizeof (char), 77
18652 See \`config.log' for more details." >&2;}
18653 { (exit 1); exit 1; }; }
18654 fi
18655 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18656 fi
18657 fi
18658 rm -f conftest.val
18659 else
18660 ac_cv_sizeof_char=0
18661 fi
18662 fi
18663 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18664 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18665 cat >>confdefs.h <<_ACEOF
18666 #define SIZEOF_CHAR $ac_cv_sizeof_char
18667 _ACEOF
18668
18669
18670 echo "$as_me:$LINENO: checking for short" >&5
18671 echo $ECHO_N "checking for short... $ECHO_C" >&6
18672 if test "${ac_cv_type_short+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 else
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18682 int
18683 main ()
18684 {
18685 if ((short *) 0)
18686 return 0;
18687 if (sizeof (short))
18688 return 0;
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 rm -f conftest.$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18711 ac_status=$?
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_type_short=yes
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18718
18719 ac_cv_type_short=no
18720 fi
18721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18722 fi
18723 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18724 echo "${ECHO_T}$ac_cv_type_short" >&6
18725
18726 echo "$as_me:$LINENO: checking size of short" >&5
18727 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18728 if test "${ac_cv_sizeof_short+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731 if test "$ac_cv_type_short" = yes; then
18732 # The cast to unsigned long works around a bug in the HP C Compiler
18733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18735 # This bug is HP SR number 8606223364.
18736 if test "$cross_compiling" = yes; then
18737 # Depending upon the size, compute the lo and hi bounds.
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18745 int
18746 main ()
18747 {
18748 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18749 test_array [0] = 0
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_lo=0 ac_mid=0
18777 while :; do
18778 cat >conftest.$ac_ext <<_ACEOF
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 $ac_includes_default
18785 int
18786 main ()
18787 {
18788 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18789 test_array [0] = 0
18790
18791 ;
18792 return 0;
18793 }
18794 _ACEOF
18795 rm -f conftest.$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>conftest.er1
18798 ac_status=$?
18799 grep -v '^ *+' conftest.er1 >conftest.err
18800 rm -f conftest.er1
18801 cat conftest.err >&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_hi=$ac_mid; break
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18820
18821 ac_lo=`expr $ac_mid + 1`
18822 if test $ac_lo -le $ac_mid; then
18823 ac_lo= ac_hi=
18824 break
18825 fi
18826 ac_mid=`expr 2 '*' $ac_mid + 1`
18827 fi
18828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18829 done
18830 else
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.$ac_ext >&5
18833
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18841 int
18842 main ()
18843 {
18844 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18845 test_array [0] = 0
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try='test -s conftest.$ac_objext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_hi=-1 ac_mid=-1
18873 while :; do
18874 cat >conftest.$ac_ext <<_ACEOF
18875 /* confdefs.h. */
18876 _ACEOF
18877 cat confdefs.h >>conftest.$ac_ext
18878 cat >>conftest.$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 $ac_includes_default
18881 int
18882 main ()
18883 {
18884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18885 test_array [0] = 0
18886
18887 ;
18888 return 0;
18889 }
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_lo=$ac_mid; break
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18916
18917 ac_hi=`expr '(' $ac_mid ')' - 1`
18918 if test $ac_mid -le $ac_hi; then
18919 ac_lo= ac_hi=
18920 break
18921 fi
18922 ac_mid=`expr 2 '*' $ac_mid`
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 done
18926 else
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18929
18930 ac_lo= ac_hi=
18931 fi
18932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18933 fi
18934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18935 # Binary search between lo and hi bounds.
18936 while test "x$ac_lo" != "x$ac_hi"; do
18937 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18938 cat >conftest.$ac_ext <<_ACEOF
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 $ac_includes_default
18945 int
18946 main ()
18947 {
18948 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18949 test_array [0] = 0
18950
18951 ;
18952 return 0;
18953 }
18954 _ACEOF
18955 rm -f conftest.$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18958 ac_status=$?
18959 grep -v '^ *+' conftest.er1 >conftest.err
18960 rm -f conftest.er1
18961 cat conftest.err >&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18973 ac_status=$?
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_hi=$ac_mid
18977 else
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18980
18981 ac_lo=`expr '(' $ac_mid ')' + 1`
18982 fi
18983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18984 done
18985 case $ac_lo in
18986 ?*) ac_cv_sizeof_short=$ac_lo;;
18987 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18988 See \`config.log' for more details." >&5
18989 echo "$as_me: error: cannot compute sizeof (short), 77
18990 See \`config.log' for more details." >&2;}
18991 { (exit 1); exit 1; }; } ;;
18992 esac
18993 else
18994 if test "$cross_compiling" = yes; then
18995 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18996 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18997 { (exit 1); exit 1; }; }
18998 else
18999 cat >conftest.$ac_ext <<_ACEOF
19000 /* confdefs.h. */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 $ac_includes_default
19006 long longval () { return (long) (sizeof (short)); }
19007 unsigned long ulongval () { return (long) (sizeof (short)); }
19008 #include <stdio.h>
19009 #include <stdlib.h>
19010 int
19011 main ()
19012 {
19013
19014 FILE *f = fopen ("conftest.val", "w");
19015 if (! f)
19016 exit (1);
19017 if (((long) (sizeof (short))) < 0)
19018 {
19019 long i = longval ();
19020 if (i != ((long) (sizeof (short))))
19021 exit (1);
19022 fprintf (f, "%ld\n", i);
19023 }
19024 else
19025 {
19026 unsigned long i = ulongval ();
19027 if (i != ((long) (sizeof (short))))
19028 exit (1);
19029 fprintf (f, "%lu\n", i);
19030 }
19031 exit (ferror (f) || fclose (f) != 0);
19032
19033 ;
19034 return 0;
19035 }
19036 _ACEOF
19037 rm -f conftest$ac_exeext
19038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19039 (eval $ac_link) 2>&5
19040 ac_status=$?
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; }; then
19048 ac_cv_sizeof_short=`cat conftest.val`
19049 else
19050 echo "$as_me: program exited with status $ac_status" >&5
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19053
19054 ( exit $ac_status )
19055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19056 See \`config.log' for more details." >&5
19057 echo "$as_me: error: cannot compute sizeof (short), 77
19058 See \`config.log' for more details." >&2;}
19059 { (exit 1); exit 1; }; }
19060 fi
19061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19062 fi
19063 fi
19064 rm -f conftest.val
19065 else
19066 ac_cv_sizeof_short=0
19067 fi
19068 fi
19069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19070 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19071 cat >>confdefs.h <<_ACEOF
19072 #define SIZEOF_SHORT $ac_cv_sizeof_short
19073 _ACEOF
19074
19075
19076 echo "$as_me:$LINENO: checking for void *" >&5
19077 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19078 if test "${ac_cv_type_void_p+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 else
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19088 int
19089 main ()
19090 {
19091 if ((void * *) 0)
19092 return 0;
19093 if (sizeof (void *))
19094 return 0;
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>conftest.er1
19102 ac_status=$?
19103 grep -v '^ *+' conftest.er1 >conftest.err
19104 rm -f conftest.er1
19105 cat conftest.err >&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } &&
19108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; } &&
19114 { ac_try='test -s conftest.$ac_objext'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 ac_cv_type_void_p=yes
19121 else
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19124
19125 ac_cv_type_void_p=no
19126 fi
19127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19128 fi
19129 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19130 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19131
19132 echo "$as_me:$LINENO: checking size of void *" >&5
19133 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19134 if test "${ac_cv_sizeof_void_p+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137 if test "$ac_cv_type_void_p" = yes; then
19138 # The cast to unsigned long works around a bug in the HP C Compiler
19139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19141 # This bug is HP SR number 8606223364.
19142 if test "$cross_compiling" = yes; then
19143 # Depending upon the size, compute the lo and hi bounds.
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19151 int
19152 main ()
19153 {
19154 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19155 test_array [0] = 0
19156
19157 ;
19158 return 0;
19159 }
19160 _ACEOF
19161 rm -f conftest.$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19179 ac_status=$?
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_lo=0 ac_mid=0
19183 while :; do
19184 cat >conftest.$ac_ext <<_ACEOF
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19191 int
19192 main ()
19193 {
19194 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19195 test_array [0] = 0
19196
19197 ;
19198 return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19204 ac_status=$?
19205 grep -v '^ *+' conftest.er1 >conftest.err
19206 rm -f conftest.er1
19207 cat conftest.err >&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19219 ac_status=$?
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19222 ac_hi=$ac_mid; break
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227 ac_lo=`expr $ac_mid + 1`
19228 if test $ac_lo -le $ac_mid; then
19229 ac_lo= ac_hi=
19230 break
19231 fi
19232 ac_mid=`expr 2 '*' $ac_mid + 1`
19233 fi
19234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19235 done
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19247 int
19248 main ()
19249 {
19250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19251 test_array [0] = 0
19252
19253 ;
19254 return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest.$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19260 ac_status=$?
19261 grep -v '^ *+' conftest.er1 >conftest.err
19262 rm -f conftest.er1
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 ac_hi=-1 ac_mid=-1
19279 while :; do
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19287 int
19288 main ()
19289 {
19290 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19291 test_array [0] = 0
19292
19293 ;
19294 return 0;
19295 }
19296 _ACEOF
19297 rm -f conftest.$ac_objext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19299 (eval $ac_compile) 2>conftest.er1
19300 ac_status=$?
19301 grep -v '^ *+' conftest.er1 >conftest.err
19302 rm -f conftest.er1
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_lo=$ac_mid; break
19319 else
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19322
19323 ac_hi=`expr '(' $ac_mid ')' - 1`
19324 if test $ac_mid -le $ac_hi; then
19325 ac_lo= ac_hi=
19326 break
19327 fi
19328 ac_mid=`expr 2 '*' $ac_mid`
19329 fi
19330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19331 done
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 ac_lo= ac_hi=
19337 fi
19338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19339 fi
19340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341 # Binary search between lo and hi bounds.
19342 while test "x$ac_lo" != "x$ac_hi"; do
19343 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19351 int
19352 main ()
19353 {
19354 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19355 test_array [0] = 0
19356
19357 ;
19358 return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest.$ac_objext
19362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19363 (eval $ac_compile) 2>conftest.er1
19364 ac_status=$?
19365 grep -v '^ *+' conftest.er1 >conftest.err
19366 rm -f conftest.er1
19367 cat conftest.err >&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; } &&
19376 { ac_try='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 ac_hi=$ac_mid
19383 else
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ac_lo=`expr '(' $ac_mid ')' + 1`
19388 fi
19389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19390 done
19391 case $ac_lo in
19392 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19394 See \`config.log' for more details." >&5
19395 echo "$as_me: error: cannot compute sizeof (void *), 77
19396 See \`config.log' for more details." >&2;}
19397 { (exit 1); exit 1; }; } ;;
19398 esac
19399 else
19400 if test "$cross_compiling" = yes; then
19401 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19402 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19403 { (exit 1); exit 1; }; }
19404 else
19405 cat >conftest.$ac_ext <<_ACEOF
19406 /* confdefs.h. */
19407 _ACEOF
19408 cat confdefs.h >>conftest.$ac_ext
19409 cat >>conftest.$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19412 long longval () { return (long) (sizeof (void *)); }
19413 unsigned long ulongval () { return (long) (sizeof (void *)); }
19414 #include <stdio.h>
19415 #include <stdlib.h>
19416 int
19417 main ()
19418 {
19419
19420 FILE *f = fopen ("conftest.val", "w");
19421 if (! f)
19422 exit (1);
19423 if (((long) (sizeof (void *))) < 0)
19424 {
19425 long i = longval ();
19426 if (i != ((long) (sizeof (void *))))
19427 exit (1);
19428 fprintf (f, "%ld\n", i);
19429 }
19430 else
19431 {
19432 unsigned long i = ulongval ();
19433 if (i != ((long) (sizeof (void *))))
19434 exit (1);
19435 fprintf (f, "%lu\n", i);
19436 }
19437 exit (ferror (f) || fclose (f) != 0);
19438
19439 ;
19440 return 0;
19441 }
19442 _ACEOF
19443 rm -f conftest$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>&5
19446 ac_status=$?
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_cv_sizeof_void_p=`cat conftest.val`
19455 else
19456 echo "$as_me: program exited with status $ac_status" >&5
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19459
19460 ( exit $ac_status )
19461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19462 See \`config.log' for more details." >&5
19463 echo "$as_me: error: cannot compute sizeof (void *), 77
19464 See \`config.log' for more details." >&2;}
19465 { (exit 1); exit 1; }; }
19466 fi
19467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19468 fi
19469 fi
19470 rm -f conftest.val
19471 else
19472 ac_cv_sizeof_void_p=0
19473 fi
19474 fi
19475 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19476 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19477 cat >>confdefs.h <<_ACEOF
19478 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19479 _ACEOF
19480
19481
19482 echo "$as_me:$LINENO: checking for int" >&5
19483 echo $ECHO_N "checking for int... $ECHO_C" >&6
19484 if test "${ac_cv_type_int+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494 int
19495 main ()
19496 {
19497 if ((int *) 0)
19498 return 0;
19499 if (sizeof (int))
19500 return 0;
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 rm -f conftest.$ac_objext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19507 (eval $ac_compile) 2>conftest.er1
19508 ac_status=$?
19509 grep -v '^ *+' conftest.er1 >conftest.err
19510 rm -f conftest.er1
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } &&
19514 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 ac_cv_type_int=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19530
19531 ac_cv_type_int=no
19532 fi
19533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19534 fi
19535 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19536 echo "${ECHO_T}$ac_cv_type_int" >&6
19537
19538 echo "$as_me:$LINENO: checking size of int" >&5
19539 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19540 if test "${ac_cv_sizeof_int+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543 if test "$ac_cv_type_int" = yes; then
19544 # The cast to unsigned long works around a bug in the HP C Compiler
19545 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19546 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19547 # This bug is HP SR number 8606223364.
19548 if test "$cross_compiling" = yes; then
19549 # Depending upon the size, compute the lo and hi bounds.
19550 cat >conftest.$ac_ext <<_ACEOF
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19557 int
19558 main ()
19559 {
19560 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19561 test_array [0] = 0
19562
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 rm -f conftest.$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19570 ac_status=$?
19571 grep -v '^ *+' conftest.er1 >conftest.err
19572 rm -f conftest.er1
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_lo=0 ac_mid=0
19589 while :; do
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 int
19598 main ()
19599 {
19600 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19601 test_array [0] = 0
19602
19603 ;
19604 return 0;
19605 }
19606 _ACEOF
19607 rm -f conftest.$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_hi=$ac_mid; break
19629 else
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19632
19633 ac_lo=`expr $ac_mid + 1`
19634 if test $ac_lo -le $ac_mid; then
19635 ac_lo= ac_hi=
19636 break
19637 fi
19638 ac_mid=`expr 2 '*' $ac_mid + 1`
19639 fi
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641 done
19642 else
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19645
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 int
19654 main ()
19655 {
19656 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19657 test_array [0] = 0
19658
19659 ;
19660 return 0;
19661 }
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_hi=-1 ac_mid=-1
19685 while :; do
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 int
19694 main ()
19695 {
19696 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19697 test_array [0] = 0
19698
19699 ;
19700 return 0;
19701 }
19702 _ACEOF
19703 rm -f conftest.$ac_objext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19705 (eval $ac_compile) 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } &&
19712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19715 ac_status=$?
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try='test -s conftest.$ac_objext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_lo=$ac_mid; break
19725 else
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19728
19729 ac_hi=`expr '(' $ac_mid ')' - 1`
19730 if test $ac_mid -le $ac_hi; then
19731 ac_lo= ac_hi=
19732 break
19733 fi
19734 ac_mid=`expr 2 '*' $ac_mid`
19735 fi
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19737 done
19738 else
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19741
19742 ac_lo= ac_hi=
19743 fi
19744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19745 fi
19746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19747 # Binary search between lo and hi bounds.
19748 while test "x$ac_lo" != "x$ac_hi"; do
19749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19750 cat >conftest.$ac_ext <<_ACEOF
19751 /* confdefs.h. */
19752 _ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 int
19758 main ()
19759 {
19760 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19761 test_array [0] = 0
19762
19763 ;
19764 return 0;
19765 }
19766 _ACEOF
19767 rm -f conftest.$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19770 ac_status=$?
19771 grep -v '^ *+' conftest.er1 >conftest.err
19772 rm -f conftest.er1
19773 cat conftest.err >&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_hi=$ac_mid
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19792
19793 ac_lo=`expr '(' $ac_mid ')' + 1`
19794 fi
19795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19796 done
19797 case $ac_lo in
19798 ?*) ac_cv_sizeof_int=$ac_lo;;
19799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19800 See \`config.log' for more details." >&5
19801 echo "$as_me: error: cannot compute sizeof (int), 77
19802 See \`config.log' for more details." >&2;}
19803 { (exit 1); exit 1; }; } ;;
19804 esac
19805 else
19806 if test "$cross_compiling" = yes; then
19807 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19808 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19809 { (exit 1); exit 1; }; }
19810 else
19811 cat >conftest.$ac_ext <<_ACEOF
19812 /* confdefs.h. */
19813 _ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 long longval () { return (long) (sizeof (int)); }
19819 unsigned long ulongval () { return (long) (sizeof (int)); }
19820 #include <stdio.h>
19821 #include <stdlib.h>
19822 int
19823 main ()
19824 {
19825
19826 FILE *f = fopen ("conftest.val", "w");
19827 if (! f)
19828 exit (1);
19829 if (((long) (sizeof (int))) < 0)
19830 {
19831 long i = longval ();
19832 if (i != ((long) (sizeof (int))))
19833 exit (1);
19834 fprintf (f, "%ld\n", i);
19835 }
19836 else
19837 {
19838 unsigned long i = ulongval ();
19839 if (i != ((long) (sizeof (int))))
19840 exit (1);
19841 fprintf (f, "%lu\n", i);
19842 }
19843 exit (ferror (f) || fclose (f) != 0);
19844
19845 ;
19846 return 0;
19847 }
19848 _ACEOF
19849 rm -f conftest$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851 (eval $ac_link) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 ac_cv_sizeof_int=`cat conftest.val`
19861 else
19862 echo "$as_me: program exited with status $ac_status" >&5
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866 ( exit $ac_status )
19867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19868 See \`config.log' for more details." >&5
19869 echo "$as_me: error: cannot compute sizeof (int), 77
19870 See \`config.log' for more details." >&2;}
19871 { (exit 1); exit 1; }; }
19872 fi
19873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19874 fi
19875 fi
19876 rm -f conftest.val
19877 else
19878 ac_cv_sizeof_int=0
19879 fi
19880 fi
19881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19882 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19883 cat >>confdefs.h <<_ACEOF
19884 #define SIZEOF_INT $ac_cv_sizeof_int
19885 _ACEOF
19886
19887
19888 echo "$as_me:$LINENO: checking for long" >&5
19889 echo $ECHO_N "checking for long... $ECHO_C" >&6
19890 if test "${ac_cv_type_long+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 int
19901 main ()
19902 {
19903 if ((long *) 0)
19904 return 0;
19905 if (sizeof (long))
19906 return 0;
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19923 ac_status=$?
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19929 ac_status=$?
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_type_long=yes
19933 else
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19936
19937 ac_cv_type_long=no
19938 fi
19939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19940 fi
19941 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19942 echo "${ECHO_T}$ac_cv_type_long" >&6
19943
19944 echo "$as_me:$LINENO: checking size of long" >&5
19945 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19946 if test "${ac_cv_sizeof_long+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949 if test "$ac_cv_type_long" = yes; then
19950 # The cast to unsigned long works around a bug in the HP C Compiler
19951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19953 # This bug is HP SR number 8606223364.
19954 if test "$cross_compiling" = yes; then
19955 # Depending upon the size, compute the lo and hi bounds.
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963 int
19964 main ()
19965 {
19966 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19967 test_array [0] = 0
19968
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19976 ac_status=$?
19977 grep -v '^ *+' conftest.er1 >conftest.err
19978 rm -f conftest.er1
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 ac_lo=0 ac_mid=0
19995 while :; do
19996 cat >conftest.$ac_ext <<_ACEOF
19997 /* confdefs.h. */
19998 _ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20003 int
20004 main ()
20005 {
20006 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20007 test_array [0] = 0
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_hi=$ac_mid; break
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 ac_lo=`expr $ac_mid + 1`
20040 if test $ac_lo -le $ac_mid; then
20041 ac_lo= ac_hi=
20042 break
20043 fi
20044 ac_mid=`expr 2 '*' $ac_mid + 1`
20045 fi
20046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20047 done
20048 else
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20051
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 $ac_includes_default
20059 int
20060 main ()
20061 {
20062 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20063 test_array [0] = 0
20064
20065 ;
20066 return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 ac_hi=-1 ac_mid=-1
20091 while :; do
20092 cat >conftest.$ac_ext <<_ACEOF
20093 /* confdefs.h. */
20094 _ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 $ac_includes_default
20099 int
20100 main ()
20101 {
20102 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20103 test_array [0] = 0
20104
20105 ;
20106 return 0;
20107 }
20108 _ACEOF
20109 rm -f conftest.$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>conftest.er1
20112 ac_status=$?
20113 grep -v '^ *+' conftest.er1 >conftest.err
20114 rm -f conftest.er1
20115 cat conftest.err >&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_lo=$ac_mid; break
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 ac_hi=`expr '(' $ac_mid ')' - 1`
20136 if test $ac_mid -le $ac_hi; then
20137 ac_lo= ac_hi=
20138 break
20139 fi
20140 ac_mid=`expr 2 '*' $ac_mid`
20141 fi
20142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20143 done
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20147
20148 ac_lo= ac_hi=
20149 fi
20150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 # Binary search between lo and hi bounds.
20154 while test "x$ac_lo" != "x$ac_hi"; do
20155 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20163 int
20164 main ()
20165 {
20166 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20167 test_array [0] = 0
20168
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20176 ac_status=$?
20177 grep -v '^ *+' conftest.er1 >conftest.err
20178 rm -f conftest.er1
20179 cat conftest.err >&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; } &&
20188 { ac_try='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 ac_hi=$ac_mid
20195 else
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20198
20199 ac_lo=`expr '(' $ac_mid ')' + 1`
20200 fi
20201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20202 done
20203 case $ac_lo in
20204 ?*) ac_cv_sizeof_long=$ac_lo;;
20205 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20206 See \`config.log' for more details." >&5
20207 echo "$as_me: error: cannot compute sizeof (long), 77
20208 See \`config.log' for more details." >&2;}
20209 { (exit 1); exit 1; }; } ;;
20210 esac
20211 else
20212 if test "$cross_compiling" = yes; then
20213 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20214 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20215 { (exit 1); exit 1; }; }
20216 else
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 long longval () { return (long) (sizeof (long)); }
20225 unsigned long ulongval () { return (long) (sizeof (long)); }
20226 #include <stdio.h>
20227 #include <stdlib.h>
20228 int
20229 main ()
20230 {
20231
20232 FILE *f = fopen ("conftest.val", "w");
20233 if (! f)
20234 exit (1);
20235 if (((long) (sizeof (long))) < 0)
20236 {
20237 long i = longval ();
20238 if (i != ((long) (sizeof (long))))
20239 exit (1);
20240 fprintf (f, "%ld\n", i);
20241 }
20242 else
20243 {
20244 unsigned long i = ulongval ();
20245 if (i != ((long) (sizeof (long))))
20246 exit (1);
20247 fprintf (f, "%lu\n", i);
20248 }
20249 exit (ferror (f) || fclose (f) != 0);
20250
20251 ;
20252 return 0;
20253 }
20254 _ACEOF
20255 rm -f conftest$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>&5
20258 ac_status=$?
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20263 ac_status=$?
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; }; then
20266 ac_cv_sizeof_long=`cat conftest.val`
20267 else
20268 echo "$as_me: program exited with status $ac_status" >&5
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20271
20272 ( exit $ac_status )
20273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20274 See \`config.log' for more details." >&5
20275 echo "$as_me: error: cannot compute sizeof (long), 77
20276 See \`config.log' for more details." >&2;}
20277 { (exit 1); exit 1; }; }
20278 fi
20279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20280 fi
20281 fi
20282 rm -f conftest.val
20283 else
20284 ac_cv_sizeof_long=0
20285 fi
20286 fi
20287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20288 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20289 cat >>confdefs.h <<_ACEOF
20290 #define SIZEOF_LONG $ac_cv_sizeof_long
20291 _ACEOF
20292
20293
20294 echo "$as_me:$LINENO: checking for size_t" >&5
20295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20296 if test "${ac_cv_type_size_t+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 else
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 int
20307 main ()
20308 {
20309 if ((size_t *) 0)
20310 return 0;
20311 if (sizeof (size_t))
20312 return 0;
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; } &&
20332 { ac_try='test -s conftest.$ac_objext'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; }; then
20338 ac_cv_type_size_t=yes
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ac_cv_type_size_t=no
20344 fi
20345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20346 fi
20347 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20348 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20349
20350 echo "$as_me:$LINENO: checking size of size_t" >&5
20351 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20352 if test "${ac_cv_sizeof_size_t+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 else
20355 if test "$ac_cv_type_size_t" = yes; then
20356 # The cast to unsigned long works around a bug in the HP C Compiler
20357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20359 # This bug is HP SR number 8606223364.
20360 if test "$cross_compiling" = yes; then
20361 # Depending upon the size, compute the lo and hi bounds.
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 $ac_includes_default
20369 int
20370 main ()
20371 {
20372 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20373 test_array [0] = 0
20374
20375 ;
20376 return 0;
20377 }
20378 _ACEOF
20379 rm -f conftest.$ac_objext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20381 (eval $ac_compile) 2>conftest.er1
20382 ac_status=$?
20383 grep -v '^ *+' conftest.er1 >conftest.err
20384 rm -f conftest.er1
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } &&
20388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20391 ac_status=$?
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; } &&
20394 { ac_try='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20397 ac_status=$?
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20400 ac_lo=0 ac_mid=0
20401 while :; do
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20409 int
20410 main ()
20411 {
20412 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20413 test_array [0] = 0
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 rm -f conftest.$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20422 ac_status=$?
20423 grep -v '^ *+' conftest.er1 >conftest.err
20424 rm -f conftest.er1
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try='test -s conftest.$ac_objext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_hi=$ac_mid; break
20441 else
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20444
20445 ac_lo=`expr $ac_mid + 1`
20446 if test $ac_lo -le $ac_mid; then
20447 ac_lo= ac_hi=
20448 break
20449 fi
20450 ac_mid=`expr 2 '*' $ac_mid + 1`
20451 fi
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453 done
20454 else
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 int
20466 main ()
20467 {
20468 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20469 test_array [0] = 0
20470
20471 ;
20472 return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 ac_hi=-1 ac_mid=-1
20497 while :; do
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20505 int
20506 main ()
20507 {
20508 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20509 test_array [0] = 0
20510
20511 ;
20512 return 0;
20513 }
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20527 ac_status=$?
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; } &&
20530 { ac_try='test -s conftest.$ac_objext'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_lo=$ac_mid; break
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20540
20541 ac_hi=`expr '(' $ac_mid ')' - 1`
20542 if test $ac_mid -le $ac_hi; then
20543 ac_lo= ac_hi=
20544 break
20545 fi
20546 ac_mid=`expr 2 '*' $ac_mid`
20547 fi
20548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20549 done
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20553
20554 ac_lo= ac_hi=
20555 fi
20556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20557 fi
20558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20559 # Binary search between lo and hi bounds.
20560 while test "x$ac_lo" != "x$ac_hi"; do
20561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20562 cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h. */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20569 int
20570 main ()
20571 {
20572 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20573 test_array [0] = 0
20574
20575 ;
20576 return 0;
20577 }
20578 _ACEOF
20579 rm -f conftest.$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest.$ac_objext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 ac_hi=$ac_mid
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 ac_lo=`expr '(' $ac_mid ')' + 1`
20606 fi
20607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20608 done
20609 case $ac_lo in
20610 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20612 See \`config.log' for more details." >&5
20613 echo "$as_me: error: cannot compute sizeof (size_t), 77
20614 See \`config.log' for more details." >&2;}
20615 { (exit 1); exit 1; }; } ;;
20616 esac
20617 else
20618 if test "$cross_compiling" = yes; then
20619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20621 { (exit 1); exit 1; }; }
20622 else
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 long longval () { return (long) (sizeof (size_t)); }
20631 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20632 #include <stdio.h>
20633 #include <stdlib.h>
20634 int
20635 main ()
20636 {
20637
20638 FILE *f = fopen ("conftest.val", "w");
20639 if (! f)
20640 exit (1);
20641 if (((long) (sizeof (size_t))) < 0)
20642 {
20643 long i = longval ();
20644 if (i != ((long) (sizeof (size_t))))
20645 exit (1);
20646 fprintf (f, "%ld\n", i);
20647 }
20648 else
20649 {
20650 unsigned long i = ulongval ();
20651 if (i != ((long) (sizeof (size_t))))
20652 exit (1);
20653 fprintf (f, "%lu\n", i);
20654 }
20655 exit (ferror (f) || fclose (f) != 0);
20656
20657 ;
20658 return 0;
20659 }
20660 _ACEOF
20661 rm -f conftest$ac_exeext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663 (eval $ac_link) 2>&5
20664 ac_status=$?
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_sizeof_size_t=`cat conftest.val`
20673 else
20674 echo "$as_me: program exited with status $ac_status" >&5
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20677
20678 ( exit $ac_status )
20679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20680 See \`config.log' for more details." >&5
20681 echo "$as_me: error: cannot compute sizeof (size_t), 77
20682 See \`config.log' for more details." >&2;}
20683 { (exit 1); exit 1; }; }
20684 fi
20685 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20686 fi
20687 fi
20688 rm -f conftest.val
20689 else
20690 ac_cv_sizeof_size_t=0
20691 fi
20692 fi
20693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20694 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20695 cat >>confdefs.h <<_ACEOF
20696 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20697 _ACEOF
20698
20699
20700
20701 case "${host}" in
20702 arm-*-linux* )
20703 echo "$as_me:$LINENO: checking for long long" >&5
20704 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20705 if test "${ac_cv_type_long_long+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 else
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 int
20716 main ()
20717 {
20718 if ((long long *) 0)
20719 return 0;
20720 if (sizeof (long long))
20721 return 0;
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728 (eval $ac_compile) 2>conftest.er1
20729 ac_status=$?
20730 grep -v '^ *+' conftest.er1 >conftest.err
20731 rm -f conftest.er1
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; } &&
20741 { ac_try='test -s conftest.$ac_objext'
20742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20743 (eval $ac_try) 2>&5
20744 ac_status=$?
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); }; }; then
20747 ac_cv_type_long_long=yes
20748 else
20749 echo "$as_me: failed program was:" >&5
20750 sed 's/^/| /' conftest.$ac_ext >&5
20751
20752 ac_cv_type_long_long=no
20753 fi
20754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20755 fi
20756 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20757 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20758
20759 echo "$as_me:$LINENO: checking size of long long" >&5
20760 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20761 if test "${ac_cv_sizeof_long_long+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20763 else
20764 if test "$ac_cv_type_long_long" = yes; then
20765 # The cast to unsigned long works around a bug in the HP C Compiler
20766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20768 # This bug is HP SR number 8606223364.
20769 if test "$cross_compiling" = yes; then
20770 # Depending upon the size, compute the lo and hi bounds.
20771 cat >conftest.$ac_ext <<_ACEOF
20772 /* confdefs.h. */
20773 _ACEOF
20774 cat confdefs.h >>conftest.$ac_ext
20775 cat >>conftest.$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20778 int
20779 main ()
20780 {
20781 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20782 test_array [0] = 0
20783
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest.$ac_objext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 ac_lo=0 ac_mid=0
20810 while :; do
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 int
20819 main ()
20820 {
20821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20822 test_array [0] = 0
20823
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest.$ac_objext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20830 (eval $ac_compile) 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_hi=$ac_mid; break
20850 else
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20853
20854 ac_lo=`expr $ac_mid + 1`
20855 if test $ac_lo -le $ac_mid; then
20856 ac_lo= ac_hi=
20857 break
20858 fi
20859 ac_mid=`expr 2 '*' $ac_mid + 1`
20860 fi
20861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20862 done
20863 else
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20866
20867 cat >conftest.$ac_ext <<_ACEOF
20868 /* confdefs.h. */
20869 _ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 $ac_includes_default
20874 int
20875 main ()
20876 {
20877 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20878 test_array [0] = 0
20879
20880 ;
20881 return 0;
20882 }
20883 _ACEOF
20884 rm -f conftest.$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_hi=-1 ac_mid=-1
20906 while :; do
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h. */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20914 int
20915 main ()
20916 {
20917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20918 test_array [0] = 0
20919
20920 ;
20921 return 0;
20922 }
20923 _ACEOF
20924 rm -f conftest.$ac_objext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20926 (eval $ac_compile) 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; }; then
20945 ac_lo=$ac_mid; break
20946 else
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20949
20950 ac_hi=`expr '(' $ac_mid ')' - 1`
20951 if test $ac_mid -le $ac_hi; then
20952 ac_lo= ac_hi=
20953 break
20954 fi
20955 ac_mid=`expr 2 '*' $ac_mid`
20956 fi
20957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20958 done
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20962
20963 ac_lo= ac_hi=
20964 fi
20965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20966 fi
20967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20968 # Binary search between lo and hi bounds.
20969 while test "x$ac_lo" != "x$ac_hi"; do
20970 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20990 (eval $ac_compile) 2>conftest.er1
20991 ac_status=$?
20992 grep -v '^ *+' conftest.er1 >conftest.err
20993 rm -f conftest.er1
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21000 ac_status=$?
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_hi=$ac_mid
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_lo=`expr '(' $ac_mid ')' + 1`
21015 fi
21016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21017 done
21018 case $ac_lo in
21019 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21020 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21021 See \`config.log' for more details." >&5
21022 echo "$as_me: error: cannot compute sizeof (long long), 77
21023 See \`config.log' for more details." >&2;}
21024 { (exit 1); exit 1; }; } ;;
21025 esac
21026 else
21027 if test "$cross_compiling" = yes; then
21028 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21029 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21030 { (exit 1); exit 1; }; }
21031 else
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21039 long longval () { return (long) (sizeof (long long)); }
21040 unsigned long ulongval () { return (long) (sizeof (long long)); }
21041 #include <stdio.h>
21042 #include <stdlib.h>
21043 int
21044 main ()
21045 {
21046
21047 FILE *f = fopen ("conftest.val", "w");
21048 if (! f)
21049 exit (1);
21050 if (((long) (sizeof (long long))) < 0)
21051 {
21052 long i = longval ();
21053 if (i != ((long) (sizeof (long long))))
21054 exit (1);
21055 fprintf (f, "%ld\n", i);
21056 }
21057 else
21058 {
21059 unsigned long i = ulongval ();
21060 if (i != ((long) (sizeof (long long))))
21061 exit (1);
21062 fprintf (f, "%lu\n", i);
21063 }
21064 exit (ferror (f) || fclose (f) != 0);
21065
21066 ;
21067 return 0;
21068 }
21069 _ACEOF
21070 rm -f conftest$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21078 ac_status=$?
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_cv_sizeof_long_long=`cat conftest.val`
21082 else
21083 echo "$as_me: program exited with status $ac_status" >&5
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 ( exit $ac_status )
21088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21089 See \`config.log' for more details." >&5
21090 echo "$as_me: error: cannot compute sizeof (long long), 77
21091 See \`config.log' for more details." >&2;}
21092 { (exit 1); exit 1; }; }
21093 fi
21094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21095 fi
21096 fi
21097 rm -f conftest.val
21098 else
21099 ac_cv_sizeof_long_long=0
21100 fi
21101 fi
21102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21103 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21104 cat >>confdefs.h <<_ACEOF
21105 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21106 _ACEOF
21107
21108
21109 ;;
21110 *-hp-hpux* )
21111 echo "$as_me:$LINENO: checking for long long" >&5
21112 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21113 if test "${ac_cv_type_long_long+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 else
21116 cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h. */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 $ac_includes_default
21123 int
21124 main ()
21125 {
21126 if ((long long *) 0)
21127 return 0;
21128 if (sizeof (long long))
21129 return 0;
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_type_long_long=yes
21156 else
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21159
21160 ac_cv_type_long_long=no
21161 fi
21162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21163 fi
21164 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21165 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21166
21167 echo "$as_me:$LINENO: checking size of long long" >&5
21168 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21169 if test "${ac_cv_sizeof_long_long+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 else
21172 if test "$ac_cv_type_long_long" = yes; then
21173 # The cast to unsigned long works around a bug in the HP C Compiler
21174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21176 # This bug is HP SR number 8606223364.
21177 if test "$cross_compiling" = yes; then
21178 # Depending upon the size, compute the lo and hi bounds.
21179 cat >conftest.$ac_ext <<_ACEOF
21180 /* confdefs.h. */
21181 _ACEOF
21182 cat confdefs.h >>conftest.$ac_ext
21183 cat >>conftest.$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 $ac_includes_default
21186 int
21187 main ()
21188 {
21189 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21190 test_array [0] = 0
21191
21192 ;
21193 return 0;
21194 }
21195 _ACEOF
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21199 ac_status=$?
21200 grep -v '^ *+' conftest.er1 >conftest.err
21201 rm -f conftest.er1
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try='test -s conftest.$ac_objext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21217 ac_lo=0 ac_mid=0
21218 while :; do
21219 cat >conftest.$ac_ext <<_ACEOF
21220 /* confdefs.h. */
21221 _ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 int
21227 main ()
21228 {
21229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21230 test_array [0] = 0
21231
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 rm -f conftest.$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21239 ac_status=$?
21240 grep -v '^ *+' conftest.er1 >conftest.err
21241 rm -f conftest.er1
21242 cat conftest.err >&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21248 ac_status=$?
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try='test -s conftest.$ac_objext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_hi=$ac_mid; break
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 ac_lo=`expr $ac_mid + 1`
21263 if test $ac_lo -le $ac_mid; then
21264 ac_lo= ac_hi=
21265 break
21266 fi
21267 ac_mid=`expr 2 '*' $ac_mid + 1`
21268 fi
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 done
21271 else
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21274
21275 cat >conftest.$ac_ext <<_ACEOF
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 $ac_includes_default
21282 int
21283 main ()
21284 {
21285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21286 test_array [0] = 0
21287
21288 ;
21289 return 0;
21290 }
21291 _ACEOF
21292 rm -f conftest.$ac_objext
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21294 (eval $ac_compile) 2>conftest.er1
21295 ac_status=$?
21296 grep -v '^ *+' conftest.er1 >conftest.err
21297 rm -f conftest.er1
21298 cat conftest.err >&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest.$ac_objext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 ac_hi=-1 ac_mid=-1
21314 while :; do
21315 cat >conftest.$ac_ext <<_ACEOF
21316 /* confdefs.h. */
21317 _ACEOF
21318 cat confdefs.h >>conftest.$ac_ext
21319 cat >>conftest.$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21322 int
21323 main ()
21324 {
21325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21326 test_array [0] = 0
21327
21328 ;
21329 return 0;
21330 }
21331 _ACEOF
21332 rm -f conftest.$ac_objext
21333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21334 (eval $ac_compile) 2>conftest.er1
21335 ac_status=$?
21336 grep -v '^ *+' conftest.er1 >conftest.err
21337 rm -f conftest.er1
21338 cat conftest.err >&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; } &&
21347 { ac_try='test -s conftest.$ac_objext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 ac_lo=$ac_mid; break
21354 else
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21357
21358 ac_hi=`expr '(' $ac_mid ')' - 1`
21359 if test $ac_mid -le $ac_hi; then
21360 ac_lo= ac_hi=
21361 break
21362 fi
21363 ac_mid=`expr 2 '*' $ac_mid`
21364 fi
21365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21366 done
21367 else
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ac_lo= ac_hi=
21372 fi
21373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21374 fi
21375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21376 # Binary search between lo and hi bounds.
21377 while test "x$ac_lo" != "x$ac_hi"; do
21378 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 int
21387 main ()
21388 {
21389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21390 test_array [0] = 0
21391
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest.$ac_objext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21398 (eval $ac_compile) 2>conftest.er1
21399 ac_status=$?
21400 grep -v '^ *+' conftest.er1 >conftest.err
21401 rm -f conftest.er1
21402 cat conftest.err >&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } &&
21405 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; } &&
21411 { ac_try='test -s conftest.$ac_objext'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21414 ac_status=$?
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21417 ac_hi=$ac_mid
21418 else
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21421
21422 ac_lo=`expr '(' $ac_mid ')' + 1`
21423 fi
21424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21425 done
21426 case $ac_lo in
21427 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21428 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21429 See \`config.log' for more details." >&5
21430 echo "$as_me: error: cannot compute sizeof (long long), 77
21431 See \`config.log' for more details." >&2;}
21432 { (exit 1); exit 1; }; } ;;
21433 esac
21434 else
21435 if test "$cross_compiling" = yes; then
21436 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21437 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21438 { (exit 1); exit 1; }; }
21439 else
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21447 long longval () { return (long) (sizeof (long long)); }
21448 unsigned long ulongval () { return (long) (sizeof (long long)); }
21449 #include <stdio.h>
21450 #include <stdlib.h>
21451 int
21452 main ()
21453 {
21454
21455 FILE *f = fopen ("conftest.val", "w");
21456 if (! f)
21457 exit (1);
21458 if (((long) (sizeof (long long))) < 0)
21459 {
21460 long i = longval ();
21461 if (i != ((long) (sizeof (long long))))
21462 exit (1);
21463 fprintf (f, "%ld\n", i);
21464 }
21465 else
21466 {
21467 unsigned long i = ulongval ();
21468 if (i != ((long) (sizeof (long long))))
21469 exit (1);
21470 fprintf (f, "%lu\n", i);
21471 }
21472 exit (ferror (f) || fclose (f) != 0);
21473
21474 ;
21475 return 0;
21476 }
21477 _ACEOF
21478 rm -f conftest$ac_exeext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480 (eval $ac_link) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21486 ac_status=$?
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 ac_cv_sizeof_long_long=`cat conftest.val`
21490 else
21491 echo "$as_me: program exited with status $ac_status" >&5
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ( exit $ac_status )
21496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&5
21498 echo "$as_me: error: cannot compute sizeof (long long), 77
21499 See \`config.log' for more details." >&2;}
21500 { (exit 1); exit 1; }; }
21501 fi
21502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21503 fi
21504 fi
21505 rm -f conftest.val
21506 else
21507 ac_cv_sizeof_long_long=0
21508 fi
21509 fi
21510 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21511 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21512 cat >>confdefs.h <<_ACEOF
21513 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21514 _ACEOF
21515
21516
21517 if test "$ac_cv_sizeof_long_long" != "0"; then
21518 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21519 fi
21520 ;;
21521 * )
21522 echo "$as_me:$LINENO: checking for long long" >&5
21523 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21524 if test "${ac_cv_type_long_long+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21527 cat >conftest.$ac_ext <<_ACEOF
21528 /* confdefs.h. */
21529 _ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21534 int
21535 main ()
21536 {
21537 if ((long long *) 0)
21538 return 0;
21539 if (sizeof (long long))
21540 return 0;
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest.$ac_objext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21547 (eval $ac_compile) 2>conftest.er1
21548 ac_status=$?
21549 grep -v '^ *+' conftest.er1 >conftest.err
21550 rm -f conftest.er1
21551 cat conftest.err >&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try='test -s conftest.$ac_objext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_type_long_long=yes
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 ac_cv_type_long_long=no
21572 fi
21573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21574 fi
21575 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21576 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21577
21578 echo "$as_me:$LINENO: checking size of long long" >&5
21579 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21580 if test "${ac_cv_sizeof_long_long+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 if test "$ac_cv_type_long_long" = yes; then
21584 # The cast to unsigned long works around a bug in the HP C Compiler
21585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21587 # This bug is HP SR number 8606223364.
21588 if test "$cross_compiling" = yes; then
21589 # Depending upon the size, compute the lo and hi bounds.
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 int
21598 main ()
21599 {
21600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21601 test_array [0] = 0
21602
21603 ;
21604 return 0;
21605 }
21606 _ACEOF
21607 rm -f conftest.$ac_objext
21608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21609 (eval $ac_compile) 2>conftest.er1
21610 ac_status=$?
21611 grep -v '^ *+' conftest.er1 >conftest.err
21612 rm -f conftest.er1
21613 cat conftest.err >&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } &&
21616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try='test -s conftest.$ac_objext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21628 ac_lo=0 ac_mid=0
21629 while :; do
21630 cat >conftest.$ac_ext <<_ACEOF
21631 /* confdefs.h. */
21632 _ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636 $ac_includes_default
21637 int
21638 main ()
21639 {
21640 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21641 test_array [0] = 0
21642
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21650 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try='test -s conftest.$ac_objext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_hi=$ac_mid; break
21669 else
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 ac_lo=`expr $ac_mid + 1`
21674 if test $ac_lo -le $ac_mid; then
21675 ac_lo= ac_hi=
21676 break
21677 fi
21678 ac_mid=`expr 2 '*' $ac_mid + 1`
21679 fi
21680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681 done
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 $ac_includes_default
21693 int
21694 main ()
21695 {
21696 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21697 test_array [0] = 0
21698
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 rm -f conftest.$ac_objext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21705 (eval $ac_compile) 2>conftest.er1
21706 ac_status=$?
21707 grep -v '^ *+' conftest.er1 >conftest.err
21708 rm -f conftest.er1
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; } &&
21718 { ac_try='test -s conftest.$ac_objext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 ac_hi=-1 ac_mid=-1
21725 while :; do
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 int
21734 main ()
21735 {
21736 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21737 test_array [0] = 0
21738
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21746 ac_status=$?
21747 grep -v '^ *+' conftest.er1 >conftest.err
21748 rm -f conftest.er1
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; } &&
21758 { ac_try='test -s conftest.$ac_objext'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; }; then
21764 ac_lo=$ac_mid; break
21765 else
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21768
21769 ac_hi=`expr '(' $ac_mid ')' - 1`
21770 if test $ac_mid -le $ac_hi; then
21771 ac_lo= ac_hi=
21772 break
21773 fi
21774 ac_mid=`expr 2 '*' $ac_mid`
21775 fi
21776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21777 done
21778 else
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21781
21782 ac_lo= ac_hi=
21783 fi
21784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21785 fi
21786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21787 # Binary search between lo and hi bounds.
21788 while test "x$ac_lo" != "x$ac_hi"; do
21789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21790 cat >conftest.$ac_ext <<_ACEOF
21791 /* confdefs.h. */
21792 _ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21797 int
21798 main ()
21799 {
21800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21801 test_array [0] = 0
21802
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 rm -f conftest.$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21810 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21825 ac_status=$?
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21828 ac_hi=$ac_mid
21829 else
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21832
21833 ac_lo=`expr '(' $ac_mid ')' + 1`
21834 fi
21835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21836 done
21837 case $ac_lo in
21838 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21840 See \`config.log' for more details." >&5
21841 echo "$as_me: error: cannot compute sizeof (long long), 77
21842 See \`config.log' for more details." >&2;}
21843 { (exit 1); exit 1; }; } ;;
21844 esac
21845 else
21846 if test "$cross_compiling" = yes; then
21847 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21848 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21849 { (exit 1); exit 1; }; }
21850 else
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 $ac_includes_default
21858 long longval () { return (long) (sizeof (long long)); }
21859 unsigned long ulongval () { return (long) (sizeof (long long)); }
21860 #include <stdio.h>
21861 #include <stdlib.h>
21862 int
21863 main ()
21864 {
21865
21866 FILE *f = fopen ("conftest.val", "w");
21867 if (! f)
21868 exit (1);
21869 if (((long) (sizeof (long long))) < 0)
21870 {
21871 long i = longval ();
21872 if (i != ((long) (sizeof (long long))))
21873 exit (1);
21874 fprintf (f, "%ld\n", i);
21875 }
21876 else
21877 {
21878 unsigned long i = ulongval ();
21879 if (i != ((long) (sizeof (long long))))
21880 exit (1);
21881 fprintf (f, "%lu\n", i);
21882 }
21883 exit (ferror (f) || fclose (f) != 0);
21884
21885 ;
21886 return 0;
21887 }
21888 _ACEOF
21889 rm -f conftest$ac_exeext
21890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21891 (eval $ac_link) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 ac_cv_sizeof_long_long=`cat conftest.val`
21901 else
21902 echo "$as_me: program exited with status $ac_status" >&5
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906 ( exit $ac_status )
21907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21908 See \`config.log' for more details." >&5
21909 echo "$as_me: error: cannot compute sizeof (long long), 77
21910 See \`config.log' for more details." >&2;}
21911 { (exit 1); exit 1; }; }
21912 fi
21913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21914 fi
21915 fi
21916 rm -f conftest.val
21917 else
21918 ac_cv_sizeof_long_long=0
21919 fi
21920 fi
21921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21922 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21923 cat >>confdefs.h <<_ACEOF
21924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21925 _ACEOF
21926
21927
21928 esac
21929
21930 echo "$as_me:$LINENO: checking for wchar_t" >&5
21931 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21932 if test "${ac_cv_type_wchar_t+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 else
21935 cat >conftest.$ac_ext <<_ACEOF
21936 /* confdefs.h. */
21937 _ACEOF
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941
21942 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21943 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21944 # error "fake wchar_t"
21945 #endif
21946 #ifdef HAVE_WCHAR_H
21947 # ifdef __CYGWIN__
21948 # include <stddef.h>
21949 # endif
21950 # include <wchar.h>
21951 #endif
21952 #ifdef HAVE_STDLIB_H
21953 # include <stdlib.h>
21954 #endif
21955 #include <stdio.h>
21956
21957
21958
21959 int
21960 main ()
21961 {
21962 if ((wchar_t *) 0)
21963 return 0;
21964 if (sizeof (wchar_t))
21965 return 0;
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 rm -f conftest.$ac_objext
21971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21972 (eval $ac_compile) 2>conftest.er1
21973 ac_status=$?
21974 grep -v '^ *+' conftest.er1 >conftest.err
21975 rm -f conftest.er1
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; } &&
21985 { ac_try='test -s conftest.$ac_objext'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_type_wchar_t=yes
21992 else
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21995
21996 ac_cv_type_wchar_t=no
21997 fi
21998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21999 fi
22000 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22001 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22002
22003 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22004 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22005 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 else
22008 if test "$ac_cv_type_wchar_t" = yes; then
22009 # The cast to unsigned long works around a bug in the HP C Compiler
22010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22012 # This bug is HP SR number 8606223364.
22013 if test "$cross_compiling" = yes; then
22014 # Depending upon the size, compute the lo and hi bounds.
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021
22022 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22023 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22024 # error "fake wchar_t"
22025 #endif
22026 #ifdef HAVE_WCHAR_H
22027 # ifdef __CYGWIN__
22028 # include <stddef.h>
22029 # endif
22030 # include <wchar.h>
22031 #endif
22032 #ifdef HAVE_STDLIB_H
22033 # include <stdlib.h>
22034 #endif
22035 #include <stdio.h>
22036
22037
22038
22039 int
22040 main ()
22041 {
22042 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22043 test_array [0] = 0
22044
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 rm -f conftest.$ac_objext
22050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22051 (eval $ac_compile) 2>conftest.er1
22052 ac_status=$?
22053 grep -v '^ *+' conftest.er1 >conftest.err
22054 rm -f conftest.er1
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } &&
22058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22061 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; } &&
22064 { ac_try='test -s conftest.$ac_objext'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22067 ac_status=$?
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_lo=0 ac_mid=0
22071 while :; do
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078
22079 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22080 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22081 # error "fake wchar_t"
22082 #endif
22083 #ifdef HAVE_WCHAR_H
22084 # ifdef __CYGWIN__
22085 # include <stddef.h>
22086 # endif
22087 # include <wchar.h>
22088 #endif
22089 #ifdef HAVE_STDLIB_H
22090 # include <stdlib.h>
22091 #endif
22092 #include <stdio.h>
22093
22094
22095
22096 int
22097 main ()
22098 {
22099 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22100 test_array [0] = 0
22101
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest.$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest.$ac_objext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_hi=$ac_mid; break
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ac_lo=`expr $ac_mid + 1`
22133 if test $ac_lo -le $ac_mid; then
22134 ac_lo= ac_hi=
22135 break
22136 fi
22137 ac_mid=`expr 2 '*' $ac_mid + 1`
22138 fi
22139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22140 done
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151
22152 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22153 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22154 # error "fake wchar_t"
22155 #endif
22156 #ifdef HAVE_WCHAR_H
22157 # ifdef __CYGWIN__
22158 # include <stddef.h>
22159 # endif
22160 # include <wchar.h>
22161 #endif
22162 #ifdef HAVE_STDLIB_H
22163 # include <stdlib.h>
22164 #endif
22165 #include <stdio.h>
22166
22167
22168
22169 int
22170 main ()
22171 {
22172 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22173 test_array [0] = 0
22174
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 rm -f conftest.$ac_objext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22181 (eval $ac_compile) 2>conftest.er1
22182 ac_status=$?
22183 grep -v '^ *+' conftest.er1 >conftest.err
22184 rm -f conftest.er1
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } &&
22188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_hi=-1 ac_mid=-1
22201 while :; do
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208
22209 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22210 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22211 # error "fake wchar_t"
22212 #endif
22213 #ifdef HAVE_WCHAR_H
22214 # ifdef __CYGWIN__
22215 # include <stddef.h>
22216 # endif
22217 # include <wchar.h>
22218 #endif
22219 #ifdef HAVE_STDLIB_H
22220 # include <stdlib.h>
22221 #endif
22222 #include <stdio.h>
22223
22224
22225
22226 int
22227 main ()
22228 {
22229 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22230 test_array [0] = 0
22231
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238 (eval $ac_compile) 2>conftest.er1
22239 ac_status=$?
22240 grep -v '^ *+' conftest.er1 >conftest.err
22241 rm -f conftest.er1
22242 cat conftest.err >&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } &&
22245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22248 ac_status=$?
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; } &&
22251 { ac_try='test -s conftest.$ac_objext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_lo=$ac_mid; break
22258 else
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 ac_hi=`expr '(' $ac_mid ')' - 1`
22263 if test $ac_mid -le $ac_hi; then
22264 ac_lo= ac_hi=
22265 break
22266 fi
22267 ac_mid=`expr 2 '*' $ac_mid`
22268 fi
22269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22270 done
22271 else
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.$ac_ext >&5
22274
22275 ac_lo= ac_hi=
22276 fi
22277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22278 fi
22279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22280 # Binary search between lo and hi bounds.
22281 while test "x$ac_lo" != "x$ac_hi"; do
22282 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22283 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */
22285 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289
22290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22292 # error "fake wchar_t"
22293 #endif
22294 #ifdef HAVE_WCHAR_H
22295 # ifdef __CYGWIN__
22296 # include <stddef.h>
22297 # endif
22298 # include <wchar.h>
22299 #endif
22300 #ifdef HAVE_STDLIB_H
22301 # include <stdlib.h>
22302 #endif
22303 #include <stdio.h>
22304
22305
22306
22307 int
22308 main ()
22309 {
22310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22311 test_array [0] = 0
22312
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22319 (eval $ac_compile) 2>conftest.er1
22320 ac_status=$?
22321 grep -v '^ *+' conftest.er1 >conftest.err
22322 rm -f conftest.er1
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } &&
22326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22328 (eval $ac_try) 2>&5
22329 ac_status=$?
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); }; } &&
22332 { ac_try='test -s conftest.$ac_objext'
22333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22334 (eval $ac_try) 2>&5
22335 ac_status=$?
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); }; }; then
22338 ac_hi=$ac_mid
22339 else
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22342
22343 ac_lo=`expr '(' $ac_mid ')' + 1`
22344 fi
22345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22346 done
22347 case $ac_lo in
22348 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22349 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22350 See \`config.log' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22352 See \`config.log' for more details." >&2;}
22353 { (exit 1); exit 1; }; } ;;
22354 esac
22355 else
22356 if test "$cross_compiling" = yes; then
22357 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22358 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22359 { (exit 1); exit 1; }; }
22360 else
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367
22368 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22369 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22370 # error "fake wchar_t"
22371 #endif
22372 #ifdef HAVE_WCHAR_H
22373 # ifdef __CYGWIN__
22374 # include <stddef.h>
22375 # endif
22376 # include <wchar.h>
22377 #endif
22378 #ifdef HAVE_STDLIB_H
22379 # include <stdlib.h>
22380 #endif
22381 #include <stdio.h>
22382
22383
22384
22385 long longval () { return (long) (sizeof (wchar_t)); }
22386 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22387 #include <stdio.h>
22388 #include <stdlib.h>
22389 int
22390 main ()
22391 {
22392
22393 FILE *f = fopen ("conftest.val", "w");
22394 if (! f)
22395 exit (1);
22396 if (((long) (sizeof (wchar_t))) < 0)
22397 {
22398 long i = longval ();
22399 if (i != ((long) (sizeof (wchar_t))))
22400 exit (1);
22401 fprintf (f, "%ld\n", i);
22402 }
22403 else
22404 {
22405 unsigned long i = ulongval ();
22406 if (i != ((long) (sizeof (wchar_t))))
22407 exit (1);
22408 fprintf (f, "%lu\n", i);
22409 }
22410 exit (ferror (f) || fclose (f) != 0);
22411
22412 ;
22413 return 0;
22414 }
22415 _ACEOF
22416 rm -f conftest$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418 (eval $ac_link) 2>&5
22419 ac_status=$?
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 ac_cv_sizeof_wchar_t=`cat conftest.val`
22428 else
22429 echo "$as_me: program exited with status $ac_status" >&5
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ( exit $ac_status )
22434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22435 See \`config.log' for more details." >&5
22436 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22437 See \`config.log' for more details." >&2;}
22438 { (exit 1); exit 1; }; }
22439 fi
22440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22441 fi
22442 fi
22443 rm -f conftest.val
22444 else
22445 ac_cv_sizeof_wchar_t=0
22446 fi
22447 fi
22448 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22449 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22450 cat >>confdefs.h <<_ACEOF
22451 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22452 _ACEOF
22453
22454
22455 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22456 wxUSE_WCHAR_T=yes
22457 else
22458 wxUSE_WCHAR_T=no
22459 fi
22460
22461 echo "$as_me:$LINENO: checking for va_copy" >&5
22462 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22463 if test "${wx_cv_func_va_copy+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 else
22466
22467 cat >conftest.$ac_ext <<_ACEOF
22468
22469 #include <stdarg.h>
22470 void foo(char *f, ...)
22471 {
22472 va_list ap1, ap2;
22473 va_start(ap1, f);
22474 va_copy(ap2, ap1);
22475 va_end(ap2);
22476 va_end(ap1);
22477 }
22478 int main()
22479 {
22480 foo("hi", 17);
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext conftest$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495 (eval $ac_try) 2>&5
22496 ac_status=$?
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); }; } &&
22499 { ac_try='test -s conftest$ac_exeext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 wx_cv_func_va_copy=yes
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 wx_cv_func_va_copy=no
22511
22512 fi
22513 rm -f conftest.err conftest.$ac_objext \
22514 conftest$ac_exeext conftest.$ac_ext
22515
22516
22517 fi
22518 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22519 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22520
22521 if test $wx_cv_func_va_copy = "yes"; then
22522 cat >>confdefs.h <<\_ACEOF
22523 #define HAVE_VA_COPY 1
22524 _ACEOF
22525
22526 else
22527 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22528 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22529 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 else
22532
22533 if test "$cross_compiling" = yes; then
22534 wx_cv_type_va_list_lvalue=yes
22535
22536 else
22537 cat >conftest.$ac_ext <<_ACEOF
22538
22539 #include <stdarg.h>
22540 int foo(char *f, ...)
22541 {
22542 va_list ap1, ap2;
22543 va_start(ap1, f);
22544 ap2 = ap1;
22545 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22546 return 1;
22547 va_end(ap2);
22548 va_end(ap1);
22549 return 0;
22550 }
22551 int main()
22552 {
22553 return foo("hi", 17);
22554 }
22555 _ACEOF
22556 rm -f conftest$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>&5
22559 ac_status=$?
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22564 ac_status=$?
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567 wx_cv_type_va_list_lvalue=yes
22568 else
22569 echo "$as_me: program exited with status $ac_status" >&5
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22572
22573 ( exit $ac_status )
22574 wx_cv_type_va_list_lvalue=no
22575 fi
22576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22577 fi
22578
22579
22580 fi
22581 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22582 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22583
22584 if test $wx_cv_type_va_list_lvalue != "yes"; then
22585 cat >>confdefs.h <<\_ACEOF
22586 #define VA_LIST_IS_ARRAY 1
22587 _ACEOF
22588
22589 fi
22590 fi
22591
22592 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22593 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22594 if test "${wx_cv_have_variadic_macros+set}" = set; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597
22598 cat >conftest.$ac_ext <<_ACEOF
22599 /* confdefs.h. */
22600 _ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604
22605 #include <stdio.h>
22606 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22607
22608 int
22609 main ()
22610 {
22611
22612 test("%s %d %p", "test", 1, 0);
22613
22614
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22637 ac_status=$?
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 wx_cv_have_variadic_macros=yes
22641 else
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22644
22645 wx_cv_have_variadic_macros=no
22646
22647 fi
22648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22649
22650
22651 fi
22652 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22653 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22654
22655 if test $wx_cv_have_variadic_macros = "yes"; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define HAVE_VARIADIC_MACROS 1
22658 _ACEOF
22659
22660 fi
22661
22662 # Check whether --enable-largefile or --disable-largefile was given.
22663 if test "${enable_largefile+set}" = set; then
22664 enableval="$enable_largefile"
22665
22666 fi;
22667 if test "$enable_largefile" != no; then
22668 wx_largefile=no
22669
22670 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22671 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22672 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22675
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682 #define _FILE_OFFSET_BITS 64
22683 #include <sys/types.h>
22684 int
22685 main ()
22686 {
22687 typedef struct {
22688 unsigned int field: sizeof(off_t) == 8;
22689 } wxlf;
22690
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 rm -f conftest.$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697 (eval $ac_compile) 2>conftest.er1
22698 ac_status=$?
22699 grep -v '^ *+' conftest.er1 >conftest.err
22700 rm -f conftest.er1
22701 cat conftest.err >&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22707 ac_status=$?
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try='test -s conftest.$ac_objext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sys_file_offset_bits=64
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22720
22721 ac_cv_sys_file_offset_bits=no
22722 fi
22723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22724
22725
22726 fi
22727 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22728 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22729
22730 if test "$ac_cv_sys_file_offset_bits" != no; then
22731 wx_largefile=yes
22732 cat >>confdefs.h <<_ACEOF
22733 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22734 _ACEOF
22735
22736 fi
22737
22738 if test "x$wx_largefile" != "xyes"; then
22739
22740 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22741 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22742 if test "${ac_cv_sys_large_files+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 else
22745
22746 cat >conftest.$ac_ext <<_ACEOF
22747 /* confdefs.h. */
22748 _ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #define _LARGE_FILES 1
22753 #include <sys/types.h>
22754 int
22755 main ()
22756 {
22757 typedef struct {
22758 unsigned int field: sizeof(off_t) == 8;
22759 } wxlf;
22760
22761 ;
22762 return 0;
22763 }
22764 _ACEOF
22765 rm -f conftest.$ac_objext
22766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22767 (eval $ac_compile) 2>conftest.er1
22768 ac_status=$?
22769 grep -v '^ *+' conftest.er1 >conftest.err
22770 rm -f conftest.er1
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } &&
22774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; } &&
22780 { ac_try='test -s conftest.$ac_objext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22783 ac_status=$?
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 ac_cv_sys_large_files=1
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 ac_cv_sys_large_files=no
22792 fi
22793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22794
22795
22796 fi
22797 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22798 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22799
22800 if test "$ac_cv_sys_large_files" != no; then
22801 wx_largefile=yes
22802 cat >>confdefs.h <<_ACEOF
22803 #define _LARGE_FILES $ac_cv_sys_large_files
22804 _ACEOF
22805
22806 fi
22807
22808 fi
22809
22810 echo "$as_me:$LINENO: checking if large file support is available" >&5
22811 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22812 if test "x$wx_largefile" = "xyes"; then
22813 cat >>confdefs.h <<\_ACEOF
22814 #define HAVE_LARGEFILE_SUPPORT 1
22815 _ACEOF
22816
22817 fi
22818 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22819 echo "${ECHO_T}$wx_largefile" >&6
22820 fi
22821
22822
22823 if test "x$wx_largefile" = "xyes"; then
22824 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22825 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22826
22827 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22828 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22829 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22830 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22833
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840
22841 int
22842 main ()
22843 {
22844
22845 #ifndef __STDC_EXT__
22846 choke me
22847 #endif
22848
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 rm -f conftest.$ac_objext
22854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22855 (eval $ac_compile) 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } &&
22862 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try='test -s conftest.$ac_objext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 wx_cv_STDC_EXT_required=no
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 wx_cv_STDC_EXT_required=yes
22880
22881 fi
22882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22883
22884
22885 fi
22886 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22887 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22888 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22889 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22890 fi
22891 fi
22892 else
22893 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22894 fi
22895 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22896 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22897 if test "${ac_cv_sys_largefile_source+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22900 while :; do
22901 ac_cv_sys_largefile_source=no
22902 cat >conftest.$ac_ext <<_ACEOF
22903 /* confdefs.h. */
22904 _ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22908 #include <stdio.h>
22909 int
22910 main ()
22911 {
22912 return !fseeko;
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 rm -f conftest.$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22920 ac_status=$?
22921 grep -v '^ *+' conftest.er1 >conftest.err
22922 rm -f conftest.er1
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 break
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22942
22943 fi
22944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #define _LARGEFILE_SOURCE 1
22952 #include <stdio.h>
22953 int
22954 main ()
22955 {
22956 return !fseeko;
22957 ;
22958 return 0;
22959 }
22960 _ACEOF
22961 rm -f conftest.$ac_objext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22963 (eval $ac_compile) 2>conftest.er1
22964 ac_status=$?
22965 grep -v '^ *+' conftest.er1 >conftest.err
22966 rm -f conftest.er1
22967 cat conftest.err >&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22973 ac_status=$?
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try='test -s conftest.$ac_objext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22982 ac_cv_sys_largefile_source=1; break
22983 else
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22986
22987 fi
22988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22989 break
22990 done
22991 fi
22992 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22993 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22994 if test "$ac_cv_sys_largefile_source" != no; then
22995
22996 cat >>confdefs.h <<_ACEOF
22997 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22998 _ACEOF
22999
23000 fi
23001 rm -f conftest*
23002
23003 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23004 # in glibc 2.1.3, but that breaks too many other things.
23005 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23006 echo "$as_me:$LINENO: checking for fseeko" >&5
23007 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23008 if test "${ac_cv_func_fseeko+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 else
23011 cat >conftest.$ac_ext <<_ACEOF
23012 /* confdefs.h. */
23013 _ACEOF
23014 cat confdefs.h >>conftest.$ac_ext
23015 cat >>conftest.$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23017 #include <stdio.h>
23018 int
23019 main ()
23020 {
23021 return fseeko && fseeko (stdin, 0, 0);
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext conftest$ac_exeext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23028 (eval $ac_link) 2>conftest.er1
23029 ac_status=$?
23030 grep -v '^ *+' conftest.er1 >conftest.err
23031 rm -f conftest.er1
23032 cat conftest.err >&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } &&
23035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_func_fseeko=yes
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_cv_func_fseeko=no
23053 fi
23054 rm -f conftest.err conftest.$ac_objext \
23055 conftest$ac_exeext conftest.$ac_ext
23056 fi
23057 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23058 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23059 if test $ac_cv_func_fseeko = yes; then
23060
23061 cat >>confdefs.h <<\_ACEOF
23062 #define HAVE_FSEEKO 1
23063 _ACEOF
23064
23065 fi
23066
23067 if test "$ac_cv_sys_largefile_source" != no; then
23068 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23069 fi
23070 fi
23071
23072 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23073 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23074 if test "${ac_cv_c_bigendian+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077 ac_cv_c_bigendian=unknown
23078 # See if sys/param.h defines the BYTE_ORDER macro.
23079 cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h. */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 #include <sys/types.h>
23086 #include <sys/param.h>
23087 int
23088 main ()
23089 {
23090
23091 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23092 bogus endian macros
23093 #endif
23094 ;
23095 return 0;
23096 }
23097 _ACEOF
23098 rm -f conftest.$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23101 ac_status=$?
23102 grep -v '^ *+' conftest.er1 >conftest.err
23103 rm -f conftest.er1
23104 cat conftest.err >&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; } &&
23113 { ac_try='test -s conftest.$ac_objext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23116 ac_status=$?
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 # It does; now see whether it defined to BIG_ENDIAN or not.
23120 cat >conftest.$ac_ext <<_ACEOF
23121 /* confdefs.h. */
23122 _ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <sys/types.h>
23127 #include <sys/param.h>
23128 int
23129 main ()
23130 {
23131
23132 #if BYTE_ORDER != BIG_ENDIAN
23133 not big endian
23134 #endif
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23141 (eval $ac_compile) 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23157 ac_status=$?
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_c_bigendian=yes
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_cv_c_bigendian=no
23166 fi
23167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23168 else
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.$ac_ext >&5
23171
23172 fi
23173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23174 if test $ac_cv_c_bigendian = unknown; then
23175 if test "$cross_compiling" = yes; then
23176 ac_cv_c_bigendian=unknown
23177 else
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 main () {
23185 /* Are we little or big endian? From Harbison&Steele. */
23186 union
23187 {
23188 long l;
23189 char c[sizeof (long)];
23190 } u;
23191 u.l = 1;
23192 exit (u.c[sizeof (long) - 1] == 1);
23193 }
23194 _ACEOF
23195 rm -f conftest$ac_exeext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23197 (eval $ac_link) 2>&5
23198 ac_status=$?
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 ac_cv_c_bigendian=no
23207 else
23208 echo "$as_me: program exited with status $ac_status" >&5
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23211
23212 ( exit $ac_status )
23213 ac_cv_c_bigendian=yes
23214 fi
23215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23216 fi
23217 fi
23218 fi
23219 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23220 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23221 if test $ac_cv_c_bigendian = unknown; then
23222 { 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
23223 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;}
23224 fi
23225 if test $ac_cv_c_bigendian = yes; then
23226 cat >>confdefs.h <<\_ACEOF
23227 #define WORDS_BIGENDIAN 1
23228 _ACEOF
23229
23230 fi
23231
23232
23233
23234
23235
23236 ac_ext=cc
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23241
23242
23243
23244 for ac_header in iostream
23245 do
23246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23248 echo "$as_me:$LINENO: checking for $ac_header" >&5
23249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 fi
23253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23255 else
23256 # Is the header compilable?
23257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 #include <$ac_header>
23267 _ACEOF
23268 rm -f conftest.$ac_objext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270 (eval $ac_compile) 2>conftest.er1
23271 ac_status=$?
23272 grep -v '^ *+' conftest.er1 >conftest.err
23273 rm -f conftest.er1
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest.$ac_objext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_header_compiler=yes
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23293
23294 ac_header_compiler=no
23295 fi
23296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23298 echo "${ECHO_T}$ac_header_compiler" >&6
23299
23300 # Is the header present?
23301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309 #include <$ac_header>
23310 _ACEOF
23311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23313 ac_status=$?
23314 grep -v '^ *+' conftest.er1 >conftest.err
23315 rm -f conftest.er1
23316 cat conftest.err >&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } >/dev/null; then
23319 if test -s conftest.err; then
23320 ac_cpp_err=$ac_cxx_preproc_warn_flag
23321 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23322 else
23323 ac_cpp_err=
23324 fi
23325 else
23326 ac_cpp_err=yes
23327 fi
23328 if test -z "$ac_cpp_err"; then
23329 ac_header_preproc=yes
23330 else
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 ac_header_preproc=no
23335 fi
23336 rm -f conftest.err conftest.$ac_ext
23337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23338 echo "${ECHO_T}$ac_header_preproc" >&6
23339
23340 # So? What about this header?
23341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23342 yes:no: )
23343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23347 ac_header_preproc=yes
23348 ;;
23349 no:yes:* )
23350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23362 (
23363 cat <<\_ASBOX
23364 ## ----------------------------------------- ##
23365 ## Report this to wx-dev@lists.wxwidgets.org ##
23366 ## ----------------------------------------- ##
23367 _ASBOX
23368 ) |
23369 sed "s/^/$as_me: WARNING: /" >&2
23370 ;;
23371 esac
23372 echo "$as_me:$LINENO: checking for $ac_header" >&5
23373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 else
23377 eval "$as_ac_Header=\$ac_header_preproc"
23378 fi
23379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23381
23382 fi
23383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23384 cat >>confdefs.h <<_ACEOF
23385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23386 _ACEOF
23387
23388 fi
23389
23390 done
23391
23392
23393 if test "$ac_cv_header_iostream" = "yes" ; then
23394 :
23395 else
23396 cat >>confdefs.h <<\_ACEOF
23397 #define wxUSE_IOSTREAMH 1
23398 _ACEOF
23399
23400 fi
23401
23402 ac_ext=cc
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407
23408
23409
23410
23411 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23412 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23413 if test "${wx_cv_cpp_bool+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23415 else
23416
23417
23418
23419 ac_ext=cc
23420 ac_cpp='$CXXCPP $CPPFLAGS'
23421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23424
23425
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432
23433
23434 int
23435 main ()
23436 {
23437
23438 bool b = true;
23439
23440 return 0;
23441
23442 ;
23443 return 0;
23444 }
23445 _ACEOF
23446 rm -f conftest.$ac_objext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23448 (eval $ac_compile) 2>conftest.er1
23449 ac_status=$?
23450 grep -v '^ *+' conftest.er1 >conftest.err
23451 rm -f conftest.er1
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467
23468 wx_cv_cpp_bool=yes
23469
23470 else
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23473
23474
23475 wx_cv_cpp_bool=no
23476
23477
23478 fi
23479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23480
23481 ac_ext=cc
23482 ac_cpp='$CXXCPP $CPPFLAGS'
23483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23486
23487
23488 fi
23489 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23490 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23491
23492 if test "$wx_cv_cpp_bool" = "yes"; then
23493 cat >>confdefs.h <<\_ACEOF
23494 #define HAVE_BOOL 1
23495 _ACEOF
23496
23497 fi
23498
23499
23500
23501 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23502 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23503 if test "${wx_cv_explicit+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 else
23506
23507
23508
23509 ac_ext=cc
23510 ac_cpp='$CXXCPP $CPPFLAGS'
23511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23514
23515
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h. */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522
23523 class Foo { public: explicit Foo(int) {} };
23524
23525 int
23526 main ()
23527 {
23528
23529 return 0;
23530
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 rm -f conftest.$ac_objext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23537 (eval $ac_compile) 2>conftest.er1
23538 ac_status=$?
23539 grep -v '^ *+' conftest.er1 >conftest.err
23540 rm -f conftest.er1
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23547 ac_status=$?
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try='test -s conftest.$ac_objext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23553 ac_status=$?
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23556
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563
23564 class Foo { public: explicit Foo(int) {} };
23565 static void TakeFoo(const Foo& foo) { }
23566
23567 int
23568 main ()
23569 {
23570
23571 TakeFoo(17);
23572 return 0;
23573
23574 ;
23575 return 0;
23576 }
23577 _ACEOF
23578 rm -f conftest.$ac_objext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23580 (eval $ac_compile) 2>conftest.er1
23581 ac_status=$?
23582 grep -v '^ *+' conftest.er1 >conftest.err
23583 rm -f conftest.er1
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23590 ac_status=$?
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; } &&
23593 { ac_try='test -s conftest.$ac_objext'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; }; then
23599 wx_cv_explicit=no
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23603
23604 wx_cv_explicit=yes
23605
23606 fi
23607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23608
23609 else
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23612
23613 wx_cv_explicit=no
23614
23615 fi
23616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23617
23618 ac_ext=cc
23619 ac_cpp='$CXXCPP $CPPFLAGS'
23620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623
23624
23625 fi
23626 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23627 echo "${ECHO_T}$wx_cv_explicit" >&6
23628
23629 if test "$wx_cv_explicit" = "yes"; then
23630 cat >>confdefs.h <<\_ACEOF
23631 #define HAVE_EXPLICIT 1
23632 _ACEOF
23633
23634 fi
23635
23636
23637 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23638 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23639 if test "${ac_cv_cxx_const_cast+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23642
23643
23644 ac_ext=cc
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656
23657 int
23658 main ()
23659 {
23660 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23661 ;
23662 return 0;
23663 }
23664 _ACEOF
23665 rm -f conftest.$ac_objext
23666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23667 (eval $ac_compile) 2>conftest.er1
23668 ac_status=$?
23669 grep -v '^ *+' conftest.er1 >conftest.err
23670 rm -f conftest.er1
23671 cat conftest.err >&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23677 ac_status=$?
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; } &&
23680 { ac_try='test -s conftest.$ac_objext'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23683 ac_status=$?
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; }; then
23686 ac_cv_cxx_const_cast=yes
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_cv_cxx_const_cast=no
23692 fi
23693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23694 ac_ext=cc
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699
23700
23701 fi
23702 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23703 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23704 if test "$ac_cv_cxx_const_cast" = yes; then
23705
23706 cat >>confdefs.h <<\_ACEOF
23707 #define HAVE_CONST_CAST
23708 _ACEOF
23709
23710 fi
23711
23712 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23713 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23714 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 else
23717
23718
23719 ac_ext=cc
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <typeinfo>
23732 class Base { public : Base () {} virtual void f () = 0;};
23733 class Derived : public Base { public : Derived () {} virtual void f () {} };
23734 class Unrelated { public : Unrelated () {} };
23735 int g (Unrelated&) { return 0; }
23736 int
23737 main ()
23738 {
23739
23740 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_cv_cxx_reinterpret_cast=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 ac_cv_cxx_reinterpret_cast=no
23772 fi
23773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=cc
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780
23781 fi
23782 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23783 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23784 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23785
23786 cat >>confdefs.h <<\_ACEOF
23787 #define HAVE_REINTERPRET_CAST
23788 _ACEOF
23789
23790 fi
23791
23792 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23793 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23794 if test "${ac_cv_cxx_static_cast+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23797
23798
23799 ac_ext=cc
23800 ac_cpp='$CXXCPP $CPPFLAGS'
23801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <typeinfo>
23812 class Base { public : Base () {} virtual void f () = 0; };
23813 class Derived : public Base { public : Derived () {} virtual void f () {} };
23814 int g (Derived&) { return 0; }
23815 int
23816 main ()
23817 {
23818
23819 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 rm -f conftest.$ac_objext
23825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23826 (eval $ac_compile) 2>conftest.er1
23827 ac_status=$?
23828 grep -v '^ *+' conftest.er1 >conftest.err
23829 rm -f conftest.er1
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } &&
23833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; } &&
23839 { ac_try='test -s conftest.$ac_objext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_cxx_static_cast=yes
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 ac_cv_cxx_static_cast=no
23851 fi
23852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23853 ac_ext=cc
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858
23859
23860 fi
23861 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23862 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23863 if test "$ac_cv_cxx_static_cast" = yes; then
23864
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_STATIC_CAST
23867 _ACEOF
23868
23869 fi
23870
23871
23872 if test "x$SUNCXX" = xyes; then
23873 CXXFLAGS="-features=tmplife $CXXFLAGS"
23874 fi
23875
23876 if test "x$SUNCC" = xyes; then
23877 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23878 fi
23879
23880 if test "x$SGICC" = "xyes"; then
23881 CFLAGS="-woff 3970 $CFLAGS"
23882 fi
23883 if test "x$SGICXX" = "xyes"; then
23884 CXXFLAGS="-woff 3970 $CXXFLAGS"
23885 fi
23886
23887 if test "x$HPCC" = "xyes"; then
23888 CFLAGS="+W 2011,2450 $CFLAGS"
23889 fi
23890 if test "x$HPCXX" = "xyes"; then
23891 CXXFLAGS="+W 2340 $CXXFLAGS"
23892 fi
23893
23894 if test "x$COMPAQCXX" = "xyes"; then
23895 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23896 fi
23897
23898 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23899 if test "$wxUSE_UNICODE" = "yes"; then
23900 std_string="std::wstring"
23901 char_type="wchar_t"
23902 else
23903 std_string="std::string"
23904 char_type="char"
23905 fi
23906
23907 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23908 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23909 cat >conftest.$ac_ext <<_ACEOF
23910 /* confdefs.h. */
23911 _ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23915 #include <string>
23916 int
23917 main ()
23918 {
23919 $std_string foo;
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23926 (eval $ac_compile) 2>conftest.er1
23927 ac_status=$?
23928 grep -v '^ *+' conftest.er1 >conftest.err
23929 rm -f conftest.er1
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23936 ac_status=$?
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try='test -s conftest.$ac_objext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 echo "$as_me:$LINENO: result: yes" >&5
23946 echo "${ECHO_T}yes" >&6
23947 cat >>confdefs.h <<\_ACEOF
23948 #define HAVE_STD_WSTRING 1
23949 _ACEOF
23950
23951 else
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.$ac_ext >&5
23954
23955 echo "$as_me:$LINENO: result: no" >&5
23956 echo "${ECHO_T}no" >&6
23957 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23958 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965
23966 #ifdef HAVE_WCHAR_H
23967 # ifdef __CYGWIN__
23968 # include <stddef.h>
23969 # endif
23970 # include <wchar.h>
23971 #endif
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23974 #endif
23975 #include <stdio.h>
23976 #include <string>
23977
23978 int
23979 main ()
23980 {
23981 std::basic_string<$char_type> foo;
23982 const $char_type* dummy = foo.c_str();
23983 ;
23984 return 0;
23985 }
23986 _ACEOF
23987 rm -f conftest.$ac_objext
23988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23989 (eval $ac_compile) 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
24002 { ac_try='test -s conftest.$ac_objext'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; }; then
24008 echo "$as_me:$LINENO: result: yes" >&5
24009 echo "${ECHO_T}yes" >&6
24010 else
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.$ac_ext >&5
24013
24014 echo "$as_me:$LINENO: result: no" >&5
24015 echo "${ECHO_T}no" >&6
24016 if test "$wxUSE_STL" = "yes"; then
24017 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24018 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24019 { (exit 1); exit 1; }; }
24020 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24021 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24022 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24023 { (exit 1); exit 1; }; }
24024 else
24025 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24026 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24027 wxUSE_STD_STRING=no
24028 fi
24029
24030
24031 fi
24032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24033
24034 fi
24035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24036 fi
24037
24038 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24039 echo "$as_me:$LINENO: checking for std::istream" >&5
24040 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24041 if test "${ac_cv_type_std__istream+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <iostream>
24051
24052 int
24053 main ()
24054 {
24055 if ((std::istream *) 0)
24056 return 0;
24057 if (sizeof (std::istream))
24058 return 0;
24059 ;
24060 return 0;
24061 }
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24075 ac_status=$?
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; } &&
24078 { ac_try='test -s conftest.$ac_objext'
24079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080 (eval $ac_try) 2>&5
24081 ac_status=$?
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); }; }; then
24084 ac_cv_type_std__istream=yes
24085 else
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_cv_type_std__istream=no
24090 fi
24091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24092 fi
24093 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24094 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24095 if test $ac_cv_type_std__istream = yes; then
24096
24097 cat >>confdefs.h <<_ACEOF
24098 #define HAVE_STD__ISTREAM 1
24099 _ACEOF
24100
24101
24102 else
24103 wxUSE_STD_IOSTREAM=no
24104 fi
24105 echo "$as_me:$LINENO: checking for std::ostream" >&5
24106 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24107 if test "${ac_cv_type_std__ostream+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 cat >conftest.$ac_ext <<_ACEOF
24111 /* confdefs.h. */
24112 _ACEOF
24113 cat confdefs.h >>conftest.$ac_ext
24114 cat >>conftest.$ac_ext <<_ACEOF
24115 /* end confdefs.h. */
24116 #include <iostream>
24117
24118 int
24119 main ()
24120 {
24121 if ((std::ostream *) 0)
24122 return 0;
24123 if (sizeof (std::ostream))
24124 return 0;
24125 ;
24126 return 0;
24127 }
24128 _ACEOF
24129 rm -f conftest.$ac_objext
24130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24131 (eval $ac_compile) 2>conftest.er1
24132 ac_status=$?
24133 grep -v '^ *+' conftest.er1 >conftest.err
24134 rm -f conftest.er1
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } &&
24138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24141 ac_status=$?
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; } &&
24144 { ac_try='test -s conftest.$ac_objext'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 ac_cv_type_std__ostream=yes
24151 else
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ac_cv_type_std__ostream=no
24156 fi
24157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24158 fi
24159 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24160 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24161 if test $ac_cv_type_std__ostream = yes; then
24162
24163 cat >>confdefs.h <<_ACEOF
24164 #define HAVE_STD__OSTREAM 1
24165 _ACEOF
24166
24167
24168 else
24169 wxUSE_STD_IOSTREAM=no
24170 fi
24171
24172
24173 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24174 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24175 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24176 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24177 { (exit 1); exit 1; }; }
24178 else
24179 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24180 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24181 fi
24182 fi
24183 fi
24184
24185 if test "$wxUSE_STL" = "yes"; then
24186 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24187 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24188 cat >conftest.$ac_ext <<_ACEOF
24189 /* confdefs.h. */
24190 _ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194 #include <string>
24195 #include <functional>
24196 #include <algorithm>
24197 #include <vector>
24198 #include <list>
24199 int
24200 main ()
24201 {
24202 std::vector<int> moo;
24203 std::list<int> foo;
24204 std::vector<int>::iterator it =
24205 std::find_if(moo.begin(), moo.end(),
24206 std::bind2nd(std::less<int>(), 3));
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 rm -f conftest.$ac_objext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24213 (eval $ac_compile) 2>conftest.er1
24214 ac_status=$?
24215 grep -v '^ *+' conftest.er1 >conftest.err
24216 rm -f conftest.er1
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; } &&
24226 { ac_try='test -s conftest.$ac_objext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24229 ac_status=$?
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 echo "$as_me:$LINENO: result: yes" >&5
24233 echo "${ECHO_T}yes" >&6
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24237
24238 echo "$as_me:$LINENO: result: no" >&5
24239 echo "${ECHO_T}no" >&6
24240 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24241 echo "$as_me: error: Basic STL functionality missing" >&2;}
24242 { (exit 1); exit 1; }; }
24243 fi
24244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24245
24246 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24247 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 #include <string>
24255 int
24256 main ()
24257 {
24258 std::string foo, bar;
24259 foo.compare(bar);
24260 foo.compare(1, 1, bar);
24261 foo.compare(1, 1, bar, 1, 1);
24262 foo.compare("");
24263 foo.compare(1, 1, "");
24264 foo.compare(1, 1, "", 2);
24265 ;
24266 return 0;
24267 }
24268 _ACEOF
24269 rm -f conftest.$ac_objext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24271 (eval $ac_compile) 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24281 ac_status=$?
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try='test -s conftest.$ac_objext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 echo "$as_me:$LINENO: result: yes" >&5
24291 echo "${ECHO_T}yes" >&6
24292 cat >>confdefs.h <<\_ACEOF
24293 #define HAVE_STD_STRING_COMPARE 1
24294 _ACEOF
24295
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300 echo "$as_me:$LINENO: result: no" >&5
24301 echo "${ECHO_T}no" >&6
24302 fi
24303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24304
24305 if test "${ac_cv_header_hash_map+set}" = set; then
24306 echo "$as_me:$LINENO: checking for hash_map" >&5
24307 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24308 if test "${ac_cv_header_hash_map+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 fi
24311 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24312 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24313 else
24314 # Is the header compilable?
24315 echo "$as_me:$LINENO: checking hash_map usability" >&5
24316 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 $ac_includes_default
24324 #include <hash_map>
24325 _ACEOF
24326 rm -f conftest.$ac_objext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24328 (eval $ac_compile) 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24338 ac_status=$?
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; } &&
24341 { ac_try='test -s conftest.$ac_objext'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; }; then
24347 ac_header_compiler=yes
24348 else
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24351
24352 ac_header_compiler=no
24353 fi
24354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24356 echo "${ECHO_T}$ac_header_compiler" >&6
24357
24358 # Is the header present?
24359 echo "$as_me:$LINENO: checking hash_map presence" >&5
24360 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24361 cat >conftest.$ac_ext <<_ACEOF
24362 /* confdefs.h. */
24363 _ACEOF
24364 cat confdefs.h >>conftest.$ac_ext
24365 cat >>conftest.$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 #include <hash_map>
24368 _ACEOF
24369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } >/dev/null; then
24377 if test -s conftest.err; then
24378 ac_cpp_err=$ac_cxx_preproc_warn_flag
24379 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24380 else
24381 ac_cpp_err=
24382 fi
24383 else
24384 ac_cpp_err=yes
24385 fi
24386 if test -z "$ac_cpp_err"; then
24387 ac_header_preproc=yes
24388 else
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24391
24392 ac_header_preproc=no
24393 fi
24394 rm -f conftest.err conftest.$ac_ext
24395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24396 echo "${ECHO_T}$ac_header_preproc" >&6
24397
24398 # So? What about this header?
24399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24400 yes:no: )
24401 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24402 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24403 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24404 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24405 ac_header_preproc=yes
24406 ;;
24407 no:yes:* )
24408 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24409 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24410 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24411 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24412 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24413 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24414 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24415 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24416 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24417 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24418 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24419 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24420 (
24421 cat <<\_ASBOX
24422 ## ----------------------------------------- ##
24423 ## Report this to wx-dev@lists.wxwidgets.org ##
24424 ## ----------------------------------------- ##
24425 _ASBOX
24426 ) |
24427 sed "s/^/$as_me: WARNING: /" >&2
24428 ;;
24429 esac
24430 echo "$as_me:$LINENO: checking for hash_map" >&5
24431 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24432 if test "${ac_cv_header_hash_map+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24434 else
24435 ac_cv_header_hash_map=$ac_header_preproc
24436 fi
24437 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24438 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24439
24440 fi
24441 if test $ac_cv_header_hash_map = yes; then
24442 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24443 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24444 cat >conftest.$ac_ext <<_ACEOF
24445 /* confdefs.h. */
24446 _ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 #include <hash_map>
24451 #include <hash_set>
24452 int
24453 main ()
24454 {
24455 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24456 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 rm -f conftest.$ac_objext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24463 (eval $ac_compile) 2>conftest.er1
24464 ac_status=$?
24465 grep -v '^ *+' conftest.er1 >conftest.err
24466 rm -f conftest.er1
24467 cat conftest.err >&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } &&
24470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24473 ac_status=$?
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; } &&
24476 { ac_try='test -s conftest.$ac_objext'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24479 ac_status=$?
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; }; then
24482 echo "$as_me:$LINENO: result: yes" >&5
24483 echo "${ECHO_T}yes" >&6
24484 cat >>confdefs.h <<\_ACEOF
24485 #define HAVE_HASH_MAP 1
24486 _ACEOF
24487
24488 cat >>confdefs.h <<\_ACEOF
24489 #define HAVE_STD_HASH_MAP 1
24490 _ACEOF
24491
24492 else
24493 echo "$as_me: failed program was:" >&5
24494 sed 's/^/| /' conftest.$ac_ext >&5
24495
24496 echo "$as_me:$LINENO: result: no" >&5
24497 echo "${ECHO_T}no" >&6
24498 fi
24499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24500
24501 fi
24502
24503
24504
24505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24506 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24507 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24508 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 fi
24511 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24512 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24513 else
24514 # Is the header compilable?
24515 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24516 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h. */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523 $ac_includes_default
24524 #include <ext/hash_map>
24525 _ACEOF
24526 rm -f conftest.$ac_objext
24527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24528 (eval $ac_compile) 2>conftest.er1
24529 ac_status=$?
24530 grep -v '^ *+' conftest.er1 >conftest.err
24531 rm -f conftest.er1
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } &&
24535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest.$ac_objext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 ac_header_compiler=yes
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_header_compiler=no
24553 fi
24554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24556 echo "${ECHO_T}$ac_header_compiler" >&6
24557
24558 # Is the header present?
24559 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24560 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24561 cat >conftest.$ac_ext <<_ACEOF
24562 /* confdefs.h. */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567 #include <ext/hash_map>
24568 _ACEOF
24569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24571 ac_status=$?
24572 grep -v '^ *+' conftest.er1 >conftest.err
24573 rm -f conftest.er1
24574 cat conftest.err >&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); } >/dev/null; then
24577 if test -s conftest.err; then
24578 ac_cpp_err=$ac_cxx_preproc_warn_flag
24579 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24580 else
24581 ac_cpp_err=
24582 fi
24583 else
24584 ac_cpp_err=yes
24585 fi
24586 if test -z "$ac_cpp_err"; then
24587 ac_header_preproc=yes
24588 else
24589 echo "$as_me: failed program was:" >&5
24590 sed 's/^/| /' conftest.$ac_ext >&5
24591
24592 ac_header_preproc=no
24593 fi
24594 rm -f conftest.err conftest.$ac_ext
24595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24596 echo "${ECHO_T}$ac_header_preproc" >&6
24597
24598 # So? What about this header?
24599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24600 yes:no: )
24601 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24602 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24603 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24604 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24605 ac_header_preproc=yes
24606 ;;
24607 no:yes:* )
24608 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24609 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24610 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24611 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24612 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24613 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24614 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24615 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24616 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24617 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24618 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24619 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24620 (
24621 cat <<\_ASBOX
24622 ## ----------------------------------------- ##
24623 ## Report this to wx-dev@lists.wxwidgets.org ##
24624 ## ----------------------------------------- ##
24625 _ASBOX
24626 ) |
24627 sed "s/^/$as_me: WARNING: /" >&2
24628 ;;
24629 esac
24630 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24631 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24632 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24634 else
24635 ac_cv_header_ext_hash_map=$ac_header_preproc
24636 fi
24637 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24638 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24639
24640 fi
24641 if test $ac_cv_header_ext_hash_map = yes; then
24642 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24643 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24644 cat >conftest.$ac_ext <<_ACEOF
24645 /* confdefs.h. */
24646 _ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <ext/hash_map>
24651 #include <ext/hash_set>
24652 int
24653 main ()
24654 {
24655 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24656 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24657 ;
24658 return 0;
24659 }
24660 _ACEOF
24661 rm -f conftest.$ac_objext
24662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24663 (eval $ac_compile) 2>conftest.er1
24664 ac_status=$?
24665 grep -v '^ *+' conftest.er1 >conftest.err
24666 rm -f conftest.er1
24667 cat conftest.err >&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); } &&
24670 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24673 ac_status=$?
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; } &&
24676 { ac_try='test -s conftest.$ac_objext'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24679 ac_status=$?
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; }; then
24682 echo "$as_me:$LINENO: result: yes" >&5
24683 echo "${ECHO_T}yes" >&6
24684 cat >>confdefs.h <<\_ACEOF
24685 #define HAVE_EXT_HASH_MAP 1
24686 _ACEOF
24687
24688 cat >>confdefs.h <<\_ACEOF
24689 #define HAVE_GNU_CXX_HASH_MAP 1
24690 _ACEOF
24691
24692 else
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.$ac_ext >&5
24695
24696 echo "$as_me:$LINENO: result: no" >&5
24697 echo "${ECHO_T}no" >&6
24698 fi
24699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24700
24701 fi
24702
24703
24704 fi
24705
24706
24707 SEARCH_INCLUDE="\
24708 /usr/local/include \
24709 \
24710 /usr/Motif-2.1/include \
24711 /usr/Motif-1.2/include \
24712 /usr/include/Motif1.2 \
24713 \
24714 /usr/dt/include \
24715 /usr/openwin/include \
24716 \
24717 /usr/include/Xm \
24718 \
24719 /usr/X11R6/include \
24720 /usr/X11R6.4/include \
24721 /usr/X11R5/include \
24722 /usr/X11R4/include \
24723 \
24724 /usr/include/X11R6 \
24725 /usr/include/X11R5 \
24726 /usr/include/X11R4 \
24727 \
24728 /usr/local/X11R6/include \
24729 /usr/local/X11R5/include \
24730 /usr/local/X11R4/include \
24731 \
24732 /usr/local/include/X11R6 \
24733 /usr/local/include/X11R5 \
24734 /usr/local/include/X11R4 \
24735 \
24736 /usr/X11/include \
24737 /usr/include/X11 \
24738 /usr/local/X11/include \
24739 /usr/local/include/X11 \
24740 \
24741 /usr/XFree86/include/X11 \
24742 /usr/pkg/include \
24743 \
24744 /usr/openwin/share/include"
24745
24746 echo "$as_me:$LINENO: checking for libraries directory" >&5
24747 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24748
24749 case "${host}" in
24750 *-*-irix6* )
24751 if test "${wx_cv_std_libpath+set}" = set; then
24752 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 else
24754
24755 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24756 for e in a so sl dylib dll.a; do
24757 libc="$d/libc.$e"
24758 if test -f $libc; then
24759 save_LIBS="$LIBS"
24760 LIBS="$libc"
24761 cat >conftest.$ac_ext <<_ACEOF
24762 int main() { return 0; }
24763 _ACEOF
24764 rm -f conftest.$ac_objext conftest$ac_exeext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24766 (eval $ac_link) 2>conftest.er1
24767 ac_status=$?
24768 grep -v '^ *+' conftest.er1 >conftest.err
24769 rm -f conftest.er1
24770 cat conftest.err >&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } &&
24773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try='test -s conftest$ac_exeext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24782 ac_status=$?
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 fi
24791 rm -f conftest.err conftest.$ac_objext \
24792 conftest$ac_exeext conftest.$ac_ext
24793 LIBS="$save_LIBS"
24794 if test "x$wx_cv_std_libpath" != "x"; then
24795 break 2
24796 fi
24797 fi
24798 done
24799 done
24800 if test "x$wx_cv_std_libpath" = "x"; then
24801 wx_cv_std_libpath="lib"
24802 fi
24803
24804
24805 fi
24806
24807 ;;
24808
24809 *-*-solaris2* )
24810 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24811 wx_cv_std_libpath="lib/64"
24812 else
24813 wx_cv_std_libpath="lib"
24814 fi
24815 ;;
24816
24817 *-*-linux* )
24818 if test "$ac_cv_sizeof_void_p" = 8 -a \
24819 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24820 wx_cv_std_libpath="lib64"
24821 else
24822 wx_cv_std_libpath="lib"
24823 fi
24824 ;;
24825
24826 *)
24827 wx_cv_std_libpath="lib";
24828 ;;
24829 esac
24830
24831 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24832 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24833
24834 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24835
24836 if test "$build" != "$host" -a "$GCC" = yes; then
24837 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24838 cross_root=`dirname $cross_root`
24839 cross_root=`dirname $cross_root`
24840
24841 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24842 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24843 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24844
24845 if test -z "$PKG_CONFIG_PATH"; then
24846 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24847 export PKG_CONFIG_PATH
24848 fi
24849
24850 if test -z "$x_includes" -o "$x_includes" = NONE; then
24851
24852 ac_find_includes=
24853 for ac_dir in $SEARCH_INCLUDE /usr/include;
24854 do
24855 if test -f "$ac_dir/X11/Intrinsic.h"; then
24856 ac_find_includes=$ac_dir
24857 break
24858 fi
24859 done
24860
24861 x_includes=$ac_find_includes
24862 fi
24863 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24864
24865 ac_find_libraries=
24866 for ac_dir in $SEARCH_LIB;
24867 do
24868 for ac_extension in a so sl dylib dll.a; do
24869 if test -f "$ac_dir/libXt.$ac_extension"; then
24870 ac_find_libraries=$ac_dir
24871 break 2
24872 fi
24873 done
24874 done
24875
24876 x_libraries=$ac_find_libraries
24877 fi
24878 fi
24879 fi
24880
24881
24882 cat >confcache <<\_ACEOF
24883 # This file is a shell script that caches the results of configure
24884 # tests run on this system so they can be shared between configure
24885 # scripts and configure runs, see configure's option --config-cache.
24886 # It is not useful on other systems. If it contains results you don't
24887 # want to keep, you may remove or edit it.
24888 #
24889 # config.status only pays attention to the cache file if you give it
24890 # the --recheck option to rerun configure.
24891 #
24892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24894 # following values.
24895
24896 _ACEOF
24897
24898 # The following way of writing the cache mishandles newlines in values,
24899 # but we know of no workaround that is simple, portable, and efficient.
24900 # So, don't put newlines in cache variables' values.
24901 # Ultrix sh set writes to stderr and can't be redirected directly,
24902 # and sets the high bit in the cache file unless we assign to the vars.
24903 {
24904 (set) 2>&1 |
24905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24906 *ac_space=\ *)
24907 # `set' does not quote correctly, so add quotes (double-quote
24908 # substitution turns \\\\ into \\, and sed turns \\ into \).
24909 sed -n \
24910 "s/'/'\\\\''/g;
24911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24912 ;;
24913 *)
24914 # `set' quotes correctly as required by POSIX, so do not add quotes.
24915 sed -n \
24916 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24917 ;;
24918 esac;
24919 } |
24920 sed '
24921 t clear
24922 : clear
24923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24924 t end
24925 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24926 : end' >>confcache
24927 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24928 if test -w $cache_file; then
24929 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24930 cat confcache >$cache_file
24931 else
24932 echo "not updating unwritable cache $cache_file"
24933 fi
24934 fi
24935 rm -f confcache
24936
24937 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24938 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24939 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24940 if test "${wx_cv_lib_glibc21+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 else
24943
24944 cat >conftest.$ac_ext <<_ACEOF
24945 /* confdefs.h. */
24946 _ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 #include <features.h>
24951 int
24952 main ()
24953 {
24954
24955 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24956 not glibc 2.1
24957 #endif
24958
24959 ;
24960 return 0;
24961 }
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24965 (eval $ac_compile) 2>conftest.er1
24966 ac_status=$?
24967 grep -v '^ *+' conftest.er1 >conftest.err
24968 rm -f conftest.er1
24969 cat conftest.err >&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974 (eval $ac_try) 2>&5
24975 ac_status=$?
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); }; } &&
24978 { ac_try='test -s conftest.$ac_objext'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; }; then
24984
24985 wx_cv_lib_glibc21=yes
24986
24987 else
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.$ac_ext >&5
24990
24991
24992 wx_cv_lib_glibc21=no
24993
24994
24995 fi
24996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24997
24998 fi
24999 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25000 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
25001 if test "$wx_cv_lib_glibc21" = "yes"; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define wxHAVE_GLIBC2 1
25004 _ACEOF
25005
25006 fi
25007 fi
25008
25009 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25010 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define _GNU_SOURCE 1
25013 _ACEOF
25014
25015 fi
25016 fi
25017
25018 have_cos=0
25019 have_floor=0
25020
25021 for ac_func in cos
25022 do
25023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25024 echo "$as_me:$LINENO: checking for $ac_func" >&5
25025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25026 if eval "test \"\${$as_ac_var+set}\" = set"; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 else
25029 cat >conftest.$ac_ext <<_ACEOF
25030 /* confdefs.h. */
25031 _ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25037 #define $ac_func innocuous_$ac_func
25038
25039 /* System header to define __stub macros and hopefully few prototypes,
25040 which can conflict with char $ac_func (); below.
25041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25042 <limits.h> exists even on freestanding compilers. */
25043
25044 #ifdef __STDC__
25045 # include <limits.h>
25046 #else
25047 # include <assert.h>
25048 #endif
25049
25050 #undef $ac_func
25051
25052 /* Override any gcc2 internal prototype to avoid an error. */
25053 #ifdef __cplusplus
25054 extern "C"
25055 {
25056 #endif
25057 /* We use char because int might match the return type of a gcc2
25058 builtin and then its argument prototype would still apply. */
25059 char $ac_func ();
25060 /* The GNU C library defines this for functions which it implements
25061 to always fail with ENOSYS. Some functions are actually named
25062 something starting with __ and the normal name is an alias. */
25063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25064 choke me
25065 #else
25066 char (*f) () = $ac_func;
25067 #endif
25068 #ifdef __cplusplus
25069 }
25070 #endif
25071
25072 int
25073 main ()
25074 {
25075 return f != $ac_func;
25076 ;
25077 return 0;
25078 }
25079 _ACEOF
25080 rm -f conftest.$ac_objext conftest$ac_exeext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25082 (eval $ac_link) 2>conftest.er1
25083 ac_status=$?
25084 grep -v '^ *+' conftest.er1 >conftest.err
25085 rm -f conftest.er1
25086 cat conftest.err >&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25092 ac_status=$?
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 eval "$as_ac_var=yes"
25102 else
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25105
25106 eval "$as_ac_var=no"
25107 fi
25108 rm -f conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 fi
25111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25113 if test `eval echo '${'$as_ac_var'}'` = yes; then
25114 cat >>confdefs.h <<_ACEOF
25115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25116 _ACEOF
25117 have_cos=1
25118 fi
25119 done
25120
25121
25122 for ac_func in floor
25123 do
25124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25125 echo "$as_me:$LINENO: checking for $ac_func" >&5
25126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25127 if eval "test \"\${$as_ac_var+set}\" = set"; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 else
25130 cat >conftest.$ac_ext <<_ACEOF
25131 /* confdefs.h. */
25132 _ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25138 #define $ac_func innocuous_$ac_func
25139
25140 /* System header to define __stub macros and hopefully few prototypes,
25141 which can conflict with char $ac_func (); below.
25142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25143 <limits.h> exists even on freestanding compilers. */
25144
25145 #ifdef __STDC__
25146 # include <limits.h>
25147 #else
25148 # include <assert.h>
25149 #endif
25150
25151 #undef $ac_func
25152
25153 /* Override any gcc2 internal prototype to avoid an error. */
25154 #ifdef __cplusplus
25155 extern "C"
25156 {
25157 #endif
25158 /* We use char because int might match the return type of a gcc2
25159 builtin and then its argument prototype would still apply. */
25160 char $ac_func ();
25161 /* The GNU C library defines this for functions which it implements
25162 to always fail with ENOSYS. Some functions are actually named
25163 something starting with __ and the normal name is an alias. */
25164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25165 choke me
25166 #else
25167 char (*f) () = $ac_func;
25168 #endif
25169 #ifdef __cplusplus
25170 }
25171 #endif
25172
25173 int
25174 main ()
25175 {
25176 return f != $ac_func;
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext conftest$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25193 ac_status=$?
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try='test -s conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25199 ac_status=$?
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 eval "$as_ac_var=yes"
25203 else
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25206
25207 eval "$as_ac_var=no"
25208 fi
25209 rm -f conftest.err conftest.$ac_objext \
25210 conftest$ac_exeext conftest.$ac_ext
25211 fi
25212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25214 if test `eval echo '${'$as_ac_var'}'` = yes; then
25215 cat >>confdefs.h <<_ACEOF
25216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25217 _ACEOF
25218 have_floor=1
25219 fi
25220 done
25221
25222 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25223 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25224 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25225 echo "$as_me:$LINENO: result: yes" >&5
25226 echo "${ECHO_T}yes" >&6
25227 else
25228 echo "$as_me:$LINENO: result: no" >&5
25229 echo "${ECHO_T}no" >&6
25230 LIBS="$LIBS -lm"
25231 # use different functions to avoid configure caching
25232 have_sin=0
25233 have_ceil=0
25234
25235 for ac_func in sin
25236 do
25237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25238 echo "$as_me:$LINENO: checking for $ac_func" >&5
25239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25240 if eval "test \"\${$as_ac_var+set}\" = set"; then
25241 echo $ECHO_N "(cached) $ECHO_C" >&6
25242 else
25243 cat >conftest.$ac_ext <<_ACEOF
25244 /* confdefs.h. */
25245 _ACEOF
25246 cat confdefs.h >>conftest.$ac_ext
25247 cat >>conftest.$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25251 #define $ac_func innocuous_$ac_func
25252
25253 /* System header to define __stub macros and hopefully few prototypes,
25254 which can conflict with char $ac_func (); below.
25255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25256 <limits.h> exists even on freestanding compilers. */
25257
25258 #ifdef __STDC__
25259 # include <limits.h>
25260 #else
25261 # include <assert.h>
25262 #endif
25263
25264 #undef $ac_func
25265
25266 /* Override any gcc2 internal prototype to avoid an error. */
25267 #ifdef __cplusplus
25268 extern "C"
25269 {
25270 #endif
25271 /* We use char because int might match the return type of a gcc2
25272 builtin and then its argument prototype would still apply. */
25273 char $ac_func ();
25274 /* The GNU C library defines this for functions which it implements
25275 to always fail with ENOSYS. Some functions are actually named
25276 something starting with __ and the normal name is an alias. */
25277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25278 choke me
25279 #else
25280 char (*f) () = $ac_func;
25281 #endif
25282 #ifdef __cplusplus
25283 }
25284 #endif
25285
25286 int
25287 main ()
25288 {
25289 return f != $ac_func;
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25306 ac_status=$?
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; } &&
25309 { ac_try='test -s conftest$ac_exeext'
25310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311 (eval $ac_try) 2>&5
25312 ac_status=$?
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 eval "$as_ac_var=yes"
25316 else
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25319
25320 eval "$as_ac_var=no"
25321 fi
25322 rm -f conftest.err conftest.$ac_objext \
25323 conftest$ac_exeext conftest.$ac_ext
25324 fi
25325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25327 if test `eval echo '${'$as_ac_var'}'` = yes; then
25328 cat >>confdefs.h <<_ACEOF
25329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25330 _ACEOF
25331 have_sin=1
25332 fi
25333 done
25334
25335
25336 for ac_func in ceil
25337 do
25338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25339 echo "$as_me:$LINENO: checking for $ac_func" >&5
25340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25341 if eval "test \"\${$as_ac_var+set}\" = set"; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 else
25344 cat >conftest.$ac_ext <<_ACEOF
25345 /* confdefs.h. */
25346 _ACEOF
25347 cat confdefs.h >>conftest.$ac_ext
25348 cat >>conftest.$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25352 #define $ac_func innocuous_$ac_func
25353
25354 /* System header to define __stub macros and hopefully few prototypes,
25355 which can conflict with char $ac_func (); below.
25356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25357 <limits.h> exists even on freestanding compilers. */
25358
25359 #ifdef __STDC__
25360 # include <limits.h>
25361 #else
25362 # include <assert.h>
25363 #endif
25364
25365 #undef $ac_func
25366
25367 /* Override any gcc2 internal prototype to avoid an error. */
25368 #ifdef __cplusplus
25369 extern "C"
25370 {
25371 #endif
25372 /* We use char because int might match the return type of a gcc2
25373 builtin and then its argument prototype would still apply. */
25374 char $ac_func ();
25375 /* The GNU C library defines this for functions which it implements
25376 to always fail with ENOSYS. Some functions are actually named
25377 something starting with __ and the normal name is an alias. */
25378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25379 choke me
25380 #else
25381 char (*f) () = $ac_func;
25382 #endif
25383 #ifdef __cplusplus
25384 }
25385 #endif
25386
25387 int
25388 main ()
25389 {
25390 return f != $ac_func;
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 rm -f conftest.$ac_objext conftest$ac_exeext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25397 (eval $ac_link) 2>conftest.er1
25398 ac_status=$?
25399 grep -v '^ *+' conftest.er1 >conftest.err
25400 rm -f conftest.er1
25401 cat conftest.err >&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try='test -s conftest$ac_exeext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25416 eval "$as_ac_var=yes"
25417 else
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25420
25421 eval "$as_ac_var=no"
25422 fi
25423 rm -f conftest.err conftest.$ac_objext \
25424 conftest$ac_exeext conftest.$ac_ext
25425 fi
25426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25428 if test `eval echo '${'$as_ac_var'}'` = yes; then
25429 cat >>confdefs.h <<_ACEOF
25430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25431 _ACEOF
25432 have_ceil=1
25433 fi
25434 done
25435
25436 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25437 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25438 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25439 echo "$as_me:$LINENO: result: yes" >&5
25440 echo "${ECHO_T}yes" >&6
25441 else
25442 echo "$as_me:$LINENO: result: no" >&5
25443 echo "${ECHO_T}no" >&6
25444 # not sure we should warn the user, crash, etc.
25445 fi
25446 fi
25447
25448 if test "wxUSE_UNICODE" = "yes"; then
25449
25450 for ac_func in wcstoull
25451 do
25452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25453 echo "$as_me:$LINENO: checking for $ac_func" >&5
25454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25455 if eval "test \"\${$as_ac_var+set}\" = set"; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 else
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25466 #define $ac_func innocuous_$ac_func
25467
25468 /* System header to define __stub macros and hopefully few prototypes,
25469 which can conflict with char $ac_func (); below.
25470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25471 <limits.h> exists even on freestanding compilers. */
25472
25473 #ifdef __STDC__
25474 # include <limits.h>
25475 #else
25476 # include <assert.h>
25477 #endif
25478
25479 #undef $ac_func
25480
25481 /* Override any gcc2 internal prototype to avoid an error. */
25482 #ifdef __cplusplus
25483 extern "C"
25484 {
25485 #endif
25486 /* We use char because int might match the return type of a gcc2
25487 builtin and then its argument prototype would still apply. */
25488 char $ac_func ();
25489 /* The GNU C library defines this for functions which it implements
25490 to always fail with ENOSYS. Some functions are actually named
25491 something starting with __ and the normal name is an alias. */
25492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25493 choke me
25494 #else
25495 char (*f) () = $ac_func;
25496 #endif
25497 #ifdef __cplusplus
25498 }
25499 #endif
25500
25501 int
25502 main ()
25503 {
25504 return f != $ac_func;
25505 ;
25506 return 0;
25507 }
25508 _ACEOF
25509 rm -f conftest.$ac_objext conftest$ac_exeext
25510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25511 (eval $ac_link) 2>conftest.er1
25512 ac_status=$?
25513 grep -v '^ *+' conftest.er1 >conftest.err
25514 rm -f conftest.er1
25515 cat conftest.err >&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; } &&
25524 { ac_try='test -s conftest$ac_exeext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 eval "$as_ac_var=yes"
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 eval "$as_ac_var=no"
25536 fi
25537 rm -f conftest.err conftest.$ac_objext \
25538 conftest$ac_exeext conftest.$ac_ext
25539 fi
25540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25542 if test `eval echo '${'$as_ac_var'}'` = yes; then
25543 cat >>confdefs.h <<_ACEOF
25544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25545 _ACEOF
25546
25547 fi
25548 done
25549
25550 else
25551
25552 for ac_func in strtoull
25553 do
25554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25555 echo "$as_me:$LINENO: checking for $ac_func" >&5
25556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25557 if eval "test \"\${$as_ac_var+set}\" = set"; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560 cat >conftest.$ac_ext <<_ACEOF
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25568 #define $ac_func innocuous_$ac_func
25569
25570 /* System header to define __stub macros and hopefully few prototypes,
25571 which can conflict with char $ac_func (); below.
25572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25573 <limits.h> exists even on freestanding compilers. */
25574
25575 #ifdef __STDC__
25576 # include <limits.h>
25577 #else
25578 # include <assert.h>
25579 #endif
25580
25581 #undef $ac_func
25582
25583 /* Override any gcc2 internal prototype to avoid an error. */
25584 #ifdef __cplusplus
25585 extern "C"
25586 {
25587 #endif
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25590 char $ac_func ();
25591 /* The GNU C library defines this for functions which it implements
25592 to always fail with ENOSYS. Some functions are actually named
25593 something starting with __ and the normal name is an alias. */
25594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25595 choke me
25596 #else
25597 char (*f) () = $ac_func;
25598 #endif
25599 #ifdef __cplusplus
25600 }
25601 #endif
25602
25603 int
25604 main ()
25605 {
25606 return f != $ac_func;
25607 ;
25608 return 0;
25609 }
25610 _ACEOF
25611 rm -f conftest.$ac_objext conftest$ac_exeext
25612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25613 (eval $ac_link) 2>conftest.er1
25614 ac_status=$?
25615 grep -v '^ *+' conftest.er1 >conftest.err
25616 rm -f conftest.er1
25617 cat conftest.err >&5
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; } &&
25626 { ac_try='test -s conftest$ac_exeext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25629 ac_status=$?
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 eval "$as_ac_var=yes"
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 eval "$as_ac_var=no"
25638 fi
25639 rm -f conftest.err conftest.$ac_objext \
25640 conftest$ac_exeext conftest.$ac_ext
25641 fi
25642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25644 if test `eval echo '${'$as_ac_var'}'` = yes; then
25645 cat >>confdefs.h <<_ACEOF
25646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25647 _ACEOF
25648
25649 fi
25650 done
25651
25652 fi
25653
25654
25655
25656 if test "$wxUSE_REGEX" != "no"; then
25657 cat >>confdefs.h <<\_ACEOF
25658 #define wxUSE_REGEX 1
25659 _ACEOF
25660
25661
25662 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25663 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25664 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25665 wxUSE_REGEX=builtin
25666 fi
25667
25668 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25669 if test "${ac_cv_header_regex_h+set}" = set; then
25670 echo "$as_me:$LINENO: checking for regex.h" >&5
25671 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25672 if test "${ac_cv_header_regex_h+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 fi
25675 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25676 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25677 else
25678 # Is the header compilable?
25679 echo "$as_me:$LINENO: checking regex.h usability" >&5
25680 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25681 cat >conftest.$ac_ext <<_ACEOF
25682 /* confdefs.h. */
25683 _ACEOF
25684 cat confdefs.h >>conftest.$ac_ext
25685 cat >>conftest.$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25687 $ac_includes_default
25688 #include <regex.h>
25689 _ACEOF
25690 rm -f conftest.$ac_objext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25692 (eval $ac_compile) 2>conftest.er1
25693 ac_status=$?
25694 grep -v '^ *+' conftest.er1 >conftest.err
25695 rm -f conftest.er1
25696 cat conftest.err >&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25702 ac_status=$?
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try='test -s conftest.$ac_objext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25708 ac_status=$?
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 ac_header_compiler=yes
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 ac_header_compiler=no
25717 fi
25718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25720 echo "${ECHO_T}$ac_header_compiler" >&6
25721
25722 # Is the header present?
25723 echo "$as_me:$LINENO: checking regex.h presence" >&5
25724 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25725 cat >conftest.$ac_ext <<_ACEOF
25726 /* confdefs.h. */
25727 _ACEOF
25728 cat confdefs.h >>conftest.$ac_ext
25729 cat >>conftest.$ac_ext <<_ACEOF
25730 /* end confdefs.h. */
25731 #include <regex.h>
25732 _ACEOF
25733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25735 ac_status=$?
25736 grep -v '^ *+' conftest.er1 >conftest.err
25737 rm -f conftest.er1
25738 cat conftest.err >&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); } >/dev/null; then
25741 if test -s conftest.err; then
25742 ac_cpp_err=$ac_cxx_preproc_warn_flag
25743 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25744 else
25745 ac_cpp_err=
25746 fi
25747 else
25748 ac_cpp_err=yes
25749 fi
25750 if test -z "$ac_cpp_err"; then
25751 ac_header_preproc=yes
25752 else
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25755
25756 ac_header_preproc=no
25757 fi
25758 rm -f conftest.err conftest.$ac_ext
25759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25760 echo "${ECHO_T}$ac_header_preproc" >&6
25761
25762 # So? What about this header?
25763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25764 yes:no: )
25765 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25766 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25767 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25768 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25769 ac_header_preproc=yes
25770 ;;
25771 no:yes:* )
25772 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25773 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25774 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25775 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25776 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25777 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25778 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25779 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25780 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25781 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25782 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25783 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25784 (
25785 cat <<\_ASBOX
25786 ## ----------------------------------------- ##
25787 ## Report this to wx-dev@lists.wxwidgets.org ##
25788 ## ----------------------------------------- ##
25789 _ASBOX
25790 ) |
25791 sed "s/^/$as_me: WARNING: /" >&2
25792 ;;
25793 esac
25794 echo "$as_me:$LINENO: checking for regex.h" >&5
25795 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25796 if test "${ac_cv_header_regex_h+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799 ac_cv_header_regex_h=$ac_header_preproc
25800 fi
25801 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25802 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25803
25804 fi
25805 if test $ac_cv_header_regex_h = yes; then
25806
25807
25808 for ac_func in regcomp re_search
25809 do
25810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25811 echo "$as_me:$LINENO: checking for $ac_func" >&5
25812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25813 if eval "test \"\${$as_ac_var+set}\" = set"; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25824 #define $ac_func innocuous_$ac_func
25825
25826 /* System header to define __stub macros and hopefully few prototypes,
25827 which can conflict with char $ac_func (); below.
25828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25829 <limits.h> exists even on freestanding compilers. */
25830
25831 #ifdef __STDC__
25832 # include <limits.h>
25833 #else
25834 # include <assert.h>
25835 #endif
25836
25837 #undef $ac_func
25838
25839 /* Override any gcc2 internal prototype to avoid an error. */
25840 #ifdef __cplusplus
25841 extern "C"
25842 {
25843 #endif
25844 /* We use char because int might match the return type of a gcc2
25845 builtin and then its argument prototype would still apply. */
25846 char $ac_func ();
25847 /* The GNU C library defines this for functions which it implements
25848 to always fail with ENOSYS. Some functions are actually named
25849 something starting with __ and the normal name is an alias. */
25850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25851 choke me
25852 #else
25853 char (*f) () = $ac_func;
25854 #endif
25855 #ifdef __cplusplus
25856 }
25857 #endif
25858
25859 int
25860 main ()
25861 {
25862 return f != $ac_func;
25863 ;
25864 return 0;
25865 }
25866 _ACEOF
25867 rm -f conftest.$ac_objext conftest$ac_exeext
25868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25869 (eval $ac_link) 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } &&
25876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try='test -s conftest$ac_exeext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25888 eval "$as_ac_var=yes"
25889 else
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25892
25893 eval "$as_ac_var=no"
25894 fi
25895 rm -f conftest.err conftest.$ac_objext \
25896 conftest$ac_exeext conftest.$ac_ext
25897 fi
25898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25900 if test `eval echo '${'$as_ac_var'}'` = yes; then
25901 cat >>confdefs.h <<_ACEOF
25902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25903 _ACEOF
25904
25905 fi
25906 done
25907
25908 fi
25909
25910
25911
25912 if test "x$ac_cv_func_regcomp" != "xyes"; then
25913 if test "$wxUSE_REGEX" = "sys" ; then
25914 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25915 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25916 { (exit 1); exit 1; }; }
25917 else
25918 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25919 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25920 wxUSE_REGEX=builtin
25921 fi
25922 else
25923 wxUSE_REGEX=sys
25924 cat >>confdefs.h <<\_ACEOF
25925 #define WX_NO_REGEX_ADVANCED 1
25926 _ACEOF
25927
25928 fi
25929 fi
25930 fi
25931
25932
25933 ZLIB_LINK=
25934 if test "$wxUSE_ZLIB" != "no" ; then
25935 cat >>confdefs.h <<\_ACEOF
25936 #define wxUSE_ZLIB 1
25937 _ACEOF
25938
25939
25940 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25941 if test "$USE_DARWIN" = 1; then
25942 system_zlib_h_ok="yes"
25943 else
25944 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25945 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25946 if test "${ac_cv_header_zlib_h+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 else
25949 if test "$cross_compiling" = yes; then
25950 unset ac_cv_header_zlib_h
25951
25952 else
25953 cat >conftest.$ac_ext <<_ACEOF
25954 /* confdefs.h. */
25955 _ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959
25960 #include <zlib.h>
25961 #include <stdio.h>
25962
25963 int main()
25964 {
25965 FILE *f=fopen("conftestval", "w");
25966 if (!f) exit(1);
25967 fprintf(f, "%s",
25968 ZLIB_VERSION[0] == '1' &&
25969 (ZLIB_VERSION[2] > '1' ||
25970 (ZLIB_VERSION[2] == '1' &&
25971 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25972 exit(0);
25973 }
25974
25975 _ACEOF
25976 rm -f conftest$ac_exeext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25978 (eval $ac_link) 2>&5
25979 ac_status=$?
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_cv_header_zlib_h=`cat conftestval`
25988 else
25989 echo "$as_me: program exited with status $ac_status" >&5
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.$ac_ext >&5
25992
25993 ( exit $ac_status )
25994 ac_cv_header_zlib_h=no
25995 fi
25996 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25997 fi
25998
25999 fi
26000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26002 if test "${ac_cv_header_zlib_h+set}" = set; then
26003 echo "$as_me:$LINENO: checking for zlib.h" >&5
26004 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26005 if test "${ac_cv_header_zlib_h+set}" = set; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 fi
26008 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26009 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26010 else
26011 # Is the header compilable?
26012 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26013 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26014 cat >conftest.$ac_ext <<_ACEOF
26015 /* confdefs.h. */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 $ac_includes_default
26021 #include <zlib.h>
26022 _ACEOF
26023 rm -f conftest.$ac_objext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26025 (eval $ac_compile) 2>conftest.er1
26026 ac_status=$?
26027 grep -v '^ *+' conftest.er1 >conftest.err
26028 rm -f conftest.er1
26029 cat conftest.err >&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try='test -s conftest.$ac_objext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 ac_header_compiler=yes
26045 else
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.$ac_ext >&5
26048
26049 ac_header_compiler=no
26050 fi
26051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26053 echo "${ECHO_T}$ac_header_compiler" >&6
26054
26055 # Is the header present?
26056 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26057 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <zlib.h>
26065 _ACEOF
26066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26068 ac_status=$?
26069 grep -v '^ *+' conftest.er1 >conftest.err
26070 rm -f conftest.er1
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } >/dev/null; then
26074 if test -s conftest.err; then
26075 ac_cpp_err=$ac_cxx_preproc_warn_flag
26076 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26077 else
26078 ac_cpp_err=
26079 fi
26080 else
26081 ac_cpp_err=yes
26082 fi
26083 if test -z "$ac_cpp_err"; then
26084 ac_header_preproc=yes
26085 else
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.$ac_ext >&5
26088
26089 ac_header_preproc=no
26090 fi
26091 rm -f conftest.err conftest.$ac_ext
26092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26093 echo "${ECHO_T}$ac_header_preproc" >&6
26094
26095 # So? What about this header?
26096 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26097 yes:no: )
26098 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26099 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26100 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26101 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26102 ac_header_preproc=yes
26103 ;;
26104 no:yes:* )
26105 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26106 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26107 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26108 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26109 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26110 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26111 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26112 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26113 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26114 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26115 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26116 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26117 (
26118 cat <<\_ASBOX
26119 ## ----------------------------------------- ##
26120 ## Report this to wx-dev@lists.wxwidgets.org ##
26121 ## ----------------------------------------- ##
26122 _ASBOX
26123 ) |
26124 sed "s/^/$as_me: WARNING: /" >&2
26125 ;;
26126 esac
26127 echo "$as_me:$LINENO: checking for zlib.h" >&5
26128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 ac_cv_header_zlib_h=$ac_header_preproc
26133 fi
26134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26136
26137 fi
26138
26139
26140
26141 system_zlib_h_ok=$ac_cv_header_zlib_h
26142 fi
26143
26144 if test "$system_zlib_h_ok" = "yes"; then
26145 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26146 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26147 if test "${ac_cv_lib_z_deflate+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 else
26150 ac_check_lib_save_LIBS=$LIBS
26151 LIBS="-lz $LIBS"
26152 cat >conftest.$ac_ext <<_ACEOF
26153 /* confdefs.h. */
26154 _ACEOF
26155 cat confdefs.h >>conftest.$ac_ext
26156 cat >>conftest.$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26158
26159 /* Override any gcc2 internal prototype to avoid an error. */
26160 #ifdef __cplusplus
26161 extern "C"
26162 #endif
26163 /* We use char because int might match the return type of a gcc2
26164 builtin and then its argument prototype would still apply. */
26165 char deflate ();
26166 int
26167 main ()
26168 {
26169 deflate ();
26170 ;
26171 return 0;
26172 }
26173 _ACEOF
26174 rm -f conftest.$ac_objext conftest$ac_exeext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26176 (eval $ac_link) 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26186 ac_status=$?
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; } &&
26189 { ac_try='test -s conftest$ac_exeext'
26190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 (eval $ac_try) 2>&5
26192 ac_status=$?
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); }; }; then
26195 ac_cv_lib_z_deflate=yes
26196 else
26197 echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26199
26200 ac_cv_lib_z_deflate=no
26201 fi
26202 rm -f conftest.err conftest.$ac_objext \
26203 conftest$ac_exeext conftest.$ac_ext
26204 LIBS=$ac_check_lib_save_LIBS
26205 fi
26206 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26207 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26208 if test $ac_cv_lib_z_deflate = yes; then
26209 ZLIB_LINK=" -lz"
26210 fi
26211
26212 fi
26213
26214 if test "x$ZLIB_LINK" = "x" ; then
26215 if test "$wxUSE_ZLIB" = "sys" ; then
26216 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26217 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26218 { (exit 1); exit 1; }; }
26219 else
26220 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26221 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26222 wxUSE_ZLIB=builtin
26223 fi
26224 else
26225 wxUSE_ZLIB=sys
26226 fi
26227 fi
26228 fi
26229
26230
26231 PNG_LINK=
26232 if test "$wxUSE_LIBPNG" != "no" ; then
26233 cat >>confdefs.h <<\_ACEOF
26234 #define wxUSE_LIBPNG 1
26235 _ACEOF
26236
26237
26238 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26239 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26240 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26241 wxUSE_LIBPNG=sys
26242 fi
26243
26244 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26245 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26246 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26247 wxUSE_LIBPNG=builtin
26248 fi
26249
26250 if test "$wxUSE_MGL" != 1 ; then
26251 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26252 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26253 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26254 if test "${ac_cv_header_png_h+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 else
26257 if test "$cross_compiling" = yes; then
26258 unset ac_cv_header_png_h
26259
26260 else
26261 cat >conftest.$ac_ext <<_ACEOF
26262 /* confdefs.h. */
26263 _ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267
26268 #include <png.h>
26269 #include <stdio.h>
26270
26271 int main()
26272 {
26273 FILE *f=fopen("conftestval", "w");
26274 if (!f) exit(1);
26275 fprintf(f, "%s",
26276 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26277 exit(0);
26278 }
26279
26280 _ACEOF
26281 rm -f conftest$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>&5
26284 ac_status=$?
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 ac_cv_header_png_h=`cat conftestval`
26293 else
26294 echo "$as_me: program exited with status $ac_status" >&5
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.$ac_ext >&5
26297
26298 ( exit $ac_status )
26299 ac_cv_header_png_h=no
26300 fi
26301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26302 fi
26303
26304 fi
26305 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26306 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26307 if test "${ac_cv_header_png_h+set}" = set; then
26308 echo "$as_me:$LINENO: checking for png.h" >&5
26309 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26310 if test "${ac_cv_header_png_h+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 fi
26313 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26314 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26315 else
26316 # Is the header compilable?
26317 echo "$as_me:$LINENO: checking png.h usability" >&5
26318 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26319 cat >conftest.$ac_ext <<_ACEOF
26320 /* confdefs.h. */
26321 _ACEOF
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26325 $ac_includes_default
26326 #include <png.h>
26327 _ACEOF
26328 rm -f conftest.$ac_objext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26330 (eval $ac_compile) 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; } &&
26343 { ac_try='test -s conftest.$ac_objext'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26346 ac_status=$?
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; }; then
26349 ac_header_compiler=yes
26350 else
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ac_header_compiler=no
26355 fi
26356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26358 echo "${ECHO_T}$ac_header_compiler" >&6
26359
26360 # Is the header present?
26361 echo "$as_me:$LINENO: checking png.h presence" >&5
26362 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26363 cat >conftest.$ac_ext <<_ACEOF
26364 /* confdefs.h. */
26365 _ACEOF
26366 cat confdefs.h >>conftest.$ac_ext
26367 cat >>conftest.$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26369 #include <png.h>
26370 _ACEOF
26371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } >/dev/null; then
26379 if test -s conftest.err; then
26380 ac_cpp_err=$ac_cxx_preproc_warn_flag
26381 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26382 else
26383 ac_cpp_err=
26384 fi
26385 else
26386 ac_cpp_err=yes
26387 fi
26388 if test -z "$ac_cpp_err"; then
26389 ac_header_preproc=yes
26390 else
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26393
26394 ac_header_preproc=no
26395 fi
26396 rm -f conftest.err conftest.$ac_ext
26397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26398 echo "${ECHO_T}$ac_header_preproc" >&6
26399
26400 # So? What about this header?
26401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26402 yes:no: )
26403 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26404 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26405 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26406 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26407 ac_header_preproc=yes
26408 ;;
26409 no:yes:* )
26410 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26411 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26412 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26413 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26415 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26416 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26417 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26419 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26420 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26421 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26422 (
26423 cat <<\_ASBOX
26424 ## ----------------------------------------- ##
26425 ## Report this to wx-dev@lists.wxwidgets.org ##
26426 ## ----------------------------------------- ##
26427 _ASBOX
26428 ) |
26429 sed "s/^/$as_me: WARNING: /" >&2
26430 ;;
26431 esac
26432 echo "$as_me:$LINENO: checking for png.h" >&5
26433 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26434 if test "${ac_cv_header_png_h+set}" = set; then
26435 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 else
26437 ac_cv_header_png_h=$ac_header_preproc
26438 fi
26439 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26441
26442 fi
26443
26444
26445
26446 if test "$ac_cv_header_png_h" = "yes"; then
26447 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26448 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26449 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452 ac_check_lib_save_LIBS=$LIBS
26453 LIBS="-lpng -lz -lm $LIBS"
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460
26461 /* Override any gcc2 internal prototype to avoid an error. */
26462 #ifdef __cplusplus
26463 extern "C"
26464 #endif
26465 /* We use char because int might match the return type of a gcc2
26466 builtin and then its argument prototype would still apply. */
26467 char png_check_sig ();
26468 int
26469 main ()
26470 {
26471 png_check_sig ();
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext conftest$ac_exeext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26478 (eval $ac_link) 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try='test -s conftest$ac_exeext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 ac_cv_lib_png_png_check_sig=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 ac_cv_lib_png_png_check_sig=no
26503 fi
26504 rm -f conftest.err conftest.$ac_objext \
26505 conftest$ac_exeext conftest.$ac_ext
26506 LIBS=$ac_check_lib_save_LIBS
26507 fi
26508 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26509 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26510 if test $ac_cv_lib_png_png_check_sig = yes; then
26511 PNG_LINK=" -lpng -lz"
26512 fi
26513
26514 fi
26515
26516 if test "x$PNG_LINK" = "x" ; then
26517 if test "$wxUSE_LIBPNG" = "sys" ; then
26518 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26519 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26520 { (exit 1); exit 1; }; }
26521 else
26522 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26523 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26524 wxUSE_LIBPNG=builtin
26525 fi
26526 else
26527 wxUSE_LIBPNG=sys
26528 fi
26529 fi
26530 fi
26531
26532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26533 fi
26534
26535
26536 JPEG_LINK=
26537 if test "$wxUSE_LIBJPEG" != "no" ; then
26538 cat >>confdefs.h <<\_ACEOF
26539 #define wxUSE_LIBJPEG 1
26540 _ACEOF
26541
26542
26543 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26544 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26545 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26546 wxUSE_LIBJPEG=sys
26547 fi
26548
26549 if test "$wxUSE_MGL" != 1 ; then
26550 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26551 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26552 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26553 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556 cat >conftest.$ac_ext <<_ACEOF
26557 /* confdefs.h. */
26558 _ACEOF
26559 cat confdefs.h >>conftest.$ac_ext
26560 cat >>conftest.$ac_ext <<_ACEOF
26561 /* end confdefs.h. */
26562
26563 #undef HAVE_STDLIB_H
26564 #include <stdio.h>
26565 #include <jpeglib.h>
26566
26567 int
26568 main ()
26569 {
26570
26571
26572 ;
26573 return 0;
26574 }
26575 _ACEOF
26576 rm -f conftest.$ac_objext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26578 (eval $ac_compile) 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; } &&
26591 { ac_try='test -s conftest.$ac_objext'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; }; then
26597 ac_cv_header_jpeglib_h=yes
26598 else
26599 echo "$as_me: failed program was:" >&5
26600 sed 's/^/| /' conftest.$ac_ext >&5
26601
26602 ac_cv_header_jpeglib_h=no
26603
26604 fi
26605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26606
26607 fi
26608
26609 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26610 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26611
26612 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26613 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26614 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26615 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 else
26618 ac_check_lib_save_LIBS=$LIBS
26619 LIBS="-ljpeg $LIBS"
26620 cat >conftest.$ac_ext <<_ACEOF
26621 /* confdefs.h. */
26622 _ACEOF
26623 cat confdefs.h >>conftest.$ac_ext
26624 cat >>conftest.$ac_ext <<_ACEOF
26625 /* end confdefs.h. */
26626
26627 /* Override any gcc2 internal prototype to avoid an error. */
26628 #ifdef __cplusplus
26629 extern "C"
26630 #endif
26631 /* We use char because int might match the return type of a gcc2
26632 builtin and then its argument prototype would still apply. */
26633 char jpeg_read_header ();
26634 int
26635 main ()
26636 {
26637 jpeg_read_header ();
26638 ;
26639 return 0;
26640 }
26641 _ACEOF
26642 rm -f conftest.$ac_objext conftest$ac_exeext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26644 (eval $ac_link) 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try='test -s conftest$ac_exeext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_cv_lib_jpeg_jpeg_read_header=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_cv_lib_jpeg_jpeg_read_header=no
26669 fi
26670 rm -f conftest.err conftest.$ac_objext \
26671 conftest$ac_exeext conftest.$ac_ext
26672 LIBS=$ac_check_lib_save_LIBS
26673 fi
26674 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26675 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26676 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26677 JPEG_LINK=" -ljpeg"
26678 fi
26679
26680 fi
26681
26682 if test "x$JPEG_LINK" = "x" ; then
26683 if test "$wxUSE_LIBJPEG" = "sys" ; then
26684 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26685 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26686 { (exit 1); exit 1; }; }
26687 else
26688 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26689 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26690 wxUSE_LIBJPEG=builtin
26691 fi
26692 else
26693 wxUSE_LIBJPEG=sys
26694 fi
26695 fi
26696 fi
26697 fi
26698
26699
26700 TIFF_LINK=
26701 TIFF_PREREQ_LINKS=-lm
26702 if test "$wxUSE_LIBTIFF" != "no" ; then
26703 cat >>confdefs.h <<\_ACEOF
26704 #define wxUSE_LIBTIFF 1
26705 _ACEOF
26706
26707
26708 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26709 if test "$wxUSE_LIBJPEG" = "sys"; then
26710 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26711 fi
26712 if test "$wxUSE_ZLIB" = "sys"; then
26713 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26714 fi
26715 if test "${ac_cv_header_tiffio_h+set}" = set; then
26716 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26717 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26718 if test "${ac_cv_header_tiffio_h+set}" = set; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 fi
26721 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26722 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26723 else
26724 # Is the header compilable?
26725 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26726 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26727 cat >conftest.$ac_ext <<_ACEOF
26728 /* confdefs.h. */
26729 _ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733 $ac_includes_default
26734 #include <tiffio.h>
26735 _ACEOF
26736 rm -f conftest.$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26748 ac_status=$?
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_header_compiler=yes
26758 else
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.$ac_ext >&5
26761
26762 ac_header_compiler=no
26763 fi
26764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26766 echo "${ECHO_T}$ac_header_compiler" >&6
26767
26768 # Is the header present?
26769 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26770 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26771 cat >conftest.$ac_ext <<_ACEOF
26772 /* confdefs.h. */
26773 _ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26777 #include <tiffio.h>
26778 _ACEOF
26779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26781 ac_status=$?
26782 grep -v '^ *+' conftest.er1 >conftest.err
26783 rm -f conftest.er1
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } >/dev/null; then
26787 if test -s conftest.err; then
26788 ac_cpp_err=$ac_cxx_preproc_warn_flag
26789 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26790 else
26791 ac_cpp_err=
26792 fi
26793 else
26794 ac_cpp_err=yes
26795 fi
26796 if test -z "$ac_cpp_err"; then
26797 ac_header_preproc=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 ac_header_preproc=no
26803 fi
26804 rm -f conftest.err conftest.$ac_ext
26805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26806 echo "${ECHO_T}$ac_header_preproc" >&6
26807
26808 # So? What about this header?
26809 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26810 yes:no: )
26811 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26812 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26813 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26814 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26815 ac_header_preproc=yes
26816 ;;
26817 no:yes:* )
26818 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26819 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26821 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26822 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26823 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26824 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26825 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26826 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26827 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26828 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26829 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26830 (
26831 cat <<\_ASBOX
26832 ## ----------------------------------------- ##
26833 ## Report this to wx-dev@lists.wxwidgets.org ##
26834 ## ----------------------------------------- ##
26835 _ASBOX
26836 ) |
26837 sed "s/^/$as_me: WARNING: /" >&2
26838 ;;
26839 esac
26840 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26841 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26842 if test "${ac_cv_header_tiffio_h+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 else
26845 ac_cv_header_tiffio_h=$ac_header_preproc
26846 fi
26847 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26849
26850 fi
26851 if test $ac_cv_header_tiffio_h = yes; then
26852
26853 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26854 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26855 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26858 ac_check_lib_save_LIBS=$LIBS
26859 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866
26867 /* Override any gcc2 internal prototype to avoid an error. */
26868 #ifdef __cplusplus
26869 extern "C"
26870 #endif
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26873 char TIFFError ();
26874 int
26875 main ()
26876 {
26877 TIFFError ();
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26884 (eval $ac_link) 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26894 ac_status=$?
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; } &&
26897 { ac_try='test -s conftest$ac_exeext'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; }; then
26903 ac_cv_lib_tiff_TIFFError=yes
26904 else
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.$ac_ext >&5
26907
26908 ac_cv_lib_tiff_TIFFError=no
26909 fi
26910 rm -f conftest.err conftest.$ac_objext \
26911 conftest$ac_exeext conftest.$ac_ext
26912 LIBS=$ac_check_lib_save_LIBS
26913 fi
26914 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26915 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26916 if test $ac_cv_lib_tiff_TIFFError = yes; then
26917 TIFF_LINK=" -ltiff"
26918 fi
26919
26920
26921
26922 fi
26923
26924
26925
26926 if test "x$TIFF_LINK" = "x" ; then
26927 if test "$wxUSE_LIBTIFF" = "sys" ; then
26928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26929 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26930 { (exit 1); exit 1; }; }
26931 else
26932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26933 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26934 wxUSE_LIBTIFF=builtin
26935 fi
26936 else
26937 wxUSE_LIBTIFF=sys
26938 fi
26939 fi
26940 fi
26941
26942
26943 if test "$wxUSE_WCHAR_T" != "yes"; then
26944 if test "$wxUSE_EXPAT" != "no"; then
26945 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26946 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26947 wxUSE_EXPAT=no
26948 fi
26949 if test "$wxUSE_XML" != "no"; then
26950 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26951 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26952 wxUSE_XML=no
26953 fi
26954 fi
26955
26956 if test "$wxUSE_EXPAT" != "no"; then
26957 wxUSE_XML=yes
26958 cat >>confdefs.h <<\_ACEOF
26959 #define wxUSE_EXPAT 1
26960 _ACEOF
26961
26962 cat >>confdefs.h <<\_ACEOF
26963 #define wxUSE_XML 1
26964 _ACEOF
26965
26966
26967 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26968 if test "${ac_cv_header_expat_h+set}" = set; then
26969 echo "$as_me:$LINENO: checking for expat.h" >&5
26970 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26971 if test "${ac_cv_header_expat_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 fi
26974 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26975 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26976 else
26977 # Is the header compilable?
26978 echo "$as_me:$LINENO: checking expat.h usability" >&5
26979 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 $ac_includes_default
26987 #include <expat.h>
26988 _ACEOF
26989 rm -f conftest.$ac_objext
26990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26991 (eval $ac_compile) 2>conftest.er1
26992 ac_status=$?
26993 grep -v '^ *+' conftest.er1 >conftest.err
26994 rm -f conftest.er1
26995 cat conftest.err >&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27001 ac_status=$?
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try='test -s conftest.$ac_objext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_header_compiler=yes
27011 else
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27014
27015 ac_header_compiler=no
27016 fi
27017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27019 echo "${ECHO_T}$ac_header_compiler" >&6
27020
27021 # Is the header present?
27022 echo "$as_me:$LINENO: checking expat.h presence" >&5
27023 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h. */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27030 #include <expat.h>
27031 _ACEOF
27032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27034 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } >/dev/null; then
27040 if test -s conftest.err; then
27041 ac_cpp_err=$ac_cxx_preproc_warn_flag
27042 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27043 else
27044 ac_cpp_err=
27045 fi
27046 else
27047 ac_cpp_err=yes
27048 fi
27049 if test -z "$ac_cpp_err"; then
27050 ac_header_preproc=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ac_header_preproc=no
27056 fi
27057 rm -f conftest.err conftest.$ac_ext
27058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27059 echo "${ECHO_T}$ac_header_preproc" >&6
27060
27061 # So? What about this header?
27062 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27063 yes:no: )
27064 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27065 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27066 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27067 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27068 ac_header_preproc=yes
27069 ;;
27070 no:yes:* )
27071 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27072 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27073 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27074 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27075 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27076 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27078 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27079 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27080 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27081 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27082 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27083 (
27084 cat <<\_ASBOX
27085 ## ----------------------------------------- ##
27086 ## Report this to wx-dev@lists.wxwidgets.org ##
27087 ## ----------------------------------------- ##
27088 _ASBOX
27089 ) |
27090 sed "s/^/$as_me: WARNING: /" >&2
27091 ;;
27092 esac
27093 echo "$as_me:$LINENO: checking for expat.h" >&5
27094 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27095 if test "${ac_cv_header_expat_h+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27098 ac_cv_header_expat_h=$ac_header_preproc
27099 fi
27100 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27101 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27102
27103 fi
27104 if test $ac_cv_header_expat_h = yes; then
27105 found_expat_h=1
27106 fi
27107
27108
27109 if test "x$found_expat_h" = "x1"; then
27110 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27111 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27112 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 else
27115
27116 cat >conftest.$ac_ext <<_ACEOF
27117 /* confdefs.h. */
27118 _ACEOF
27119 cat confdefs.h >>conftest.$ac_ext
27120 cat >>conftest.$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27122 #include <expat.h>
27123 int
27124 main ()
27125 {
27126
27127 ;
27128 return 0;
27129 }
27130 _ACEOF
27131 rm -f conftest.$ac_objext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27133 (eval $ac_compile) 2>conftest.er1
27134 ac_status=$?
27135 grep -v '^ *+' conftest.er1 >conftest.err
27136 rm -f conftest.er1
27137 cat conftest.err >&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try='test -s conftest.$ac_objext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 wx_cv_expat_is_not_broken=yes
27153 else
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 wx_cv_expat_is_not_broken=no
27158
27159 fi
27160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27161
27162
27163 fi
27164 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27165 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27166 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27167 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27168 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27169 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 ac_check_lib_save_LIBS=$LIBS
27173 LIBS="-lexpat $LIBS"
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180
27181 /* Override any gcc2 internal prototype to avoid an error. */
27182 #ifdef __cplusplus
27183 extern "C"
27184 #endif
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char XML_ParserCreate ();
27188 int
27189 main ()
27190 {
27191 XML_ParserCreate ();
27192 ;
27193 return 0;
27194 }
27195 _ACEOF
27196 rm -f conftest.$ac_objext conftest$ac_exeext
27197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27198 (eval $ac_link) 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_expat_XML_ParserCreate=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27221
27222 ac_cv_lib_expat_XML_ParserCreate=no
27223 fi
27224 rm -f conftest.err conftest.$ac_objext \
27225 conftest$ac_exeext conftest.$ac_ext
27226 LIBS=$ac_check_lib_save_LIBS
27227 fi
27228 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27229 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27230 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27231 EXPAT_LINK=" -lexpat"
27232 fi
27233
27234 fi
27235 fi
27236 if test "x$EXPAT_LINK" = "x" ; then
27237 if test "$wxUSE_EXPAT" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27239 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27241 else
27242 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27244 wxUSE_EXPAT=builtin
27245 fi
27246 else
27247 wxUSE_EXPAT=sys
27248 fi
27249 fi
27250 if test "$wxUSE_EXPAT" = "builtin" ; then
27251
27252
27253 subdirs="$subdirs src/expat"
27254
27255 fi
27256 fi
27257
27258
27259
27260 if test "$wxUSE_LIBMSPACK" != "no"; then
27261 if test "${ac_cv_header_mspack_h+set}" = set; then
27262 echo "$as_me:$LINENO: checking for mspack.h" >&5
27263 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27264 if test "${ac_cv_header_mspack_h+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 fi
27267 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27269 else
27270 # Is the header compilable?
27271 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27272 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279 $ac_includes_default
27280 #include <mspack.h>
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27294 ac_status=$?
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try='test -s conftest.$ac_objext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27300 ac_status=$?
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 ac_header_compiler=yes
27304 else
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.$ac_ext >&5
27307
27308 ac_header_compiler=no
27309 fi
27310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27312 echo "${ECHO_T}$ac_header_compiler" >&6
27313
27314 # Is the header present?
27315 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27316 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27317 cat >conftest.$ac_ext <<_ACEOF
27318 /* confdefs.h. */
27319 _ACEOF
27320 cat confdefs.h >>conftest.$ac_ext
27321 cat >>conftest.$ac_ext <<_ACEOF
27322 /* end confdefs.h. */
27323 #include <mspack.h>
27324 _ACEOF
27325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27327 ac_status=$?
27328 grep -v '^ *+' conftest.er1 >conftest.err
27329 rm -f conftest.er1
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } >/dev/null; then
27333 if test -s conftest.err; then
27334 ac_cpp_err=$ac_cxx_preproc_warn_flag
27335 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27336 else
27337 ac_cpp_err=
27338 fi
27339 else
27340 ac_cpp_err=yes
27341 fi
27342 if test -z "$ac_cpp_err"; then
27343 ac_header_preproc=yes
27344 else
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27347
27348 ac_header_preproc=no
27349 fi
27350 rm -f conftest.err conftest.$ac_ext
27351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27352 echo "${ECHO_T}$ac_header_preproc" >&6
27353
27354 # So? What about this header?
27355 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27356 yes:no: )
27357 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27358 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27359 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27360 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27361 ac_header_preproc=yes
27362 ;;
27363 no:yes:* )
27364 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27365 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27366 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27367 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27369 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27371 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27373 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27375 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27376 (
27377 cat <<\_ASBOX
27378 ## ----------------------------------------- ##
27379 ## Report this to wx-dev@lists.wxwidgets.org ##
27380 ## ----------------------------------------- ##
27381 _ASBOX
27382 ) |
27383 sed "s/^/$as_me: WARNING: /" >&2
27384 ;;
27385 esac
27386 echo "$as_me:$LINENO: checking for mspack.h" >&5
27387 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27388 if test "${ac_cv_header_mspack_h+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 else
27391 ac_cv_header_mspack_h=$ac_header_preproc
27392 fi
27393 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27394 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27395
27396 fi
27397 if test $ac_cv_header_mspack_h = yes; then
27398 found_mspack_h=1
27399 fi
27400
27401
27402 if test "x$found_mspack_h" = "x1"; then
27403 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27404 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27405 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lmspack $LIBS"
27410 cat >conftest.$ac_ext <<_ACEOF
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417 /* Override any gcc2 internal prototype to avoid an error. */
27418 #ifdef __cplusplus
27419 extern "C"
27420 #endif
27421 /* We use char because int might match the return type of a gcc2
27422 builtin and then its argument prototype would still apply. */
27423 char mspack_create_chm_decompressor ();
27424 int
27425 main ()
27426 {
27427 mspack_create_chm_decompressor ();
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 rm -f conftest.$ac_objext conftest$ac_exeext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27434 (eval $ac_link) 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } &&
27441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27459 fi
27460 rm -f conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 LIBS=$ac_check_lib_save_LIBS
27463 fi
27464 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27465 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27466 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27467 MSPACK_LINK=" -lmspack"
27468 fi
27469
27470 fi
27471 if test "x$MSPACK_LINK" = "x" ; then
27472 wxUSE_LIBMSPACK=no
27473 fi
27474 fi
27475
27476 if test "$wxUSE_LIBMSPACK" != "no"; then
27477 cat >>confdefs.h <<\_ACEOF
27478 #define wxUSE_LIBMSPACK 1
27479 _ACEOF
27480
27481 fi
27482
27483
27484
27485 AFMINSTALL=
27486 WIN32INSTALL=
27487
27488 TOOLKIT=
27489 TOOLKIT_INCLUDE=
27490 WIDGET_SET=
27491
27492 if test "$USE_WIN32" = 1 ; then
27493
27494 for ac_header in w32api.h
27495 do
27496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo "$as_me:$LINENO: checking for $ac_header" >&5
27499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 fi
27503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27505 else
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27516 #include <$ac_header>
27517 _ACEOF
27518 rm -f conftest.$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27530 ac_status=$?
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try='test -s conftest.$ac_objext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_header_compiler=yes
27540 else
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27543
27544 ac_header_compiler=no
27545 fi
27546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27548 echo "${ECHO_T}$ac_header_compiler" >&6
27549
27550 # Is the header present?
27551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h. */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <$ac_header>
27560 _ACEOF
27561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } >/dev/null; then
27569 if test -s conftest.err; then
27570 ac_cpp_err=$ac_cxx_preproc_warn_flag
27571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27572 else
27573 ac_cpp_err=
27574 fi
27575 else
27576 ac_cpp_err=yes
27577 fi
27578 if test -z "$ac_cpp_err"; then
27579 ac_header_preproc=yes
27580 else
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27583
27584 ac_header_preproc=no
27585 fi
27586 rm -f conftest.err conftest.$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27588 echo "${ECHO_T}$ac_header_preproc" >&6
27589
27590 # So? What about this header?
27591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27592 yes:no: )
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27597 ac_header_preproc=yes
27598 ;;
27599 no:yes:* )
27600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27612 (
27613 cat <<\_ASBOX
27614 ## ----------------------------------------- ##
27615 ## Report this to wx-dev@lists.wxwidgets.org ##
27616 ## ----------------------------------------- ##
27617 _ASBOX
27618 ) |
27619 sed "s/^/$as_me: WARNING: /" >&2
27620 ;;
27621 esac
27622 echo "$as_me:$LINENO: checking for $ac_header" >&5
27623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 eval "$as_ac_Header=\$ac_header_preproc"
27628 fi
27629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27631
27632 fi
27633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27634 cat >>confdefs.h <<_ACEOF
27635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27636 _ACEOF
27637
27638 fi
27639
27640 done
27641
27642 if test "${ac_cv_header_windows_h+set}" = set; then
27643 echo "$as_me:$LINENO: checking for windows.h" >&5
27644 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27645 if test "${ac_cv_header_windows_h+set}" = set; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 fi
27648 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27649 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27650 else
27651 # Is the header compilable?
27652 echo "$as_me:$LINENO: checking windows.h usability" >&5
27653 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 $ac_includes_default
27661 #include <windows.h>
27662 _ACEOF
27663 rm -f conftest.$ac_objext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27665 (eval $ac_compile) 2>conftest.er1
27666 ac_status=$?
27667 grep -v '^ *+' conftest.er1 >conftest.err
27668 rm -f conftest.er1
27669 cat conftest.err >&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } &&
27672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try='test -s conftest.$ac_objext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27681 ac_status=$?
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 ac_header_compiler=yes
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 ac_header_compiler=no
27690 fi
27691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27693 echo "${ECHO_T}$ac_header_compiler" >&6
27694
27695 # Is the header present?
27696 echo "$as_me:$LINENO: checking windows.h presence" >&5
27697 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <windows.h>
27705 _ACEOF
27706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27708 ac_status=$?
27709 grep -v '^ *+' conftest.er1 >conftest.err
27710 rm -f conftest.er1
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } >/dev/null; then
27714 if test -s conftest.err; then
27715 ac_cpp_err=$ac_cxx_preproc_warn_flag
27716 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27717 else
27718 ac_cpp_err=
27719 fi
27720 else
27721 ac_cpp_err=yes
27722 fi
27723 if test -z "$ac_cpp_err"; then
27724 ac_header_preproc=yes
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729 ac_header_preproc=no
27730 fi
27731 rm -f conftest.err conftest.$ac_ext
27732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27733 echo "${ECHO_T}$ac_header_preproc" >&6
27734
27735 # So? What about this header?
27736 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27737 yes:no: )
27738 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27739 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27740 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27741 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27742 ac_header_preproc=yes
27743 ;;
27744 no:yes:* )
27745 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27746 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27747 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27748 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27749 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27750 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27751 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27752 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27753 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27754 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27755 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27756 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27757 (
27758 cat <<\_ASBOX
27759 ## ----------------------------------------- ##
27760 ## Report this to wx-dev@lists.wxwidgets.org ##
27761 ## ----------------------------------------- ##
27762 _ASBOX
27763 ) |
27764 sed "s/^/$as_me: WARNING: /" >&2
27765 ;;
27766 esac
27767 echo "$as_me:$LINENO: checking for windows.h" >&5
27768 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27769 if test "${ac_cv_header_windows_h+set}" = set; then
27770 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 else
27772 ac_cv_header_windows_h=$ac_header_preproc
27773 fi
27774 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27775 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27776
27777 fi
27778 if test $ac_cv_header_windows_h = yes; then
27779 :
27780 else
27781
27782 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27783 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27784 { (exit 1); exit 1; }; }
27785
27786 fi
27787
27788
27789
27790 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27791
27792 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27793 LIBS="$LIBS -loleacc"
27794 fi
27795
27796 case "${host}" in
27797 *-*-cygwin* )
27798 LIBS="$LIBS -lkernel32 -luser32"
27799 esac
27800
27801 if test "$wxUSE_ODBC" = "sys" ; then
27802 wxUSE_ODBC = "yes"
27803 fi
27804 if test "$wxUSE_ODBC" = "yes" ; then
27805 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27806 cat >>confdefs.h <<\_ACEOF
27807 #define wxUSE_ODBC 1
27808 _ACEOF
27809
27810 fi
27811
27812 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27813 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27814
27815 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27816
27817 WIN32INSTALL=win32install
27818
27819 echo "$as_me:$LINENO: checking for boolean" >&5
27820 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27821 if test "${ac_cv_type_boolean+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 #include <windows.h>
27831
27832 int
27833 main ()
27834 {
27835 if ((boolean *) 0)
27836 return 0;
27837 if (sizeof (boolean))
27838 return 0;
27839 ;
27840 return 0;
27841 }
27842 _ACEOF
27843 rm -f conftest.$ac_objext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27845 (eval $ac_compile) 2>conftest.er1
27846 ac_status=$?
27847 grep -v '^ *+' conftest.er1 >conftest.err
27848 rm -f conftest.er1
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27855 ac_status=$?
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try='test -s conftest.$ac_objext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27861 ac_status=$?
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_type_boolean=yes
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869 ac_cv_type_boolean=no
27870 fi
27871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27872 fi
27873 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27874 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27875 if test $ac_cv_type_boolean = yes; then
27876
27877 cat >>confdefs.h <<_ACEOF
27878 #define HAVE_BOOLEAN 1
27879 _ACEOF
27880
27881
27882 fi
27883
27884
27885
27886 for ac_header in pbt.h
27887 do
27888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo "$as_me:$LINENO: checking for $ac_header" >&5
27891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 fi
27895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27897 else
27898 # Is the header compilable?
27899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27901 cat >conftest.$ac_ext <<_ACEOF
27902 /* confdefs.h. */
27903 _ACEOF
27904 cat confdefs.h >>conftest.$ac_ext
27905 cat >>conftest.$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27907 $ac_includes_default
27908 #include <$ac_header>
27909 _ACEOF
27910 rm -f conftest.$ac_objext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27912 (eval $ac_compile) 2>conftest.er1
27913 ac_status=$?
27914 grep -v '^ *+' conftest.er1 >conftest.err
27915 rm -f conftest.er1
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } &&
27919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; } &&
27925 { ac_try='test -s conftest.$ac_objext'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; }; then
27931 ac_header_compiler=yes
27932 else
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27935
27936 ac_header_compiler=no
27937 fi
27938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27940 echo "${ECHO_T}$ac_header_compiler" >&6
27941
27942 # Is the header present?
27943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h. */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951 #include <$ac_header>
27952 _ACEOF
27953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27955 ac_status=$?
27956 grep -v '^ *+' conftest.er1 >conftest.err
27957 rm -f conftest.er1
27958 cat conftest.err >&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } >/dev/null; then
27961 if test -s conftest.err; then
27962 ac_cpp_err=$ac_cxx_preproc_warn_flag
27963 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27964 else
27965 ac_cpp_err=
27966 fi
27967 else
27968 ac_cpp_err=yes
27969 fi
27970 if test -z "$ac_cpp_err"; then
27971 ac_header_preproc=yes
27972 else
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27975
27976 ac_header_preproc=no
27977 fi
27978 rm -f conftest.err conftest.$ac_ext
27979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27980 echo "${ECHO_T}$ac_header_preproc" >&6
27981
27982 # So? What about this header?
27983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27984 yes:no: )
27985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27989 ac_header_preproc=yes
27990 ;;
27991 no:yes:* )
27992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28004 (
28005 cat <<\_ASBOX
28006 ## ----------------------------------------- ##
28007 ## Report this to wx-dev@lists.wxwidgets.org ##
28008 ## ----------------------------------------- ##
28009 _ASBOX
28010 ) |
28011 sed "s/^/$as_me: WARNING: /" >&2
28012 ;;
28013 esac
28014 echo "$as_me:$LINENO: checking for $ac_header" >&5
28015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28017 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 else
28019 eval "$as_ac_Header=\$ac_header_preproc"
28020 fi
28021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28023
28024 fi
28025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28026 cat >>confdefs.h <<_ACEOF
28027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28028 _ACEOF
28029
28030 else
28031 cat >>confdefs.h <<\_ACEOF
28032 #define NEED_PBT_H 1
28033 _ACEOF
28034
28035 fi
28036
28037 done
28038
28039 fi
28040
28041 if test "$wxUSE_GUI" = "yes"; then
28042 USE_GUI=1
28043
28044 GUI_TK_LIBRARY=
28045
28046 WXGTK12=
28047 WXGTK127=
28048 WXGTK20=
28049 WXGPE=
28050
28051 if test "$wxUSE_COCOA" = 1 ; then
28052 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28053 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28054 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28055 wxUSE_PRINTING_ARCHITECTURE=no
28056 fi
28057 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28058 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28059 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28060 wxUSE_DRAG_AND_DROP=no
28061 fi
28062 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28063 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28064 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28065 wxUSE_DRAGIMAGE=no
28066 fi
28067 fi
28068
28069 if test "$wxUSE_MSW" = 1 ; then
28070 TOOLKIT=MSW
28071 GUIDIST=MSW_DIST
28072
28073 case "${host}" in
28074 *-*-mingw32* )
28075 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28076 esac
28077 fi
28078
28079 if test "$wxUSE_GTK" = 1; then
28080 ac_ext=c
28081 ac_cpp='$CPP $CPPFLAGS'
28082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28085
28086
28087 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28088 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28089
28090 gtk_version_cached=1
28091 if test "${wx_cv_lib_gtk+set}" = set; then
28092 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 else
28094
28095 gtk_version_cached=0
28096 echo "$as_me:$LINENO: result: " >&5
28097 echo "${ECHO_T}" >&6
28098
28099 GTK_MODULES=
28100 if test "$wxUSE_THREADS" = "yes"; then
28101 GTK_MODULES=gthread
28102 fi
28103
28104 wx_cv_lib_gtk=
28105 if test "x$wxGTK_VERSION" != "x1"
28106 then
28107 case "${host}" in
28108 *-*-solaris2* )
28109 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28110 enable_gtktest=no
28111 fi
28112 esac
28113
28114 # Check whether --enable-gtktest or --disable-gtktest was given.
28115 if test "${enable_gtktest+set}" = set; then
28116 enableval="$enable_gtktest"
28117
28118 else
28119 enable_gtktest=yes
28120 fi;
28121
28122 pkg_config_args=gtk+-2.0
28123 for module in . $GTK_MODULES
28124 do
28125 case "$module" in
28126 gthread)
28127 pkg_config_args="$pkg_config_args gthread-2.0"
28128 ;;
28129 esac
28130 done
28131
28132 no_gtk=""
28133
28134 # Extract the first word of "pkg-config", so it can be a program name with args.
28135 set dummy pkg-config; ac_word=$2
28136 echo "$as_me:$LINENO: checking for $ac_word" >&5
28137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 else
28141 case $PKG_CONFIG in
28142 [\\/]* | ?:[\\/]*)
28143 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28144 ;;
28145 *)
28146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28147 for as_dir in $PATH
28148 do
28149 IFS=$as_save_IFS
28150 test -z "$as_dir" && as_dir=.
28151 for ac_exec_ext in '' $ac_executable_extensions; do
28152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28153 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28155 break 2
28156 fi
28157 done
28158 done
28159
28160 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28161 ;;
28162 esac
28163 fi
28164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28165
28166 if test -n "$PKG_CONFIG"; then
28167 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28168 echo "${ECHO_T}$PKG_CONFIG" >&6
28169 else
28170 echo "$as_me:$LINENO: result: no" >&5
28171 echo "${ECHO_T}no" >&6
28172 fi
28173
28174
28175 if test x$PKG_CONFIG != xno ; then
28176 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28177 :
28178 else
28179 echo "*** pkg-config too old; version 0.7 or better required."
28180 no_gtk=yes
28181 PKG_CONFIG=no
28182 fi
28183 else
28184 no_gtk=yes
28185 fi
28186
28187 min_gtk_version=2.0.0
28188 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28189 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28190
28191 if test x$PKG_CONFIG != xno ; then
28192 ## don't try to run the test against uninstalled libtool libs
28193 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28194 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28195 enable_gtktest=no
28196 fi
28197
28198 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28199 :
28200 else
28201 no_gtk=yes
28202 fi
28203 fi
28204
28205 if test x"$no_gtk" = x ; then
28206 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28207 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28208 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28210 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28212 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28214 if test "x$enable_gtktest" = "xyes" ; then
28215 ac_save_CFLAGS="$CFLAGS"
28216 ac_save_LIBS="$LIBS"
28217 CFLAGS="$CFLAGS $GTK_CFLAGS"
28218 LIBS="$GTK_LIBS $LIBS"
28219 rm -f conf.gtktest
28220 if test "$cross_compiling" = yes; then
28221 echo $ac_n "cross compiling; assumed OK... $ac_c"
28222 else
28223 cat >conftest.$ac_ext <<_ACEOF
28224 /* confdefs.h. */
28225 _ACEOF
28226 cat confdefs.h >>conftest.$ac_ext
28227 cat >>conftest.$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28229
28230 #include <gtk/gtk.h>
28231 #include <stdio.h>
28232 #include <stdlib.h>
28233
28234 int
28235 main ()
28236 {
28237 int major, minor, micro;
28238 char *tmp_version;
28239
28240 system ("touch conf.gtktest");
28241
28242 /* HP/UX 9 (%@#!) writes to sscanf strings */
28243 tmp_version = g_strdup("$min_gtk_version");
28244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28245 printf("%s, bad version string\n", "$min_gtk_version");
28246 exit(1);
28247 }
28248
28249 if ((gtk_major_version != $gtk_config_major_version) ||
28250 (gtk_minor_version != $gtk_config_minor_version) ||
28251 (gtk_micro_version != $gtk_config_micro_version))
28252 {
28253 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28254 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28255 gtk_major_version, gtk_minor_version, gtk_micro_version);
28256 printf ("*** was found! If pkg-config was correct, then it is best\n");
28257 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28258 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28259 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28260 printf("*** required on your system.\n");
28261 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28262 printf("*** to point to the correct configuration files\n");
28263 }
28264 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28265 (gtk_minor_version != GTK_MINOR_VERSION) ||
28266 (gtk_micro_version != GTK_MICRO_VERSION))
28267 {
28268 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28269 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28270 printf("*** library (version %d.%d.%d)\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 }
28273 else
28274 {
28275 if ((gtk_major_version > major) ||
28276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28278 {
28279 return 0;
28280 }
28281 else
28282 {
28283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28286 major, minor, micro);
28287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28288 printf("***\n");
28289 printf("*** If you have already installed a sufficiently new version, this error\n");
28290 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28292 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28293 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28295 printf("*** so that the correct libraries are found at run-time))\n");
28296 }
28297 }
28298 return 1;
28299 }
28300
28301 _ACEOF
28302 rm -f conftest$ac_exeext
28303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28304 (eval $ac_link) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28310 ac_status=$?
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; }; then
28313 :
28314 else
28315 echo "$as_me: program exited with status $ac_status" >&5
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.$ac_ext >&5
28318
28319 ( exit $ac_status )
28320 no_gtk=yes
28321 fi
28322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28323 fi
28324 CFLAGS="$ac_save_CFLAGS"
28325 LIBS="$ac_save_LIBS"
28326 fi
28327 fi
28328 if test "x$no_gtk" = x ; then
28329 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28330 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28331 wx_cv_lib_gtk=2.0
28332 else
28333 echo "$as_me:$LINENO: result: no" >&5
28334 echo "${ECHO_T}no" >&6
28335 if test "$PKG_CONFIG" = "no" ; then
28336 echo "*** A new enough version of pkg-config was not found."
28337 echo "*** See http://pkgconfig.sourceforge.net"
28338 else
28339 if test -f conf.gtktest ; then
28340 :
28341 else
28342 echo "*** Could not run GTK+ test program, checking why..."
28343 ac_save_CFLAGS="$CFLAGS"
28344 ac_save_LIBS="$LIBS"
28345 CFLAGS="$CFLAGS $GTK_CFLAGS"
28346 LIBS="$LIBS $GTK_LIBS"
28347 cat >conftest.$ac_ext <<_ACEOF
28348 /* confdefs.h. */
28349 _ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28353
28354 #include <gtk/gtk.h>
28355 #include <stdio.h>
28356
28357 int
28358 main ()
28359 {
28360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28361 ;
28362 return 0;
28363 }
28364 _ACEOF
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>conftest.er1
28368 ac_status=$?
28369 grep -v '^ *+' conftest.er1 >conftest.err
28370 rm -f conftest.er1
28371 cat conftest.err >&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28377 ac_status=$?
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try='test -s conftest$ac_exeext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28383 ac_status=$?
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 echo "*** The test program compiled, but did not run. This usually means"
28387 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28388 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28391 echo "*** is required on your system"
28392 echo "***"
28393 echo "*** If you have an old version installed, it is best to remove it, although"
28394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28395 else
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 echo "*** The test program failed to compile or link. See the file config.log for the"
28400 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28401 fi
28402 rm -f conftest.err conftest.$ac_objext \
28403 conftest$ac_exeext conftest.$ac_ext
28404 CFLAGS="$ac_save_CFLAGS"
28405 LIBS="$ac_save_LIBS"
28406 fi
28407 fi
28408 GTK_CFLAGS=""
28409 GTK_LIBS=""
28410 :
28411 fi
28412
28413
28414 rm -f conf.gtktest
28415
28416
28417 case "${host}" in
28418 *-*-solaris2* )
28419 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28420 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28421 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28422 fi
28423 if test "$wxUSE_SHARED" != "yes"; then
28424 GTK_LIBS="$GTK_LIBS -lX11"
28425 fi
28426 esac
28427 fi
28428
28429 if test -z "$wx_cv_lib_gtk"; then
28430 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28431
28432 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28433 if test "${with_gtk_prefix+set}" = set; then
28434 withval="$with_gtk_prefix"
28435 gtk_config_prefix="$withval"
28436 else
28437 gtk_config_prefix=""
28438 fi;
28439
28440 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28441 if test "${with_gtk_exec_prefix+set}" = set; then
28442 withval="$with_gtk_exec_prefix"
28443 gtk_config_exec_prefix="$withval"
28444 else
28445 gtk_config_exec_prefix=""
28446 fi;
28447 # Check whether --enable-gtktest or --disable-gtktest was given.
28448 if test "${enable_gtktest+set}" = set; then
28449 enableval="$enable_gtktest"
28450
28451 else
28452 enable_gtktest=yes
28453 fi;
28454
28455 for module in . $GTK_MODULES
28456 do
28457 case "$module" in
28458 gthread)
28459 gtk_config_args="$gtk_config_args gthread"
28460 ;;
28461 esac
28462 done
28463
28464 if test x$gtk_config_exec_prefix != x ; then
28465 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28466 if test x${GTK_CONFIG+set} != xset ; then
28467 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28468 fi
28469 fi
28470 if test x$gtk_config_prefix != x ; then
28471 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28472 if test x${GTK_CONFIG+set} != xset ; then
28473 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28474 fi
28475 fi
28476
28477 # Extract the first word of "gtk-config", so it can be a program name with args.
28478 set dummy gtk-config; ac_word=$2
28479 echo "$as_me:$LINENO: checking for $ac_word" >&5
28480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28481 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 else
28484 case $GTK_CONFIG in
28485 [\\/]* | ?:[\\/]*)
28486 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28487 ;;
28488 *)
28489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28490 for as_dir in $PATH
28491 do
28492 IFS=$as_save_IFS
28493 test -z "$as_dir" && as_dir=.
28494 for ac_exec_ext in '' $ac_executable_extensions; do
28495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28496 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28498 break 2
28499 fi
28500 done
28501 done
28502
28503 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28504 ;;
28505 esac
28506 fi
28507 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28508
28509 if test -n "$GTK_CONFIG"; then
28510 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28511 echo "${ECHO_T}$GTK_CONFIG" >&6
28512 else
28513 echo "$as_me:$LINENO: result: no" >&5
28514 echo "${ECHO_T}no" >&6
28515 fi
28516
28517 min_gtk_version=1.2.7
28518 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28519 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28520 no_gtk=""
28521 if test "$GTK_CONFIG" = "no" ; then
28522 no_gtk=yes
28523 else
28524 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28525 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28526 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28528 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28530 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28532 if test "x$enable_gtktest" = "xyes" ; then
28533 ac_save_CFLAGS="$CFLAGS"
28534 ac_save_LIBS="$LIBS"
28535 CFLAGS="$CFLAGS $GTK_CFLAGS"
28536 LIBS="$GTK_LIBS $LIBS"
28537 rm -f conf.gtktest
28538 if test "$cross_compiling" = yes; then
28539 echo $ac_n "cross compiling; assumed OK... $ac_c"
28540 else
28541 cat >conftest.$ac_ext <<_ACEOF
28542 /* confdefs.h. */
28543 _ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28547
28548 #include <gtk/gtk.h>
28549 #include <stdio.h>
28550 #include <stdlib.h>
28551
28552 int
28553 main ()
28554 {
28555 int major, minor, micro;
28556 char *tmp_version;
28557
28558 system ("touch conf.gtktest");
28559
28560 /* HP/UX 9 (%@#!) writes to sscanf strings */
28561 tmp_version = g_strdup("$min_gtk_version");
28562 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28563 printf("%s, bad version string\n", "$min_gtk_version");
28564 exit(1);
28565 }
28566
28567 if ((gtk_major_version != $gtk_config_major_version) ||
28568 (gtk_minor_version != $gtk_config_minor_version) ||
28569 (gtk_micro_version != $gtk_config_micro_version))
28570 {
28571 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28572 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28573 gtk_major_version, gtk_minor_version, gtk_micro_version);
28574 printf ("*** was found! If gtk-config was correct, then it is best\n");
28575 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28576 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28577 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28578 printf("*** required on your system.\n");
28579 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28580 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28581 printf("*** before re-running configure\n");
28582 }
28583 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28584 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28585 (gtk_minor_version != GTK_MINOR_VERSION) ||
28586 (gtk_micro_version != GTK_MICRO_VERSION))
28587 {
28588 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28589 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28590 printf("*** library (version %d.%d.%d)\n",
28591 gtk_major_version, gtk_minor_version, gtk_micro_version);
28592 }
28593 #endif /* defined (GTK_MAJOR_VERSION) ... */
28594 else
28595 {
28596 if ((gtk_major_version > major) ||
28597 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28598 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28599 {
28600 return 0;
28601 }
28602 else
28603 {
28604 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28605 gtk_major_version, gtk_minor_version, gtk_micro_version);
28606 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28607 major, minor, micro);
28608 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28609 printf("***\n");
28610 printf("*** If you have already installed a sufficiently new version, this error\n");
28611 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28612 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28613 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28614 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28615 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28616 printf("*** so that the correct libraries are found at run-time))\n");
28617 }
28618 }
28619 return 1;
28620 }
28621
28622 _ACEOF
28623 rm -f conftest$ac_exeext
28624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28625 (eval $ac_link) 2>&5
28626 ac_status=$?
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28631 ac_status=$?
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28634 :
28635 else
28636 echo "$as_me: program exited with status $ac_status" >&5
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28639
28640 ( exit $ac_status )
28641 no_gtk=yes
28642 fi
28643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28644 fi
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28647 fi
28648 fi
28649 if test "x$no_gtk" = x ; then
28650 echo "$as_me:$LINENO: result: yes" >&5
28651 echo "${ECHO_T}yes" >&6
28652 wx_cv_lib_gtk=1.2.7
28653 else
28654 echo "$as_me:$LINENO: result: no" >&5
28655 echo "${ECHO_T}no" >&6
28656 if test "$GTK_CONFIG" = "no" ; then
28657 echo "*** The gtk-config script installed by GTK could not be found"
28658 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28659 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28660 echo "*** full path to gtk-config."
28661 else
28662 if test -f conf.gtktest ; then
28663 :
28664 else
28665 echo "*** Could not run GTK test program, checking why..."
28666 CFLAGS="$CFLAGS $GTK_CFLAGS"
28667 LIBS="$LIBS $GTK_LIBS"
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674
28675 #include <gtk/gtk.h>
28676 #include <stdio.h>
28677
28678 int
28679 main ()
28680 {
28681 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28682 ;
28683 return 0;
28684 }
28685 _ACEOF
28686 rm -f conftest.$ac_objext conftest$ac_exeext
28687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28688 (eval $ac_link) 2>conftest.er1
28689 ac_status=$?
28690 grep -v '^ *+' conftest.er1 >conftest.err
28691 rm -f conftest.er1
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } &&
28695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697 (eval $ac_try) 2>&5
28698 ac_status=$?
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); }; } &&
28701 { ac_try='test -s conftest$ac_exeext'
28702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703 (eval $ac_try) 2>&5
28704 ac_status=$?
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); }; }; then
28707 echo "*** The test program compiled, but did not run. This usually means"
28708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28712 echo "*** is required on your system"
28713 echo "***"
28714 echo "*** If you have an old version installed, it is best to remove it, although"
28715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28716 echo "***"
28717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28718 echo "*** came with the system with the command"
28719 echo "***"
28720 echo "*** rpm --erase --nodeps gtk gtk-devel"
28721 else
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28724
28725 echo "*** The test program failed to compile or link. See the file config.log for the"
28726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28729 fi
28730 rm -f conftest.err conftest.$ac_objext \
28731 conftest$ac_exeext conftest.$ac_ext
28732 CFLAGS="$ac_save_CFLAGS"
28733 LIBS="$ac_save_LIBS"
28734 fi
28735 fi
28736 GTK_CFLAGS=""
28737 GTK_LIBS=""
28738 :
28739 fi
28740
28741
28742 rm -f conf.gtktest
28743
28744
28745 if test -z "$wx_cv_lib_gtk"; then
28746
28747 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28748 if test "${with_gtk_prefix+set}" = set; then
28749 withval="$with_gtk_prefix"
28750 gtk_config_prefix="$withval"
28751 else
28752 gtk_config_prefix=""
28753 fi;
28754
28755 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28756 if test "${with_gtk_exec_prefix+set}" = set; then
28757 withval="$with_gtk_exec_prefix"
28758 gtk_config_exec_prefix="$withval"
28759 else
28760 gtk_config_exec_prefix=""
28761 fi;
28762 # Check whether --enable-gtktest or --disable-gtktest was given.
28763 if test "${enable_gtktest+set}" = set; then
28764 enableval="$enable_gtktest"
28765
28766 else
28767 enable_gtktest=yes
28768 fi;
28769
28770 for module in . $GTK_MODULES
28771 do
28772 case "$module" in
28773 gthread)
28774 gtk_config_args="$gtk_config_args gthread"
28775 ;;
28776 esac
28777 done
28778
28779 if test x$gtk_config_exec_prefix != x ; then
28780 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28781 if test x${GTK_CONFIG+set} != xset ; then
28782 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28783 fi
28784 fi
28785 if test x$gtk_config_prefix != x ; then
28786 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28787 if test x${GTK_CONFIG+set} != xset ; then
28788 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28789 fi
28790 fi
28791
28792 # Extract the first word of "gtk-config", so it can be a program name with args.
28793 set dummy gtk-config; ac_word=$2
28794 echo "$as_me:$LINENO: checking for $ac_word" >&5
28795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28796 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 else
28799 case $GTK_CONFIG in
28800 [\\/]* | ?:[\\/]*)
28801 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28802 ;;
28803 *)
28804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28805 for as_dir in $PATH
28806 do
28807 IFS=$as_save_IFS
28808 test -z "$as_dir" && as_dir=.
28809 for ac_exec_ext in '' $ac_executable_extensions; do
28810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28811 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28813 break 2
28814 fi
28815 done
28816 done
28817
28818 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28819 ;;
28820 esac
28821 fi
28822 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28823
28824 if test -n "$GTK_CONFIG"; then
28825 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28826 echo "${ECHO_T}$GTK_CONFIG" >&6
28827 else
28828 echo "$as_me:$LINENO: result: no" >&5
28829 echo "${ECHO_T}no" >&6
28830 fi
28831
28832 min_gtk_version=1.2.3
28833 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28834 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28835 no_gtk=""
28836 if test "$GTK_CONFIG" = "no" ; then
28837 no_gtk=yes
28838 else
28839 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28840 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28841 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28843 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28845 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28847 if test "x$enable_gtktest" = "xyes" ; then
28848 ac_save_CFLAGS="$CFLAGS"
28849 ac_save_LIBS="$LIBS"
28850 CFLAGS="$CFLAGS $GTK_CFLAGS"
28851 LIBS="$GTK_LIBS $LIBS"
28852 rm -f conf.gtktest
28853 if test "$cross_compiling" = yes; then
28854 echo $ac_n "cross compiling; assumed OK... $ac_c"
28855 else
28856 cat >conftest.$ac_ext <<_ACEOF
28857 /* confdefs.h. */
28858 _ACEOF
28859 cat confdefs.h >>conftest.$ac_ext
28860 cat >>conftest.$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28862
28863 #include <gtk/gtk.h>
28864 #include <stdio.h>
28865 #include <stdlib.h>
28866
28867 int
28868 main ()
28869 {
28870 int major, minor, micro;
28871 char *tmp_version;
28872
28873 system ("touch conf.gtktest");
28874
28875 /* HP/UX 9 (%@#!) writes to sscanf strings */
28876 tmp_version = g_strdup("$min_gtk_version");
28877 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28878 printf("%s, bad version string\n", "$min_gtk_version");
28879 exit(1);
28880 }
28881
28882 if ((gtk_major_version != $gtk_config_major_version) ||
28883 (gtk_minor_version != $gtk_config_minor_version) ||
28884 (gtk_micro_version != $gtk_config_micro_version))
28885 {
28886 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28887 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28888 gtk_major_version, gtk_minor_version, gtk_micro_version);
28889 printf ("*** was found! If gtk-config was correct, then it is best\n");
28890 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28891 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28892 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28893 printf("*** required on your system.\n");
28894 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28895 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28896 printf("*** before re-running configure\n");
28897 }
28898 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28899 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28900 (gtk_minor_version != GTK_MINOR_VERSION) ||
28901 (gtk_micro_version != GTK_MICRO_VERSION))
28902 {
28903 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28904 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28905 printf("*** library (version %d.%d.%d)\n",
28906 gtk_major_version, gtk_minor_version, gtk_micro_version);
28907 }
28908 #endif /* defined (GTK_MAJOR_VERSION) ... */
28909 else
28910 {
28911 if ((gtk_major_version > major) ||
28912 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28913 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28914 {
28915 return 0;
28916 }
28917 else
28918 {
28919 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28920 gtk_major_version, gtk_minor_version, gtk_micro_version);
28921 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28922 major, minor, micro);
28923 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28924 printf("***\n");
28925 printf("*** If you have already installed a sufficiently new version, this error\n");
28926 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28927 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28928 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28929 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28930 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28931 printf("*** so that the correct libraries are found at run-time))\n");
28932 }
28933 }
28934 return 1;
28935 }
28936
28937 _ACEOF
28938 rm -f conftest$ac_exeext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28941 ac_status=$?
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28946 ac_status=$?
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; }; then
28949 :
28950 else
28951 echo "$as_me: program exited with status $ac_status" >&5
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.$ac_ext >&5
28954
28955 ( exit $ac_status )
28956 no_gtk=yes
28957 fi
28958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28959 fi
28960 CFLAGS="$ac_save_CFLAGS"
28961 LIBS="$ac_save_LIBS"
28962 fi
28963 fi
28964 if test "x$no_gtk" = x ; then
28965 echo "$as_me:$LINENO: result: yes" >&5
28966 echo "${ECHO_T}yes" >&6
28967 wx_cv_lib_gtk=1.2.3
28968 else
28969 echo "$as_me:$LINENO: result: no" >&5
28970 echo "${ECHO_T}no" >&6
28971 if test "$GTK_CONFIG" = "no" ; then
28972 echo "*** The gtk-config script installed by GTK could not be found"
28973 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28974 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28975 echo "*** full path to gtk-config."
28976 else
28977 if test -f conf.gtktest ; then
28978 :
28979 else
28980 echo "*** Could not run GTK test program, checking why..."
28981 CFLAGS="$CFLAGS $GTK_CFLAGS"
28982 LIBS="$LIBS $GTK_LIBS"
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989
28990 #include <gtk/gtk.h>
28991 #include <stdio.h>
28992
28993 int
28994 main ()
28995 {
28996 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28997 ;
28998 return 0;
28999 }
29000 _ACEOF
29001 rm -f conftest.$ac_objext conftest$ac_exeext
29002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29003 (eval $ac_link) 2>conftest.er1
29004 ac_status=$?
29005 grep -v '^ *+' conftest.er1 >conftest.err
29006 rm -f conftest.er1
29007 cat conftest.err >&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } &&
29010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29013 ac_status=$?
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29019 ac_status=$?
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 echo "*** The test program compiled, but did not run. This usually means"
29023 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29024 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29025 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29026 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29027 echo "*** is required on your system"
29028 echo "***"
29029 echo "*** If you have an old version installed, it is best to remove it, although"
29030 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29031 echo "***"
29032 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29033 echo "*** came with the system with the command"
29034 echo "***"
29035 echo "*** rpm --erase --nodeps gtk gtk-devel"
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 echo "*** The test program failed to compile or link. See the file config.log for the"
29041 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29042 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29043 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29044 fi
29045 rm -f conftest.err conftest.$ac_objext \
29046 conftest$ac_exeext conftest.$ac_ext
29047 CFLAGS="$ac_save_CFLAGS"
29048 LIBS="$ac_save_LIBS"
29049 fi
29050 fi
29051 GTK_CFLAGS=""
29052 GTK_LIBS=""
29053 :
29054 fi
29055
29056
29057 rm -f conf.gtktest
29058
29059 fi
29060 fi
29061 fi
29062
29063 if test -z "$wx_cv_lib_gtk"; then
29064 wx_cv_lib_gtk=none
29065 else
29066 wx_cv_cflags_gtk=$GTK_CFLAGS
29067 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29068 fi
29069
29070
29071 fi
29072
29073
29074 if test "$gtk_version_cached" = 1; then
29075 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29076 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29077 fi
29078
29079 case "$wx_cv_lib_gtk" in
29080 2.0) WXGTK20=1
29081 TOOLKIT_VERSION=2
29082 ;;
29083 1.2.7) WXGTK127=1
29084 WXGTK12=1
29085 ;;
29086 1.2.3) WXGTK12=1
29087 ;;
29088 *) { { echo "$as_me:$LINENO: error:
29089 The development files for GTK+ were not found. For GTK+ 2, please
29090 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29091 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29092 and that the version is 1.2.3 or above. Also check that the
29093 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29094 --libs' are in the LD_LIBRARY_PATH or equivalent.
29095 " >&5
29096 echo "$as_me: error:
29097 The development files for GTK+ were not found. For GTK+ 2, please
29098 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29099 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29100 and that the version is 1.2.3 or above. Also check that the
29101 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29102 --libs' are in the LD_LIBRARY_PATH or equivalent.
29103 " >&2;}
29104 { (exit 1); exit 1; }; }
29105 ;;
29106 esac
29107
29108 if test "$WXGTK20" = 1; then
29109 save_CFLAGS="$CFLAGS"
29110 save_LIBS="$LIBS"
29111 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29112 LIBS="$LIBS $wx_cv_libs_gtk"
29113
29114 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29115 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29116 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <gtk/gtk.h>
29126
29127 int
29128 main ()
29129 {
29130 #ifndef gtk_icon_size_lookup
29131 char *p = (char *) gtk_icon_size_lookup;
29132 #endif
29133
29134 ;
29135 return 0;
29136 }
29137 _ACEOF
29138 rm -f conftest.$ac_objext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29140 (eval $ac_compile) 2>conftest.er1
29141 ac_status=$?
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29150 ac_status=$?
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try='test -s conftest.$ac_objext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 ac_cv_have_decl_gtk_icon_size_lookup=yes
29160 else
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 ac_cv_have_decl_gtk_icon_size_lookup=no
29165 fi
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29169 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29170 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29171
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29174 _ACEOF
29175
29176
29177 else
29178 cat >>confdefs.h <<_ACEOF
29179 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29180 _ACEOF
29181
29182 cat >>confdefs.h <<\_ACEOF
29183 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29184 _ACEOF
29185
29186 fi
29187
29188
29189
29190 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29191 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198
29199 #include <gtk/gtk.h>
29200
29201 int
29202 main ()
29203 {
29204
29205 #if !GTK_CHECK_VERSION(2,6,0)
29206 Not GTK+ 2.6
29207 #endif
29208
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; } &&
29228 { ac_try='test -s conftest.$ac_objext'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; }; then
29234
29235 cat >>confdefs.h <<\_ACEOF
29236 #define __WXGTK26__ 1
29237 _ACEOF
29238
29239 cat >>confdefs.h <<\_ACEOF
29240 #define __WXGTK24__ 1
29241 _ACEOF
29242
29243 echo "$as_me:$LINENO: result: yes" >&5
29244 echo "${ECHO_T}yes" >&6
29245 ac_wxgtk26=1
29246
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29250
29251
29252 echo "$as_me:$LINENO: result: no" >&5
29253 echo "${ECHO_T}no" >&6
29254 ac_wxgtk26=0
29255
29256 fi
29257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29258
29259 if test "$ac_wxgtk26" = 0; then
29260 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29261 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269 #include <gtk/gtk.h>
29270
29271 int
29272 main ()
29273 {
29274
29275 #if !GTK_CHECK_VERSION(2,4,0)
29276 Not GTK+ 2.4
29277 #endif
29278
29279 ;
29280 return 0;
29281 }
29282 _ACEOF
29283 rm -f conftest.$ac_objext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29285 (eval $ac_compile) 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try='test -s conftest.$ac_objext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304
29305 cat >>confdefs.h <<\_ACEOF
29306 #define __WXGTK24__ 1
29307 _ACEOF
29308
29309 echo "$as_me:$LINENO: result: yes" >&5
29310 echo "${ECHO_T}yes" >&6
29311
29312 else
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29315
29316
29317 echo "$as_me:$LINENO: result: no" >&5
29318 echo "${ECHO_T}no" >&6
29319
29320 fi
29321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29322 fi
29323
29324 CFLAGS="$save_CFLAGS"
29325 LIBS="$save_LIBS"
29326 else
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29329 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29330 wxUSE_UNICODE=no
29331 fi
29332
29333 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29334 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29335 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29336 echo $ECHO_N "(cached) $ECHO_C" >&6
29337 else
29338 ac_check_lib_save_LIBS=$LIBS
29339 LIBS="-lgdk $LIBS"
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346
29347 /* Override any gcc2 internal prototype to avoid an error. */
29348 #ifdef __cplusplus
29349 extern "C"
29350 #endif
29351 /* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29353 char gdk_im_open ();
29354 int
29355 main ()
29356 {
29357 gdk_im_open ();
29358 ;
29359 return 0;
29360 }
29361 _ACEOF
29362 rm -f conftest.$ac_objext conftest$ac_exeext
29363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29364 (eval $ac_link) 2>conftest.er1
29365 ac_status=$?
29366 grep -v '^ *+' conftest.er1 >conftest.err
29367 rm -f conftest.er1
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } &&
29371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try='test -s conftest$ac_exeext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 ac_cv_lib_gdk_gdk_im_open=yes
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 ac_cv_lib_gdk_gdk_im_open=no
29389 fi
29390 rm -f conftest.err conftest.$ac_objext \
29391 conftest$ac_exeext conftest.$ac_ext
29392 LIBS=$ac_check_lib_save_LIBS
29393 fi
29394 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29395 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29396 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29397 cat >>confdefs.h <<\_ACEOF
29398 #define HAVE_XIM 1
29399 _ACEOF
29400
29401 fi
29402
29403 fi
29404
29405 ac_ext=cc
29406 ac_cpp='$CXXCPP $CPPFLAGS'
29407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29410
29411
29412 if test "$USE_DARWIN" != 1; then
29413
29414 for ac_func in poll
29415 do
29416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29417 echo "$as_me:$LINENO: checking for $ac_func" >&5
29418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29419 if eval "test \"\${$as_ac_var+set}\" = set"; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29421 else
29422 cat >conftest.$ac_ext <<_ACEOF
29423 /* confdefs.h. */
29424 _ACEOF
29425 cat confdefs.h >>conftest.$ac_ext
29426 cat >>conftest.$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29430 #define $ac_func innocuous_$ac_func
29431
29432 /* System header to define __stub macros and hopefully few prototypes,
29433 which can conflict with char $ac_func (); below.
29434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29435 <limits.h> exists even on freestanding compilers. */
29436
29437 #ifdef __STDC__
29438 # include <limits.h>
29439 #else
29440 # include <assert.h>
29441 #endif
29442
29443 #undef $ac_func
29444
29445 /* Override any gcc2 internal prototype to avoid an error. */
29446 #ifdef __cplusplus
29447 extern "C"
29448 {
29449 #endif
29450 /* We use char because int might match the return type of a gcc2
29451 builtin and then its argument prototype would still apply. */
29452 char $ac_func ();
29453 /* The GNU C library defines this for functions which it implements
29454 to always fail with ENOSYS. Some functions are actually named
29455 something starting with __ and the normal name is an alias. */
29456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29457 choke me
29458 #else
29459 char (*f) () = $ac_func;
29460 #endif
29461 #ifdef __cplusplus
29462 }
29463 #endif
29464
29465 int
29466 main ()
29467 {
29468 return f != $ac_func;
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 eval "$as_ac_var=yes"
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 eval "$as_ac_var=no"
29500 fi
29501 rm -f conftest.err conftest.$ac_objext \
29502 conftest$ac_exeext conftest.$ac_ext
29503 fi
29504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29506 if test `eval echo '${'$as_ac_var'}'` = yes; then
29507 cat >>confdefs.h <<_ACEOF
29508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29509 _ACEOF
29510
29511 fi
29512 done
29513
29514 fi
29515
29516 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29517 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29518
29519 AFMINSTALL=afminstall
29520 TOOLKIT=GTK
29521 GUIDIST=GTK_DIST
29522
29523 if test "$wxUSE_GPE" = "yes"; then
29524 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29525 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29526
29527 ac_find_libraries=
29528 for ac_dir in $SEARCH_LIB;
29529 do
29530 for ac_extension in a so sl dylib dll.a; do
29531 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29532 ac_find_libraries=$ac_dir
29533 break 2
29534 fi
29535 done
29536 done
29537
29538 if test "$ac_find_libraries" != "" ; then
29539
29540 if test "$ac_find_libraries" = "default location"; then
29541 ac_path_to_link=""
29542 else
29543 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29544 result=$?
29545 if test $result = 0; then
29546 ac_path_to_link=""
29547 else
29548 ac_path_to_link=" -L$ac_find_libraries"
29549 fi
29550 fi
29551
29552 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29553 WXGPE=1
29554 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29555 echo "${ECHO_T}found in $ac_find_libraries" >&6
29556 else
29557 echo "$as_me:$LINENO: result: not found" >&5
29558 echo "${ECHO_T}not found" >&6
29559 fi
29560
29561 fi
29562 fi
29563
29564 if test "$wxUSE_MGL" = 1; then
29565 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29566 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29567 if test "x$MGL_ROOT" = x ; then
29568 echo "$as_me:$LINENO: result: not found" >&5
29569 echo "${ECHO_T}not found" >&6
29570 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29571 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29572 { (exit 1); exit 1; }; }
29573 else
29574 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29575 echo "${ECHO_T}$MGL_ROOT" >&6
29576 fi
29577
29578 echo "$as_me:$LINENO: checking for libmgl location" >&5
29579 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29580 case "${host}" in
29581 *-*-linux* )
29582 if test "x$wxUSE_SHARED" = xyes ; then
29583 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29584 else
29585 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29586 fi
29587 ;;
29588 *-pc-msdosdjgpp )
29589 mgl_os_candidates="dos32/dj2"
29590 ;;
29591 *)
29592 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29593 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29594 { (exit 1); exit 1; }; }
29595 esac
29596
29597 mgl_lib_type=""
29598 mgl_os=""
29599
29600 for mgl_os_i in $mgl_os_candidates ; do
29601 if test "x$mgl_os" = x ; then
29602 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29603 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29604 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29605 mgl_lib_type=debug
29606 mgl_os=$mgl_os_i
29607 fi
29608 fi
29609 if test "x$mgl_lib_type" = x ; then
29610 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29611 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29612 mgl_lib_type=release
29613 mgl_os=$mgl_os_i
29614 fi
29615 fi
29616 fi
29617 done
29618
29619 if test "x$mgl_os" = x ; then
29620 echo "$as_me:$LINENO: result: not found" >&5
29621 echo "${ECHO_T}not found" >&6
29622 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29623 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29624 { (exit 1); exit 1; }; }
29625 fi
29626 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29627 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29628
29629 wxUSE_UNIVERSAL="yes"
29630
29631 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29632 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29633
29634 AFMINSTALL=afminstall
29635 TOOLKIT=MGL
29636 GUIDIST=MGL_DIST
29637 fi
29638
29639 if test "$wxUSE_DFB" = 1; then
29640
29641
29642 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29643 if test -n "$ac_tool_prefix"; then
29644 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29645 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29646 echo "$as_me:$LINENO: checking for $ac_word" >&5
29647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29650 else
29651 case $PKG_CONFIG in
29652 [\\/]* | ?:[\\/]*)
29653 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29654 ;;
29655 *)
29656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29657 for as_dir in $PATH
29658 do
29659 IFS=$as_save_IFS
29660 test -z "$as_dir" && as_dir=.
29661 for ac_exec_ext in '' $ac_executable_extensions; do
29662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29663 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29665 break 2
29666 fi
29667 done
29668 done
29669
29670 ;;
29671 esac
29672 fi
29673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29674
29675 if test -n "$PKG_CONFIG"; then
29676 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29677 echo "${ECHO_T}$PKG_CONFIG" >&6
29678 else
29679 echo "$as_me:$LINENO: result: no" >&5
29680 echo "${ECHO_T}no" >&6
29681 fi
29682
29683 fi
29684 if test -z "$ac_cv_path_PKG_CONFIG"; then
29685 ac_pt_PKG_CONFIG=$PKG_CONFIG
29686 # Extract the first word of "pkg-config", so it can be a program name with args.
29687 set dummy pkg-config; ac_word=$2
29688 echo "$as_me:$LINENO: checking for $ac_word" >&5
29689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 else
29693 case $ac_pt_PKG_CONFIG in
29694 [\\/]* | ?:[\\/]*)
29695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29696 ;;
29697 *)
29698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29699 for as_dir in $PATH
29700 do
29701 IFS=$as_save_IFS
29702 test -z "$as_dir" && as_dir=.
29703 for ac_exec_ext in '' $ac_executable_extensions; do
29704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29707 break 2
29708 fi
29709 done
29710 done
29711
29712 ;;
29713 esac
29714 fi
29715 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29716
29717 if test -n "$ac_pt_PKG_CONFIG"; then
29718 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29719 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29720 else
29721 echo "$as_me:$LINENO: result: no" >&5
29722 echo "${ECHO_T}no" >&6
29723 fi
29724
29725 PKG_CONFIG=$ac_pt_PKG_CONFIG
29726 else
29727 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29728 fi
29729
29730 fi
29731 if test -n "$PKG_CONFIG"; then
29732 _pkg_min_version=0.9.0
29733 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29736 echo "$as_me:$LINENO: result: yes" >&5
29737 echo "${ECHO_T}yes" >&6
29738 else
29739 echo "$as_me:$LINENO: result: no" >&5
29740 echo "${ECHO_T}no" >&6
29741 PKG_CONFIG=""
29742 fi
29743
29744 fi
29745
29746
29747 pkg_failed=no
29748 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29749 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29750
29751 if test -n "$PKG_CONFIG"; then
29752 if test -n "$DIRECTFB_CFLAGS"; then
29753 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29754 else
29755 if test -n "$PKG_CONFIG" && \
29756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29757 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29758 ac_status=$?
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); }; then
29761 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29762 else
29763 pkg_failed=yes
29764 fi
29765 fi
29766 else
29767 pkg_failed=untried
29768 fi
29769 if test -n "$PKG_CONFIG"; then
29770 if test -n "$DIRECTFB_LIBS"; then
29771 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29772 else
29773 if test -n "$PKG_CONFIG" && \
29774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29775 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29776 ac_status=$?
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; then
29779 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29780 else
29781 pkg_failed=yes
29782 fi
29783 fi
29784 else
29785 pkg_failed=untried
29786 fi
29787
29788
29789
29790 if test $pkg_failed = yes; then
29791
29792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29793 _pkg_short_errors_supported=yes
29794 else
29795 _pkg_short_errors_supported=no
29796 fi
29797 if test $_pkg_short_errors_supported = yes; then
29798 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29799 else
29800 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29801 fi
29802 # Put the nasty error message in config.log where it belongs
29803 echo "$DIRECTFB_PKG_ERRORS" >&5
29804
29805
29806 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29807 echo "$as_me: error: DirectFB not found." >&2;}
29808 { (exit 1); exit 1; }; }
29809
29810
29811 elif test $pkg_failed = untried; then
29812
29813 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29814 echo "$as_me: error: DirectFB not found." >&2;}
29815 { (exit 1); exit 1; }; }
29816
29817
29818 else
29819 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29820 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29821 echo "$as_me:$LINENO: result: yes" >&5
29822 echo "${ECHO_T}yes" >&6
29823
29824 wxUSE_UNIVERSAL="yes"
29825 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29826 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29827 TOOLKIT=DFB
29828 GUIDIST=DFB_DIST
29829
29830 fi
29831 fi
29832
29833 if test "$wxUSE_MICROWIN" = 1; then
29834 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29835 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29836 if test "x$MICROWINDOWS" = x ; then
29837 echo "$as_me:$LINENO: result: not found" >&5
29838 echo "${ECHO_T}not found" >&6
29839 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29840 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29841 { (exit 1); exit 1; }; }
29842 else
29843 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29844 echo "${ECHO_T}$MICROWINDOWS" >&6
29845 fi
29846
29847 if test -f $MICROWINDOWS/lib/libmwin.a; then
29848 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29849 echo "${ECHO_T}MicroWindows' libraries found." >&6
29850 else
29851 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29852 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29853 { (exit 1); exit 1; }; }
29854 fi
29855
29856 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29857 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29858
29859 wxUSE_UNIVERSAL="yes"
29860
29861 AFMINSTALL=afminstall
29862 TOOLKIT=MICROWIN
29863 GUIDIST=MICROWIN_DIST
29864
29865 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29866 fi
29867
29868 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29869
29870 if test "x$ac_path_x_has_been_run" != xyes; then
29871 echo "$as_me:$LINENO: checking for X" >&5
29872 echo $ECHO_N "checking for X... $ECHO_C" >&6
29873
29874 ac_path_x_has_been_run=yes
29875
29876 # Check whether --with-x or --without-x was given.
29877 if test "${with_x+set}" = set; then
29878 withval="$with_x"
29879
29880 fi;
29881 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29882 if test "x$with_x" = xno; then
29883 # The user explicitly disabled X.
29884 have_x=disabled
29885 else
29886 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29887 # Both variables are already set.
29888 have_x=yes
29889 else
29890 if test "${ac_cv_have_x+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893 # One or both of the vars are not set, and there is no cached value.
29894 ac_x_includes=no ac_x_libraries=no
29895 rm -fr conftest.dir
29896 if mkdir conftest.dir; then
29897 cd conftest.dir
29898 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29899 cat >Imakefile <<'_ACEOF'
29900 acfindx:
29901 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29902 _ACEOF
29903 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29905 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29906 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29907 for ac_extension in a so sl; do
29908 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29909 test -f $ac_im_libdir/libX11.$ac_extension; then
29910 ac_im_usrlibdir=$ac_im_libdir; break
29911 fi
29912 done
29913 # Screen out bogus values from the imake configuration. They are
29914 # bogus both because they are the default anyway, and because
29915 # using them would break gcc on systems where it needs fixed includes.
29916 case $ac_im_incroot in
29917 /usr/include) ;;
29918 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29919 esac
29920 case $ac_im_usrlibdir in
29921 /usr/lib | /lib) ;;
29922 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29923 esac
29924 fi
29925 cd ..
29926 rm -fr conftest.dir
29927 fi
29928
29929 # Standard set of common directories for X headers.
29930 # Check X11 before X11Rn because it is often a symlink to the current release.
29931 ac_x_header_dirs='
29932 /usr/X11/include
29933 /usr/X11R6/include
29934 /usr/X11R5/include
29935 /usr/X11R4/include
29936
29937 /usr/include/X11
29938 /usr/include/X11R6
29939 /usr/include/X11R5
29940 /usr/include/X11R4
29941
29942 /usr/local/X11/include
29943 /usr/local/X11R6/include
29944 /usr/local/X11R5/include
29945 /usr/local/X11R4/include
29946
29947 /usr/local/include/X11
29948 /usr/local/include/X11R6
29949 /usr/local/include/X11R5
29950 /usr/local/include/X11R4
29951
29952 /usr/X386/include
29953 /usr/x386/include
29954 /usr/XFree86/include/X11
29955
29956 /usr/include
29957 /usr/local/include
29958 /usr/unsupported/include
29959 /usr/athena/include
29960 /usr/local/x11r5/include
29961 /usr/lpp/Xamples/include
29962
29963 /usr/openwin/include
29964 /usr/openwin/share/include'
29965
29966 if test "$ac_x_includes" = no; then
29967 # Guess where to find include files, by looking for a specified header file.
29968 # First, try using that file with no special directory specified.
29969 cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h. */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29975 #include <X11/Xlib.h>
29976 _ACEOF
29977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29979 ac_status=$?
29980 grep -v '^ *+' conftest.er1 >conftest.err
29981 rm -f conftest.er1
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } >/dev/null; then
29985 if test -s conftest.err; then
29986 ac_cpp_err=$ac_cxx_preproc_warn_flag
29987 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29988 else
29989 ac_cpp_err=
29990 fi
29991 else
29992 ac_cpp_err=yes
29993 fi
29994 if test -z "$ac_cpp_err"; then
29995 # We can compile using X headers with no special include directory.
29996 ac_x_includes=
29997 else
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.$ac_ext >&5
30000
30001 for ac_dir in $ac_x_header_dirs; do
30002 if test -r "$ac_dir/X11/Xlib.h"; then
30003 ac_x_includes=$ac_dir
30004 break
30005 fi
30006 done
30007 fi
30008 rm -f conftest.err conftest.$ac_ext
30009 fi # $ac_x_includes = no
30010
30011 if test "$ac_x_libraries" = no; then
30012 # Check for the libraries.
30013 # See if we find them without any special options.
30014 # Don't add to $LIBS permanently.
30015 ac_save_LIBS=$LIBS
30016 LIBS="-lX11 $LIBS"
30017 cat >conftest.$ac_ext <<_ACEOF
30018 /* confdefs.h. */
30019 _ACEOF
30020 cat confdefs.h >>conftest.$ac_ext
30021 cat >>conftest.$ac_ext <<_ACEOF
30022 /* end confdefs.h. */
30023 #include <X11/Xlib.h>
30024 int
30025 main ()
30026 {
30027 XrmInitialize ()
30028 ;
30029 return 0;
30030 }
30031 _ACEOF
30032 rm -f conftest.$ac_objext conftest$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034 (eval $ac_link) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } &&
30041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30043 (eval $ac_try) 2>&5
30044 ac_status=$?
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); }; } &&
30047 { ac_try='test -s conftest$ac_exeext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30050 ac_status=$?
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30053 LIBS=$ac_save_LIBS
30054 # We can link X programs with no special library path.
30055 ac_x_libraries=
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 LIBS=$ac_save_LIBS
30061 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30062 do
30063 # Don't even attempt the hair of trying to link an X program!
30064 for ac_extension in a so sl; do
30065 if test -r $ac_dir/libX11.$ac_extension; then
30066 ac_x_libraries=$ac_dir
30067 break 2
30068 fi
30069 done
30070 done
30071 fi
30072 rm -f conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074 fi # $ac_x_libraries = no
30075
30076 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30077 # Didn't find X anywhere. Cache the known absence of X.
30078 ac_cv_have_x="have_x=no"
30079 else
30080 # Record where we found X for the cache.
30081 ac_cv_have_x="have_x=yes \
30082 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30083 fi
30084 fi
30085
30086 fi
30087 eval "$ac_cv_have_x"
30088 fi # $with_x != no
30089
30090 if test "$have_x" != yes; then
30091 echo "$as_me:$LINENO: result: $have_x" >&5
30092 echo "${ECHO_T}$have_x" >&6
30093 no_x=yes
30094 else
30095 # If each of the values was on the command line, it overrides each guess.
30096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30098 # Update the cache value to reflect the command line values.
30099 ac_cv_have_x="have_x=yes \
30100 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30101 # It might be that x_includes is empty (headers are found in the
30102 # standard search path. Then output the corresponding message
30103 ac_out_x_includes=$x_includes
30104 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30105 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30106 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30107 fi
30108
30109 fi
30110 if test "$no_x" = yes; then
30111 # Not all programs may use this symbol, but it does not hurt to define it.
30112
30113 cat >>confdefs.h <<\_ACEOF
30114 #define X_DISPLAY_MISSING 1
30115 _ACEOF
30116
30117 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30118 else
30119 if test -n "$x_includes"; then
30120 X_CFLAGS="$X_CFLAGS -I$x_includes"
30121 fi
30122
30123 # It would also be nice to do this for all -L options, not just this one.
30124 if test -n "$x_libraries"; then
30125 X_LIBS="$X_LIBS -L$x_libraries"
30126 # For Solaris; some versions of Sun CC require a space after -R and
30127 # others require no space. Words are not sufficient . . . .
30128 case `(uname -sr) 2>/dev/null` in
30129 "SunOS 5"*)
30130 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30131 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30132 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30133 cat >conftest.$ac_ext <<_ACEOF
30134 /* confdefs.h. */
30135 _ACEOF
30136 cat confdefs.h >>conftest.$ac_ext
30137 cat >>conftest.$ac_ext <<_ACEOF
30138 /* end confdefs.h. */
30139
30140 int
30141 main ()
30142 {
30143
30144 ;
30145 return 0;
30146 }
30147 _ACEOF
30148 rm -f conftest.$ac_objext conftest$ac_exeext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30150 (eval $ac_link) 2>conftest.er1
30151 ac_status=$?
30152 grep -v '^ *+' conftest.er1 >conftest.err
30153 rm -f conftest.er1
30154 cat conftest.err >&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); } &&
30157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30160 ac_status=$?
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; } &&
30163 { ac_try='test -s conftest$ac_exeext'
30164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165 (eval $ac_try) 2>&5
30166 ac_status=$?
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); }; }; then
30169 ac_R_nospace=yes
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30173
30174 ac_R_nospace=no
30175 fi
30176 rm -f conftest.err conftest.$ac_objext \
30177 conftest$ac_exeext conftest.$ac_ext
30178 if test $ac_R_nospace = yes; then
30179 echo "$as_me:$LINENO: result: no" >&5
30180 echo "${ECHO_T}no" >&6
30181 X_LIBS="$X_LIBS -R$x_libraries"
30182 else
30183 LIBS="$ac_xsave_LIBS -R $x_libraries"
30184 cat >conftest.$ac_ext <<_ACEOF
30185 /* confdefs.h. */
30186 _ACEOF
30187 cat confdefs.h >>conftest.$ac_ext
30188 cat >>conftest.$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30190
30191 int
30192 main ()
30193 {
30194
30195 ;
30196 return 0;
30197 }
30198 _ACEOF
30199 rm -f conftest.$ac_objext conftest$ac_exeext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30201 (eval $ac_link) 2>conftest.er1
30202 ac_status=$?
30203 grep -v '^ *+' conftest.er1 >conftest.err
30204 rm -f conftest.er1
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } &&
30208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; } &&
30214 { ac_try='test -s conftest$ac_exeext'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30220 ac_R_space=yes
30221 else
30222 echo "$as_me: failed program was:" >&5
30223 sed 's/^/| /' conftest.$ac_ext >&5
30224
30225 ac_R_space=no
30226 fi
30227 rm -f conftest.err conftest.$ac_objext \
30228 conftest$ac_exeext conftest.$ac_ext
30229 if test $ac_R_space = yes; then
30230 echo "$as_me:$LINENO: result: yes" >&5
30231 echo "${ECHO_T}yes" >&6
30232 X_LIBS="$X_LIBS -R $x_libraries"
30233 else
30234 echo "$as_me:$LINENO: result: neither works" >&5
30235 echo "${ECHO_T}neither works" >&6
30236 fi
30237 fi
30238 LIBS=$ac_xsave_LIBS
30239 esac
30240 fi
30241
30242 # Check for system-dependent libraries X programs must link with.
30243 # Do this before checking for the system-independent R6 libraries
30244 # (-lICE), since we may need -lsocket or whatever for X linking.
30245
30246 if test "$ISC" = yes; then
30247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30248 else
30249 # Martyn Johnson says this is needed for Ultrix, if the X
30250 # libraries were built with DECnet support. And Karl Berry says
30251 # the Alpha needs dnet_stub (dnet does not exist).
30252 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259
30260 /* Override any gcc2 internal prototype to avoid an error. */
30261 #ifdef __cplusplus
30262 extern "C"
30263 #endif
30264 /* We use char because int might match the return type of a gcc2
30265 builtin and then its argument prototype would still apply. */
30266 char XOpenDisplay ();
30267 int
30268 main ()
30269 {
30270 XOpenDisplay ();
30271 ;
30272 return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30277 (eval $ac_link) 2>conftest.er1
30278 ac_status=$?
30279 grep -v '^ *+' conftest.er1 >conftest.err
30280 rm -f conftest.er1
30281 cat conftest.err >&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); } &&
30284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest$ac_exeext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30296 :
30297 else
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30300
30301 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30302 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30303 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30304 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 else
30306 ac_check_lib_save_LIBS=$LIBS
30307 LIBS="-ldnet $LIBS"
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314
30315 /* Override any gcc2 internal prototype to avoid an error. */
30316 #ifdef __cplusplus
30317 extern "C"
30318 #endif
30319 /* We use char because int might match the return type of a gcc2
30320 builtin and then its argument prototype would still apply. */
30321 char dnet_ntoa ();
30322 int
30323 main ()
30324 {
30325 dnet_ntoa ();
30326 ;
30327 return 0;
30328 }
30329 _ACEOF
30330 rm -f conftest.$ac_objext conftest$ac_exeext
30331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30332 (eval $ac_link) 2>conftest.er1
30333 ac_status=$?
30334 grep -v '^ *+' conftest.er1 >conftest.err
30335 rm -f conftest.er1
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; } &&
30345 { ac_try='test -s conftest$ac_exeext'
30346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30347 (eval $ac_try) 2>&5
30348 ac_status=$?
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; }; then
30351 ac_cv_lib_dnet_dnet_ntoa=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 ac_cv_lib_dnet_dnet_ntoa=no
30357 fi
30358 rm -f conftest.err conftest.$ac_objext \
30359 conftest$ac_exeext conftest.$ac_ext
30360 LIBS=$ac_check_lib_save_LIBS
30361 fi
30362 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30363 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30364 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30365 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30366 fi
30367
30368 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30369 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30370 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30371 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 ac_check_lib_save_LIBS=$LIBS
30375 LIBS="-ldnet_stub $LIBS"
30376 cat >conftest.$ac_ext <<_ACEOF
30377 /* confdefs.h. */
30378 _ACEOF
30379 cat confdefs.h >>conftest.$ac_ext
30380 cat >>conftest.$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30382
30383 /* Override any gcc2 internal prototype to avoid an error. */
30384 #ifdef __cplusplus
30385 extern "C"
30386 #endif
30387 /* We use char because int might match the return type of a gcc2
30388 builtin and then its argument prototype would still apply. */
30389 char dnet_ntoa ();
30390 int
30391 main ()
30392 {
30393 dnet_ntoa ();
30394 ;
30395 return 0;
30396 }
30397 _ACEOF
30398 rm -f conftest.$ac_objext conftest$ac_exeext
30399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30401 ac_status=$?
30402 grep -v '^ *+' conftest.er1 >conftest.err
30403 rm -f conftest.er1
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30410 ac_status=$?
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try='test -s conftest$ac_exeext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30416 ac_status=$?
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30420 else
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.$ac_ext >&5
30423
30424 ac_cv_lib_dnet_stub_dnet_ntoa=no
30425 fi
30426 rm -f conftest.err conftest.$ac_objext \
30427 conftest$ac_exeext conftest.$ac_ext
30428 LIBS=$ac_check_lib_save_LIBS
30429 fi
30430 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30431 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30432 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30433 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30434 fi
30435
30436 fi
30437 fi
30438 rm -f conftest.err conftest.$ac_objext \
30439 conftest$ac_exeext conftest.$ac_ext
30440 LIBS="$ac_xsave_LIBS"
30441
30442 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30443 # to get the SysV transport functions.
30444 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30445 # needs -lnsl.
30446 # The nsl library prevents programs from opening the X display
30447 # on Irix 5.2, according to T.E. Dickey.
30448 # The functions gethostbyname, getservbyname, and inet_addr are
30449 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30450 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30451 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30452 if test "${ac_cv_func_gethostbyname+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define gethostbyname innocuous_gethostbyname
30464
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char gethostbyname (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30469
30470 #ifdef __STDC__
30471 # include <limits.h>
30472 #else
30473 # include <assert.h>
30474 #endif
30475
30476 #undef gethostbyname
30477
30478 /* Override any gcc2 internal prototype to avoid an error. */
30479 #ifdef __cplusplus
30480 extern "C"
30481 {
30482 #endif
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30485 char gethostbyname ();
30486 /* The GNU C library defines this for functions which it implements
30487 to always fail with ENOSYS. Some functions are actually named
30488 something starting with __ and the normal name is an alias. */
30489 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30490 choke me
30491 #else
30492 char (*f) () = gethostbyname;
30493 #endif
30494 #ifdef __cplusplus
30495 }
30496 #endif
30497
30498 int
30499 main ()
30500 {
30501 return f != gethostbyname;
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30509 ac_status=$?
30510 grep -v '^ *+' conftest.er1 >conftest.err
30511 rm -f conftest.er1
30512 cat conftest.err >&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30518 ac_status=$?
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 ac_cv_func_gethostbyname=yes
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 ac_cv_func_gethostbyname=no
30533 fi
30534 rm -f conftest.err conftest.$ac_objext \
30535 conftest$ac_exeext conftest.$ac_ext
30536 fi
30537 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30538 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30539
30540 if test $ac_cv_func_gethostbyname = no; then
30541 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30542 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30543 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 else
30546 ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-lnsl $LIBS"
30548 cat >conftest.$ac_ext <<_ACEOF
30549 /* confdefs.h. */
30550 _ACEOF
30551 cat confdefs.h >>conftest.$ac_ext
30552 cat >>conftest.$ac_ext <<_ACEOF
30553 /* end confdefs.h. */
30554
30555 /* Override any gcc2 internal prototype to avoid an error. */
30556 #ifdef __cplusplus
30557 extern "C"
30558 #endif
30559 /* We use char because int might match the return type of a gcc2
30560 builtin and then its argument prototype would still apply. */
30561 char gethostbyname ();
30562 int
30563 main ()
30564 {
30565 gethostbyname ();
30566 ;
30567 return 0;
30568 }
30569 _ACEOF
30570 rm -f conftest.$ac_objext conftest$ac_exeext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30572 (eval $ac_link) 2>conftest.er1
30573 ac_status=$?
30574 grep -v '^ *+' conftest.er1 >conftest.err
30575 rm -f conftest.er1
30576 cat conftest.err >&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); } &&
30579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30582 ac_status=$?
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; } &&
30585 { ac_try='test -s conftest$ac_exeext'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30588 ac_status=$?
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; }; then
30591 ac_cv_lib_nsl_gethostbyname=yes
30592 else
30593 echo "$as_me: failed program was:" >&5
30594 sed 's/^/| /' conftest.$ac_ext >&5
30595
30596 ac_cv_lib_nsl_gethostbyname=no
30597 fi
30598 rm -f conftest.err conftest.$ac_objext \
30599 conftest$ac_exeext conftest.$ac_ext
30600 LIBS=$ac_check_lib_save_LIBS
30601 fi
30602 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30603 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30604 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30605 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30606 fi
30607
30608 if test $ac_cv_lib_nsl_gethostbyname = no; then
30609 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30610 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30611 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614 ac_check_lib_save_LIBS=$LIBS
30615 LIBS="-lbsd $LIBS"
30616 cat >conftest.$ac_ext <<_ACEOF
30617 /* confdefs.h. */
30618 _ACEOF
30619 cat confdefs.h >>conftest.$ac_ext
30620 cat >>conftest.$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30622
30623 /* Override any gcc2 internal prototype to avoid an error. */
30624 #ifdef __cplusplus
30625 extern "C"
30626 #endif
30627 /* We use char because int might match the return type of a gcc2
30628 builtin and then its argument prototype would still apply. */
30629 char gethostbyname ();
30630 int
30631 main ()
30632 {
30633 gethostbyname ();
30634 ;
30635 return 0;
30636 }
30637 _ACEOF
30638 rm -f conftest.$ac_objext conftest$ac_exeext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30640 (eval $ac_link) 2>conftest.er1
30641 ac_status=$?
30642 grep -v '^ *+' conftest.er1 >conftest.err
30643 rm -f conftest.er1
30644 cat conftest.err >&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30650 ac_status=$?
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; } &&
30653 { ac_try='test -s conftest$ac_exeext'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; }; then
30659 ac_cv_lib_bsd_gethostbyname=yes
30660 else
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.$ac_ext >&5
30663
30664 ac_cv_lib_bsd_gethostbyname=no
30665 fi
30666 rm -f conftest.err conftest.$ac_objext \
30667 conftest$ac_exeext conftest.$ac_ext
30668 LIBS=$ac_check_lib_save_LIBS
30669 fi
30670 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30671 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30672 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30673 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30674 fi
30675
30676 fi
30677 fi
30678
30679 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30680 # socket/setsockopt and other routines are undefined under SCO ODT
30681 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30682 # on later versions), says Simon Leinen: it contains gethostby*
30683 # variants that don't use the name server (or something). -lsocket
30684 # must be given before -lnsl if both are needed. We assume that
30685 # if connect needs -lnsl, so does gethostbyname.
30686 echo "$as_me:$LINENO: checking for connect" >&5
30687 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30688 if test "${ac_cv_func_connect+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30699 #define connect innocuous_connect
30700
30701 /* System header to define __stub macros and hopefully few prototypes,
30702 which can conflict with char connect (); below.
30703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30704 <limits.h> exists even on freestanding compilers. */
30705
30706 #ifdef __STDC__
30707 # include <limits.h>
30708 #else
30709 # include <assert.h>
30710 #endif
30711
30712 #undef connect
30713
30714 /* Override any gcc2 internal prototype to avoid an error. */
30715 #ifdef __cplusplus
30716 extern "C"
30717 {
30718 #endif
30719 /* We use char because int might match the return type of a gcc2
30720 builtin and then its argument prototype would still apply. */
30721 char connect ();
30722 /* The GNU C library defines this for functions which it implements
30723 to always fail with ENOSYS. Some functions are actually named
30724 something starting with __ and the normal name is an alias. */
30725 #if defined (__stub_connect) || defined (__stub___connect)
30726 choke me
30727 #else
30728 char (*f) () = connect;
30729 #endif
30730 #ifdef __cplusplus
30731 }
30732 #endif
30733
30734 int
30735 main ()
30736 {
30737 return f != connect;
30738 ;
30739 return 0;
30740 }
30741 _ACEOF
30742 rm -f conftest.$ac_objext conftest$ac_exeext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30744 (eval $ac_link) 2>conftest.er1
30745 ac_status=$?
30746 grep -v '^ *+' conftest.er1 >conftest.err
30747 rm -f conftest.er1
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } &&
30751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; } &&
30757 { ac_try='test -s conftest$ac_exeext'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; }; then
30763 ac_cv_func_connect=yes
30764 else
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.$ac_ext >&5
30767
30768 ac_cv_func_connect=no
30769 fi
30770 rm -f conftest.err conftest.$ac_objext \
30771 conftest$ac_exeext conftest.$ac_ext
30772 fi
30773 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30774 echo "${ECHO_T}$ac_cv_func_connect" >&6
30775
30776 if test $ac_cv_func_connect = no; then
30777 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30778 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30779 if test "${ac_cv_lib_socket_connect+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 ac_check_lib_save_LIBS=$LIBS
30783 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30790
30791 /* Override any gcc2 internal prototype to avoid an error. */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char connect ();
30798 int
30799 main ()
30800 {
30801 connect ();
30802 ;
30803 return 0;
30804 }
30805 _ACEOF
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30809 ac_status=$?
30810 grep -v '^ *+' conftest.er1 >conftest.err
30811 rm -f conftest.er1
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30817 (eval $ac_try) 2>&5
30818 ac_status=$?
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); }; } &&
30821 { ac_try='test -s conftest$ac_exeext'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 ac_cv_lib_socket_connect=yes
30828 else
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30831
30832 ac_cv_lib_socket_connect=no
30833 fi
30834 rm -f conftest.err conftest.$ac_objext \
30835 conftest$ac_exeext conftest.$ac_ext
30836 LIBS=$ac_check_lib_save_LIBS
30837 fi
30838 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30840 if test $ac_cv_lib_socket_connect = yes; then
30841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30842 fi
30843
30844 fi
30845
30846 # Guillermo Gomez says -lposix is necessary on A/UX.
30847 echo "$as_me:$LINENO: checking for remove" >&5
30848 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30849 if test "${ac_cv_func_remove+set}" = set; then
30850 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 else
30852 cat >conftest.$ac_ext <<_ACEOF
30853 /* confdefs.h. */
30854 _ACEOF
30855 cat confdefs.h >>conftest.$ac_ext
30856 cat >>conftest.$ac_ext <<_ACEOF
30857 /* end confdefs.h. */
30858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30860 #define remove innocuous_remove
30861
30862 /* System header to define __stub macros and hopefully few prototypes,
30863 which can conflict with char remove (); below.
30864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30865 <limits.h> exists even on freestanding compilers. */
30866
30867 #ifdef __STDC__
30868 # include <limits.h>
30869 #else
30870 # include <assert.h>
30871 #endif
30872
30873 #undef remove
30874
30875 /* Override any gcc2 internal prototype to avoid an error. */
30876 #ifdef __cplusplus
30877 extern "C"
30878 {
30879 #endif
30880 /* We use char because int might match the return type of a gcc2
30881 builtin and then its argument prototype would still apply. */
30882 char remove ();
30883 /* The GNU C library defines this for functions which it implements
30884 to always fail with ENOSYS. Some functions are actually named
30885 something starting with __ and the normal name is an alias. */
30886 #if defined (__stub_remove) || defined (__stub___remove)
30887 choke me
30888 #else
30889 char (*f) () = remove;
30890 #endif
30891 #ifdef __cplusplus
30892 }
30893 #endif
30894
30895 int
30896 main ()
30897 {
30898 return f != remove;
30899 ;
30900 return 0;
30901 }
30902 _ACEOF
30903 rm -f conftest.$ac_objext conftest$ac_exeext
30904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30905 (eval $ac_link) 2>conftest.er1
30906 ac_status=$?
30907 grep -v '^ *+' conftest.er1 >conftest.err
30908 rm -f conftest.er1
30909 cat conftest.err >&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); } &&
30912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try='test -s conftest$ac_exeext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 ac_cv_func_remove=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30928
30929 ac_cv_func_remove=no
30930 fi
30931 rm -f conftest.err conftest.$ac_objext \
30932 conftest$ac_exeext conftest.$ac_ext
30933 fi
30934 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30935 echo "${ECHO_T}$ac_cv_func_remove" >&6
30936
30937 if test $ac_cv_func_remove = no; then
30938 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30939 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30940 if test "${ac_cv_lib_posix_remove+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 else
30943 ac_check_lib_save_LIBS=$LIBS
30944 LIBS="-lposix $LIBS"
30945 cat >conftest.$ac_ext <<_ACEOF
30946 /* confdefs.h. */
30947 _ACEOF
30948 cat confdefs.h >>conftest.$ac_ext
30949 cat >>conftest.$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30951
30952 /* Override any gcc2 internal prototype to avoid an error. */
30953 #ifdef __cplusplus
30954 extern "C"
30955 #endif
30956 /* We use char because int might match the return type of a gcc2
30957 builtin and then its argument prototype would still apply. */
30958 char remove ();
30959 int
30960 main ()
30961 {
30962 remove ();
30963 ;
30964 return 0;
30965 }
30966 _ACEOF
30967 rm -f conftest.$ac_objext conftest$ac_exeext
30968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30969 (eval $ac_link) 2>conftest.er1
30970 ac_status=$?
30971 grep -v '^ *+' conftest.er1 >conftest.err
30972 rm -f conftest.er1
30973 cat conftest.err >&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); } &&
30976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; } &&
30982 { ac_try='test -s conftest$ac_exeext'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; }; then
30988 ac_cv_lib_posix_remove=yes
30989 else
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30992
30993 ac_cv_lib_posix_remove=no
30994 fi
30995 rm -f conftest.err conftest.$ac_objext \
30996 conftest$ac_exeext conftest.$ac_ext
30997 LIBS=$ac_check_lib_save_LIBS
30998 fi
30999 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31000 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31001 if test $ac_cv_lib_posix_remove = yes; then
31002 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31003 fi
31004
31005 fi
31006
31007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31008 echo "$as_me:$LINENO: checking for shmat" >&5
31009 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31010 if test "${ac_cv_func_shmat+set}" = set; then
31011 echo $ECHO_N "(cached) $ECHO_C" >&6
31012 else
31013 cat >conftest.$ac_ext <<_ACEOF
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31021 #define shmat innocuous_shmat
31022
31023 /* System header to define __stub macros and hopefully few prototypes,
31024 which can conflict with char shmat (); below.
31025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31026 <limits.h> exists even on freestanding compilers. */
31027
31028 #ifdef __STDC__
31029 # include <limits.h>
31030 #else
31031 # include <assert.h>
31032 #endif
31033
31034 #undef shmat
31035
31036 /* Override any gcc2 internal prototype to avoid an error. */
31037 #ifdef __cplusplus
31038 extern "C"
31039 {
31040 #endif
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char shmat ();
31044 /* The GNU C library defines this for functions which it implements
31045 to always fail with ENOSYS. Some functions are actually named
31046 something starting with __ and the normal name is an alias. */
31047 #if defined (__stub_shmat) || defined (__stub___shmat)
31048 choke me
31049 #else
31050 char (*f) () = shmat;
31051 #endif
31052 #ifdef __cplusplus
31053 }
31054 #endif
31055
31056 int
31057 main ()
31058 {
31059 return f != shmat;
31060 ;
31061 return 0;
31062 }
31063 _ACEOF
31064 rm -f conftest.$ac_objext conftest$ac_exeext
31065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31066 (eval $ac_link) 2>conftest.er1
31067 ac_status=$?
31068 grep -v '^ *+' conftest.er1 >conftest.err
31069 rm -f conftest.er1
31070 cat conftest.err >&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } &&
31073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; } &&
31079 { ac_try='test -s conftest$ac_exeext'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; }; then
31085 ac_cv_func_shmat=yes
31086 else
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31089
31090 ac_cv_func_shmat=no
31091 fi
31092 rm -f conftest.err conftest.$ac_objext \
31093 conftest$ac_exeext conftest.$ac_ext
31094 fi
31095 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31096 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31097
31098 if test $ac_cv_func_shmat = no; then
31099 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31100 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31101 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lipc $LIBS"
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char shmat ();
31120 int
31121 main ()
31122 {
31123 shmat ();
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_ipc_shmat=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 ac_cv_lib_ipc_shmat=no
31155 fi
31156 rm -f conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31159 fi
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31161 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31162 if test $ac_cv_lib_ipc_shmat = yes; then
31163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31164 fi
31165
31166 fi
31167 fi
31168
31169 # Check for libraries that X11R6 Xt/Xaw programs need.
31170 ac_save_LDFLAGS=$LDFLAGS
31171 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31172 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31173 # check for ICE first), but we must link in the order -lSM -lICE or
31174 # we get undefined symbols. So assume we have SM if we have ICE.
31175 # These have to be linked with before -lX11, unlike the other
31176 # libraries we check for below, so use a different variable.
31177 # John Interrante, Karl Berry
31178 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31179 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31180 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 else
31183 ac_check_lib_save_LIBS=$LIBS
31184 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31185 cat >conftest.$ac_ext <<_ACEOF
31186 /* confdefs.h. */
31187 _ACEOF
31188 cat confdefs.h >>conftest.$ac_ext
31189 cat >>conftest.$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31191
31192 /* Override any gcc2 internal prototype to avoid an error. */
31193 #ifdef __cplusplus
31194 extern "C"
31195 #endif
31196 /* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
31198 char IceConnectionNumber ();
31199 int
31200 main ()
31201 {
31202 IceConnectionNumber ();
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31219 ac_status=$?
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; } &&
31222 { ac_try='test -s conftest$ac_exeext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 ac_cv_lib_ICE_IceConnectionNumber=yes
31229 else
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31232
31233 ac_cv_lib_ICE_IceConnectionNumber=no
31234 fi
31235 rm -f conftest.err conftest.$ac_objext \
31236 conftest$ac_exeext conftest.$ac_ext
31237 LIBS=$ac_check_lib_save_LIBS
31238 fi
31239 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31240 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31241 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31242 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31243 fi
31244
31245 LDFLAGS=$ac_save_LDFLAGS
31246
31247 fi
31248
31249
31250 if test "$no_x" = "yes"; then
31251 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31252 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31253 { (exit 1); exit 1; }; }
31254 fi
31255
31256 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31257 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31258 AFMINSTALL=afminstall
31259 COMPILED_X_PROGRAM=0
31260
31261 fi
31262
31263 if test "$wxUSE_X11" = 1; then
31264 if test "$wxUSE_NANOX" = "yes"; then
31265 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31266 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31267 if test "x$MICROWIN" = x ; then
31268 echo "$as_me:$LINENO: result: not found" >&5
31269 echo "${ECHO_T}not found" >&6
31270 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31271 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31272 { (exit 1); exit 1; }; }
31273 else
31274 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31275 echo "${ECHO_T}$MICROWIN" >&6
31276 cat >>confdefs.h <<\_ACEOF
31277 #define wxUSE_NANOX 1
31278 _ACEOF
31279
31280 fi
31281 fi
31282
31283 if test "$wxUSE_UNICODE" = "yes"; then
31284
31285
31286 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31287 if test -n "$ac_tool_prefix"; then
31288 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31289 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31290 echo "$as_me:$LINENO: checking for $ac_word" >&5
31291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31292 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 case $PKG_CONFIG in
31296 [\\/]* | ?:[\\/]*)
31297 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31298 ;;
31299 *)
31300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31301 for as_dir in $PATH
31302 do
31303 IFS=$as_save_IFS
31304 test -z "$as_dir" && as_dir=.
31305 for ac_exec_ext in '' $ac_executable_extensions; do
31306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31307 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31309 break 2
31310 fi
31311 done
31312 done
31313
31314 ;;
31315 esac
31316 fi
31317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31318
31319 if test -n "$PKG_CONFIG"; then
31320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31321 echo "${ECHO_T}$PKG_CONFIG" >&6
31322 else
31323 echo "$as_me:$LINENO: result: no" >&5
31324 echo "${ECHO_T}no" >&6
31325 fi
31326
31327 fi
31328 if test -z "$ac_cv_path_PKG_CONFIG"; then
31329 ac_pt_PKG_CONFIG=$PKG_CONFIG
31330 # Extract the first word of "pkg-config", so it can be a program name with args.
31331 set dummy pkg-config; ac_word=$2
31332 echo "$as_me:$LINENO: checking for $ac_word" >&5
31333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31335 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 else
31337 case $ac_pt_PKG_CONFIG in
31338 [\\/]* | ?:[\\/]*)
31339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31340 ;;
31341 *)
31342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31343 for as_dir in $PATH
31344 do
31345 IFS=$as_save_IFS
31346 test -z "$as_dir" && as_dir=.
31347 for ac_exec_ext in '' $ac_executable_extensions; do
31348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31351 break 2
31352 fi
31353 done
31354 done
31355
31356 ;;
31357 esac
31358 fi
31359 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31360
31361 if test -n "$ac_pt_PKG_CONFIG"; then
31362 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31363 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31364 else
31365 echo "$as_me:$LINENO: result: no" >&5
31366 echo "${ECHO_T}no" >&6
31367 fi
31368
31369 PKG_CONFIG=$ac_pt_PKG_CONFIG
31370 else
31371 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31372 fi
31373
31374 fi
31375 if test -n "$PKG_CONFIG"; then
31376 _pkg_min_version=0.9.0
31377 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31378 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31379 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31380 echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6
31382 else
31383 echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6
31385 PKG_CONFIG=""
31386 fi
31387
31388 fi
31389
31390
31391 pkg_failed=no
31392 echo "$as_me:$LINENO: checking for PANGOX" >&5
31393 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31394
31395 if test -n "$PKG_CONFIG"; then
31396 if test -n "$PANGOX_CFLAGS"; then
31397 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31398 else
31399 if test -n "$PKG_CONFIG" && \
31400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31401 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31402 ac_status=$?
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; then
31405 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31406 else
31407 pkg_failed=yes
31408 fi
31409 fi
31410 else
31411 pkg_failed=untried
31412 fi
31413 if test -n "$PKG_CONFIG"; then
31414 if test -n "$PANGOX_LIBS"; then
31415 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31416 else
31417 if test -n "$PKG_CONFIG" && \
31418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31419 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; then
31423 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31424 else
31425 pkg_failed=yes
31426 fi
31427 fi
31428 else
31429 pkg_failed=untried
31430 fi
31431
31432
31433
31434 if test $pkg_failed = yes; then
31435
31436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31437 _pkg_short_errors_supported=yes
31438 else
31439 _pkg_short_errors_supported=no
31440 fi
31441 if test $_pkg_short_errors_supported = yes; then
31442 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31443 else
31444 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31445 fi
31446 # Put the nasty error message in config.log where it belongs
31447 echo "$PANGOX_PKG_ERRORS" >&5
31448
31449
31450 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31451 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31452 { (exit 1); exit 1; }; }
31453
31454
31455 elif test $pkg_failed = untried; then
31456
31457 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31458 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31459 { (exit 1); exit 1; }; }
31460
31461
31462 else
31463 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31464 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31465 echo "$as_me:$LINENO: result: yes" >&5
31466 echo "${ECHO_T}yes" >&6
31467
31468 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31470
31471 fi
31472
31473 pkg_failed=no
31474 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31475 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31476
31477 if test -n "$PKG_CONFIG"; then
31478 if test -n "$PANGOFT2_CFLAGS"; then
31479 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31480 else
31481 if test -n "$PKG_CONFIG" && \
31482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31483 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; then
31487 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31488 else
31489 pkg_failed=yes
31490 fi
31491 fi
31492 else
31493 pkg_failed=untried
31494 fi
31495 if test -n "$PKG_CONFIG"; then
31496 if test -n "$PANGOFT2_LIBS"; then
31497 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31498 else
31499 if test -n "$PKG_CONFIG" && \
31500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31501 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; then
31505 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31506 else
31507 pkg_failed=yes
31508 fi
31509 fi
31510 else
31511 pkg_failed=untried
31512 fi
31513
31514
31515
31516 if test $pkg_failed = yes; then
31517
31518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31519 _pkg_short_errors_supported=yes
31520 else
31521 _pkg_short_errors_supported=no
31522 fi
31523 if test $_pkg_short_errors_supported = yes; then
31524 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31525 else
31526 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31527 fi
31528 # Put the nasty error message in config.log where it belongs
31529 echo "$PANGOFT2_PKG_ERRORS" >&5
31530
31531
31532 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31533 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31534 wxUSE_PRINTING_ARCHITECTURE="no"
31535
31536
31537 elif test $pkg_failed = untried; then
31538
31539 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31540 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31541 wxUSE_PRINTING_ARCHITECTURE="no"
31542
31543
31544 else
31545 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31546 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31547 echo "$as_me:$LINENO: result: yes" >&5
31548 echo "${ECHO_T}yes" >&6
31549
31550 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31552
31553 fi
31554
31555 pkg_failed=no
31556 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31557 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31558
31559 if test -n "$PKG_CONFIG"; then
31560 if test -n "$PANGOXFT_CFLAGS"; then
31561 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31562 else
31563 if test -n "$PKG_CONFIG" && \
31564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31565 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31566 ac_status=$?
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; then
31569 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31570 else
31571 pkg_failed=yes
31572 fi
31573 fi
31574 else
31575 pkg_failed=untried
31576 fi
31577 if test -n "$PKG_CONFIG"; then
31578 if test -n "$PANGOXFT_LIBS"; then
31579 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31580 else
31581 if test -n "$PKG_CONFIG" && \
31582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31583 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; then
31587 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31588 else
31589 pkg_failed=yes
31590 fi
31591 fi
31592 else
31593 pkg_failed=untried
31594 fi
31595
31596
31597
31598 if test $pkg_failed = yes; then
31599
31600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31601 _pkg_short_errors_supported=yes
31602 else
31603 _pkg_short_errors_supported=no
31604 fi
31605 if test $_pkg_short_errors_supported = yes; then
31606 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31607 else
31608 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31609 fi
31610 # Put the nasty error message in config.log where it belongs
31611 echo "$PANGOXFT_PKG_ERRORS" >&5
31612
31613
31614 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31615 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31616
31617
31618 elif test $pkg_failed = untried; then
31619
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31622
31623
31624 else
31625 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31626 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31627 echo "$as_me:$LINENO: result: yes" >&5
31628 echo "${ECHO_T}yes" >&6
31629
31630 cat >>confdefs.h <<\_ACEOF
31631 #define HAVE_PANGO_XFT 1
31632 _ACEOF
31633
31634 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31635 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31636
31637 fi
31638 save_CXXFLAGS="$CXXFLAGS"
31639 save_LIBS="$LIBS"
31640 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31641 LIBS="$LIBS $PANGOX_LIBS"
31642
31643 for ac_func in pango_font_family_is_monospace
31644 do
31645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31646 echo "$as_me:$LINENO: checking for $ac_func" >&5
31647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31648 if eval "test \"\${$as_ac_var+set}\" = set"; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651 cat >conftest.$ac_ext <<_ACEOF
31652 /* confdefs.h. */
31653 _ACEOF
31654 cat confdefs.h >>conftest.$ac_ext
31655 cat >>conftest.$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31659 #define $ac_func innocuous_$ac_func
31660
31661 /* System header to define __stub macros and hopefully few prototypes,
31662 which can conflict with char $ac_func (); below.
31663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31664 <limits.h> exists even on freestanding compilers. */
31665
31666 #ifdef __STDC__
31667 # include <limits.h>
31668 #else
31669 # include <assert.h>
31670 #endif
31671
31672 #undef $ac_func
31673
31674 /* Override any gcc2 internal prototype to avoid an error. */
31675 #ifdef __cplusplus
31676 extern "C"
31677 {
31678 #endif
31679 /* We use char because int might match the return type of a gcc2
31680 builtin and then its argument prototype would still apply. */
31681 char $ac_func ();
31682 /* The GNU C library defines this for functions which it implements
31683 to always fail with ENOSYS. Some functions are actually named
31684 something starting with __ and the normal name is an alias. */
31685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31686 choke me
31687 #else
31688 char (*f) () = $ac_func;
31689 #endif
31690 #ifdef __cplusplus
31691 }
31692 #endif
31693
31694 int
31695 main ()
31696 {
31697 return f != $ac_func;
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31704 (eval $ac_link) 2>conftest.er1
31705 ac_status=$?
31706 grep -v '^ *+' conftest.er1 >conftest.err
31707 rm -f conftest.er1
31708 cat conftest.err >&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } &&
31711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31714 ac_status=$?
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; } &&
31717 { ac_try='test -s conftest$ac_exeext'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31720 ac_status=$?
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; }; then
31723 eval "$as_ac_var=yes"
31724 else
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.$ac_ext >&5
31727
31728 eval "$as_ac_var=no"
31729 fi
31730 rm -f conftest.err conftest.$ac_objext \
31731 conftest$ac_exeext conftest.$ac_ext
31732 fi
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735 if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h <<_ACEOF
31737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31738 _ACEOF
31739
31740 fi
31741 done
31742
31743 CXXFLAGS="$save_CXXFLAGS"
31744 LIBS="$save_LIBS"
31745 fi
31746
31747 wxUSE_UNIVERSAL="yes"
31748
31749 if test "$wxUSE_NANOX" = "yes"; then
31750 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31751 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"
31752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31753 else
31754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31755 fi
31756
31757 TOOLKIT=X11
31758 GUIDIST=X11_DIST
31759 fi
31760
31761 if test "$wxUSE_MOTIF" = 1; then
31762 if test "$wxUSE_UNICODE" = "yes"; then
31763 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31764 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31765 { (exit 1); exit 1; }; }
31766 fi
31767
31768 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31769 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31770
31771 ac_find_includes=
31772 for ac_dir in $SEARCH_INCLUDE /usr/include;
31773 do
31774 if test -f "$ac_dir/Xm/Xm.h"; then
31775 ac_find_includes=$ac_dir
31776 break
31777 fi
31778 done
31779
31780 if test "$ac_find_includes" != "" ; then
31781 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31782 echo "${ECHO_T}found in $ac_find_includes" >&6
31783
31784 if test "x$ac_find_includes" = "x/usr/include"; then
31785 ac_path_to_include=""
31786 else
31787 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31788 result=$?
31789 if test $result = 0; then
31790 ac_path_to_include=""
31791 else
31792 ac_path_to_include=" -I$ac_find_includes"
31793 fi
31794 fi
31795
31796 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31797 else
31798 save_CXXFLAGS=$CXXFLAGS
31799 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31800
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 #include <Xm/Xm.h>
31809
31810 int
31811 main ()
31812 {
31813
31814 int version;
31815 version = xmUseVersion;
31816
31817 ;
31818 return 0;
31819 }
31820 _ACEOF
31821 rm -f conftest.$ac_objext
31822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31823 (eval $ac_compile) 2>conftest.er1
31824 ac_status=$?
31825 grep -v '^ *+' conftest.er1 >conftest.err
31826 rm -f conftest.er1
31827 cat conftest.err >&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); } &&
31830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832 (eval $ac_try) 2>&5
31833 ac_status=$?
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); }; } &&
31836 { ac_try='test -s conftest.$ac_objext'
31837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838 (eval $ac_try) 2>&5
31839 ac_status=$?
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31842
31843 echo "$as_me:$LINENO: result: found in default search path" >&5
31844 echo "${ECHO_T}found in default search path" >&6
31845 COMPILED_X_PROGRAM=1
31846
31847 else
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.$ac_ext >&5
31850
31851
31852 echo "$as_me:$LINENO: result: no" >&5
31853 echo "${ECHO_T}no" >&6
31854 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31855 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31856 { (exit 1); exit 1; }; }
31857
31858
31859 fi
31860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31861
31862 CXXFLAGS=$save_CXXFLAGS
31863 fi
31864
31865
31866 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31867 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31868
31869 ac_find_libraries=
31870 for ac_dir in $SEARCH_LIB;
31871 do
31872 for ac_extension in a so sl dylib dll.a; do
31873 if test -f "$ac_dir/libXm.$ac_extension"; then
31874 ac_find_libraries=$ac_dir
31875 break 2
31876 fi
31877 done
31878 done
31879
31880
31881 if test "x$ac_find_libraries" != "x" ; then
31882 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31883 echo "${ECHO_T}found in $ac_find_libraries" >&6
31884
31885
31886 if test "$ac_find_libraries" = "default location"; then
31887 ac_path_to_link=""
31888 else
31889 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31890 result=$?
31891 if test $result = 0; then
31892 ac_path_to_link=""
31893 else
31894 ac_path_to_link=" -L$ac_find_libraries"
31895 fi
31896 fi
31897
31898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31899 else
31900 save_CXXFLAGS=$CXXFLAGS
31901 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31902 save_LIBS="$LIBS"
31903 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31904
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 #include <Xm/Xm.h>
31913
31914 int
31915 main ()
31916 {
31917
31918 int version;
31919 version = xmUseVersion;
31920
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext conftest$ac_exeext
31926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31927 (eval $ac_link) 2>conftest.er1
31928 ac_status=$?
31929 grep -v '^ *+' conftest.er1 >conftest.err
31930 rm -f conftest.er1
31931 cat conftest.err >&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); } &&
31934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31943 ac_status=$?
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946
31947 echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6
31949 COMPILED_X_PROGRAM=1
31950
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31954
31955
31956 echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6
31958 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31959 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31960 { (exit 1); exit 1; }; }
31961
31962
31963 fi
31964 rm -f conftest.err conftest.$ac_objext \
31965 conftest$ac_exeext conftest.$ac_ext
31966
31967 CXXFLAGS=$save_CXXFLAGS
31968 LIBS="$save_LIBS"
31969 fi
31970
31971 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31972 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31973 libp_link=""
31974 libsm_ice_link=""
31975 libs_found=0
31976 for libp in "" " -lXp"; do
31977 if test "$libs_found" = "0"; then
31978 for libsm_ice in "" " -lSM -lICE"; do
31979 if test "$libs_found" = "0"; then
31980 save_LIBS="$LIBS"
31981 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31982 save_CXXFLAGS=$CXXFLAGS
31983 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31984
31985 cat >conftest.$ac_ext <<_ACEOF
31986 /* confdefs.h. */
31987 _ACEOF
31988 cat confdefs.h >>conftest.$ac_ext
31989 cat >>conftest.$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31991
31992 #include <Xm/Xm.h>
31993 #include <Xm/List.h>
31994
31995 int
31996 main ()
31997 {
31998
31999 XmString string = NULL;
32000 Widget w = NULL;
32001 int position = 0;
32002 XmListAddItem(w, string, position);
32003
32004 ;
32005 return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32019 (eval $ac_try) 2>&5
32020 ac_status=$?
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try='test -s conftest$ac_exeext'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32026 ac_status=$?
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; }; then
32029
32030 libp_link="$libp"
32031 libsm_ice_link="$libsm_ice"
32032 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32033 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32034 libs_found=1
32035
32036 else
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32039
32040
32041
32042 fi
32043 rm -f conftest.err conftest.$ac_objext \
32044 conftest$ac_exeext conftest.$ac_ext
32045
32046 LIBS="$save_LIBS"
32047 CXXFLAGS=$save_CXXFLAGS
32048 fi
32049 done
32050 fi
32051 done
32052
32053 if test "$libs_found" = "0"; then
32054 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32055 echo "${ECHO_T}can't find the right libraries" >&6
32056 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32057 echo "$as_me: error: can't link a simple motif program" >&2;}
32058 { (exit 1); exit 1; }; }
32059 fi
32060
32061 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32062 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32063 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 ac_check_lib_save_LIBS=$LIBS
32067 LIBS="-lSgm $LIBS"
32068 cat >conftest.$ac_ext <<_ACEOF
32069 /* confdefs.h. */
32070 _ACEOF
32071 cat confdefs.h >>conftest.$ac_ext
32072 cat >>conftest.$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074
32075 /* Override any gcc2 internal prototype to avoid an error. */
32076 #ifdef __cplusplus
32077 extern "C"
32078 #endif
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32081 char SgCreateList ();
32082 int
32083 main ()
32084 {
32085 SgCreateList ();
32086 ;
32087 return 0;
32088 }
32089 _ACEOF
32090 rm -f conftest.$ac_objext conftest$ac_exeext
32091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32092 (eval $ac_link) 2>conftest.er1
32093 ac_status=$?
32094 grep -v '^ *+' conftest.er1 >conftest.err
32095 rm -f conftest.er1
32096 cat conftest.err >&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); } &&
32099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32102 ac_status=$?
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; } &&
32105 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
32111 ac_cv_lib_Sgm_SgCreateList=yes
32112 else
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32115
32116 ac_cv_lib_Sgm_SgCreateList=no
32117 fi
32118 rm -f conftest.err conftest.$ac_objext \
32119 conftest$ac_exeext conftest.$ac_ext
32120 LIBS=$ac_check_lib_save_LIBS
32121 fi
32122 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32123 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32124 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32125 libsgm_link=" -lSgm"
32126 fi
32127
32128
32129 save_CXXFLAGS=$CXXFLAGS
32130 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32131
32132 echo "$as_me:$LINENO: checking for Motif 2" >&5
32133 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32134 if test "${wx_cv_lib_motif2+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137 cat >conftest.$ac_ext <<_ACEOF
32138 /* confdefs.h. */
32139 _ACEOF
32140 cat confdefs.h >>conftest.$ac_ext
32141 cat >>conftest.$ac_ext <<_ACEOF
32142 /* end confdefs.h. */
32143
32144 #include <Xm/Xm.h>
32145
32146 int
32147 main ()
32148 {
32149
32150 #if XmVersion < 2000
32151 Not Motif 2
32152 #endif
32153
32154 ;
32155 return 0;
32156 }
32157 _ACEOF
32158 rm -f conftest.$ac_objext
32159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32160 (eval $ac_compile) 2>conftest.er1
32161 ac_status=$?
32162 grep -v '^ *+' conftest.er1 >conftest.err
32163 rm -f conftest.er1
32164 cat conftest.err >&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 wx_cv_lib_motif2="yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32183
32184 wx_cv_lib_motif2="no"
32185 fi
32186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32187 fi
32188 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32189 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32190 if test "$wx_cv_lib_motif2" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define __WXMOTIF20__ 1
32193 _ACEOF
32194
32195 else
32196 cat >>confdefs.h <<\_ACEOF
32197 #define __WXMOTIF20__ 0
32198 _ACEOF
32199
32200 fi
32201
32202 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32203 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32204 if test "${wx_cv_lib_lesstif+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 else
32207 cat >conftest.$ac_ext <<_ACEOF
32208 /* confdefs.h. */
32209 _ACEOF
32210 cat confdefs.h >>conftest.$ac_ext
32211 cat >>conftest.$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32213
32214 #include <Xm/Xm.h>
32215
32216 int
32217 main ()
32218 {
32219
32220 #if !defined(LesstifVersion) || LesstifVersion <= 0
32221 Not Lesstif
32222 #endif
32223
32224 ;
32225 return 0;
32226 }
32227 _ACEOF
32228 rm -f conftest.$ac_objext
32229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32230 (eval $ac_compile) 2>conftest.er1
32231 ac_status=$?
32232 grep -v '^ *+' conftest.er1 >conftest.err
32233 rm -f conftest.er1
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32240 ac_status=$?
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; } &&
32243 { ac_try='test -s conftest.$ac_objext'
32244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245 (eval $ac_try) 2>&5
32246 ac_status=$?
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); }; }; then
32249 wx_cv_lib_lesstif="yes"
32250 else
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.$ac_ext >&5
32253
32254 wx_cv_lib_lesstif="no"
32255 fi
32256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32257
32258 fi
32259 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32260 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32261 if test "$wx_cv_lib_lesstif" = "yes"; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define __WXLESSTIF__ 1
32264 _ACEOF
32265
32266 else
32267 cat >>confdefs.h <<\_ACEOF
32268 #define __WXLESSTIF__ 0
32269 _ACEOF
32270
32271 fi
32272
32273 CXXFLAGS=$save_CXXFLAGS
32274
32275 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32276 TOOLKIT=MOTIF
32277 GUIDIST=MOTIF_DIST
32278 fi
32279
32280 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32281 if test "$wxUSE_LIBXPM" = "sys"; then
32282 echo "$as_me:$LINENO: checking for Xpm library" >&5
32283 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32284
32285 ac_find_libraries=
32286 for ac_dir in $SEARCH_LIB;
32287 do
32288 for ac_extension in a so sl dylib dll.a; do
32289 if test -f "$ac_dir/libXpm.$ac_extension"; then
32290 ac_find_libraries=$ac_dir
32291 break 2
32292 fi
32293 done
32294 done
32295
32296 if test "$ac_find_libraries" != "" ; then
32297
32298 if test "$ac_find_libraries" = "default location"; then
32299 ac_path_to_link=""
32300 else
32301 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32302 result=$?
32303 if test $result = 0; then
32304 ac_path_to_link=""
32305 else
32306 ac_path_to_link=" -L$ac_find_libraries"
32307 fi
32308 fi
32309
32310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32311 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32312 echo "${ECHO_T}found in $ac_find_libraries" >&6
32313
32314 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32315 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32316 if test "${wx_cv_x11_xpm_h+set}" = set; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 else
32319
32320 save_CXXFLAGS=$CXXFLAGS
32321 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32322
32323 cat >conftest.$ac_ext <<_ACEOF
32324 /* confdefs.h. */
32325 _ACEOF
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329
32330 #include <X11/xpm.h>
32331
32332 int
32333 main ()
32334 {
32335
32336 int version;
32337 version = XpmLibraryVersion();
32338
32339 ;
32340 return 0;
32341 }
32342 _ACEOF
32343 rm -f conftest.$ac_objext
32344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32345 (eval $ac_compile) 2>conftest.er1
32346 ac_status=$?
32347 grep -v '^ *+' conftest.er1 >conftest.err
32348 rm -f conftest.er1
32349 cat conftest.err >&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32361 ac_status=$?
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 wx_cv_x11_xpm_h=yes
32365 else
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.$ac_ext >&5
32368
32369 wx_cv_x11_xpm_h=no
32370
32371 fi
32372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32373
32374 CXXFLAGS=$save_CXXFLAGS
32375
32376
32377 fi
32378 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32379 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32380
32381 if test $wx_cv_x11_xpm_h = "yes"; then
32382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxHAVE_LIB_XPM 1
32385 _ACEOF
32386
32387 else
32388 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32389 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32390 fi
32391 fi
32392
32393 fi
32394
32395 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32396 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32397 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32399 else
32400 ac_check_lib_save_LIBS=$LIBS
32401 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32402 cat >conftest.$ac_ext <<_ACEOF
32403 /* confdefs.h. */
32404 _ACEOF
32405 cat confdefs.h >>conftest.$ac_ext
32406 cat >>conftest.$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32408
32409 /* Override any gcc2 internal prototype to avoid an error. */
32410 #ifdef __cplusplus
32411 extern "C"
32412 #endif
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char XShapeQueryExtension ();
32416 int
32417 main ()
32418 {
32419 XShapeQueryExtension ();
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 rm -f conftest.$ac_objext conftest$ac_exeext
32425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32426 (eval $ac_link) 2>conftest.er1
32427 ac_status=$?
32428 grep -v '^ *+' conftest.er1 >conftest.err
32429 rm -f conftest.er1
32430 cat conftest.err >&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } &&
32433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest$ac_exeext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 ac_cv_lib_Xext_XShapeQueryExtension=yes
32446 else
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 ac_cv_lib_Xext_XShapeQueryExtension=no
32451 fi
32452 rm -f conftest.err conftest.$ac_objext \
32453 conftest$ac_exeext conftest.$ac_ext
32454 LIBS=$ac_check_lib_save_LIBS
32455 fi
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32457 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32458 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32459
32460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32461 wxHAVE_XEXT_LIB=1
32462
32463 fi
32464
32465
32466 if test "$wxHAVE_XEXT_LIB" = 1; then
32467 save_CXXFLAGS="$CXXFLAGS"
32468 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32469
32470 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32471 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 #include <X11/Xlib.h>
32480 #include <X11/extensions/shape.h>
32481
32482 int
32483 main ()
32484 {
32485
32486 int dummy1, dummy2;
32487 XShapeQueryExtension((Display*)NULL,
32488 (int*)NULL, (int*)NULL);
32489
32490 ;
32491 return 0;
32492 }
32493 _ACEOF
32494 rm -f conftest.$ac_objext
32495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32496 (eval $ac_compile) 2>conftest.er1
32497 ac_status=$?
32498 grep -v '^ *+' conftest.er1 >conftest.err
32499 rm -f conftest.er1
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32506 ac_status=$?
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try='test -s conftest.$ac_objext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32515
32516 cat >>confdefs.h <<\_ACEOF
32517 #define HAVE_XSHAPE 1
32518 _ACEOF
32519
32520 echo "$as_me:$LINENO: result: found" >&5
32521 echo "${ECHO_T}found" >&6
32522
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527
32528 echo "$as_me:$LINENO: result: not found" >&5
32529 echo "${ECHO_T}not found" >&6
32530
32531 fi
32532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32533 CXXFLAGS="$save_CXXFLAGS"
32534
32535 fi
32536 fi
32537
32538 if test "$wxUSE_MAC" = 1; then
32539 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32540 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32541 if test "$GCC" = yes; then
32542 echo "$as_me:$LINENO: result: gcc" >&5
32543 echo "${ECHO_T}gcc" >&6
32544 CPPFLAGS_PASCAL="-fpascal-strings"
32545 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32546 echo "$as_me:$LINENO: result: xlc" >&5
32547 echo "${ECHO_T}xlc" >&6
32548 CPPFLAGS_PASCAL="-qmacpstr"
32549 else
32550 echo "$as_me:$LINENO: result: none" >&5
32551 echo "${ECHO_T}none" >&6
32552 fi
32553
32554 if test "x$wxUSE_UNIX" = "xyes"; then
32555 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32556 else
32557 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32558 fi
32559
32560 TOOLKIT=MAC
32561 GUIDIST=MACX_DIST
32562 WXBASEPORT="_carbon"
32563 fi
32564
32565 if test "$wxUSE_COCOA" = 1; then
32566 TOOLKIT=COCOA
32567 GUIDIST=COCOA_DIST
32568 fi
32569
32570 if test "$wxUSE_PM" = 1; then
32571 TOOLKIT=PM
32572 GUIDIST=PM_DIST
32573 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32574 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32575 if test "${wx_cv_spbcdata+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578
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 #define INCL_PM
32587 #include <os2.h>
32588
32589 int
32590 main ()
32591 {
32592
32593 SPBCDATA test;
32594
32595 ;
32596 return 0;
32597 }
32598 _ACEOF
32599 rm -f conftest.$ac_objext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32601 (eval $ac_compile) 2>conftest.er1
32602 ac_status=$?
32603 grep -v '^ *+' conftest.er1 >conftest.err
32604 rm -f conftest.er1
32605 cat conftest.err >&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32611 ac_status=$?
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; } &&
32614 { ac_try='test -s conftest.$ac_objext'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32617 ac_status=$?
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; }; then
32620 wx_cv_spbcdata=yes
32621 else
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32624
32625 wx_cv_spbcdata=no
32626
32627 fi
32628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32629
32630
32631 fi
32632 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32633 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32634
32635 if test $wx_cv_spbcdata = "yes"; then
32636 cat >>confdefs.h <<\_ACEOF
32637 #define HAVE_SPBCDATA 1
32638 _ACEOF
32639
32640 fi
32641 fi
32642
32643 if test "$TOOLKIT" = "PM" ; then
32644 TOOLKIT_DIR="os2"
32645 else
32646 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32647 fi
32648
32649 if test "$wxUSE_UNIVERSAL" = "yes"; then
32650 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32651 WIDGET_SET=univ
32652 fi
32653
32654 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32655 DISTDIR="wx\$(TOOLKIT)"
32656 else
32657 USE_GUI=0
32658
32659 TOOLKIT_DIR="base"
32660
32661 if test "$USE_WIN32" = 1 ; then
32662 TOOLKIT="MSW"
32663 fi
32664
32665 GUIDIST="BASE_DIST"
32666 DISTDIR="wxBase"
32667 fi
32668
32669
32670 if test "$wxUSE_GUI" = "yes"; then
32671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32672
32673 for ac_header in X11/Xlib.h
32674 do
32675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo "$as_me:$LINENO: checking for $ac_header" >&5
32678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 fi
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32684 else
32685 # Is the header compilable?
32686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32688 cat >conftest.$ac_ext <<_ACEOF
32689 /* confdefs.h. */
32690 _ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 $ac_includes_default
32695 #include <$ac_header>
32696 _ACEOF
32697 rm -f conftest.$ac_objext
32698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32699 (eval $ac_compile) 2>conftest.er1
32700 ac_status=$?
32701 grep -v '^ *+' conftest.er1 >conftest.err
32702 rm -f conftest.er1
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try='test -s conftest.$ac_objext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 ac_header_compiler=yes
32719 else
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32722
32723 ac_header_compiler=no
32724 fi
32725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32727 echo "${ECHO_T}$ac_header_compiler" >&6
32728
32729 # Is the header present?
32730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738 #include <$ac_header>
32739 _ACEOF
32740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32742 ac_status=$?
32743 grep -v '^ *+' conftest.er1 >conftest.err
32744 rm -f conftest.er1
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } >/dev/null; then
32748 if test -s conftest.err; then
32749 ac_cpp_err=$ac_cxx_preproc_warn_flag
32750 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32751 else
32752 ac_cpp_err=
32753 fi
32754 else
32755 ac_cpp_err=yes
32756 fi
32757 if test -z "$ac_cpp_err"; then
32758 ac_header_preproc=yes
32759 else
32760 echo "$as_me: failed program was:" >&5
32761 sed 's/^/| /' conftest.$ac_ext >&5
32762
32763 ac_header_preproc=no
32764 fi
32765 rm -f conftest.err conftest.$ac_ext
32766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32767 echo "${ECHO_T}$ac_header_preproc" >&6
32768
32769 # So? What about this header?
32770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32771 yes:no: )
32772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32776 ac_header_preproc=yes
32777 ;;
32778 no:yes:* )
32779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32791 (
32792 cat <<\_ASBOX
32793 ## ----------------------------------------- ##
32794 ## Report this to wx-dev@lists.wxwidgets.org ##
32795 ## ----------------------------------------- ##
32796 _ASBOX
32797 ) |
32798 sed "s/^/$as_me: WARNING: /" >&2
32799 ;;
32800 esac
32801 echo "$as_me:$LINENO: checking for $ac_header" >&5
32802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806 eval "$as_ac_Header=\$ac_header_preproc"
32807 fi
32808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32810
32811 fi
32812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32813 cat >>confdefs.h <<_ACEOF
32814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32815 _ACEOF
32816
32817 fi
32818
32819 done
32820
32821
32822 for ac_header in X11/XKBlib.h
32823 do
32824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32825 echo "$as_me:$LINENO: checking for $ac_header" >&5
32826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 else
32830 cat >conftest.$ac_ext <<_ACEOF
32831 /* confdefs.h. */
32832 _ACEOF
32833 cat confdefs.h >>conftest.$ac_ext
32834 cat >>conftest.$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32836
32837 #if HAVE_X11_XLIB_H
32838 #include <X11/Xlib.h>
32839 #endif
32840
32841
32842 #include <$ac_header>
32843 _ACEOF
32844 rm -f conftest.$ac_objext
32845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32846 (eval $ac_compile) 2>conftest.er1
32847 ac_status=$?
32848 grep -v '^ *+' conftest.er1 >conftest.err
32849 rm -f conftest.er1
32850 cat conftest.err >&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); } &&
32853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32856 ac_status=$?
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; } &&
32859 { ac_try='test -s conftest.$ac_objext'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; }; then
32865 eval "$as_ac_Header=yes"
32866 else
32867 echo "$as_me: failed program was:" >&5
32868 sed 's/^/| /' conftest.$ac_ext >&5
32869
32870 eval "$as_ac_Header=no"
32871 fi
32872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32873 fi
32874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32877 cat >>confdefs.h <<_ACEOF
32878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32879 _ACEOF
32880
32881 fi
32882
32883 done
32884
32885 fi
32886 fi
32887
32888
32889
32890 IODBC_C_SRC=""
32891
32892
32893 if test "$TOOLKIT" != "MSW" ; then
32894
32895 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32896
32897 if test "${ac_cv_header_sql_h+set}" = set; then
32898 echo "$as_me:$LINENO: checking for sql.h" >&5
32899 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32900 if test "${ac_cv_header_sql_h+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 fi
32903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32905 else
32906 # Is the header compilable?
32907 echo "$as_me:$LINENO: checking sql.h usability" >&5
32908 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 $ac_includes_default
32916 #include <sql.h>
32917 _ACEOF
32918 rm -f conftest.$ac_objext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32920 (eval $ac_compile) 2>conftest.er1
32921 ac_status=$?
32922 grep -v '^ *+' conftest.er1 >conftest.err
32923 rm -f conftest.er1
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } &&
32927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32930 ac_status=$?
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; } &&
32933 { ac_try='test -s conftest.$ac_objext'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32936 ac_status=$?
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 ac_header_compiler=yes
32940 else
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.$ac_ext >&5
32943
32944 ac_header_compiler=no
32945 fi
32946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32948 echo "${ECHO_T}$ac_header_compiler" >&6
32949
32950 # Is the header present?
32951 echo "$as_me:$LINENO: checking sql.h presence" >&5
32952 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32953 cat >conftest.$ac_ext <<_ACEOF
32954 /* confdefs.h. */
32955 _ACEOF
32956 cat confdefs.h >>conftest.$ac_ext
32957 cat >>conftest.$ac_ext <<_ACEOF
32958 /* end confdefs.h. */
32959 #include <sql.h>
32960 _ACEOF
32961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32963 ac_status=$?
32964 grep -v '^ *+' conftest.er1 >conftest.err
32965 rm -f conftest.er1
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } >/dev/null; then
32969 if test -s conftest.err; then
32970 ac_cpp_err=$ac_cxx_preproc_warn_flag
32971 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32972 else
32973 ac_cpp_err=
32974 fi
32975 else
32976 ac_cpp_err=yes
32977 fi
32978 if test -z "$ac_cpp_err"; then
32979 ac_header_preproc=yes
32980 else
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.$ac_ext >&5
32983
32984 ac_header_preproc=no
32985 fi
32986 rm -f conftest.err conftest.$ac_ext
32987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32988 echo "${ECHO_T}$ac_header_preproc" >&6
32989
32990 # So? What about this header?
32991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32992 yes:no: )
32993 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32994 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32995 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32996 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32997 ac_header_preproc=yes
32998 ;;
32999 no:yes:* )
33000 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33001 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33002 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33003 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33004 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33005 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33006 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33007 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33008 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33009 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33010 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33011 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33012 (
33013 cat <<\_ASBOX
33014 ## ----------------------------------------- ##
33015 ## Report this to wx-dev@lists.wxwidgets.org ##
33016 ## ----------------------------------------- ##
33017 _ASBOX
33018 ) |
33019 sed "s/^/$as_me: WARNING: /" >&2
33020 ;;
33021 esac
33022 echo "$as_me:$LINENO: checking for sql.h" >&5
33023 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33024 if test "${ac_cv_header_sql_h+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027 ac_cv_header_sql_h=$ac_header_preproc
33028 fi
33029 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33030 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33031
33032 fi
33033 if test $ac_cv_header_sql_h = yes; then
33034 found_sql_h=1
33035 fi
33036
33037
33038 if test "x$found_sql_h" = "x1" ; then
33039 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33040 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33041 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 else
33044 ac_check_lib_save_LIBS=$LIBS
33045 LIBS="-liodbc $LIBS"
33046 cat >conftest.$ac_ext <<_ACEOF
33047 /* confdefs.h. */
33048 _ACEOF
33049 cat confdefs.h >>conftest.$ac_ext
33050 cat >>conftest.$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052
33053 /* Override any gcc2 internal prototype to avoid an error. */
33054 #ifdef __cplusplus
33055 extern "C"
33056 #endif
33057 /* We use char because int might match the return type of a gcc2
33058 builtin and then its argument prototype would still apply. */
33059 char SQLAllocEnv ();
33060 int
33061 main ()
33062 {
33063 SQLAllocEnv ();
33064 ;
33065 return 0;
33066 }
33067 _ACEOF
33068 rm -f conftest.$ac_objext conftest$ac_exeext
33069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33070 (eval $ac_link) 2>conftest.er1
33071 ac_status=$?
33072 grep -v '^ *+' conftest.er1 >conftest.err
33073 rm -f conftest.er1
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } &&
33077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33080 ac_status=$?
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; } &&
33083 { ac_try='test -s conftest$ac_exeext'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; }; then
33089 ac_cv_lib_iodbc_SQLAllocEnv=yes
33090 else
33091 echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.$ac_ext >&5
33093
33094 ac_cv_lib_iodbc_SQLAllocEnv=no
33095 fi
33096 rm -f conftest.err conftest.$ac_objext \
33097 conftest$ac_exeext conftest.$ac_ext
33098 LIBS=$ac_check_lib_save_LIBS
33099 fi
33100 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33101 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33102 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33103 ODBC_LINK=" -liodbc"
33104 else
33105
33106 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33107 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33108 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33110 else
33111 ac_check_lib_save_LIBS=$LIBS
33112 LIBS="-lunixodbc $LIBS"
33113 cat >conftest.$ac_ext <<_ACEOF
33114 /* confdefs.h. */
33115 _ACEOF
33116 cat confdefs.h >>conftest.$ac_ext
33117 cat >>conftest.$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33119
33120 /* Override any gcc2 internal prototype to avoid an error. */
33121 #ifdef __cplusplus
33122 extern "C"
33123 #endif
33124 /* We use char because int might match the return type of a gcc2
33125 builtin and then its argument prototype would still apply. */
33126 char SQLAllocEnv ();
33127 int
33128 main ()
33129 {
33130 SQLAllocEnv ();
33131 ;
33132 return 0;
33133 }
33134 _ACEOF
33135 rm -f conftest.$ac_objext conftest$ac_exeext
33136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33137 (eval $ac_link) 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } &&
33144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33147 ac_status=$?
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; } &&
33150 { ac_try='test -s conftest$ac_exeext'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33153 ac_status=$?
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; }; then
33156 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33160
33161 ac_cv_lib_unixodbc_SQLAllocEnv=no
33162 fi
33163 rm -f conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33165 LIBS=$ac_check_lib_save_LIBS
33166 fi
33167 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33168 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33169 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33170 ODBC_LINK=" -lunixodbc"
33171 else
33172
33173 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33174 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33175 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 ac_check_lib_save_LIBS=$LIBS
33179 LIBS="-lodbc $LIBS"
33180 cat >conftest.$ac_ext <<_ACEOF
33181 /* confdefs.h. */
33182 _ACEOF
33183 cat confdefs.h >>conftest.$ac_ext
33184 cat >>conftest.$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33186
33187 /* Override any gcc2 internal prototype to avoid an error. */
33188 #ifdef __cplusplus
33189 extern "C"
33190 #endif
33191 /* We use char because int might match the return type of a gcc2
33192 builtin and then its argument prototype would still apply. */
33193 char SQLAllocEnv ();
33194 int
33195 main ()
33196 {
33197 SQLAllocEnv ();
33198 ;
33199 return 0;
33200 }
33201 _ACEOF
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest$ac_exeext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 ac_cv_lib_odbc_SQLAllocEnv=yes
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33227
33228 ac_cv_lib_odbc_SQLAllocEnv=no
33229 fi
33230 rm -f conftest.err conftest.$ac_objext \
33231 conftest$ac_exeext conftest.$ac_ext
33232 LIBS=$ac_check_lib_save_LIBS
33233 fi
33234 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33235 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33236 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33237 ODBC_LINK=" -lodbc"
33238 fi
33239
33240
33241 fi
33242
33243
33244 fi
33245
33246 fi
33247 if test "x$ODBC_LINK" = "x" ; then
33248 if test "$wxUSE_ODBC" = "sys" ; then
33249 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33250 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33251 { (exit 1); exit 1; }; }
33252 else
33253 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33254 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33255 wxUSE_ODBC=builtin
33256 fi
33257 else
33258 wxUSE_ODBC=sys
33259 fi
33260 fi
33261
33262 if test "$wxUSE_ODBC" = "builtin" ; then
33263 cat >>confdefs.h <<\_ACEOF
33264 #define wxUSE_BUILTIN_IODBC 1
33265 _ACEOF
33266
33267 fi
33268 fi
33269
33270 if test "$wxUSE_ODBC" != "no" ; then
33271 cat >>confdefs.h <<\_ACEOF
33272 #define wxUSE_ODBC 1
33273 _ACEOF
33274
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33276
33277 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33278 fi
33279
33280
33281 if test "$wxUSE_DISPLAY" = "yes"; then
33282 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33283 echo "$as_me:$LINENO: checking for Xinerama" >&5
33284 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33285
33286 ac_find_libraries=
33287 for ac_dir in $SEARCH_LIB;
33288 do
33289 for ac_extension in a so sl dylib dll.a; do
33290 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33291 ac_find_libraries=$ac_dir
33292 break 2
33293 fi
33294 done
33295 done
33296
33297 if test "$ac_find_libraries" != "" ; then
33298
33299 if test "$ac_find_libraries" = "default location"; then
33300 ac_path_to_link=""
33301 else
33302 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33303 result=$?
33304 if test $result = 0; then
33305 ac_path_to_link=""
33306 else
33307 ac_path_to_link=" -L$ac_find_libraries"
33308 fi
33309 fi
33310
33311 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33312 LDFLAGS="$LDFLAGS $ac_path_to_link"
33313 fi
33314 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33315 echo "$as_me:$LINENO: result: yes" >&5
33316 echo "${ECHO_T}yes" >&6
33317
33318 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33319 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33320
33321 ac_find_libraries=
33322 for ac_dir in $SEARCH_LIB;
33323 do
33324 for ac_extension in a so sl dylib dll.a; do
33325 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33326 ac_find_libraries=$ac_dir
33327 break 2
33328 fi
33329 done
33330 done
33331
33332 if test "$ac_find_libraries" != "" ; then
33333 echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6
33335
33336 for ac_header in X11/extensions/xf86vmode.h
33337 do
33338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33339 echo "$as_me:$LINENO: checking for $ac_header" >&5
33340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 else
33344 cat >conftest.$ac_ext <<_ACEOF
33345 /* confdefs.h. */
33346 _ACEOF
33347 cat confdefs.h >>conftest.$ac_ext
33348 cat >>conftest.$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33350
33351 #if HAVE_X11_XLIB_H
33352 #include <X11/Xlib.h>
33353 #endif
33354
33355
33356 #include <$ac_header>
33357 _ACEOF
33358 rm -f conftest.$ac_objext
33359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33360 (eval $ac_compile) 2>conftest.er1
33361 ac_status=$?
33362 grep -v '^ *+' conftest.er1 >conftest.err
33363 rm -f conftest.er1
33364 cat conftest.err >&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } &&
33367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33369 (eval $ac_try) 2>&5
33370 ac_status=$?
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); }; } &&
33373 { ac_try='test -s conftest.$ac_objext'
33374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33375 (eval $ac_try) 2>&5
33376 ac_status=$?
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; }; then
33379 eval "$as_ac_Header=yes"
33380 else
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.$ac_ext >&5
33383
33384 eval "$as_ac_Header=no"
33385 fi
33386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33387 fi
33388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33391 cat >>confdefs.h <<_ACEOF
33392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33393 _ACEOF
33394
33395 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33396
33397 fi
33398
33399 done
33400
33401 else
33402 echo "$as_me:$LINENO: result: no" >&5
33403 echo "${ECHO_T}no" >&6
33404 fi
33405
33406 else
33407 echo "$as_me:$LINENO: result: no" >&5
33408 echo "${ECHO_T}no" >&6
33409 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33410 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33411 wxUSE_DISPLAY="no"
33412 fi
33413 elif test "$wxUSE_MSW" = 1; then
33414
33415 for ac_header in ddraw.h
33416 do
33417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33418 echo "$as_me:$LINENO: checking for $ac_header" >&5
33419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 else
33423 cat >conftest.$ac_ext <<_ACEOF
33424 /* confdefs.h. */
33425 _ACEOF
33426 cat confdefs.h >>conftest.$ac_ext
33427 cat >>conftest.$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429 #include <windows.h>
33430
33431 #include <$ac_header>
33432 _ACEOF
33433 rm -f conftest.$ac_objext
33434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33435 (eval $ac_compile) 2>conftest.er1
33436 ac_status=$?
33437 grep -v '^ *+' conftest.er1 >conftest.err
33438 rm -f conftest.er1
33439 cat conftest.err >&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); } &&
33442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33448 { ac_try='test -s conftest.$ac_objext'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33451 ac_status=$?
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; }; then
33454 eval "$as_ac_Header=yes"
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459 eval "$as_ac_Header=no"
33460 fi
33461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33462 fi
33463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33466 cat >>confdefs.h <<_ACEOF
33467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33468 _ACEOF
33469
33470 fi
33471
33472 done
33473
33474 fi
33475 fi
33476
33477 if test "$wxUSE_DETECT_SM" = "yes"; then
33478 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33479 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33480 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33481
33482 ac_find_libraries=
33483 for ac_dir in $SEARCH_LIB;
33484 do
33485 for ac_extension in a so sl dylib dll.a; do
33486 if test -f "$ac_dir/libSM.$ac_extension"; then
33487 ac_find_libraries=$ac_dir
33488 break 2
33489 fi
33490 done
33491 done
33492
33493 if test "$ac_find_libraries" != "" ; then
33494
33495 if test "$ac_find_libraries" = "default location"; then
33496 ac_path_to_link=""
33497 else
33498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33499 result=$?
33500 if test $result = 0; then
33501 ac_path_to_link=""
33502 else
33503 ac_path_to_link=" -L$ac_find_libraries"
33504 fi
33505 fi
33506
33507 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33508 LDFLAGS="$LDFLAGS $ac_path_to_link"
33509 fi
33510 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33511 echo "$as_me:$LINENO: result: yes" >&5
33512 echo "${ECHO_T}yes" >&6
33513 else
33514 echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6
33516 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33517 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33518 wxUSE_DETECT_SM="no"
33519 fi
33520 else
33521 wxUSE_DETECT_SM="no"
33522 fi
33523 fi
33524
33525
33526
33527 USE_OPENGL=0
33528 if test "$wxUSE_OPENGL" = "yes"; then
33529 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33530 OPENGL_LIBS="-framework OpenGL -framework AGL"
33531 elif test "$wxUSE_MSW" = 1; then
33532 OPENGL_LIBS="-lopengl32 -lglu32"
33533 else
33534 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33535 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33536
33537 ac_find_includes=
33538 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33539 do
33540 if test -f "$ac_dir/GL/gl.h"; then
33541 ac_find_includes=$ac_dir
33542 break
33543 fi
33544 done
33545
33546 if test "$ac_find_includes" != "" ; then
33547 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33548 echo "${ECHO_T}found in $ac_find_includes" >&6
33549
33550 if test "x$ac_find_includes" = "x/usr/include"; then
33551 ac_path_to_include=""
33552 else
33553 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33554 result=$?
33555 if test $result = 0; then
33556 ac_path_to_include=""
33557 else
33558 ac_path_to_include=" -I$ac_find_includes"
33559 fi
33560 fi
33561
33562 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33563 else
33564 echo "$as_me:$LINENO: result: not found" >&5
33565 echo "${ECHO_T}not found" >&6
33566 fi
33567
33568 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33569 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33570 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33571 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 fi
33574 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33575 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33576 else
33577 # Is the header compilable?
33578 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33579 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586 $ac_includes_default
33587 #include <GL/gl.h>
33588 _ACEOF
33589 rm -f conftest.$ac_objext
33590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33591 (eval $ac_compile) 2>conftest.er1
33592 ac_status=$?
33593 grep -v '^ *+' conftest.er1 >conftest.err
33594 rm -f conftest.er1
33595 cat conftest.err >&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } &&
33598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try='test -s conftest.$ac_objext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33607 ac_status=$?
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 ac_header_compiler=yes
33611 else
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33614
33615 ac_header_compiler=no
33616 fi
33617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33619 echo "${ECHO_T}$ac_header_compiler" >&6
33620
33621 # Is the header present?
33622 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33623 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33624 cat >conftest.$ac_ext <<_ACEOF
33625 /* confdefs.h. */
33626 _ACEOF
33627 cat confdefs.h >>conftest.$ac_ext
33628 cat >>conftest.$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630 #include <GL/gl.h>
33631 _ACEOF
33632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33634 ac_status=$?
33635 grep -v '^ *+' conftest.er1 >conftest.err
33636 rm -f conftest.er1
33637 cat conftest.err >&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } >/dev/null; then
33640 if test -s conftest.err; then
33641 ac_cpp_err=$ac_cxx_preproc_warn_flag
33642 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33643 else
33644 ac_cpp_err=
33645 fi
33646 else
33647 ac_cpp_err=yes
33648 fi
33649 if test -z "$ac_cpp_err"; then
33650 ac_header_preproc=yes
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33654
33655 ac_header_preproc=no
33656 fi
33657 rm -f conftest.err conftest.$ac_ext
33658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33659 echo "${ECHO_T}$ac_header_preproc" >&6
33660
33661 # So? What about this header?
33662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33663 yes:no: )
33664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33665 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33667 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33668 ac_header_preproc=yes
33669 ;;
33670 no:yes:* )
33671 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33672 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33673 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33674 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33675 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33676 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33677 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33678 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33680 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33682 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33683 (
33684 cat <<\_ASBOX
33685 ## ----------------------------------------- ##
33686 ## Report this to wx-dev@lists.wxwidgets.org ##
33687 ## ----------------------------------------- ##
33688 _ASBOX
33689 ) |
33690 sed "s/^/$as_me: WARNING: /" >&2
33691 ;;
33692 esac
33693 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33694 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33695 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 else
33698 ac_cv_header_GL_gl_h=$ac_header_preproc
33699 fi
33700 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33701 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33702
33703 fi
33704 if test $ac_cv_header_GL_gl_h = yes; then
33705
33706 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33707 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33708 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33709 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 fi
33712 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33713 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33714 else
33715 # Is the header compilable?
33716 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33717 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33718 cat >conftest.$ac_ext <<_ACEOF
33719 /* confdefs.h. */
33720 _ACEOF
33721 cat confdefs.h >>conftest.$ac_ext
33722 cat >>conftest.$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724 $ac_includes_default
33725 #include <GL/glu.h>
33726 _ACEOF
33727 rm -f conftest.$ac_objext
33728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33729 (eval $ac_compile) 2>conftest.er1
33730 ac_status=$?
33731 grep -v '^ *+' conftest.er1 >conftest.err
33732 rm -f conftest.er1
33733 cat conftest.err >&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); } &&
33736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33738 (eval $ac_try) 2>&5
33739 ac_status=$?
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); }; } &&
33742 { ac_try='test -s conftest.$ac_objext'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33745 ac_status=$?
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }; then
33748 ac_header_compiler=yes
33749 else
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.$ac_ext >&5
33752
33753 ac_header_compiler=no
33754 fi
33755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33757 echo "${ECHO_T}$ac_header_compiler" >&6
33758
33759 # Is the header present?
33760 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33761 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33762 cat >conftest.$ac_ext <<_ACEOF
33763 /* confdefs.h. */
33764 _ACEOF
33765 cat confdefs.h >>conftest.$ac_ext
33766 cat >>conftest.$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33768 #include <GL/glu.h>
33769 _ACEOF
33770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } >/dev/null; then
33778 if test -s conftest.err; then
33779 ac_cpp_err=$ac_cxx_preproc_warn_flag
33780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33781 else
33782 ac_cpp_err=
33783 fi
33784 else
33785 ac_cpp_err=yes
33786 fi
33787 if test -z "$ac_cpp_err"; then
33788 ac_header_preproc=yes
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 ac_header_preproc=no
33794 fi
33795 rm -f conftest.err conftest.$ac_ext
33796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33797 echo "${ECHO_T}$ac_header_preproc" >&6
33798
33799 # So? What about this header?
33800 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33801 yes:no: )
33802 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33803 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33804 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33805 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33806 ac_header_preproc=yes
33807 ;;
33808 no:yes:* )
33809 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33810 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33811 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33812 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33813 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33814 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33815 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33816 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33817 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33818 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33819 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33820 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33821 (
33822 cat <<\_ASBOX
33823 ## ----------------------------------------- ##
33824 ## Report this to wx-dev@lists.wxwidgets.org ##
33825 ## ----------------------------------------- ##
33826 _ASBOX
33827 ) |
33828 sed "s/^/$as_me: WARNING: /" >&2
33829 ;;
33830 esac
33831 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33832 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33833 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33835 else
33836 ac_cv_header_GL_glu_h=$ac_header_preproc
33837 fi
33838 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33839 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33840
33841 fi
33842 if test $ac_cv_header_GL_glu_h = yes; then
33843
33844 found_gl=0
33845
33846 echo "$as_me:$LINENO: checking for -lGL" >&5
33847 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33848
33849 ac_find_libraries=
33850 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33851 do
33852 for ac_extension in a so sl dylib dll.a; do
33853 if test -f "$ac_dir/libGL.$ac_extension"; then
33854 ac_find_libraries=$ac_dir
33855 break 2
33856 fi
33857 done
33858 done
33859
33860 if test "$ac_find_libraries" != "" ; then
33861 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33862 echo "${ECHO_T}found in $ac_find_libraries" >&6
33863
33864
33865 if test "$ac_find_libraries" = "default location"; then
33866 ac_path_to_link=""
33867 else
33868 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33869 result=$?
33870 if test $result = 0; then
33871 ac_path_to_link=""
33872 else
33873 ac_path_to_link=" -L$ac_find_libraries"
33874 fi
33875 fi
33876
33877 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33878 LDFLAGS_GL="$ac_path_to_link"
33879 fi
33880
33881 echo "$as_me:$LINENO: checking for -lGLU" >&5
33882 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33883
33884 ac_find_libraries=
33885 for ac_dir in $SEARCH_LIB;
33886 do
33887 for ac_extension in a so sl dylib dll.a; do
33888 if test -f "$ac_dir/libGLU.$ac_extension"; then
33889 ac_find_libraries=$ac_dir
33890 break 2
33891 fi
33892 done
33893 done
33894
33895 if test "$ac_find_libraries" != "" ; then
33896
33897 if test "$ac_find_libraries" = "default location"; then
33898 ac_path_to_link=""
33899 else
33900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33901 result=$?
33902 if test $result = 0; then
33903 ac_path_to_link=""
33904 else
33905 ac_path_to_link=" -L$ac_find_libraries"
33906 fi
33907 fi
33908
33909 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33910 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33911 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33912 fi
33913
33914 found_gl=1
33915 OPENGL_LIBS="-lGL -lGLU"
33916 echo "$as_me:$LINENO: result: yes" >&5
33917 echo "${ECHO_T}yes" >&6
33918 else
33919 echo "$as_me:$LINENO: result: no" >&5
33920 echo "${ECHO_T}no" >&6
33921 fi
33922 else
33923 echo "$as_me:$LINENO: result: no" >&5
33924 echo "${ECHO_T}no" >&6
33925 fi
33926
33927 if test "$found_gl" != 1; then
33928 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33929 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33930
33931 ac_find_libraries=
33932 for ac_dir in $SEARCH_LIB;
33933 do
33934 for ac_extension in a so sl dylib dll.a; do
33935 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33936 ac_find_libraries=$ac_dir
33937 break 2
33938 fi
33939 done
33940 done
33941
33942 if test "$ac_find_libraries" != "" ; then
33943
33944 if test "$ac_find_libraries" = "default location"; then
33945 ac_path_to_link=""
33946 else
33947 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33948 result=$?
33949 if test $result = 0; then
33950 ac_path_to_link=""
33951 else
33952 ac_path_to_link=" -L$ac_find_libraries"
33953 fi
33954 fi
33955
33956 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33957 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33958 echo "$as_me:$LINENO: result: yes" >&5
33959 echo "${ECHO_T}yes" >&6
33960 else
33961 echo "$as_me:$LINENO: result: no" >&5
33962 echo "${ECHO_T}no" >&6
33963 fi
33964 fi
33965
33966 fi
33967
33968
33969
33970 fi
33971
33972
33973
33974 if test "x$OPENGL_LIBS" = "x"; then
33975 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33976 echo "$as_me: error: OpenGL libraries not available" >&2;}
33977 { (exit 1); exit 1; }; }
33978 fi
33979 fi
33980
33981 if test "$wxUSE_OPENGL" = "yes"; then
33982 USE_OPENGL=1
33983 cat >>confdefs.h <<\_ACEOF
33984 #define wxUSE_OPENGL 1
33985 _ACEOF
33986
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxUSE_GLCANVAS 1
33989 _ACEOF
33990
33991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33992 fi
33993 fi
33994
33995
33996 if test -n "$TOOLKIT" ; then
33997 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33998 fi
33999
34000
34001
34002 if test "$wxUSE_SHARED" = "yes"; then
34003 case "${host}" in
34004 *-pc-msdosdjgpp )
34005 wxUSE_SHARED=no
34006 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34007 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34008 ;;
34009 esac
34010 fi
34011
34012 if test "$wxUSE_SHARED" = "yes"; then
34013
34014
34015 case "${host}" in
34016 *-*-cygwin* | *-*-mingw* )
34017 found_versioning=no
34018 ;;
34019
34020 *)
34021 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34022 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34023 if test "${wx_cv_version_script+set}" = set; then
34024 echo $ECHO_N "(cached) $ECHO_C" >&6
34025 else
34026
34027 echo "VER_1 { *; };" >conftest.sym
34028 echo "int main() { return 0; }" >conftest.cpp
34029
34030 if { ac_try='
34031 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34032 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } ; then
34038 if test -s conftest.stderr ; then
34039 wx_cv_version_script=no
34040 else
34041 wx_cv_version_script=yes
34042 fi
34043 else
34044 wx_cv_version_script=no
34045 fi
34046
34047 if test $wx_cv_version_script = yes
34048 then
34049 echo "struct B { virtual ~B() { } }; \
34050 struct D : public B { }; \
34051 void F() { D d; }" > conftest.cpp
34052
34053 if { ac_try='
34054 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34055 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='
34062 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34063 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065 (eval $ac_try) 2>&5
34066 ac_status=$?
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; }
34069 then
34070 if { ac_try='
34071 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34072 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34074 (eval $ac_try) 2>&5
34075 ac_status=$?
34076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077 (exit $ac_status); }; }
34078 then
34079 wx_cv_version_script=yes
34080 else
34081 wx_cv_version_script=no
34082 fi
34083 fi
34084 fi
34085
34086 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34087 rm -f conftest1.output conftest2.output conftest3.output
34088
34089 fi
34090 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34091 echo "${ECHO_T}$wx_cv_version_script" >&6
34092
34093 if test $wx_cv_version_script = yes ; then
34094 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34095 fi
34096 ;;
34097 esac
34098
34099
34100 case "${host}" in
34101 *-*-linux* | *-*-gnu* )
34102 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34104 ;;
34105
34106 *-*-solaris2* )
34107 if test "$GCC" = yes ; then
34108 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34109
34110 saveLdflags="$LDFLAGS"
34111 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34112 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34113 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34114 cat >conftest.$ac_ext <<_ACEOF
34115 /* confdefs.h. */
34116 _ACEOF
34117 cat confdefs.h >>conftest.$ac_ext
34118 cat >>conftest.$ac_ext <<_ACEOF
34119 /* end confdefs.h. */
34120
34121 int
34122 main ()
34123 {
34124
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext conftest$ac_exeext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34131 (eval $ac_link) 2>conftest.er1
34132 ac_status=$?
34133 grep -v '^ *+' conftest.er1 >conftest.err
34134 rm -f conftest.er1
34135 cat conftest.err >&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34141 ac_status=$?
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; } &&
34144 { ac_try='test -s conftest$ac_exeext'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34147 ac_status=$?
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34150
34151 echo "$as_me:$LINENO: result: yes" >&5
34152 echo "${ECHO_T}yes" >&6
34153 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34154 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34155
34156 else
34157 echo "$as_me: failed program was:" >&5
34158 sed 's/^/| /' conftest.$ac_ext >&5
34159
34160
34161 echo "$as_me:$LINENO: result: no" >&5
34162 echo "${ECHO_T}no" >&6
34163 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34164 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34165 LDFLAGS="$saveLdflags -Wl,-R,/"
34166 cat >conftest.$ac_ext <<_ACEOF
34167 /* confdefs.h. */
34168 _ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34172
34173 int
34174 main ()
34175 {
34176
34177 ;
34178 return 0;
34179 }
34180 _ACEOF
34181 rm -f conftest.$ac_objext conftest$ac_exeext
34182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34183 (eval $ac_link) 2>conftest.er1
34184 ac_status=$?
34185 grep -v '^ *+' conftest.er1 >conftest.err
34186 rm -f conftest.er1
34187 cat conftest.err >&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } &&
34190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34192 (eval $ac_try) 2>&5
34193 ac_status=$?
34194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34195 (exit $ac_status); }; } &&
34196 { ac_try='test -s conftest$ac_exeext'
34197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34198 (eval $ac_try) 2>&5
34199 ac_status=$?
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); }; }; then
34202
34203 echo "$as_me:$LINENO: result: yes" >&5
34204 echo "${ECHO_T}yes" >&6
34205 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34206 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34207
34208 else
34209 echo "$as_me: failed program was:" >&5
34210 sed 's/^/| /' conftest.$ac_ext >&5
34211
34212
34213 echo "$as_me:$LINENO: result: no" >&5
34214 echo "${ECHO_T}no" >&6
34215
34216 fi
34217 rm -f conftest.err conftest.$ac_objext \
34218 conftest$ac_exeext conftest.$ac_ext
34219
34220 fi
34221 rm -f conftest.err conftest.$ac_objext \
34222 conftest$ac_exeext conftest.$ac_ext
34223 LDFLAGS="$saveLdflags"
34224 else
34225 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34226 WXCONFIG_RPATH="-R\$libdir"
34227 fi
34228 ;;
34229
34230 *-*-darwin* )
34231 install_name_tool=`which install_name_tool`
34232 if test "$install_name_tool" -a -x "$install_name_tool"; then
34233 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34234 cat <<EOF >change-install-names
34235 #!/bin/sh
34236 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34237 inst_cmd="install_name_tool "
34238 for i in \${libnames} ; do
34239 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34240 done
34241 \${inst_cmd} \${3}
34242 EOF
34243 chmod +x change-install-names
34244 fi
34245 ;;
34246
34247 *-*-cygwin* | *-*-mingw32* )
34248 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34249 ;;
34250
34251 *-*-hpux* )
34252 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34253 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34254 ;;
34255
34256 esac
34257
34258 if test $wxUSE_RPATH = "no"; then
34259 SAMPLES_RPATH_FLAG=''
34260 SAMPLES_RPATH_POSTLINK=''
34261 WXCONFIG_RPATH=''
34262 fi
34263
34264 SHARED=1
34265
34266 else
34267
34268 config_linkage_component="-static"
34269 SHARED=0
34270
34271 fi
34272
34273
34274 UNICODE=0
34275 lib_unicode_suffix=
34276 WX_CHARTYPE="ansi"
34277 if test "$wxUSE_UNICODE" = "yes"; then
34278 lib_unicode_suffix=u
34279 WX_CHARTYPE="unicode"
34280 UNICODE=1
34281 fi
34282
34283 lib_debug_suffix=
34284 WX_DEBUGTYPE="release"
34285 DEBUG_FLAG=0
34286 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34287 lib_debug_suffix=d
34288 WX_DEBUGTYPE="debug"
34289 DEBUG_FLAG=1
34290 fi
34291
34292 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34293 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34294
34295 DEBUG_INFO=0
34296 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34297 DEBUG_INFO=1
34298 fi
34299
34300 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34301
34302 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34303
34304 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34305
34306 if test "$cross_compiling" = "yes"; then
34307 HOST_SUFFIX="-$host_alias"
34308 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34309 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34310 fi
34311
34312 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34313 if test "${TOOLKIT_DIR}" = "os2"; then
34314 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34315 else
34316 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34317 fi
34318
34319
34320
34321 if test "$wxUSE_COCOA" = 1; then
34322
34323
34324 ac_ext=c
34325 ac_cpp='$CPP $CPPFLAGS'
34326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34329
34330 ac_ext=m
34331
34332 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34333 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34334 cat >conftest.$ac_ext <<_ACEOF
34335 /* confdefs.h. */
34336 _ACEOF
34337 cat confdefs.h >>conftest.$ac_ext
34338 cat >>conftest.$ac_ext <<_ACEOF
34339 /* end confdefs.h. */
34340 #include <AppKit/NSEvent.h>
34341 #include <CoreFoundation/CoreFoundation.h>
34342
34343 int
34344 main ()
34345 {
34346
34347 ;
34348 return 0;
34349 }
34350 _ACEOF
34351 rm -f conftest.$ac_objext
34352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34353 (eval $ac_compile) 2>conftest.er1
34354 ac_status=$?
34355 grep -v '^ *+' conftest.er1 >conftest.err
34356 rm -f conftest.er1
34357 cat conftest.err >&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); } &&
34360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34363 ac_status=$?
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; } &&
34366 { ac_try='test -s conftest.$ac_objext'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34369 ac_status=$?
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; }; then
34372 echo "$as_me:$LINENO: result: no" >&5
34373 echo "${ECHO_T}no" >&6
34374 else
34375 echo "$as_me: failed program was:" >&5
34376 sed 's/^/| /' conftest.$ac_ext >&5
34377
34378 echo "$as_me:$LINENO: result: yes" >&5
34379 echo "${ECHO_T}yes" >&6
34380 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34381 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 #define __Point__ 1
34389 #include <AppKit/NSEvent.h>
34390 #include <CoreFoundation/CoreFoundation.h>
34391
34392 int
34393 main ()
34394 {
34395
34396 ;
34397 return 0;
34398 }
34399 _ACEOF
34400 rm -f conftest.$ac_objext
34401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34402 (eval $ac_compile) 2>conftest.er1
34403 ac_status=$?
34404 grep -v '^ *+' conftest.er1 >conftest.err
34405 rm -f conftest.er1
34406 cat conftest.err >&5
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); } &&
34409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34411 (eval $ac_try) 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); }; } &&
34415 { ac_try='test -s conftest.$ac_objext'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; }; then
34421 echo "$as_me:$LINENO: result: yes" >&5
34422 echo "${ECHO_T}yes" >&6
34423 cat >>confdefs.h <<\_ACEOF
34424 #define __Point__ 1
34425 _ACEOF
34426
34427
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34431
34432 { { echo "$as_me:$LINENO: error: no
34433 See \`config.log' for more details." >&5
34434 echo "$as_me: error: no
34435 See \`config.log' for more details." >&2;}
34436 { (exit 1); exit 1; }; }
34437
34438 fi
34439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34440
34441 fi
34442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34443 ac_ext=cc
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34448
34449 fi
34450
34451 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34452 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34453 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34454
34455 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34456
34457 # Extract the first word of "Rez", so it can be a program name with args.
34458 set dummy Rez; ac_word=$2
34459 echo "$as_me:$LINENO: checking for $ac_word" >&5
34460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34461 if test "${ac_cv_prog_REZ+set}" = set; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34464 if test -n "$REZ"; then
34465 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34466 else
34467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34468 for as_dir in $PATH
34469 do
34470 IFS=$as_save_IFS
34471 test -z "$as_dir" && as_dir=.
34472 for ac_exec_ext in '' $ac_executable_extensions; do
34473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34474 ac_cv_prog_REZ="Rez"
34475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34476 break 2
34477 fi
34478 done
34479 done
34480
34481 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34482 fi
34483 fi
34484 REZ=$ac_cv_prog_REZ
34485 if test -n "$REZ"; then
34486 echo "$as_me:$LINENO: result: $REZ" >&5
34487 echo "${ECHO_T}$REZ" >&6
34488 else
34489 echo "$as_me:$LINENO: result: no" >&5
34490 echo "${ECHO_T}no" >&6
34491 fi
34492
34493 # Extract the first word of "DeRez", so it can be a program name with args.
34494 set dummy DeRez; ac_word=$2
34495 echo "$as_me:$LINENO: checking for $ac_word" >&5
34496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34497 if test "${ac_cv_prog_DEREZ+set}" = set; then
34498 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 else
34500 if test -n "$DEREZ"; then
34501 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34502 else
34503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34504 for as_dir in $PATH
34505 do
34506 IFS=$as_save_IFS
34507 test -z "$as_dir" && as_dir=.
34508 for ac_exec_ext in '' $ac_executable_extensions; do
34509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34510 ac_cv_prog_DEREZ="DeRez"
34511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34512 break 2
34513 fi
34514 done
34515 done
34516
34517 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34518 fi
34519 fi
34520 DEREZ=$ac_cv_prog_DEREZ
34521 if test -n "$DEREZ"; then
34522 echo "$as_me:$LINENO: result: $DEREZ" >&5
34523 echo "${ECHO_T}$DEREZ" >&6
34524 else
34525 echo "$as_me:$LINENO: result: no" >&5
34526 echo "${ECHO_T}no" >&6
34527 fi
34528
34529 # Extract the first word of "SetFile", so it can be a program name with args.
34530 set dummy SetFile; ac_word=$2
34531 echo "$as_me:$LINENO: checking for $ac_word" >&5
34532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34533 if test "${ac_cv_prog_SETFILE+set}" = set; then
34534 echo $ECHO_N "(cached) $ECHO_C" >&6
34535 else
34536 if test -n "$SETFILE"; then
34537 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34538 else
34539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34540 for as_dir in $PATH
34541 do
34542 IFS=$as_save_IFS
34543 test -z "$as_dir" && as_dir=.
34544 for ac_exec_ext in '' $ac_executable_extensions; do
34545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34546 ac_cv_prog_SETFILE="SetFile"
34547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34548 break 2
34549 fi
34550 done
34551 done
34552
34553 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34554 fi
34555 fi
34556 SETFILE=$ac_cv_prog_SETFILE
34557 if test -n "$SETFILE"; then
34558 echo "$as_me:$LINENO: result: $SETFILE" >&5
34559 echo "${ECHO_T}$SETFILE" >&6
34560 else
34561 echo "$as_me:$LINENO: result: no" >&5
34562 echo "${ECHO_T}no" >&6
34563 fi
34564
34565
34566 MACSETFILE="\$(SETFILE)"
34567
34568 if test "$wxUSE_MAC" = 1; then
34569 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34570 RESCOMP="$REZ"
34571 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34572 else
34573 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34574 RESCOMP="echo -n \| $REZ"
34575 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34576 fi
34577
34578 else
34579 MACSETFILE="@true"
34580
34581 if test "$wxUSE_PM" = 1; then
34582 RESCOMP="emxbind"
34583 WXCONFIG_RESFLAGS="-ep"
34584
34585 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34586 else
34587 POSTLINK_COMMAND="@true"
34588 fi
34589
34590 fi
34591
34592
34593
34594 echo "$as_me:$LINENO: checking for mode_t" >&5
34595 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34596 if test "${ac_cv_type_mode_t+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 else
34599 cat >conftest.$ac_ext <<_ACEOF
34600 /* confdefs.h. */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34605 $ac_includes_default
34606 int
34607 main ()
34608 {
34609 if ((mode_t *) 0)
34610 return 0;
34611 if (sizeof (mode_t))
34612 return 0;
34613 ;
34614 return 0;
34615 }
34616 _ACEOF
34617 rm -f conftest.$ac_objext
34618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34619 (eval $ac_compile) 2>conftest.er1
34620 ac_status=$?
34621 grep -v '^ *+' conftest.er1 >conftest.err
34622 rm -f conftest.er1
34623 cat conftest.err >&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); } &&
34626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; } &&
34632 { ac_try='test -s conftest.$ac_objext'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; }; then
34638 ac_cv_type_mode_t=yes
34639 else
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34642
34643 ac_cv_type_mode_t=no
34644 fi
34645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34646 fi
34647 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34648 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34649 if test $ac_cv_type_mode_t = yes; then
34650 :
34651 else
34652
34653 cat >>confdefs.h <<_ACEOF
34654 #define mode_t int
34655 _ACEOF
34656
34657 fi
34658
34659 echo "$as_me:$LINENO: checking for off_t" >&5
34660 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34661 if test "${ac_cv_type_off_t+set}" = set; then
34662 echo $ECHO_N "(cached) $ECHO_C" >&6
34663 else
34664 cat >conftest.$ac_ext <<_ACEOF
34665 /* confdefs.h. */
34666 _ACEOF
34667 cat confdefs.h >>conftest.$ac_ext
34668 cat >>conftest.$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34670 $ac_includes_default
34671 int
34672 main ()
34673 {
34674 if ((off_t *) 0)
34675 return 0;
34676 if (sizeof (off_t))
34677 return 0;
34678 ;
34679 return 0;
34680 }
34681 _ACEOF
34682 rm -f conftest.$ac_objext
34683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34684 (eval $ac_compile) 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } &&
34691 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34694 ac_status=$?
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; } &&
34697 { ac_try='test -s conftest.$ac_objext'
34698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699 (eval $ac_try) 2>&5
34700 ac_status=$?
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); }; }; then
34703 ac_cv_type_off_t=yes
34704 else
34705 echo "$as_me: failed program was:" >&5
34706 sed 's/^/| /' conftest.$ac_ext >&5
34707
34708 ac_cv_type_off_t=no
34709 fi
34710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34711 fi
34712 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34713 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34714 if test $ac_cv_type_off_t = yes; then
34715 :
34716 else
34717
34718 cat >>confdefs.h <<_ACEOF
34719 #define off_t long
34720 _ACEOF
34721
34722 fi
34723
34724 echo "$as_me:$LINENO: checking for pid_t" >&5
34725 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34726 if test "${ac_cv_type_pid_t+set}" = set; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34728 else
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 $ac_includes_default
34736 int
34737 main ()
34738 {
34739 if ((pid_t *) 0)
34740 return 0;
34741 if (sizeof (pid_t))
34742 return 0;
34743 ;
34744 return 0;
34745 }
34746 _ACEOF
34747 rm -f conftest.$ac_objext
34748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34749 (eval $ac_compile) 2>conftest.er1
34750 ac_status=$?
34751 grep -v '^ *+' conftest.er1 >conftest.err
34752 rm -f conftest.er1
34753 cat conftest.err >&5
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); } &&
34756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34758 (eval $ac_try) 2>&5
34759 ac_status=$?
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); }; } &&
34762 { ac_try='test -s conftest.$ac_objext'
34763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34764 (eval $ac_try) 2>&5
34765 ac_status=$?
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); }; }; then
34768 ac_cv_type_pid_t=yes
34769 else
34770 echo "$as_me: failed program was:" >&5
34771 sed 's/^/| /' conftest.$ac_ext >&5
34772
34773 ac_cv_type_pid_t=no
34774 fi
34775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34776 fi
34777 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34778 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34779 if test $ac_cv_type_pid_t = yes; then
34780 :
34781 else
34782
34783 cat >>confdefs.h <<_ACEOF
34784 #define pid_t int
34785 _ACEOF
34786
34787 fi
34788
34789 echo "$as_me:$LINENO: checking for size_t" >&5
34790 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34791 if test "${ac_cv_type_size_t+set}" = set; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h. */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800 $ac_includes_default
34801 int
34802 main ()
34803 {
34804 if ((size_t *) 0)
34805 return 0;
34806 if (sizeof (size_t))
34807 return 0;
34808 ;
34809 return 0;
34810 }
34811 _ACEOF
34812 rm -f conftest.$ac_objext
34813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34814 (eval $ac_compile) 2>conftest.er1
34815 ac_status=$?
34816 grep -v '^ *+' conftest.er1 >conftest.err
34817 rm -f conftest.er1
34818 cat conftest.err >&5
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); } &&
34821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; } &&
34827 { ac_try='test -s conftest.$ac_objext'
34828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34829 (eval $ac_try) 2>&5
34830 ac_status=$?
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); }; }; then
34833 ac_cv_type_size_t=yes
34834 else
34835 echo "$as_me: failed program was:" >&5
34836 sed 's/^/| /' conftest.$ac_ext >&5
34837
34838 ac_cv_type_size_t=no
34839 fi
34840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34841 fi
34842 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34843 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34844 if test $ac_cv_type_size_t = yes; then
34845 :
34846 else
34847
34848 cat >>confdefs.h <<_ACEOF
34849 #define size_t unsigned
34850 _ACEOF
34851
34852 fi
34853
34854 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34855 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34856 if test "${ac_cv_type_uid_t+set}" = set; then
34857 echo $ECHO_N "(cached) $ECHO_C" >&6
34858 else
34859 cat >conftest.$ac_ext <<_ACEOF
34860 /* confdefs.h. */
34861 _ACEOF
34862 cat confdefs.h >>conftest.$ac_ext
34863 cat >>conftest.$ac_ext <<_ACEOF
34864 /* end confdefs.h. */
34865 #include <sys/types.h>
34866
34867 _ACEOF
34868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34869 $EGREP "uid_t" >/dev/null 2>&1; then
34870 ac_cv_type_uid_t=yes
34871 else
34872 ac_cv_type_uid_t=no
34873 fi
34874 rm -f conftest*
34875
34876 fi
34877 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34878 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34879 if test $ac_cv_type_uid_t = no; then
34880
34881 cat >>confdefs.h <<\_ACEOF
34882 #define uid_t int
34883 _ACEOF
34884
34885
34886 cat >>confdefs.h <<\_ACEOF
34887 #define gid_t int
34888 _ACEOF
34889
34890 fi
34891
34892
34893 echo "$as_me:$LINENO: checking for ssize_t" >&5
34894 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34895 if test "${ac_cv_type_ssize_t+set}" = set; then
34896 echo $ECHO_N "(cached) $ECHO_C" >&6
34897 else
34898 cat >conftest.$ac_ext <<_ACEOF
34899 /* confdefs.h. */
34900 _ACEOF
34901 cat confdefs.h >>conftest.$ac_ext
34902 cat >>conftest.$ac_ext <<_ACEOF
34903 /* end confdefs.h. */
34904 $ac_includes_default
34905 int
34906 main ()
34907 {
34908 if ((ssize_t *) 0)
34909 return 0;
34910 if (sizeof (ssize_t))
34911 return 0;
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 rm -f conftest.$ac_objext
34917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34918 (eval $ac_compile) 2>conftest.er1
34919 ac_status=$?
34920 grep -v '^ *+' conftest.er1 >conftest.err
34921 rm -f conftest.er1
34922 cat conftest.err >&5
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); } &&
34925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34927 (eval $ac_try) 2>&5
34928 ac_status=$?
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); }; } &&
34931 { ac_try='test -s conftest.$ac_objext'
34932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933 (eval $ac_try) 2>&5
34934 ac_status=$?
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; }; then
34937 ac_cv_type_ssize_t=yes
34938 else
34939 echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.$ac_ext >&5
34941
34942 ac_cv_type_ssize_t=no
34943 fi
34944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34945 fi
34946 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34947 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34948 if test $ac_cv_type_ssize_t = yes; then
34949
34950 cat >>confdefs.h <<_ACEOF
34951 #define HAVE_SSIZE_T 1
34952 _ACEOF
34953
34954
34955 fi
34956
34957
34958 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34959 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34960 if test "${wx_cv_size_t_is_uint+set}" = set; then
34961 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 else
34963
34964 cat >conftest.$ac_ext <<_ACEOF
34965 /* confdefs.h. */
34966 _ACEOF
34967 cat confdefs.h >>conftest.$ac_ext
34968 cat >>conftest.$ac_ext <<_ACEOF
34969 /* end confdefs.h. */
34970 #include <stddef.h>
34971 int
34972 main ()
34973 {
34974
34975 return 0; }
34976
34977 struct Foo { void foo(size_t); void foo(unsigned int); };
34978
34979 int bar() {
34980
34981 ;
34982 return 0;
34983 }
34984 _ACEOF
34985 rm -f conftest.$ac_objext
34986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34987 (eval $ac_compile) 2>conftest.er1
34988 ac_status=$?
34989 grep -v '^ *+' conftest.er1 >conftest.err
34990 rm -f conftest.er1
34991 cat conftest.err >&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } &&
34994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34997 ac_status=$?
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; } &&
35000 { ac_try='test -s conftest.$ac_objext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35003 ac_status=$?
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 wx_cv_size_t_is_uint=no
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 wx_cv_size_t_is_uint=yes
35012
35013 fi
35014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35015
35016
35017 fi
35018 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35019 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35020
35021 if test "$wx_cv_size_t_is_uint" = "yes"; then
35022 cat >>confdefs.h <<\_ACEOF
35023 #define wxSIZE_T_IS_UINT 1
35024 _ACEOF
35025
35026 else
35027 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35028 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35029 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 #include <stddef.h>
35039 int
35040 main ()
35041 {
35042
35043 return 0; }
35044
35045 struct Foo { void foo(size_t); void foo(unsigned long); };
35046
35047 int bar() {
35048
35049 ;
35050 return 0;
35051 }
35052 _ACEOF
35053 rm -f conftest.$ac_objext
35054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35055 (eval $ac_compile) 2>conftest.er1
35056 ac_status=$?
35057 grep -v '^ *+' conftest.er1 >conftest.err
35058 rm -f conftest.er1
35059 cat conftest.err >&5
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); } &&
35062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35064 (eval $ac_try) 2>&5
35065 ac_status=$?
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); }; } &&
35068 { ac_try='test -s conftest.$ac_objext'
35069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070 (eval $ac_try) 2>&5
35071 ac_status=$?
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); }; }; then
35074 wx_cv_size_t_is_ulong=no
35075 else
35076 echo "$as_me: failed program was:" >&5
35077 sed 's/^/| /' conftest.$ac_ext >&5
35078
35079 wx_cv_size_t_is_ulong=yes
35080
35081 fi
35082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35083
35084 fi
35085 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35086 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35087
35088 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35089 cat >>confdefs.h <<\_ACEOF
35090 #define wxSIZE_T_IS_ULONG 1
35091 _ACEOF
35092
35093 fi
35094 fi
35095
35096
35097 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35098 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35099 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35100 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102
35103 cat >conftest.$ac_ext <<_ACEOF
35104 /* confdefs.h. */
35105 _ACEOF
35106 cat confdefs.h >>conftest.$ac_ext
35107 cat >>conftest.$ac_ext <<_ACEOF
35108 /* end confdefs.h. */
35109 #include <pwd.h>
35110 int
35111 main ()
35112 {
35113
35114 char *p;
35115 struct passwd *pw;
35116 p = pw->pw_gecos;
35117
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 rm -f conftest.$ac_objext
35123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35124 (eval $ac_compile) 2>conftest.er1
35125 ac_status=$?
35126 grep -v '^ *+' conftest.er1 >conftest.err
35127 rm -f conftest.er1
35128 cat conftest.err >&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } &&
35131 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35134 ac_status=$?
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; } &&
35137 { ac_try='test -s conftest.$ac_objext'
35138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35139 (eval $ac_try) 2>&5
35140 ac_status=$?
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); }; }; then
35143
35144 wx_cv_struct_pw_gecos=yes
35145
35146 else
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35149
35150
35151 wx_cv_struct_pw_gecos=no
35152
35153
35154 fi
35155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35156
35157
35158 fi
35159 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35160 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35161
35162 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35163 cat >>confdefs.h <<\_ACEOF
35164 #define HAVE_PW_GECOS 1
35165 _ACEOF
35166
35167 fi
35168
35169
35170 if test "$wxUSE_WCHAR_T" = "yes"; then
35171 cat >>confdefs.h <<\_ACEOF
35172 #define wxUSE_WCHAR_T 1
35173 _ACEOF
35174
35175
35176 WCSLEN_FOUND=0
35177 WCHAR_LINK=
35178
35179 for ac_func in wcslen
35180 do
35181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35182 echo "$as_me:$LINENO: checking for $ac_func" >&5
35183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35184 if eval "test \"\${$as_ac_var+set}\" = set"; then
35185 echo $ECHO_N "(cached) $ECHO_C" >&6
35186 else
35187 cat >conftest.$ac_ext <<_ACEOF
35188 /* confdefs.h. */
35189 _ACEOF
35190 cat confdefs.h >>conftest.$ac_ext
35191 cat >>conftest.$ac_ext <<_ACEOF
35192 /* end confdefs.h. */
35193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35195 #define $ac_func innocuous_$ac_func
35196
35197 /* System header to define __stub macros and hopefully few prototypes,
35198 which can conflict with char $ac_func (); below.
35199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35200 <limits.h> exists even on freestanding compilers. */
35201
35202 #ifdef __STDC__
35203 # include <limits.h>
35204 #else
35205 # include <assert.h>
35206 #endif
35207
35208 #undef $ac_func
35209
35210 /* Override any gcc2 internal prototype to avoid an error. */
35211 #ifdef __cplusplus
35212 extern "C"
35213 {
35214 #endif
35215 /* We use char because int might match the return type of a gcc2
35216 builtin and then its argument prototype would still apply. */
35217 char $ac_func ();
35218 /* The GNU C library defines this for functions which it implements
35219 to always fail with ENOSYS. Some functions are actually named
35220 something starting with __ and the normal name is an alias. */
35221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35222 choke me
35223 #else
35224 char (*f) () = $ac_func;
35225 #endif
35226 #ifdef __cplusplus
35227 }
35228 #endif
35229
35230 int
35231 main ()
35232 {
35233 return f != $ac_func;
35234 ;
35235 return 0;
35236 }
35237 _ACEOF
35238 rm -f conftest.$ac_objext conftest$ac_exeext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35240 (eval $ac_link) 2>conftest.er1
35241 ac_status=$?
35242 grep -v '^ *+' conftest.er1 >conftest.err
35243 rm -f conftest.er1
35244 cat conftest.err >&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try='test -s conftest$ac_exeext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35256 ac_status=$?
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 eval "$as_ac_var=yes"
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35263
35264 eval "$as_ac_var=no"
35265 fi
35266 rm -f conftest.err conftest.$ac_objext \
35267 conftest$ac_exeext conftest.$ac_ext
35268 fi
35269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35271 if test `eval echo '${'$as_ac_var'}'` = yes; then
35272 cat >>confdefs.h <<_ACEOF
35273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35274 _ACEOF
35275 WCSLEN_FOUND=1
35276 fi
35277 done
35278
35279
35280 if test "$WCSLEN_FOUND" = 0; then
35281 if test "$TOOLKIT" = "MSW"; then
35282 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35283 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35284 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35286 else
35287 ac_check_lib_save_LIBS=$LIBS
35288 LIBS="-lmsvcrt $LIBS"
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295
35296 /* Override any gcc2 internal prototype to avoid an error. */
35297 #ifdef __cplusplus
35298 extern "C"
35299 #endif
35300 /* We use char because int might match the return type of a gcc2
35301 builtin and then its argument prototype would still apply. */
35302 char wcslen ();
35303 int
35304 main ()
35305 {
35306 wcslen ();
35307 ;
35308 return 0;
35309 }
35310 _ACEOF
35311 rm -f conftest.$ac_objext conftest$ac_exeext
35312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35313 (eval $ac_link) 2>conftest.er1
35314 ac_status=$?
35315 grep -v '^ *+' conftest.er1 >conftest.err
35316 rm -f conftest.er1
35317 cat conftest.err >&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } &&
35320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; } &&
35326 { ac_try='test -s conftest$ac_exeext'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; }; then
35332 ac_cv_lib_msvcrt_wcslen=yes
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 ac_cv_lib_msvcrt_wcslen=no
35338 fi
35339 rm -f conftest.err conftest.$ac_objext \
35340 conftest$ac_exeext conftest.$ac_ext
35341 LIBS=$ac_check_lib_save_LIBS
35342 fi
35343 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35344 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35345 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35346 WCHAR_OK=1
35347 fi
35348
35349 else
35350 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35351 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35352 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 else
35355 ac_check_lib_save_LIBS=$LIBS
35356 LIBS="-lw $LIBS"
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363
35364 /* Override any gcc2 internal prototype to avoid an error. */
35365 #ifdef __cplusplus
35366 extern "C"
35367 #endif
35368 /* We use char because int might match the return type of a gcc2
35369 builtin and then its argument prototype would still apply. */
35370 char wcslen ();
35371 int
35372 main ()
35373 {
35374 wcslen ();
35375 ;
35376 return 0;
35377 }
35378 _ACEOF
35379 rm -f conftest.$ac_objext conftest$ac_exeext
35380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35381 (eval $ac_link) 2>conftest.er1
35382 ac_status=$?
35383 grep -v '^ *+' conftest.er1 >conftest.err
35384 rm -f conftest.er1
35385 cat conftest.err >&5
35386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387 (exit $ac_status); } &&
35388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35391 ac_status=$?
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try='test -s conftest$ac_exeext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35397 ac_status=$?
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35400 ac_cv_lib_w_wcslen=yes
35401 else
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35404
35405 ac_cv_lib_w_wcslen=no
35406 fi
35407 rm -f conftest.err conftest.$ac_objext \
35408 conftest$ac_exeext conftest.$ac_ext
35409 LIBS=$ac_check_lib_save_LIBS
35410 fi
35411 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35412 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35413 if test $ac_cv_lib_w_wcslen = yes; then
35414
35415 WCHAR_LINK=" -lw"
35416 WCSLEN_FOUND=1
35417
35418 fi
35419
35420 fi
35421 fi
35422
35423 if test "$WCSLEN_FOUND" = 1; then
35424 cat >>confdefs.h <<\_ACEOF
35425 #define HAVE_WCSLEN 1
35426 _ACEOF
35427
35428 fi
35429
35430 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35431 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35432 fi
35433
35434 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35435 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35436 if test "${ac_cv_type_mbstate_t+set}" = set; then
35437 echo $ECHO_N "(cached) $ECHO_C" >&6
35438 else
35439 cat >conftest.$ac_ext <<_ACEOF
35440 /* confdefs.h. */
35441 _ACEOF
35442 cat confdefs.h >>conftest.$ac_ext
35443 cat >>conftest.$ac_ext <<_ACEOF
35444 /* end confdefs.h. */
35445 #include <wchar.h>
35446
35447 int
35448 main ()
35449 {
35450 if ((mbstate_t *) 0)
35451 return 0;
35452 if (sizeof (mbstate_t))
35453 return 0;
35454 ;
35455 return 0;
35456 }
35457 _ACEOF
35458 rm -f conftest.$ac_objext
35459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35460 (eval $ac_compile) 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } &&
35467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35469 (eval $ac_try) 2>&5
35470 ac_status=$?
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); }; } &&
35473 { ac_try='test -s conftest.$ac_objext'
35474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35475 (eval $ac_try) 2>&5
35476 ac_status=$?
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); }; }; then
35479 ac_cv_type_mbstate_t=yes
35480 else
35481 echo "$as_me: failed program was:" >&5
35482 sed 's/^/| /' conftest.$ac_ext >&5
35483
35484 ac_cv_type_mbstate_t=no
35485 fi
35486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35487 fi
35488 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35489 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35490 if test $ac_cv_type_mbstate_t = yes; then
35491
35492 cat >>confdefs.h <<_ACEOF
35493 #define HAVE_MBSTATE_T 1
35494 _ACEOF
35495
35496
35497 for ac_func in wcsrtombs
35498 do
35499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35500 echo "$as_me:$LINENO: checking for $ac_func" >&5
35501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35502 if eval "test \"\${$as_ac_var+set}\" = set"; then
35503 echo $ECHO_N "(cached) $ECHO_C" >&6
35504 else
35505 cat >conftest.$ac_ext <<_ACEOF
35506 /* confdefs.h. */
35507 _ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h. */
35511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35513 #define $ac_func innocuous_$ac_func
35514
35515 /* System header to define __stub macros and hopefully few prototypes,
35516 which can conflict with char $ac_func (); below.
35517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35518 <limits.h> exists even on freestanding compilers. */
35519
35520 #ifdef __STDC__
35521 # include <limits.h>
35522 #else
35523 # include <assert.h>
35524 #endif
35525
35526 #undef $ac_func
35527
35528 /* Override any gcc2 internal prototype to avoid an error. */
35529 #ifdef __cplusplus
35530 extern "C"
35531 {
35532 #endif
35533 /* We use char because int might match the return type of a gcc2
35534 builtin and then its argument prototype would still apply. */
35535 char $ac_func ();
35536 /* The GNU C library defines this for functions which it implements
35537 to always fail with ENOSYS. Some functions are actually named
35538 something starting with __ and the normal name is an alias. */
35539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35540 choke me
35541 #else
35542 char (*f) () = $ac_func;
35543 #endif
35544 #ifdef __cplusplus
35545 }
35546 #endif
35547
35548 int
35549 main ()
35550 {
35551 return f != $ac_func;
35552 ;
35553 return 0;
35554 }
35555 _ACEOF
35556 rm -f conftest.$ac_objext conftest$ac_exeext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35558 (eval $ac_link) 2>conftest.er1
35559 ac_status=$?
35560 grep -v '^ *+' conftest.er1 >conftest.err
35561 rm -f conftest.er1
35562 cat conftest.err >&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } &&
35565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35568 ac_status=$?
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; } &&
35571 { ac_try='test -s conftest$ac_exeext'
35572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35573 (eval $ac_try) 2>&5
35574 ac_status=$?
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); }; }; then
35577 eval "$as_ac_var=yes"
35578 else
35579 echo "$as_me: failed program was:" >&5
35580 sed 's/^/| /' conftest.$ac_ext >&5
35581
35582 eval "$as_ac_var=no"
35583 fi
35584 rm -f conftest.err conftest.$ac_objext \
35585 conftest$ac_exeext conftest.$ac_ext
35586 fi
35587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35589 if test `eval echo '${'$as_ac_var'}'` = yes; then
35590 cat >>confdefs.h <<_ACEOF
35591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597 fi
35598
35599 else
35600 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35601 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35602 fi
35603
35604
35605
35606 for ac_func in snprintf vsnprintf
35607 do
35608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35609 echo "$as_me:$LINENO: checking for $ac_func" >&5
35610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35611 if eval "test \"\${$as_ac_var+set}\" = set"; then
35612 echo $ECHO_N "(cached) $ECHO_C" >&6
35613 else
35614 cat >conftest.$ac_ext <<_ACEOF
35615 /* confdefs.h. */
35616 _ACEOF
35617 cat confdefs.h >>conftest.$ac_ext
35618 cat >>conftest.$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35622 #define $ac_func innocuous_$ac_func
35623
35624 /* System header to define __stub macros and hopefully few prototypes,
35625 which can conflict with char $ac_func (); below.
35626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35627 <limits.h> exists even on freestanding compilers. */
35628
35629 #ifdef __STDC__
35630 # include <limits.h>
35631 #else
35632 # include <assert.h>
35633 #endif
35634
35635 #undef $ac_func
35636
35637 /* Override any gcc2 internal prototype to avoid an error. */
35638 #ifdef __cplusplus
35639 extern "C"
35640 {
35641 #endif
35642 /* We use char because int might match the return type of a gcc2
35643 builtin and then its argument prototype would still apply. */
35644 char $ac_func ();
35645 /* The GNU C library defines this for functions which it implements
35646 to always fail with ENOSYS. Some functions are actually named
35647 something starting with __ and the normal name is an alias. */
35648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35649 choke me
35650 #else
35651 char (*f) () = $ac_func;
35652 #endif
35653 #ifdef __cplusplus
35654 }
35655 #endif
35656
35657 int
35658 main ()
35659 {
35660 return f != $ac_func;
35661 ;
35662 return 0;
35663 }
35664 _ACEOF
35665 rm -f conftest.$ac_objext conftest$ac_exeext
35666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35667 (eval $ac_link) 2>conftest.er1
35668 ac_status=$?
35669 grep -v '^ *+' conftest.er1 >conftest.err
35670 rm -f conftest.er1
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } &&
35674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676 (eval $ac_try) 2>&5
35677 ac_status=$?
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); }; } &&
35680 { ac_try='test -s conftest$ac_exeext'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; }; then
35686 eval "$as_ac_var=yes"
35687 else
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.$ac_ext >&5
35690
35691 eval "$as_ac_var=no"
35692 fi
35693 rm -f conftest.err conftest.$ac_objext \
35694 conftest$ac_exeext conftest.$ac_ext
35695 fi
35696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35698 if test `eval echo '${'$as_ac_var'}'` = yes; then
35699 cat >>confdefs.h <<_ACEOF
35700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35701 _ACEOF
35702
35703 fi
35704 done
35705
35706
35707 if test "$ac_cv_func_vsnprintf" = "yes"; then
35708 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35709 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35710 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35711 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 else
35713
35714 cat >conftest.$ac_ext <<_ACEOF
35715 /* confdefs.h. */
35716 _ACEOF
35717 cat confdefs.h >>conftest.$ac_ext
35718 cat >>conftest.$ac_ext <<_ACEOF
35719 /* end confdefs.h. */
35720
35721 #include <stdio.h>
35722 #include <stdarg.h>
35723 #ifdef __MSL__
35724 #if __MSL__ >= 0x6000
35725 namespace std {}
35726 using namespace std;
35727 #endif
35728 #endif
35729
35730 int
35731 main ()
35732 {
35733
35734 char *buf;
35735 va_list ap;
35736 vsnprintf(buf, 10u, "%s", ap);
35737
35738 ;
35739 return 0;
35740 }
35741 _ACEOF
35742 rm -f conftest.$ac_objext
35743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35744 (eval $ac_compile) 2>conftest.er1
35745 ac_status=$?
35746 grep -v '^ *+' conftest.er1 >conftest.err
35747 rm -f conftest.er1
35748 cat conftest.err >&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); } &&
35751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35754 ac_status=$?
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; } &&
35757 { ac_try='test -s conftest.$ac_objext'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; }; then
35763 wx_cv_func_vsnprintf_decl=yes
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 wx_cv_func_vsnprintf_decl=no
35769
35770 fi
35771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35772
35773
35774 fi
35775 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35776 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35777
35778 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35779 cat >>confdefs.h <<\_ACEOF
35780 #define HAVE_VSNPRINTF_DECL 1
35781 _ACEOF
35782
35783
35784 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35785 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35786 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35787 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 else
35789
35790 cat >conftest.$ac_ext <<_ACEOF
35791 /* confdefs.h. */
35792 _ACEOF
35793 cat confdefs.h >>conftest.$ac_ext
35794 cat >>conftest.$ac_ext <<_ACEOF
35795 /* end confdefs.h. */
35796
35797 #include <stdio.h>
35798 #include <stdarg.h>
35799 #ifdef __MSL__
35800 #if __MSL__ >= 0x6000
35801 namespace std {}
35802 using namespace std;
35803 #endif
35804 #endif
35805
35806 int
35807 main ()
35808 {
35809
35810 char *buf;
35811 va_list ap;
35812 const char *fmt = "%s";
35813 vsnprintf(buf, 10u, fmt, ap);
35814
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 rm -f conftest.$ac_objext
35820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35821 (eval $ac_compile) 2>conftest.er1
35822 ac_status=$?
35823 grep -v '^ *+' conftest.er1 >conftest.err
35824 rm -f conftest.er1
35825 cat conftest.err >&5
35826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35827 (exit $ac_status); } &&
35828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35830 (eval $ac_try) 2>&5
35831 ac_status=$?
35832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35833 (exit $ac_status); }; } &&
35834 { ac_try='test -s conftest.$ac_objext'
35835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35836 (eval $ac_try) 2>&5
35837 ac_status=$?
35838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839 (exit $ac_status); }; }; then
35840 wx_cv_func_broken_vsnprintf_decl=no
35841 else
35842 echo "$as_me: failed program was:" >&5
35843 sed 's/^/| /' conftest.$ac_ext >&5
35844
35845 wx_cv_func_broken_vsnprintf_decl=yes
35846
35847 fi
35848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35849
35850
35851 fi
35852 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35853 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35854
35855 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35856 cat >>confdefs.h <<\_ACEOF
35857 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35858 _ACEOF
35859
35860 fi
35861 fi
35862 fi
35863
35864 if test "$ac_cv_func_snprintf" = "yes"; then
35865 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35866 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35867 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35868 echo $ECHO_N "(cached) $ECHO_C" >&6
35869 else
35870
35871 cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h. */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877
35878 #include <stdio.h>
35879 #include <stdarg.h>
35880 #ifdef __MSL__
35881 #if __MSL__ >= 0x6000
35882 namespace std {}
35883 using namespace std;
35884 #endif
35885 #endif
35886
35887 int
35888 main ()
35889 {
35890
35891 char *buf;
35892 snprintf(buf, 10u, "%s", "wx");
35893
35894 ;
35895 return 0;
35896 }
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35900 (eval $ac_compile) 2>conftest.er1
35901 ac_status=$?
35902 grep -v '^ *+' conftest.er1 >conftest.err
35903 rm -f conftest.er1
35904 cat conftest.err >&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); } &&
35907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909 (eval $ac_try) 2>&5
35910 ac_status=$?
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); }; } &&
35913 { ac_try='test -s conftest.$ac_objext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35916 ac_status=$?
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 wx_cv_func_snprintf_decl=yes
35920 else
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.$ac_ext >&5
35923
35924 wx_cv_func_snprintf_decl=no
35925
35926 fi
35927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35928
35929
35930 fi
35931 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35932 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35933
35934 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35935 cat >>confdefs.h <<\_ACEOF
35936 #define HAVE_SNPRINTF_DECL 1
35937 _ACEOF
35938
35939
35940 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35941 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35942 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35943 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 else
35945
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
35953 #include <stdio.h>
35954 #include <stdarg.h>
35955 #ifdef __MSL__
35956 #if __MSL__ >= 0x6000
35957 namespace std {}
35958 using namespace std;
35959 #endif
35960 #endif
35961
35962 int
35963 main ()
35964 {
35965
35966 char *buf;
35967 const char *fmt = "%s";
35968 snprintf(buf, 10u, fmt, "wx");
35969
35970 ;
35971 return 0;
35972 }
35973 _ACEOF
35974 rm -f conftest.$ac_objext
35975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35976 (eval $ac_compile) 2>conftest.er1
35977 ac_status=$?
35978 grep -v '^ *+' conftest.er1 >conftest.err
35979 rm -f conftest.er1
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } &&
35983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35986 ac_status=$?
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; } &&
35989 { ac_try='test -s conftest.$ac_objext'
35990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35991 (eval $ac_try) 2>&5
35992 ac_status=$?
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); }; }; then
35995 wx_cv_func_broken_snprintf_decl=no
35996 else
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.$ac_ext >&5
35999
36000 wx_cv_func_broken_snprintf_decl=yes
36001
36002 fi
36003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36004
36005
36006 fi
36007 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36008 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36009
36010 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36011 cat >>confdefs.h <<\_ACEOF
36012 #define HAVE_BROKEN_SNPRINTF_DECL 1
36013 _ACEOF
36014
36015 fi
36016 fi
36017
36018 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36019
36020 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36021 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36022 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36023 echo $ECHO_N "(cached) $ECHO_C" >&6
36024 else
36025
36026 if test "$cross_compiling" = yes; then
36027
36028 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36029 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36030 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36031 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36032 wx_cv_func_snprintf_pos_params=no
36033
36034
36035 else
36036 cat >conftest.$ac_ext <<_ACEOF
36037 /* confdefs.h. */
36038 _ACEOF
36039 cat confdefs.h >>conftest.$ac_ext
36040 cat >>conftest.$ac_ext <<_ACEOF
36041 /* end confdefs.h. */
36042
36043 #include <stdio.h>
36044
36045 int main (void)
36046 {
36047 char buffer[128];
36048 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
36049 if (strcmp ("2 3 1", buffer) == 0)
36050 exit (0);
36051 exit (1);
36052 }
36053
36054 _ACEOF
36055 rm -f conftest$ac_exeext
36056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36057 (eval $ac_link) 2>&5
36058 ac_status=$?
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062 (eval $ac_try) 2>&5
36063 ac_status=$?
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; }; then
36066 wx_cv_func_snprintf_pos_params=no
36067 else
36068 echo "$as_me: program exited with status $ac_status" >&5
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.$ac_ext >&5
36071
36072 ( exit $ac_status )
36073 wx_cv_func_snprintf_pos_params=yes
36074 fi
36075 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36076 fi
36077
36078
36079 fi
36080 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36081 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36082
36083 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36084 cat >>confdefs.h <<\_ACEOF
36085 #define HAVE_UNIX98_PRINTF 1
36086 _ACEOF
36087
36088 fi
36089 fi
36090 fi
36091
36092 if test "$wxUSE_UNICODE" = yes; then
36093
36094
36095 for ac_func in swprintf
36096 do
36097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36098 echo "$as_me:$LINENO: checking for $ac_func" >&5
36099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36100 if eval "test \"\${$as_ac_var+set}\" = set"; then
36101 echo $ECHO_N "(cached) $ECHO_C" >&6
36102 else
36103 cat >conftest.$ac_ext <<_ACEOF
36104 /* confdefs.h. */
36105 _ACEOF
36106 cat confdefs.h >>conftest.$ac_ext
36107 cat >>conftest.$ac_ext <<_ACEOF
36108 /* end confdefs.h. */
36109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36111 #define $ac_func innocuous_$ac_func
36112
36113 /* System header to define __stub macros and hopefully few prototypes,
36114 which can conflict with char $ac_func (); below.
36115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36116 <limits.h> exists even on freestanding compilers. */
36117
36118 #ifdef __STDC__
36119 # include <limits.h>
36120 #else
36121 # include <assert.h>
36122 #endif
36123
36124 #undef $ac_func
36125
36126 /* Override any gcc2 internal prototype to avoid an error. */
36127 #ifdef __cplusplus
36128 extern "C"
36129 {
36130 #endif
36131 /* We use char because int might match the return type of a gcc2
36132 builtin and then its argument prototype would still apply. */
36133 char $ac_func ();
36134 /* The GNU C library defines this for functions which it implements
36135 to always fail with ENOSYS. Some functions are actually named
36136 something starting with __ and the normal name is an alias. */
36137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36138 choke me
36139 #else
36140 char (*f) () = $ac_func;
36141 #endif
36142 #ifdef __cplusplus
36143 }
36144 #endif
36145
36146 int
36147 main ()
36148 {
36149 return f != $ac_func;
36150 ;
36151 return 0;
36152 }
36153 _ACEOF
36154 rm -f conftest.$ac_objext conftest$ac_exeext
36155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36156 (eval $ac_link) 2>conftest.er1
36157 ac_status=$?
36158 grep -v '^ *+' conftest.er1 >conftest.err
36159 rm -f conftest.er1
36160 cat conftest.err >&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); } &&
36163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest$ac_exeext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 eval "$as_ac_var=yes"
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180 eval "$as_ac_var=no"
36181 fi
36182 rm -f conftest.err conftest.$ac_objext \
36183 conftest$ac_exeext conftest.$ac_ext
36184 fi
36185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36187 if test `eval echo '${'$as_ac_var'}'` = yes; then
36188 cat >>confdefs.h <<_ACEOF
36189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36190 _ACEOF
36191
36192 fi
36193 done
36194
36195
36196 if test "$ac_cv_func_swprintf" = "yes"; then
36197 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36198 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36199 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36200 echo $ECHO_N "(cached) $ECHO_C" >&6
36201 else
36202
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209
36210 #include <stdio.h>
36211 #include <stdarg.h>
36212 #include <wchar.h>
36213
36214 int
36215 main ()
36216 {
36217
36218 wchar_t *buf;
36219 const wchar_t *fmt = L"test";
36220 swprintf(buf, 10u, fmt);
36221
36222 ;
36223 return 0;
36224 }
36225 _ACEOF
36226 rm -f conftest.$ac_objext
36227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36228 (eval $ac_compile) 2>conftest.er1
36229 ac_status=$?
36230 grep -v '^ *+' conftest.er1 >conftest.err
36231 rm -f conftest.er1
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } &&
36235 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36237 (eval $ac_try) 2>&5
36238 ac_status=$?
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); }; } &&
36241 { ac_try='test -s conftest.$ac_objext'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; }; then
36247 wx_cv_func_broken_swprintf_decl=no
36248 else
36249 echo "$as_me: failed program was:" >&5
36250 sed 's/^/| /' conftest.$ac_ext >&5
36251
36252 wx_cv_func_broken_swprintf_decl=yes
36253
36254 fi
36255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36256
36257
36258 fi
36259 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36260 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36261
36262 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36263 cat >>confdefs.h <<\_ACEOF
36264 #define HAVE_BROKEN_SWPRINTF_DECL 1
36265 _ACEOF
36266
36267 fi
36268 fi
36269
36270
36271
36272
36273
36274
36275
36276 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36277 do
36278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36279 echo "$as_me:$LINENO: checking for $ac_func" >&5
36280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36281 if eval "test \"\${$as_ac_var+set}\" = set"; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36283 else
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36292 #define $ac_func innocuous_$ac_func
36293
36294 /* System header to define __stub macros and hopefully few prototypes,
36295 which can conflict with char $ac_func (); below.
36296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36297 <limits.h> exists even on freestanding compilers. */
36298
36299 #ifdef __STDC__
36300 # include <limits.h>
36301 #else
36302 # include <assert.h>
36303 #endif
36304
36305 #undef $ac_func
36306
36307 /* Override any gcc2 internal prototype to avoid an error. */
36308 #ifdef __cplusplus
36309 extern "C"
36310 {
36311 #endif
36312 /* We use char because int might match the return type of a gcc2
36313 builtin and then its argument prototype would still apply. */
36314 char $ac_func ();
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36319 choke me
36320 #else
36321 char (*f) () = $ac_func;
36322 #endif
36323 #ifdef __cplusplus
36324 }
36325 #endif
36326
36327 int
36328 main ()
36329 {
36330 return f != $ac_func;
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext conftest$ac_exeext
36336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36337 (eval $ac_link) 2>conftest.er1
36338 ac_status=$?
36339 grep -v '^ *+' conftest.er1 >conftest.err
36340 rm -f conftest.er1
36341 cat conftest.err >&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } &&
36344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; } &&
36350 { ac_try='test -s conftest$ac_exeext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36353 ac_status=$?
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 eval "$as_ac_var=yes"
36357 else
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36360
36361 eval "$as_ac_var=no"
36362 fi
36363 rm -f conftest.err conftest.$ac_objext \
36364 conftest$ac_exeext conftest.$ac_ext
36365 fi
36366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372
36373 fi
36374 done
36375
36376
36377 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36378 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36379 cat >conftest.$ac_ext <<_ACEOF
36380 /* confdefs.h. */
36381 _ACEOF
36382 cat confdefs.h >>conftest.$ac_ext
36383 cat >>conftest.$ac_ext <<_ACEOF
36384 /* end confdefs.h. */
36385 #include <wchar.h>
36386 int
36387 main ()
36388 {
36389 &_vsnwprintf;
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36396 (eval $ac_compile) 2>conftest.er1
36397 ac_status=$?
36398 grep -v '^ *+' conftest.er1 >conftest.err
36399 rm -f conftest.er1
36400 cat conftest.err >&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36405 (eval $ac_try) 2>&5
36406 ac_status=$?
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); }; } &&
36409 { ac_try='test -s conftest.$ac_objext'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36412 ac_status=$?
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; }; then
36415 echo "$as_me:$LINENO: result: yes" >&5
36416 echo "${ECHO_T}yes" >&6
36417 cat >>confdefs.h <<\_ACEOF
36418 #define HAVE__VSNWPRINTF 1
36419 _ACEOF
36420
36421 else
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36424
36425 echo "$as_me:$LINENO: result: no" >&5
36426 echo "${ECHO_T}no" >&6
36427 fi
36428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36429 fi
36430
36431 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36432
36433 for ac_func in fnmatch
36434 do
36435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36436 echo "$as_me:$LINENO: checking for $ac_func" >&5
36437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36438 if eval "test \"\${$as_ac_var+set}\" = set"; then
36439 echo $ECHO_N "(cached) $ECHO_C" >&6
36440 else
36441 cat >conftest.$ac_ext <<_ACEOF
36442 /* confdefs.h. */
36443 _ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36449 #define $ac_func innocuous_$ac_func
36450
36451 /* System header to define __stub macros and hopefully few prototypes,
36452 which can conflict with char $ac_func (); below.
36453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36454 <limits.h> exists even on freestanding compilers. */
36455
36456 #ifdef __STDC__
36457 # include <limits.h>
36458 #else
36459 # include <assert.h>
36460 #endif
36461
36462 #undef $ac_func
36463
36464 /* Override any gcc2 internal prototype to avoid an error. */
36465 #ifdef __cplusplus
36466 extern "C"
36467 {
36468 #endif
36469 /* We use char because int might match the return type of a gcc2
36470 builtin and then its argument prototype would still apply. */
36471 char $ac_func ();
36472 /* The GNU C library defines this for functions which it implements
36473 to always fail with ENOSYS. Some functions are actually named
36474 something starting with __ and the normal name is an alias. */
36475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36476 choke me
36477 #else
36478 char (*f) () = $ac_func;
36479 #endif
36480 #ifdef __cplusplus
36481 }
36482 #endif
36483
36484 int
36485 main ()
36486 {
36487 return f != $ac_func;
36488 ;
36489 return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext conftest$ac_exeext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36494 (eval $ac_link) 2>conftest.er1
36495 ac_status=$?
36496 grep -v '^ *+' conftest.er1 >conftest.err
36497 rm -f conftest.er1
36498 cat conftest.err >&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); } &&
36501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36503 (eval $ac_try) 2>&5
36504 ac_status=$?
36505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36506 (exit $ac_status); }; } &&
36507 { ac_try='test -s conftest$ac_exeext'
36508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36509 (eval $ac_try) 2>&5
36510 ac_status=$?
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); }; }; then
36513 eval "$as_ac_var=yes"
36514 else
36515 echo "$as_me: failed program was:" >&5
36516 sed 's/^/| /' conftest.$ac_ext >&5
36517
36518 eval "$as_ac_var=no"
36519 fi
36520 rm -f conftest.err conftest.$ac_objext \
36521 conftest$ac_exeext conftest.$ac_ext
36522 fi
36523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36525 if test `eval echo '${'$as_ac_var'}'` = yes; then
36526 cat >>confdefs.h <<_ACEOF
36527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36528 _ACEOF
36529
36530 fi
36531 done
36532
36533 fi
36534
36535 if test "$wxUSE_FILE" = "yes"; then
36536
36537 for ac_func in fsync
36538 do
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36542 if eval "test \"\${$as_ac_var+set}\" = set"; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545 cat >conftest.$ac_ext <<_ACEOF
36546 /* confdefs.h. */
36547 _ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36554
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36559
36560 #ifdef __STDC__
36561 # include <limits.h>
36562 #else
36563 # include <assert.h>
36564 #endif
36565
36566 #undef $ac_func
36567
36568 /* Override any gcc2 internal prototype to avoid an error. */
36569 #ifdef __cplusplus
36570 extern "C"
36571 {
36572 #endif
36573 /* We use char because int might match the return type of a gcc2
36574 builtin and then its argument prototype would still apply. */
36575 char $ac_func ();
36576 /* The GNU C library defines this for functions which it implements
36577 to always fail with ENOSYS. Some functions are actually named
36578 something starting with __ and the normal name is an alias. */
36579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36580 choke me
36581 #else
36582 char (*f) () = $ac_func;
36583 #endif
36584 #ifdef __cplusplus
36585 }
36586 #endif
36587
36588 int
36589 main ()
36590 {
36591 return f != $ac_func;
36592 ;
36593 return 0;
36594 }
36595 _ACEOF
36596 rm -f conftest.$ac_objext conftest$ac_exeext
36597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36598 (eval $ac_link) 2>conftest.er1
36599 ac_status=$?
36600 grep -v '^ *+' conftest.er1 >conftest.err
36601 rm -f conftest.er1
36602 cat conftest.err >&5
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); } &&
36605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36607 (eval $ac_try) 2>&5
36608 ac_status=$?
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); }; } &&
36611 { ac_try='test -s conftest$ac_exeext'
36612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36613 (eval $ac_try) 2>&5
36614 ac_status=$?
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); }; }; then
36617 eval "$as_ac_var=yes"
36618 else
36619 echo "$as_me: failed program was:" >&5
36620 sed 's/^/| /' conftest.$ac_ext >&5
36621
36622 eval "$as_ac_var=no"
36623 fi
36624 rm -f conftest.err conftest.$ac_objext \
36625 conftest$ac_exeext conftest.$ac_ext
36626 fi
36627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36629 if test `eval echo '${'$as_ac_var'}'` = yes; then
36630 cat >>confdefs.h <<_ACEOF
36631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36632 _ACEOF
36633
36634 fi
36635 done
36636
36637 fi
36638
36639
36640 for ac_func in round
36641 do
36642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36645 if eval "test \"\${$as_ac_var+set}\" = set"; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36657
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36662
36663 #ifdef __STDC__
36664 # include <limits.h>
36665 #else
36666 # include <assert.h>
36667 #endif
36668
36669 #undef $ac_func
36670
36671 /* Override any gcc2 internal prototype to avoid an error. */
36672 #ifdef __cplusplus
36673 extern "C"
36674 {
36675 #endif
36676 /* We use char because int might match the return type of a gcc2
36677 builtin and then its argument prototype would still apply. */
36678 char $ac_func ();
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36683 choke me
36684 #else
36685 char (*f) () = $ac_func;
36686 #endif
36687 #ifdef __cplusplus
36688 }
36689 #endif
36690
36691 int
36692 main ()
36693 {
36694 return f != $ac_func;
36695 ;
36696 return 0;
36697 }
36698 _ACEOF
36699 rm -f conftest.$ac_objext conftest$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36711 ac_status=$?
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; } &&
36714 { ac_try='test -s conftest$ac_exeext'
36715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36716 (eval $ac_try) 2>&5
36717 ac_status=$?
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); }; }; then
36720 eval "$as_ac_var=yes"
36721 else
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36724
36725 eval "$as_ac_var=no"
36726 fi
36727 rm -f conftest.err conftest.$ac_objext \
36728 conftest$ac_exeext conftest.$ac_ext
36729 fi
36730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36732 if test `eval echo '${'$as_ac_var'}'` = yes; then
36733 cat >>confdefs.h <<_ACEOF
36734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36735 _ACEOF
36736
36737 fi
36738 done
36739
36740 if test "$ac_cv_func_round" = yes; then
36741 echo "$as_me:$LINENO: checking whether round is declared" >&5
36742 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36743 if test "${ac_cv_have_decl_round+set}" = set; then
36744 echo $ECHO_N "(cached) $ECHO_C" >&6
36745 else
36746 cat >conftest.$ac_ext <<_ACEOF
36747 /* confdefs.h. */
36748 _ACEOF
36749 cat confdefs.h >>conftest.$ac_ext
36750 cat >>conftest.$ac_ext <<_ACEOF
36751 /* end confdefs.h. */
36752 #include <math.h>
36753
36754 int
36755 main ()
36756 {
36757 #ifndef round
36758 char *p = (char *) round;
36759 #endif
36760
36761 ;
36762 return 0;
36763 }
36764 _ACEOF
36765 rm -f conftest.$ac_objext
36766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36767 (eval $ac_compile) 2>conftest.er1
36768 ac_status=$?
36769 grep -v '^ *+' conftest.er1 >conftest.err
36770 rm -f conftest.er1
36771 cat conftest.err >&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); } &&
36774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36777 ac_status=$?
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; } &&
36780 { ac_try='test -s conftest.$ac_objext'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36783 ac_status=$?
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; }; then
36786 ac_cv_have_decl_round=yes
36787 else
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36790
36791 ac_cv_have_decl_round=no
36792 fi
36793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36794 fi
36795 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36796 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36797 if test $ac_cv_have_decl_round = yes; then
36798
36799 cat >>confdefs.h <<_ACEOF
36800 #define HAVE_DECL_ROUND 1
36801 _ACEOF
36802
36803
36804 else
36805 cat >>confdefs.h <<_ACEOF
36806 #define HAVE_DECL_ROUND 0
36807 _ACEOF
36808
36809
36810 fi
36811
36812
36813 fi
36814
36815
36816 if test "$TOOLKIT" != "MSW"; then
36817
36818
36819
36820
36821
36822 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36823 if test "${with_libiconv_prefix+set}" = set; then
36824 withval="$with_libiconv_prefix"
36825
36826 for dir in `echo "$withval" | tr : ' '`; do
36827 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36828 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36829 done
36830
36831 fi;
36832
36833 echo "$as_me:$LINENO: checking for iconv" >&5
36834 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36835 if test "${am_cv_func_iconv+set}" = set; then
36836 echo $ECHO_N "(cached) $ECHO_C" >&6
36837 else
36838
36839 am_cv_func_iconv="no, consider installing GNU libiconv"
36840 am_cv_lib_iconv=no
36841 cat >conftest.$ac_ext <<_ACEOF
36842 /* confdefs.h. */
36843 _ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36847 #include <stdlib.h>
36848 #include <iconv.h>
36849 int
36850 main ()
36851 {
36852 iconv_t cd = iconv_open("","");
36853 iconv(cd,NULL,NULL,NULL,NULL);
36854 iconv_close(cd);
36855 ;
36856 return 0;
36857 }
36858 _ACEOF
36859 rm -f conftest.$ac_objext conftest$ac_exeext
36860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36861 (eval $ac_link) 2>conftest.er1
36862 ac_status=$?
36863 grep -v '^ *+' conftest.er1 >conftest.err
36864 rm -f conftest.er1
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } &&
36868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36870 (eval $ac_try) 2>&5
36871 ac_status=$?
36872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873 (exit $ac_status); }; } &&
36874 { ac_try='test -s conftest$ac_exeext'
36875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 (eval $ac_try) 2>&5
36877 ac_status=$?
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; }; then
36880 am_cv_func_iconv=yes
36881 else
36882 echo "$as_me: failed program was:" >&5
36883 sed 's/^/| /' conftest.$ac_ext >&5
36884
36885 fi
36886 rm -f conftest.err conftest.$ac_objext \
36887 conftest$ac_exeext conftest.$ac_ext
36888 if test "$am_cv_func_iconv" != yes; then
36889 am_save_LIBS="$LIBS"
36890 LIBS="$LIBS -liconv"
36891 cat >conftest.$ac_ext <<_ACEOF
36892 /* confdefs.h. */
36893 _ACEOF
36894 cat confdefs.h >>conftest.$ac_ext
36895 cat >>conftest.$ac_ext <<_ACEOF
36896 /* end confdefs.h. */
36897 #include <stdlib.h>
36898 #include <iconv.h>
36899 int
36900 main ()
36901 {
36902 iconv_t cd = iconv_open("","");
36903 iconv(cd,NULL,NULL,NULL,NULL);
36904 iconv_close(cd);
36905 ;
36906 return 0;
36907 }
36908 _ACEOF
36909 rm -f conftest.$ac_objext conftest$ac_exeext
36910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36911 (eval $ac_link) 2>conftest.er1
36912 ac_status=$?
36913 grep -v '^ *+' conftest.er1 >conftest.err
36914 rm -f conftest.er1
36915 cat conftest.err >&5
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); } &&
36918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36927 ac_status=$?
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 am_cv_lib_iconv=yes
36931 am_cv_func_iconv=yes
36932 else
36933 echo "$as_me: failed program was:" >&5
36934 sed 's/^/| /' conftest.$ac_ext >&5
36935
36936 fi
36937 rm -f conftest.err conftest.$ac_objext \
36938 conftest$ac_exeext conftest.$ac_ext
36939 LIBS="$am_save_LIBS"
36940 fi
36941
36942 fi
36943 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36944 echo "${ECHO_T}$am_cv_func_iconv" >&6
36945 if test "$am_cv_func_iconv" = yes; then
36946
36947 cat >>confdefs.h <<\_ACEOF
36948 #define HAVE_ICONV 1
36949 _ACEOF
36950
36951 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36952 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36953 if test "${wx_cv_func_iconv_const+set}" = set; then
36954 echo $ECHO_N "(cached) $ECHO_C" >&6
36955 else
36956 cat >conftest.$ac_ext <<_ACEOF
36957 /* confdefs.h. */
36958 _ACEOF
36959 cat confdefs.h >>conftest.$ac_ext
36960 cat >>conftest.$ac_ext <<_ACEOF
36961 /* end confdefs.h. */
36962
36963 #include <stdlib.h>
36964 #include <iconv.h>
36965 extern
36966 #ifdef __cplusplus
36967 "C"
36968 #endif
36969 #if defined(__STDC__) || defined(__cplusplus)
36970 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36971 #else
36972 size_t iconv();
36973 #endif
36974
36975 int
36976 main ()
36977 {
36978
36979 ;
36980 return 0;
36981 }
36982 _ACEOF
36983 rm -f conftest.$ac_objext
36984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36985 (eval $ac_compile) 2>conftest.er1
36986 ac_status=$?
36987 grep -v '^ *+' conftest.er1 >conftest.err
36988 rm -f conftest.er1
36989 cat conftest.err >&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } &&
36992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; } &&
36998 { ac_try='test -s conftest.$ac_objext'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; }; then
37004 wx_cv_func_iconv_const="no"
37005 else
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.$ac_ext >&5
37008
37009 wx_cv_func_iconv_const="yes"
37010
37011 fi
37012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37013
37014 fi
37015 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37016 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37017
37018 iconv_const=
37019 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37020 iconv_const="const"
37021 fi
37022
37023
37024 cat >>confdefs.h <<_ACEOF
37025 #define ICONV_CONST $iconv_const
37026 _ACEOF
37027
37028 fi
37029 LIBICONV=
37030 if test "$am_cv_lib_iconv" = yes; then
37031 LIBICONV="-liconv"
37032 fi
37033
37034
37035 LIBS="$LIBICONV $LIBS"
37036
37037 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37038
37039 for ac_func in sigaction
37040 do
37041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37042 echo "$as_me:$LINENO: checking for $ac_func" >&5
37043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37044 if eval "test \"\${$as_ac_var+set}\" = set"; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 else
37047 cat >conftest.$ac_ext <<_ACEOF
37048 /* confdefs.h. */
37049 _ACEOF
37050 cat confdefs.h >>conftest.$ac_ext
37051 cat >>conftest.$ac_ext <<_ACEOF
37052 /* end confdefs.h. */
37053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37055 #define $ac_func innocuous_$ac_func
37056
37057 /* System header to define __stub macros and hopefully few prototypes,
37058 which can conflict with char $ac_func (); below.
37059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37060 <limits.h> exists even on freestanding compilers. */
37061
37062 #ifdef __STDC__
37063 # include <limits.h>
37064 #else
37065 # include <assert.h>
37066 #endif
37067
37068 #undef $ac_func
37069
37070 /* Override any gcc2 internal prototype to avoid an error. */
37071 #ifdef __cplusplus
37072 extern "C"
37073 {
37074 #endif
37075 /* We use char because int might match the return type of a gcc2
37076 builtin and then its argument prototype would still apply. */
37077 char $ac_func ();
37078 /* The GNU C library defines this for functions which it implements
37079 to always fail with ENOSYS. Some functions are actually named
37080 something starting with __ and the normal name is an alias. */
37081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37082 choke me
37083 #else
37084 char (*f) () = $ac_func;
37085 #endif
37086 #ifdef __cplusplus
37087 }
37088 #endif
37089
37090 int
37091 main ()
37092 {
37093 return f != $ac_func;
37094 ;
37095 return 0;
37096 }
37097 _ACEOF
37098 rm -f conftest.$ac_objext conftest$ac_exeext
37099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37100 (eval $ac_link) 2>conftest.er1
37101 ac_status=$?
37102 grep -v '^ *+' conftest.er1 >conftest.err
37103 rm -f conftest.er1
37104 cat conftest.err >&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); } &&
37107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37109 (eval $ac_try) 2>&5
37110 ac_status=$?
37111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37112 (exit $ac_status); }; } &&
37113 { ac_try='test -s conftest$ac_exeext'
37114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37115 (eval $ac_try) 2>&5
37116 ac_status=$?
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); }; }; then
37119 eval "$as_ac_var=yes"
37120 else
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.$ac_ext >&5
37123
37124 eval "$as_ac_var=no"
37125 fi
37126 rm -f conftest.err conftest.$ac_objext \
37127 conftest$ac_exeext conftest.$ac_ext
37128 fi
37129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37131 if test `eval echo '${'$as_ac_var'}'` = yes; then
37132 cat >>confdefs.h <<_ACEOF
37133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37134 _ACEOF
37135
37136 fi
37137 done
37138
37139
37140 if test "$ac_cv_func_sigaction" = "no"; then
37141 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37142 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37143 wxUSE_ON_FATAL_EXCEPTION=no
37144 fi
37145
37146 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37147 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37148 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37149 if test "${wx_cv_type_sa_handler+set}" = set; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37151 else
37152
37153 cat >conftest.$ac_ext <<_ACEOF
37154 /* confdefs.h. */
37155 _ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37159 #include <signal.h>
37160 int
37161 main ()
37162 {
37163
37164 extern void testSigHandler(int);
37165
37166 struct sigaction sa;
37167 sa.sa_handler = testSigHandler;
37168
37169 ;
37170 return 0;
37171 }
37172 _ACEOF
37173 rm -f conftest.$ac_objext
37174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37175 (eval $ac_compile) 2>conftest.er1
37176 ac_status=$?
37177 grep -v '^ *+' conftest.er1 >conftest.err
37178 rm -f conftest.er1
37179 cat conftest.err >&5
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); } &&
37182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37184 (eval $ac_try) 2>&5
37185 ac_status=$?
37186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37187 (exit $ac_status); }; } &&
37188 { ac_try='test -s conftest.$ac_objext'
37189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37190 (eval $ac_try) 2>&5
37191 ac_status=$?
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); }; }; then
37194
37195 wx_cv_type_sa_handler=int
37196
37197 else
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37200
37201
37202 wx_cv_type_sa_handler=void
37203
37204 fi
37205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37206
37207 fi
37208 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37209 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37210
37211 cat >>confdefs.h <<_ACEOF
37212 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37213 _ACEOF
37214
37215 fi
37216 fi
37217
37218 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37219 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37220 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37221 if test "${wx_cv_func_backtrace+set}" = set; then
37222 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 else
37224
37225 cat >conftest.$ac_ext <<_ACEOF
37226 /* confdefs.h. */
37227 _ACEOF
37228 cat confdefs.h >>conftest.$ac_ext
37229 cat >>conftest.$ac_ext <<_ACEOF
37230 /* end confdefs.h. */
37231 #include <execinfo.h>
37232 int
37233 main ()
37234 {
37235
37236 void *trace[1];
37237 char **messages;
37238
37239 backtrace(trace, 1);
37240 messages = backtrace_symbols(trace, 1);
37241
37242 ;
37243 return 0;
37244 }
37245 _ACEOF
37246 rm -f conftest.$ac_objext
37247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37248 (eval $ac_compile) 2>conftest.er1
37249 ac_status=$?
37250 grep -v '^ *+' conftest.er1 >conftest.err
37251 rm -f conftest.er1
37252 cat conftest.err >&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); } &&
37255 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257 (eval $ac_try) 2>&5
37258 ac_status=$?
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); }; } &&
37261 { ac_try='test -s conftest.$ac_objext'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37264 ac_status=$?
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; }; then
37267 wx_cv_func_backtrace=yes
37268 else
37269 echo "$as_me: failed program was:" >&5
37270 sed 's/^/| /' conftest.$ac_ext >&5
37271
37272 wx_cv_func_backtrace=no
37273
37274 fi
37275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37276
37277
37278 fi
37279 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37280 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37281
37282
37283 if test "$wx_cv_func_backtrace" = "no"; then
37284 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37285 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37286 wxUSE_STACKWALKER=no
37287 else
37288 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37289 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37290 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37291 echo $ECHO_N "(cached) $ECHO_C" >&6
37292 else
37293
37294 cat >conftest.$ac_ext <<_ACEOF
37295 /* confdefs.h. */
37296 _ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h. */
37300 #include <cxxabi.h>
37301 int
37302 main ()
37303 {
37304
37305 int rc;
37306 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37307
37308 ;
37309 return 0;
37310 }
37311 _ACEOF
37312 rm -f conftest.$ac_objext conftest$ac_exeext
37313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37314 (eval $ac_link) 2>conftest.er1
37315 ac_status=$?
37316 grep -v '^ *+' conftest.er1 >conftest.err
37317 rm -f conftest.er1
37318 cat conftest.err >&5
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); } &&
37321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323 (eval $ac_try) 2>&5
37324 ac_status=$?
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); }; } &&
37327 { ac_try='test -s conftest$ac_exeext'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37330 ac_status=$?
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; }; then
37333 wx_cv_func_cxa_demangle=yes
37334 else
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 wx_cv_func_cxa_demangle=no
37339
37340 fi
37341 rm -f conftest.err conftest.$ac_objext \
37342 conftest$ac_exeext conftest.$ac_ext
37343
37344
37345 fi
37346 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37347 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37348
37349 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37350 cat >>confdefs.h <<\_ACEOF
37351 #define HAVE_CXA_DEMANGLE 1
37352 _ACEOF
37353
37354 fi
37355 fi
37356 fi
37357
37358 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37359 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37360 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37361 wxUSE_STACKWALKER=no
37362 fi
37363
37364
37365
37366
37367 for ac_func in mkstemp mktemp
37368 do
37369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37370 echo "$as_me:$LINENO: checking for $ac_func" >&5
37371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37372 if eval "test \"\${$as_ac_var+set}\" = set"; then
37373 echo $ECHO_N "(cached) $ECHO_C" >&6
37374 else
37375 cat >conftest.$ac_ext <<_ACEOF
37376 /* confdefs.h. */
37377 _ACEOF
37378 cat confdefs.h >>conftest.$ac_ext
37379 cat >>conftest.$ac_ext <<_ACEOF
37380 /* end confdefs.h. */
37381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37383 #define $ac_func innocuous_$ac_func
37384
37385 /* System header to define __stub macros and hopefully few prototypes,
37386 which can conflict with char $ac_func (); below.
37387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37388 <limits.h> exists even on freestanding compilers. */
37389
37390 #ifdef __STDC__
37391 # include <limits.h>
37392 #else
37393 # include <assert.h>
37394 #endif
37395
37396 #undef $ac_func
37397
37398 /* Override any gcc2 internal prototype to avoid an error. */
37399 #ifdef __cplusplus
37400 extern "C"
37401 {
37402 #endif
37403 /* We use char because int might match the return type of a gcc2
37404 builtin and then its argument prototype would still apply. */
37405 char $ac_func ();
37406 /* The GNU C library defines this for functions which it implements
37407 to always fail with ENOSYS. Some functions are actually named
37408 something starting with __ and the normal name is an alias. */
37409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37410 choke me
37411 #else
37412 char (*f) () = $ac_func;
37413 #endif
37414 #ifdef __cplusplus
37415 }
37416 #endif
37417
37418 int
37419 main ()
37420 {
37421 return f != $ac_func;
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 rm -f conftest.$ac_objext conftest$ac_exeext
37427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37428 (eval $ac_link) 2>conftest.er1
37429 ac_status=$?
37430 grep -v '^ *+' conftest.er1 >conftest.err
37431 rm -f conftest.er1
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } &&
37435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37437 (eval $ac_try) 2>&5
37438 ac_status=$?
37439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 (exit $ac_status); }; } &&
37441 { ac_try='test -s conftest$ac_exeext'
37442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37443 (eval $ac_try) 2>&5
37444 ac_status=$?
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); }; }; then
37447 eval "$as_ac_var=yes"
37448 else
37449 echo "$as_me: failed program was:" >&5
37450 sed 's/^/| /' conftest.$ac_ext >&5
37451
37452 eval "$as_ac_var=no"
37453 fi
37454 rm -f conftest.err conftest.$ac_objext \
37455 conftest$ac_exeext conftest.$ac_ext
37456 fi
37457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37459 if test `eval echo '${'$as_ac_var'}'` = yes; then
37460 cat >>confdefs.h <<_ACEOF
37461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37462 _ACEOF
37463 break
37464 fi
37465 done
37466
37467
37468 echo "$as_me:$LINENO: checking for statfs" >&5
37469 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37470 if test "${wx_cv_func_statfs+set}" = set; then
37471 echo $ECHO_N "(cached) $ECHO_C" >&6
37472 else
37473 cat >conftest.$ac_ext <<_ACEOF
37474 /* confdefs.h. */
37475 _ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37479
37480 #if defined(__BSD__)
37481 #include <sys/param.h>
37482 #include <sys/mount.h>
37483 #else
37484 #include <sys/vfs.h>
37485 #endif
37486
37487 int
37488 main ()
37489 {
37490
37491 long l;
37492 struct statfs fs;
37493 statfs("/", &fs);
37494 l = fs.f_bsize;
37495 l += fs.f_blocks;
37496 l += fs.f_bavail;
37497
37498 ;
37499 return 0;
37500 }
37501 _ACEOF
37502 rm -f conftest.$ac_objext
37503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37504 (eval $ac_compile) 2>conftest.er1
37505 ac_status=$?
37506 grep -v '^ *+' conftest.er1 >conftest.err
37507 rm -f conftest.er1
37508 cat conftest.err >&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); } &&
37511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37514 ac_status=$?
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; } &&
37517 { ac_try='test -s conftest.$ac_objext'
37518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37519 (eval $ac_try) 2>&5
37520 ac_status=$?
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); }; }; then
37523 wx_cv_func_statfs=yes
37524 else
37525 echo "$as_me: failed program was:" >&5
37526 sed 's/^/| /' conftest.$ac_ext >&5
37527
37528 wx_cv_func_statfs=no
37529
37530 fi
37531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37532
37533 fi
37534 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37535 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37536
37537 if test "$wx_cv_func_statfs" = "yes"; then
37538 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37539 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37540 if test "${wx_cv_func_statfs_decl+set}" = set; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543 cat >conftest.$ac_ext <<_ACEOF
37544 /* confdefs.h. */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549
37550 #if defined(__BSD__)
37551 #include <sys/param.h>
37552 #include <sys/mount.h>
37553 #else
37554 #include <sys/vfs.h>
37555 #endif
37556
37557 int
37558 main ()
37559 {
37560
37561 struct statfs fs;
37562 statfs("", &fs);
37563
37564 ;
37565 return 0;
37566 }
37567 _ACEOF
37568 rm -f conftest.$ac_objext
37569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37570 (eval $ac_compile) 2>conftest.er1
37571 ac_status=$?
37572 grep -v '^ *+' conftest.er1 >conftest.err
37573 rm -f conftest.er1
37574 cat conftest.err >&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } &&
37577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37579 (eval $ac_try) 2>&5
37580 ac_status=$?
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); }; } &&
37583 { ac_try='test -s conftest.$ac_objext'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37586 ac_status=$?
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; }; then
37589 wx_cv_func_statfs_decl=yes
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594 wx_cv_func_statfs_decl=no
37595
37596 fi
37597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37598
37599 fi
37600 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37601 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37602
37603 if test "$wx_cv_func_statfs_decl" = "yes"; then
37604 cat >>confdefs.h <<\_ACEOF
37605 #define HAVE_STATFS_DECL 1
37606 _ACEOF
37607
37608 fi
37609
37610 wx_cv_type_statvfs_t="struct statfs"
37611 cat >>confdefs.h <<\_ACEOF
37612 #define HAVE_STATFS 1
37613 _ACEOF
37614
37615 else
37616 echo "$as_me:$LINENO: checking for statvfs" >&5
37617 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37618 if test "${wx_cv_func_statvfs+set}" = set; then
37619 echo $ECHO_N "(cached) $ECHO_C" >&6
37620 else
37621 cat >conftest.$ac_ext <<_ACEOF
37622 /* confdefs.h. */
37623 _ACEOF
37624 cat confdefs.h >>conftest.$ac_ext
37625 cat >>conftest.$ac_ext <<_ACEOF
37626 /* end confdefs.h. */
37627
37628 #include <stddef.h>
37629 #include <sys/statvfs.h>
37630
37631 int
37632 main ()
37633 {
37634
37635 statvfs("/", NULL);
37636
37637 ;
37638 return 0;
37639 }
37640 _ACEOF
37641 rm -f conftest.$ac_objext
37642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37643 (eval $ac_compile) 2>conftest.er1
37644 ac_status=$?
37645 grep -v '^ *+' conftest.er1 >conftest.err
37646 rm -f conftest.er1
37647 cat conftest.err >&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); } &&
37650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37652 (eval $ac_try) 2>&5
37653 ac_status=$?
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); }; } &&
37656 { ac_try='test -s conftest.$ac_objext'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37659 ac_status=$?
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; }; then
37662 wx_cv_func_statvfs=yes
37663 else
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37666
37667 wx_cv_func_statvfs=no
37668
37669 fi
37670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37671
37672 fi
37673 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37674 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37675
37676 if test "$wx_cv_func_statvfs" = "yes"; then
37677 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37678 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37679 if test "${wx_cv_type_statvfs_t+set}" = set; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37681 else
37682 cat >conftest.$ac_ext <<_ACEOF
37683 /* confdefs.h. */
37684 _ACEOF
37685 cat confdefs.h >>conftest.$ac_ext
37686 cat >>conftest.$ac_ext <<_ACEOF
37687 /* end confdefs.h. */
37688
37689 #include <sys/statvfs.h>
37690
37691 int
37692 main ()
37693 {
37694
37695 long l;
37696 statvfs_t fs;
37697 statvfs("/", &fs);
37698 l = fs.f_bsize;
37699 l += fs.f_blocks;
37700 l += fs.f_bavail;
37701
37702 ;
37703 return 0;
37704 }
37705 _ACEOF
37706 rm -f conftest.$ac_objext
37707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37708 (eval $ac_compile) 2>conftest.er1
37709 ac_status=$?
37710 grep -v '^ *+' conftest.er1 >conftest.err
37711 rm -f conftest.er1
37712 cat conftest.err >&5
37713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37714 (exit $ac_status); } &&
37715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37717 (eval $ac_try) 2>&5
37718 ac_status=$?
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); }; } &&
37721 { ac_try='test -s conftest.$ac_objext'
37722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723 (eval $ac_try) 2>&5
37724 ac_status=$?
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); }; }; then
37727 wx_cv_type_statvfs_t=statvfs_t
37728 else
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37731
37732
37733 cat >conftest.$ac_ext <<_ACEOF
37734 /* confdefs.h. */
37735 _ACEOF
37736 cat confdefs.h >>conftest.$ac_ext
37737 cat >>conftest.$ac_ext <<_ACEOF
37738 /* end confdefs.h. */
37739
37740 #include <sys/statvfs.h>
37741
37742 int
37743 main ()
37744 {
37745
37746 long l;
37747 struct statvfs fs;
37748 statvfs("/", &fs);
37749 l = fs.f_bsize;
37750 l += fs.f_blocks;
37751 l += fs.f_bavail;
37752
37753 ;
37754 return 0;
37755 }
37756 _ACEOF
37757 rm -f conftest.$ac_objext
37758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37759 (eval $ac_compile) 2>conftest.er1
37760 ac_status=$?
37761 grep -v '^ *+' conftest.er1 >conftest.err
37762 rm -f conftest.er1
37763 cat conftest.err >&5
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); } &&
37766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37768 (eval $ac_try) 2>&5
37769 ac_status=$?
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); }; } &&
37772 { ac_try='test -s conftest.$ac_objext'
37773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774 (eval $ac_try) 2>&5
37775 ac_status=$?
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); }; }; then
37778 wx_cv_type_statvfs_t="struct statvfs"
37779 else
37780 echo "$as_me: failed program was:" >&5
37781 sed 's/^/| /' conftest.$ac_ext >&5
37782
37783 wx_cv_type_statvfs_t="unknown"
37784
37785 fi
37786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37787
37788
37789 fi
37790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37791
37792 fi
37793 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37794 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37795
37796 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37797 cat >>confdefs.h <<\_ACEOF
37798 #define HAVE_STATVFS 1
37799 _ACEOF
37800
37801 fi
37802 else
37803 wx_cv_type_statvfs_t="unknown"
37804 fi
37805 fi
37806
37807 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37808 cat >>confdefs.h <<_ACEOF
37809 #define WX_STATFS_T $wx_cv_type_statvfs_t
37810 _ACEOF
37811
37812 else
37813 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37814 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37815 fi
37816
37817 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37818
37819
37820 for ac_func in fcntl flock
37821 do
37822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37823 echo "$as_me:$LINENO: checking for $ac_func" >&5
37824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37825 if eval "test \"\${$as_ac_var+set}\" = set"; then
37826 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 else
37828 cat >conftest.$ac_ext <<_ACEOF
37829 /* confdefs.h. */
37830 _ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37836 #define $ac_func innocuous_$ac_func
37837
37838 /* System header to define __stub macros and hopefully few prototypes,
37839 which can conflict with char $ac_func (); below.
37840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37841 <limits.h> exists even on freestanding compilers. */
37842
37843 #ifdef __STDC__
37844 # include <limits.h>
37845 #else
37846 # include <assert.h>
37847 #endif
37848
37849 #undef $ac_func
37850
37851 /* Override any gcc2 internal prototype to avoid an error. */
37852 #ifdef __cplusplus
37853 extern "C"
37854 {
37855 #endif
37856 /* We use char because int might match the return type of a gcc2
37857 builtin and then its argument prototype would still apply. */
37858 char $ac_func ();
37859 /* The GNU C library defines this for functions which it implements
37860 to always fail with ENOSYS. Some functions are actually named
37861 something starting with __ and the normal name is an alias. */
37862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37863 choke me
37864 #else
37865 char (*f) () = $ac_func;
37866 #endif
37867 #ifdef __cplusplus
37868 }
37869 #endif
37870
37871 int
37872 main ()
37873 {
37874 return f != $ac_func;
37875 ;
37876 return 0;
37877 }
37878 _ACEOF
37879 rm -f conftest.$ac_objext conftest$ac_exeext
37880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37881 (eval $ac_link) 2>conftest.er1
37882 ac_status=$?
37883 grep -v '^ *+' conftest.er1 >conftest.err
37884 rm -f conftest.er1
37885 cat conftest.err >&5
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); } &&
37888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37890 (eval $ac_try) 2>&5
37891 ac_status=$?
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); }; } &&
37894 { ac_try='test -s conftest$ac_exeext'
37895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37896 (eval $ac_try) 2>&5
37897 ac_status=$?
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); }; }; then
37900 eval "$as_ac_var=yes"
37901 else
37902 echo "$as_me: failed program was:" >&5
37903 sed 's/^/| /' conftest.$ac_ext >&5
37904
37905 eval "$as_ac_var=no"
37906 fi
37907 rm -f conftest.err conftest.$ac_objext \
37908 conftest$ac_exeext conftest.$ac_ext
37909 fi
37910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37912 if test `eval echo '${'$as_ac_var'}'` = yes; then
37913 cat >>confdefs.h <<_ACEOF
37914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37915 _ACEOF
37916 break
37917 fi
37918 done
37919
37920
37921 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37922 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37923 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37924 wxUSE_SNGLINST_CHECKER=no
37925 fi
37926 fi
37927
37928
37929 for ac_func in timegm
37930 do
37931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37932 echo "$as_me:$LINENO: checking for $ac_func" >&5
37933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37934 if eval "test \"\${$as_ac_var+set}\" = set"; then
37935 echo $ECHO_N "(cached) $ECHO_C" >&6
37936 else
37937 cat >conftest.$ac_ext <<_ACEOF
37938 /* confdefs.h. */
37939 _ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37945 #define $ac_func innocuous_$ac_func
37946
37947 /* System header to define __stub macros and hopefully few prototypes,
37948 which can conflict with char $ac_func (); below.
37949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37950 <limits.h> exists even on freestanding compilers. */
37951
37952 #ifdef __STDC__
37953 # include <limits.h>
37954 #else
37955 # include <assert.h>
37956 #endif
37957
37958 #undef $ac_func
37959
37960 /* Override any gcc2 internal prototype to avoid an error. */
37961 #ifdef __cplusplus
37962 extern "C"
37963 {
37964 #endif
37965 /* We use char because int might match the return type of a gcc2
37966 builtin and then its argument prototype would still apply. */
37967 char $ac_func ();
37968 /* The GNU C library defines this for functions which it implements
37969 to always fail with ENOSYS. Some functions are actually named
37970 something starting with __ and the normal name is an alias. */
37971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37972 choke me
37973 #else
37974 char (*f) () = $ac_func;
37975 #endif
37976 #ifdef __cplusplus
37977 }
37978 #endif
37979
37980 int
37981 main ()
37982 {
37983 return f != $ac_func;
37984 ;
37985 return 0;
37986 }
37987 _ACEOF
37988 rm -f conftest.$ac_objext conftest$ac_exeext
37989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37990 (eval $ac_link) 2>conftest.er1
37991 ac_status=$?
37992 grep -v '^ *+' conftest.er1 >conftest.err
37993 rm -f conftest.er1
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } &&
37997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37999 (eval $ac_try) 2>&5
38000 ac_status=$?
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); }; } &&
38003 { ac_try='test -s conftest$ac_exeext'
38004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38005 (eval $ac_try) 2>&5
38006 ac_status=$?
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); }; }; then
38009 eval "$as_ac_var=yes"
38010 else
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38013
38014 eval "$as_ac_var=no"
38015 fi
38016 rm -f conftest.err conftest.$ac_objext \
38017 conftest$ac_exeext conftest.$ac_ext
38018 fi
38019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38021 if test `eval echo '${'$as_ac_var'}'` = yes; then
38022 cat >>confdefs.h <<_ACEOF
38023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38024 _ACEOF
38025
38026 fi
38027 done
38028
38029
38030
38031
38032 for ac_func in putenv setenv
38033 do
38034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38035 echo "$as_me:$LINENO: checking for $ac_func" >&5
38036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38037 if eval "test \"\${$as_ac_var+set}\" = set"; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38048 #define $ac_func innocuous_$ac_func
38049
38050 /* System header to define __stub macros and hopefully few prototypes,
38051 which can conflict with char $ac_func (); below.
38052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38053 <limits.h> exists even on freestanding compilers. */
38054
38055 #ifdef __STDC__
38056 # include <limits.h>
38057 #else
38058 # include <assert.h>
38059 #endif
38060
38061 #undef $ac_func
38062
38063 /* Override any gcc2 internal prototype to avoid an error. */
38064 #ifdef __cplusplus
38065 extern "C"
38066 {
38067 #endif
38068 /* We use char because int might match the return type of a gcc2
38069 builtin and then its argument prototype would still apply. */
38070 char $ac_func ();
38071 /* The GNU C library defines this for functions which it implements
38072 to always fail with ENOSYS. Some functions are actually named
38073 something starting with __ and the normal name is an alias. */
38074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38075 choke me
38076 #else
38077 char (*f) () = $ac_func;
38078 #endif
38079 #ifdef __cplusplus
38080 }
38081 #endif
38082
38083 int
38084 main ()
38085 {
38086 return f != $ac_func;
38087 ;
38088 return 0;
38089 }
38090 _ACEOF
38091 rm -f conftest.$ac_objext conftest$ac_exeext
38092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38093 (eval $ac_link) 2>conftest.er1
38094 ac_status=$?
38095 grep -v '^ *+' conftest.er1 >conftest.err
38096 rm -f conftest.er1
38097 cat conftest.err >&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); } &&
38100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38102 (eval $ac_try) 2>&5
38103 ac_status=$?
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); }; } &&
38106 { ac_try='test -s conftest$ac_exeext'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; }; then
38112 eval "$as_ac_var=yes"
38113 else
38114 echo "$as_me: failed program was:" >&5
38115 sed 's/^/| /' conftest.$ac_ext >&5
38116
38117 eval "$as_ac_var=no"
38118 fi
38119 rm -f conftest.err conftest.$ac_objext \
38120 conftest$ac_exeext conftest.$ac_ext
38121 fi
38122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38124 if test `eval echo '${'$as_ac_var'}'` = yes; then
38125 cat >>confdefs.h <<_ACEOF
38126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38127 _ACEOF
38128 break
38129 fi
38130 done
38131
38132
38133 HAVE_SOME_SLEEP_FUNC=0
38134 if test "$USE_BEOS" = 1; then
38135 cat >>confdefs.h <<\_ACEOF
38136 #define HAVE_SLEEP 1
38137 _ACEOF
38138
38139 HAVE_SOME_SLEEP_FUNC=1
38140 fi
38141
38142 if test "$USE_DARWIN" = 1; then
38143 cat >>confdefs.h <<\_ACEOF
38144 #define HAVE_USLEEP 1
38145 _ACEOF
38146
38147 HAVE_SOME_SLEEP_FUNC=1
38148 fi
38149
38150 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38151 POSIX4_LINK=
38152
38153 for ac_func in nanosleep
38154 do
38155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38156 echo "$as_me:$LINENO: checking for $ac_func" >&5
38157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38158 if eval "test \"\${$as_ac_var+set}\" = set"; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 else
38161 cat >conftest.$ac_ext <<_ACEOF
38162 /* confdefs.h. */
38163 _ACEOF
38164 cat confdefs.h >>conftest.$ac_ext
38165 cat >>conftest.$ac_ext <<_ACEOF
38166 /* end confdefs.h. */
38167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38169 #define $ac_func innocuous_$ac_func
38170
38171 /* System header to define __stub macros and hopefully few prototypes,
38172 which can conflict with char $ac_func (); below.
38173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38174 <limits.h> exists even on freestanding compilers. */
38175
38176 #ifdef __STDC__
38177 # include <limits.h>
38178 #else
38179 # include <assert.h>
38180 #endif
38181
38182 #undef $ac_func
38183
38184 /* Override any gcc2 internal prototype to avoid an error. */
38185 #ifdef __cplusplus
38186 extern "C"
38187 {
38188 #endif
38189 /* We use char because int might match the return type of a gcc2
38190 builtin and then its argument prototype would still apply. */
38191 char $ac_func ();
38192 /* The GNU C library defines this for functions which it implements
38193 to always fail with ENOSYS. Some functions are actually named
38194 something starting with __ and the normal name is an alias. */
38195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38196 choke me
38197 #else
38198 char (*f) () = $ac_func;
38199 #endif
38200 #ifdef __cplusplus
38201 }
38202 #endif
38203
38204 int
38205 main ()
38206 {
38207 return f != $ac_func;
38208 ;
38209 return 0;
38210 }
38211 _ACEOF
38212 rm -f conftest.$ac_objext conftest$ac_exeext
38213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38214 (eval $ac_link) 2>conftest.er1
38215 ac_status=$?
38216 grep -v '^ *+' conftest.er1 >conftest.err
38217 rm -f conftest.er1
38218 cat conftest.err >&5
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); } &&
38221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223 (eval $ac_try) 2>&5
38224 ac_status=$?
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); }; } &&
38227 { ac_try='test -s conftest$ac_exeext'
38228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38229 (eval $ac_try) 2>&5
38230 ac_status=$?
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; }; then
38233 eval "$as_ac_var=yes"
38234 else
38235 echo "$as_me: failed program was:" >&5
38236 sed 's/^/| /' conftest.$ac_ext >&5
38237
38238 eval "$as_ac_var=no"
38239 fi
38240 rm -f conftest.err conftest.$ac_objext \
38241 conftest$ac_exeext conftest.$ac_ext
38242 fi
38243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38245 if test `eval echo '${'$as_ac_var'}'` = yes; then
38246 cat >>confdefs.h <<_ACEOF
38247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38248 _ACEOF
38249 cat >>confdefs.h <<\_ACEOF
38250 #define HAVE_NANOSLEEP 1
38251 _ACEOF
38252
38253 else
38254
38255 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38256 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38257 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38259 else
38260 ac_check_lib_save_LIBS=$LIBS
38261 LIBS="-lposix4 $LIBS"
38262 cat >conftest.$ac_ext <<_ACEOF
38263 /* confdefs.h. */
38264 _ACEOF
38265 cat confdefs.h >>conftest.$ac_ext
38266 cat >>conftest.$ac_ext <<_ACEOF
38267 /* end confdefs.h. */
38268
38269 /* Override any gcc2 internal prototype to avoid an error. */
38270 #ifdef __cplusplus
38271 extern "C"
38272 #endif
38273 /* We use char because int might match the return type of a gcc2
38274 builtin and then its argument prototype would still apply. */
38275 char nanosleep ();
38276 int
38277 main ()
38278 {
38279 nanosleep ();
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try='test -s conftest$ac_exeext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 ac_cv_lib_posix4_nanosleep=yes
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 ac_cv_lib_posix4_nanosleep=no
38311 fi
38312 rm -f conftest.err conftest.$ac_objext \
38313 conftest$ac_exeext conftest.$ac_ext
38314 LIBS=$ac_check_lib_save_LIBS
38315 fi
38316 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38317 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38318 if test $ac_cv_lib_posix4_nanosleep = yes; then
38319
38320 cat >>confdefs.h <<\_ACEOF
38321 #define HAVE_NANOSLEEP 1
38322 _ACEOF
38323
38324 POSIX4_LINK=" -lposix4"
38325
38326 else
38327
38328
38329 for ac_func in usleep
38330 do
38331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38332 echo "$as_me:$LINENO: checking for $ac_func" >&5
38333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38334 if eval "test \"\${$as_ac_var+set}\" = set"; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337 cat >conftest.$ac_ext <<_ACEOF
38338 /* confdefs.h. */
38339 _ACEOF
38340 cat confdefs.h >>conftest.$ac_ext
38341 cat >>conftest.$ac_ext <<_ACEOF
38342 /* end confdefs.h. */
38343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38345 #define $ac_func innocuous_$ac_func
38346
38347 /* System header to define __stub macros and hopefully few prototypes,
38348 which can conflict with char $ac_func (); below.
38349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38350 <limits.h> exists even on freestanding compilers. */
38351
38352 #ifdef __STDC__
38353 # include <limits.h>
38354 #else
38355 # include <assert.h>
38356 #endif
38357
38358 #undef $ac_func
38359
38360 /* Override any gcc2 internal prototype to avoid an error. */
38361 #ifdef __cplusplus
38362 extern "C"
38363 {
38364 #endif
38365 /* We use char because int might match the return type of a gcc2
38366 builtin and then its argument prototype would still apply. */
38367 char $ac_func ();
38368 /* The GNU C library defines this for functions which it implements
38369 to always fail with ENOSYS. Some functions are actually named
38370 something starting with __ and the normal name is an alias. */
38371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38372 choke me
38373 #else
38374 char (*f) () = $ac_func;
38375 #endif
38376 #ifdef __cplusplus
38377 }
38378 #endif
38379
38380 int
38381 main ()
38382 {
38383 return f != $ac_func;
38384 ;
38385 return 0;
38386 }
38387 _ACEOF
38388 rm -f conftest.$ac_objext conftest$ac_exeext
38389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38390 (eval $ac_link) 2>conftest.er1
38391 ac_status=$?
38392 grep -v '^ *+' conftest.er1 >conftest.err
38393 rm -f conftest.er1
38394 cat conftest.err >&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); } &&
38397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38399 (eval $ac_try) 2>&5
38400 ac_status=$?
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); }; } &&
38403 { ac_try='test -s conftest$ac_exeext'
38404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38405 (eval $ac_try) 2>&5
38406 ac_status=$?
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); }; }; then
38409 eval "$as_ac_var=yes"
38410 else
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38413
38414 eval "$as_ac_var=no"
38415 fi
38416 rm -f conftest.err conftest.$ac_objext \
38417 conftest$ac_exeext conftest.$ac_ext
38418 fi
38419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38421 if test `eval echo '${'$as_ac_var'}'` = yes; then
38422 cat >>confdefs.h <<_ACEOF
38423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38424 _ACEOF
38425 cat >>confdefs.h <<\_ACEOF
38426 #define HAVE_USLEEP 1
38427 _ACEOF
38428
38429 else
38430 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38431 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38432
38433 fi
38434 done
38435
38436
38437
38438 fi
38439
38440
38441
38442 fi
38443 done
38444
38445 fi
38446
38447
38448
38449 for ac_func in uname gethostname
38450 do
38451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38452 echo "$as_me:$LINENO: checking for $ac_func" >&5
38453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38454 if eval "test \"\${$as_ac_var+set}\" = set"; then
38455 echo $ECHO_N "(cached) $ECHO_C" >&6
38456 else
38457 cat >conftest.$ac_ext <<_ACEOF
38458 /* confdefs.h. */
38459 _ACEOF
38460 cat confdefs.h >>conftest.$ac_ext
38461 cat >>conftest.$ac_ext <<_ACEOF
38462 /* end confdefs.h. */
38463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38465 #define $ac_func innocuous_$ac_func
38466
38467 /* System header to define __stub macros and hopefully few prototypes,
38468 which can conflict with char $ac_func (); below.
38469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38470 <limits.h> exists even on freestanding compilers. */
38471
38472 #ifdef __STDC__
38473 # include <limits.h>
38474 #else
38475 # include <assert.h>
38476 #endif
38477
38478 #undef $ac_func
38479
38480 /* Override any gcc2 internal prototype to avoid an error. */
38481 #ifdef __cplusplus
38482 extern "C"
38483 {
38484 #endif
38485 /* We use char because int might match the return type of a gcc2
38486 builtin and then its argument prototype would still apply. */
38487 char $ac_func ();
38488 /* The GNU C library defines this for functions which it implements
38489 to always fail with ENOSYS. Some functions are actually named
38490 something starting with __ and the normal name is an alias. */
38491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38492 choke me
38493 #else
38494 char (*f) () = $ac_func;
38495 #endif
38496 #ifdef __cplusplus
38497 }
38498 #endif
38499
38500 int
38501 main ()
38502 {
38503 return f != $ac_func;
38504 ;
38505 return 0;
38506 }
38507 _ACEOF
38508 rm -f conftest.$ac_objext conftest$ac_exeext
38509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38510 (eval $ac_link) 2>conftest.er1
38511 ac_status=$?
38512 grep -v '^ *+' conftest.er1 >conftest.err
38513 rm -f conftest.er1
38514 cat conftest.err >&5
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); } &&
38517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38519 (eval $ac_try) 2>&5
38520 ac_status=$?
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); }; } &&
38523 { ac_try='test -s conftest$ac_exeext'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38526 ac_status=$?
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; }; then
38529 eval "$as_ac_var=yes"
38530 else
38531 echo "$as_me: failed program was:" >&5
38532 sed 's/^/| /' conftest.$ac_ext >&5
38533
38534 eval "$as_ac_var=no"
38535 fi
38536 rm -f conftest.err conftest.$ac_objext \
38537 conftest$ac_exeext conftest.$ac_ext
38538 fi
38539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38541 if test `eval echo '${'$as_ac_var'}'` = yes; then
38542 cat >>confdefs.h <<_ACEOF
38543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38544 _ACEOF
38545 break
38546 fi
38547 done
38548
38549
38550
38551 for wx_func in strtok_r
38552 do
38553 echo "$as_me:$LINENO: checking for $wx_func" >&5
38554 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38555 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38556 echo $ECHO_N "(cached) $ECHO_C" >&6
38557 else
38558
38559 cat >conftest.$ac_ext <<_ACEOF
38560
38561 /* confdefs.h. */
38562 _ACEOF
38563 cat confdefs.h >>conftest.$ac_ext
38564 cat >>conftest.$ac_ext <<_ACEOF
38565 /* end confdefs.h. */
38566
38567 #define _REENTRANT
38568 $ac_includes_default
38569
38570 int
38571 main ()
38572 {
38573
38574 #ifndef $wx_func
38575 &$wx_func;
38576 #endif
38577
38578
38579 ;
38580 return 0;
38581 }
38582
38583 _ACEOF
38584 rm -f conftest.$ac_objext conftest$ac_exeext
38585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38586 (eval $ac_link) 2>conftest.er1
38587 ac_status=$?
38588 grep -v '^ *+' conftest.er1 >conftest.err
38589 rm -f conftest.er1
38590 cat conftest.err >&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); } &&
38593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38595 (eval $ac_try) 2>&5
38596 ac_status=$?
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); }; } &&
38599 { ac_try='test -s conftest$ac_exeext'
38600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38601 (eval $ac_try) 2>&5
38602 ac_status=$?
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); }; }; then
38605 eval wx_cv_func_$wx_func=yes
38606 else
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38609
38610 eval wx_cv_func_$wx_func=no
38611 fi
38612 rm -f conftest.err conftest.$ac_objext \
38613 conftest$ac_exeext conftest.$ac_ext
38614
38615 fi
38616 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38617 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38618
38619 if eval test \$wx_cv_func_$wx_func = yes
38620 then
38621 cat >>confdefs.h <<_ACEOF
38622 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38623 _ACEOF
38624
38625
38626 else
38627 :
38628
38629 fi
38630 done
38631
38632
38633 INET_LINK=
38634
38635 for ac_func in inet_addr
38636 do
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38640 if eval "test \"\${$as_ac_var+set}\" = set"; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38643 cat >conftest.$ac_ext <<_ACEOF
38644 /* confdefs.h. */
38645 _ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38651 #define $ac_func innocuous_$ac_func
38652
38653 /* System header to define __stub macros and hopefully few prototypes,
38654 which can conflict with char $ac_func (); below.
38655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38656 <limits.h> exists even on freestanding compilers. */
38657
38658 #ifdef __STDC__
38659 # include <limits.h>
38660 #else
38661 # include <assert.h>
38662 #endif
38663
38664 #undef $ac_func
38665
38666 /* Override any gcc2 internal prototype to avoid an error. */
38667 #ifdef __cplusplus
38668 extern "C"
38669 {
38670 #endif
38671 /* We use char because int might match the return type of a gcc2
38672 builtin and then its argument prototype would still apply. */
38673 char $ac_func ();
38674 /* The GNU C library defines this for functions which it implements
38675 to always fail with ENOSYS. Some functions are actually named
38676 something starting with __ and the normal name is an alias. */
38677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38678 choke me
38679 #else
38680 char (*f) () = $ac_func;
38681 #endif
38682 #ifdef __cplusplus
38683 }
38684 #endif
38685
38686 int
38687 main ()
38688 {
38689 return f != $ac_func;
38690 ;
38691 return 0;
38692 }
38693 _ACEOF
38694 rm -f conftest.$ac_objext conftest$ac_exeext
38695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38696 (eval $ac_link) 2>conftest.er1
38697 ac_status=$?
38698 grep -v '^ *+' conftest.er1 >conftest.err
38699 rm -f conftest.er1
38700 cat conftest.err >&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } &&
38703 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38705 (eval $ac_try) 2>&5
38706 ac_status=$?
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); }; } &&
38709 { ac_try='test -s conftest$ac_exeext'
38710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38711 (eval $ac_try) 2>&5
38712 ac_status=$?
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); }; }; then
38715 eval "$as_ac_var=yes"
38716 else
38717 echo "$as_me: failed program was:" >&5
38718 sed 's/^/| /' conftest.$ac_ext >&5
38719
38720 eval "$as_ac_var=no"
38721 fi
38722 rm -f conftest.err conftest.$ac_objext \
38723 conftest$ac_exeext conftest.$ac_ext
38724 fi
38725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38727 if test `eval echo '${'$as_ac_var'}'` = yes; then
38728 cat >>confdefs.h <<_ACEOF
38729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38730 _ACEOF
38731 cat >>confdefs.h <<\_ACEOF
38732 #define HAVE_INET_ADDR 1
38733 _ACEOF
38734
38735 else
38736
38737 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38738 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38739 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 else
38742 ac_check_lib_save_LIBS=$LIBS
38743 LIBS="-lnsl $LIBS"
38744 cat >conftest.$ac_ext <<_ACEOF
38745 /* confdefs.h. */
38746 _ACEOF
38747 cat confdefs.h >>conftest.$ac_ext
38748 cat >>conftest.$ac_ext <<_ACEOF
38749 /* end confdefs.h. */
38750
38751 /* Override any gcc2 internal prototype to avoid an error. */
38752 #ifdef __cplusplus
38753 extern "C"
38754 #endif
38755 /* We use char because int might match the return type of a gcc2
38756 builtin and then its argument prototype would still apply. */
38757 char inet_addr ();
38758 int
38759 main ()
38760 {
38761 inet_addr ();
38762 ;
38763 return 0;
38764 }
38765 _ACEOF
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38768 (eval $ac_link) 2>conftest.er1
38769 ac_status=$?
38770 grep -v '^ *+' conftest.er1 >conftest.err
38771 rm -f conftest.er1
38772 cat conftest.err >&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } &&
38775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38777 (eval $ac_try) 2>&5
38778 ac_status=$?
38779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38780 (exit $ac_status); }; } &&
38781 { ac_try='test -s conftest$ac_exeext'
38782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38783 (eval $ac_try) 2>&5
38784 ac_status=$?
38785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38786 (exit $ac_status); }; }; then
38787 ac_cv_lib_nsl_inet_addr=yes
38788 else
38789 echo "$as_me: failed program was:" >&5
38790 sed 's/^/| /' conftest.$ac_ext >&5
38791
38792 ac_cv_lib_nsl_inet_addr=no
38793 fi
38794 rm -f conftest.err conftest.$ac_objext \
38795 conftest$ac_exeext conftest.$ac_ext
38796 LIBS=$ac_check_lib_save_LIBS
38797 fi
38798 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38799 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38800 if test $ac_cv_lib_nsl_inet_addr = yes; then
38801 INET_LINK="nsl"
38802 else
38803
38804 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38805 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38806 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 else
38809 ac_check_lib_save_LIBS=$LIBS
38810 LIBS="-lresolv $LIBS"
38811 cat >conftest.$ac_ext <<_ACEOF
38812 /* confdefs.h. */
38813 _ACEOF
38814 cat confdefs.h >>conftest.$ac_ext
38815 cat >>conftest.$ac_ext <<_ACEOF
38816 /* end confdefs.h. */
38817
38818 /* Override any gcc2 internal prototype to avoid an error. */
38819 #ifdef __cplusplus
38820 extern "C"
38821 #endif
38822 /* We use char because int might match the return type of a gcc2
38823 builtin and then its argument prototype would still apply. */
38824 char inet_addr ();
38825 int
38826 main ()
38827 {
38828 inet_addr ();
38829 ;
38830 return 0;
38831 }
38832 _ACEOF
38833 rm -f conftest.$ac_objext conftest$ac_exeext
38834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38835 (eval $ac_link) 2>conftest.er1
38836 ac_status=$?
38837 grep -v '^ *+' conftest.er1 >conftest.err
38838 rm -f conftest.er1
38839 cat conftest.err >&5
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); } &&
38842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38844 (eval $ac_try) 2>&5
38845 ac_status=$?
38846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847 (exit $ac_status); }; } &&
38848 { ac_try='test -s conftest$ac_exeext'
38849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38850 (eval $ac_try) 2>&5
38851 ac_status=$?
38852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853 (exit $ac_status); }; }; then
38854 ac_cv_lib_resolv_inet_addr=yes
38855 else
38856 echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.$ac_ext >&5
38858
38859 ac_cv_lib_resolv_inet_addr=no
38860 fi
38861 rm -f conftest.err conftest.$ac_objext \
38862 conftest$ac_exeext conftest.$ac_ext
38863 LIBS=$ac_check_lib_save_LIBS
38864 fi
38865 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38866 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38867 if test $ac_cv_lib_resolv_inet_addr = yes; then
38868 INET_LINK="resolv"
38869 else
38870
38871 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38872 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38873 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38874 echo $ECHO_N "(cached) $ECHO_C" >&6
38875 else
38876 ac_check_lib_save_LIBS=$LIBS
38877 LIBS="-lsocket $LIBS"
38878 cat >conftest.$ac_ext <<_ACEOF
38879 /* confdefs.h. */
38880 _ACEOF
38881 cat confdefs.h >>conftest.$ac_ext
38882 cat >>conftest.$ac_ext <<_ACEOF
38883 /* end confdefs.h. */
38884
38885 /* Override any gcc2 internal prototype to avoid an error. */
38886 #ifdef __cplusplus
38887 extern "C"
38888 #endif
38889 /* We use char because int might match the return type of a gcc2
38890 builtin and then its argument prototype would still apply. */
38891 char inet_addr ();
38892 int
38893 main ()
38894 {
38895 inet_addr ();
38896 ;
38897 return 0;
38898 }
38899 _ACEOF
38900 rm -f conftest.$ac_objext conftest$ac_exeext
38901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38902 (eval $ac_link) 2>conftest.er1
38903 ac_status=$?
38904 grep -v '^ *+' conftest.er1 >conftest.err
38905 rm -f conftest.er1
38906 cat conftest.err >&5
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); } &&
38909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38912 ac_status=$?
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; } &&
38915 { ac_try='test -s conftest$ac_exeext'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38918 ac_status=$?
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; }; then
38921 ac_cv_lib_socket_inet_addr=yes
38922 else
38923 echo "$as_me: failed program was:" >&5
38924 sed 's/^/| /' conftest.$ac_ext >&5
38925
38926 ac_cv_lib_socket_inet_addr=no
38927 fi
38928 rm -f conftest.err conftest.$ac_objext \
38929 conftest$ac_exeext conftest.$ac_ext
38930 LIBS=$ac_check_lib_save_LIBS
38931 fi
38932 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38933 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38934 if test $ac_cv_lib_socket_inet_addr = yes; then
38935 INET_LINK="socket"
38936
38937 fi
38938
38939
38940
38941 fi
38942
38943
38944
38945 fi
38946
38947
38948
38949 fi
38950 done
38951
38952
38953
38954 for ac_func in inet_aton
38955 do
38956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38957 echo "$as_me:$LINENO: checking for $ac_func" >&5
38958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38959 if eval "test \"\${$as_ac_var+set}\" = set"; then
38960 echo $ECHO_N "(cached) $ECHO_C" >&6
38961 else
38962 cat >conftest.$ac_ext <<_ACEOF
38963 /* confdefs.h. */
38964 _ACEOF
38965 cat confdefs.h >>conftest.$ac_ext
38966 cat >>conftest.$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38970 #define $ac_func innocuous_$ac_func
38971
38972 /* System header to define __stub macros and hopefully few prototypes,
38973 which can conflict with char $ac_func (); below.
38974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38975 <limits.h> exists even on freestanding compilers. */
38976
38977 #ifdef __STDC__
38978 # include <limits.h>
38979 #else
38980 # include <assert.h>
38981 #endif
38982
38983 #undef $ac_func
38984
38985 /* Override any gcc2 internal prototype to avoid an error. */
38986 #ifdef __cplusplus
38987 extern "C"
38988 {
38989 #endif
38990 /* We use char because int might match the return type of a gcc2
38991 builtin and then its argument prototype would still apply. */
38992 char $ac_func ();
38993 /* The GNU C library defines this for functions which it implements
38994 to always fail with ENOSYS. Some functions are actually named
38995 something starting with __ and the normal name is an alias. */
38996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38997 choke me
38998 #else
38999 char (*f) () = $ac_func;
39000 #endif
39001 #ifdef __cplusplus
39002 }
39003 #endif
39004
39005 int
39006 main ()
39007 {
39008 return f != $ac_func;
39009 ;
39010 return 0;
39011 }
39012 _ACEOF
39013 rm -f conftest.$ac_objext conftest$ac_exeext
39014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39015 (eval $ac_link) 2>conftest.er1
39016 ac_status=$?
39017 grep -v '^ *+' conftest.er1 >conftest.err
39018 rm -f conftest.er1
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } &&
39022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39024 (eval $ac_try) 2>&5
39025 ac_status=$?
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); }; } &&
39028 { ac_try='test -s conftest$ac_exeext'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39031 ac_status=$?
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; }; then
39034 eval "$as_ac_var=yes"
39035 else
39036 echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.$ac_ext >&5
39038
39039 eval "$as_ac_var=no"
39040 fi
39041 rm -f conftest.err conftest.$ac_objext \
39042 conftest$ac_exeext conftest.$ac_ext
39043 fi
39044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39046 if test `eval echo '${'$as_ac_var'}'` = yes; then
39047 cat >>confdefs.h <<_ACEOF
39048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39049 _ACEOF
39050 cat >>confdefs.h <<\_ACEOF
39051 #define HAVE_INET_ATON 1
39052 _ACEOF
39053
39054 else
39055
39056 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39057 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39058 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39059 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39060 echo $ECHO_N "(cached) $ECHO_C" >&6
39061 else
39062 ac_check_lib_save_LIBS=$LIBS
39063 LIBS="-l$INET_LINK $LIBS"
39064 cat >conftest.$ac_ext <<_ACEOF
39065 /* confdefs.h. */
39066 _ACEOF
39067 cat confdefs.h >>conftest.$ac_ext
39068 cat >>conftest.$ac_ext <<_ACEOF
39069 /* end confdefs.h. */
39070
39071 /* Override any gcc2 internal prototype to avoid an error. */
39072 #ifdef __cplusplus
39073 extern "C"
39074 #endif
39075 /* We use char because int might match the return type of a gcc2
39076 builtin and then its argument prototype would still apply. */
39077 char inet_aton ();
39078 int
39079 main ()
39080 {
39081 inet_aton ();
39082 ;
39083 return 0;
39084 }
39085 _ACEOF
39086 rm -f conftest.$ac_objext conftest$ac_exeext
39087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39088 (eval $ac_link) 2>conftest.er1
39089 ac_status=$?
39090 grep -v '^ *+' conftest.er1 >conftest.err
39091 rm -f conftest.er1
39092 cat conftest.err >&5
39093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39094 (exit $ac_status); } &&
39095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39097 (eval $ac_try) 2>&5
39098 ac_status=$?
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); }; } &&
39101 { ac_try='test -s conftest$ac_exeext'
39102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39103 (eval $ac_try) 2>&5
39104 ac_status=$?
39105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106 (exit $ac_status); }; }; then
39107 eval "$as_ac_Lib=yes"
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112 eval "$as_ac_Lib=no"
39113 fi
39114 rm -f conftest.err conftest.$ac_objext \
39115 conftest$ac_exeext conftest.$ac_ext
39116 LIBS=$ac_check_lib_save_LIBS
39117 fi
39118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39119 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39120 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39121 cat >>confdefs.h <<\_ACEOF
39122 #define HAVE_INET_ATON 1
39123 _ACEOF
39124
39125 fi
39126
39127
39128 fi
39129 done
39130
39131
39132 if test "x$INET_LINK" != "x"; then
39133 cat >>confdefs.h <<\_ACEOF
39134 #define HAVE_INET_ADDR 1
39135 _ACEOF
39136
39137 INET_LINK=" -l$INET_LINK"
39138 fi
39139
39140
39141 for wx_func in fdopen
39142 do
39143 echo "$as_me:$LINENO: checking for $wx_func" >&5
39144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39145 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39146 echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39148
39149 cat >conftest.$ac_ext <<_ACEOF
39150
39151 /* confdefs.h. */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156
39157
39158 $ac_includes_default
39159
39160 int
39161 main ()
39162 {
39163
39164 #ifndef $wx_func
39165 &$wx_func;
39166 #endif
39167
39168
39169 ;
39170 return 0;
39171 }
39172
39173 _ACEOF
39174 rm -f conftest.$ac_objext conftest$ac_exeext
39175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39176 (eval $ac_link) 2>conftest.er1
39177 ac_status=$?
39178 grep -v '^ *+' conftest.er1 >conftest.err
39179 rm -f conftest.er1
39180 cat conftest.err >&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); } &&
39183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39186 ac_status=$?
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; } &&
39189 { ac_try='test -s conftest$ac_exeext'
39190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39191 (eval $ac_try) 2>&5
39192 ac_status=$?
39193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39194 (exit $ac_status); }; }; then
39195 eval wx_cv_func_$wx_func=yes
39196 else
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.$ac_ext >&5
39199
39200 eval wx_cv_func_$wx_func=no
39201 fi
39202 rm -f conftest.err conftest.$ac_objext \
39203 conftest$ac_exeext conftest.$ac_ext
39204
39205 fi
39206 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39207 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39208
39209 if eval test \$wx_cv_func_$wx_func = yes
39210 then
39211 cat >>confdefs.h <<_ACEOF
39212 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39213 _ACEOF
39214
39215
39216 else
39217 :
39218
39219 fi
39220 done
39221
39222
39223 fi
39224
39225
39226
39227
39228 EXTRALIBS_ESD=
39229 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39230 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39231 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39233 else
39234 ac_check_lib_save_LIBS=$LIBS
39235 LIBS="-lesd $LIBS"
39236 cat >conftest.$ac_ext <<_ACEOF
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242
39243 /* Override any gcc2 internal prototype to avoid an error. */
39244 #ifdef __cplusplus
39245 extern "C"
39246 #endif
39247 /* We use char because int might match the return type of a gcc2
39248 builtin and then its argument prototype would still apply. */
39249 char esd_close ();
39250 int
39251 main ()
39252 {
39253 esd_close ();
39254 ;
39255 return 0;
39256 }
39257 _ACEOF
39258 rm -f conftest.$ac_objext conftest$ac_exeext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39260 (eval $ac_link) 2>conftest.er1
39261 ac_status=$?
39262 grep -v '^ *+' conftest.er1 >conftest.err
39263 rm -f conftest.er1
39264 cat conftest.err >&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try='test -s conftest$ac_exeext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39276 ac_status=$?
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 ac_cv_lib_esd_esd_close=yes
39280 else
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39283
39284 ac_cv_lib_esd_esd_close=no
39285 fi
39286 rm -f conftest.err conftest.$ac_objext \
39287 conftest$ac_exeext conftest.$ac_ext
39288 LIBS=$ac_check_lib_save_LIBS
39289 fi
39290 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39291 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39292 if test $ac_cv_lib_esd_esd_close = yes; then
39293
39294
39295 for ac_header in esd.h
39296 do
39297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39299 echo "$as_me:$LINENO: checking for $ac_header" >&5
39300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39302 echo $ECHO_N "(cached) $ECHO_C" >&6
39303 fi
39304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39306 else
39307 # Is the header compilable?
39308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39310 cat >conftest.$ac_ext <<_ACEOF
39311 /* confdefs.h. */
39312 _ACEOF
39313 cat confdefs.h >>conftest.$ac_ext
39314 cat >>conftest.$ac_ext <<_ACEOF
39315 /* end confdefs.h. */
39316 $ac_includes_default
39317 #include <$ac_header>
39318 _ACEOF
39319 rm -f conftest.$ac_objext
39320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39321 (eval $ac_compile) 2>conftest.er1
39322 ac_status=$?
39323 grep -v '^ *+' conftest.er1 >conftest.err
39324 rm -f conftest.er1
39325 cat conftest.err >&5
39326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327 (exit $ac_status); } &&
39328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39330 (eval $ac_try) 2>&5
39331 ac_status=$?
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); }; } &&
39334 { ac_try='test -s conftest.$ac_objext'
39335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39336 (eval $ac_try) 2>&5
39337 ac_status=$?
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); }; }; then
39340 ac_header_compiler=yes
39341 else
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39344
39345 ac_header_compiler=no
39346 fi
39347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39349 echo "${ECHO_T}$ac_header_compiler" >&6
39350
39351 # Is the header present?
39352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39354 cat >conftest.$ac_ext <<_ACEOF
39355 /* confdefs.h. */
39356 _ACEOF
39357 cat confdefs.h >>conftest.$ac_ext
39358 cat >>conftest.$ac_ext <<_ACEOF
39359 /* end confdefs.h. */
39360 #include <$ac_header>
39361 _ACEOF
39362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39364 ac_status=$?
39365 grep -v '^ *+' conftest.er1 >conftest.err
39366 rm -f conftest.er1
39367 cat conftest.err >&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } >/dev/null; then
39370 if test -s conftest.err; then
39371 ac_cpp_err=$ac_cxx_preproc_warn_flag
39372 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39373 else
39374 ac_cpp_err=
39375 fi
39376 else
39377 ac_cpp_err=yes
39378 fi
39379 if test -z "$ac_cpp_err"; then
39380 ac_header_preproc=yes
39381 else
39382 echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39384
39385 ac_header_preproc=no
39386 fi
39387 rm -f conftest.err conftest.$ac_ext
39388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39389 echo "${ECHO_T}$ac_header_preproc" >&6
39390
39391 # So? What about this header?
39392 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39393 yes:no: )
39394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39398 ac_header_preproc=yes
39399 ;;
39400 no:yes:* )
39401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39413 (
39414 cat <<\_ASBOX
39415 ## ----------------------------------------- ##
39416 ## Report this to wx-dev@lists.wxwidgets.org ##
39417 ## ----------------------------------------- ##
39418 _ASBOX
39419 ) |
39420 sed "s/^/$as_me: WARNING: /" >&2
39421 ;;
39422 esac
39423 echo "$as_me:$LINENO: checking for $ac_header" >&5
39424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39427 else
39428 eval "$as_ac_Header=\$ac_header_preproc"
39429 fi
39430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39432
39433 fi
39434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39437 _ACEOF
39438
39439 EXTRALIBS_ESD="-lesd"
39440
39441 fi
39442
39443 done
39444
39445
39446 fi
39447
39448
39449
39450 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39451 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39452 cat >conftest.$ac_ext <<_ACEOF
39453 /* confdefs.h. */
39454 _ACEOF
39455 cat confdefs.h >>conftest.$ac_ext
39456 cat >>conftest.$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39458 #ifdef __linux__
39459 #include <linux/cdrom.h>
39460 #else
39461 /* For Solaris */
39462 #include <sys/cdio.h>
39463 #endif
39464
39465 int
39466 main ()
39467 {
39468 struct cdrom_tocentry entry, old_entry;
39469 ;
39470 return 0;
39471 }
39472 _ACEOF
39473 rm -f conftest.$ac_objext
39474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39475 (eval $ac_compile) 2>conftest.er1
39476 ac_status=$?
39477 grep -v '^ *+' conftest.er1 >conftest.err
39478 rm -f conftest.er1
39479 cat conftest.err >&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } &&
39482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39485 ac_status=$?
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; } &&
39488 { ac_try='test -s conftest.$ac_objext'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39491 ac_status=$?
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; }; then
39494 echo "$as_me:$LINENO: result: yes" >&5
39495 echo "${ECHO_T}yes" >&6
39496 cat >>confdefs.h <<\_ACEOF
39497 #define HAVE_KNOWN_CDROM_INTERFACE 1
39498 _ACEOF
39499
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504 echo "$as_me:$LINENO: result: no" >&5
39505 echo "${ECHO_T}no" >&6
39506 fi
39507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39508
39509
39510 cat >confcache <<\_ACEOF
39511 # This file is a shell script that caches the results of configure
39512 # tests run on this system so they can be shared between configure
39513 # scripts and configure runs, see configure's option --config-cache.
39514 # It is not useful on other systems. If it contains results you don't
39515 # want to keep, you may remove or edit it.
39516 #
39517 # config.status only pays attention to the cache file if you give it
39518 # the --recheck option to rerun configure.
39519 #
39520 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39521 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39522 # following values.
39523
39524 _ACEOF
39525
39526 # The following way of writing the cache mishandles newlines in values,
39527 # but we know of no workaround that is simple, portable, and efficient.
39528 # So, don't put newlines in cache variables' values.
39529 # Ultrix sh set writes to stderr and can't be redirected directly,
39530 # and sets the high bit in the cache file unless we assign to the vars.
39531 {
39532 (set) 2>&1 |
39533 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39534 *ac_space=\ *)
39535 # `set' does not quote correctly, so add quotes (double-quote
39536 # substitution turns \\\\ into \\, and sed turns \\ into \).
39537 sed -n \
39538 "s/'/'\\\\''/g;
39539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39540 ;;
39541 *)
39542 # `set' quotes correctly as required by POSIX, so do not add quotes.
39543 sed -n \
39544 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39545 ;;
39546 esac;
39547 } |
39548 sed '
39549 t clear
39550 : clear
39551 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39552 t end
39553 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39554 : end' >>confcache
39555 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39556 if test -w $cache_file; then
39557 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39558 cat confcache >$cache_file
39559 else
39560 echo "not updating unwritable cache $cache_file"
39561 fi
39562 fi
39563 rm -f confcache
39564
39565
39566 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39567
39568
39569 THREADS_LINK=
39570 THREADS_CXXFLAGS=
39571
39572 if test "$wxUSE_THREADS" = "yes" ; then
39573 if test "$USE_BEOS" = 1; then
39574 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39575 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39576 wxUSE_THREADS="no"
39577 fi
39578 fi
39579
39580 if test "$wxUSE_THREADS" = "yes" ; then
39581
39582
39583 THREAD_OPTS="-pthread"
39584 case "${host}" in
39585 *-*-solaris2* | *-*-sunos4* )
39586 if test "x$GCC" = "xyes"; then
39587 THREAD_OPTS="-pthreads $THREAD_OPTS"
39588 else
39589 THREAD_OPTS="-mt $THREAD_OPTS"
39590 fi
39591 ;;
39592 *-*-freebsd*)
39593 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39594 ;;
39595 *-*-darwin* | *-*-cygwin* )
39596 THREAD_OPTS=""
39597 ;;
39598 *-*-aix*)
39599 THREAD_OPTS="pthreads"
39600 ;;
39601 *-hp-hpux* )
39602 if test "x$GCC" = "xyes"; then
39603 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39604 THREAD_OPTS=""
39605 else
39606 THREAD_OPTS="-mt"
39607 fi
39608 ;;
39609
39610 *-*-irix* )
39611 if test "x$GCC" = "xyes"; then
39612 THREAD_OPTS=""
39613 fi
39614 ;;
39615
39616 *-*-*UnixWare*)
39617 if test "x$GCC" != "xyes"; then
39618 THREAD_OPTS="-Ethread"
39619 fi
39620 ;;
39621 esac
39622
39623 THREAD_OPTS="$THREAD_OPTS pthread none"
39624
39625 THREADS_OK=no
39626 for flag in $THREAD_OPTS; do
39627 case $flag in
39628 none)
39629 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39630 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39631 ;;
39632
39633 -*)
39634 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39635 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39636 THREADS_CXXFLAGS="$flag"
39637 ;;
39638
39639 *)
39640 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39641 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39642 THREADS_LINK="-l$flag"
39643 ;;
39644 esac
39645
39646 save_LIBS="$LIBS"
39647 save_CXXFLAGS="$CXXFLAGS"
39648 LIBS="$THREADS_LINK $LIBS"
39649 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39650
39651 cat >conftest.$ac_ext <<_ACEOF
39652 /* confdefs.h. */
39653 _ACEOF
39654 cat confdefs.h >>conftest.$ac_ext
39655 cat >>conftest.$ac_ext <<_ACEOF
39656 /* end confdefs.h. */
39657 #include <pthread.h>
39658 int
39659 main ()
39660 {
39661 pthread_create(0,0,0,0);
39662 ;
39663 return 0;
39664 }
39665 _ACEOF
39666 rm -f conftest.$ac_objext conftest$ac_exeext
39667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39668 (eval $ac_link) 2>conftest.er1
39669 ac_status=$?
39670 grep -v '^ *+' conftest.er1 >conftest.err
39671 rm -f conftest.er1
39672 cat conftest.err >&5
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); } &&
39675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39677 (eval $ac_try) 2>&5
39678 ac_status=$?
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); }; } &&
39681 { ac_try='test -s conftest$ac_exeext'
39682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39683 (eval $ac_try) 2>&5
39684 ac_status=$?
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); }; }; then
39687 THREADS_OK=yes
39688 else
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39691
39692 fi
39693 rm -f conftest.err conftest.$ac_objext \
39694 conftest$ac_exeext conftest.$ac_ext
39695
39696 LIBS="$save_LIBS"
39697 CXXFLAGS="$save_CXXFLAGS"
39698
39699 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39700 echo "${ECHO_T}$THREADS_OK" >&6
39701 if test "x$THREADS_OK" = "xyes"; then
39702 break;
39703 fi
39704
39705 THREADS_LINK=""
39706 THREADS_CXXFLAGS=""
39707 done
39708
39709 if test "x$THREADS_OK" != "xyes"; then
39710 wxUSE_THREADS=no
39711 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39712 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39713 else
39714 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39715 LIBS="$THREADS_LINK $LIBS"
39716
39717 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39718 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39719 flag=no
39720 case "${host}" in
39721 *-aix*)
39722 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39723 flag="-D_THREAD_SAFE"
39724 ;;
39725 *-freebsd*)
39726 flag="-D_THREAD_SAFE"
39727 ;;
39728 *-hp-hpux* )
39729 flag="-D_REENTRANT"
39730 if test "x$GCC" != "xyes"; then
39731 flag="$flag -D_RWSTD_MULTI_THREAD"
39732 fi
39733 ;;
39734 *solaris* | alpha*-osf*)
39735 flag="-D_REENTRANT"
39736 ;;
39737 esac
39738 echo "$as_me:$LINENO: result: ${flag}" >&5
39739 echo "${ECHO_T}${flag}" >&6
39740 if test "x$flag" != xno; then
39741 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39742 fi
39743
39744 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39745 fi
39746 fi
39747
39748 if test "$wxUSE_THREADS" = "yes" ; then
39749
39750 for ac_func in thr_setconcurrency
39751 do
39752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39753 echo "$as_me:$LINENO: checking for $ac_func" >&5
39754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39755 if eval "test \"\${$as_ac_var+set}\" = set"; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define $ac_func innocuous_$ac_func
39767
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char $ac_func (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39772
39773 #ifdef __STDC__
39774 # include <limits.h>
39775 #else
39776 # include <assert.h>
39777 #endif
39778
39779 #undef $ac_func
39780
39781 /* Override any gcc2 internal prototype to avoid an error. */
39782 #ifdef __cplusplus
39783 extern "C"
39784 {
39785 #endif
39786 /* We use char because int might match the return type of a gcc2
39787 builtin and then its argument prototype would still apply. */
39788 char $ac_func ();
39789 /* The GNU C library defines this for functions which it implements
39790 to always fail with ENOSYS. Some functions are actually named
39791 something starting with __ and the normal name is an alias. */
39792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39793 choke me
39794 #else
39795 char (*f) () = $ac_func;
39796 #endif
39797 #ifdef __cplusplus
39798 }
39799 #endif
39800
39801 int
39802 main ()
39803 {
39804 return f != $ac_func;
39805 ;
39806 return 0;
39807 }
39808 _ACEOF
39809 rm -f conftest.$ac_objext conftest$ac_exeext
39810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39811 (eval $ac_link) 2>conftest.er1
39812 ac_status=$?
39813 grep -v '^ *+' conftest.er1 >conftest.err
39814 rm -f conftest.er1
39815 cat conftest.err >&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); } &&
39818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39820 (eval $ac_try) 2>&5
39821 ac_status=$?
39822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39823 (exit $ac_status); }; } &&
39824 { ac_try='test -s conftest$ac_exeext'
39825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39826 (eval $ac_try) 2>&5
39827 ac_status=$?
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); }; }; then
39830 eval "$as_ac_var=yes"
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39834
39835 eval "$as_ac_var=no"
39836 fi
39837 rm -f conftest.err conftest.$ac_objext \
39838 conftest$ac_exeext conftest.$ac_ext
39839 fi
39840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39842 if test `eval echo '${'$as_ac_var'}'` = yes; then
39843 cat >>confdefs.h <<_ACEOF
39844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39845 _ACEOF
39846
39847 fi
39848 done
39849
39850
39851 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39852 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39853 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39854 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 else
39856
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 #include <pthread.h>
39864 void ThreadCleanupFunc(void *p);
39865
39866 int
39867 main ()
39868 {
39869
39870 void *p;
39871 pthread_cleanup_push(ThreadCleanupFunc, p);
39872 pthread_cleanup_pop(0);
39873
39874 ;
39875 return 0;
39876 }
39877 _ACEOF
39878 rm -f conftest.$ac_objext
39879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39880 (eval $ac_compile) 2>conftest.er1
39881 ac_status=$?
39882 grep -v '^ *+' conftest.er1 >conftest.err
39883 rm -f conftest.er1
39884 cat conftest.err >&5
39885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39886 (exit $ac_status); } &&
39887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39889 (eval $ac_try) 2>&5
39890 ac_status=$?
39891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39892 (exit $ac_status); }; } &&
39893 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
39899
39900 wx_cv_func_pthread_cleanup=yes
39901
39902 else
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39905
39906
39907 wx_cv_func_pthread_cleanup=no
39908
39909
39910 fi
39911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39912
39913 fi
39914 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39915 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39916 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39917 cat >>confdefs.h <<\_ACEOF
39918 #define wxHAVE_PTHREAD_CLEANUP 1
39919 _ACEOF
39920
39921 fi
39922
39923
39924 for ac_header in sched.h
39925 do
39926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39928 echo "$as_me:$LINENO: checking for $ac_header" >&5
39929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39931 echo $ECHO_N "(cached) $ECHO_C" >&6
39932 fi
39933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39935 else
39936 # Is the header compilable?
39937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39939 cat >conftest.$ac_ext <<_ACEOF
39940 /* confdefs.h. */
39941 _ACEOF
39942 cat confdefs.h >>conftest.$ac_ext
39943 cat >>conftest.$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 $ac_includes_default
39946 #include <$ac_header>
39947 _ACEOF
39948 rm -f conftest.$ac_objext
39949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39950 (eval $ac_compile) 2>conftest.er1
39951 ac_status=$?
39952 grep -v '^ *+' conftest.er1 >conftest.err
39953 rm -f conftest.er1
39954 cat conftest.err >&5
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); } &&
39957 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39960 ac_status=$?
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; } &&
39963 { ac_try='test -s conftest.$ac_objext'
39964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965 (eval $ac_try) 2>&5
39966 ac_status=$?
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); }; }; then
39969 ac_header_compiler=yes
39970 else
39971 echo "$as_me: failed program was:" >&5
39972 sed 's/^/| /' conftest.$ac_ext >&5
39973
39974 ac_header_compiler=no
39975 fi
39976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39978 echo "${ECHO_T}$ac_header_compiler" >&6
39979
39980 # Is the header present?
39981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39983 cat >conftest.$ac_ext <<_ACEOF
39984 /* confdefs.h. */
39985 _ACEOF
39986 cat confdefs.h >>conftest.$ac_ext
39987 cat >>conftest.$ac_ext <<_ACEOF
39988 /* end confdefs.h. */
39989 #include <$ac_header>
39990 _ACEOF
39991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39993 ac_status=$?
39994 grep -v '^ *+' conftest.er1 >conftest.err
39995 rm -f conftest.er1
39996 cat conftest.err >&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } >/dev/null; then
39999 if test -s conftest.err; then
40000 ac_cpp_err=$ac_cxx_preproc_warn_flag
40001 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40002 else
40003 ac_cpp_err=
40004 fi
40005 else
40006 ac_cpp_err=yes
40007 fi
40008 if test -z "$ac_cpp_err"; then
40009 ac_header_preproc=yes
40010 else
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40013
40014 ac_header_preproc=no
40015 fi
40016 rm -f conftest.err conftest.$ac_ext
40017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40018 echo "${ECHO_T}$ac_header_preproc" >&6
40019
40020 # So? What about this header?
40021 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40022 yes:no: )
40023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40027 ac_header_preproc=yes
40028 ;;
40029 no:yes:* )
40030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40042 (
40043 cat <<\_ASBOX
40044 ## ----------------------------------------- ##
40045 ## Report this to wx-dev@lists.wxwidgets.org ##
40046 ## ----------------------------------------- ##
40047 _ASBOX
40048 ) |
40049 sed "s/^/$as_me: WARNING: /" >&2
40050 ;;
40051 esac
40052 echo "$as_me:$LINENO: checking for $ac_header" >&5
40053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40055 echo $ECHO_N "(cached) $ECHO_C" >&6
40056 else
40057 eval "$as_ac_Header=\$ac_header_preproc"
40058 fi
40059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40061
40062 fi
40063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40064 cat >>confdefs.h <<_ACEOF
40065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40066 _ACEOF
40067
40068 fi
40069
40070 done
40071
40072 if test "$ac_cv_header_sched_h" = "yes"; then
40073 echo "$as_me:$LINENO: checking for sched_yield" >&5
40074 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40075 if test "${ac_cv_func_sched_yield+set}" = set; then
40076 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 else
40078 cat >conftest.$ac_ext <<_ACEOF
40079 /* confdefs.h. */
40080 _ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40086 #define sched_yield innocuous_sched_yield
40087
40088 /* System header to define __stub macros and hopefully few prototypes,
40089 which can conflict with char sched_yield (); below.
40090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40091 <limits.h> exists even on freestanding compilers. */
40092
40093 #ifdef __STDC__
40094 # include <limits.h>
40095 #else
40096 # include <assert.h>
40097 #endif
40098
40099 #undef sched_yield
40100
40101 /* Override any gcc2 internal prototype to avoid an error. */
40102 #ifdef __cplusplus
40103 extern "C"
40104 {
40105 #endif
40106 /* We use char because int might match the return type of a gcc2
40107 builtin and then its argument prototype would still apply. */
40108 char sched_yield ();
40109 /* The GNU C library defines this for functions which it implements
40110 to always fail with ENOSYS. Some functions are actually named
40111 something starting with __ and the normal name is an alias. */
40112 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40113 choke me
40114 #else
40115 char (*f) () = sched_yield;
40116 #endif
40117 #ifdef __cplusplus
40118 }
40119 #endif
40120
40121 int
40122 main ()
40123 {
40124 return f != sched_yield;
40125 ;
40126 return 0;
40127 }
40128 _ACEOF
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40131 (eval $ac_link) 2>conftest.er1
40132 ac_status=$?
40133 grep -v '^ *+' conftest.er1 >conftest.err
40134 rm -f conftest.er1
40135 cat conftest.err >&5
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); } &&
40138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40140 (eval $ac_try) 2>&5
40141 ac_status=$?
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); }; } &&
40144 { ac_try='test -s conftest$ac_exeext'
40145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40146 (eval $ac_try) 2>&5
40147 ac_status=$?
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); }; }; then
40150 ac_cv_func_sched_yield=yes
40151 else
40152 echo "$as_me: failed program was:" >&5
40153 sed 's/^/| /' conftest.$ac_ext >&5
40154
40155 ac_cv_func_sched_yield=no
40156 fi
40157 rm -f conftest.err conftest.$ac_objext \
40158 conftest$ac_exeext conftest.$ac_ext
40159 fi
40160 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40161 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40162 if test $ac_cv_func_sched_yield = yes; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_SCHED_YIELD 1
40165 _ACEOF
40166
40167 else
40168
40169 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40170 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40171 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 else
40174 ac_check_lib_save_LIBS=$LIBS
40175 LIBS="-lposix4 $LIBS"
40176 cat >conftest.$ac_ext <<_ACEOF
40177 /* confdefs.h. */
40178 _ACEOF
40179 cat confdefs.h >>conftest.$ac_ext
40180 cat >>conftest.$ac_ext <<_ACEOF
40181 /* end confdefs.h. */
40182
40183 /* Override any gcc2 internal prototype to avoid an error. */
40184 #ifdef __cplusplus
40185 extern "C"
40186 #endif
40187 /* We use char because int might match the return type of a gcc2
40188 builtin and then its argument prototype would still apply. */
40189 char sched_yield ();
40190 int
40191 main ()
40192 {
40193 sched_yield ();
40194 ;
40195 return 0;
40196 }
40197 _ACEOF
40198 rm -f conftest.$ac_objext conftest$ac_exeext
40199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40200 (eval $ac_link) 2>conftest.er1
40201 ac_status=$?
40202 grep -v '^ *+' conftest.er1 >conftest.err
40203 rm -f conftest.er1
40204 cat conftest.err >&5
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); } &&
40207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40210 ac_status=$?
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; } &&
40213 { ac_try='test -s conftest$ac_exeext'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40216 ac_status=$?
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; }; then
40219 ac_cv_lib_posix4_sched_yield=yes
40220 else
40221 echo "$as_me: failed program was:" >&5
40222 sed 's/^/| /' conftest.$ac_ext >&5
40223
40224 ac_cv_lib_posix4_sched_yield=no
40225 fi
40226 rm -f conftest.err conftest.$ac_objext \
40227 conftest$ac_exeext conftest.$ac_ext
40228 LIBS=$ac_check_lib_save_LIBS
40229 fi
40230 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40231 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40232 if test $ac_cv_lib_posix4_sched_yield = yes; then
40233 cat >>confdefs.h <<\_ACEOF
40234 #define HAVE_SCHED_YIELD 1
40235 _ACEOF
40236 POSIX4_LINK=" -lposix4"
40237 else
40238 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40239 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40240
40241 fi
40242
40243
40244
40245 fi
40246
40247 fi
40248
40249 HAVE_PRIOR_FUNCS=0
40250 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40251 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40252 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40253 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 else
40255 cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h. */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h. */
40261 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40263 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40264
40265 /* System header to define __stub macros and hopefully few prototypes,
40266 which can conflict with char pthread_attr_getschedpolicy (); below.
40267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40268 <limits.h> exists even on freestanding compilers. */
40269
40270 #ifdef __STDC__
40271 # include <limits.h>
40272 #else
40273 # include <assert.h>
40274 #endif
40275
40276 #undef pthread_attr_getschedpolicy
40277
40278 /* Override any gcc2 internal prototype to avoid an error. */
40279 #ifdef __cplusplus
40280 extern "C"
40281 {
40282 #endif
40283 /* We use char because int might match the return type of a gcc2
40284 builtin and then its argument prototype would still apply. */
40285 char pthread_attr_getschedpolicy ();
40286 /* The GNU C library defines this for functions which it implements
40287 to always fail with ENOSYS. Some functions are actually named
40288 something starting with __ and the normal name is an alias. */
40289 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40290 choke me
40291 #else
40292 char (*f) () = pthread_attr_getschedpolicy;
40293 #endif
40294 #ifdef __cplusplus
40295 }
40296 #endif
40297
40298 int
40299 main ()
40300 {
40301 return f != pthread_attr_getschedpolicy;
40302 ;
40303 return 0;
40304 }
40305 _ACEOF
40306 rm -f conftest.$ac_objext conftest$ac_exeext
40307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40308 (eval $ac_link) 2>conftest.er1
40309 ac_status=$?
40310 grep -v '^ *+' conftest.er1 >conftest.err
40311 rm -f conftest.er1
40312 cat conftest.err >&5
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); } &&
40315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317 (eval $ac_try) 2>&5
40318 ac_status=$?
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); }; } &&
40321 { ac_try='test -s conftest$ac_exeext'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; }; then
40327 ac_cv_func_pthread_attr_getschedpolicy=yes
40328 else
40329 echo "$as_me: failed program was:" >&5
40330 sed 's/^/| /' conftest.$ac_ext >&5
40331
40332 ac_cv_func_pthread_attr_getschedpolicy=no
40333 fi
40334 rm -f conftest.err conftest.$ac_objext \
40335 conftest$ac_exeext conftest.$ac_ext
40336 fi
40337 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40338 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40339 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40340 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40341 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40342 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40343 echo $ECHO_N "(cached) $ECHO_C" >&6
40344 else
40345 cat >conftest.$ac_ext <<_ACEOF
40346 /* confdefs.h. */
40347 _ACEOF
40348 cat confdefs.h >>conftest.$ac_ext
40349 cat >>conftest.$ac_ext <<_ACEOF
40350 /* end confdefs.h. */
40351 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40353 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40354
40355 /* System header to define __stub macros and hopefully few prototypes,
40356 which can conflict with char pthread_attr_setschedparam (); below.
40357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40358 <limits.h> exists even on freestanding compilers. */
40359
40360 #ifdef __STDC__
40361 # include <limits.h>
40362 #else
40363 # include <assert.h>
40364 #endif
40365
40366 #undef pthread_attr_setschedparam
40367
40368 /* Override any gcc2 internal prototype to avoid an error. */
40369 #ifdef __cplusplus
40370 extern "C"
40371 {
40372 #endif
40373 /* We use char because int might match the return type of a gcc2
40374 builtin and then its argument prototype would still apply. */
40375 char pthread_attr_setschedparam ();
40376 /* The GNU C library defines this for functions which it implements
40377 to always fail with ENOSYS. Some functions are actually named
40378 something starting with __ and the normal name is an alias. */
40379 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40380 choke me
40381 #else
40382 char (*f) () = pthread_attr_setschedparam;
40383 #endif
40384 #ifdef __cplusplus
40385 }
40386 #endif
40387
40388 int
40389 main ()
40390 {
40391 return f != pthread_attr_setschedparam;
40392 ;
40393 return 0;
40394 }
40395 _ACEOF
40396 rm -f conftest.$ac_objext conftest$ac_exeext
40397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40398 (eval $ac_link) 2>conftest.er1
40399 ac_status=$?
40400 grep -v '^ *+' conftest.er1 >conftest.err
40401 rm -f conftest.er1
40402 cat conftest.err >&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); } &&
40405 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; } &&
40411 { ac_try='test -s conftest$ac_exeext'
40412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40413 (eval $ac_try) 2>&5
40414 ac_status=$?
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); }; }; then
40417 ac_cv_func_pthread_attr_setschedparam=yes
40418 else
40419 echo "$as_me: failed program was:" >&5
40420 sed 's/^/| /' conftest.$ac_ext >&5
40421
40422 ac_cv_func_pthread_attr_setschedparam=no
40423 fi
40424 rm -f conftest.err conftest.$ac_objext \
40425 conftest$ac_exeext conftest.$ac_ext
40426 fi
40427 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40428 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40429 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40430 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40431 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40432 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435 cat >conftest.$ac_ext <<_ACEOF
40436 /* confdefs.h. */
40437 _ACEOF
40438 cat confdefs.h >>conftest.$ac_ext
40439 cat >>conftest.$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40441 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40443 #define sched_get_priority_max innocuous_sched_get_priority_max
40444
40445 /* System header to define __stub macros and hopefully few prototypes,
40446 which can conflict with char sched_get_priority_max (); below.
40447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40448 <limits.h> exists even on freestanding compilers. */
40449
40450 #ifdef __STDC__
40451 # include <limits.h>
40452 #else
40453 # include <assert.h>
40454 #endif
40455
40456 #undef sched_get_priority_max
40457
40458 /* Override any gcc2 internal prototype to avoid an error. */
40459 #ifdef __cplusplus
40460 extern "C"
40461 {
40462 #endif
40463 /* We use char because int might match the return type of a gcc2
40464 builtin and then its argument prototype would still apply. */
40465 char sched_get_priority_max ();
40466 /* The GNU C library defines this for functions which it implements
40467 to always fail with ENOSYS. Some functions are actually named
40468 something starting with __ and the normal name is an alias. */
40469 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40470 choke me
40471 #else
40472 char (*f) () = sched_get_priority_max;
40473 #endif
40474 #ifdef __cplusplus
40475 }
40476 #endif
40477
40478 int
40479 main ()
40480 {
40481 return f != sched_get_priority_max;
40482 ;
40483 return 0;
40484 }
40485 _ACEOF
40486 rm -f conftest.$ac_objext conftest$ac_exeext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40488 (eval $ac_link) 2>conftest.er1
40489 ac_status=$?
40490 grep -v '^ *+' conftest.er1 >conftest.err
40491 rm -f conftest.er1
40492 cat conftest.err >&5
40493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494 (exit $ac_status); } &&
40495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40497 (eval $ac_try) 2>&5
40498 ac_status=$?
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); }; } &&
40501 { ac_try='test -s conftest$ac_exeext'
40502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503 (eval $ac_try) 2>&5
40504 ac_status=$?
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); }; }; then
40507 ac_cv_func_sched_get_priority_max=yes
40508 else
40509 echo "$as_me: failed program was:" >&5
40510 sed 's/^/| /' conftest.$ac_ext >&5
40511
40512 ac_cv_func_sched_get_priority_max=no
40513 fi
40514 rm -f conftest.err conftest.$ac_objext \
40515 conftest$ac_exeext conftest.$ac_ext
40516 fi
40517 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40518 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40519 if test $ac_cv_func_sched_get_priority_max = yes; then
40520 HAVE_PRIOR_FUNCS=1
40521 else
40522 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40523 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40524 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40525 echo $ECHO_N "(cached) $ECHO_C" >&6
40526 else
40527 ac_check_lib_save_LIBS=$LIBS
40528 LIBS="-lposix4 $LIBS"
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535
40536 /* Override any gcc2 internal prototype to avoid an error. */
40537 #ifdef __cplusplus
40538 extern "C"
40539 #endif
40540 /* We use char because int might match the return type of a gcc2
40541 builtin and then its argument prototype would still apply. */
40542 char sched_get_priority_max ();
40543 int
40544 main ()
40545 {
40546 sched_get_priority_max ();
40547 ;
40548 return 0;
40549 }
40550 _ACEOF
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40553 (eval $ac_link) 2>conftest.er1
40554 ac_status=$?
40555 grep -v '^ *+' conftest.er1 >conftest.err
40556 rm -f conftest.er1
40557 cat conftest.err >&5
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); } &&
40560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; } &&
40566 { ac_try='test -s conftest$ac_exeext'
40567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40568 (eval $ac_try) 2>&5
40569 ac_status=$?
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); }; }; then
40572 ac_cv_lib_posix4_sched_get_priority_max=yes
40573 else
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.$ac_ext >&5
40576
40577 ac_cv_lib_posix4_sched_get_priority_max=no
40578 fi
40579 rm -f conftest.err conftest.$ac_objext \
40580 conftest$ac_exeext conftest.$ac_ext
40581 LIBS=$ac_check_lib_save_LIBS
40582 fi
40583 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40584 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40585 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40586
40587 HAVE_PRIOR_FUNCS=1
40588 POSIX4_LINK=" -lposix4"
40589
40590 fi
40591
40592
40593 fi
40594
40595
40596 fi
40597
40598
40599 fi
40600
40601
40602 if test "$HAVE_PRIOR_FUNCS" = 1; then
40603 cat >>confdefs.h <<\_ACEOF
40604 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40605 _ACEOF
40606
40607 else
40608 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40609 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40610 fi
40611
40612 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40613 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40614 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 else
40617 cat >conftest.$ac_ext <<_ACEOF
40618 /* confdefs.h. */
40619 _ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40623 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40625 #define pthread_cancel innocuous_pthread_cancel
40626
40627 /* System header to define __stub macros and hopefully few prototypes,
40628 which can conflict with char pthread_cancel (); below.
40629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40630 <limits.h> exists even on freestanding compilers. */
40631
40632 #ifdef __STDC__
40633 # include <limits.h>
40634 #else
40635 # include <assert.h>
40636 #endif
40637
40638 #undef pthread_cancel
40639
40640 /* Override any gcc2 internal prototype to avoid an error. */
40641 #ifdef __cplusplus
40642 extern "C"
40643 {
40644 #endif
40645 /* We use char because int might match the return type of a gcc2
40646 builtin and then its argument prototype would still apply. */
40647 char pthread_cancel ();
40648 /* The GNU C library defines this for functions which it implements
40649 to always fail with ENOSYS. Some functions are actually named
40650 something starting with __ and the normal name is an alias. */
40651 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40652 choke me
40653 #else
40654 char (*f) () = pthread_cancel;
40655 #endif
40656 #ifdef __cplusplus
40657 }
40658 #endif
40659
40660 int
40661 main ()
40662 {
40663 return f != pthread_cancel;
40664 ;
40665 return 0;
40666 }
40667 _ACEOF
40668 rm -f conftest.$ac_objext conftest$ac_exeext
40669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40670 (eval $ac_link) 2>conftest.er1
40671 ac_status=$?
40672 grep -v '^ *+' conftest.er1 >conftest.err
40673 rm -f conftest.er1
40674 cat conftest.err >&5
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); } &&
40677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40683 { ac_try='test -s conftest$ac_exeext'
40684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40685 (eval $ac_try) 2>&5
40686 ac_status=$?
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); }; }; then
40689 ac_cv_func_pthread_cancel=yes
40690 else
40691 echo "$as_me: failed program was:" >&5
40692 sed 's/^/| /' conftest.$ac_ext >&5
40693
40694 ac_cv_func_pthread_cancel=no
40695 fi
40696 rm -f conftest.err conftest.$ac_objext \
40697 conftest$ac_exeext conftest.$ac_ext
40698 fi
40699 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40700 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40701 if test $ac_cv_func_pthread_cancel = yes; then
40702 cat >>confdefs.h <<\_ACEOF
40703 #define HAVE_PTHREAD_CANCEL 1
40704 _ACEOF
40705
40706 else
40707 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40708 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40709 fi
40710
40711
40712 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40713 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40714 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717 cat >conftest.$ac_ext <<_ACEOF
40718 /* confdefs.h. */
40719 _ACEOF
40720 cat confdefs.h >>conftest.$ac_ext
40721 cat >>conftest.$ac_ext <<_ACEOF
40722 /* end confdefs.h. */
40723 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40725 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40726
40727 /* System header to define __stub macros and hopefully few prototypes,
40728 which can conflict with char pthread_attr_setstacksize (); below.
40729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40730 <limits.h> exists even on freestanding compilers. */
40731
40732 #ifdef __STDC__
40733 # include <limits.h>
40734 #else
40735 # include <assert.h>
40736 #endif
40737
40738 #undef pthread_attr_setstacksize
40739
40740 /* Override any gcc2 internal prototype to avoid an error. */
40741 #ifdef __cplusplus
40742 extern "C"
40743 {
40744 #endif
40745 /* We use char because int might match the return type of a gcc2
40746 builtin and then its argument prototype would still apply. */
40747 char pthread_attr_setstacksize ();
40748 /* The GNU C library defines this for functions which it implements
40749 to always fail with ENOSYS. Some functions are actually named
40750 something starting with __ and the normal name is an alias. */
40751 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40752 choke me
40753 #else
40754 char (*f) () = pthread_attr_setstacksize;
40755 #endif
40756 #ifdef __cplusplus
40757 }
40758 #endif
40759
40760 int
40761 main ()
40762 {
40763 return f != pthread_attr_setstacksize;
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 rm -f conftest.$ac_objext conftest$ac_exeext
40769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40770 (eval $ac_link) 2>conftest.er1
40771 ac_status=$?
40772 grep -v '^ *+' conftest.er1 >conftest.err
40773 rm -f conftest.er1
40774 cat conftest.err >&5
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); } &&
40777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40779 (eval $ac_try) 2>&5
40780 ac_status=$?
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); }; } &&
40783 { ac_try='test -s conftest$ac_exeext'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40786 ac_status=$?
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; }; then
40789 ac_cv_func_pthread_attr_setstacksize=yes
40790 else
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.$ac_ext >&5
40793
40794 ac_cv_func_pthread_attr_setstacksize=no
40795 fi
40796 rm -f conftest.err conftest.$ac_objext \
40797 conftest$ac_exeext conftest.$ac_ext
40798 fi
40799 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40800 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40801 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40802 cat >>confdefs.h <<\_ACEOF
40803 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40804 _ACEOF
40805
40806 fi
40807
40808
40809
40810 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40811 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40812 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40813 echo $ECHO_N "(cached) $ECHO_C" >&6
40814 else
40815
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 #include <pthread.h>
40823 int
40824 main ()
40825 {
40826
40827 pthread_mutexattr_t attr;
40828 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40829
40830 ;
40831 return 0;
40832 }
40833 _ACEOF
40834 rm -f conftest.$ac_objext
40835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40836 (eval $ac_compile) 2>conftest.er1
40837 ac_status=$?
40838 grep -v '^ *+' conftest.er1 >conftest.err
40839 rm -f conftest.er1
40840 cat conftest.err >&5
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); } &&
40843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; } &&
40849 { ac_try='test -s conftest.$ac_objext'
40850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851 (eval $ac_try) 2>&5
40852 ac_status=$?
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); }; }; then
40855 wx_cv_type_pthread_mutexattr_t=yes
40856 else
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.$ac_ext >&5
40859
40860 wx_cv_type_pthread_mutexattr_t=no
40861
40862 fi
40863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40864
40865 fi
40866 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40867 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40868
40869 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define HAVE_PTHREAD_MUTEXATTR_T 1
40872 _ACEOF
40873
40874
40875 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40876 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40877 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40879 else
40880
40881 cat >conftest.$ac_ext <<_ACEOF
40882 /* confdefs.h. */
40883 _ACEOF
40884 cat confdefs.h >>conftest.$ac_ext
40885 cat >>conftest.$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40887 #include <pthread.h>
40888 int
40889 main ()
40890 {
40891
40892 pthread_mutexattr_t attr;
40893 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40894
40895 ;
40896 return 0;
40897 }
40898 _ACEOF
40899 rm -f conftest.$ac_objext
40900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40901 (eval $ac_compile) 2>conftest.er1
40902 ac_status=$?
40903 grep -v '^ *+' conftest.er1 >conftest.err
40904 rm -f conftest.er1
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } &&
40908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40910 (eval $ac_try) 2>&5
40911 ac_status=$?
40912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40913 (exit $ac_status); }; } &&
40914 { ac_try='test -s conftest.$ac_objext'
40915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40916 (eval $ac_try) 2>&5
40917 ac_status=$?
40918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40919 (exit $ac_status); }; }; then
40920 wx_cv_func_pthread_mutexattr_settype_decl=yes
40921 else
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40924
40925 wx_cv_func_pthread_mutexattr_settype_decl=no
40926
40927 fi
40928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40929
40930 fi
40931 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40932 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40933 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40934 cat >>confdefs.h <<\_ACEOF
40935 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40936 _ACEOF
40937
40938 fi
40939 else
40940 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40941 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40942 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 else
40945
40946 cat >conftest.$ac_ext <<_ACEOF
40947 /* confdefs.h. */
40948 _ACEOF
40949 cat confdefs.h >>conftest.$ac_ext
40950 cat >>conftest.$ac_ext <<_ACEOF
40951 /* end confdefs.h. */
40952 #include <pthread.h>
40953 int
40954 main ()
40955 {
40956
40957 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40958
40959 ;
40960 return 0;
40961 }
40962 _ACEOF
40963 rm -f conftest.$ac_objext
40964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40965 (eval $ac_compile) 2>conftest.er1
40966 ac_status=$?
40967 grep -v '^ *+' conftest.er1 >conftest.err
40968 rm -f conftest.er1
40969 cat conftest.err >&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); } &&
40972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40974 (eval $ac_try) 2>&5
40975 ac_status=$?
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); }; } &&
40978 { ac_try='test -s conftest.$ac_objext'
40979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40980 (eval $ac_try) 2>&5
40981 ac_status=$?
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); }; }; then
40984
40985 wx_cv_type_pthread_rec_mutex_init=yes
40986
40987 else
40988 echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40990
40991
40992 wx_cv_type_pthread_rec_mutex_init=no
40993
40994
40995 fi
40996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40997
40998 fi
40999 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41000 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41001 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41002 cat >>confdefs.h <<\_ACEOF
41003 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41004 _ACEOF
41005
41006 else
41007 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41008 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41009 fi
41010 fi
41011 fi
41012
41013 else
41014 if test "$wxUSE_THREADS" = "yes" ; then
41015 case "${host}" in
41016 *-*-mingw32* )
41017 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41018 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41019 if test "${wx_cv_cflags_mthread+set}" = set; then
41020 echo $ECHO_N "(cached) $ECHO_C" >&6
41021 else
41022
41023 CXXFLAGS_OLD="$CXXFLAGS"
41024 CXXFLAGS="-mthreads $CXXFLAGS"
41025 cat >conftest.$ac_ext <<_ACEOF
41026 /* confdefs.h. */
41027 _ACEOF
41028 cat confdefs.h >>conftest.$ac_ext
41029 cat >>conftest.$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031
41032 int
41033 main ()
41034 {
41035
41036 ;
41037 return 0;
41038 }
41039 _ACEOF
41040 rm -f conftest.$ac_objext
41041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41042 (eval $ac_compile) 2>conftest.er1
41043 ac_status=$?
41044 grep -v '^ *+' conftest.er1 >conftest.err
41045 rm -f conftest.er1
41046 cat conftest.err >&5
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); } &&
41049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
41055 { ac_try='test -s conftest.$ac_objext'
41056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41057 (eval $ac_try) 2>&5
41058 ac_status=$?
41059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060 (exit $ac_status); }; }; then
41061 wx_cv_cflags_mthread=yes
41062 else
41063 echo "$as_me: failed program was:" >&5
41064 sed 's/^/| /' conftest.$ac_ext >&5
41065
41066 wx_cv_cflags_mthread=no
41067
41068 fi
41069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41070
41071
41072 fi
41073 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41074 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41075
41076 if test "$wx_cv_cflags_mthread" = "yes"; then
41077 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
41078 LDFLAGS="$LDFLAGS -mthreads"
41079 else
41080 CXXFLAGS="$CXXFLAGS_OLD"
41081 fi
41082 ;;
41083 *-pc-os2*emx )
41084 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41085 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
41086 LDFLAGS="$LDFLAGS -Zmt"
41087 ;;
41088 esac
41089 fi
41090 fi
41091
41092 echo "$as_me:$LINENO: checking for localtime_r" >&5
41093 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41094 if test "${ac_cv_func_localtime_r+set}" = set; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41096 else
41097 cat >conftest.$ac_ext <<_ACEOF
41098 /* confdefs.h. */
41099 _ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41103 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41105 #define localtime_r innocuous_localtime_r
41106
41107 /* System header to define __stub macros and hopefully few prototypes,
41108 which can conflict with char localtime_r (); below.
41109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41110 <limits.h> exists even on freestanding compilers. */
41111
41112 #ifdef __STDC__
41113 # include <limits.h>
41114 #else
41115 # include <assert.h>
41116 #endif
41117
41118 #undef localtime_r
41119
41120 /* Override any gcc2 internal prototype to avoid an error. */
41121 #ifdef __cplusplus
41122 extern "C"
41123 {
41124 #endif
41125 /* We use char because int might match the return type of a gcc2
41126 builtin and then its argument prototype would still apply. */
41127 char localtime_r ();
41128 /* The GNU C library defines this for functions which it implements
41129 to always fail with ENOSYS. Some functions are actually named
41130 something starting with __ and the normal name is an alias. */
41131 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41132 choke me
41133 #else
41134 char (*f) () = localtime_r;
41135 #endif
41136 #ifdef __cplusplus
41137 }
41138 #endif
41139
41140 int
41141 main ()
41142 {
41143 return f != localtime_r;
41144 ;
41145 return 0;
41146 }
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150 (eval $ac_link) 2>conftest.er1
41151 ac_status=$?
41152 grep -v '^ *+' conftest.er1 >conftest.err
41153 rm -f conftest.er1
41154 cat conftest.err >&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } &&
41157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41159 (eval $ac_try) 2>&5
41160 ac_status=$?
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); }; } &&
41163 { ac_try='test -s conftest$ac_exeext'
41164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41165 (eval $ac_try) 2>&5
41166 ac_status=$?
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); }; }; then
41169 ac_cv_func_localtime_r=yes
41170 else
41171 echo "$as_me: failed program was:" >&5
41172 sed 's/^/| /' conftest.$ac_ext >&5
41173
41174 ac_cv_func_localtime_r=no
41175 fi
41176 rm -f conftest.err conftest.$ac_objext \
41177 conftest$ac_exeext conftest.$ac_ext
41178 fi
41179 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41180 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41181 if test $ac_cv_func_localtime_r = yes; then
41182 cat >>confdefs.h <<\_ACEOF
41183 #define HAVE_LOCALTIME_R 1
41184 _ACEOF
41185
41186 fi
41187
41188 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41189 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41190 if test "${ac_cv_func_gmtime_r+set}" = set; then
41191 echo $ECHO_N "(cached) $ECHO_C" >&6
41192 else
41193 cat >conftest.$ac_ext <<_ACEOF
41194 /* confdefs.h. */
41195 _ACEOF
41196 cat confdefs.h >>conftest.$ac_ext
41197 cat >>conftest.$ac_ext <<_ACEOF
41198 /* end confdefs.h. */
41199 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41201 #define gmtime_r innocuous_gmtime_r
41202
41203 /* System header to define __stub macros and hopefully few prototypes,
41204 which can conflict with char gmtime_r (); below.
41205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41206 <limits.h> exists even on freestanding compilers. */
41207
41208 #ifdef __STDC__
41209 # include <limits.h>
41210 #else
41211 # include <assert.h>
41212 #endif
41213
41214 #undef gmtime_r
41215
41216 /* Override any gcc2 internal prototype to avoid an error. */
41217 #ifdef __cplusplus
41218 extern "C"
41219 {
41220 #endif
41221 /* We use char because int might match the return type of a gcc2
41222 builtin and then its argument prototype would still apply. */
41223 char gmtime_r ();
41224 /* The GNU C library defines this for functions which it implements
41225 to always fail with ENOSYS. Some functions are actually named
41226 something starting with __ and the normal name is an alias. */
41227 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41228 choke me
41229 #else
41230 char (*f) () = gmtime_r;
41231 #endif
41232 #ifdef __cplusplus
41233 }
41234 #endif
41235
41236 int
41237 main ()
41238 {
41239 return f != gmtime_r;
41240 ;
41241 return 0;
41242 }
41243 _ACEOF
41244 rm -f conftest.$ac_objext conftest$ac_exeext
41245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41246 (eval $ac_link) 2>conftest.er1
41247 ac_status=$?
41248 grep -v '^ *+' conftest.er1 >conftest.err
41249 rm -f conftest.er1
41250 cat conftest.err >&5
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); } &&
41253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41255 (eval $ac_try) 2>&5
41256 ac_status=$?
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; } &&
41259 { ac_try='test -s conftest$ac_exeext'
41260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41261 (eval $ac_try) 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); }; }; then
41265 ac_cv_func_gmtime_r=yes
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 ac_cv_func_gmtime_r=no
41271 fi
41272 rm -f conftest.err conftest.$ac_objext \
41273 conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41276 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41277 if test $ac_cv_func_gmtime_r = yes; then
41278 cat >>confdefs.h <<\_ACEOF
41279 #define HAVE_GMTIME_R 1
41280 _ACEOF
41281
41282 fi
41283
41284 echo "$as_me:$LINENO: checking for readdir_r" >&5
41285 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41286 if test "${ac_cv_func_readdir_r+set}" = set; then
41287 echo $ECHO_N "(cached) $ECHO_C" >&6
41288 else
41289 cat >conftest.$ac_ext <<_ACEOF
41290 /* confdefs.h. */
41291 _ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41295 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41297 #define readdir_r innocuous_readdir_r
41298
41299 /* System header to define __stub macros and hopefully few prototypes,
41300 which can conflict with char readdir_r (); below.
41301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41302 <limits.h> exists even on freestanding compilers. */
41303
41304 #ifdef __STDC__
41305 # include <limits.h>
41306 #else
41307 # include <assert.h>
41308 #endif
41309
41310 #undef readdir_r
41311
41312 /* Override any gcc2 internal prototype to avoid an error. */
41313 #ifdef __cplusplus
41314 extern "C"
41315 {
41316 #endif
41317 /* We use char because int might match the return type of a gcc2
41318 builtin and then its argument prototype would still apply. */
41319 char readdir_r ();
41320 /* The GNU C library defines this for functions which it implements
41321 to always fail with ENOSYS. Some functions are actually named
41322 something starting with __ and the normal name is an alias. */
41323 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41324 choke me
41325 #else
41326 char (*f) () = readdir_r;
41327 #endif
41328 #ifdef __cplusplus
41329 }
41330 #endif
41331
41332 int
41333 main ()
41334 {
41335 return f != readdir_r;
41336 ;
41337 return 0;
41338 }
41339 _ACEOF
41340 rm -f conftest.$ac_objext conftest$ac_exeext
41341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41342 (eval $ac_link) 2>conftest.er1
41343 ac_status=$?
41344 grep -v '^ *+' conftest.er1 >conftest.err
41345 rm -f conftest.er1
41346 cat conftest.err >&5
41347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41348 (exit $ac_status); } &&
41349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41351 (eval $ac_try) 2>&5
41352 ac_status=$?
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); }; } &&
41355 { ac_try='test -s conftest$ac_exeext'
41356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41357 (eval $ac_try) 2>&5
41358 ac_status=$?
41359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41360 (exit $ac_status); }; }; then
41361 ac_cv_func_readdir_r=yes
41362 else
41363 echo "$as_me: failed program was:" >&5
41364 sed 's/^/| /' conftest.$ac_ext >&5
41365
41366 ac_cv_func_readdir_r=no
41367 fi
41368 rm -f conftest.err conftest.$ac_objext \
41369 conftest$ac_exeext conftest.$ac_ext
41370 fi
41371 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41372 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41373 if test $ac_cv_func_readdir_r = yes; then
41374 cat >>confdefs.h <<\_ACEOF
41375 #define HAVE_READDIR_R 1
41376 _ACEOF
41377
41378 fi
41379
41380
41381
41382
41383 ac_ext=c
41384 ac_cpp='$CPP $CPPFLAGS'
41385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41388
41389 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41390 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41391
41392 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41393 echo $ECHO_N "(cached) $ECHO_C" >&6
41394 else
41395
41396
41397 ################################################################
41398
41399 ac_cv_func_which_gethostbyname_r=unknown
41400
41401 #
41402 # ONE ARGUMENT (sanity check)
41403 #
41404
41405 # This should fail, as there is no variant of gethostbyname_r() that takes
41406 # a single argument. If it actually compiles, then we can assume that
41407 # netdb.h is not declaring the function, and the compiler is thereby
41408 # assuming an implicit prototype. In which case, we're out of luck.
41409 #
41410 cat >conftest.$ac_ext <<_ACEOF
41411 /* confdefs.h. */
41412 _ACEOF
41413 cat confdefs.h >>conftest.$ac_ext
41414 cat >>conftest.$ac_ext <<_ACEOF
41415 /* end confdefs.h. */
41416 #include <netdb.h>
41417 int
41418 main ()
41419 {
41420
41421 char *name = "www.gnu.org";
41422 (void)gethostbyname_r(name) /* ; */
41423
41424 ;
41425 return 0;
41426 }
41427 _ACEOF
41428 rm -f conftest.$ac_objext
41429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41430 (eval $ac_compile) 2>conftest.er1
41431 ac_status=$?
41432 grep -v '^ *+' conftest.er1 >conftest.err
41433 rm -f conftest.er1
41434 cat conftest.err >&5
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); } &&
41437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41439 (eval $ac_try) 2>&5
41440 ac_status=$?
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); }; } &&
41443 { ac_try='test -s conftest.$ac_objext'
41444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41445 (eval $ac_try) 2>&5
41446 ac_status=$?
41447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448 (exit $ac_status); }; }; then
41449 ac_cv_func_which_gethostbyname_r=no
41450 else
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41453
41454 fi
41455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41456
41457 #
41458 # SIX ARGUMENTS
41459 # (e.g. Linux)
41460 #
41461
41462 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41463
41464 cat >conftest.$ac_ext <<_ACEOF
41465 /* confdefs.h. */
41466 _ACEOF
41467 cat confdefs.h >>conftest.$ac_ext
41468 cat >>conftest.$ac_ext <<_ACEOF
41469 /* end confdefs.h. */
41470 #include <netdb.h>
41471 int
41472 main ()
41473 {
41474
41475 char *name = "www.gnu.org";
41476 struct hostent ret, *retp;
41477 char buf[1024];
41478 int buflen = 1024;
41479 int my_h_errno;
41480 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41481
41482 ;
41483 return 0;
41484 }
41485 _ACEOF
41486 rm -f conftest.$ac_objext
41487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41488 (eval $ac_compile) 2>conftest.er1
41489 ac_status=$?
41490 grep -v '^ *+' conftest.er1 >conftest.err
41491 rm -f conftest.er1
41492 cat conftest.err >&5
41493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494 (exit $ac_status); } &&
41495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497 (eval $ac_try) 2>&5
41498 ac_status=$?
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); }; } &&
41501 { ac_try='test -s conftest.$ac_objext'
41502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41503 (eval $ac_try) 2>&5
41504 ac_status=$?
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); }; }; then
41507 ac_cv_func_which_gethostbyname_r=six
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41511
41512 fi
41513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41514
41515 fi
41516
41517 #
41518 # FIVE ARGUMENTS
41519 # (e.g. Solaris)
41520 #
41521
41522 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41523
41524 cat >conftest.$ac_ext <<_ACEOF
41525 /* confdefs.h. */
41526 _ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 #include <netdb.h>
41531 int
41532 main ()
41533 {
41534
41535 char *name = "www.gnu.org";
41536 struct hostent ret;
41537 char buf[1024];
41538 int buflen = 1024;
41539 int my_h_errno;
41540 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41541
41542 ;
41543 return 0;
41544 }
41545 _ACEOF
41546 rm -f conftest.$ac_objext
41547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41548 (eval $ac_compile) 2>conftest.er1
41549 ac_status=$?
41550 grep -v '^ *+' conftest.er1 >conftest.err
41551 rm -f conftest.er1
41552 cat conftest.err >&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } &&
41555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41557 (eval $ac_try) 2>&5
41558 ac_status=$?
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); }; } &&
41561 { ac_try='test -s conftest.$ac_objext'
41562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41563 (eval $ac_try) 2>&5
41564 ac_status=$?
41565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41566 (exit $ac_status); }; }; then
41567 ac_cv_func_which_gethostbyname_r=five
41568 else
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.$ac_ext >&5
41571
41572 fi
41573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41574
41575 fi
41576
41577 #
41578 # THREE ARGUMENTS
41579 # (e.g. AIX, HP-UX, Tru64)
41580 #
41581
41582 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41583
41584 cat >conftest.$ac_ext <<_ACEOF
41585 /* confdefs.h. */
41586 _ACEOF
41587 cat confdefs.h >>conftest.$ac_ext
41588 cat >>conftest.$ac_ext <<_ACEOF
41589 /* end confdefs.h. */
41590 #include <netdb.h>
41591 int
41592 main ()
41593 {
41594
41595 char *name = "www.gnu.org";
41596 struct hostent ret;
41597 struct hostent_data data;
41598 (void)gethostbyname_r(name, &ret, &data) /* ; */
41599
41600 ;
41601 return 0;
41602 }
41603 _ACEOF
41604 rm -f conftest.$ac_objext
41605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41606 (eval $ac_compile) 2>conftest.er1
41607 ac_status=$?
41608 grep -v '^ *+' conftest.er1 >conftest.err
41609 rm -f conftest.er1
41610 cat conftest.err >&5
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); } &&
41613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41615 (eval $ac_try) 2>&5
41616 ac_status=$?
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); }; } &&
41619 { ac_try='test -s conftest.$ac_objext'
41620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41621 (eval $ac_try) 2>&5
41622 ac_status=$?
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); }; }; then
41625 ac_cv_func_which_gethostbyname_r=three
41626 else
41627 echo "$as_me: failed program was:" >&5
41628 sed 's/^/| /' conftest.$ac_ext >&5
41629
41630 fi
41631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41632
41633 fi
41634
41635 ################################################################
41636
41637
41638 fi
41639
41640 case "$ac_cv_func_which_gethostbyname_r" in
41641 three)
41642 echo "$as_me:$LINENO: result: three" >&5
41643 echo "${ECHO_T}three" >&6
41644 cat >>confdefs.h <<\_ACEOF
41645 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41646 _ACEOF
41647
41648 ;;
41649
41650 five)
41651 echo "$as_me:$LINENO: result: five" >&5
41652 echo "${ECHO_T}five" >&6
41653 cat >>confdefs.h <<\_ACEOF
41654 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41655 _ACEOF
41656
41657 ;;
41658
41659 six)
41660 echo "$as_me:$LINENO: result: six" >&5
41661 echo "${ECHO_T}six" >&6
41662 cat >>confdefs.h <<\_ACEOF
41663 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41664 _ACEOF
41665
41666 ;;
41667
41668 no)
41669 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41670 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41671 ;;
41672
41673 unknown)
41674 echo "$as_me:$LINENO: result: can't tell" >&5
41675 echo "${ECHO_T}can't tell" >&6
41676 ;;
41677
41678 *)
41679 { { echo "$as_me:$LINENO: error: internal error" >&5
41680 echo "$as_me: error: internal error" >&2;}
41681 { (exit 1); exit 1; }; }
41682 ;;
41683 esac
41684
41685 ac_ext=cc
41686 ac_cpp='$CXXCPP $CPPFLAGS'
41687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41690
41691
41692
41693 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41694 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41695 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41696 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41697 if test "${ac_cv_func_gethostbyname+set}" = set; then
41698 echo $ECHO_N "(cached) $ECHO_C" >&6
41699 else
41700 cat >conftest.$ac_ext <<_ACEOF
41701 /* confdefs.h. */
41702 _ACEOF
41703 cat confdefs.h >>conftest.$ac_ext
41704 cat >>conftest.$ac_ext <<_ACEOF
41705 /* end confdefs.h. */
41706 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41708 #define gethostbyname innocuous_gethostbyname
41709
41710 /* System header to define __stub macros and hopefully few prototypes,
41711 which can conflict with char gethostbyname (); below.
41712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41713 <limits.h> exists even on freestanding compilers. */
41714
41715 #ifdef __STDC__
41716 # include <limits.h>
41717 #else
41718 # include <assert.h>
41719 #endif
41720
41721 #undef gethostbyname
41722
41723 /* Override any gcc2 internal prototype to avoid an error. */
41724 #ifdef __cplusplus
41725 extern "C"
41726 {
41727 #endif
41728 /* We use char because int might match the return type of a gcc2
41729 builtin and then its argument prototype would still apply. */
41730 char gethostbyname ();
41731 /* The GNU C library defines this for functions which it implements
41732 to always fail with ENOSYS. Some functions are actually named
41733 something starting with __ and the normal name is an alias. */
41734 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41735 choke me
41736 #else
41737 char (*f) () = gethostbyname;
41738 #endif
41739 #ifdef __cplusplus
41740 }
41741 #endif
41742
41743 int
41744 main ()
41745 {
41746 return f != gethostbyname;
41747 ;
41748 return 0;
41749 }
41750 _ACEOF
41751 rm -f conftest.$ac_objext conftest$ac_exeext
41752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41753 (eval $ac_link) 2>conftest.er1
41754 ac_status=$?
41755 grep -v '^ *+' conftest.er1 >conftest.err
41756 rm -f conftest.er1
41757 cat conftest.err >&5
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); } &&
41760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41762 (eval $ac_try) 2>&5
41763 ac_status=$?
41764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765 (exit $ac_status); }; } &&
41766 { ac_try='test -s conftest$ac_exeext'
41767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41768 (eval $ac_try) 2>&5
41769 ac_status=$?
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); }; }; then
41772 ac_cv_func_gethostbyname=yes
41773 else
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41776
41777 ac_cv_func_gethostbyname=no
41778 fi
41779 rm -f conftest.err conftest.$ac_objext \
41780 conftest$ac_exeext conftest.$ac_ext
41781 fi
41782 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41783 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41784 if test $ac_cv_func_gethostbyname = yes; then
41785 cat >>confdefs.h <<\_ACEOF
41786 #define HAVE_GETHOSTBYNAME 1
41787 _ACEOF
41788
41789 fi
41790
41791 fi
41792
41793 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41794 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41795 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41796 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 else
41798
41799 cat >conftest.$ac_ext <<_ACEOF
41800 /* confdefs.h. */
41801 _ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805 #include <netdb.h>
41806 int
41807 main ()
41808 {
41809
41810 char *name;
41811 char *proto;
41812 struct servent *se, *res;
41813 char buffer[2048];
41814 int buflen = 2048;
41815 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41816
41817 ;
41818 return 0;
41819 }
41820 _ACEOF
41821 rm -f conftest.$ac_objext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41823 (eval $ac_compile) 2>conftest.er1
41824 ac_status=$?
41825 grep -v '^ *+' conftest.er1 >conftest.err
41826 rm -f conftest.er1
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41832 (eval $ac_try) 2>&5
41833 ac_status=$?
41834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41835 (exit $ac_status); }; } &&
41836 { ac_try='test -s conftest.$ac_objext'
41837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41838 (eval $ac_try) 2>&5
41839 ac_status=$?
41840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41841 (exit $ac_status); }; }; then
41842 ac_cv_func_which_getservbyname_r=six
41843 else
41844 echo "$as_me: failed program was:" >&5
41845 sed 's/^/| /' conftest.$ac_ext >&5
41846
41847
41848 cat >conftest.$ac_ext <<_ACEOF
41849 /* confdefs.h. */
41850 _ACEOF
41851 cat confdefs.h >>conftest.$ac_ext
41852 cat >>conftest.$ac_ext <<_ACEOF
41853 /* end confdefs.h. */
41854 #include <netdb.h>
41855 int
41856 main ()
41857 {
41858
41859 char *name;
41860 char *proto;
41861 struct servent *se;
41862 char buffer[2048];
41863 int buflen = 2048;
41864 (void) getservbyname_r(name, proto, se, buffer, buflen)
41865
41866 ;
41867 return 0;
41868 }
41869 _ACEOF
41870 rm -f conftest.$ac_objext
41871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41872 (eval $ac_compile) 2>conftest.er1
41873 ac_status=$?
41874 grep -v '^ *+' conftest.er1 >conftest.err
41875 rm -f conftest.er1
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } &&
41879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41881 (eval $ac_try) 2>&5
41882 ac_status=$?
41883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41884 (exit $ac_status); }; } &&
41885 { ac_try='test -s conftest.$ac_objext'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41888 ac_status=$?
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; }; then
41891 ac_cv_func_which_getservbyname_r=five
41892 else
41893 echo "$as_me: failed program was:" >&5
41894 sed 's/^/| /' conftest.$ac_ext >&5
41895
41896
41897 cat >conftest.$ac_ext <<_ACEOF
41898 /* confdefs.h. */
41899 _ACEOF
41900 cat confdefs.h >>conftest.$ac_ext
41901 cat >>conftest.$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41903 #include <netdb.h>
41904 int
41905 main ()
41906 {
41907
41908 char *name;
41909 char *proto;
41910 struct servent *se;
41911 struct servent_data data;
41912 (void) getservbyname_r(name, proto, se, &data);
41913
41914 ;
41915 return 0;
41916 }
41917 _ACEOF
41918 rm -f conftest.$ac_objext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41920 (eval $ac_compile) 2>conftest.er1
41921 ac_status=$?
41922 grep -v '^ *+' conftest.er1 >conftest.err
41923 rm -f conftest.er1
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } &&
41927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41929 (eval $ac_try) 2>&5
41930 ac_status=$?
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); }; } &&
41933 { ac_try='test -s conftest.$ac_objext'
41934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41935 (eval $ac_try) 2>&5
41936 ac_status=$?
41937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938 (exit $ac_status); }; }; then
41939 ac_cv_func_which_getservbyname_r=four
41940 else
41941 echo "$as_me: failed program was:" >&5
41942 sed 's/^/| /' conftest.$ac_ext >&5
41943
41944 ac_cv_func_which_getservbyname_r=no
41945
41946 fi
41947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41948
41949
41950 fi
41951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41952
41953
41954 fi
41955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41956
41957
41958 fi
41959 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41960 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41961
41962 if test $ac_cv_func_which_getservbyname_r = six; then
41963 cat >>confdefs.h <<\_ACEOF
41964 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41965 _ACEOF
41966
41967 elif test $ac_cv_func_which_getservbyname_r = five; then
41968 cat >>confdefs.h <<\_ACEOF
41969 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41970 _ACEOF
41971
41972 elif test $ac_cv_func_which_getservbyname_r = four; then
41973 cat >>confdefs.h <<\_ACEOF
41974 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41975 _ACEOF
41976
41977 fi
41978
41979
41980 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41981 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41982
41983 for ac_func in getservbyname
41984 do
41985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41986 echo "$as_me:$LINENO: checking for $ac_func" >&5
41987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41988 if eval "test \"\${$as_ac_var+set}\" = set"; then
41989 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 else
41991 cat >conftest.$ac_ext <<_ACEOF
41992 /* confdefs.h. */
41993 _ACEOF
41994 cat confdefs.h >>conftest.$ac_ext
41995 cat >>conftest.$ac_ext <<_ACEOF
41996 /* end confdefs.h. */
41997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41999 #define $ac_func innocuous_$ac_func
42000
42001 /* System header to define __stub macros and hopefully few prototypes,
42002 which can conflict with char $ac_func (); below.
42003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42004 <limits.h> exists even on freestanding compilers. */
42005
42006 #ifdef __STDC__
42007 # include <limits.h>
42008 #else
42009 # include <assert.h>
42010 #endif
42011
42012 #undef $ac_func
42013
42014 /* Override any gcc2 internal prototype to avoid an error. */
42015 #ifdef __cplusplus
42016 extern "C"
42017 {
42018 #endif
42019 /* We use char because int might match the return type of a gcc2
42020 builtin and then its argument prototype would still apply. */
42021 char $ac_func ();
42022 /* The GNU C library defines this for functions which it implements
42023 to always fail with ENOSYS. Some functions are actually named
42024 something starting with __ and the normal name is an alias. */
42025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42026 choke me
42027 #else
42028 char (*f) () = $ac_func;
42029 #endif
42030 #ifdef __cplusplus
42031 }
42032 #endif
42033
42034 int
42035 main ()
42036 {
42037 return f != $ac_func;
42038 ;
42039 return 0;
42040 }
42041 _ACEOF
42042 rm -f conftest.$ac_objext conftest$ac_exeext
42043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42044 (eval $ac_link) 2>conftest.er1
42045 ac_status=$?
42046 grep -v '^ *+' conftest.er1 >conftest.err
42047 rm -f conftest.er1
42048 cat conftest.err >&5
42049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050 (exit $ac_status); } &&
42051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42053 (eval $ac_try) 2>&5
42054 ac_status=$?
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; } &&
42057 { ac_try='test -s conftest$ac_exeext'
42058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42059 (eval $ac_try) 2>&5
42060 ac_status=$?
42061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42062 (exit $ac_status); }; }; then
42063 eval "$as_ac_var=yes"
42064 else
42065 echo "$as_me: failed program was:" >&5
42066 sed 's/^/| /' conftest.$ac_ext >&5
42067
42068 eval "$as_ac_var=no"
42069 fi
42070 rm -f conftest.err conftest.$ac_objext \
42071 conftest$ac_exeext conftest.$ac_ext
42072 fi
42073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42075 if test `eval echo '${'$as_ac_var'}'` = yes; then
42076 cat >>confdefs.h <<_ACEOF
42077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42078 _ACEOF
42079 cat >>confdefs.h <<\_ACEOF
42080 #define HAVE_GETSERVBYNAME 1
42081 _ACEOF
42082
42083 fi
42084 done
42085
42086 fi
42087
42088 if test "$wxUSE_THREADS" = "yes"; then
42089 cat >>confdefs.h <<\_ACEOF
42090 #define wxUSE_THREADS 1
42091 _ACEOF
42092
42093
42094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42095 else
42096 if test "$wx_cv_func_strtok_r" = "yes"; then
42097 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42098 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42099 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42100 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42101 echo "$as_me:$LINENO: result: yes" >&5
42102 echo "${ECHO_T}yes" >&6
42103 else
42104 echo "$as_me:$LINENO: result: no" >&5
42105 echo "${ECHO_T}no" >&6
42106 fi
42107 fi
42108 fi
42109
42110 if test "$WXGTK20" = 1 ; then
42111 cat >>confdefs.h <<_ACEOF
42112 #define __WXGTK20__ $WXGTK20
42113 _ACEOF
42114
42115 WXGTK12=1
42116 fi
42117
42118 if test "$WXGTK12" = 1 ; then
42119 cat >>confdefs.h <<_ACEOF
42120 #define __WXGTK12__ $WXGTK12
42121 _ACEOF
42122
42123 fi
42124
42125 if test "$WXGTK127" = 1 ; then
42126 cat >>confdefs.h <<_ACEOF
42127 #define __WXGTK127__ $WXGTK127
42128 _ACEOF
42129
42130 fi
42131
42132 if test "$WXGPE" = 1 ; then
42133 cat >>confdefs.h <<_ACEOF
42134 #define __WXGPE__ $WXGPE
42135 _ACEOF
42136
42137 fi
42138
42139 DEBUG_CFLAGS=
42140 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42141 DEBUG_CFLAGS="-g"
42142 wxUSE_OPTIMISE=no
42143 fi
42144
42145 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42146 wxUSE_DEBUG_INFO=yes
42147 if test "$GCC" = yes; then
42148 DEBUG_CFLAGS="-ggdb"
42149 fi
42150 fi
42151
42152 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42153 cat >>confdefs.h <<\_ACEOF
42154 #define WXDEBUG 1
42155 _ACEOF
42156
42157 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42158 else
42159 if test "$wxUSE_GTK" = 1 ; then
42160 if test "x$wxGTK_VERSION" = "x1" ; then
42161 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42162 fi
42163 fi
42164 fi
42165
42166 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_MEMORY_TRACING 1
42169 _ACEOF
42170
42171 cat >>confdefs.h <<\_ACEOF
42172 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42173 _ACEOF
42174
42175 cat >>confdefs.h <<\_ACEOF
42176 #define wxUSE_DEBUG_NEW_ALWAYS 1
42177 _ACEOF
42178
42179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42180 fi
42181
42182 if test "$wxUSE_DMALLOC" = "yes" ; then
42183 DMALLOC_LIBS="-ldmallocthcxx"
42184 fi
42185
42186 PROFILE_FLAGS=
42187 if test "$wxUSE_PROFILE" = "yes" ; then
42188 PROFILE_FLAGS=" -pg"
42189 fi
42190
42191 if test "$GCC" = "yes" ; then
42192 if test "$wxUSE_NO_RTTI" = "yes" ; then
42193 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42194 fi
42195 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42196 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42197 fi
42198 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42199 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42200 fi
42201
42202 case "${host}" in
42203 powerpc*-*-aix* )
42204 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42205 ;;
42206 *-hppa* )
42207 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42208 ;;
42209 esac
42210 fi
42211
42212 OPTIMISE_CFLAGS=
42213 if test "$wxUSE_OPTIMISE" = "no" ; then
42214 if test "$GCC" = yes ; then
42215 OPTIMISE_CFLAGS="-O0"
42216 fi
42217 else
42218 if test "$GCC" = yes ; then
42219 case "${host}" in
42220 *-pc-os2_emx | *-pc-os2-emx )
42221 OPTIMISE_CFLAGS="-O2"
42222 ;;
42223 *)
42224 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42225 ;;
42226 esac
42227 else
42228 OPTIMISE_CFLAGS="-O"
42229 fi
42230 fi
42231
42232
42233 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42234 cat >>confdefs.h <<\_ACEOF
42235 #define WXWIN_COMPATIBILITY_2_4 1
42236 _ACEOF
42237
42238
42239 WXWIN_COMPATIBILITY_2_6="yes"
42240 fi
42241
42242 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define WXWIN_COMPATIBILITY_2_6 1
42245 _ACEOF
42246
42247 fi
42248
42249
42250 if test "$wxUSE_GUI" = "yes"; then
42251 cat >>confdefs.h <<\_ACEOF
42252 #define wxUSE_GUI 1
42253 _ACEOF
42254
42255
42256 fi
42257
42258
42259 if test "$wxUSE_UNIX" = "yes"; then
42260 cat >>confdefs.h <<\_ACEOF
42261 #define wxUSE_UNIX 1
42262 _ACEOF
42263
42264 fi
42265
42266
42267 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42268
42269 HAVE_DL_FUNCS=0
42270 HAVE_SHL_FUNCS=0
42271 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42272 if test "$USE_DARWIN" = 1; then
42273 HAVE_DL_FUNCS=1
42274 elif test "$USE_DOS" = 1; then
42275 HAVE_DL_FUNCS=0
42276 else
42277
42278 for ac_func in dlopen
42279 do
42280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42281 echo "$as_me:$LINENO: checking for $ac_func" >&5
42282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42283 if eval "test \"\${$as_ac_var+set}\" = set"; then
42284 echo $ECHO_N "(cached) $ECHO_C" >&6
42285 else
42286 cat >conftest.$ac_ext <<_ACEOF
42287 /* confdefs.h. */
42288 _ACEOF
42289 cat confdefs.h >>conftest.$ac_ext
42290 cat >>conftest.$ac_ext <<_ACEOF
42291 /* end confdefs.h. */
42292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42294 #define $ac_func innocuous_$ac_func
42295
42296 /* System header to define __stub macros and hopefully few prototypes,
42297 which can conflict with char $ac_func (); below.
42298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42299 <limits.h> exists even on freestanding compilers. */
42300
42301 #ifdef __STDC__
42302 # include <limits.h>
42303 #else
42304 # include <assert.h>
42305 #endif
42306
42307 #undef $ac_func
42308
42309 /* Override any gcc2 internal prototype to avoid an error. */
42310 #ifdef __cplusplus
42311 extern "C"
42312 {
42313 #endif
42314 /* We use char because int might match the return type of a gcc2
42315 builtin and then its argument prototype would still apply. */
42316 char $ac_func ();
42317 /* The GNU C library defines this for functions which it implements
42318 to always fail with ENOSYS. Some functions are actually named
42319 something starting with __ and the normal name is an alias. */
42320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42321 choke me
42322 #else
42323 char (*f) () = $ac_func;
42324 #endif
42325 #ifdef __cplusplus
42326 }
42327 #endif
42328
42329 int
42330 main ()
42331 {
42332 return f != $ac_func;
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 rm -f conftest.$ac_objext conftest$ac_exeext
42338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42339 (eval $ac_link) 2>conftest.er1
42340 ac_status=$?
42341 grep -v '^ *+' conftest.er1 >conftest.err
42342 rm -f conftest.er1
42343 cat conftest.err >&5
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); } &&
42346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42348 (eval $ac_try) 2>&5
42349 ac_status=$?
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); }; } &&
42352 { ac_try='test -s conftest$ac_exeext'
42353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42354 (eval $ac_try) 2>&5
42355 ac_status=$?
42356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42357 (exit $ac_status); }; }; then
42358 eval "$as_ac_var=yes"
42359 else
42360 echo "$as_me: failed program was:" >&5
42361 sed 's/^/| /' conftest.$ac_ext >&5
42362
42363 eval "$as_ac_var=no"
42364 fi
42365 rm -f conftest.err conftest.$ac_objext \
42366 conftest$ac_exeext conftest.$ac_ext
42367 fi
42368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42370 if test `eval echo '${'$as_ac_var'}'` = yes; then
42371 cat >>confdefs.h <<_ACEOF
42372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42373 _ACEOF
42374
42375 cat >>confdefs.h <<\_ACEOF
42376 #define HAVE_DLOPEN 1
42377 _ACEOF
42378
42379 HAVE_DL_FUNCS=1
42380
42381 else
42382
42383 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42384 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42385 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42386 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 else
42388 ac_check_lib_save_LIBS=$LIBS
42389 LIBS="-ldl $LIBS"
42390 cat >conftest.$ac_ext <<_ACEOF
42391 /* confdefs.h. */
42392 _ACEOF
42393 cat confdefs.h >>conftest.$ac_ext
42394 cat >>conftest.$ac_ext <<_ACEOF
42395 /* end confdefs.h. */
42396
42397 /* Override any gcc2 internal prototype to avoid an error. */
42398 #ifdef __cplusplus
42399 extern "C"
42400 #endif
42401 /* We use char because int might match the return type of a gcc2
42402 builtin and then its argument prototype would still apply. */
42403 char dlopen ();
42404 int
42405 main ()
42406 {
42407 dlopen ();
42408 ;
42409 return 0;
42410 }
42411 _ACEOF
42412 rm -f conftest.$ac_objext conftest$ac_exeext
42413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42414 (eval $ac_link) 2>conftest.er1
42415 ac_status=$?
42416 grep -v '^ *+' conftest.er1 >conftest.err
42417 rm -f conftest.er1
42418 cat conftest.err >&5
42419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42420 (exit $ac_status); } &&
42421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423 (eval $ac_try) 2>&5
42424 ac_status=$?
42425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426 (exit $ac_status); }; } &&
42427 { ac_try='test -s conftest$ac_exeext'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42430 ac_status=$?
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; }; then
42433 ac_cv_lib_dl_dlopen=yes
42434 else
42435 echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42437
42438 ac_cv_lib_dl_dlopen=no
42439 fi
42440 rm -f conftest.err conftest.$ac_objext \
42441 conftest$ac_exeext conftest.$ac_ext
42442 LIBS=$ac_check_lib_save_LIBS
42443 fi
42444 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42445 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42446 if test $ac_cv_lib_dl_dlopen = yes; then
42447
42448 cat >>confdefs.h <<\_ACEOF
42449 #define HAVE_DLOPEN 1
42450 _ACEOF
42451
42452 HAVE_DL_FUNCS=1
42453 DL_LINK=" -ldl$DL_LINK"
42454
42455 else
42456
42457
42458 for ac_func in shl_load
42459 do
42460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42461 echo "$as_me:$LINENO: checking for $ac_func" >&5
42462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42463 if eval "test \"\${$as_ac_var+set}\" = set"; then
42464 echo $ECHO_N "(cached) $ECHO_C" >&6
42465 else
42466 cat >conftest.$ac_ext <<_ACEOF
42467 /* confdefs.h. */
42468 _ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42474 #define $ac_func innocuous_$ac_func
42475
42476 /* System header to define __stub macros and hopefully few prototypes,
42477 which can conflict with char $ac_func (); below.
42478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42479 <limits.h> exists even on freestanding compilers. */
42480
42481 #ifdef __STDC__
42482 # include <limits.h>
42483 #else
42484 # include <assert.h>
42485 #endif
42486
42487 #undef $ac_func
42488
42489 /* Override any gcc2 internal prototype to avoid an error. */
42490 #ifdef __cplusplus
42491 extern "C"
42492 {
42493 #endif
42494 /* We use char because int might match the return type of a gcc2
42495 builtin and then its argument prototype would still apply. */
42496 char $ac_func ();
42497 /* The GNU C library defines this for functions which it implements
42498 to always fail with ENOSYS. Some functions are actually named
42499 something starting with __ and the normal name is an alias. */
42500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42501 choke me
42502 #else
42503 char (*f) () = $ac_func;
42504 #endif
42505 #ifdef __cplusplus
42506 }
42507 #endif
42508
42509 int
42510 main ()
42511 {
42512 return f != $ac_func;
42513 ;
42514 return 0;
42515 }
42516 _ACEOF
42517 rm -f conftest.$ac_objext conftest$ac_exeext
42518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42519 (eval $ac_link) 2>conftest.er1
42520 ac_status=$?
42521 grep -v '^ *+' conftest.er1 >conftest.err
42522 rm -f conftest.er1
42523 cat conftest.err >&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); } &&
42526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42529 ac_status=$?
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; } &&
42532 { ac_try='test -s conftest$ac_exeext'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; }; then
42538 eval "$as_ac_var=yes"
42539 else
42540 echo "$as_me: failed program was:" >&5
42541 sed 's/^/| /' conftest.$ac_ext >&5
42542
42543 eval "$as_ac_var=no"
42544 fi
42545 rm -f conftest.err conftest.$ac_objext \
42546 conftest$ac_exeext conftest.$ac_ext
42547 fi
42548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42550 if test `eval echo '${'$as_ac_var'}'` = yes; then
42551 cat >>confdefs.h <<_ACEOF
42552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42553 _ACEOF
42554
42555 cat >>confdefs.h <<\_ACEOF
42556 #define HAVE_SHL_LOAD 1
42557 _ACEOF
42558
42559 HAVE_SHL_FUNCS=1
42560
42561 else
42562
42563 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42564 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42565 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42566 echo $ECHO_N "(cached) $ECHO_C" >&6
42567 else
42568 ac_check_lib_save_LIBS=$LIBS
42569 LIBS="-lshl_load $LIBS"
42570 cat >conftest.$ac_ext <<_ACEOF
42571 /* confdefs.h. */
42572 _ACEOF
42573 cat confdefs.h >>conftest.$ac_ext
42574 cat >>conftest.$ac_ext <<_ACEOF
42575 /* end confdefs.h. */
42576
42577 /* Override any gcc2 internal prototype to avoid an error. */
42578 #ifdef __cplusplus
42579 extern "C"
42580 #endif
42581 /* We use char because int might match the return type of a gcc2
42582 builtin and then its argument prototype would still apply. */
42583 char dld ();
42584 int
42585 main ()
42586 {
42587 dld ();
42588 ;
42589 return 0;
42590 }
42591 _ACEOF
42592 rm -f conftest.$ac_objext conftest$ac_exeext
42593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42594 (eval $ac_link) 2>conftest.er1
42595 ac_status=$?
42596 grep -v '^ *+' conftest.er1 >conftest.err
42597 rm -f conftest.er1
42598 cat conftest.err >&5
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); } &&
42601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42603 (eval $ac_try) 2>&5
42604 ac_status=$?
42605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42606 (exit $ac_status); }; } &&
42607 { ac_try='test -s conftest$ac_exeext'
42608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42609 (eval $ac_try) 2>&5
42610 ac_status=$?
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); }; }; then
42613 ac_cv_lib_shl_load_dld=yes
42614 else
42615 echo "$as_me: failed program was:" >&5
42616 sed 's/^/| /' conftest.$ac_ext >&5
42617
42618 ac_cv_lib_shl_load_dld=no
42619 fi
42620 rm -f conftest.err conftest.$ac_objext \
42621 conftest$ac_exeext conftest.$ac_ext
42622 LIBS=$ac_check_lib_save_LIBS
42623 fi
42624 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42625 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42626 if test $ac_cv_lib_shl_load_dld = yes; then
42627
42628 HAVE_SHL_FUNCS=1
42629 DL_LINK=" -ldld$DL_LINK"
42630
42631 fi
42632
42633
42634 fi
42635 done
42636
42637
42638 fi
42639
42640
42641 fi
42642 done
42643
42644
42645 if test "$HAVE_DL_FUNCS" = 1; then
42646
42647 for ac_func in dlerror
42648 do
42649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42650 echo "$as_me:$LINENO: checking for $ac_func" >&5
42651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42652 if eval "test \"\${$as_ac_var+set}\" = set"; then
42653 echo $ECHO_N "(cached) $ECHO_C" >&6
42654 else
42655 cat >conftest.$ac_ext <<_ACEOF
42656 /* confdefs.h. */
42657 _ACEOF
42658 cat confdefs.h >>conftest.$ac_ext
42659 cat >>conftest.$ac_ext <<_ACEOF
42660 /* end confdefs.h. */
42661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42663 #define $ac_func innocuous_$ac_func
42664
42665 /* System header to define __stub macros and hopefully few prototypes,
42666 which can conflict with char $ac_func (); below.
42667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42668 <limits.h> exists even on freestanding compilers. */
42669
42670 #ifdef __STDC__
42671 # include <limits.h>
42672 #else
42673 # include <assert.h>
42674 #endif
42675
42676 #undef $ac_func
42677
42678 /* Override any gcc2 internal prototype to avoid an error. */
42679 #ifdef __cplusplus
42680 extern "C"
42681 {
42682 #endif
42683 /* We use char because int might match the return type of a gcc2
42684 builtin and then its argument prototype would still apply. */
42685 char $ac_func ();
42686 /* The GNU C library defines this for functions which it implements
42687 to always fail with ENOSYS. Some functions are actually named
42688 something starting with __ and the normal name is an alias. */
42689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42690 choke me
42691 #else
42692 char (*f) () = $ac_func;
42693 #endif
42694 #ifdef __cplusplus
42695 }
42696 #endif
42697
42698 int
42699 main ()
42700 {
42701 return f != $ac_func;
42702 ;
42703 return 0;
42704 }
42705 _ACEOF
42706 rm -f conftest.$ac_objext conftest$ac_exeext
42707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42708 (eval $ac_link) 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } &&
42715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717 (eval $ac_try) 2>&5
42718 ac_status=$?
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; } &&
42721 { ac_try='test -s conftest$ac_exeext'
42722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42723 (eval $ac_try) 2>&5
42724 ac_status=$?
42725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42726 (exit $ac_status); }; }; then
42727 eval "$as_ac_var=yes"
42728 else
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42731
42732 eval "$as_ac_var=no"
42733 fi
42734 rm -f conftest.err conftest.$ac_objext \
42735 conftest$ac_exeext conftest.$ac_ext
42736 fi
42737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42739 if test `eval echo '${'$as_ac_var'}'` = yes; then
42740 cat >>confdefs.h <<_ACEOF
42741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42742 _ACEOF
42743 cat >>confdefs.h <<\_ACEOF
42744 #define HAVE_DLERROR 1
42745 _ACEOF
42746
42747 else
42748
42749 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42750 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42751 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754 ac_check_lib_save_LIBS=$LIBS
42755 LIBS="-ldl $LIBS"
42756 cat >conftest.$ac_ext <<_ACEOF
42757 /* confdefs.h. */
42758 _ACEOF
42759 cat confdefs.h >>conftest.$ac_ext
42760 cat >>conftest.$ac_ext <<_ACEOF
42761 /* end confdefs.h. */
42762
42763 /* Override any gcc2 internal prototype to avoid an error. */
42764 #ifdef __cplusplus
42765 extern "C"
42766 #endif
42767 /* We use char because int might match the return type of a gcc2
42768 builtin and then its argument prototype would still apply. */
42769 char dlerror ();
42770 int
42771 main ()
42772 {
42773 dlerror ();
42774 ;
42775 return 0;
42776 }
42777 _ACEOF
42778 rm -f conftest.$ac_objext conftest$ac_exeext
42779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42780 (eval $ac_link) 2>conftest.er1
42781 ac_status=$?
42782 grep -v '^ *+' conftest.er1 >conftest.err
42783 rm -f conftest.er1
42784 cat conftest.err >&5
42785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42786 (exit $ac_status); } &&
42787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789 (eval $ac_try) 2>&5
42790 ac_status=$?
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); }; } &&
42793 { ac_try='test -s conftest$ac_exeext'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 ac_cv_lib_dl_dlerror=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42803
42804 ac_cv_lib_dl_dlerror=no
42805 fi
42806 rm -f conftest.err conftest.$ac_objext \
42807 conftest$ac_exeext conftest.$ac_ext
42808 LIBS=$ac_check_lib_save_LIBS
42809 fi
42810 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42811 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42812 if test $ac_cv_lib_dl_dlerror = yes; then
42813 cat >>confdefs.h <<\_ACEOF
42814 #define HAVE_DLERROR 1
42815 _ACEOF
42816
42817 fi
42818
42819
42820
42821 fi
42822 done
42823
42824 fi
42825 fi
42826
42827 if test "$HAVE_DL_FUNCS" = 0; then
42828 if test "$HAVE_SHL_FUNCS" = 0; then
42829 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42830 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42831 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42832 wxUSE_DYNAMIC_LOADER=no
42833 wxUSE_DYNLIB_CLASS=no
42834 else
42835 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42836 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42837 fi
42838 fi
42839 fi
42840 fi
42841 fi
42842
42843 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42844 cat >>confdefs.h <<\_ACEOF
42845 #define wxUSE_DYNAMIC_LOADER 1
42846 _ACEOF
42847
42848 fi
42849 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42850 cat >>confdefs.h <<\_ACEOF
42851 #define wxUSE_DYNLIB_CLASS 1
42852 _ACEOF
42853
42854 fi
42855
42856
42857
42858 if test "$wxUSE_PLUGINS" = "yes" ; then
42859 if test "$wxUSE_SHARED" = "no" ; then
42860 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42861 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42862 wxUSE_PLUGINS=no
42863 fi
42864 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42865 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42866 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42867 wxUSE_PLUGINS=no
42868 fi
42869 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42870 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42871 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42872 wxUSE_PLUGINS=no
42873 fi
42874 if test "$wxUSE_PLUGINS" = "yes" ; then
42875 cat >>confdefs.h <<\_ACEOF
42876 #define wxUSE_PLUGINS 1
42877 _ACEOF
42878
42879 fi
42880 fi
42881
42882
42883 if test "$wxUSE_STL" = "yes"; then
42884 cat >>confdefs.h <<\_ACEOF
42885 #define wxUSE_STL 1
42886 _ACEOF
42887
42888 fi
42889
42890 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42891 cat >>confdefs.h <<\_ACEOF
42892 #define wxUSE_APPLE_IEEE 1
42893 _ACEOF
42894
42895 fi
42896
42897 if test "$wxUSE_TIMER" = "yes"; then
42898 cat >>confdefs.h <<\_ACEOF
42899 #define wxUSE_TIMER 1
42900 _ACEOF
42901
42902 fi
42903
42904 if test "$USE_UNIX" = "1" ; then
42905 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42906 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42907 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42908 echo $ECHO_N "(cached) $ECHO_C" >&6
42909 else
42910
42911 cat >conftest.$ac_ext <<_ACEOF
42912 /* confdefs.h. */
42913 _ACEOF
42914 cat confdefs.h >>conftest.$ac_ext
42915 cat >>conftest.$ac_ext <<_ACEOF
42916 /* end confdefs.h. */
42917
42918 #include <sys/ioctl.h>
42919 #include <sys/soundcard.h>
42920
42921 int
42922 main ()
42923 {
42924
42925 ioctl(0, SNDCTL_DSP_SPEED, 0);
42926
42927 ;
42928 return 0;
42929 }
42930 _ACEOF
42931 rm -f conftest.$ac_objext conftest$ac_exeext
42932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42933 (eval $ac_link) 2>conftest.er1
42934 ac_status=$?
42935 grep -v '^ *+' conftest.er1 >conftest.err
42936 rm -f conftest.er1
42937 cat conftest.err >&5
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); } &&
42940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42942 (eval $ac_try) 2>&5
42943 ac_status=$?
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); }; } &&
42946 { ac_try='test -s conftest$ac_exeext'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42949 ac_status=$?
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; }; then
42952 ac_cv_header_sys_soundcard=yes
42953 else
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.$ac_ext >&5
42956
42957
42958 saveLibs="$LIBS"
42959 LIBS="$saveLibs -lossaudio"
42960 cat >conftest.$ac_ext <<_ACEOF
42961 /* confdefs.h. */
42962 _ACEOF
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42966
42967 #include <sys/ioctl.h>
42968 #include <sys/soundcard.h>
42969
42970 int
42971 main ()
42972 {
42973
42974 ioctl(0, SNDCTL_DSP_SPEED, 0);
42975
42976 ;
42977 return 0;
42978 }
42979 _ACEOF
42980 rm -f conftest.$ac_objext conftest$ac_exeext
42981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42982 (eval $ac_link) 2>conftest.er1
42983 ac_status=$?
42984 grep -v '^ *+' conftest.er1 >conftest.err
42985 rm -f conftest.er1
42986 cat conftest.err >&5
42987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42988 (exit $ac_status); } &&
42989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42991 (eval $ac_try) 2>&5
42992 ac_status=$?
42993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42994 (exit $ac_status); }; } &&
42995 { ac_try='test -s conftest$ac_exeext'
42996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42997 (eval $ac_try) 2>&5
42998 ac_status=$?
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; }; then
43001 ac_cv_header_sys_soundcard=yes
43002 else
43003 echo "$as_me: failed program was:" >&5
43004 sed 's/^/| /' conftest.$ac_ext >&5
43005
43006
43007 LIBS="$saveLibs"
43008 ac_cv_header_sys_soundcard=no
43009
43010
43011 fi
43012 rm -f conftest.err conftest.$ac_objext \
43013 conftest$ac_exeext conftest.$ac_ext
43014
43015
43016 fi
43017 rm -f conftest.err conftest.$ac_objext \
43018 conftest$ac_exeext conftest.$ac_ext
43019
43020 fi
43021 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43022 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43023
43024 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43025 cat >>confdefs.h <<\_ACEOF
43026 #define HAVE_SYS_SOUNDCARD_H 1
43027 _ACEOF
43028
43029 else
43030 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43031 fi
43032 fi
43033 WITH_PLUGIN_SDL=0
43034 if test "$wxUSE_SOUND" = "yes"; then
43035 if test "$USE_UNIX" = "1" ; then
43036 if test "$wxUSE_LIBSDL" != "no"; then
43037
43038 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43039 if test "${with_sdl_prefix+set}" = set; then
43040 withval="$with_sdl_prefix"
43041 sdl_prefix="$withval"
43042 else
43043 sdl_prefix=""
43044 fi;
43045
43046 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43047 if test "${with_sdl_exec_prefix+set}" = set; then
43048 withval="$with_sdl_exec_prefix"
43049 sdl_exec_prefix="$withval"
43050 else
43051 sdl_exec_prefix=""
43052 fi;
43053 # Check whether --enable-sdltest or --disable-sdltest was given.
43054 if test "${enable_sdltest+set}" = set; then
43055 enableval="$enable_sdltest"
43056
43057 else
43058 enable_sdltest=yes
43059 fi;
43060
43061 if test x$sdl_exec_prefix != x ; then
43062 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43063 if test x${SDL_CONFIG+set} != xset ; then
43064 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43065 fi
43066 fi
43067 if test x$sdl_prefix != x ; then
43068 sdl_args="$sdl_args --prefix=$sdl_prefix"
43069 if test x${SDL_CONFIG+set} != xset ; then
43070 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43071 fi
43072 fi
43073
43074 if test "x$prefix" != xNONE; then
43075 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43076 fi
43077 # Extract the first word of "sdl-config", so it can be a program name with args.
43078 set dummy sdl-config; ac_word=$2
43079 echo "$as_me:$LINENO: checking for $ac_word" >&5
43080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43081 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43082 echo $ECHO_N "(cached) $ECHO_C" >&6
43083 else
43084 case $SDL_CONFIG in
43085 [\\/]* | ?:[\\/]*)
43086 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43087 ;;
43088 *)
43089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43090 for as_dir in $PATH
43091 do
43092 IFS=$as_save_IFS
43093 test -z "$as_dir" && as_dir=.
43094 for ac_exec_ext in '' $ac_executable_extensions; do
43095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43096 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43098 break 2
43099 fi
43100 done
43101 done
43102
43103 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43104 ;;
43105 esac
43106 fi
43107 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43108
43109 if test -n "$SDL_CONFIG"; then
43110 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43111 echo "${ECHO_T}$SDL_CONFIG" >&6
43112 else
43113 echo "$as_me:$LINENO: result: no" >&5
43114 echo "${ECHO_T}no" >&6
43115 fi
43116
43117 min_sdl_version=1.2.0
43118 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43119 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43120 no_sdl=""
43121 if test "$SDL_CONFIG" = "no" ; then
43122 no_sdl=yes
43123 else
43124 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43125 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43126
43127 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43129 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43131 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43133 if test "x$enable_sdltest" = "xyes" ; then
43134 ac_save_CFLAGS="$CFLAGS"
43135 ac_save_CXXFLAGS="$CXXFLAGS"
43136 ac_save_LIBS="$LIBS"
43137 CFLAGS="$CFLAGS $SDL_CFLAGS"
43138 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43139 LIBS="$LIBS $SDL_LIBS"
43140 rm -f conf.sdltest
43141 if test "$cross_compiling" = yes; then
43142 echo $ac_n "cross compiling; assumed OK... $ac_c"
43143 else
43144 cat >conftest.$ac_ext <<_ACEOF
43145 /* confdefs.h. */
43146 _ACEOF
43147 cat confdefs.h >>conftest.$ac_ext
43148 cat >>conftest.$ac_ext <<_ACEOF
43149 /* end confdefs.h. */
43150
43151 #include <stdio.h>
43152 #include <stdlib.h>
43153 #include <string.h>
43154 #include "SDL.h"
43155
43156 char*
43157 my_strdup (char *str)
43158 {
43159 char *new_str;
43160
43161 if (str)
43162 {
43163 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43164 strcpy (new_str, str);
43165 }
43166 else
43167 new_str = NULL;
43168
43169 return new_str;
43170 }
43171
43172 int main (int argc, char *argv[])
43173 {
43174 int major, minor, micro;
43175 char *tmp_version;
43176
43177 /* This hangs on some systems (?)
43178 system ("touch conf.sdltest");
43179 */
43180 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43181
43182 /* HP/UX 9 (%@#!) writes to sscanf strings */
43183 tmp_version = my_strdup("$min_sdl_version");
43184 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43185 printf("%s, bad version string\n", "$min_sdl_version");
43186 exit(1);
43187 }
43188
43189 if (($sdl_major_version > major) ||
43190 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43191 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43192 {
43193 return 0;
43194 }
43195 else
43196 {
43197 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43198 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43199 printf("*** best to upgrade to the required version.\n");
43200 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43201 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43202 printf("*** config.cache before re-running configure\n");
43203 return 1;
43204 }
43205 }
43206
43207
43208 _ACEOF
43209 rm -f conftest$ac_exeext
43210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43211 (eval $ac_link) 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43216 (eval $ac_try) 2>&5
43217 ac_status=$?
43218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43219 (exit $ac_status); }; }; then
43220 :
43221 else
43222 echo "$as_me: program exited with status $ac_status" >&5
43223 echo "$as_me: failed program was:" >&5
43224 sed 's/^/| /' conftest.$ac_ext >&5
43225
43226 ( exit $ac_status )
43227 no_sdl=yes
43228 fi
43229 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43230 fi
43231 CFLAGS="$ac_save_CFLAGS"
43232 CXXFLAGS="$ac_save_CXXFLAGS"
43233 LIBS="$ac_save_LIBS"
43234 fi
43235 fi
43236 if test "x$no_sdl" = x ; then
43237 echo "$as_me:$LINENO: result: yes" >&5
43238 echo "${ECHO_T}yes" >&6
43239
43240 EXTRALIBS_SDL="$SDL_LIBS"
43241 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43242 cat >>confdefs.h <<\_ACEOF
43243 #define wxUSE_LIBSDL 1
43244 _ACEOF
43245
43246
43247 else
43248 echo "$as_me:$LINENO: result: no" >&5
43249 echo "${ECHO_T}no" >&6
43250 if test "$SDL_CONFIG" = "no" ; then
43251 echo "*** The sdl-config script installed by SDL could not be found"
43252 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43253 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43254 echo "*** full path to sdl-config."
43255 else
43256 if test -f conf.sdltest ; then
43257 :
43258 else
43259 echo "*** Could not run SDL test program, checking why..."
43260 CFLAGS="$CFLAGS $SDL_CFLAGS"
43261 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43262 LIBS="$LIBS $SDL_LIBS"
43263 cat >conftest.$ac_ext <<_ACEOF
43264 /* confdefs.h. */
43265 _ACEOF
43266 cat confdefs.h >>conftest.$ac_ext
43267 cat >>conftest.$ac_ext <<_ACEOF
43268 /* end confdefs.h. */
43269
43270 #include <stdio.h>
43271 #include "SDL.h"
43272
43273 int main(int argc, char *argv[])
43274 { return 0; }
43275 #undef main
43276 #define main K_and_R_C_main
43277
43278 int
43279 main ()
43280 {
43281 return 0;
43282 ;
43283 return 0;
43284 }
43285 _ACEOF
43286 rm -f conftest.$ac_objext conftest$ac_exeext
43287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43288 (eval $ac_link) 2>conftest.er1
43289 ac_status=$?
43290 grep -v '^ *+' conftest.er1 >conftest.err
43291 rm -f conftest.er1
43292 cat conftest.err >&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } &&
43295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43297 (eval $ac_try) 2>&5
43298 ac_status=$?
43299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43300 (exit $ac_status); }; } &&
43301 { ac_try='test -s conftest$ac_exeext'
43302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43303 (eval $ac_try) 2>&5
43304 ac_status=$?
43305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43306 (exit $ac_status); }; }; then
43307 echo "*** The test program compiled, but did not run. This usually means"
43308 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43309 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43310 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43311 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43312 echo "*** is required on your system"
43313 echo "***"
43314 echo "*** If you have an old version installed, it is best to remove it, although"
43315 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43316 else
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43319
43320 echo "*** The test program failed to compile or link. See the file config.log for the"
43321 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43322 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43323 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43324 fi
43325 rm -f conftest.err conftest.$ac_objext \
43326 conftest$ac_exeext conftest.$ac_ext
43327 CFLAGS="$ac_save_CFLAGS"
43328 CXXFLAGS="$ac_save_CXXFLAGS"
43329 LIBS="$ac_save_LIBS"
43330 fi
43331 fi
43332 SDL_CFLAGS=""
43333 SDL_LIBS=""
43334 wxUSE_LIBSDL="no"
43335 fi
43336
43337
43338 rm -f conf.sdltest
43339
43340 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43341 WITH_PLUGIN_SDL=1
43342 fi
43343 fi
43344 else
43345 if test "$wxUSE_MGL" = 1; then
43346 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43347 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43348 wxUSE_SOUND="no"
43349 fi
43350 fi
43351 fi
43352
43353 if test "$wxUSE_SOUND" = "yes"; then
43354 cat >>confdefs.h <<\_ACEOF
43355 #define wxUSE_SOUND 1
43356 _ACEOF
43357
43358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43359 fi
43360
43361 if test "$WXGTK20" = 1; then
43362
43363
43364 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43365 if test -n "$ac_tool_prefix"; then
43366 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43367 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43368 echo "$as_me:$LINENO: checking for $ac_word" >&5
43369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43370 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43371 echo $ECHO_N "(cached) $ECHO_C" >&6
43372 else
43373 case $PKG_CONFIG in
43374 [\\/]* | ?:[\\/]*)
43375 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43376 ;;
43377 *)
43378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43379 for as_dir in $PATH
43380 do
43381 IFS=$as_save_IFS
43382 test -z "$as_dir" && as_dir=.
43383 for ac_exec_ext in '' $ac_executable_extensions; do
43384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43385 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43387 break 2
43388 fi
43389 done
43390 done
43391
43392 ;;
43393 esac
43394 fi
43395 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43396
43397 if test -n "$PKG_CONFIG"; then
43398 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43399 echo "${ECHO_T}$PKG_CONFIG" >&6
43400 else
43401 echo "$as_me:$LINENO: result: no" >&5
43402 echo "${ECHO_T}no" >&6
43403 fi
43404
43405 fi
43406 if test -z "$ac_cv_path_PKG_CONFIG"; then
43407 ac_pt_PKG_CONFIG=$PKG_CONFIG
43408 # Extract the first word of "pkg-config", so it can be a program name with args.
43409 set dummy pkg-config; ac_word=$2
43410 echo "$as_me:$LINENO: checking for $ac_word" >&5
43411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43412 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43413 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 else
43415 case $ac_pt_PKG_CONFIG in
43416 [\\/]* | ?:[\\/]*)
43417 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43418 ;;
43419 *)
43420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43421 for as_dir in $PATH
43422 do
43423 IFS=$as_save_IFS
43424 test -z "$as_dir" && as_dir=.
43425 for ac_exec_ext in '' $ac_executable_extensions; do
43426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43427 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43429 break 2
43430 fi
43431 done
43432 done
43433
43434 ;;
43435 esac
43436 fi
43437 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43438
43439 if test -n "$ac_pt_PKG_CONFIG"; then
43440 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43441 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43442 else
43443 echo "$as_me:$LINENO: result: no" >&5
43444 echo "${ECHO_T}no" >&6
43445 fi
43446
43447 PKG_CONFIG=$ac_pt_PKG_CONFIG
43448 else
43449 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43450 fi
43451
43452 fi
43453 if test -n "$PKG_CONFIG"; then
43454 _pkg_min_version=0.9.0
43455 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43456 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43457 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43458 echo "$as_me:$LINENO: result: yes" >&5
43459 echo "${ECHO_T}yes" >&6
43460 else
43461 echo "$as_me:$LINENO: result: no" >&5
43462 echo "${ECHO_T}no" >&6
43463 PKG_CONFIG=""
43464 fi
43465
43466 fi
43467
43468 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43469 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43470
43471
43472 pkg_failed=no
43473 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43474 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43475
43476 if test -n "$PKG_CONFIG"; then
43477 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43478 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43479 else
43480 if test -n "$PKG_CONFIG" && \
43481 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43482 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43483 ac_status=$?
43484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485 (exit $ac_status); }; then
43486 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43487 else
43488 pkg_failed=yes
43489 fi
43490 fi
43491 else
43492 pkg_failed=untried
43493 fi
43494 if test -n "$PKG_CONFIG"; then
43495 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43496 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43497 else
43498 if test -n "$PKG_CONFIG" && \
43499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43500 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43501 ac_status=$?
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); }; then
43504 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43505 else
43506 pkg_failed=yes
43507 fi
43508 fi
43509 else
43510 pkg_failed=untried
43511 fi
43512
43513
43514
43515 if test $pkg_failed = yes; then
43516
43517 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43518 _pkg_short_errors_supported=yes
43519 else
43520 _pkg_short_errors_supported=no
43521 fi
43522 if test $_pkg_short_errors_supported = yes; then
43523 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43524 else
43525 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43526 fi
43527 # Put the nasty error message in config.log where it belongs
43528 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43529
43530
43531 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43532 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43533 wxUSE_LIBGNOMEPRINT="no"
43534
43535
43536 elif test $pkg_failed = untried; then
43537
43538 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43539 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43540 wxUSE_LIBGNOMEPRINT="no"
43541
43542
43543 else
43544 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43545 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43546 echo "$as_me:$LINENO: result: yes" >&5
43547 echo "${ECHO_T}yes" >&6
43548
43549 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_LIBGNOMEPRINT 1
43552 _ACEOF
43553
43554
43555 fi
43556 fi
43557 fi
43558
43559 if test "$wxUSE_MIMETYPE" = "yes" ; then
43560 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43561
43562
43563 pkg_failed=no
43564 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43565 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43566
43567 if test -n "$PKG_CONFIG"; then
43568 if test -n "$GNOMEVFS_CFLAGS"; then
43569 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43570 else
43571 if test -n "$PKG_CONFIG" && \
43572 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43573 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; then
43577 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43578 else
43579 pkg_failed=yes
43580 fi
43581 fi
43582 else
43583 pkg_failed=untried
43584 fi
43585 if test -n "$PKG_CONFIG"; then
43586 if test -n "$GNOMEVFS_LIBS"; then
43587 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43588 else
43589 if test -n "$PKG_CONFIG" && \
43590 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43591 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43592 ac_status=$?
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; then
43595 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43596 else
43597 pkg_failed=yes
43598 fi
43599 fi
43600 else
43601 pkg_failed=untried
43602 fi
43603
43604
43605
43606 if test $pkg_failed = yes; then
43607
43608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43609 _pkg_short_errors_supported=yes
43610 else
43611 _pkg_short_errors_supported=no
43612 fi
43613 if test $_pkg_short_errors_supported = yes; then
43614 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43615 else
43616 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43617 fi
43618 # Put the nasty error message in config.log where it belongs
43619 echo "$GNOMEVFS_PKG_ERRORS" >&5
43620
43621
43622 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43623 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43624 wxUSE_LIBGNOMEVFS="no"
43625
43626
43627 elif test $pkg_failed = untried; then
43628
43629 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43630 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43631 wxUSE_LIBGNOMEVFS="no"
43632
43633
43634 else
43635 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43636 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43637 echo "$as_me:$LINENO: result: yes" >&5
43638 echo "${ECHO_T}yes" >&6
43639
43640 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43641 cat >>confdefs.h <<\_ACEOF
43642 #define wxUSE_LIBGNOMEVFS 1
43643 _ACEOF
43644
43645
43646 fi
43647 fi
43648 fi
43649
43650 if test "$wxUSE_LIBHILDON" = "yes" ; then
43651
43652 pkg_failed=no
43653 echo "$as_me:$LINENO: checking for HILDON" >&5
43654 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43655
43656 if test -n "$PKG_CONFIG"; then
43657 if test -n "$HILDON_CFLAGS"; then
43658 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43659 else
43660 if test -n "$PKG_CONFIG" && \
43661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43662 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43663 ac_status=$?
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); }; then
43666 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43667 else
43668 pkg_failed=yes
43669 fi
43670 fi
43671 else
43672 pkg_failed=untried
43673 fi
43674 if test -n "$PKG_CONFIG"; then
43675 if test -n "$HILDON_LIBS"; then
43676 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43677 else
43678 if test -n "$PKG_CONFIG" && \
43679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43680 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43681 ac_status=$?
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); }; then
43684 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43685 else
43686 pkg_failed=yes
43687 fi
43688 fi
43689 else
43690 pkg_failed=untried
43691 fi
43692
43693
43694
43695 if test $pkg_failed = yes; then
43696
43697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43698 _pkg_short_errors_supported=yes
43699 else
43700 _pkg_short_errors_supported=no
43701 fi
43702 if test $_pkg_short_errors_supported = yes; then
43703 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43704 else
43705 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43706 fi
43707 # Put the nasty error message in config.log where it belongs
43708 echo "$HILDON_PKG_ERRORS" >&5
43709
43710
43711 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43712 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43713 wxUSE_LIBHILDON="no"
43714
43715
43716 elif test $pkg_failed = untried; then
43717
43718 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43719 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43720 wxUSE_LIBHILDON="no"
43721
43722
43723 else
43724 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43725 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43726 echo "$as_me:$LINENO: result: yes" >&5
43727 echo "${ECHO_T}yes" >&6
43728
43729 EXTRALIBS_HILDON="$HILDON_LIBS"
43730 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43731 cat >>confdefs.h <<\_ACEOF
43732 #define wxUSE_LIBHILDON 1
43733 _ACEOF
43734
43735
43736 fi
43737 fi
43738 fi
43739
43740 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43741 cat >>confdefs.h <<\_ACEOF
43742 #define wxUSE_CMDLINE_PARSER 1
43743 _ACEOF
43744
43745 fi
43746
43747 if test "$wxUSE_STOPWATCH" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_STOPWATCH 1
43750 _ACEOF
43751
43752 fi
43753
43754 if test "$wxUSE_DATETIME" = "yes"; then
43755 cat >>confdefs.h <<\_ACEOF
43756 #define wxUSE_DATETIME 1
43757 _ACEOF
43758
43759 fi
43760
43761 if test "$wxUSE_FILE" = "yes"; then
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_FILE 1
43764 _ACEOF
43765
43766 fi
43767
43768 if test "$wxUSE_FFILE" = "yes"; then
43769 cat >>confdefs.h <<\_ACEOF
43770 #define wxUSE_FFILE 1
43771 _ACEOF
43772
43773 fi
43774
43775 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43776 if test "$wxUSE_STREAMS" != yes; then
43777 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43778 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43779 wxUSE_ARCHIVE_STREAMS=no
43780 else
43781 cat >>confdefs.h <<\_ACEOF
43782 #define wxUSE_ARCHIVE_STREAMS 1
43783 _ACEOF
43784
43785 fi
43786 fi
43787
43788 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43789 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43790 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43791 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43792 elif test "$wxUSE_ZLIB" = "no"; then
43793 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43794 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43795 else
43796 cat >>confdefs.h <<\_ACEOF
43797 #define wxUSE_ZIPSTREAM 1
43798 _ACEOF
43799
43800 fi
43801 fi
43802
43803 if test "$wxUSE_TARSTREAM" = "yes"; then
43804 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43805 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43806 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43807 else
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_TARSTREAM 1
43810 _ACEOF
43811
43812 fi
43813 fi
43814
43815 if test "$wxUSE_FILESYSTEM" = "yes"; then
43816 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43817 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43818 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43819 wxUSE_FILESYSTEM=no
43820 else
43821 cat >>confdefs.h <<\_ACEOF
43822 #define wxUSE_FILESYSTEM 1
43823 _ACEOF
43824
43825 fi
43826 fi
43827
43828 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43829 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43830 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43831 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43832 else
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_FS_ARCHIVE 1
43835 _ACEOF
43836
43837 fi
43838 fi
43839
43840 if test "$wxUSE_FS_ZIP" = "yes"; then
43841 if test "$wxUSE_FS_ARCHIVE" != yes; then
43842 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43843 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43844 else
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_FS_ZIP 1
43847 _ACEOF
43848
43849 fi
43850 fi
43851
43852 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43853 if test "$USE_UNIX" != 1; then
43854 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43855 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43856 wxUSE_ON_FATAL_EXCEPTION=no
43857 else
43858 cat >>confdefs.h <<\_ACEOF
43859 #define wxUSE_ON_FATAL_EXCEPTION 1
43860 _ACEOF
43861
43862 fi
43863 fi
43864
43865 if test "$wxUSE_STACKWALKER" = "yes"; then
43866 cat >>confdefs.h <<\_ACEOF
43867 #define wxUSE_STACKWALKER 1
43868 _ACEOF
43869
43870 fi
43871
43872 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43873 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43874 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43875 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43876 wxUSE_DEBUGREPORT=no
43877 else
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_DEBUGREPORT 1
43880 _ACEOF
43881
43882 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43884 fi
43885 fi
43886 fi
43887
43888 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43889 cat >>confdefs.h <<\_ACEOF
43890 #define wxUSE_SNGLINST_CHECKER 1
43891 _ACEOF
43892
43893 fi
43894
43895 if test "$wxUSE_BUSYINFO" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_BUSYINFO 1
43898 _ACEOF
43899
43900 fi
43901
43902 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43903 cat >>confdefs.h <<\_ACEOF
43904 #define wxUSE_STD_IOSTREAM 1
43905 _ACEOF
43906
43907 fi
43908
43909 if test "$wxUSE_STD_STRING" = "yes"; then
43910 cat >>confdefs.h <<\_ACEOF
43911 #define wxUSE_STD_STRING 1
43912 _ACEOF
43913
43914 fi
43915
43916 if test "$wxUSE_STDPATHS" = "yes"; then
43917 cat >>confdefs.h <<\_ACEOF
43918 #define wxUSE_STDPATHS 1
43919 _ACEOF
43920
43921 fi
43922
43923 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43924 cat >>confdefs.h <<\_ACEOF
43925 #define wxUSE_TEXTBUFFER 1
43926 _ACEOF
43927
43928 fi
43929
43930 if test "$wxUSE_TEXTFILE" = "yes"; then
43931 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43932 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43933 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43934 else
43935 cat >>confdefs.h <<\_ACEOF
43936 #define wxUSE_TEXTFILE 1
43937 _ACEOF
43938
43939 fi
43940 fi
43941
43942 if test "$wxUSE_CONFIG" = "yes" ; then
43943 if test "$wxUSE_TEXTFILE" != "yes"; then
43944 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43945 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43946 else
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_CONFIG 1
43949 _ACEOF
43950
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_CONFIG_NATIVE 1
43953 _ACEOF
43954
43955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43956 fi
43957 fi
43958
43959 if test "$wxUSE_INTL" = "yes" ; then
43960 if test "$wxUSE_FILE" != "yes"; then
43961 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43962 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43963 else
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_INTL 1
43966 _ACEOF
43967
43968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43969 GUIDIST="$GUIDIST INTL_DIST"
43970 fi
43971 fi
43972
43973 if test "$wxUSE_LOG" = "yes"; then
43974 cat >>confdefs.h <<\_ACEOF
43975 #define wxUSE_LOG 1
43976 _ACEOF
43977
43978
43979 if test "$wxUSE_LOGGUI" = "yes"; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_LOGGUI 1
43982 _ACEOF
43983
43984 fi
43985
43986 if test "$wxUSE_LOGWINDOW" = "yes"; then
43987 cat >>confdefs.h <<\_ACEOF
43988 #define wxUSE_LOGWINDOW 1
43989 _ACEOF
43990
43991 fi
43992
43993 if test "$wxUSE_LOGDIALOG" = "yes"; then
43994 cat >>confdefs.h <<\_ACEOF
43995 #define wxUSE_LOG_DIALOG 1
43996 _ACEOF
43997
43998 fi
43999
44000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44001 fi
44002
44003 if test "$wxUSE_LONGLONG" = "yes"; then
44004 cat >>confdefs.h <<\_ACEOF
44005 #define wxUSE_LONGLONG 1
44006 _ACEOF
44007
44008 fi
44009
44010 if test "$wxUSE_GEOMETRY" = "yes"; then
44011 cat >>confdefs.h <<\_ACEOF
44012 #define wxUSE_GEOMETRY 1
44013 _ACEOF
44014
44015 fi
44016
44017 if test "$wxUSE_STREAMS" = "yes" ; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_STREAMS 1
44020 _ACEOF
44021
44022 fi
44023
44024 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_PRINTF_POS_PARAMS 1
44027 _ACEOF
44028
44029 fi
44030
44031
44032
44033 if test "$wxUSE_DATETIME" = "yes"; then
44034
44035 for ac_func in strptime
44036 do
44037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44038 echo "$as_me:$LINENO: checking for $ac_func" >&5
44039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44040 if eval "test \"\${$as_ac_var+set}\" = set"; then
44041 echo $ECHO_N "(cached) $ECHO_C" >&6
44042 else
44043 cat >conftest.$ac_ext <<_ACEOF
44044 /* confdefs.h. */
44045 _ACEOF
44046 cat confdefs.h >>conftest.$ac_ext
44047 cat >>conftest.$ac_ext <<_ACEOF
44048 /* end confdefs.h. */
44049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44051 #define $ac_func innocuous_$ac_func
44052
44053 /* System header to define __stub macros and hopefully few prototypes,
44054 which can conflict with char $ac_func (); below.
44055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44056 <limits.h> exists even on freestanding compilers. */
44057
44058 #ifdef __STDC__
44059 # include <limits.h>
44060 #else
44061 # include <assert.h>
44062 #endif
44063
44064 #undef $ac_func
44065
44066 /* Override any gcc2 internal prototype to avoid an error. */
44067 #ifdef __cplusplus
44068 extern "C"
44069 {
44070 #endif
44071 /* We use char because int might match the return type of a gcc2
44072 builtin and then its argument prototype would still apply. */
44073 char $ac_func ();
44074 /* The GNU C library defines this for functions which it implements
44075 to always fail with ENOSYS. Some functions are actually named
44076 something starting with __ and the normal name is an alias. */
44077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44078 choke me
44079 #else
44080 char (*f) () = $ac_func;
44081 #endif
44082 #ifdef __cplusplus
44083 }
44084 #endif
44085
44086 int
44087 main ()
44088 {
44089 return f != $ac_func;
44090 ;
44091 return 0;
44092 }
44093 _ACEOF
44094 rm -f conftest.$ac_objext conftest$ac_exeext
44095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44096 (eval $ac_link) 2>conftest.er1
44097 ac_status=$?
44098 grep -v '^ *+' conftest.er1 >conftest.err
44099 rm -f conftest.er1
44100 cat conftest.err >&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); } &&
44103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44105 (eval $ac_try) 2>&5
44106 ac_status=$?
44107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44108 (exit $ac_status); }; } &&
44109 { ac_try='test -s conftest$ac_exeext'
44110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44111 (eval $ac_try) 2>&5
44112 ac_status=$?
44113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44114 (exit $ac_status); }; }; then
44115 eval "$as_ac_var=yes"
44116 else
44117 echo "$as_me: failed program was:" >&5
44118 sed 's/^/| /' conftest.$ac_ext >&5
44119
44120 eval "$as_ac_var=no"
44121 fi
44122 rm -f conftest.err conftest.$ac_objext \
44123 conftest$ac_exeext conftest.$ac_ext
44124 fi
44125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44127 if test `eval echo '${'$as_ac_var'}'` = yes; then
44128 cat >>confdefs.h <<_ACEOF
44129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44130 _ACEOF
44131
44132 fi
44133 done
44134
44135 if test "$ac_cv_func_strptime" = "yes"; then
44136 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44137 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44138 if test "${wx_cv_func_strptime_decl+set}" = set; then
44139 echo $ECHO_N "(cached) $ECHO_C" >&6
44140 else
44141
44142 cat >conftest.$ac_ext <<_ACEOF
44143 /* confdefs.h. */
44144 _ACEOF
44145 cat confdefs.h >>conftest.$ac_ext
44146 cat >>conftest.$ac_ext <<_ACEOF
44147 /* end confdefs.h. */
44148
44149 #include <time.h>
44150
44151 int
44152 main ()
44153 {
44154
44155 struct tm t;
44156 strptime("foo", "bar", &t);
44157
44158 ;
44159 return 0;
44160 }
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44164 (eval $ac_compile) 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } &&
44171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44174 ac_status=$?
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; } &&
44177 { ac_try='test -s conftest.$ac_objext'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; }; then
44183 wx_cv_func_strptime_decl=yes
44184 else
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44187
44188 wx_cv_func_strptime_decl=no
44189
44190 fi
44191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44192
44193
44194 fi
44195 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44196 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44197 fi
44198 if test "$wx_cv_func_strptime_decl" = "yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define HAVE_STRPTIME_DECL 1
44201 _ACEOF
44202
44203 fi
44204
44205 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44206 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44207 if test "${wx_cv_var_timezone+set}" = set; then
44208 echo $ECHO_N "(cached) $ECHO_C" >&6
44209 else
44210
44211 cat >conftest.$ac_ext <<_ACEOF
44212 /* confdefs.h. */
44213 _ACEOF
44214 cat confdefs.h >>conftest.$ac_ext
44215 cat >>conftest.$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217
44218 #include <time.h>
44219
44220 int
44221 main ()
44222 {
44223
44224 int tz;
44225 tz = timezone;
44226
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 rm -f conftest.$ac_objext
44232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44233 (eval $ac_compile) 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } &&
44240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44242 (eval $ac_try) 2>&5
44243 ac_status=$?
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; } &&
44246 { ac_try='test -s conftest.$ac_objext'
44247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44248 (eval $ac_try) 2>&5
44249 ac_status=$?
44250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44251 (exit $ac_status); }; }; then
44252
44253 wx_cv_var_timezone=timezone
44254
44255 else
44256 echo "$as_me: failed program was:" >&5
44257 sed 's/^/| /' conftest.$ac_ext >&5
44258
44259
44260 cat >conftest.$ac_ext <<_ACEOF
44261 /* confdefs.h. */
44262 _ACEOF
44263 cat confdefs.h >>conftest.$ac_ext
44264 cat >>conftest.$ac_ext <<_ACEOF
44265 /* end confdefs.h. */
44266
44267 #include <time.h>
44268
44269 int
44270 main ()
44271 {
44272
44273 int tz;
44274 tz = _timezone;
44275
44276 ;
44277 return 0;
44278 }
44279 _ACEOF
44280 rm -f conftest.$ac_objext
44281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44282 (eval $ac_compile) 2>conftest.er1
44283 ac_status=$?
44284 grep -v '^ *+' conftest.er1 >conftest.err
44285 rm -f conftest.er1
44286 cat conftest.err >&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); } &&
44289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; } &&
44295 { ac_try='test -s conftest.$ac_objext'
44296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44297 (eval $ac_try) 2>&5
44298 ac_status=$?
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); }; }; then
44301
44302 wx_cv_var_timezone=_timezone
44303
44304 else
44305 echo "$as_me: failed program was:" >&5
44306 sed 's/^/| /' conftest.$ac_ext >&5
44307
44308
44309 cat >conftest.$ac_ext <<_ACEOF
44310 /* confdefs.h. */
44311 _ACEOF
44312 cat confdefs.h >>conftest.$ac_ext
44313 cat >>conftest.$ac_ext <<_ACEOF
44314 /* end confdefs.h. */
44315
44316 #include <time.h>
44317
44318 int
44319 main ()
44320 {
44321
44322 int tz;
44323 tz = __timezone;
44324
44325 ;
44326 return 0;
44327 }
44328 _ACEOF
44329 rm -f conftest.$ac_objext
44330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44331 (eval $ac_compile) 2>conftest.er1
44332 ac_status=$?
44333 grep -v '^ *+' conftest.er1 >conftest.err
44334 rm -f conftest.er1
44335 cat conftest.err >&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } &&
44338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44340 (eval $ac_try) 2>&5
44341 ac_status=$?
44342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44343 (exit $ac_status); }; } &&
44344 { ac_try='test -s conftest.$ac_objext'
44345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44346 (eval $ac_try) 2>&5
44347 ac_status=$?
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); }; }; then
44350
44351 wx_cv_var_timezone=__timezone
44352
44353 else
44354 echo "$as_me: failed program was:" >&5
44355 sed 's/^/| /' conftest.$ac_ext >&5
44356
44357
44358 if test "$USE_DOS" = 0 ; then
44359 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44360 echo "$as_me: WARNING: no timezone variable" >&2;}
44361 fi
44362
44363
44364 fi
44365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44366
44367
44368 fi
44369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44370
44371
44372 fi
44373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44374
44375
44376 fi
44377 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44378 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44379
44380 if test "x$wx_cv_var_timezone" != x ; then
44381 cat >>confdefs.h <<_ACEOF
44382 #define WX_TIMEZONE $wx_cv_var_timezone
44383 _ACEOF
44384
44385 fi
44386
44387
44388 for ac_func in localtime
44389 do
44390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44391 echo "$as_me:$LINENO: checking for $ac_func" >&5
44392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44393 if eval "test \"\${$as_ac_var+set}\" = set"; then
44394 echo $ECHO_N "(cached) $ECHO_C" >&6
44395 else
44396 cat >conftest.$ac_ext <<_ACEOF
44397 /* confdefs.h. */
44398 _ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44404 #define $ac_func innocuous_$ac_func
44405
44406 /* System header to define __stub macros and hopefully few prototypes,
44407 which can conflict with char $ac_func (); below.
44408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44409 <limits.h> exists even on freestanding compilers. */
44410
44411 #ifdef __STDC__
44412 # include <limits.h>
44413 #else
44414 # include <assert.h>
44415 #endif
44416
44417 #undef $ac_func
44418
44419 /* Override any gcc2 internal prototype to avoid an error. */
44420 #ifdef __cplusplus
44421 extern "C"
44422 {
44423 #endif
44424 /* We use char because int might match the return type of a gcc2
44425 builtin and then its argument prototype would still apply. */
44426 char $ac_func ();
44427 /* The GNU C library defines this for functions which it implements
44428 to always fail with ENOSYS. Some functions are actually named
44429 something starting with __ and the normal name is an alias. */
44430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44431 choke me
44432 #else
44433 char (*f) () = $ac_func;
44434 #endif
44435 #ifdef __cplusplus
44436 }
44437 #endif
44438
44439 int
44440 main ()
44441 {
44442 return f != $ac_func;
44443 ;
44444 return 0;
44445 }
44446 _ACEOF
44447 rm -f conftest.$ac_objext conftest$ac_exeext
44448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44449 (eval $ac_link) 2>conftest.er1
44450 ac_status=$?
44451 grep -v '^ *+' conftest.er1 >conftest.err
44452 rm -f conftest.er1
44453 cat conftest.err >&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); } &&
44456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44458 (eval $ac_try) 2>&5
44459 ac_status=$?
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); }; } &&
44462 { ac_try='test -s conftest$ac_exeext'
44463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44464 (eval $ac_try) 2>&5
44465 ac_status=$?
44466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44467 (exit $ac_status); }; }; then
44468 eval "$as_ac_var=yes"
44469 else
44470 echo "$as_me: failed program was:" >&5
44471 sed 's/^/| /' conftest.$ac_ext >&5
44472
44473 eval "$as_ac_var=no"
44474 fi
44475 rm -f conftest.err conftest.$ac_objext \
44476 conftest$ac_exeext conftest.$ac_ext
44477 fi
44478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44480 if test `eval echo '${'$as_ac_var'}'` = yes; then
44481 cat >>confdefs.h <<_ACEOF
44482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44483 _ACEOF
44484
44485 fi
44486 done
44487
44488
44489 if test "$ac_cv_func_localtime" = "yes"; then
44490 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44491 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44492 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44493 echo $ECHO_N "(cached) $ECHO_C" >&6
44494 else
44495
44496 cat >conftest.$ac_ext <<_ACEOF
44497 /* confdefs.h. */
44498 _ACEOF
44499 cat confdefs.h >>conftest.$ac_ext
44500 cat >>conftest.$ac_ext <<_ACEOF
44501 /* end confdefs.h. */
44502
44503 #include <time.h>
44504
44505 int
44506 main ()
44507 {
44508
44509 struct tm tm;
44510 tm.tm_gmtoff++;
44511
44512 ;
44513 return 0;
44514 }
44515 _ACEOF
44516 rm -f conftest.$ac_objext
44517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44518 (eval $ac_compile) 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); } &&
44525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44528 ac_status=$?
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; } &&
44531 { ac_try='test -s conftest.$ac_objext'
44532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44533 (eval $ac_try) 2>&5
44534 ac_status=$?
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; }; then
44537
44538 wx_cv_struct_tm_has_gmtoff=yes
44539
44540 else
44541 echo "$as_me: failed program was:" >&5
44542 sed 's/^/| /' conftest.$ac_ext >&5
44543
44544 wx_cv_struct_tm_has_gmtoff=no
44545
44546 fi
44547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44548
44549 fi
44550 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44551 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44552 fi
44553
44554 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44555 cat >>confdefs.h <<\_ACEOF
44556 #define WX_GMTOFF_IN_TM 1
44557 _ACEOF
44558
44559 fi
44560
44561
44562
44563 for ac_func in gettimeofday ftime
44564 do
44565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44566 echo "$as_me:$LINENO: checking for $ac_func" >&5
44567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44568 if eval "test \"\${$as_ac_var+set}\" = set"; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 else
44571 cat >conftest.$ac_ext <<_ACEOF
44572 /* confdefs.h. */
44573 _ACEOF
44574 cat confdefs.h >>conftest.$ac_ext
44575 cat >>conftest.$ac_ext <<_ACEOF
44576 /* end confdefs.h. */
44577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44579 #define $ac_func innocuous_$ac_func
44580
44581 /* System header to define __stub macros and hopefully few prototypes,
44582 which can conflict with char $ac_func (); below.
44583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44584 <limits.h> exists even on freestanding compilers. */
44585
44586 #ifdef __STDC__
44587 # include <limits.h>
44588 #else
44589 # include <assert.h>
44590 #endif
44591
44592 #undef $ac_func
44593
44594 /* Override any gcc2 internal prototype to avoid an error. */
44595 #ifdef __cplusplus
44596 extern "C"
44597 {
44598 #endif
44599 /* We use char because int might match the return type of a gcc2
44600 builtin and then its argument prototype would still apply. */
44601 char $ac_func ();
44602 /* The GNU C library defines this for functions which it implements
44603 to always fail with ENOSYS. Some functions are actually named
44604 something starting with __ and the normal name is an alias. */
44605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44606 choke me
44607 #else
44608 char (*f) () = $ac_func;
44609 #endif
44610 #ifdef __cplusplus
44611 }
44612 #endif
44613
44614 int
44615 main ()
44616 {
44617 return f != $ac_func;
44618 ;
44619 return 0;
44620 }
44621 _ACEOF
44622 rm -f conftest.$ac_objext conftest$ac_exeext
44623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44624 (eval $ac_link) 2>conftest.er1
44625 ac_status=$?
44626 grep -v '^ *+' conftest.er1 >conftest.err
44627 rm -f conftest.er1
44628 cat conftest.err >&5
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); } &&
44631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633 (eval $ac_try) 2>&5
44634 ac_status=$?
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); }; } &&
44637 { ac_try='test -s conftest$ac_exeext'
44638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44639 (eval $ac_try) 2>&5
44640 ac_status=$?
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); }; }; then
44643 eval "$as_ac_var=yes"
44644 else
44645 echo "$as_me: failed program was:" >&5
44646 sed 's/^/| /' conftest.$ac_ext >&5
44647
44648 eval "$as_ac_var=no"
44649 fi
44650 rm -f conftest.err conftest.$ac_objext \
44651 conftest$ac_exeext conftest.$ac_ext
44652 fi
44653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44655 if test `eval echo '${'$as_ac_var'}'` = yes; then
44656 cat >>confdefs.h <<_ACEOF
44657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44658 _ACEOF
44659 break
44660 fi
44661 done
44662
44663
44664 if test "$ac_cv_func_gettimeofday" = "yes"; then
44665 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44666 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44667 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44668 echo $ECHO_N "(cached) $ECHO_C" >&6
44669 else
44670
44671 cat >conftest.$ac_ext <<_ACEOF
44672 /* confdefs.h. */
44673 _ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677
44678 #include <sys/time.h>
44679 #include <unistd.h>
44680
44681 int
44682 main ()
44683 {
44684
44685 struct timeval tv;
44686 gettimeofday(&tv, NULL);
44687
44688 ;
44689 return 0;
44690 }
44691 _ACEOF
44692 rm -f conftest.$ac_objext
44693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44694 (eval $ac_compile) 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } &&
44701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; } &&
44707 { ac_try='test -s conftest.$ac_objext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 wx_cv_func_gettimeofday_has_2_args=yes
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718 cat >conftest.$ac_ext <<_ACEOF
44719 /* confdefs.h. */
44720 _ACEOF
44721 cat confdefs.h >>conftest.$ac_ext
44722 cat >>conftest.$ac_ext <<_ACEOF
44723 /* end confdefs.h. */
44724
44725 #include <sys/time.h>
44726 #include <unistd.h>
44727
44728 int
44729 main ()
44730 {
44731
44732 struct timeval tv;
44733 gettimeofday(&tv);
44734
44735 ;
44736 return 0;
44737 }
44738 _ACEOF
44739 rm -f conftest.$ac_objext
44740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44741 (eval $ac_compile) 2>conftest.er1
44742 ac_status=$?
44743 grep -v '^ *+' conftest.er1 >conftest.err
44744 rm -f conftest.er1
44745 cat conftest.err >&5
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); } &&
44748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44750 (eval $ac_try) 2>&5
44751 ac_status=$?
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); }; } &&
44754 { ac_try='test -s conftest.$ac_objext'
44755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44756 (eval $ac_try) 2>&5
44757 ac_status=$?
44758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44759 (exit $ac_status); }; }; then
44760 wx_cv_func_gettimeofday_has_2_args=no
44761 else
44762 echo "$as_me: failed program was:" >&5
44763 sed 's/^/| /' conftest.$ac_ext >&5
44764
44765
44766 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44767 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44768 wx_cv_func_gettimeofday_has_2_args=unknown
44769
44770
44771 fi
44772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44773
44774 fi
44775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44776
44777 fi
44778 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44779 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44780
44781 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define WX_GETTIMEOFDAY_NO_TZ 1
44784 _ACEOF
44785
44786 fi
44787 fi
44788
44789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44790 fi
44791
44792
44793 if test "$wxUSE_SOCKETS" = "yes"; then
44794 if test "$wxUSE_MGL" = "1"; then
44795 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44796 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44797 wxUSE_SOCKETS="no"
44798 fi
44799 fi
44800
44801 if test "$wxUSE_SOCKETS" = "yes"; then
44802 if test "$TOOLKIT" != "MSW"; then
44803 echo "$as_me:$LINENO: checking for socket" >&5
44804 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44805 if test "${ac_cv_func_socket+set}" = set; then
44806 echo $ECHO_N "(cached) $ECHO_C" >&6
44807 else
44808 cat >conftest.$ac_ext <<_ACEOF
44809 /* confdefs.h. */
44810 _ACEOF
44811 cat confdefs.h >>conftest.$ac_ext
44812 cat >>conftest.$ac_ext <<_ACEOF
44813 /* end confdefs.h. */
44814 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44816 #define socket innocuous_socket
44817
44818 /* System header to define __stub macros and hopefully few prototypes,
44819 which can conflict with char socket (); below.
44820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44821 <limits.h> exists even on freestanding compilers. */
44822
44823 #ifdef __STDC__
44824 # include <limits.h>
44825 #else
44826 # include <assert.h>
44827 #endif
44828
44829 #undef socket
44830
44831 /* Override any gcc2 internal prototype to avoid an error. */
44832 #ifdef __cplusplus
44833 extern "C"
44834 {
44835 #endif
44836 /* We use char because int might match the return type of a gcc2
44837 builtin and then its argument prototype would still apply. */
44838 char socket ();
44839 /* The GNU C library defines this for functions which it implements
44840 to always fail with ENOSYS. Some functions are actually named
44841 something starting with __ and the normal name is an alias. */
44842 #if defined (__stub_socket) || defined (__stub___socket)
44843 choke me
44844 #else
44845 char (*f) () = socket;
44846 #endif
44847 #ifdef __cplusplus
44848 }
44849 #endif
44850
44851 int
44852 main ()
44853 {
44854 return f != socket;
44855 ;
44856 return 0;
44857 }
44858 _ACEOF
44859 rm -f conftest.$ac_objext conftest$ac_exeext
44860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44861 (eval $ac_link) 2>conftest.er1
44862 ac_status=$?
44863 grep -v '^ *+' conftest.er1 >conftest.err
44864 rm -f conftest.er1
44865 cat conftest.err >&5
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); } &&
44868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44870 (eval $ac_try) 2>&5
44871 ac_status=$?
44872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44873 (exit $ac_status); }; } &&
44874 { ac_try='test -s conftest$ac_exeext'
44875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44876 (eval $ac_try) 2>&5
44877 ac_status=$?
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); }; }; then
44880 ac_cv_func_socket=yes
44881 else
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44884
44885 ac_cv_func_socket=no
44886 fi
44887 rm -f conftest.err conftest.$ac_objext \
44888 conftest$ac_exeext conftest.$ac_ext
44889 fi
44890 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44891 echo "${ECHO_T}$ac_cv_func_socket" >&6
44892 if test $ac_cv_func_socket = yes; then
44893 :
44894 else
44895
44896 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44897 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44898 if test "${ac_cv_lib_socket_socket+set}" = set; then
44899 echo $ECHO_N "(cached) $ECHO_C" >&6
44900 else
44901 ac_check_lib_save_LIBS=$LIBS
44902 LIBS="-lsocket $LIBS"
44903 cat >conftest.$ac_ext <<_ACEOF
44904 /* confdefs.h. */
44905 _ACEOF
44906 cat confdefs.h >>conftest.$ac_ext
44907 cat >>conftest.$ac_ext <<_ACEOF
44908 /* end confdefs.h. */
44909
44910 /* Override any gcc2 internal prototype to avoid an error. */
44911 #ifdef __cplusplus
44912 extern "C"
44913 #endif
44914 /* We use char because int might match the return type of a gcc2
44915 builtin and then its argument prototype would still apply. */
44916 char socket ();
44917 int
44918 main ()
44919 {
44920 socket ();
44921 ;
44922 return 0;
44923 }
44924 _ACEOF
44925 rm -f conftest.$ac_objext conftest$ac_exeext
44926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44927 (eval $ac_link) 2>conftest.er1
44928 ac_status=$?
44929 grep -v '^ *+' conftest.er1 >conftest.err
44930 rm -f conftest.er1
44931 cat conftest.err >&5
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); } &&
44934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44936 (eval $ac_try) 2>&5
44937 ac_status=$?
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); }; } &&
44940 { ac_try='test -s conftest$ac_exeext'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44943 ac_status=$?
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; }; then
44946 ac_cv_lib_socket_socket=yes
44947 else
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.$ac_ext >&5
44950
44951 ac_cv_lib_socket_socket=no
44952 fi
44953 rm -f conftest.err conftest.$ac_objext \
44954 conftest$ac_exeext conftest.$ac_ext
44955 LIBS=$ac_check_lib_save_LIBS
44956 fi
44957 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44958 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44959 if test $ac_cv_lib_socket_socket = yes; then
44960 if test "$INET_LINK" != " -lsocket"; then
44961 INET_LINK="$INET_LINK -lsocket"
44962 fi
44963 else
44964
44965 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44966 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44967 wxUSE_SOCKETS=no
44968
44969
44970 fi
44971
44972
44973
44974 fi
44975
44976 fi
44977 fi
44978
44979 if test "$wxUSE_SOCKETS" = "yes" ; then
44980 if test "$TOOLKIT" != "MSW"; then
44981 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44982 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44983 if test "${wx_cv_type_getsockname3+set}" = set; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44985 else
44986
44987 cat >conftest.$ac_ext <<_ACEOF
44988 /* confdefs.h. */
44989 _ACEOF
44990 cat confdefs.h >>conftest.$ac_ext
44991 cat >>conftest.$ac_ext <<_ACEOF
44992 /* end confdefs.h. */
44993
44994 #include <sys/types.h>
44995 #include <sys/socket.h>
44996
44997 int
44998 main ()
44999 {
45000
45001 socklen_t len;
45002 getsockname(0, 0, &len);
45003
45004 ;
45005 return 0;
45006 }
45007 _ACEOF
45008 rm -f conftest.$ac_objext
45009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45010 (eval $ac_compile) 2>conftest.er1
45011 ac_status=$?
45012 grep -v '^ *+' conftest.er1 >conftest.err
45013 rm -f conftest.er1
45014 cat conftest.err >&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); } &&
45017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
45023 { ac_try='test -s conftest.$ac_objext'
45024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45025 (eval $ac_try) 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; }; then
45029 wx_cv_type_getsockname3=socklen_t
45030 else
45031 echo "$as_me: failed program was:" >&5
45032 sed 's/^/| /' conftest.$ac_ext >&5
45033
45034
45035 CXXFLAGS_OLD="$CXXFLAGS"
45036 if test "$GCC" = yes ; then
45037 CXXFLAGS="-Werror $CXXFLAGS"
45038 fi
45039
45040 cat >conftest.$ac_ext <<_ACEOF
45041 /* confdefs.h. */
45042 _ACEOF
45043 cat confdefs.h >>conftest.$ac_ext
45044 cat >>conftest.$ac_ext <<_ACEOF
45045 /* end confdefs.h. */
45046
45047 #include <sys/types.h>
45048 #include <sys/socket.h>
45049
45050 int
45051 main ()
45052 {
45053
45054 size_t len;
45055 getsockname(0, 0, &len);
45056
45057 ;
45058 return 0;
45059 }
45060 _ACEOF
45061 rm -f conftest.$ac_objext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45063 (eval $ac_compile) 2>conftest.er1
45064 ac_status=$?
45065 grep -v '^ *+' conftest.er1 >conftest.err
45066 rm -f conftest.er1
45067 cat conftest.err >&5
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); } &&
45070 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072 (eval $ac_try) 2>&5
45073 ac_status=$?
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; } &&
45076 { ac_try='test -s conftest.$ac_objext'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; }; then
45082 wx_cv_type_getsockname3=size_t
45083 else
45084 echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.$ac_ext >&5
45086
45087 cat >conftest.$ac_ext <<_ACEOF
45088 /* confdefs.h. */
45089 _ACEOF
45090 cat confdefs.h >>conftest.$ac_ext
45091 cat >>conftest.$ac_ext <<_ACEOF
45092 /* end confdefs.h. */
45093
45094 #include <sys/types.h>
45095 #include <sys/socket.h>
45096
45097 int
45098 main ()
45099 {
45100
45101 int len;
45102 getsockname(0, 0, &len);
45103
45104 ;
45105 return 0;
45106 }
45107 _ACEOF
45108 rm -f conftest.$ac_objext
45109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45110 (eval $ac_compile) 2>conftest.er1
45111 ac_status=$?
45112 grep -v '^ *+' conftest.er1 >conftest.err
45113 rm -f conftest.er1
45114 cat conftest.err >&5
45115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116 (exit $ac_status); } &&
45117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45119 (eval $ac_try) 2>&5
45120 ac_status=$?
45121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122 (exit $ac_status); }; } &&
45123 { ac_try='test -s conftest.$ac_objext'
45124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45125 (eval $ac_try) 2>&5
45126 ac_status=$?
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); }; }; then
45129 wx_cv_type_getsockname3=int
45130 else
45131 echo "$as_me: failed program was:" >&5
45132 sed 's/^/| /' conftest.$ac_ext >&5
45133
45134 wx_cv_type_getsockname3=unknown
45135
45136 fi
45137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45138
45139 fi
45140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45141
45142 CXXFLAGS="$CXXFLAGS_OLD"
45143
45144
45145 fi
45146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45147
45148 fi
45149 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45150 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45151
45152 if test "$wx_cv_type_getsockname3" = "unknown"; then
45153 wxUSE_SOCKETS=no
45154 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45155 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45156 else
45157 cat >>confdefs.h <<_ACEOF
45158 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45159 _ACEOF
45160
45161 fi
45162 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45163 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45164 if test "${wx_cv_type_getsockopt5+set}" = set; then
45165 echo $ECHO_N "(cached) $ECHO_C" >&6
45166 else
45167
45168 cat >conftest.$ac_ext <<_ACEOF
45169 /* confdefs.h. */
45170 _ACEOF
45171 cat confdefs.h >>conftest.$ac_ext
45172 cat >>conftest.$ac_ext <<_ACEOF
45173 /* end confdefs.h. */
45174
45175 #include <sys/types.h>
45176 #include <sys/socket.h>
45177
45178 int
45179 main ()
45180 {
45181
45182 socklen_t len;
45183 getsockopt(0, 0, 0, 0, &len);
45184
45185 ;
45186 return 0;
45187 }
45188 _ACEOF
45189 rm -f conftest.$ac_objext
45190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45191 (eval $ac_compile) 2>conftest.er1
45192 ac_status=$?
45193 grep -v '^ *+' conftest.er1 >conftest.err
45194 rm -f conftest.er1
45195 cat conftest.err >&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); } &&
45198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45200 (eval $ac_try) 2>&5
45201 ac_status=$?
45202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203 (exit $ac_status); }; } &&
45204 { ac_try='test -s conftest.$ac_objext'
45205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45206 (eval $ac_try) 2>&5
45207 ac_status=$?
45208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209 (exit $ac_status); }; }; then
45210 wx_cv_type_getsockopt5=socklen_t
45211 else
45212 echo "$as_me: failed program was:" >&5
45213 sed 's/^/| /' conftest.$ac_ext >&5
45214
45215
45216 CXXFLAGS_OLD="$CXXFLAGS"
45217 if test "$GCC" = yes ; then
45218 CXXFLAGS="-Werror $CXXFLAGS"
45219 fi
45220
45221 cat >conftest.$ac_ext <<_ACEOF
45222 /* confdefs.h. */
45223 _ACEOF
45224 cat confdefs.h >>conftest.$ac_ext
45225 cat >>conftest.$ac_ext <<_ACEOF
45226 /* end confdefs.h. */
45227
45228 #include <sys/types.h>
45229 #include <sys/socket.h>
45230
45231 int
45232 main ()
45233 {
45234
45235 size_t len;
45236 getsockopt(0, 0, 0, 0, &len);
45237
45238 ;
45239 return 0;
45240 }
45241 _ACEOF
45242 rm -f conftest.$ac_objext
45243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45244 (eval $ac_compile) 2>conftest.er1
45245 ac_status=$?
45246 grep -v '^ *+' conftest.er1 >conftest.err
45247 rm -f conftest.er1
45248 cat conftest.err >&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); } &&
45251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45253 (eval $ac_try) 2>&5
45254 ac_status=$?
45255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45256 (exit $ac_status); }; } &&
45257 { ac_try='test -s conftest.$ac_objext'
45258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45259 (eval $ac_try) 2>&5
45260 ac_status=$?
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); }; }; then
45263 wx_cv_type_getsockopt5=size_t
45264 else
45265 echo "$as_me: failed program was:" >&5
45266 sed 's/^/| /' conftest.$ac_ext >&5
45267
45268 cat >conftest.$ac_ext <<_ACEOF
45269 /* confdefs.h. */
45270 _ACEOF
45271 cat confdefs.h >>conftest.$ac_ext
45272 cat >>conftest.$ac_ext <<_ACEOF
45273 /* end confdefs.h. */
45274
45275 #include <sys/types.h>
45276 #include <sys/socket.h>
45277
45278 int
45279 main ()
45280 {
45281
45282 int len;
45283 getsockopt(0, 0, 0, 0, &len);
45284
45285 ;
45286 return 0;
45287 }
45288 _ACEOF
45289 rm -f conftest.$ac_objext
45290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45291 (eval $ac_compile) 2>conftest.er1
45292 ac_status=$?
45293 grep -v '^ *+' conftest.er1 >conftest.err
45294 rm -f conftest.er1
45295 cat conftest.err >&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); } &&
45298 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300 (eval $ac_try) 2>&5
45301 ac_status=$?
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; } &&
45304 { ac_try='test -s conftest.$ac_objext'
45305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45306 (eval $ac_try) 2>&5
45307 ac_status=$?
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); }; }; then
45310 wx_cv_type_getsockopt5=int
45311 else
45312 echo "$as_me: failed program was:" >&5
45313 sed 's/^/| /' conftest.$ac_ext >&5
45314
45315 wx_cv_type_getsockopt5=unknown
45316
45317 fi
45318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45319
45320 fi
45321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45322
45323 CXXFLAGS="$CXXFLAGS_OLD"
45324
45325
45326 fi
45327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45328
45329 fi
45330 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45331 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45332
45333 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45334 wxUSE_SOCKETS=no
45335 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45336 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45337 else
45338 cat >>confdefs.h <<_ACEOF
45339 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45340 _ACEOF
45341
45342 fi
45343 fi
45344 fi
45345
45346 if test "$wxUSE_SOCKETS" = "yes" ; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_SOCKETS 1
45349 _ACEOF
45350
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45352 fi
45353
45354 if test "$wxUSE_PROTOCOL" = "yes"; then
45355 if test "$wxUSE_SOCKETS" != "yes"; then
45356 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45357 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45358 wxUSE_PROTOCOL=no
45359 fi
45360 fi
45361
45362 if test "$wxUSE_PROTOCOL" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_PROTOCOL 1
45365 _ACEOF
45366
45367
45368 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_PROTOCOL_HTTP 1
45371 _ACEOF
45372
45373 fi
45374 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_PROTOCOL_FTP 1
45377 _ACEOF
45378
45379 fi
45380 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_PROTOCOL_FILE 1
45383 _ACEOF
45384
45385 fi
45386 else
45387 if test "$wxUSE_FS_INET" = "yes"; then
45388 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45389 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45390 wxUSE_FS_INET="no"
45391 fi
45392 fi
45393
45394 if test "$wxUSE_URL" = "yes"; then
45395 if test "$wxUSE_PROTOCOL" != "yes"; then
45396 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45397 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45398 wxUSE_URL=no
45399 fi
45400 if test "$wxUSE_URL" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_URL 1
45403 _ACEOF
45404
45405 fi
45406 fi
45407
45408 if test "$wxUSE_VARIANT" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_VARIANT 1
45411 _ACEOF
45412
45413 fi
45414
45415 if test "$wxUSE_FS_INET" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_FS_INET 1
45418 _ACEOF
45419
45420 fi
45421
45422
45423 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45424 wxUSE_JOYSTICK=no
45425
45426 if test "$TOOLKIT" = "MSW"; then
45427 wxUSE_JOYSTICK=yes
45428
45429 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45430 if test "$USE_DARWIN" = 1; then
45431 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45432 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45433 cat >conftest.$ac_ext <<_ACEOF
45434 /* confdefs.h. */
45435 _ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45439 #include <IOKit/hid/IOHIDLib.h>
45440 int
45441 main ()
45442 {
45443 IOHIDQueueInterface *qi = NULL;
45444 IOHIDCallbackFunction cb = NULL;
45445 qi->setEventCallout(NULL, cb, NULL, NULL);
45446 ;
45447 return 0;
45448 }
45449 _ACEOF
45450 rm -f conftest.$ac_objext
45451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45452 (eval $ac_compile) 2>conftest.er1
45453 ac_status=$?
45454 grep -v '^ *+' conftest.er1 >conftest.err
45455 rm -f conftest.er1
45456 cat conftest.err >&5
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); } &&
45459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461 (eval $ac_try) 2>&5
45462 ac_status=$?
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); }; } &&
45465 { ac_try='test -s conftest.$ac_objext'
45466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45467 (eval $ac_try) 2>&5
45468 ac_status=$?
45469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45470 (exit $ac_status); }; }; then
45471 wxUSE_JOYSTICK=yes
45472
45473 else
45474 echo "$as_me: failed program was:" >&5
45475 sed 's/^/| /' conftest.$ac_ext >&5
45476
45477 fi
45478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45479 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45480 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45481 fi
45482
45483 else
45484 if test "$wxUSE_MGL" != "1"; then
45485
45486 for ac_header in linux/joystick.h
45487 do
45488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45490 echo "$as_me:$LINENO: checking for $ac_header" >&5
45491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45493 echo $ECHO_N "(cached) $ECHO_C" >&6
45494 fi
45495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45497 else
45498 # Is the header compilable?
45499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45501 cat >conftest.$ac_ext <<_ACEOF
45502 /* confdefs.h. */
45503 _ACEOF
45504 cat confdefs.h >>conftest.$ac_ext
45505 cat >>conftest.$ac_ext <<_ACEOF
45506 /* end confdefs.h. */
45507 $ac_includes_default
45508 #include <$ac_header>
45509 _ACEOF
45510 rm -f conftest.$ac_objext
45511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45512 (eval $ac_compile) 2>conftest.er1
45513 ac_status=$?
45514 grep -v '^ *+' conftest.er1 >conftest.err
45515 rm -f conftest.er1
45516 cat conftest.err >&5
45517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45518 (exit $ac_status); } &&
45519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45521 (eval $ac_try) 2>&5
45522 ac_status=$?
45523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45524 (exit $ac_status); }; } &&
45525 { ac_try='test -s conftest.$ac_objext'
45526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45527 (eval $ac_try) 2>&5
45528 ac_status=$?
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); }; }; then
45531 ac_header_compiler=yes
45532 else
45533 echo "$as_me: failed program was:" >&5
45534 sed 's/^/| /' conftest.$ac_ext >&5
45535
45536 ac_header_compiler=no
45537 fi
45538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45540 echo "${ECHO_T}$ac_header_compiler" >&6
45541
45542 # Is the header present?
45543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45545 cat >conftest.$ac_ext <<_ACEOF
45546 /* confdefs.h. */
45547 _ACEOF
45548 cat confdefs.h >>conftest.$ac_ext
45549 cat >>conftest.$ac_ext <<_ACEOF
45550 /* end confdefs.h. */
45551 #include <$ac_header>
45552 _ACEOF
45553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45555 ac_status=$?
45556 grep -v '^ *+' conftest.er1 >conftest.err
45557 rm -f conftest.er1
45558 cat conftest.err >&5
45559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560 (exit $ac_status); } >/dev/null; then
45561 if test -s conftest.err; then
45562 ac_cpp_err=$ac_cxx_preproc_warn_flag
45563 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45564 else
45565 ac_cpp_err=
45566 fi
45567 else
45568 ac_cpp_err=yes
45569 fi
45570 if test -z "$ac_cpp_err"; then
45571 ac_header_preproc=yes
45572 else
45573 echo "$as_me: failed program was:" >&5
45574 sed 's/^/| /' conftest.$ac_ext >&5
45575
45576 ac_header_preproc=no
45577 fi
45578 rm -f conftest.err conftest.$ac_ext
45579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45580 echo "${ECHO_T}$ac_header_preproc" >&6
45581
45582 # So? What about this header?
45583 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45584 yes:no: )
45585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45589 ac_header_preproc=yes
45590 ;;
45591 no:yes:* )
45592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45604 (
45605 cat <<\_ASBOX
45606 ## ----------------------------------------- ##
45607 ## Report this to wx-dev@lists.wxwidgets.org ##
45608 ## ----------------------------------------- ##
45609 _ASBOX
45610 ) |
45611 sed "s/^/$as_me: WARNING: /" >&2
45612 ;;
45613 esac
45614 echo "$as_me:$LINENO: checking for $ac_header" >&5
45615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45617 echo $ECHO_N "(cached) $ECHO_C" >&6
45618 else
45619 eval "$as_ac_Header=\$ac_header_preproc"
45620 fi
45621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45623
45624 fi
45625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45626 cat >>confdefs.h <<_ACEOF
45627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45628 _ACEOF
45629 wxUSE_JOYSTICK=yes
45630 fi
45631
45632 done
45633
45634 fi
45635 fi
45636
45637 if test "$wxUSE_JOYSTICK" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_JOYSTICK 1
45640 _ACEOF
45641
45642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45643 else
45644 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45645 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45646 fi
45647 fi
45648
45649
45650
45651 if test "$wxUSE_FONTMAP" = "yes" ; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_FONTMAP 1
45654 _ACEOF
45655
45656 fi
45657
45658 if test "$wxUSE_UNICODE" = "yes" ; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_UNICODE 1
45661 _ACEOF
45662
45663
45664 if test "$USE_WIN32" != 1; then
45665 wxUSE_UNICODE_MSLU=no
45666 fi
45667
45668 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45669 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45670 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45671 if test "${ac_cv_lib_unicows_main+set}" = set; then
45672 echo $ECHO_N "(cached) $ECHO_C" >&6
45673 else
45674 ac_check_lib_save_LIBS=$LIBS
45675 LIBS="-lunicows $LIBS"
45676 cat >conftest.$ac_ext <<_ACEOF
45677 /* confdefs.h. */
45678 _ACEOF
45679 cat confdefs.h >>conftest.$ac_ext
45680 cat >>conftest.$ac_ext <<_ACEOF
45681 /* end confdefs.h. */
45682
45683
45684 int
45685 main ()
45686 {
45687 main ();
45688 ;
45689 return 0;
45690 }
45691 _ACEOF
45692 rm -f conftest.$ac_objext conftest$ac_exeext
45693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45694 (eval $ac_link) 2>conftest.er1
45695 ac_status=$?
45696 grep -v '^ *+' conftest.er1 >conftest.err
45697 rm -f conftest.er1
45698 cat conftest.err >&5
45699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45700 (exit $ac_status); } &&
45701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45703 (eval $ac_try) 2>&5
45704 ac_status=$?
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); }; } &&
45707 { ac_try='test -s conftest$ac_exeext'
45708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45709 (eval $ac_try) 2>&5
45710 ac_status=$?
45711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45712 (exit $ac_status); }; }; then
45713 ac_cv_lib_unicows_main=yes
45714 else
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.$ac_ext >&5
45717
45718 ac_cv_lib_unicows_main=no
45719 fi
45720 rm -f conftest.err conftest.$ac_objext \
45721 conftest$ac_exeext conftest.$ac_ext
45722 LIBS=$ac_check_lib_save_LIBS
45723 fi
45724 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45725 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45726 if test $ac_cv_lib_unicows_main = yes; then
45727
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_UNICODE_MSLU 1
45730 _ACEOF
45731
45732
45733 else
45734
45735 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45736 Applications will only run on Windows NT/2000/XP!" >&5
45737 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45738 Applications will only run on Windows NT/2000/XP!" >&2;}
45739 wxUSE_UNICODE_MSLU=no
45740
45741 fi
45742
45743 fi
45744 fi
45745
45746 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_EXPERIMENTAL_PRINTF 1
45749 _ACEOF
45750
45751 fi
45752
45753
45754 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_POSTSCRIPT 1
45757 _ACEOF
45758
45759 fi
45760
45761 cat >>confdefs.h <<\_ACEOF
45762 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45763 _ACEOF
45764
45765
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_NORMALIZED_PS_FONTS 1
45768 _ACEOF
45769
45770
45771
45772 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_CONSTRAINTS 1
45775 _ACEOF
45776
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45778 fi
45779
45780 if test "$wxUSE_MDI" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_MDI 1
45783 _ACEOF
45784
45785
45786 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_MDI_ARCHITECTURE 1
45789 _ACEOF
45790
45791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45792 fi
45793 fi
45794
45795 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45796 cat >>confdefs.h <<\_ACEOF
45797 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45798 _ACEOF
45799
45800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45801 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45803 fi
45804 fi
45805
45806 if test "$wxUSE_HELP" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_HELP 1
45809 _ACEOF
45810
45811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45812
45813 if test "$wxUSE_MSW" = 1; then
45814 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_MS_HTML_HELP 1
45817 _ACEOF
45818
45819 fi
45820 fi
45821
45822 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45823 if test "$wxUSE_HTML" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_WXHTML_HELP 1
45826 _ACEOF
45827
45828 else
45829 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45830 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45831 wxUSE_WXHTML_HELP=no
45832 fi
45833 fi
45834 fi
45835
45836 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45837 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45838 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45839 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45840 else
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_PRINTING_ARCHITECTURE 1
45843 _ACEOF
45844
45845 fi
45846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45847 fi
45848
45849 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45850 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45851 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45852 { (exit 1); exit 1; }; }
45853 fi
45854
45855
45856 if test "$wxUSE_METAFILE" = "yes"; then
45857 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45858 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45859 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45860 wxUSE_METAFILE=no
45861 fi
45862 fi
45863
45864
45865 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45866 -o "$wxUSE_CLIPBOARD" = "yes" \
45867 -o "$wxUSE_OLE" = "yes" \
45868 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45869
45870 for ac_header in ole2.h
45871 do
45872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45874 echo "$as_me:$LINENO: checking for $ac_header" >&5
45875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45877 echo $ECHO_N "(cached) $ECHO_C" >&6
45878 fi
45879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45881 else
45882 # Is the header compilable?
45883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45885 cat >conftest.$ac_ext <<_ACEOF
45886 /* confdefs.h. */
45887 _ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891 $ac_includes_default
45892 #include <$ac_header>
45893 _ACEOF
45894 rm -f conftest.$ac_objext
45895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45896 (eval $ac_compile) 2>conftest.er1
45897 ac_status=$?
45898 grep -v '^ *+' conftest.er1 >conftest.err
45899 rm -f conftest.er1
45900 cat conftest.err >&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); } &&
45903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45905 (eval $ac_try) 2>&5
45906 ac_status=$?
45907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45908 (exit $ac_status); }; } &&
45909 { ac_try='test -s conftest.$ac_objext'
45910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45911 (eval $ac_try) 2>&5
45912 ac_status=$?
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); }; }; then
45915 ac_header_compiler=yes
45916 else
45917 echo "$as_me: failed program was:" >&5
45918 sed 's/^/| /' conftest.$ac_ext >&5
45919
45920 ac_header_compiler=no
45921 fi
45922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45924 echo "${ECHO_T}$ac_header_compiler" >&6
45925
45926 # Is the header present?
45927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45929 cat >conftest.$ac_ext <<_ACEOF
45930 /* confdefs.h. */
45931 _ACEOF
45932 cat confdefs.h >>conftest.$ac_ext
45933 cat >>conftest.$ac_ext <<_ACEOF
45934 /* end confdefs.h. */
45935 #include <$ac_header>
45936 _ACEOF
45937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45939 ac_status=$?
45940 grep -v '^ *+' conftest.er1 >conftest.err
45941 rm -f conftest.er1
45942 cat conftest.err >&5
45943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45944 (exit $ac_status); } >/dev/null; then
45945 if test -s conftest.err; then
45946 ac_cpp_err=$ac_cxx_preproc_warn_flag
45947 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45948 else
45949 ac_cpp_err=
45950 fi
45951 else
45952 ac_cpp_err=yes
45953 fi
45954 if test -z "$ac_cpp_err"; then
45955 ac_header_preproc=yes
45956 else
45957 echo "$as_me: failed program was:" >&5
45958 sed 's/^/| /' conftest.$ac_ext >&5
45959
45960 ac_header_preproc=no
45961 fi
45962 rm -f conftest.err conftest.$ac_ext
45963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45964 echo "${ECHO_T}$ac_header_preproc" >&6
45965
45966 # So? What about this header?
45967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45968 yes:no: )
45969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45973 ac_header_preproc=yes
45974 ;;
45975 no:yes:* )
45976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45988 (
45989 cat <<\_ASBOX
45990 ## ----------------------------------------- ##
45991 ## Report this to wx-dev@lists.wxwidgets.org ##
45992 ## ----------------------------------------- ##
45993 _ASBOX
45994 ) |
45995 sed "s/^/$as_me: WARNING: /" >&2
45996 ;;
45997 esac
45998 echo "$as_me:$LINENO: checking for $ac_header" >&5
45999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46001 echo $ECHO_N "(cached) $ECHO_C" >&6
46002 else
46003 eval "$as_ac_Header=\$ac_header_preproc"
46004 fi
46005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46007
46008 fi
46009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46010 cat >>confdefs.h <<_ACEOF
46011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46012 _ACEOF
46013
46014 fi
46015
46016 done
46017
46018
46019 if test "$ac_cv_header_ole2_h" = "yes" ; then
46020 if test "$GCC" = yes ; then
46021 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46022 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46023 cat >conftest.$ac_ext <<_ACEOF
46024 /* confdefs.h. */
46025 _ACEOF
46026 cat confdefs.h >>conftest.$ac_ext
46027 cat >>conftest.$ac_ext <<_ACEOF
46028 /* end confdefs.h. */
46029 #include <windows.h>
46030 #include <ole2.h>
46031 int
46032 main ()
46033 {
46034
46035 ;
46036 return 0;
46037 }
46038 _ACEOF
46039 rm -f conftest.$ac_objext
46040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46041 (eval $ac_compile) 2>conftest.er1
46042 ac_status=$?
46043 grep -v '^ *+' conftest.er1 >conftest.err
46044 rm -f conftest.er1
46045 cat conftest.err >&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); } &&
46048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46050 (eval $ac_try) 2>&5
46051 ac_status=$?
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); }; } &&
46054 { ac_try='test -s conftest.$ac_objext'
46055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46056 (eval $ac_try) 2>&5
46057 ac_status=$?
46058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46059 (exit $ac_status); }; }; then
46060 echo "$as_me:$LINENO: result: no" >&5
46061 echo "${ECHO_T}no" >&6
46062 else
46063 echo "$as_me: failed program was:" >&5
46064 sed 's/^/| /' conftest.$ac_ext >&5
46065
46066 echo "$as_me:$LINENO: result: yes" >&5
46067 echo "${ECHO_T}yes" >&6
46068 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46069 fi
46070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46071 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46072 if test "$wxUSE_OLE" = "yes" ; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_OLE 1
46075 _ACEOF
46076
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_OLE_AUTOMATION 1
46079 _ACEOF
46080
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_OLE_ACTIVEX 1
46083 _ACEOF
46084
46085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46086 fi
46087 fi
46088
46089 if test "$wxUSE_DATAOBJ" = "yes" ; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_DATAOBJ 1
46092 _ACEOF
46093
46094 fi
46095 else
46096 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46097 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46098
46099 wxUSE_CLIPBOARD=no
46100 wxUSE_DRAG_AND_DROP=no
46101 wxUSE_DATAOBJ=no
46102 wxUSE_OLE=no
46103 fi
46104
46105 if test "$wxUSE_METAFILE" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_METAFILE 1
46108 _ACEOF
46109
46110
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_ENH_METAFILE 1
46113 _ACEOF
46114
46115 fi
46116 fi
46117
46118 if test "$wxUSE_IPC" = "yes"; then
46119 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46120 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46121 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46122 wxUSE_IPC=no
46123 fi
46124
46125 if test "$wxUSE_IPC" = "yes"; then
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_IPC 1
46128 _ACEOF
46129
46130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46131 fi
46132 fi
46133
46134 if test "$wxUSE_DATAOBJ" = "yes"; then
46135 if test "$wxUSE_MGL" = 1; then
46136 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46137 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46138 wxUSE_DATAOBJ=no
46139 else
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_DATAOBJ 1
46142 _ACEOF
46143
46144 fi
46145 else
46146 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46147 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46148 wxUSE_CLIPBOARD=no
46149 wxUSE_DRAG_AND_DROP=no
46150 fi
46151
46152 if test "$wxUSE_CLIPBOARD" = "yes"; then
46153 if test "$wxUSE_MGL" = 1; then
46154 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46155 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46156 wxUSE_CLIPBOARD=no
46157 fi
46158
46159 if test "$wxUSE_CLIPBOARD" = "yes"; then
46160 cat >>confdefs.h <<\_ACEOF
46161 #define wxUSE_CLIPBOARD 1
46162 _ACEOF
46163
46164 fi
46165 fi
46166
46167 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46168 if test "$wxUSE_GTK" = 1; then
46169 if test "$WXGTK12" != 1; then
46170 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46171 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46172 wxUSE_DRAG_AND_DROP=no
46173 fi
46174 fi
46175
46176 if test "$wxUSE_MOTIF" = 1; then
46177 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46178 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46179 wxUSE_DRAG_AND_DROP=no
46180 fi
46181
46182 if test "$wxUSE_X11" = 1; then
46183 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46184 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46185 wxUSE_DRAG_AND_DROP=no
46186 fi
46187
46188 if test "$wxUSE_MGL" = 1; then
46189 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46190 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46191 wxUSE_DRAG_AND_DROP=no
46192 fi
46193
46194 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_DRAG_AND_DROP 1
46197 _ACEOF
46198
46199 fi
46200
46201 fi
46202
46203 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46205 fi
46206
46207 if test "$wxUSE_SPLINES" = "yes" ; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_SPLINES 1
46210 _ACEOF
46211
46212 fi
46213
46214 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_MOUSEWHEEL 1
46217 _ACEOF
46218
46219 fi
46220
46221
46222 USES_CONTROLS=0
46223 if test "$wxUSE_CONTROLS" = "yes"; then
46224 USES_CONTROLS=1
46225 fi
46226
46227 if test "$wxUSE_ACCEL" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_ACCEL 1
46230 _ACEOF
46231
46232 USES_CONTROLS=1
46233 fi
46234
46235 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_ANIMATIONCTRL 1
46238 _ACEOF
46239
46240 USES_CONTROLS=1
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46242 fi
46243
46244 if test "$wxUSE_BUTTON" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_BUTTON 1
46247 _ACEOF
46248
46249 USES_CONTROLS=1
46250 fi
46251
46252 if test "$wxUSE_BMPBUTTON" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_BMPBUTTON 1
46255 _ACEOF
46256
46257 USES_CONTROLS=1
46258 fi
46259
46260 if test "$wxUSE_CALCTRL" = "yes"; then
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_CALENDARCTRL 1
46263 _ACEOF
46264
46265 USES_CONTROLS=1
46266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46267 fi
46268
46269 if test "$wxUSE_CARET" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_CARET 1
46272 _ACEOF
46273
46274 USES_CONTROLS=1
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46276 fi
46277
46278 if test "$wxUSE_COLLPANE" = "yes"; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_COLLPANE 1
46281 _ACEOF
46282
46283 USES_CONTROLS=1
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46285 fi
46286
46287 if test "$wxUSE_COMBOBOX" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_COMBOBOX 1
46290 _ACEOF
46291
46292 USES_CONTROLS=1
46293 fi
46294
46295 if test "$wxUSE_COMBOCTRL" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_COMBOCTRL 1
46298 _ACEOF
46299
46300 USES_CONTROLS=1
46301 fi
46302
46303 if test "$wxUSE_CHOICE" = "yes"; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_CHOICE 1
46306 _ACEOF
46307
46308 USES_CONTROLS=1
46309 fi
46310
46311 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_CHOICEBOOK 1
46314 _ACEOF
46315
46316 USES_CONTROLS=1
46317 fi
46318
46319 if test "$wxUSE_CHECKBOX" = "yes"; then
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_CHECKBOX 1
46322 _ACEOF
46323
46324 USES_CONTROLS=1
46325 fi
46326
46327 if test "$wxUSE_CHECKLST" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_CHECKLISTBOX 1
46330 _ACEOF
46331
46332 USES_CONTROLS=1
46333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46334 fi
46335
46336 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_COLOURPICKERCTRL 1
46339 _ACEOF
46340
46341 USES_CONTROLS=1
46342 fi
46343
46344 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_DATEPICKCTRL 1
46347 _ACEOF
46348
46349 USES_CONTROLS=1
46350 fi
46351
46352 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_DIRPICKERCTRL 1
46355 _ACEOF
46356
46357 USES_CONTROLS=1
46358 fi
46359
46360 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_FILEPICKERCTRL 1
46363 _ACEOF
46364
46365 USES_CONTROLS=1
46366 fi
46367
46368 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_FONTPICKERCTRL 1
46371 _ACEOF
46372
46373 USES_CONTROLS=1
46374 fi
46375
46376 if test "$wxUSE_DISPLAY" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_DISPLAY 1
46379 _ACEOF
46380
46381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46382 fi
46383
46384 if test "$wxUSE_DETECT_SM" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_DETECT_SM 1
46387 _ACEOF
46388
46389 fi
46390
46391 if test "$wxUSE_GAUGE" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_GAUGE 1
46394 _ACEOF
46395
46396 USES_CONTROLS=1
46397 fi
46398
46399 if test "$wxUSE_GRID" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_GRID 1
46402 _ACEOF
46403
46404 USES_CONTROLS=1
46405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46406 fi
46407
46408 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46409 cat >>confdefs.h <<\_ACEOF
46410 #define wxUSE_HYPERLINKCTRL 1
46411 _ACEOF
46412
46413 USES_CONTROLS=1
46414 fi
46415
46416 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_BITMAPCOMBOBOX 1
46419 _ACEOF
46420
46421 USES_CONTROLS=1
46422 fi
46423
46424 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_DATAVIEWCTRL 1
46427 _ACEOF
46428
46429 USES_CONTROLS=1
46430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46431 fi
46432
46433 if test "$wxUSE_IMAGLIST" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_IMAGLIST 1
46436 _ACEOF
46437
46438 fi
46439
46440 if test "$wxUSE_LISTBOOK" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_LISTBOOK 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 fi
46447
46448 if test "$wxUSE_LISTBOX" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_LISTBOX 1
46451 _ACEOF
46452
46453 USES_CONTROLS=1
46454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46455 fi
46456
46457 if test "$wxUSE_LISTCTRL" = "yes"; then
46458 if test "$wxUSE_IMAGLIST" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_LISTCTRL 1
46461 _ACEOF
46462
46463 USES_CONTROLS=1
46464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46465 else
46466 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46467 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46468 fi
46469 fi
46470
46471 if test "$wxUSE_NOTEBOOK" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_NOTEBOOK 1
46474 _ACEOF
46475
46476 USES_CONTROLS=1
46477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46478 fi
46479
46480 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_ODCOMBOBOX 1
46483 _ACEOF
46484
46485 USES_CONTROLS=1
46486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46487 fi
46488
46489
46490 if test "$wxUSE_RADIOBOX" = "yes"; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_RADIOBOX 1
46493 _ACEOF
46494
46495 USES_CONTROLS=1
46496 fi
46497
46498 if test "$wxUSE_RADIOBTN" = "yes"; then
46499 cat >>confdefs.h <<\_ACEOF
46500 #define wxUSE_RADIOBTN 1
46501 _ACEOF
46502
46503 USES_CONTROLS=1
46504 fi
46505
46506 if test "$wxUSE_SASH" = "yes"; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_SASH 1
46509 _ACEOF
46510
46511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46512 fi
46513
46514 if test "$wxUSE_SCROLLBAR" = "yes"; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_SCROLLBAR 1
46517 _ACEOF
46518
46519 USES_CONTROLS=1
46520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46521 fi
46522
46523 if test "$wxUSE_SLIDER" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_SLIDER 1
46526 _ACEOF
46527
46528 USES_CONTROLS=1
46529 fi
46530
46531 if test "$wxUSE_SPINBTN" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_SPINBTN 1
46534 _ACEOF
46535
46536 USES_CONTROLS=1
46537 fi
46538
46539 if test "$wxUSE_SPINCTRL" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_SPINCTRL 1
46542 _ACEOF
46543
46544 USES_CONTROLS=1
46545 fi
46546
46547 if test "$wxUSE_SPLITTER" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_SPLITTER 1
46550 _ACEOF
46551
46552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46553 fi
46554
46555 if test "$wxUSE_STATBMP" = "yes"; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_STATBMP 1
46558 _ACEOF
46559
46560 USES_CONTROLS=1
46561 fi
46562
46563 if test "$wxUSE_STATBOX" = "yes"; then
46564 cat >>confdefs.h <<\_ACEOF
46565 #define wxUSE_STATBOX 1
46566 _ACEOF
46567
46568 USES_CONTROLS=1
46569 fi
46570
46571 if test "$wxUSE_STATTEXT" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_STATTEXT 1
46574 _ACEOF
46575
46576 USES_CONTROLS=1
46577 fi
46578
46579 if test "$wxUSE_STATLINE" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_STATLINE 1
46582 _ACEOF
46583
46584 USES_CONTROLS=1
46585 fi
46586
46587 if test "$wxUSE_STATUSBAR" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_NATIVE_STATUSBAR 1
46590 _ACEOF
46591
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_STATUSBAR 1
46594 _ACEOF
46595
46596 USES_CONTROLS=1
46597
46598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46599 fi
46600
46601 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_TAB_DIALOG 1
46604 _ACEOF
46605
46606 fi
46607
46608 if test "$wxUSE_TEXTCTRL" = "yes"; then
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_TEXTCTRL 1
46611 _ACEOF
46612
46613 USES_CONTROLS=1
46614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46615 fi
46616
46617 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46618 if test "$wxUSE_COCOA" = 1 ; then
46619 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46620 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46621 wxUSE_TOGGLEBTN=no
46622 fi
46623
46624 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_TOGGLEBTN 1
46627 _ACEOF
46628
46629 USES_CONTROLS=1
46630 fi
46631 fi
46632
46633 if test "$wxUSE_TOOLBAR" = "yes"; then
46634 cat >>confdefs.h <<\_ACEOF
46635 #define wxUSE_TOOLBAR 1
46636 _ACEOF
46637
46638 USES_CONTROLS=1
46639
46640 if test "$wxUSE_UNIVERSAL" = "yes"; then
46641 wxUSE_TOOLBAR_NATIVE="no"
46642 else
46643 wxUSE_TOOLBAR_NATIVE="yes"
46644 cat >>confdefs.h <<\_ACEOF
46645 #define wxUSE_TOOLBAR_NATIVE 1
46646 _ACEOF
46647
46648 fi
46649
46650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46651 fi
46652
46653 if test "$wxUSE_TOOLTIPS" = "yes"; then
46654 if test "$wxUSE_MOTIF" = 1; then
46655 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46656 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46657 else
46658 if test "$wxUSE_UNIVERSAL" = "yes"; then
46659 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46660 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46661 else
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_TOOLTIPS 1
46664 _ACEOF
46665
46666 fi
46667 fi
46668 fi
46669
46670 if test "$wxUSE_TREEBOOK" = "yes"; then
46671 cat >>confdefs.h <<\_ACEOF
46672 #define wxUSE_TREEBOOK 1
46673 _ACEOF
46674
46675 USES_CONTROLS=1
46676 fi
46677
46678 if test "$wxUSE_TOOLBOOK" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_TOOLBOOK 1
46681 _ACEOF
46682
46683 USES_CONTROLS=1
46684 fi
46685
46686 if test "$wxUSE_TREECTRL" = "yes"; then
46687 if test "$wxUSE_IMAGLIST" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_TREECTRL 1
46690 _ACEOF
46691
46692 USES_CONTROLS=1
46693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46694 else
46695 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46696 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46697 fi
46698 fi
46699
46700 if test "$wxUSE_POPUPWIN" = "yes"; then
46701 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46702 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46703 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46704 else
46705 if test "$wxUSE_PM" = 1; then
46706 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46707 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46708 else
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_POPUPWIN 1
46711 _ACEOF
46712
46713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46714
46715 USES_CONTROLS=1
46716 fi
46717 fi
46718 fi
46719
46720 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46722 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46723 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46724 else
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_DIALUP_MANAGER 1
46727 _ACEOF
46728
46729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46730 fi
46731 fi
46732
46733 if test "$wxUSE_TIPWINDOW" = "yes"; then
46734 if test "$wxUSE_PM" = 1; then
46735 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46736 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46737 else
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_TIPWINDOW 1
46740 _ACEOF
46741
46742 fi
46743 fi
46744
46745 if test "$USES_CONTROLS" = 1; then
46746 cat >>confdefs.h <<\_ACEOF
46747 #define wxUSE_CONTROLS 1
46748 _ACEOF
46749
46750 fi
46751
46752
46753 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_ACCESSIBILITY 1
46756 _ACEOF
46757
46758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46759 fi
46760
46761 if test "$wxUSE_DC_CACHEING" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_DC_CACHEING 1
46764 _ACEOF
46765
46766 fi
46767
46768 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_DRAGIMAGE 1
46771 _ACEOF
46772
46773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46774 fi
46775
46776 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46777 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46778 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46779 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46780 else
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_EXCEPTIONS 1
46783 _ACEOF
46784
46785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46786 fi
46787 fi
46788
46789 USE_HTML=0
46790 if test "$wxUSE_HTML" = "yes"; then
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_HTML 1
46793 _ACEOF
46794
46795 USE_HTML=1
46796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46797 if test "$wxUSE_MAC" = 1; then
46798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46799 fi
46800 fi
46801 if test "$wxUSE_WEBKIT" = "yes"; then
46802 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46803 old_CPPFLAGS="$CPPFLAGS"
46804 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46805 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46806 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46807 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46808 echo $ECHO_N "(cached) $ECHO_C" >&6
46809 else
46810 cat >conftest.$ac_ext <<_ACEOF
46811 /* confdefs.h. */
46812 _ACEOF
46813 cat confdefs.h >>conftest.$ac_ext
46814 cat >>conftest.$ac_ext <<_ACEOF
46815 /* end confdefs.h. */
46816 #include <Carbon/Carbon.h>
46817
46818 #include <WebKit/HIWebView.h>
46819 _ACEOF
46820 rm -f conftest.$ac_objext
46821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46822 (eval $ac_compile) 2>conftest.er1
46823 ac_status=$?
46824 grep -v '^ *+' conftest.er1 >conftest.err
46825 rm -f conftest.er1
46826 cat conftest.err >&5
46827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46828 (exit $ac_status); } &&
46829 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46831 (eval $ac_try) 2>&5
46832 ac_status=$?
46833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834 (exit $ac_status); }; } &&
46835 { ac_try='test -s conftest.$ac_objext'
46836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837 (eval $ac_try) 2>&5
46838 ac_status=$?
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); }; }; then
46841 ac_cv_header_WebKit_HIWebView_h=yes
46842 else
46843 echo "$as_me: failed program was:" >&5
46844 sed 's/^/| /' conftest.$ac_ext >&5
46845
46846 ac_cv_header_WebKit_HIWebView_h=no
46847 fi
46848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46849 fi
46850 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46851 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46852 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46853
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_WEBKIT 1
46856 _ACEOF
46857
46858 WEBKIT_LINK="-framework WebKit"
46859
46860 else
46861
46862 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46863 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46864 wxUSE_WEBKIT=no
46865
46866 fi
46867
46868
46869 CPPFLAGS="$old_CPPFLAGS"
46870 elif test "$wxUSE_COCOA" = 1; then
46871 cat >>confdefs.h <<\_ACEOF
46872 #define wxUSE_WEBKIT 1
46873 _ACEOF
46874
46875 else
46876 wxUSE_WEBKIT=no
46877 fi
46878 fi
46879
46880 USE_XRC=0
46881 if test "$wxUSE_XRC" = "yes"; then
46882 if test "$wxUSE_XML" != "yes"; then
46883 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46884 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46885 wxUSE_XRC=no
46886 else
46887 cat >>confdefs.h <<\_ACEOF
46888 #define wxUSE_XRC 1
46889 _ACEOF
46890
46891 USE_XRC=1
46892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46893 fi
46894 fi
46895
46896 USE_AUI=0
46897 if test "$wxUSE_AUI" = "yes"; then
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_AUI 1
46900 _ACEOF
46901
46902 USE_AUI=1
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46904 fi
46905
46906 if test "$wxUSE_MENUS" = "yes"; then
46907 cat >>confdefs.h <<\_ACEOF
46908 #define wxUSE_MENUS 1
46909 _ACEOF
46910
46911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46912 fi
46913
46914 if test "$wxUSE_METAFILE" = "yes"; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_METAFILE 1
46917 _ACEOF
46918
46919 fi
46920
46921 if test "$wxUSE_MIMETYPE" = "yes"; then
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_MIMETYPE 1
46924 _ACEOF
46925
46926 fi
46927
46928 if test "$wxUSE_MINIFRAME" = "yes"; then
46929 cat >>confdefs.h <<\_ACEOF
46930 #define wxUSE_MINIFRAME 1
46931 _ACEOF
46932
46933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46934 fi
46935
46936 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46937 cat >>confdefs.h <<\_ACEOF
46938 #define wxUSE_SYSTEM_OPTIONS 1
46939 _ACEOF
46940
46941 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46942 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46944 fi
46945 fi
46946
46947
46948 if test "$wxUSE_VALIDATORS" = "yes"; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_VALIDATORS 1
46951 _ACEOF
46952
46953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46954 fi
46955
46956 if test "$wxUSE_PALETTE" = "yes" ; then
46957 cat >>confdefs.h <<\_ACEOF
46958 #define wxUSE_PALETTE 1
46959 _ACEOF
46960
46961 fi
46962
46963 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46964 LIBS=" -lunicows $LIBS"
46965 fi
46966
46967 USE_RICHTEXT=0
46968 if test "$wxUSE_RICHTEXT" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_RICHTEXT 1
46971 _ACEOF
46972
46973 USE_RICHTEXT=1
46974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46975 fi
46976
46977
46978 if test "$wxUSE_IMAGE" = "yes" ; then
46979 cat >>confdefs.h <<\_ACEOF
46980 #define wxUSE_IMAGE 1
46981 _ACEOF
46982
46983
46984 if test "$wxUSE_GIF" = "yes" ; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_GIF 1
46987 _ACEOF
46988
46989 fi
46990
46991 if test "$wxUSE_PCX" = "yes" ; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_PCX 1
46994 _ACEOF
46995
46996 fi
46997
46998 if test "$wxUSE_TGA" = "yes" ; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_TGA 1
47001 _ACEOF
47002
47003 fi
47004
47005 if test "$wxUSE_IFF" = "yes" ; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_IFF 1
47008 _ACEOF
47009
47010 fi
47011
47012 if test "$wxUSE_PNM" = "yes" ; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_PNM 1
47015 _ACEOF
47016
47017 fi
47018
47019 if test "$wxUSE_XPM" = "yes" ; then
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_XPM 1
47022 _ACEOF
47023
47024 fi
47025
47026 if test "$wxUSE_ICO_CUR" = "yes" ; then
47027 cat >>confdefs.h <<\_ACEOF
47028 #define wxUSE_ICO_CUR 1
47029 _ACEOF
47030
47031 fi
47032 fi
47033
47034
47035 if test "$wxUSE_ABOUTDLG" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_ABOUTDLG 1
47038 _ACEOF
47039
47040 fi
47041
47042 if test "$wxUSE_CHOICEDLG" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_CHOICEDLG 1
47045 _ACEOF
47046
47047 fi
47048
47049 if test "$wxUSE_COLOURDLG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_COLOURDLG 1
47052 _ACEOF
47053
47054 fi
47055
47056 if test "$wxUSE_FILEDLG" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_FILEDLG 1
47059 _ACEOF
47060
47061 fi
47062
47063 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_FINDREPLDLG 1
47066 _ACEOF
47067
47068 fi
47069
47070 if test "$wxUSE_FONTDLG" = "yes"; then
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_FONTDLG 1
47073 _ACEOF
47074
47075 fi
47076
47077 if test "$wxUSE_DIRDLG" = "yes"; then
47078 if test "$wxUSE_TREECTRL" != "yes"; then
47079 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47080 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47081 else
47082 cat >>confdefs.h <<\_ACEOF
47083 #define wxUSE_DIRDLG 1
47084 _ACEOF
47085
47086 fi
47087 fi
47088
47089 if test "$wxUSE_MSGDLG" = "yes"; then
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_MSGDLG 1
47092 _ACEOF
47093
47094 fi
47095
47096 if test "$wxUSE_NUMBERDLG" = "yes"; then
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_NUMBERDLG 1
47099 _ACEOF
47100
47101 fi
47102
47103 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47104 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47105 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47106 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47107 else
47108 cat >>confdefs.h <<\_ACEOF
47109 #define wxUSE_PROGRESSDLG 1
47110 _ACEOF
47111
47112 fi
47113 fi
47114
47115 if test "$wxUSE_SPLASH" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_SPLASH 1
47118 _ACEOF
47119
47120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47121 fi
47122
47123 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47124 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47125 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47126 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47127 else
47128 cat >>confdefs.h <<\_ACEOF
47129 #define wxUSE_STARTUP_TIPS 1
47130 _ACEOF
47131
47132 fi
47133 fi
47134
47135 if test "$wxUSE_TEXTDLG" = "yes"; then
47136 cat >>confdefs.h <<\_ACEOF
47137 #define wxUSE_TEXTDLG 1
47138 _ACEOF
47139
47140 fi
47141
47142 if test "$wxUSE_WIZARDDLG" = "yes"; then
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_WIZARDDLG 1
47145 _ACEOF
47146
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47148 fi
47149
47150
47151 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47152 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47153 cat >>confdefs.h <<\_ACEOF
47154 #define wxUSE_GRAPHICS_CONTEXT 1
47155 _ACEOF
47156
47157 elif test "$wxUSE_GTK" != 1; then
47158 cat >>confdefs.h <<\_ACEOF
47159 #define wxUSE_GRAPHICS_CONTEXT 1
47160 _ACEOF
47161
47162 else
47163
47164 pkg_failed=no
47165 echo "$as_me:$LINENO: checking for CAIRO" >&5
47166 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47167
47168 if test -n "$PKG_CONFIG"; then
47169 if test -n "$CAIRO_CFLAGS"; then
47170 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47171 else
47172 if test -n "$PKG_CONFIG" && \
47173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47174 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47175 ac_status=$?
47176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177 (exit $ac_status); }; then
47178 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47179 else
47180 pkg_failed=yes
47181 fi
47182 fi
47183 else
47184 pkg_failed=untried
47185 fi
47186 if test -n "$PKG_CONFIG"; then
47187 if test -n "$CAIRO_LIBS"; then
47188 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47189 else
47190 if test -n "$PKG_CONFIG" && \
47191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47192 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47193 ac_status=$?
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); }; then
47196 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47197 else
47198 pkg_failed=yes
47199 fi
47200 fi
47201 else
47202 pkg_failed=untried
47203 fi
47204
47205
47206
47207 if test $pkg_failed = yes; then
47208
47209 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47210 _pkg_short_errors_supported=yes
47211 else
47212 _pkg_short_errors_supported=no
47213 fi
47214 if test $_pkg_short_errors_supported = yes; then
47215 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47216 else
47217 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47218 fi
47219 # Put the nasty error message in config.log where it belongs
47220 echo "$CAIRO_PKG_ERRORS" >&5
47221
47222 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47223 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47224
47225 elif test $pkg_failed = untried; then
47226 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47227 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47228
47229 else
47230 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47231 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47232 echo "$as_me:$LINENO: result: yes" >&5
47233 echo "${ECHO_T}yes" >&6
47234 cat >>confdefs.h <<\_ACEOF
47235 #define wxUSE_GRAPHICS_CONTEXT 1
47236 _ACEOF
47237
47238 fi
47239 fi
47240 fi
47241
47242
47243 USE_MEDIA=0
47244
47245 if test "$wxUSE_MEDIACTRL" = "yes"; then
47246 USE_MEDIA=1
47247
47248 if test "$wxUSE_GTK" = 1; then
47249 wxUSE_GSTREAMER="no"
47250
47251 GST_VERSION_MAJOR=0
47252 GST_VERSION_MINOR=10
47253 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47254
47255 if test "$wxUSE_GSTREAMER8" = "no"; then
47256
47257 pkg_failed=no
47258 echo "$as_me:$LINENO: checking for GST" >&5
47259 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47260
47261 if test -n "$PKG_CONFIG"; then
47262 if test -n "$GST_CFLAGS"; then
47263 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47264 else
47265 if test -n "$PKG_CONFIG" && \
47266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47267 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47268 ac_status=$?
47269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47270 (exit $ac_status); }; then
47271 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47272 else
47273 pkg_failed=yes
47274 fi
47275 fi
47276 else
47277 pkg_failed=untried
47278 fi
47279 if test -n "$PKG_CONFIG"; then
47280 if test -n "$GST_LIBS"; then
47281 pkg_cv_GST_LIBS="$GST_LIBS"
47282 else
47283 if test -n "$PKG_CONFIG" && \
47284 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47285 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47286 ac_status=$?
47287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47288 (exit $ac_status); }; then
47289 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47290 else
47291 pkg_failed=yes
47292 fi
47293 fi
47294 else
47295 pkg_failed=untried
47296 fi
47297
47298
47299
47300 if test $pkg_failed = yes; then
47301
47302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47303 _pkg_short_errors_supported=yes
47304 else
47305 _pkg_short_errors_supported=no
47306 fi
47307 if test $_pkg_short_errors_supported = yes; then
47308 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47309 else
47310 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47311 fi
47312 # Put the nasty error message in config.log where it belongs
47313 echo "$GST_PKG_ERRORS" >&5
47314
47315
47316 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47317 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47318 GST_VERSION_MINOR=8
47319
47320
47321 elif test $pkg_failed = untried; then
47322
47323 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47324 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47325 GST_VERSION_MINOR=8
47326
47327
47328 else
47329 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47330 GST_LIBS=$pkg_cv_GST_LIBS
47331 echo "$as_me:$LINENO: result: yes" >&5
47332 echo "${ECHO_T}yes" >&6
47333
47334 wxUSE_GSTREAMER="yes"
47335 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47336
47337 fi
47338 else
47339 GST_VERSION_MINOR=8
47340 fi
47341
47342 if test $GST_VERSION_MINOR = "8"; then
47343 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47344
47345 pkg_failed=no
47346 echo "$as_me:$LINENO: checking for GST" >&5
47347 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47348
47349 if test -n "$PKG_CONFIG"; then
47350 if test -n "$GST_CFLAGS"; then
47351 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47352 else
47353 if test -n "$PKG_CONFIG" && \
47354 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47355 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47356 ac_status=$?
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); }; then
47359 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47360 else
47361 pkg_failed=yes
47362 fi
47363 fi
47364 else
47365 pkg_failed=untried
47366 fi
47367 if test -n "$PKG_CONFIG"; then
47368 if test -n "$GST_LIBS"; then
47369 pkg_cv_GST_LIBS="$GST_LIBS"
47370 else
47371 if test -n "$PKG_CONFIG" && \
47372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47373 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47374 ac_status=$?
47375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376 (exit $ac_status); }; then
47377 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47378 else
47379 pkg_failed=yes
47380 fi
47381 fi
47382 else
47383 pkg_failed=untried
47384 fi
47385
47386
47387
47388 if test $pkg_failed = yes; then
47389
47390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47391 _pkg_short_errors_supported=yes
47392 else
47393 _pkg_short_errors_supported=no
47394 fi
47395 if test $_pkg_short_errors_supported = yes; then
47396 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47397 else
47398 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47399 fi
47400 # Put the nasty error message in config.log where it belongs
47401 echo "$GST_PKG_ERRORS" >&5
47402
47403
47404 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47405 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47406
47407 elif test $pkg_failed = untried; then
47408
47409 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47410 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47411
47412 else
47413 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47414 GST_LIBS=$pkg_cv_GST_LIBS
47415 echo "$as_me:$LINENO: result: yes" >&5
47416 echo "${ECHO_T}yes" >&6
47417 wxUSE_GSTREAMER="yes"
47418 fi
47419 fi
47420
47421
47422 if test "$wxUSE_GSTREAMER" = "yes"; then
47423 case "${host}" in
47424 *-*-solaris2* )
47425 if "$GCC" = yes; then
47426 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47427 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47428 fi
47429 esac
47430
47431 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47432 LIBS="$GST_LIBS $LIBS"
47433
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_GSTREAMER 1
47436 _ACEOF
47437
47438 else
47439 USE_MEDIA=0
47440 fi
47441 fi
47442
47443 if test $USE_MEDIA = 1; then
47444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47445 cat >>confdefs.h <<\_ACEOF
47446 #define wxUSE_MEDIACTRL 1
47447 _ACEOF
47448
47449 fi
47450 fi
47451
47452
47453 if test "$cross_compiling" = "yes"; then
47454 OSINFO="\"$host\""
47455 else
47456 OSINFO=`uname -s -r -m`
47457 OSINFO="\"$OSINFO\""
47458 fi
47459
47460 cat >>confdefs.h <<_ACEOF
47461 #define WXWIN_OS_DESCRIPTION $OSINFO
47462 _ACEOF
47463
47464
47465
47466 if test "x$prefix" != "xNONE"; then
47467 wxPREFIX=$prefix
47468 else
47469 wxPREFIX=$ac_default_prefix
47470 fi
47471
47472 cat >>confdefs.h <<_ACEOF
47473 #define wxINSTALL_PREFIX "$wxPREFIX"
47474 _ACEOF
47475
47476
47477
47478
47479 CORE_BASE_LIBS="net base"
47480 CORE_GUI_LIBS="adv core"
47481
47482 if test "$wxUSE_XML" = "yes" ; then
47483 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47484 fi
47485 if test "$wxUSE_ODBC" != "no" ; then
47486 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47487 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47488 fi
47489 if test "$wxUSE_HTML" = "yes" ; then
47490 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47491 fi
47492 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47493 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47494 fi
47495 if test "$wxUSE_XRC" = "yes" ; then
47496 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47497 fi
47498 if test "$wxUSE_AUI" = "yes" ; then
47499 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47500 fi
47501
47502 if test "$wxUSE_GUI" != "yes"; then
47503 CORE_GUI_LIBS=""
47504 fi
47505
47506
47507
47508
47509
47510 ac_ext=c
47511 ac_cpp='$CPP $CPPFLAGS'
47512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47515
47516
47517
47518 if test "$wxUSE_MAC" = 1 ; then
47519 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47520 if test "$USE_DARWIN" = 1; then
47521 LDFLAGS="$LDFLAGS -framework QuickTime"
47522 else
47523 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47524 fi
47525 fi
47526 if test "$USE_DARWIN" = 1; then
47527 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47528 else
47529 LDFLAGS="$LDFLAGS -lCarbonLib"
47530 fi
47531 fi
47532 if test "$wxUSE_COCOA" = 1 ; then
47533 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47534 if test "$wxUSE_MEDIACTRL" = "yes"; then
47535 LDFLAGS="$LDFLAGS -framework QuickTime"
47536 fi
47537 fi
47538 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47539 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47540 fi
47541
47542 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47543
47544 if test "$wxUSE_GUI" = "yes"; then
47545
47546
47547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47548 dynamic erase event exec font image minimal mobile \
47549 mobile/wxedit mobile/styles propsize render \
47550 rotate shaped vscroll widgets"
47551
47552 if test "$wxUSE_MONOLITHIC" != "yes"; then
47553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47554 fi
47555 if test "$TOOLKIT" = "MSW"; then
47556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47557 if test "$wxUSE_UNIVERSAL" != "yes"; then
47558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47559 fi
47560 fi
47561 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47563 fi
47564 else
47565 SAMPLES_SUBDIRS="console"
47566 fi
47567
47568
47569 if test "x$INTELCC" = "xyes" ; then
47570 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47571 elif test "$GCC" = yes ; then
47572 CWARNINGS="-Wall -Wundef"
47573 fi
47574
47575 if test "x$INTELCXX" = "xyes" ; then
47576 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47577 elif test "$GXX" = yes ; then
47578 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47579 fi
47580
47581
47582 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47583 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47584
47585
47586 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47587 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47588 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47589 $CPPFLAGS `
47590
47591 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47592 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47593 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47594
47595 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47596
47597
47598 if test "x$MWCC" = "xyes"; then
47599
47600 CC="$CC -cwd source -I-"
47601 CXX="$CXX -cwd source -I-"
47602 fi
47603
47604
47605 LIBS=`echo $LIBS`
47606 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47607 EXTRALIBS_XML="$EXPAT_LINK"
47608 EXTRALIBS_HTML="$MSPACK_LINK"
47609 EXTRALIBS_ODBC="$ODBC_LINK"
47610 if test "$wxUSE_GUI" = "yes"; then
47611 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47612 fi
47613 if test "$wxUSE_OPENGL" = "yes"; then
47614 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47615 fi
47616
47617 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47618
47619 WXCONFIG_LIBS="$LIBS"
47620
47621 if test "$wxUSE_REGEX" = "builtin" ; then
47622 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47623 fi
47624 if test "$wxUSE_EXPAT" = "builtin" ; then
47625 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47626 fi
47627 if test "$wxUSE_ODBC" = "builtin" ; then
47628 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47629 fi
47630 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47631 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47632 fi
47633 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47634 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47635 fi
47636 if test "$wxUSE_LIBPNG" = "builtin" ; then
47637 wxconfig_3rdparty="png $wxconfig_3rdparty"
47638 fi
47639 if test "$wxUSE_ZLIB" = "builtin" ; then
47640 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47641 fi
47642
47643 for i in $wxconfig_3rdparty ; do
47644 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47645 done
47646
47647
47648 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47649 WXUNIV=1
47650
47651 case "$wxUNIV_THEMES" in
47652 ''|all)
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_ALL_THEMES 1
47655 _ACEOF
47656
47657 ;;
47658
47659 *)
47660 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47661 cat >>confdefs.h <<_ACEOF
47662 #define wxUSE_THEME_$t 1
47663 _ACEOF
47664
47665 done
47666 esac
47667 else
47668 WXUNIV=0
47669 fi
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679 if test $wxUSE_MONOLITHIC = "yes" ; then
47680 MONOLITHIC=1
47681 else
47682 MONOLITHIC=0
47683 fi
47684
47685 if test $wxUSE_PLUGINS = "yes" ; then
47686 USE_PLUGINS=1
47687 else
47688 USE_PLUGINS=0
47689 fi
47690
47691 if test $wxUSE_ODBC != "no" ; then
47692 USE_ODBC=1
47693 else
47694 USE_ODBC=0
47695 fi
47696
47697 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47698 USE_QA=1
47699 else
47700 USE_QA=0
47701 fi
47702
47703 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47704 OFFICIAL_BUILD=1
47705 else
47706 OFFICIAL_BUILD=0
47707 fi
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47734
47735
47736
47737
47738
47739
47740
47741
47742 case "$TOOLKIT" in
47743 GTK)
47744 TOOLKIT_DESC="GTK+"
47745 if test "$WXGTK20" = 1; then
47746 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47747 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47748 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47749 fi
47750 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47751 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47752 fi
47753 if test "$wxUSE_LIBHILDON" = "yes"; then
47754 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47755 fi
47756
47757 if test "$TOOLKIT_EXTRA" != ""; then
47758 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47759 fi
47760 fi
47761 ;;
47762
47763 ?*)
47764 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47765 ;;
47766
47767 *)
47768 TOOLKIT_DESC="base only"
47769 ;;
47770 esac
47771
47772 if test "$wxUSE_WINE" = "yes"; then
47773 BAKEFILE_FORCE_PLATFORM=win32
47774 fi
47775
47776 if test "$wxUSE_MAC" = 1 ; then
47777 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47778 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47779 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47780 else
47781 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47782 fi
47783 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47784 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47785 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47786 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47787 bk_use_pch=no
47788 fi
47789 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47790 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47791 fi
47792
47793 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47794 then
47795 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47796 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47797 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47798 echo $ECHO_N "(cached) $ECHO_C" >&6
47799 else
47800
47801 echo '#include <stdio.h>
47802 const wchar_t test_var[] = L"awidetest";' > conftest.h
47803
47804 echo '#include "conftest.h"
47805 int main()
47806 {
47807 printf("%ls", test_var);
47808 return 0;
47809 }' > conftest.cpp
47810
47811 wx_cv_gcc_pch_bug="pch not supported"
47812
47813 if $CXX conftest.h >/dev/null 2>&1
47814 then
47815 wx_cv_gcc_pch_bug=
47816
47817 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47818 then
47819 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47820 grep awidetest >/dev/null
47821 then
47822 wx_cv_gcc_pch_bug=no
47823 else
47824 wx_cv_gcc_pch_bug=yes
47825 fi
47826 fi
47827 fi
47828
47829 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47830
47831 fi
47832 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47833 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47834
47835 if test "$wx_cv_gcc_pch_bug" = yes; then
47836 bk_use_pch=no
47837 fi
47838 fi
47839
47840
47841
47842
47843 if test "x$BAKEFILE_HOST" = "x"; then
47844 if test "x${host}" = "x" ; then
47845 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47846 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47847 { (exit 1); exit 1; }; }
47848 fi
47849
47850 BAKEFILE_HOST="${host}"
47851 fi
47852
47853 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47854
47855 if test -n "$ac_tool_prefix"; then
47856 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47857 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47858 echo "$as_me:$LINENO: checking for $ac_word" >&5
47859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47860 if test "${ac_cv_prog_RANLIB+set}" = set; then
47861 echo $ECHO_N "(cached) $ECHO_C" >&6
47862 else
47863 if test -n "$RANLIB"; then
47864 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47865 else
47866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47867 for as_dir in $PATH
47868 do
47869 IFS=$as_save_IFS
47870 test -z "$as_dir" && as_dir=.
47871 for ac_exec_ext in '' $ac_executable_extensions; do
47872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47873 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47875 break 2
47876 fi
47877 done
47878 done
47879
47880 fi
47881 fi
47882 RANLIB=$ac_cv_prog_RANLIB
47883 if test -n "$RANLIB"; then
47884 echo "$as_me:$LINENO: result: $RANLIB" >&5
47885 echo "${ECHO_T}$RANLIB" >&6
47886 else
47887 echo "$as_me:$LINENO: result: no" >&5
47888 echo "${ECHO_T}no" >&6
47889 fi
47890
47891 fi
47892 if test -z "$ac_cv_prog_RANLIB"; then
47893 ac_ct_RANLIB=$RANLIB
47894 # Extract the first word of "ranlib", so it can be a program name with args.
47895 set dummy ranlib; ac_word=$2
47896 echo "$as_me:$LINENO: checking for $ac_word" >&5
47897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47898 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47899 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 else
47901 if test -n "$ac_ct_RANLIB"; then
47902 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47903 else
47904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47905 for as_dir in $PATH
47906 do
47907 IFS=$as_save_IFS
47908 test -z "$as_dir" && as_dir=.
47909 for ac_exec_ext in '' $ac_executable_extensions; do
47910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47911 ac_cv_prog_ac_ct_RANLIB="ranlib"
47912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47913 break 2
47914 fi
47915 done
47916 done
47917
47918 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47919 fi
47920 fi
47921 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47922 if test -n "$ac_ct_RANLIB"; then
47923 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47924 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47925 else
47926 echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6
47928 fi
47929
47930 RANLIB=$ac_ct_RANLIB
47931 else
47932 RANLIB="$ac_cv_prog_RANLIB"
47933 fi
47934
47935 # Find a good install program. We prefer a C program (faster),
47936 # so one script is as good as another. But avoid the broken or
47937 # incompatible versions:
47938 # SysV /etc/install, /usr/sbin/install
47939 # SunOS /usr/etc/install
47940 # IRIX /sbin/install
47941 # AIX /bin/install
47942 # AmigaOS /C/install, which installs bootblocks on floppy discs
47943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47946 # OS/2's system install, which has a completely different semantic
47947 # ./install, which can be erroneously created by make from ./install.sh.
47948 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47949 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47950 if test -z "$INSTALL"; then
47951 if test "${ac_cv_path_install+set}" = set; then
47952 echo $ECHO_N "(cached) $ECHO_C" >&6
47953 else
47954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47955 for as_dir in $PATH
47956 do
47957 IFS=$as_save_IFS
47958 test -z "$as_dir" && as_dir=.
47959 # Account for people who put trailing slashes in PATH elements.
47960 case $as_dir/ in
47961 ./ | .// | /cC/* | \
47962 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47963 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47964 /usr/ucb/* ) ;;
47965 *)
47966 # OSF1 and SCO ODT 3.0 have their own names for install.
47967 # Don't use installbsd from OSF since it installs stuff as root
47968 # by default.
47969 for ac_prog in ginstall scoinst install; do
47970 for ac_exec_ext in '' $ac_executable_extensions; do
47971 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47972 if test $ac_prog = install &&
47973 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47974 # AIX install. It has an incompatible calling convention.
47975 :
47976 elif test $ac_prog = install &&
47977 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47978 # program-specific install script used by HP pwplus--don't use.
47979 :
47980 else
47981 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47982 break 3
47983 fi
47984 fi
47985 done
47986 done
47987 ;;
47988 esac
47989 done
47990
47991
47992 fi
47993 if test "${ac_cv_path_install+set}" = set; then
47994 INSTALL=$ac_cv_path_install
47995 else
47996 # As a last resort, use the slow shell script. We don't cache a
47997 # path for INSTALL within a source directory, because that will
47998 # break other packages using the cache if that directory is
47999 # removed, or if the path is relative.
48000 INSTALL=$ac_install_sh
48001 fi
48002 fi
48003 echo "$as_me:$LINENO: result: $INSTALL" >&5
48004 echo "${ECHO_T}$INSTALL" >&6
48005
48006 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48007 # It thinks the first close brace ends the variable substitution.
48008 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48009
48010 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48011
48012 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48013
48014 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48015 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48016 LN_S=$as_ln_s
48017 if test "$LN_S" = "ln -s"; then
48018 echo "$as_me:$LINENO: result: yes" >&5
48019 echo "${ECHO_T}yes" >&6
48020 else
48021 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48022 echo "${ECHO_T}no, using $LN_S" >&6
48023 fi
48024
48025
48026 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48027 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48028 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48029 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48030 echo $ECHO_N "(cached) $ECHO_C" >&6
48031 else
48032 cat >conftest.make <<\_ACEOF
48033 all:
48034 @echo 'ac_maketemp="$(MAKE)"'
48035 _ACEOF
48036 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48037 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48038 if test -n "$ac_maketemp"; then
48039 eval ac_cv_prog_make_${ac_make}_set=yes
48040 else
48041 eval ac_cv_prog_make_${ac_make}_set=no
48042 fi
48043 rm -f conftest.make
48044 fi
48045 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48046 echo "$as_me:$LINENO: result: yes" >&5
48047 echo "${ECHO_T}yes" >&6
48048 SET_MAKE=
48049 else
48050 echo "$as_me:$LINENO: result: no" >&5
48051 echo "${ECHO_T}no" >&6
48052 SET_MAKE="MAKE=${MAKE-make}"
48053 fi
48054
48055
48056
48057 if test "x$SUNCXX" = "xyes"; then
48058 AR=$CXX
48059
48060 AROPTIONS="-xar -o"
48061 else
48062 if test -n "$ac_tool_prefix"; then
48063 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48064 set dummy ${ac_tool_prefix}ar; ac_word=$2
48065 echo "$as_me:$LINENO: checking for $ac_word" >&5
48066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48067 if test "${ac_cv_prog_AR+set}" = set; then
48068 echo $ECHO_N "(cached) $ECHO_C" >&6
48069 else
48070 if test -n "$AR"; then
48071 ac_cv_prog_AR="$AR" # Let the user override the test.
48072 else
48073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48074 for as_dir in $PATH
48075 do
48076 IFS=$as_save_IFS
48077 test -z "$as_dir" && as_dir=.
48078 for ac_exec_ext in '' $ac_executable_extensions; do
48079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48080 ac_cv_prog_AR="${ac_tool_prefix}ar"
48081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48082 break 2
48083 fi
48084 done
48085 done
48086
48087 fi
48088 fi
48089 AR=$ac_cv_prog_AR
48090 if test -n "$AR"; then
48091 echo "$as_me:$LINENO: result: $AR" >&5
48092 echo "${ECHO_T}$AR" >&6
48093 else
48094 echo "$as_me:$LINENO: result: no" >&5
48095 echo "${ECHO_T}no" >&6
48096 fi
48097
48098 fi
48099 if test -z "$ac_cv_prog_AR"; then
48100 ac_ct_AR=$AR
48101 # Extract the first word of "ar", so it can be a program name with args.
48102 set dummy ar; ac_word=$2
48103 echo "$as_me:$LINENO: checking for $ac_word" >&5
48104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48105 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48106 echo $ECHO_N "(cached) $ECHO_C" >&6
48107 else
48108 if test -n "$ac_ct_AR"; then
48109 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48110 else
48111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48112 for as_dir in $PATH
48113 do
48114 IFS=$as_save_IFS
48115 test -z "$as_dir" && as_dir=.
48116 for ac_exec_ext in '' $ac_executable_extensions; do
48117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48118 ac_cv_prog_ac_ct_AR="ar"
48119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48120 break 2
48121 fi
48122 done
48123 done
48124
48125 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48126 fi
48127 fi
48128 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48129 if test -n "$ac_ct_AR"; then
48130 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48131 echo "${ECHO_T}$ac_ct_AR" >&6
48132 else
48133 echo "$as_me:$LINENO: result: no" >&5
48134 echo "${ECHO_T}no" >&6
48135 fi
48136
48137 AR=$ac_ct_AR
48138 else
48139 AR="$ac_cv_prog_AR"
48140 fi
48141
48142 AROPTIONS=rcu
48143 fi
48144
48145
48146 if test -n "$ac_tool_prefix"; then
48147 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48148 set dummy ${ac_tool_prefix}strip; ac_word=$2
48149 echo "$as_me:$LINENO: checking for $ac_word" >&5
48150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48151 if test "${ac_cv_prog_STRIP+set}" = set; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 else
48154 if test -n "$STRIP"; then
48155 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48156 else
48157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48158 for as_dir in $PATH
48159 do
48160 IFS=$as_save_IFS
48161 test -z "$as_dir" && as_dir=.
48162 for ac_exec_ext in '' $ac_executable_extensions; do
48163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48164 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48166 break 2
48167 fi
48168 done
48169 done
48170
48171 fi
48172 fi
48173 STRIP=$ac_cv_prog_STRIP
48174 if test -n "$STRIP"; then
48175 echo "$as_me:$LINENO: result: $STRIP" >&5
48176 echo "${ECHO_T}$STRIP" >&6
48177 else
48178 echo "$as_me:$LINENO: result: no" >&5
48179 echo "${ECHO_T}no" >&6
48180 fi
48181
48182 fi
48183 if test -z "$ac_cv_prog_STRIP"; then
48184 ac_ct_STRIP=$STRIP
48185 # Extract the first word of "strip", so it can be a program name with args.
48186 set dummy strip; ac_word=$2
48187 echo "$as_me:$LINENO: checking for $ac_word" >&5
48188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48189 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48190 echo $ECHO_N "(cached) $ECHO_C" >&6
48191 else
48192 if test -n "$ac_ct_STRIP"; then
48193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48194 else
48195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48196 for as_dir in $PATH
48197 do
48198 IFS=$as_save_IFS
48199 test -z "$as_dir" && as_dir=.
48200 for ac_exec_ext in '' $ac_executable_extensions; do
48201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48202 ac_cv_prog_ac_ct_STRIP="strip"
48203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48204 break 2
48205 fi
48206 done
48207 done
48208
48209 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48210 fi
48211 fi
48212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48213 if test -n "$ac_ct_STRIP"; then
48214 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48215 echo "${ECHO_T}$ac_ct_STRIP" >&6
48216 else
48217 echo "$as_me:$LINENO: result: no" >&5
48218 echo "${ECHO_T}no" >&6
48219 fi
48220
48221 STRIP=$ac_ct_STRIP
48222 else
48223 STRIP="$ac_cv_prog_STRIP"
48224 fi
48225
48226 if test -n "$ac_tool_prefix"; then
48227 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48228 set dummy ${ac_tool_prefix}nm; ac_word=$2
48229 echo "$as_me:$LINENO: checking for $ac_word" >&5
48230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48231 if test "${ac_cv_prog_NM+set}" = set; then
48232 echo $ECHO_N "(cached) $ECHO_C" >&6
48233 else
48234 if test -n "$NM"; then
48235 ac_cv_prog_NM="$NM" # Let the user override the test.
48236 else
48237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48238 for as_dir in $PATH
48239 do
48240 IFS=$as_save_IFS
48241 test -z "$as_dir" && as_dir=.
48242 for ac_exec_ext in '' $ac_executable_extensions; do
48243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48244 ac_cv_prog_NM="${ac_tool_prefix}nm"
48245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48246 break 2
48247 fi
48248 done
48249 done
48250
48251 fi
48252 fi
48253 NM=$ac_cv_prog_NM
48254 if test -n "$NM"; then
48255 echo "$as_me:$LINENO: result: $NM" >&5
48256 echo "${ECHO_T}$NM" >&6
48257 else
48258 echo "$as_me:$LINENO: result: no" >&5
48259 echo "${ECHO_T}no" >&6
48260 fi
48261
48262 fi
48263 if test -z "$ac_cv_prog_NM"; then
48264 ac_ct_NM=$NM
48265 # Extract the first word of "nm", so it can be a program name with args.
48266 set dummy nm; ac_word=$2
48267 echo "$as_me:$LINENO: checking for $ac_word" >&5
48268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48269 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48270 echo $ECHO_N "(cached) $ECHO_C" >&6
48271 else
48272 if test -n "$ac_ct_NM"; then
48273 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48274 else
48275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48276 for as_dir in $PATH
48277 do
48278 IFS=$as_save_IFS
48279 test -z "$as_dir" && as_dir=.
48280 for ac_exec_ext in '' $ac_executable_extensions; do
48281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48282 ac_cv_prog_ac_ct_NM="nm"
48283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48284 break 2
48285 fi
48286 done
48287 done
48288
48289 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48290 fi
48291 fi
48292 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48293 if test -n "$ac_ct_NM"; then
48294 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48295 echo "${ECHO_T}$ac_ct_NM" >&6
48296 else
48297 echo "$as_me:$LINENO: result: no" >&5
48298 echo "${ECHO_T}no" >&6
48299 fi
48300
48301 NM=$ac_ct_NM
48302 else
48303 NM="$ac_cv_prog_NM"
48304 fi
48305
48306
48307 case ${BAKEFILE_HOST} in
48308 *-hp-hpux* )
48309 INSTALL_DIR="mkdir -p"
48310 ;;
48311 * )
48312 INSTALL_DIR='$(INSTALL) -d'
48313 ;;
48314 esac
48315
48316
48317 LDFLAGS_GUI=
48318 case ${BAKEFILE_HOST} in
48319 *-*-cygwin* | *-*-mingw32* )
48320 LDFLAGS_GUI="-mwindows"
48321 esac
48322
48323
48324 fi
48325
48326 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48327 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48328 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48329 echo $ECHO_N "(cached) $ECHO_C" >&6
48330 else
48331
48332 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48333 egrep -s GNU > /dev/null); then
48334 bakefile_cv_prog_makeisgnu="yes"
48335 else
48336 bakefile_cv_prog_makeisgnu="no"
48337 fi
48338
48339 fi
48340 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48341 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48342
48343 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48344 IF_GNU_MAKE=""
48345 else
48346 IF_GNU_MAKE="#"
48347 fi
48348
48349
48350
48351 PLATFORM_UNIX=0
48352 PLATFORM_WIN32=0
48353 PLATFORM_MSDOS=0
48354 PLATFORM_MAC=0
48355 PLATFORM_MACOS=0
48356 PLATFORM_MACOSX=0
48357 PLATFORM_OS2=0
48358 PLATFORM_BEOS=0
48359
48360 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48361 case "${BAKEFILE_HOST}" in
48362 *-*-mingw32* )
48363 PLATFORM_WIN32=1
48364 ;;
48365 *-pc-msdosdjgpp )
48366 PLATFORM_MSDOS=1
48367 ;;
48368 *-pc-os2_emx | *-pc-os2-emx )
48369 PLATFORM_OS2=1
48370 ;;
48371 *-*-darwin* )
48372 PLATFORM_MAC=1
48373 PLATFORM_MACOSX=1
48374 ;;
48375 *-*-beos* )
48376 PLATFORM_BEOS=1
48377 ;;
48378 powerpc-apple-macos* )
48379 PLATFORM_MAC=1
48380 PLATFORM_MACOS=1
48381 ;;
48382 * )
48383 PLATFORM_UNIX=1
48384 ;;
48385 esac
48386 else
48387 case "$BAKEFILE_FORCE_PLATFORM" in
48388 win32 )
48389 PLATFORM_WIN32=1
48390 ;;
48391 msdos )
48392 PLATFORM_MSDOS=1
48393 ;;
48394 os2 )
48395 PLATFORM_OS2=1
48396 ;;
48397 darwin )
48398 PLATFORM_MAC=1
48399 PLATFORM_MACOSX=1
48400 ;;
48401 unix )
48402 PLATFORM_UNIX=1
48403 ;;
48404 beos )
48405 PLATFORM_BEOS=1
48406 ;;
48407 * )
48408 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48409 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48410 { (exit 1); exit 1; }; }
48411 ;;
48412 esac
48413 fi
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425 # Check whether --enable-omf or --disable-omf was given.
48426 if test "${enable_omf+set}" = set; then
48427 enableval="$enable_omf"
48428 bk_os2_use_omf="$enableval"
48429 fi;
48430
48431 case "${BAKEFILE_HOST}" in
48432 *-*-darwin* )
48433 if test "x$GCC" = "xyes"; then
48434 CFLAGS="$CFLAGS -fno-common"
48435 CXXFLAGS="$CXXFLAGS -fno-common"
48436 fi
48437 if test "x$XLCC" = "xyes"; then
48438 CFLAGS="$CFLAGS -qnocommon"
48439 CXXFLAGS="$CXXFLAGS -qnocommon"
48440 fi
48441 ;;
48442
48443 *-pc-os2_emx | *-pc-os2-emx )
48444 if test "x$bk_os2_use_omf" = "xyes" ; then
48445 AR=emxomfar
48446 RANLIB=:
48447 LDFLAGS="-Zomf $LDFLAGS"
48448 CFLAGS="-Zomf $CFLAGS"
48449 CXXFLAGS="-Zomf $CXXFLAGS"
48450 OS2_LIBEXT="lib"
48451 else
48452 OS2_LIBEXT="a"
48453 fi
48454 ;;
48455
48456 i*86-*-beos* )
48457 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48458 ;;
48459 esac
48460
48461
48462 SO_SUFFIX="so"
48463 SO_SUFFIX_MODULE="so"
48464 EXEEXT=""
48465 LIBPREFIX="lib"
48466 LIBEXT=".a"
48467 DLLPREFIX="lib"
48468 DLLPREFIX_MODULE=""
48469 DLLIMP_SUFFIX=""
48470 dlldir="$libdir"
48471
48472 case "${BAKEFILE_HOST}" in
48473 *-hp-hpux* )
48474 SO_SUFFIX="sl"
48475 SO_SUFFIX_MODULE="sl"
48476 ;;
48477 *-*-aix* )
48478 SO_SUFFIX="a"
48479 SO_SUFFIX_MODULE="a"
48480 ;;
48481 *-*-cygwin* )
48482 SO_SUFFIX="dll"
48483 SO_SUFFIX_MODULE="dll"
48484 DLLIMP_SUFFIX="dll.a"
48485 EXEEXT=".exe"
48486 DLLPREFIX="cyg"
48487 dlldir="$bindir"
48488 ;;
48489 *-*-mingw32* )
48490 SO_SUFFIX="dll"
48491 SO_SUFFIX_MODULE="dll"
48492 DLLIMP_SUFFIX="dll.a"
48493 EXEEXT=".exe"
48494 DLLPREFIX=""
48495 dlldir="$bindir"
48496 ;;
48497 *-pc-msdosdjgpp )
48498 EXEEXT=".exe"
48499 DLLPREFIX=""
48500 dlldir="$bindir"
48501 ;;
48502 *-pc-os2_emx | *-pc-os2-emx )
48503 SO_SUFFIX="dll"
48504 SO_SUFFIX_MODULE="dll"
48505 DLLIMP_SUFFIX=$OS2_LIBEXT
48506 EXEEXT=".exe"
48507 DLLPREFIX=""
48508 LIBPREFIX=""
48509 LIBEXT=".$OS2_LIBEXT"
48510 dlldir="$bindir"
48511 ;;
48512 *-*-darwin* )
48513 SO_SUFFIX="dylib"
48514 SO_SUFFIX_MODULE="bundle"
48515 ;;
48516 esac
48517
48518 if test "x$DLLIMP_SUFFIX" = "x" ; then
48519 DLLIMP_SUFFIX="$SO_SUFFIX"
48520 fi
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533 PIC_FLAG=""
48534 if test "x$GCC" = "xyes"; then
48535 PIC_FLAG="-fPIC"
48536 fi
48537
48538 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48539 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48540 WINDOWS_IMPLIB=0
48541
48542 case "${BAKEFILE_HOST}" in
48543 *-hp-hpux* )
48544 if test "x$GCC" != "xyes"; then
48545 LDFLAGS="$LDFLAGS -L/usr/lib"
48546
48547 SHARED_LD_CC="${CC} -b -o"
48548 SHARED_LD_CXX="${CXX} -b -o"
48549 PIC_FLAG="+Z"
48550 fi
48551 ;;
48552
48553 *-*-linux* )
48554 if test "x$GCC" != "xyes"; then
48555 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48556 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48557 if test "${bakefile_cv_prog_icc+set}" = set; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 else
48560
48561 cat >conftest.$ac_ext <<_ACEOF
48562 /* confdefs.h. */
48563 _ACEOF
48564 cat confdefs.h >>conftest.$ac_ext
48565 cat >>conftest.$ac_ext <<_ACEOF
48566 /* end confdefs.h. */
48567
48568 int
48569 main ()
48570 {
48571
48572 #ifndef __INTEL_COMPILER
48573 This is not ICC
48574 #endif
48575
48576 ;
48577 return 0;
48578 }
48579 _ACEOF
48580 rm -f conftest.$ac_objext
48581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48582 (eval $ac_compile) 2>conftest.er1
48583 ac_status=$?
48584 grep -v '^ *+' conftest.er1 >conftest.err
48585 rm -f conftest.er1
48586 cat conftest.err >&5
48587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48588 (exit $ac_status); } &&
48589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48591 (eval $ac_try) 2>&5
48592 ac_status=$?
48593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48594 (exit $ac_status); }; } &&
48595 { ac_try='test -s conftest.$ac_objext'
48596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48597 (eval $ac_try) 2>&5
48598 ac_status=$?
48599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48600 (exit $ac_status); }; }; then
48601 bakefile_cv_prog_icc=yes
48602 else
48603 echo "$as_me: failed program was:" >&5
48604 sed 's/^/| /' conftest.$ac_ext >&5
48605
48606 bakefile_cv_prog_icc=no
48607
48608 fi
48609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48610
48611 fi
48612 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48613 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48614 if test "$bakefile_cv_prog_icc" = "yes"; then
48615 PIC_FLAG="-KPIC"
48616 fi
48617 fi
48618 ;;
48619
48620 *-*-solaris2* )
48621 if test "x$GCC" != xyes ; then
48622 SHARED_LD_CC="${CC} -G -o"
48623 SHARED_LD_CXX="${CXX} -G -o"
48624 PIC_FLAG="-KPIC"
48625 fi
48626 ;;
48627
48628 *-*-darwin* )
48629
48630 D='$'
48631 cat <<EOF >shared-ld-sh
48632 #!/bin/sh
48633 #-----------------------------------------------------------------------------
48634 #-- Name: distrib/mac/shared-ld-sh
48635 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48636 #-- Author: Gilles Depeyrot
48637 #-- Copyright: (c) 2002 Gilles Depeyrot
48638 #-- Licence: any use permitted
48639 #-----------------------------------------------------------------------------
48640
48641 verbose=0
48642 args=""
48643 objects=""
48644 linking_flag="-dynamiclib"
48645 ldargs="-r -keep_private_externs -nostdlib"
48646
48647 while test ${D}# -gt 0; do
48648 case ${D}1 in
48649
48650 -v)
48651 verbose=1
48652 ;;
48653
48654 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48655 # collect these options and values
48656 args="${D}{args} ${D}1 ${D}2"
48657 shift
48658 ;;
48659
48660 -s|-Wl,*)
48661 # collect these load args
48662 ldargs="${D}{ldargs} ${D}1"
48663 ;;
48664
48665 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48666 # collect these options
48667 args="${D}{args} ${D}1"
48668 ;;
48669
48670 -dynamiclib|-bundle)
48671 linking_flag="${D}1"
48672 ;;
48673
48674 -*)
48675 echo "shared-ld: unhandled option '${D}1'"
48676 exit 1
48677 ;;
48678
48679 *.o | *.a | *.dylib)
48680 # collect object files
48681 objects="${D}{objects} ${D}1"
48682 ;;
48683
48684 *)
48685 echo "shared-ld: unhandled argument '${D}1'"
48686 exit 1
48687 ;;
48688
48689 esac
48690 shift
48691 done
48692
48693 status=0
48694
48695 #
48696 # Link one module containing all the others
48697 #
48698 if test ${D}{verbose} = 1; then
48699 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48700 fi
48701 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48702 status=${D}?
48703
48704 #
48705 # Link the shared library from the single module created, but only if the
48706 # previous command didn't fail:
48707 #
48708 if test ${D}{status} = 0; then
48709 if test ${D}{verbose} = 1; then
48710 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48711 fi
48712 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48713 status=${D}?
48714 fi
48715
48716 #
48717 # Remove intermediate module
48718 #
48719 rm -f master.${D}${D}.o
48720
48721 exit ${D}status
48722 EOF
48723
48724 chmod +x shared-ld-sh
48725
48726 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48727 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48728
48729
48730 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48731 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48732 if test "${bakefile_cv_gcc31+set}" = set; then
48733 echo $ECHO_N "(cached) $ECHO_C" >&6
48734 else
48735
48736 cat >conftest.$ac_ext <<_ACEOF
48737 /* confdefs.h. */
48738 _ACEOF
48739 cat confdefs.h >>conftest.$ac_ext
48740 cat >>conftest.$ac_ext <<_ACEOF
48741 /* end confdefs.h. */
48742
48743 int
48744 main ()
48745 {
48746
48747 #if (__GNUC__ < 3) || \
48748 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48749 This is old gcc
48750 #endif
48751
48752 ;
48753 return 0;
48754 }
48755 _ACEOF
48756 rm -f conftest.$ac_objext
48757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48758 (eval $ac_compile) 2>conftest.er1
48759 ac_status=$?
48760 grep -v '^ *+' conftest.er1 >conftest.err
48761 rm -f conftest.er1
48762 cat conftest.err >&5
48763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48764 (exit $ac_status); } &&
48765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48767 (eval $ac_try) 2>&5
48768 ac_status=$?
48769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770 (exit $ac_status); }; } &&
48771 { ac_try='test -s conftest.$ac_objext'
48772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773 (eval $ac_try) 2>&5
48774 ac_status=$?
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; }; then
48777
48778 bakefile_cv_gcc31=yes
48779
48780 else
48781 echo "$as_me: failed program was:" >&5
48782 sed 's/^/| /' conftest.$ac_ext >&5
48783
48784
48785 bakefile_cv_gcc31=no
48786
48787
48788 fi
48789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48790
48791 fi
48792 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48793 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48794 if test "$bakefile_cv_gcc31" = "no"; then
48795 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48796 SHARED_LD_CXX="$SHARED_LD_CC"
48797 else
48798 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48799 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48800 fi
48801
48802 if test "x$GCC" == "xyes"; then
48803 PIC_FLAG="-dynamic -fPIC"
48804 fi
48805 if test "x$XLCC" = "xyes"; then
48806 PIC_FLAG="-dynamic -DPIC"
48807 fi
48808 ;;
48809
48810 *-*-aix* )
48811 if test "x$GCC" = "xyes"; then
48812 PIC_FLAG=""
48813
48814 case "${BAKEFILE_HOST}" in
48815 *-*-aix5* )
48816 LD_EXPFULL="-Wl,-bexpfull"
48817 ;;
48818 esac
48819
48820 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48821 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48822 else
48823 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48824 set dummy makeC++SharedLib; ac_word=$2
48825 echo "$as_me:$LINENO: checking for $ac_word" >&5
48826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48827 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48828 echo $ECHO_N "(cached) $ECHO_C" >&6
48829 else
48830 if test -n "$AIX_CXX_LD"; then
48831 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48832 else
48833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48834 for as_dir in $PATH
48835 do
48836 IFS=$as_save_IFS
48837 test -z "$as_dir" && as_dir=.
48838 for ac_exec_ext in '' $ac_executable_extensions; do
48839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48840 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48842 break 2
48843 fi
48844 done
48845 done
48846
48847 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48848 fi
48849 fi
48850 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48851 if test -n "$AIX_CXX_LD"; then
48852 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48853 echo "${ECHO_T}$AIX_CXX_LD" >&6
48854 else
48855 echo "$as_me:$LINENO: result: no" >&5
48856 echo "${ECHO_T}no" >&6
48857 fi
48858
48859 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48860 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48861 fi
48862 ;;
48863
48864 *-*-beos* )
48865 SHARED_LD_CC="${LD} -nostart -o"
48866 SHARED_LD_CXX="${LD} -nostart -o"
48867 ;;
48868
48869 *-*-irix* )
48870 if test "x$GCC" != "xyes"; then
48871 PIC_FLAG="-KPIC"
48872 fi
48873 ;;
48874
48875 *-*-cygwin* | *-*-mingw32* )
48876 PIC_FLAG=""
48877 SHARED_LD_CC="\$(CC) -shared -o"
48878 SHARED_LD_CXX="\$(CXX) -shared -o"
48879 WINDOWS_IMPLIB=1
48880 ;;
48881
48882 *-pc-os2_emx | *-pc-os2-emx )
48883 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48884 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48885 PIC_FLAG=""
48886
48887 D='$'
48888 cat <<EOF >dllar.sh
48889 #!/bin/sh
48890 #
48891 # dllar - a tool to build both a .dll and an .a file
48892 # from a set of object (.o) files for EMX/OS2.
48893 #
48894 # Written by Andrew Zabolotny, bit@freya.etu.ru
48895 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48896 #
48897 # This script will accept a set of files on the command line.
48898 # All the public symbols from the .o files will be exported into
48899 # a .DEF file, then linker will be run (through gcc) against them to
48900 # build a shared library consisting of all given .o files. All libraries
48901 # (.a) will be first decompressed into component .o files then act as
48902 # described above. You can optionally give a description (-d "description")
48903 # which will be put into .DLL. To see the list of accepted options (as well
48904 # as command-line format) simply run this program without options. The .DLL
48905 # is built to be imported by name (there is no guarantee that new versions
48906 # of the library you build will have same ordinals for same symbols).
48907 #
48908 # dllar is free software; you can redistribute it and/or modify
48909 # it under the terms of the GNU General Public License as published by
48910 # the Free Software Foundation; either version 2, or (at your option)
48911 # any later version.
48912 #
48913 # dllar is distributed in the hope that it will be useful,
48914 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48915 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48916 # GNU General Public License for more details.
48917 #
48918 # You should have received a copy of the GNU General Public License
48919 # along with dllar; see the file COPYING. If not, write to the Free
48920 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48921 # 02111-1307, USA.
48922
48923 # To successfuly run this program you will need:
48924 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48925 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48926 # - gcc
48927 # (used to build the .dll)
48928 # - emxexp
48929 # (used to create .def file from .o files)
48930 # - emximp
48931 # (used to create .a file from .def file)
48932 # - GNU text utilites (cat, sort, uniq)
48933 # used to process emxexp output
48934 # - GNU file utilities (mv, rm)
48935 # - GNU sed
48936 # - lxlite (optional, see flag below)
48937 # (used for general .dll cleanup)
48938 #
48939
48940 flag_USE_LXLITE=1;
48941
48942 #
48943 # helper functions
48944 # basnam, variant of basename, which does _not_ remove the path, _iff_
48945 # second argument (suffix to remove) is given
48946 basnam(){
48947 case ${D}# in
48948 1)
48949 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48950 ;;
48951 2)
48952 echo ${D}1 | sed 's/'${D}2'${D}//'
48953 ;;
48954 *)
48955 echo "error in basnam ${D}*"
48956 exit 8
48957 ;;
48958 esac
48959 }
48960
48961 # Cleanup temporary files and output
48962 CleanUp() {
48963 cd ${D}curDir
48964 for i in ${D}inputFiles ; do
48965 case ${D}i in
48966 *!)
48967 rm -rf \`basnam ${D}i !\`
48968 ;;
48969 *)
48970 ;;
48971 esac
48972 done
48973
48974 # Kill result in case of failure as there is just to many stupid make/nmake
48975 # things out there which doesn't do this.
48976 if [ ${D}# -eq 0 ]; then
48977 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48978 fi
48979 }
48980
48981 # Print usage and exit script with rc=1.
48982 PrintHelp() {
48983 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48984 echo ' [-name-mangler-script script.sh]'
48985 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48986 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48987 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48988 echo ' [*.o] [*.a]'
48989 echo '*> "output_file" should have no extension.'
48990 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48991 echo ' The import library name is derived from this and is set to "name".a,'
48992 echo ' unless overridden by -import'
48993 echo '*> "importlib_name" should have no extension.'
48994 echo ' If it has the .o, or .a extension, it is automatically removed.'
48995 echo ' This name is used as the import library name and may be longer and'
48996 echo ' more descriptive than the DLL name which has to follow the old '
48997 echo ' 8.3 convention of FAT.'
48998 echo '*> "script.sh may be given to override the output_file name by a'
48999 echo ' different name. It is mainly useful if the regular make process'
49000 echo ' of some package does not take into account OS/2 restriction of'
49001 echo ' DLL name lengths. It takes the importlib name as input and is'
49002 echo ' supposed to procude a shorter name as output. The script should'
49003 echo ' expect to get importlib_name without extension and should produce'
49004 echo ' a (max.) 8 letter name without extension.'
49005 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49006 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49007 echo ' These flags will be put at the start of GCC command line.'
49008 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49009 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49010 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49011 echo ' If the last character of a symbol is "*", all symbols beginning'
49012 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49013 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49014 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49015 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49016 echo ' C runtime DLLs.'
49017 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49018 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49019 echo ' unchanged to GCC at the end of command line.'
49020 echo '*> If you create a DLL from a library and you do not specify -o,'
49021 echo ' the basename for DLL and import library will be set to library name,'
49022 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49023 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49024 echo ' library will be renamed into gcc_s.a.'
49025 echo '--------'
49026 echo 'Example:'
49027 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49028 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49029 CleanUp
49030 exit 1
49031 }
49032
49033 # Execute a command.
49034 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49035 # @Uses Whatever CleanUp() uses.
49036 doCommand() {
49037 echo "${D}*"
49038 eval ${D}*
49039 rcCmd=${D}?
49040
49041 if [ ${D}rcCmd -ne 0 ]; then
49042 echo "command failed, exit code="${D}rcCmd
49043 CleanUp
49044 exit ${D}rcCmd
49045 fi
49046 }
49047
49048 # main routine
49049 # setup globals
49050 cmdLine=${D}*
49051 outFile=""
49052 outimpFile=""
49053 inputFiles=""
49054 renameScript=""
49055 description=""
49056 CC=gcc.exe
49057 CFLAGS="-s -Zcrtdll"
49058 EXTRA_CFLAGS=""
49059 EXPORT_BY_ORDINALS=0
49060 exclude_symbols=""
49061 library_flags=""
49062 curDir=\`pwd\`
49063 curDirS=curDir
49064 case ${D}curDirS in
49065 */)
49066 ;;
49067 *)
49068 curDirS=${D}{curDirS}"/"
49069 ;;
49070 esac
49071 # Parse commandline
49072 libsToLink=0
49073 omfLinking=0
49074 while [ ${D}1 ]; do
49075 case ${D}1 in
49076 -ord*)
49077 EXPORT_BY_ORDINALS=1;
49078 ;;
49079 -o*)
49080 shift
49081 outFile=${D}1
49082 ;;
49083 -i*)
49084 shift
49085 outimpFile=${D}1
49086 ;;
49087 -name-mangler-script)
49088 shift
49089 renameScript=${D}1
49090 ;;
49091 -d*)
49092 shift
49093 description=${D}1
49094 ;;
49095 -f*)
49096 shift
49097 CFLAGS=${D}1
49098 ;;
49099 -c*)
49100 shift
49101 CC=${D}1
49102 ;;
49103 -h*)
49104 PrintHelp
49105 ;;
49106 -ex*)
49107 shift
49108 exclude_symbols=${D}{exclude_symbols}${D}1" "
49109 ;;
49110 -libf*)
49111 shift
49112 library_flags=${D}{library_flags}${D}1" "
49113 ;;
49114 -nocrt*)
49115 CFLAGS="-s"
49116 ;;
49117 -nolxl*)
49118 flag_USE_LXLITE=0
49119 ;;
49120 -* | /*)
49121 case ${D}1 in
49122 -L* | -l*)
49123 libsToLink=1
49124 ;;
49125 -Zomf)
49126 omfLinking=1
49127 ;;
49128 *)
49129 ;;
49130 esac
49131 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49132 ;;
49133 *.dll)
49134 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49135 if [ ${D}omfLinking -eq 1 ]; then
49136 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49137 else
49138 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49139 fi
49140 ;;
49141 *)
49142 found=0;
49143 if [ ${D}libsToLink -ne 0 ]; then
49144 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49145 else
49146 for file in ${D}1 ; do
49147 if [ -f ${D}file ]; then
49148 inputFiles="${D}{inputFiles} ${D}file"
49149 found=1
49150 fi
49151 done
49152 if [ ${D}found -eq 0 ]; then
49153 echo "ERROR: No file(s) found: "${D}1
49154 exit 8
49155 fi
49156 fi
49157 ;;
49158 esac
49159 shift
49160 done # iterate cmdline words
49161
49162 #
49163 if [ -z "${D}inputFiles" ]; then
49164 echo "dllar: no input files"
49165 PrintHelp
49166 fi
49167
49168 # Now extract all .o files from .a files
49169 newInputFiles=""
49170 for file in ${D}inputFiles ; do
49171 case ${D}file in
49172 *.a | *.lib)
49173 case ${D}file in
49174 *.a)
49175 suffix=".a"
49176 AR="ar"
49177 ;;
49178 *.lib)
49179 suffix=".lib"
49180 AR="emxomfar"
49181 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49182 ;;
49183 *)
49184 ;;
49185 esac
49186 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49187 mkdir ${D}dirname
49188 if [ ${D}? -ne 0 ]; then
49189 echo "Failed to create subdirectory ./${D}dirname"
49190 CleanUp
49191 exit 8;
49192 fi
49193 # Append '!' to indicate archive
49194 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49195 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49196 cd ${D}curDir
49197 found=0;
49198 for subfile in ${D}dirname/*.o* ; do
49199 if [ -f ${D}subfile ]; then
49200 found=1
49201 if [ -s ${D}subfile ]; then
49202 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49203 newInputFiles="${D}newInputFiles ${D}subfile"
49204 fi
49205 fi
49206 done
49207 if [ ${D}found -eq 0 ]; then
49208 echo "WARNING: there are no files in archive \\'${D}file\\'"
49209 fi
49210 ;;
49211 *)
49212 newInputFiles="${D}{newInputFiles} ${D}file"
49213 ;;
49214 esac
49215 done
49216 inputFiles="${D}newInputFiles"
49217
49218 # Output filename(s).
49219 do_backup=0;
49220 if [ -z ${D}outFile ]; then
49221 do_backup=1;
49222 set outFile ${D}inputFiles; outFile=${D}2
49223 fi
49224
49225 # If it is an archive, remove the '!' and the '_%' suffixes
49226 case ${D}outFile in
49227 *_%!)
49228 outFile=\`basnam ${D}outFile _%!\`
49229 ;;
49230 *)
49231 ;;
49232 esac
49233 case ${D}outFile in
49234 *.dll)
49235 outFile=\`basnam ${D}outFile .dll\`
49236 ;;
49237 *.DLL)
49238 outFile=\`basnam ${D}outFile .DLL\`
49239 ;;
49240 *.o)
49241 outFile=\`basnam ${D}outFile .o\`
49242 ;;
49243 *.obj)
49244 outFile=\`basnam ${D}outFile .obj\`
49245 ;;
49246 *.a)
49247 outFile=\`basnam ${D}outFile .a\`
49248 ;;
49249 *.lib)
49250 outFile=\`basnam ${D}outFile .lib\`
49251 ;;
49252 *)
49253 ;;
49254 esac
49255 case ${D}outimpFile in
49256 *.a)
49257 outimpFile=\`basnam ${D}outimpFile .a\`
49258 ;;
49259 *.lib)
49260 outimpFile=\`basnam ${D}outimpFile .lib\`
49261 ;;
49262 *)
49263 ;;
49264 esac
49265 if [ -z ${D}outimpFile ]; then
49266 outimpFile=${D}outFile
49267 fi
49268 defFile="${D}{outFile}.def"
49269 arcFile="${D}{outimpFile}.a"
49270 arcFile2="${D}{outimpFile}.lib"
49271
49272 #create ${D}dllFile as something matching 8.3 restrictions,
49273 if [ -z ${D}renameScript ] ; then
49274 dllFile="${D}outFile"
49275 else
49276 dllFile=\`${D}renameScript ${D}outimpFile\`
49277 fi
49278
49279 if [ ${D}do_backup -ne 0 ] ; then
49280 if [ -f ${D}arcFile ] ; then
49281 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49282 fi
49283 if [ -f ${D}arcFile2 ] ; then
49284 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49285 fi
49286 fi
49287
49288 # Extract public symbols from all the object files.
49289 tmpdefFile=${D}{defFile}_%
49290 rm -f ${D}tmpdefFile
49291 for file in ${D}inputFiles ; do
49292 case ${D}file in
49293 *!)
49294 ;;
49295 *)
49296 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49297 ;;
49298 esac
49299 done
49300
49301 # Create the def file.
49302 rm -f ${D}defFile
49303 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49304 dllFile="${D}{dllFile}.dll"
49305 if [ ! -z ${D}description ]; then
49306 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49307 fi
49308 echo "EXPORTS" >> ${D}defFile
49309
49310 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49311 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49312
49313 # Checks if the export is ok or not.
49314 for word in ${D}exclude_symbols; do
49315 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49316 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49317 done
49318
49319
49320 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49321 sed "=" < ${D}tmpdefFile | \\
49322 sed '
49323 N
49324 : loop
49325 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49326 t loop
49327 ' > ${D}{tmpdefFile}%
49328 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49329 else
49330 rm -f ${D}{tmpdefFile}%
49331 fi
49332 cat ${D}tmpdefFile >> ${D}defFile
49333 rm -f ${D}tmpdefFile
49334
49335 # Do linking, create implib, and apply lxlite.
49336 gccCmdl="";
49337 for file in ${D}inputFiles ; do
49338 case ${D}file in
49339 *!)
49340 ;;
49341 *)
49342 gccCmdl="${D}gccCmdl ${D}file"
49343 ;;
49344 esac
49345 done
49346 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49347 touch "${D}{outFile}.dll"
49348
49349 doCommand "emximp -o ${D}arcFile ${D}defFile"
49350 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49351 add_flags="";
49352 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49353 add_flags="-ynd"
49354 fi
49355 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49356 fi
49357 doCommand "emxomf -s -l ${D}arcFile"
49358
49359 # Successful exit.
49360 CleanUp 1
49361 exit 0
49362 EOF
49363
49364 chmod +x dllar.sh
49365 ;;
49366
49367 powerpc-apple-macos* | \
49368 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49369 *-*-mirbsd* | \
49370 *-*-sunos4* | \
49371 *-*-osf* | \
49372 *-*-dgux5* | \
49373 *-*-sysv5* | \
49374 *-pc-msdosdjgpp )
49375 ;;
49376
49377 *)
49378 esac
49379
49380 if test "x$PIC_FLAG" != "x" ; then
49381 PIC_FLAG="$PIC_FLAG -DPIC"
49382 fi
49383
49384 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49385 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49386 fi
49387 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49388 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49389 fi
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399 USE_SOVERSION=0
49400 USE_SOVERLINUX=0
49401 USE_SOVERSOLARIS=0
49402 USE_SOVERCYGWIN=0
49403 USE_SOSYMLINKS=0
49404 USE_MACVERSION=0
49405 SONAME_FLAG=
49406
49407 case "${BAKEFILE_HOST}" in
49408 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49409 SONAME_FLAG="-Wl,-soname,"
49410 USE_SOVERSION=1
49411 USE_SOVERLINUX=1
49412 USE_SOSYMLINKS=1
49413 ;;
49414
49415 *-*-solaris2* )
49416 SONAME_FLAG="-h "
49417 USE_SOVERSION=1
49418 USE_SOVERSOLARIS=1
49419 USE_SOSYMLINKS=1
49420 ;;
49421
49422 *-*-darwin* )
49423 USE_MACVERSION=1
49424 USE_SOVERSION=1
49425 USE_SOSYMLINKS=1
49426 ;;
49427
49428 *-*-cygwin* )
49429 USE_SOVERSION=1
49430 USE_SOVERCYGWIN=1
49431 ;;
49432 esac
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49444 if test "${enable_dependency_tracking+set}" = set; then
49445 enableval="$enable_dependency_tracking"
49446 bk_use_trackdeps="$enableval"
49447 fi;
49448
49449 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49450 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49451
49452 BK_DEPS=""
49453 if test "x$bk_use_trackdeps" = "xno" ; then
49454 DEPS_TRACKING=0
49455 echo "$as_me:$LINENO: result: disabled" >&5
49456 echo "${ECHO_T}disabled" >&6
49457 else
49458 DEPS_TRACKING=1
49459
49460 if test "x$GCC" = "xyes"; then
49461 DEPSMODE=gcc
49462 case "${BAKEFILE_HOST}" in
49463 *-*-darwin* )
49464 DEPSFLAG="-no-cpp-precomp -MMD"
49465 ;;
49466 * )
49467 DEPSFLAG="-MMD"
49468 ;;
49469 esac
49470 echo "$as_me:$LINENO: result: gcc" >&5
49471 echo "${ECHO_T}gcc" >&6
49472 elif test "x$MWCC" = "xyes"; then
49473 DEPSMODE=mwcc
49474 DEPSFLAG="-MM"
49475 echo "$as_me:$LINENO: result: mwcc" >&5
49476 echo "${ECHO_T}mwcc" >&6
49477 elif test "x$SUNCC" = "xyes"; then
49478 DEPSMODE=unixcc
49479 DEPSFLAG="-xM1"
49480 echo "$as_me:$LINENO: result: Sun cc" >&5
49481 echo "${ECHO_T}Sun cc" >&6
49482 elif test "x$SGICC" = "xyes"; then
49483 DEPSMODE=unixcc
49484 DEPSFLAG="-M"
49485 echo "$as_me:$LINENO: result: SGI cc" >&5
49486 echo "${ECHO_T}SGI cc" >&6
49487 elif test "x$HPCC" = "xyes"; then
49488 DEPSMODE=unixcc
49489 DEPSFLAG="+make"
49490 echo "$as_me:$LINENO: result: HP cc" >&5
49491 echo "${ECHO_T}HP cc" >&6
49492 elif test "x$COMPAQCC" = "xyes"; then
49493 DEPSMODE=gcc
49494 DEPSFLAG="-MD"
49495 echo "$as_me:$LINENO: result: Compaq cc" >&5
49496 echo "${ECHO_T}Compaq cc" >&6
49497 else
49498 DEPS_TRACKING=0
49499 echo "$as_me:$LINENO: result: none" >&5
49500 echo "${ECHO_T}none" >&6
49501 fi
49502
49503 if test $DEPS_TRACKING = 1 ; then
49504
49505 D='$'
49506 cat <<EOF >bk-deps
49507 #!/bin/sh
49508
49509 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49510 # script. It is used to track C/C++ files dependencies in portable way.
49511 #
49512 # Permission is given to use this file in any way.
49513
49514 DEPSMODE=${DEPSMODE}
49515 DEPSDIR=.deps
49516 DEPSFLAG="${DEPSFLAG}"
49517
49518 mkdir -p ${D}DEPSDIR
49519
49520 if test ${D}DEPSMODE = gcc ; then
49521 ${D}* ${D}{DEPSFLAG}
49522 status=${D}?
49523 if test ${D}{status} != 0 ; then
49524 exit ${D}{status}
49525 fi
49526 # move created file to the location we want it in:
49527 while test ${D}# -gt 0; do
49528 case "${D}1" in
49529 -o )
49530 shift
49531 objfile=${D}1
49532 ;;
49533 -* )
49534 ;;
49535 * )
49536 srcfile=${D}1
49537 ;;
49538 esac
49539 shift
49540 done
49541 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49542 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49543 if test -f ${D}depfile ; then
49544 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49545 rm -f ${D}depfile
49546 else
49547 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49548 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49549 if test ! -f ${D}depfile ; then
49550 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49551 depfile="${D}objfile.d"
49552 fi
49553 if test -f ${D}depfile ; then
49554 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49555 rm -f ${D}depfile
49556 fi
49557 fi
49558 exit 0
49559 elif test ${D}DEPSMODE = mwcc ; then
49560 ${D}* || exit ${D}?
49561 # Run mwcc again with -MM and redirect into the dep file we want
49562 # NOTE: We can't use shift here because we need ${D}* to be valid
49563 prevarg=
49564 for arg in ${D}* ; do
49565 if test "${D}prevarg" = "-o"; then
49566 objfile=${D}arg
49567 else
49568 case "${D}arg" in
49569 -* )
49570 ;;
49571 * )
49572 srcfile=${D}arg
49573 ;;
49574 esac
49575 fi
49576 prevarg="${D}arg"
49577 done
49578 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49579 exit 0
49580 elif test ${D}DEPSMODE = unixcc; then
49581 ${D}* || exit ${D}?
49582 # Run compiler again with deps flag and redirect into the dep file.
49583 # It doesn't work if the '-o FILE' option is used, but without it the
49584 # dependency file will contain the wrong name for the object. So it is
49585 # removed from the command line, and the dep file is fixed with sed.
49586 cmd=""
49587 while test ${D}# -gt 0; do
49588 case "${D}1" in
49589 -o )
49590 shift
49591 objfile=${D}1
49592 ;;
49593 * )
49594 eval arg${D}#=\\${D}1
49595 cmd="${D}cmd \\${D}arg${D}#"
49596 ;;
49597 esac
49598 shift
49599 done
49600 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49601 exit 0
49602 else
49603 ${D}*
49604 exit ${D}?
49605 fi
49606 EOF
49607
49608 chmod +x bk-deps
49609 BK_DEPS="`pwd`/bk-deps"
49610 fi
49611 fi
49612
49613
49614
49615
49616
49617 case ${BAKEFILE_HOST} in
49618 *-*-cygwin* | *-*-mingw32* )
49619 if test -n "$ac_tool_prefix"; then
49620 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49621 set dummy ${ac_tool_prefix}windres; ac_word=$2
49622 echo "$as_me:$LINENO: checking for $ac_word" >&5
49623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49624 if test "${ac_cv_prog_WINDRES+set}" = set; then
49625 echo $ECHO_N "(cached) $ECHO_C" >&6
49626 else
49627 if test -n "$WINDRES"; then
49628 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49629 else
49630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49631 for as_dir in $PATH
49632 do
49633 IFS=$as_save_IFS
49634 test -z "$as_dir" && as_dir=.
49635 for ac_exec_ext in '' $ac_executable_extensions; do
49636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49637 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49639 break 2
49640 fi
49641 done
49642 done
49643
49644 fi
49645 fi
49646 WINDRES=$ac_cv_prog_WINDRES
49647 if test -n "$WINDRES"; then
49648 echo "$as_me:$LINENO: result: $WINDRES" >&5
49649 echo "${ECHO_T}$WINDRES" >&6
49650 else
49651 echo "$as_me:$LINENO: result: no" >&5
49652 echo "${ECHO_T}no" >&6
49653 fi
49654
49655 fi
49656 if test -z "$ac_cv_prog_WINDRES"; then
49657 ac_ct_WINDRES=$WINDRES
49658 # Extract the first word of "windres", so it can be a program name with args.
49659 set dummy windres; ac_word=$2
49660 echo "$as_me:$LINENO: checking for $ac_word" >&5
49661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49662 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49663 echo $ECHO_N "(cached) $ECHO_C" >&6
49664 else
49665 if test -n "$ac_ct_WINDRES"; then
49666 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49667 else
49668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49669 for as_dir in $PATH
49670 do
49671 IFS=$as_save_IFS
49672 test -z "$as_dir" && as_dir=.
49673 for ac_exec_ext in '' $ac_executable_extensions; do
49674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49675 ac_cv_prog_ac_ct_WINDRES="windres"
49676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49677 break 2
49678 fi
49679 done
49680 done
49681
49682 fi
49683 fi
49684 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49685 if test -n "$ac_ct_WINDRES"; then
49686 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49687 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49688 else
49689 echo "$as_me:$LINENO: result: no" >&5
49690 echo "${ECHO_T}no" >&6
49691 fi
49692
49693 WINDRES=$ac_ct_WINDRES
49694 else
49695 WINDRES="$ac_cv_prog_WINDRES"
49696 fi
49697
49698 ;;
49699
49700 *-*-darwin* | powerpc-apple-macos* )
49701 # Extract the first word of "Rez", so it can be a program name with args.
49702 set dummy Rez; ac_word=$2
49703 echo "$as_me:$LINENO: checking for $ac_word" >&5
49704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49705 if test "${ac_cv_prog_REZ+set}" = set; then
49706 echo $ECHO_N "(cached) $ECHO_C" >&6
49707 else
49708 if test -n "$REZ"; then
49709 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49710 else
49711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49712 for as_dir in $PATH
49713 do
49714 IFS=$as_save_IFS
49715 test -z "$as_dir" && as_dir=.
49716 for ac_exec_ext in '' $ac_executable_extensions; do
49717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49718 ac_cv_prog_REZ="Rez"
49719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49720 break 2
49721 fi
49722 done
49723 done
49724
49725 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49726 fi
49727 fi
49728 REZ=$ac_cv_prog_REZ
49729 if test -n "$REZ"; then
49730 echo "$as_me:$LINENO: result: $REZ" >&5
49731 echo "${ECHO_T}$REZ" >&6
49732 else
49733 echo "$as_me:$LINENO: result: no" >&5
49734 echo "${ECHO_T}no" >&6
49735 fi
49736
49737 # Extract the first word of "SetFile", so it can be a program name with args.
49738 set dummy SetFile; ac_word=$2
49739 echo "$as_me:$LINENO: checking for $ac_word" >&5
49740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49741 if test "${ac_cv_prog_SETFILE+set}" = set; then
49742 echo $ECHO_N "(cached) $ECHO_C" >&6
49743 else
49744 if test -n "$SETFILE"; then
49745 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49746 else
49747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49748 for as_dir in $PATH
49749 do
49750 IFS=$as_save_IFS
49751 test -z "$as_dir" && as_dir=.
49752 for ac_exec_ext in '' $ac_executable_extensions; do
49753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49754 ac_cv_prog_SETFILE="SetFile"
49755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49756 break 2
49757 fi
49758 done
49759 done
49760
49761 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49762 fi
49763 fi
49764 SETFILE=$ac_cv_prog_SETFILE
49765 if test -n "$SETFILE"; then
49766 echo "$as_me:$LINENO: result: $SETFILE" >&5
49767 echo "${ECHO_T}$SETFILE" >&6
49768 else
49769 echo "$as_me:$LINENO: result: no" >&5
49770 echo "${ECHO_T}no" >&6
49771 fi
49772
49773 ;;
49774 esac
49775
49776
49777
49778
49779
49780
49781 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49782
49783
49784 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49785
49786
49787
49788 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49789 if test "${enable_precomp_headers+set}" = set; then
49790 enableval="$enable_precomp_headers"
49791 bk_use_pch="$enableval"
49792 fi;
49793
49794 GCC_PCH=0
49795 ICC_PCH=0
49796 USE_PCH=0
49797 BK_MAKE_PCH=""
49798
49799 case ${BAKEFILE_HOST} in
49800 *-*-cygwin* )
49801 bk_use_pch="no"
49802 ;;
49803 esac
49804
49805 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49806 if test "x$GCC" = "xyes"; then
49807 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49808 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49809 cat >conftest.$ac_ext <<_ACEOF
49810 /* confdefs.h. */
49811 _ACEOF
49812 cat confdefs.h >>conftest.$ac_ext
49813 cat >>conftest.$ac_ext <<_ACEOF
49814 /* end confdefs.h. */
49815
49816 int
49817 main ()
49818 {
49819
49820 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49821 There is no PCH support
49822 #endif
49823 #if (__GNUC__ < 3)
49824 There is no PCH support
49825 #endif
49826 #if (__GNUC__ == 3) && \
49827 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49828 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49829 ( defined(__INTEL_COMPILER) )
49830 There is no PCH support
49831 #endif
49832
49833 ;
49834 return 0;
49835 }
49836 _ACEOF
49837 rm -f conftest.$ac_objext
49838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49839 (eval $ac_compile) 2>conftest.er1
49840 ac_status=$?
49841 grep -v '^ *+' conftest.er1 >conftest.err
49842 rm -f conftest.er1
49843 cat conftest.err >&5
49844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49845 (exit $ac_status); } &&
49846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49848 (eval $ac_try) 2>&5
49849 ac_status=$?
49850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49851 (exit $ac_status); }; } &&
49852 { ac_try='test -s conftest.$ac_objext'
49853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49854 (eval $ac_try) 2>&5
49855 ac_status=$?
49856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49857 (exit $ac_status); }; }; then
49858
49859 echo "$as_me:$LINENO: result: yes" >&5
49860 echo "${ECHO_T}yes" >&6
49861 GCC_PCH=1
49862
49863 else
49864 echo "$as_me: failed program was:" >&5
49865 sed 's/^/| /' conftest.$ac_ext >&5
49866
49867
49868 cat >conftest.$ac_ext <<_ACEOF
49869 /* confdefs.h. */
49870 _ACEOF
49871 cat confdefs.h >>conftest.$ac_ext
49872 cat >>conftest.$ac_ext <<_ACEOF
49873 /* end confdefs.h. */
49874
49875 int
49876 main ()
49877 {
49878
49879 #if !defined(__INTEL_COMPILER) || \
49880 (__INTEL_COMPILER < 800)
49881 There is no PCH support
49882 #endif
49883
49884 ;
49885 return 0;
49886 }
49887 _ACEOF
49888 rm -f conftest.$ac_objext
49889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49890 (eval $ac_compile) 2>conftest.er1
49891 ac_status=$?
49892 grep -v '^ *+' conftest.er1 >conftest.err
49893 rm -f conftest.er1
49894 cat conftest.err >&5
49895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49896 (exit $ac_status); } &&
49897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49899 (eval $ac_try) 2>&5
49900 ac_status=$?
49901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902 (exit $ac_status); }; } &&
49903 { ac_try='test -s conftest.$ac_objext'
49904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49905 (eval $ac_try) 2>&5
49906 ac_status=$?
49907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49908 (exit $ac_status); }; }; then
49909
49910 echo "$as_me:$LINENO: result: yes" >&5
49911 echo "${ECHO_T}yes" >&6
49912 ICC_PCH=1
49913
49914 else
49915 echo "$as_me: failed program was:" >&5
49916 sed 's/^/| /' conftest.$ac_ext >&5
49917
49918
49919 echo "$as_me:$LINENO: result: no" >&5
49920 echo "${ECHO_T}no" >&6
49921
49922 fi
49923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49924
49925 fi
49926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49927 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49928 USE_PCH=1
49929
49930 D='$'
49931 cat <<EOF >bk-make-pch
49932 #!/bin/sh
49933
49934 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49935 # script. It is used to generated precompiled headers.
49936 #
49937 # Permission is given to use this file in any way.
49938
49939 outfile="${D}{1}"
49940 header="${D}{2}"
49941 shift
49942 shift
49943
49944 compiler=""
49945 headerfile=""
49946
49947 while test ${D}{#} -gt 0; do
49948 add_to_cmdline=1
49949 case "${D}{1}" in
49950 -I* )
49951 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49952 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49953 headerfile="${D}{incdir}/${D}{header}"
49954 fi
49955 ;;
49956 -use-pch|-use_pch )
49957 shift
49958 add_to_cmdline=0
49959 ;;
49960 esac
49961 if test ${D}add_to_cmdline = 1 ; then
49962 compiler="${D}{compiler} ${D}{1}"
49963 fi
49964 shift
49965 done
49966
49967 if test "x${D}{headerfile}" = "x" ; then
49968 echo "error: can't find header ${D}{header} in include paths" >&2
49969 else
49970 if test -f ${D}{outfile} ; then
49971 rm -f ${D}{outfile}
49972 else
49973 mkdir -p \`dirname ${D}{outfile}\`
49974 fi
49975 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49976 mkdir -p .deps
49977 if test "x${GCC_PCH}" = "x1" ; then
49978 # can do this because gcc is >= 3.4:
49979 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49980 elif test "x${ICC_PCH}" = "x1" ; then
49981 filename=pch_gen-${D}${D}
49982 file=${D}{filename}.c
49983 dfile=${D}{filename}.d
49984 cat > ${D}file <<EOT
49985 #include "${D}header"
49986 EOT
49987 # using -MF icc complains about differing command lines in creation/use
49988 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49989 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49990 rm -f ${D}file ${D}dfile ${D}{filename}.o
49991 fi
49992 exit ${D}{?}
49993 fi
49994 EOF
49995
49996 chmod +x bk-make-pch
49997 BK_MAKE_PCH="`pwd`/bk-make-pch"
49998 fi
49999 fi
50000 fi
50001
50002
50003
50004
50005
50006 COND_BUILD_DEBUG="#"
50007 if test "x$BUILD" = "xdebug" ; then
50008 COND_BUILD_DEBUG=""
50009 fi
50010
50011 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50012 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50013 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50014 fi
50015
50016 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50017 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50018 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50019 fi
50020
50021 COND_BUILD_DEBUG_UNICODE_0="#"
50022 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50023 COND_BUILD_DEBUG_UNICODE_0=""
50024 fi
50025
50026 COND_BUILD_DEBUG_UNICODE_1="#"
50027 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50028 COND_BUILD_DEBUG_UNICODE_1=""
50029 fi
50030
50031 COND_BUILD_RELEASE="#"
50032 if test "x$BUILD" = "xrelease" ; then
50033 COND_BUILD_RELEASE=""
50034 fi
50035
50036 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50037 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50038 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50039 fi
50040
50041 COND_BUILD_RELEASE_UNICODE_0="#"
50042 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50043 COND_BUILD_RELEASE_UNICODE_0=""
50044 fi
50045
50046 COND_BUILD_RELEASE_UNICODE_1="#"
50047 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50048 COND_BUILD_RELEASE_UNICODE_1=""
50049 fi
50050
50051 COND_DEBUG_FLAG_1="#"
50052 if test "x$DEBUG_FLAG" = "x1" ; then
50053 COND_DEBUG_FLAG_1=""
50054 fi
50055
50056 COND_DEBUG_INFO_0="#"
50057 if test "x$DEBUG_INFO" = "x0" ; then
50058 COND_DEBUG_INFO_0=""
50059 fi
50060
50061 COND_DEBUG_INFO_1="#"
50062 if test "x$DEBUG_INFO" = "x1" ; then
50063 COND_DEBUG_INFO_1=""
50064 fi
50065
50066 COND_DEPS_TRACKING_0="#"
50067 if test "x$DEPS_TRACKING" = "x0" ; then
50068 COND_DEPS_TRACKING_0=""
50069 fi
50070
50071 COND_DEPS_TRACKING_1="#"
50072 if test "x$DEPS_TRACKING" = "x1" ; then
50073 COND_DEPS_TRACKING_1=""
50074 fi
50075
50076 COND_GCC_PCH_1="#"
50077 if test "x$GCC_PCH" = "x1" ; then
50078 COND_GCC_PCH_1=""
50079 fi
50080
50081 COND_ICC_PCH_1="#"
50082 if test "x$ICC_PCH" = "x1" ; then
50083 COND_ICC_PCH_1=""
50084 fi
50085
50086 COND_MONOLITHIC_0="#"
50087 if test "x$MONOLITHIC" = "x0" ; then
50088 COND_MONOLITHIC_0=""
50089 fi
50090
50091 COND_MONOLITHIC_0_SHARED_0="#"
50092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50093 COND_MONOLITHIC_0_SHARED_0=""
50094 fi
50095
50096 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50098 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50099 fi
50100
50101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50104 fi
50105
50106 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50108 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50109 fi
50110
50111 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50113 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50114 fi
50115
50116 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50118 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50119 fi
50120
50121 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50123 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50124 fi
50125
50126 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50128 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50129 fi
50130
50131 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50133 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50134 fi
50135
50136 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50138 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50139 fi
50140
50141 COND_MONOLITHIC_0_SHARED_1="#"
50142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50143 COND_MONOLITHIC_0_SHARED_1=""
50144 fi
50145
50146 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50147 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50148 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50149 fi
50150
50151 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50152 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50153 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50154 fi
50155
50156 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50158 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50159 fi
50160
50161 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50164 fi
50165
50166 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50169 fi
50170
50171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50174 fi
50175
50176 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50178 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50179 fi
50180
50181 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50183 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50184 fi
50185
50186 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50188 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50189 fi
50190
50191 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50192 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50193 COND_MONOLITHIC_0_USE_MEDIA_1=""
50194 fi
50195
50196 COND_MONOLITHIC_0_USE_ODBC_1="#"
50197 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50198 COND_MONOLITHIC_0_USE_ODBC_1=""
50199 fi
50200
50201 COND_MONOLITHIC_1="#"
50202 if test "x$MONOLITHIC" = "x1" ; then
50203 COND_MONOLITHIC_1=""
50204 fi
50205
50206 COND_MONOLITHIC_1_SHARED_0="#"
50207 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50208 COND_MONOLITHIC_1_SHARED_0=""
50209 fi
50210
50211 COND_MONOLITHIC_1_SHARED_1="#"
50212 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50213 COND_MONOLITHIC_1_SHARED_1=""
50214 fi
50215
50216 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50217 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50218 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50219 fi
50220
50221 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50222 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50223 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50224 fi
50225
50226 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50227 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50228 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50229 fi
50230
50231 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50232 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50233 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50234 fi
50235
50236 COND_PLATFORM_MACOSX_1="#"
50237 if test "x$PLATFORM_MACOSX" = "x1" ; then
50238 COND_PLATFORM_MACOSX_1=""
50239 fi
50240
50241 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50242 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50243 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50244 fi
50245
50246 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50247 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50248 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50249 fi
50250
50251 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50252 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50253 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50254 fi
50255
50256 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50257 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50258 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50259 fi
50260
50261 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50262 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50263 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50264 fi
50265
50266 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50267 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50268 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50269 fi
50270
50271 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50272 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50273 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50274 fi
50275
50276 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50277 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50278 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50279 fi
50280
50281 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50282 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50283 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50284 fi
50285
50286 COND_PLATFORM_MACOS_1="#"
50287 if test "x$PLATFORM_MACOS" = "x1" ; then
50288 COND_PLATFORM_MACOS_1=""
50289 fi
50290
50291 COND_PLATFORM_MAC_1="#"
50292 if test "x$PLATFORM_MAC" = "x1" ; then
50293 COND_PLATFORM_MAC_1=""
50294 fi
50295
50296 COND_PLATFORM_MSDOS_0="#"
50297 if test "x$PLATFORM_MSDOS" = "x0" ; then
50298 COND_PLATFORM_MSDOS_0=""
50299 fi
50300
50301 COND_PLATFORM_MSDOS_1="#"
50302 if test "x$PLATFORM_MSDOS" = "x1" ; then
50303 COND_PLATFORM_MSDOS_1=""
50304 fi
50305
50306 COND_PLATFORM_OS2_1="#"
50307 if test "x$PLATFORM_OS2" = "x1" ; then
50308 COND_PLATFORM_OS2_1=""
50309 fi
50310
50311 COND_PLATFORM_UNIX_0="#"
50312 if test "x$PLATFORM_UNIX" = "x0" ; then
50313 COND_PLATFORM_UNIX_0=""
50314 fi
50315
50316 COND_PLATFORM_UNIX_1="#"
50317 if test "x$PLATFORM_UNIX" = "x1" ; then
50318 COND_PLATFORM_UNIX_1=""
50319 fi
50320
50321 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50322 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50323 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50324 fi
50325
50326 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50327 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50328 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50329 fi
50330
50331 COND_PLATFORM_WIN32_0="#"
50332 if test "x$PLATFORM_WIN32" = "x0" ; then
50333 COND_PLATFORM_WIN32_0=""
50334 fi
50335
50336 COND_PLATFORM_WIN32_1="#"
50337 if test "x$PLATFORM_WIN32" = "x1" ; then
50338 COND_PLATFORM_WIN32_1=""
50339 fi
50340
50341 COND_SHARED_0="#"
50342 if test "x$SHARED" = "x0" ; then
50343 COND_SHARED_0=""
50344 fi
50345
50346 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50347 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50348 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50349 fi
50350
50351 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50352 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50353 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50354 fi
50355
50356 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50357 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50358 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50359 fi
50360
50361 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50362 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50363 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50364 fi
50365
50366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50367 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50368 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50369 fi
50370
50371 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50372 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50373 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50374 fi
50375
50376 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50377 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50378 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50379 fi
50380
50381 COND_SHARED_0_USE_XRC_1="#"
50382 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50383 COND_SHARED_0_USE_XRC_1=""
50384 fi
50385
50386 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50387 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50388 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50389 fi
50390
50391 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50392 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50393 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50394 fi
50395
50396 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50397 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50398 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50399 fi
50400
50401 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50402 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50403 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50404 fi
50405
50406 COND_SHARED_1="#"
50407 if test "x$SHARED" = "x1" ; then
50408 COND_SHARED_1=""
50409 fi
50410
50411 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50412 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50413 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50414 fi
50415
50416 COND_SHARED_1_USE_XRC_1="#"
50417 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50418 COND_SHARED_1_USE_XRC_1=""
50419 fi
50420
50421 COND_TOOLKIT_="#"
50422 if test "x$TOOLKIT" = "x" ; then
50423 COND_TOOLKIT_=""
50424 fi
50425
50426 COND_TOOLKIT_COCOA="#"
50427 if test "x$TOOLKIT" = "xCOCOA" ; then
50428 COND_TOOLKIT_COCOA=""
50429 fi
50430
50431 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50432 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50433 COND_TOOLKIT_COCOA_USE_GUI_1=""
50434 fi
50435
50436 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50437 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50438 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50439 fi
50440
50441 COND_TOOLKIT_DFB="#"
50442 if test "x$TOOLKIT" = "xDFB" ; then
50443 COND_TOOLKIT_DFB=""
50444 fi
50445
50446 COND_TOOLKIT_DFB_USE_GUI_1="#"
50447 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50448 COND_TOOLKIT_DFB_USE_GUI_1=""
50449 fi
50450
50451 COND_TOOLKIT_GTK="#"
50452 if test "x$TOOLKIT" = "xGTK" ; then
50453 COND_TOOLKIT_GTK=""
50454 fi
50455
50456 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50457 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50458 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50459 fi
50460
50461 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50462 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50463 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50464 fi
50465
50466 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50467 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50468 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50469 fi
50470
50471 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50472 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50473 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50474 fi
50475
50476 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50477 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50478 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50479 fi
50480
50481 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50482 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50483 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50484 fi
50485
50486 COND_TOOLKIT_GTK_USE_GUI_1="#"
50487 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50488 COND_TOOLKIT_GTK_USE_GUI_1=""
50489 fi
50490
50491 COND_TOOLKIT_MAC="#"
50492 if test "x$TOOLKIT" = "xMAC" ; then
50493 COND_TOOLKIT_MAC=""
50494 fi
50495
50496 COND_TOOLKIT_MAC_USE_GUI_1="#"
50497 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50498 COND_TOOLKIT_MAC_USE_GUI_1=""
50499 fi
50500
50501 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50502 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50503 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50504 fi
50505
50506 COND_TOOLKIT_MGL="#"
50507 if test "x$TOOLKIT" = "xMGL" ; then
50508 COND_TOOLKIT_MGL=""
50509 fi
50510
50511 COND_TOOLKIT_MGL_USE_GUI_1="#"
50512 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50513 COND_TOOLKIT_MGL_USE_GUI_1=""
50514 fi
50515
50516 COND_TOOLKIT_MOTIF="#"
50517 if test "x$TOOLKIT" = "xMOTIF" ; then
50518 COND_TOOLKIT_MOTIF=""
50519 fi
50520
50521 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50522 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50523 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50524 fi
50525
50526 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50527 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50528 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50529 fi
50530
50531 COND_TOOLKIT_MSW="#"
50532 if test "x$TOOLKIT" = "xMSW" ; then
50533 COND_TOOLKIT_MSW=""
50534 fi
50535
50536 COND_TOOLKIT_MSW_USE_GUI_1="#"
50537 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50538 COND_TOOLKIT_MSW_USE_GUI_1=""
50539 fi
50540
50541 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50542 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50543 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50544 fi
50545
50546 COND_TOOLKIT_MSW_WXUNIV_0="#"
50547 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50548 COND_TOOLKIT_MSW_WXUNIV_0=""
50549 fi
50550
50551 COND_TOOLKIT_PM="#"
50552 if test "x$TOOLKIT" = "xPM" ; then
50553 COND_TOOLKIT_PM=""
50554 fi
50555
50556 COND_TOOLKIT_PM_USE_GUI_1="#"
50557 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50558 COND_TOOLKIT_PM_USE_GUI_1=""
50559 fi
50560
50561 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50562 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50563 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50564 fi
50565
50566 COND_TOOLKIT_WINCE="#"
50567 if test "x$TOOLKIT" = "xWINCE" ; then
50568 COND_TOOLKIT_WINCE=""
50569 fi
50570
50571 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50572 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50573 COND_TOOLKIT_WINCE_USE_GUI_1=""
50574 fi
50575
50576 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50577 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50578 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50579 fi
50580
50581 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50582 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50583 COND_TOOLKIT_WINCE_WXUNIV_0=""
50584 fi
50585
50586 COND_TOOLKIT_X11="#"
50587 if test "x$TOOLKIT" = "xX11" ; then
50588 COND_TOOLKIT_X11=""
50589 fi
50590
50591 COND_TOOLKIT_X11_USE_GUI_1="#"
50592 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50593 COND_TOOLKIT_X11_USE_GUI_1=""
50594 fi
50595
50596 COND_UNICODE_1="#"
50597 if test "x$UNICODE" = "x1" ; then
50598 COND_UNICODE_1=""
50599 fi
50600
50601 COND_USE_EXCEPTIONS_0="#"
50602 if test "x$USE_EXCEPTIONS" = "x0" ; then
50603 COND_USE_EXCEPTIONS_0=""
50604 fi
50605
50606 COND_USE_EXCEPTIONS_1="#"
50607 if test "x$USE_EXCEPTIONS" = "x1" ; then
50608 COND_USE_EXCEPTIONS_1=""
50609 fi
50610
50611 COND_USE_GUI_0="#"
50612 if test "x$USE_GUI" = "x0" ; then
50613 COND_USE_GUI_0=""
50614 fi
50615
50616 COND_USE_GUI_1="#"
50617 if test "x$USE_GUI" = "x1" ; then
50618 COND_USE_GUI_1=""
50619 fi
50620
50621 COND_USE_GUI_1_WXUNIV_0="#"
50622 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50623 COND_USE_GUI_1_WXUNIV_0=""
50624 fi
50625
50626 COND_USE_GUI_1_WXUNIV_1="#"
50627 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50628 COND_USE_GUI_1_WXUNIV_1=""
50629 fi
50630
50631 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50632 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50633 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50634 fi
50635
50636 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50637 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50638 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50639 fi
50640
50641 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50642 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50643 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50644 fi
50645
50646 COND_USE_ODBC_1="#"
50647 if test "x$USE_ODBC" = "x1" ; then
50648 COND_USE_ODBC_1=""
50649 fi
50650
50651 COND_USE_OPENGL_1="#"
50652 if test "x$USE_OPENGL" = "x1" ; then
50653 COND_USE_OPENGL_1=""
50654 fi
50655
50656 COND_USE_PCH_1="#"
50657 if test "x$USE_PCH" = "x1" ; then
50658 COND_USE_PCH_1=""
50659 fi
50660
50661 COND_USE_PLUGINS_0="#"
50662 if test "x$USE_PLUGINS" = "x0" ; then
50663 COND_USE_PLUGINS_0=""
50664 fi
50665
50666 COND_USE_RTTI_0="#"
50667 if test "x$USE_RTTI" = "x0" ; then
50668 COND_USE_RTTI_0=""
50669 fi
50670
50671 COND_USE_RTTI_1="#"
50672 if test "x$USE_RTTI" = "x1" ; then
50673 COND_USE_RTTI_1=""
50674 fi
50675
50676 COND_USE_SOSYMLINKS_1="#"
50677 if test "x$USE_SOSYMLINKS" = "x1" ; then
50678 COND_USE_SOSYMLINKS_1=""
50679 fi
50680
50681 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50682 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50683 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50684 fi
50685
50686 COND_USE_SOVERLINUX_1="#"
50687 if test "x$USE_SOVERLINUX" = "x1" ; then
50688 COND_USE_SOVERLINUX_1=""
50689 fi
50690
50691 COND_USE_SOVERSION_0="#"
50692 if test "x$USE_SOVERSION" = "x0" ; then
50693 COND_USE_SOVERSION_0=""
50694 fi
50695
50696 COND_USE_SOVERSOLARIS_1="#"
50697 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50698 COND_USE_SOVERSOLARIS_1=""
50699 fi
50700
50701 COND_USE_THREADS_0="#"
50702 if test "x$USE_THREADS" = "x0" ; then
50703 COND_USE_THREADS_0=""
50704 fi
50705
50706 COND_USE_THREADS_1="#"
50707 if test "x$USE_THREADS" = "x1" ; then
50708 COND_USE_THREADS_1=""
50709 fi
50710
50711 COND_USE_XRC_1="#"
50712 if test "x$USE_XRC" = "x1" ; then
50713 COND_USE_XRC_1=""
50714 fi
50715
50716 COND_WINDOWS_IMPLIB_1="#"
50717 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50718 COND_WINDOWS_IMPLIB_1=""
50719 fi
50720
50721 COND_WITH_PLUGIN_SDL_1="#"
50722 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50723 COND_WITH_PLUGIN_SDL_1=""
50724 fi
50725
50726 COND_WXUNIV_0="#"
50727 if test "x$WXUNIV" = "x0" ; then
50728 COND_WXUNIV_0=""
50729 fi
50730
50731 COND_WXUNIV_1="#"
50732 if test "x$WXUNIV" = "x1" ; then
50733 COND_WXUNIV_1=""
50734 fi
50735
50736 COND_WXUSE_EXPAT_BUILTIN="#"
50737 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50738 COND_WXUSE_EXPAT_BUILTIN=""
50739 fi
50740
50741 COND_WXUSE_LIBJPEG_BUILTIN="#"
50742 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50743 COND_WXUSE_LIBJPEG_BUILTIN=""
50744 fi
50745
50746 COND_WXUSE_LIBPNG_BUILTIN="#"
50747 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50748 COND_WXUSE_LIBPNG_BUILTIN=""
50749 fi
50750
50751 COND_WXUSE_LIBTIFF_BUILTIN="#"
50752 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50753 COND_WXUSE_LIBTIFF_BUILTIN=""
50754 fi
50755
50756 COND_WXUSE_ODBC_BUILTIN="#"
50757 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50758 COND_WXUSE_ODBC_BUILTIN=""
50759 fi
50760
50761 COND_WXUSE_REGEX_BUILTIN="#"
50762 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50763 COND_WXUSE_REGEX_BUILTIN=""
50764 fi
50765
50766 COND_WXUSE_ZLIB_BUILTIN="#"
50767 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50768 COND_WXUSE_ZLIB_BUILTIN=""
50769 fi
50770
50771
50772
50773 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50774 { { 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
50775 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;}
50776 { (exit 1); exit 1; }; }
50777 fi
50778
50779 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50780 { { 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
50781 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;}
50782 { (exit 1); exit 1; }; }
50783 fi
50784
50785
50786 if test $GCC_PCH = 1
50787 then
50788 if test "$wx_cv_gcc_pch_bug" = yes; then
50789 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50790 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50791 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50792 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50793 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50794 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50795 fi
50796
50797 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50798 fi
50799
50800
50801 if test "$wxUSE_MAC" = 1 ; then
50802 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50803 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50804 mv temp bk-deps
50805 chmod +x bk-deps
50806 fi
50807 fi
50808
50809 if test "$wxUSE_SHARED" = "yes"; then
50810
50811 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50812 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50813
50814 case "${host}" in
50815 *-pc-os2_emx | *-pc-os2-emx )
50816 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50817 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50818 cp -p ${srcdir}/src/os2/dllnames.sh .
50819 cp -p ${srcdir}/src/os2/dllar.sh .
50820 ;;
50821 esac
50822 else
50823
50824 EXE_LINKER="$CXX -o"
50825
50826 fi
50827 if test "$wxUSE_OMF" = "yes"; then
50828 case "${host}" in
50829 *-pc-os2_emx | *-pc-os2-emx )
50830 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50831 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50832 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50833 ;;
50834 esac
50835 fi
50836
50837 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50838
50839 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50902 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50903 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50904 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50905 echo $ECHO_N "(cached) $ECHO_C" >&6
50906 else
50907 cat >conftest.make <<\_ACEOF
50908 all:
50909 @echo 'ac_maketemp="$(MAKE)"'
50910 _ACEOF
50911 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50912 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50913 if test -n "$ac_maketemp"; then
50914 eval ac_cv_prog_make_${ac_make}_set=yes
50915 else
50916 eval ac_cv_prog_make_${ac_make}_set=no
50917 fi
50918 rm -f conftest.make
50919 fi
50920 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50921 echo "$as_me:$LINENO: result: yes" >&5
50922 echo "${ECHO_T}yes" >&6
50923 SET_MAKE=
50924 else
50925 echo "$as_me:$LINENO: result: no" >&5
50926 echo "${ECHO_T}no" >&6
50927 SET_MAKE="MAKE=${MAKE-make}"
50928 fi
50929
50930
50931
50932 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50933
50934
50935 if test "$USE_WIN32" = 1; then
50936 ac_config_commands="$ac_config_commands
50937 rcdefs.h
50938 "
50939
50940 fi
50941
50942 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50943
50944
50945 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50946
50947
50948 ac_config_files="$ac_config_files version-script Makefile"
50949
50950
50951 ac_config_commands="$ac_config_commands wx-config"
50952
50953
50954
50955 if test "$wxWITH_SUBDIRS" != "no"; then
50956 if test "$wxUSE_GUI" = "yes"; then
50957 SUBDIRS="samples demos utils contrib"
50958 else SUBDIRS="samples utils"
50959 fi
50960
50961
50962
50963 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50964 if test "${with_cppunit_prefix+set}" = set; then
50965 withval="$with_cppunit_prefix"
50966 cppunit_config_prefix="$withval"
50967 else
50968 cppunit_config_prefix=""
50969 fi;
50970
50971 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50972 if test "${with_cppunit_exec_prefix+set}" = set; then
50973 withval="$with_cppunit_exec_prefix"
50974 cppunit_config_exec_prefix="$withval"
50975 else
50976 cppunit_config_exec_prefix=""
50977 fi;
50978
50979 if test x$cppunit_config_exec_prefix != x ; then
50980 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50981 if test x${CPPUNIT_CONFIG+set} != xset ; then
50982 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50983 fi
50984 fi
50985 if test x$cppunit_config_prefix != x ; then
50986 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50987 if test x${CPPUNIT_CONFIG+set} != xset ; then
50988 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50989 fi
50990 fi
50991
50992 # Extract the first word of "cppunit-config", so it can be a program name with args.
50993 set dummy cppunit-config; ac_word=$2
50994 echo "$as_me:$LINENO: checking for $ac_word" >&5
50995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50996 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50997 echo $ECHO_N "(cached) $ECHO_C" >&6
50998 else
50999 case $CPPUNIT_CONFIG in
51000 [\\/]* | ?:[\\/]*)
51001 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51002 ;;
51003 *)
51004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51005 for as_dir in $PATH
51006 do
51007 IFS=$as_save_IFS
51008 test -z "$as_dir" && as_dir=.
51009 for ac_exec_ext in '' $ac_executable_extensions; do
51010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51011 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51013 break 2
51014 fi
51015 done
51016 done
51017
51018 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51019 ;;
51020 esac
51021 fi
51022 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51023
51024 if test -n "$CPPUNIT_CONFIG"; then
51025 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51026 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51027 else
51028 echo "$as_me:$LINENO: result: no" >&5
51029 echo "${ECHO_T}no" >&6
51030 fi
51031
51032 cppunit_version_min=1.8.0
51033
51034 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51035 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51036 no_cppunit=""
51037 if test "$CPPUNIT_CONFIG" = "no" ; then
51038 echo "$as_me:$LINENO: result: no" >&5
51039 echo "${ECHO_T}no" >&6
51040 no_cppunit=yes
51041 else
51042 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51043 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51044 cppunit_version=`$CPPUNIT_CONFIG --version`
51045
51046 cppunit_major_version=`echo $cppunit_version | \
51047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51048 cppunit_minor_version=`echo $cppunit_version | \
51049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51050 cppunit_micro_version=`echo $cppunit_version | \
51051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51052
51053 cppunit_major_min=`echo $cppunit_version_min | \
51054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51055 cppunit_minor_min=`echo $cppunit_version_min | \
51056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51057 cppunit_micro_min=`echo $cppunit_version_min | \
51058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51059
51060 cppunit_version_proper=`expr \
51061 $cppunit_major_version \> $cppunit_major_min \| \
51062 $cppunit_major_version \= $cppunit_major_min \& \
51063 $cppunit_minor_version \> $cppunit_minor_min \| \
51064 $cppunit_major_version \= $cppunit_major_min \& \
51065 $cppunit_minor_version \= $cppunit_minor_min \& \
51066 $cppunit_micro_version \>= $cppunit_micro_min `
51067
51068 if test "$cppunit_version_proper" = "1" ; then
51069 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51070 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51071 else
51072 echo "$as_me:$LINENO: result: no" >&5
51073 echo "${ECHO_T}no" >&6
51074 no_cppunit=yes
51075 fi
51076 fi
51077
51078 if test "x$no_cppunit" = x ; then
51079 SUBDIRS="$SUBDIRS tests"
51080 else
51081 CPPUNIT_CFLAGS=""
51082 CPPUNIT_LIBS=""
51083 :
51084 fi
51085
51086
51087
51088
51089
51090 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51091 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51092 fi
51093
51094 for subdir in `echo $SUBDIRS`; do
51095 if test -d ${srcdir}/${subdir} ; then
51096 if test "$wxUSE_GUI" = "yes"; then
51097 if test ${subdir} = "samples"; then
51098 makefiles="samples/Makefile.in $makefiles"
51099 for sample in `echo $SAMPLES_SUBDIRS`; do
51100 if test -d $srcdir/samples/$sample; then
51101 makefiles="samples/$sample/Makefile.in $makefiles"
51102 fi
51103 done
51104 else
51105 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51106 eval "disabled=\$$disabled_var"
51107 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51108 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51109 fi
51110 else if test ${subdir} = "samples"; then
51111 makefiles="samples/Makefile.in samples/console/Makefile.in"
51112 elif test ${subdir} = "utils"; then
51113 makefiles=""
51114 for util in HelpGen tex2rtf ; do
51115 if test -d $srcdir/utils/$util ; then
51116 makefiles="utils/$util/Makefile.in \
51117 utils/$util/src/Makefile.in \
51118 $makefiles"
51119 fi
51120 done
51121 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51122 fi
51123 fi
51124
51125 for mkin in $makefiles ; do
51126 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51127 ac_config_files="$ac_config_files $mk"
51128
51129 done
51130 fi
51131 done
51132 fi
51133 cat >confcache <<\_ACEOF
51134 # This file is a shell script that caches the results of configure
51135 # tests run on this system so they can be shared between configure
51136 # scripts and configure runs, see configure's option --config-cache.
51137 # It is not useful on other systems. If it contains results you don't
51138 # want to keep, you may remove or edit it.
51139 #
51140 # config.status only pays attention to the cache file if you give it
51141 # the --recheck option to rerun configure.
51142 #
51143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51145 # following values.
51146
51147 _ACEOF
51148
51149 # The following way of writing the cache mishandles newlines in values,
51150 # but we know of no workaround that is simple, portable, and efficient.
51151 # So, don't put newlines in cache variables' values.
51152 # Ultrix sh set writes to stderr and can't be redirected directly,
51153 # and sets the high bit in the cache file unless we assign to the vars.
51154 {
51155 (set) 2>&1 |
51156 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51157 *ac_space=\ *)
51158 # `set' does not quote correctly, so add quotes (double-quote
51159 # substitution turns \\\\ into \\, and sed turns \\ into \).
51160 sed -n \
51161 "s/'/'\\\\''/g;
51162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51163 ;;
51164 *)
51165 # `set' quotes correctly as required by POSIX, so do not add quotes.
51166 sed -n \
51167 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51168 ;;
51169 esac;
51170 } |
51171 sed '
51172 t clear
51173 : clear
51174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51175 t end
51176 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51177 : end' >>confcache
51178 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51179 if test -w $cache_file; then
51180 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51181 cat confcache >$cache_file
51182 else
51183 echo "not updating unwritable cache $cache_file"
51184 fi
51185 fi
51186 rm -f confcache
51187
51188 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51189 # Let make expand exec_prefix.
51190 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51191
51192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51194 # trailing colons and then remove the whole line if VPATH becomes empty
51195 # (actually we leave an empty line to preserve line numbers).
51196 if test "x$srcdir" = x.; then
51197 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51198 s/:*\$(srcdir):*/:/;
51199 s/:*\${srcdir}:*/:/;
51200 s/:*@srcdir@:*/:/;
51201 s/^\([^=]*=[ ]*\):*/\1/;
51202 s/:*$//;
51203 s/^[^=]*=[ ]*$//;
51204 }'
51205 fi
51206
51207 DEFS=-DHAVE_CONFIG_H
51208
51209 ac_libobjs=
51210 ac_ltlibobjs=
51211 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51212 # 1. Remove the extension, and $U if already installed.
51213 ac_i=`echo "$ac_i" |
51214 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51215 # 2. Add them.
51216 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51217 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51218 done
51219 LIBOBJS=$ac_libobjs
51220
51221 LTLIBOBJS=$ac_ltlibobjs
51222
51223
51224
51225 : ${CONFIG_STATUS=./config.status}
51226 ac_clean_files_save=$ac_clean_files
51227 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51228 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51229 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51230 cat >$CONFIG_STATUS <<_ACEOF
51231 #! $SHELL
51232 # Generated by $as_me.
51233 # Run this file to recreate the current configuration.
51234 # Compiler output produced by configure, useful for debugging
51235 # configure, is in config.log if it exists.
51236
51237 debug=false
51238 ac_cs_recheck=false
51239 ac_cs_silent=false
51240 SHELL=\${CONFIG_SHELL-$SHELL}
51241 _ACEOF
51242
51243 cat >>$CONFIG_STATUS <<\_ACEOF
51244 ## --------------------- ##
51245 ## M4sh Initialization. ##
51246 ## --------------------- ##
51247
51248 # Be Bourne compatible
51249 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51250 emulate sh
51251 NULLCMD=:
51252 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51253 # is contrary to our usage. Disable this feature.
51254 alias -g '${1+"$@"}'='"$@"'
51255 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51256 set -o posix
51257 fi
51258 DUALCASE=1; export DUALCASE # for MKS sh
51259
51260 # Support unset when possible.
51261 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51262 as_unset=unset
51263 else
51264 as_unset=false
51265 fi
51266
51267
51268 # Work around bugs in pre-3.0 UWIN ksh.
51269 $as_unset ENV MAIL MAILPATH
51270 PS1='$ '
51271 PS2='> '
51272 PS4='+ '
51273
51274 # NLS nuisances.
51275 for as_var in \
51276 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51277 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51278 LC_TELEPHONE LC_TIME
51279 do
51280 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51281 eval $as_var=C; export $as_var
51282 else
51283 $as_unset $as_var
51284 fi
51285 done
51286
51287 # Required to use basename.
51288 if expr a : '\(a\)' >/dev/null 2>&1; then
51289 as_expr=expr
51290 else
51291 as_expr=false
51292 fi
51293
51294 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51295 as_basename=basename
51296 else
51297 as_basename=false
51298 fi
51299
51300
51301 # Name of the executable.
51302 as_me=`$as_basename "$0" ||
51303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51304 X"$0" : 'X\(//\)$' \| \
51305 X"$0" : 'X\(/\)$' \| \
51306 . : '\(.\)' 2>/dev/null ||
51307 echo X/"$0" |
51308 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51309 /^X\/\(\/\/\)$/{ s//\1/; q; }
51310 /^X\/\(\/\).*/{ s//\1/; q; }
51311 s/.*/./; q'`
51312
51313
51314 # PATH needs CR, and LINENO needs CR and PATH.
51315 # Avoid depending upon Character Ranges.
51316 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51317 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51318 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51319 as_cr_digits='0123456789'
51320 as_cr_alnum=$as_cr_Letters$as_cr_digits
51321
51322 # The user is always right.
51323 if test "${PATH_SEPARATOR+set}" != set; then
51324 echo "#! /bin/sh" >conf$$.sh
51325 echo "exit 0" >>conf$$.sh
51326 chmod +x conf$$.sh
51327 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51328 PATH_SEPARATOR=';'
51329 else
51330 PATH_SEPARATOR=:
51331 fi
51332 rm -f conf$$.sh
51333 fi
51334
51335
51336 as_lineno_1=$LINENO
51337 as_lineno_2=$LINENO
51338 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51339 test "x$as_lineno_1" != "x$as_lineno_2" &&
51340 test "x$as_lineno_3" = "x$as_lineno_2" || {
51341 # Find who we are. Look in the path if we contain no path at all
51342 # relative or not.
51343 case $0 in
51344 *[\\/]* ) as_myself=$0 ;;
51345 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51346 for as_dir in $PATH
51347 do
51348 IFS=$as_save_IFS
51349 test -z "$as_dir" && as_dir=.
51350 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51351 done
51352
51353 ;;
51354 esac
51355 # We did not find ourselves, most probably we were run as `sh COMMAND'
51356 # in which case we are not to be found in the path.
51357 if test "x$as_myself" = x; then
51358 as_myself=$0
51359 fi
51360 if test ! -f "$as_myself"; then
51361 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51362 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51363 { (exit 1); exit 1; }; }
51364 fi
51365 case $CONFIG_SHELL in
51366 '')
51367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51368 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51369 do
51370 IFS=$as_save_IFS
51371 test -z "$as_dir" && as_dir=.
51372 for as_base in sh bash ksh sh5; do
51373 case $as_dir in
51374 /*)
51375 if ("$as_dir/$as_base" -c '
51376 as_lineno_1=$LINENO
51377 as_lineno_2=$LINENO
51378 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51379 test "x$as_lineno_1" != "x$as_lineno_2" &&
51380 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51381 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51382 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51383 CONFIG_SHELL=$as_dir/$as_base
51384 export CONFIG_SHELL
51385 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51386 fi;;
51387 esac
51388 done
51389 done
51390 ;;
51391 esac
51392
51393 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51394 # uniformly replaced by the line number. The first 'sed' inserts a
51395 # line-number line before each line; the second 'sed' does the real
51396 # work. The second script uses 'N' to pair each line-number line
51397 # with the numbered line, and appends trailing '-' during
51398 # substitution so that $LINENO is not a special case at line end.
51399 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51400 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51401 sed '=' <$as_myself |
51402 sed '
51403 N
51404 s,$,-,
51405 : loop
51406 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51407 t loop
51408 s,-$,,
51409 s,^['$as_cr_digits']*\n,,
51410 ' >$as_me.lineno &&
51411 chmod +x $as_me.lineno ||
51412 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51413 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51414 { (exit 1); exit 1; }; }
51415
51416 # Don't try to exec as it changes $[0], causing all sort of problems
51417 # (the dirname of $[0] is not the place where we might find the
51418 # original and so on. Autoconf is especially sensible to this).
51419 . ./$as_me.lineno
51420 # Exit status is that of the last command.
51421 exit
51422 }
51423
51424
51425 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51426 *c*,-n*) ECHO_N= ECHO_C='
51427 ' ECHO_T=' ' ;;
51428 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51429 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51430 esac
51431
51432 if expr a : '\(a\)' >/dev/null 2>&1; then
51433 as_expr=expr
51434 else
51435 as_expr=false
51436 fi
51437
51438 rm -f conf$$ conf$$.exe conf$$.file
51439 echo >conf$$.file
51440 if ln -s conf$$.file conf$$ 2>/dev/null; then
51441 # We could just check for DJGPP; but this test a) works b) is more generic
51442 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51443 if test -f conf$$.exe; then
51444 # Don't use ln at all; we don't have any links
51445 as_ln_s='cp -p'
51446 else
51447 as_ln_s='ln -s'
51448 fi
51449 elif ln conf$$.file conf$$ 2>/dev/null; then
51450 as_ln_s=ln
51451 else
51452 as_ln_s='cp -p'
51453 fi
51454 rm -f conf$$ conf$$.exe conf$$.file
51455
51456 if mkdir -p . 2>/dev/null; then
51457 as_mkdir_p=:
51458 else
51459 test -d ./-p && rmdir ./-p
51460 as_mkdir_p=false
51461 fi
51462
51463 as_executable_p="test -f"
51464
51465 # Sed expression to map a string onto a valid CPP name.
51466 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51467
51468 # Sed expression to map a string onto a valid variable name.
51469 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51470
51471
51472 # IFS
51473 # We need space, tab and new line, in precisely that order.
51474 as_nl='
51475 '
51476 IFS=" $as_nl"
51477
51478 # CDPATH.
51479 $as_unset CDPATH
51480
51481 exec 6>&1
51482
51483 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51484 # report actual input values of CONFIG_FILES etc. instead of their
51485 # values after options handling. Logging --version etc. is OK.
51486 exec 5>>config.log
51487 {
51488 echo
51489 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51490 ## Running $as_me. ##
51491 _ASBOX
51492 } >&5
51493 cat >&5 <<_CSEOF
51494
51495 This file was extended by wxWidgets $as_me 2.7.1, which was
51496 generated by GNU Autoconf 2.59. Invocation command line was
51497
51498 CONFIG_FILES = $CONFIG_FILES
51499 CONFIG_HEADERS = $CONFIG_HEADERS
51500 CONFIG_LINKS = $CONFIG_LINKS
51501 CONFIG_COMMANDS = $CONFIG_COMMANDS
51502 $ $0 $@
51503
51504 _CSEOF
51505 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51506 echo >&5
51507 _ACEOF
51508
51509 # Files that config.status was made for.
51510 if test -n "$ac_config_files"; then
51511 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51512 fi
51513
51514 if test -n "$ac_config_headers"; then
51515 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51516 fi
51517
51518 if test -n "$ac_config_links"; then
51519 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51520 fi
51521
51522 if test -n "$ac_config_commands"; then
51523 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51524 fi
51525
51526 cat >>$CONFIG_STATUS <<\_ACEOF
51527
51528 ac_cs_usage="\
51529 \`$as_me' instantiates files from templates according to the
51530 current configuration.
51531
51532 Usage: $0 [OPTIONS] [FILE]...
51533
51534 -h, --help print this help, then exit
51535 -V, --version print version number, then exit
51536 -q, --quiet do not print progress messages
51537 -d, --debug don't remove temporary files
51538 --recheck update $as_me by reconfiguring in the same conditions
51539 --file=FILE[:TEMPLATE]
51540 instantiate the configuration file FILE
51541 --header=FILE[:TEMPLATE]
51542 instantiate the configuration header FILE
51543
51544 Configuration files:
51545 $config_files
51546
51547 Configuration headers:
51548 $config_headers
51549
51550 Configuration commands:
51551 $config_commands
51552
51553 Report bugs to <bug-autoconf@gnu.org>."
51554 _ACEOF
51555
51556 cat >>$CONFIG_STATUS <<_ACEOF
51557 ac_cs_version="\\
51558 wxWidgets config.status 2.7.1
51559 configured by $0, generated by GNU Autoconf 2.59,
51560 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51561
51562 Copyright (C) 2003 Free Software Foundation, Inc.
51563 This config.status script is free software; the Free Software Foundation
51564 gives unlimited permission to copy, distribute and modify it."
51565 srcdir=$srcdir
51566 INSTALL="$INSTALL"
51567 _ACEOF
51568
51569 cat >>$CONFIG_STATUS <<\_ACEOF
51570 # If no file are specified by the user, then we need to provide default
51571 # value. By we need to know if files were specified by the user.
51572 ac_need_defaults=:
51573 while test $# != 0
51574 do
51575 case $1 in
51576 --*=*)
51577 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51578 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51579 ac_shift=:
51580 ;;
51581 -*)
51582 ac_option=$1
51583 ac_optarg=$2
51584 ac_shift=shift
51585 ;;
51586 *) # This is not an option, so the user has probably given explicit
51587 # arguments.
51588 ac_option=$1
51589 ac_need_defaults=false;;
51590 esac
51591
51592 case $ac_option in
51593 # Handling of the options.
51594 _ACEOF
51595 cat >>$CONFIG_STATUS <<\_ACEOF
51596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51597 ac_cs_recheck=: ;;
51598 --version | --vers* | -V )
51599 echo "$ac_cs_version"; exit 0 ;;
51600 --he | --h)
51601 # Conflict between --help and --header
51602 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51603 Try \`$0 --help' for more information." >&5
51604 echo "$as_me: error: ambiguous option: $1
51605 Try \`$0 --help' for more information." >&2;}
51606 { (exit 1); exit 1; }; };;
51607 --help | --hel | -h )
51608 echo "$ac_cs_usage"; exit 0 ;;
51609 --debug | --d* | -d )
51610 debug=: ;;
51611 --file | --fil | --fi | --f )
51612 $ac_shift
51613 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51614 ac_need_defaults=false;;
51615 --header | --heade | --head | --hea )
51616 $ac_shift
51617 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51618 ac_need_defaults=false;;
51619 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51620 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51621 ac_cs_silent=: ;;
51622
51623 # This is an error.
51624 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51625 Try \`$0 --help' for more information." >&5
51626 echo "$as_me: error: unrecognized option: $1
51627 Try \`$0 --help' for more information." >&2;}
51628 { (exit 1); exit 1; }; } ;;
51629
51630 *) ac_config_targets="$ac_config_targets $1" ;;
51631
51632 esac
51633 shift
51634 done
51635
51636 ac_configure_extra_args=
51637
51638 if $ac_cs_silent; then
51639 exec 6>/dev/null
51640 ac_configure_extra_args="$ac_configure_extra_args --silent"
51641 fi
51642
51643 _ACEOF
51644 cat >>$CONFIG_STATUS <<_ACEOF
51645 if \$ac_cs_recheck; then
51646 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51647 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51648 fi
51649
51650 _ACEOF
51651
51652 cat >>$CONFIG_STATUS <<_ACEOF
51653 #
51654 # INIT-COMMANDS section.
51655 #
51656
51657
51658 CPP="$CPP"
51659 infile="$srcdir/include/wx/msw/genrcdefs.h"
51660 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51661
51662
51663 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51664 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51665 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51666 LN_S="${LN_S}"
51667
51668
51669 _ACEOF
51670
51671
51672
51673 cat >>$CONFIG_STATUS <<\_ACEOF
51674 for ac_config_target in $ac_config_targets
51675 do
51676 case "$ac_config_target" in
51677 # Handling of arguments.
51678 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51679 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51680 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51681 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51682 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51683 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51684 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51685 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51686 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51687 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51688 { (exit 1); exit 1; }; };;
51689 esac
51690 done
51691
51692 # If the user did not use the arguments to specify the items to instantiate,
51693 # then the envvar interface is used. Set only those that are not.
51694 # We use the long form for the default assignment because of an extremely
51695 # bizarre bug on SunOS 4.1.3.
51696 if $ac_need_defaults; then
51697 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51698 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51699 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51700 fi
51701
51702 # Have a temporary directory for convenience. Make it in the build tree
51703 # simply because there is no reason to put it here, and in addition,
51704 # creating and moving files from /tmp can sometimes cause problems.
51705 # Create a temporary directory, and hook for its removal unless debugging.
51706 $debug ||
51707 {
51708 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51709 trap '{ (exit 1); exit 1; }' 1 2 13 15
51710 }
51711
51712 # Create a (secure) tmp directory for tmp files.
51713
51714 {
51715 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51716 test -n "$tmp" && test -d "$tmp"
51717 } ||
51718 {
51719 tmp=./confstat$$-$RANDOM
51720 (umask 077 && mkdir $tmp)
51721 } ||
51722 {
51723 echo "$me: cannot create a temporary directory in ." >&2
51724 { (exit 1); exit 1; }
51725 }
51726
51727 _ACEOF
51728
51729 cat >>$CONFIG_STATUS <<_ACEOF
51730
51731 #
51732 # CONFIG_FILES section.
51733 #
51734
51735 # No need to generate the scripts if there are no CONFIG_FILES.
51736 # This happens for instance when ./config.status config.h
51737 if test -n "\$CONFIG_FILES"; then
51738 # Protect against being on the right side of a sed subst in config.status.
51739 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51740 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51741 s,@SHELL@,$SHELL,;t t
51742 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51743 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51744 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51745 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51746 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51747 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51748 s,@exec_prefix@,$exec_prefix,;t t
51749 s,@prefix@,$prefix,;t t
51750 s,@program_transform_name@,$program_transform_name,;t t
51751 s,@bindir@,$bindir,;t t
51752 s,@sbindir@,$sbindir,;t t
51753 s,@libexecdir@,$libexecdir,;t t
51754 s,@datadir@,$datadir,;t t
51755 s,@sysconfdir@,$sysconfdir,;t t
51756 s,@sharedstatedir@,$sharedstatedir,;t t
51757 s,@localstatedir@,$localstatedir,;t t
51758 s,@libdir@,$libdir,;t t
51759 s,@includedir@,$includedir,;t t
51760 s,@oldincludedir@,$oldincludedir,;t t
51761 s,@infodir@,$infodir,;t t
51762 s,@mandir@,$mandir,;t t
51763 s,@build_alias@,$build_alias,;t t
51764 s,@host_alias@,$host_alias,;t t
51765 s,@target_alias@,$target_alias,;t t
51766 s,@DEFS@,$DEFS,;t t
51767 s,@ECHO_C@,$ECHO_C,;t t
51768 s,@ECHO_N@,$ECHO_N,;t t
51769 s,@ECHO_T@,$ECHO_T,;t t
51770 s,@LIBS@,$LIBS,;t t
51771 s,@build@,$build,;t t
51772 s,@build_cpu@,$build_cpu,;t t
51773 s,@build_vendor@,$build_vendor,;t t
51774 s,@build_os@,$build_os,;t t
51775 s,@host@,$host,;t t
51776 s,@host_cpu@,$host_cpu,;t t
51777 s,@host_vendor@,$host_vendor,;t t
51778 s,@host_os@,$host_os,;t t
51779 s,@target@,$target,;t t
51780 s,@target_cpu@,$target_cpu,;t t
51781 s,@target_vendor@,$target_vendor,;t t
51782 s,@target_os@,$target_os,;t t
51783 s,@wx_top_builddir@,$wx_top_builddir,;t t
51784 s,@CC@,$CC,;t t
51785 s,@CFLAGS@,$CFLAGS,;t t
51786 s,@LDFLAGS@,$LDFLAGS,;t t
51787 s,@CPPFLAGS@,$CPPFLAGS,;t t
51788 s,@ac_ct_CC@,$ac_ct_CC,;t t
51789 s,@EXEEXT@,$EXEEXT,;t t
51790 s,@OBJEXT@,$OBJEXT,;t t
51791 s,@CPP@,$CPP,;t t
51792 s,@EGREP@,$EGREP,;t t
51793 s,@CXX@,$CXX,;t t
51794 s,@CXXFLAGS@,$CXXFLAGS,;t t
51795 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51796 s,@RANLIB@,$RANLIB,;t t
51797 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51798 s,@AR@,$AR,;t t
51799 s,@ac_ct_AR@,$ac_ct_AR,;t t
51800 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51801 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51802 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51803 s,@STRIP@,$STRIP,;t t
51804 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51805 s,@WINDRES@,$WINDRES,;t t
51806 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51807 s,@DLLTOOL@,$DLLTOOL,;t t
51808 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51809 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51810 s,@LN_S@,$LN_S,;t t
51811 s,@CXXCPP@,$CXXCPP,;t t
51812 s,@subdirs@,$subdirs,;t t
51813 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51814 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51815 s,@GTK_LIBS@,$GTK_LIBS,;t t
51816 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51817 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51818 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51819 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51820 s,@X_CFLAGS@,$X_CFLAGS,;t t
51821 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51822 s,@X_LIBS@,$X_LIBS,;t t
51823 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51824 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51825 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51826 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51827 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51828 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51829 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51830 s,@REZ@,$REZ,;t t
51831 s,@DEREZ@,$DEREZ,;t t
51832 s,@SETFILE@,$SETFILE,;t t
51833 s,@LIBICONV@,$LIBICONV,;t t
51834 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51835 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51836 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51837 s,@SDL_LIBS@,$SDL_LIBS,;t t
51838 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51839 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51840 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51841 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51842 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51843 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51844 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51845 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51846 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51847 s,@GST_LIBS@,$GST_LIBS,;t t
51848 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51849 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51850 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51851 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51852 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51853 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51854 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51855 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51856 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51857 s,@VENDOR@,$VENDOR,;t t
51858 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51859 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51860 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51861 s,@WXUNIV@,$WXUNIV,;t t
51862 s,@MONOLITHIC@,$MONOLITHIC,;t t
51863 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51864 s,@EXTRALIBS@,$EXTRALIBS,;t t
51865 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51866 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51867 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51868 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51869 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51870 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51871 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51872 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51873 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51874 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51875 s,@UNICODE@,$UNICODE,;t t
51876 s,@BUILD@,$BUILD,;t t
51877 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51878 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51879 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51880 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51881 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51882 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51883 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51884 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51885 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51886 s,@SET_MAKE@,$SET_MAKE,;t t
51887 s,@MAKE_SET@,$MAKE_SET,;t t
51888 s,@AROPTIONS@,$AROPTIONS,;t t
51889 s,@NM@,$NM,;t t
51890 s,@ac_ct_NM@,$ac_ct_NM,;t t
51891 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51892 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51893 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51894 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51895 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51896 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51897 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51898 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51899 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51900 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51901 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51902 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51903 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51904 s,@LIBPREFIX@,$LIBPREFIX,;t t
51905 s,@LIBEXT@,$LIBEXT,;t t
51906 s,@DLLPREFIX@,$DLLPREFIX,;t t
51907 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51908 s,@dlldir@,$dlldir,;t t
51909 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51910 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51911 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51912 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51913 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51914 s,@PIC_FLAG@,$PIC_FLAG,;t t
51915 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51916 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51917 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51918 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51919 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51920 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51921 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51922 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51923 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51924 s,@BK_DEPS@,$BK_DEPS,;t t
51925 s,@GCC_PCH@,$GCC_PCH,;t t
51926 s,@ICC_PCH@,$ICC_PCH,;t t
51927 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51928 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51929 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51930 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51931 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51932 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51933 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51934 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51935 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51936 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51937 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51938 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51939 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51940 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51941 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51942 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51943 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51944 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51945 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51946 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51947 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51948 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
51949 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
51950 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
51951 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
51952 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51953 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51954 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51955 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51956 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51957 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51958 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
51959 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
51960 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
51961 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
51962 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51963 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51964 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51965 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51966 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51967 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51968 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51969 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51970 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51971 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51972 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51973 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51974 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51975 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51976 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51977 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51978 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51979 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51980 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51981 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51982 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51983 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51984 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51985 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51986 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51987 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51988 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51989 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51990 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51991 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51992 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51993 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51994 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51995 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51996 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51997 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51998 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51999 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52000 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52001 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52002 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52003 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52004 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52005 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52006 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52007 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52008 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52009 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52010 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52011 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52012 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52013 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52014 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52015 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52016 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52017 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52018 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52019 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52020 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52021 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
52022 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52023 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52024 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52025 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52026 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52027 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52028 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52029 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52030 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52031 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52032 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52033 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52034 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52035 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52036 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52037 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52038 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52039 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52040 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52041 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52042 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52043 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52044 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52045 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52046 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52047 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52048 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52049 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52050 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52051 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52052 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52053 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52054 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52055 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52056 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52057 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52058 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52059 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52060 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52061 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52062 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52063 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52064 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52065 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52066 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52067 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52068 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52069 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52070 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52071 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52072 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52073 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52074 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52075 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52076 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52077 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52078 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52079 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52080 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52081 s,@SHARED@,$SHARED,;t t
52082 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52083 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52084 s,@USE_GUI@,$USE_GUI,;t t
52085 s,@AFMINSTALL@,$AFMINSTALL,;t t
52086 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52087 s,@TOOLKIT@,$TOOLKIT,;t t
52088 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52089 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52090 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52091 s,@cross_compiling@,$cross_compiling,;t t
52092 s,@WIDGET_SET@,$WIDGET_SET,;t t
52093 s,@WX_RELEASE@,$WX_RELEASE,;t t
52094 s,@WX_VERSION@,$WX_VERSION,;t t
52095 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52096 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52097 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52098 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52099 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52100 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52101 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52102 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52103 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52104 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52105 s,@EXE_LINKER@,$EXE_LINKER,;t t
52106 s,@GUIDIST@,$GUIDIST,;t t
52107 s,@DISTDIR@,$DISTDIR,;t t
52108 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52109 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52110 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52111 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52112 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52113 s,@RESCOMP@,$RESCOMP,;t t
52114 s,@RESFLAGS@,$RESFLAGS,;t t
52115 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52116 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52117 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52118 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52119 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52120 s,@MACSETFILE@,$MACSETFILE,;t t
52121 s,@GCC@,$GCC,;t t
52122 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52123 s,@LIBOBJS@,$LIBOBJS,;t t
52124 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52125 CEOF
52126
52127 _ACEOF
52128
52129 cat >>$CONFIG_STATUS <<\_ACEOF
52130 # Split the substitutions into bite-sized pieces for seds with
52131 # small command number limits, like on Digital OSF/1 and HP-UX.
52132 ac_max_sed_lines=48
52133 ac_sed_frag=1 # Number of current file.
52134 ac_beg=1 # First line for current file.
52135 ac_end=$ac_max_sed_lines # Line after last line for current file.
52136 ac_more_lines=:
52137 ac_sed_cmds=
52138 while $ac_more_lines; do
52139 if test $ac_beg -gt 1; then
52140 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52141 else
52142 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52143 fi
52144 if test ! -s $tmp/subs.frag; then
52145 ac_more_lines=false
52146 else
52147 # The purpose of the label and of the branching condition is to
52148 # speed up the sed processing (if there are no `@' at all, there
52149 # is no need to browse any of the substitutions).
52150 # These are the two extra sed commands mentioned above.
52151 (echo ':t
52152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52153 if test -z "$ac_sed_cmds"; then
52154 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52155 else
52156 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52157 fi
52158 ac_sed_frag=`expr $ac_sed_frag + 1`
52159 ac_beg=$ac_end
52160 ac_end=`expr $ac_end + $ac_max_sed_lines`
52161 fi
52162 done
52163 if test -z "$ac_sed_cmds"; then
52164 ac_sed_cmds=cat
52165 fi
52166 fi # test -n "$CONFIG_FILES"
52167
52168 _ACEOF
52169 cat >>$CONFIG_STATUS <<\_ACEOF
52170 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52171 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52172 case $ac_file in
52173 - | *:- | *:-:* ) # input from stdin
52174 cat >$tmp/stdin
52175 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52176 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52177 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52178 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52179 * ) ac_file_in=$ac_file.in ;;
52180 esac
52181
52182 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52183 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52185 X"$ac_file" : 'X\(//\)[^/]' \| \
52186 X"$ac_file" : 'X\(//\)$' \| \
52187 X"$ac_file" : 'X\(/\)' \| \
52188 . : '\(.\)' 2>/dev/null ||
52189 echo X"$ac_file" |
52190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52192 /^X\(\/\/\)$/{ s//\1/; q; }
52193 /^X\(\/\).*/{ s//\1/; q; }
52194 s/.*/./; q'`
52195 { if $as_mkdir_p; then
52196 mkdir -p "$ac_dir"
52197 else
52198 as_dir="$ac_dir"
52199 as_dirs=
52200 while test ! -d "$as_dir"; do
52201 as_dirs="$as_dir $as_dirs"
52202 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52204 X"$as_dir" : 'X\(//\)[^/]' \| \
52205 X"$as_dir" : 'X\(//\)$' \| \
52206 X"$as_dir" : 'X\(/\)' \| \
52207 . : '\(.\)' 2>/dev/null ||
52208 echo X"$as_dir" |
52209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52211 /^X\(\/\/\)$/{ s//\1/; q; }
52212 /^X\(\/\).*/{ s//\1/; q; }
52213 s/.*/./; q'`
52214 done
52215 test ! -n "$as_dirs" || mkdir $as_dirs
52216 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52218 { (exit 1); exit 1; }; }; }
52219
52220 ac_builddir=.
52221
52222 if test "$ac_dir" != .; then
52223 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52224 # A "../" for each directory in $ac_dir_suffix.
52225 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52226 else
52227 ac_dir_suffix= ac_top_builddir=
52228 fi
52229
52230 case $srcdir in
52231 .) # No --srcdir option. We are building in place.
52232 ac_srcdir=.
52233 if test -z "$ac_top_builddir"; then
52234 ac_top_srcdir=.
52235 else
52236 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52237 fi ;;
52238 [\\/]* | ?:[\\/]* ) # Absolute path.
52239 ac_srcdir=$srcdir$ac_dir_suffix;
52240 ac_top_srcdir=$srcdir ;;
52241 *) # Relative path.
52242 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52243 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52244 esac
52245
52246 # Do not use `cd foo && pwd` to compute absolute paths, because
52247 # the directories may not exist.
52248 case `pwd` in
52249 .) ac_abs_builddir="$ac_dir";;
52250 *)
52251 case "$ac_dir" in
52252 .) ac_abs_builddir=`pwd`;;
52253 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52254 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52255 esac;;
52256 esac
52257 case $ac_abs_builddir in
52258 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52259 *)
52260 case ${ac_top_builddir}. in
52261 .) ac_abs_top_builddir=$ac_abs_builddir;;
52262 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52263 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52264 esac;;
52265 esac
52266 case $ac_abs_builddir in
52267 .) ac_abs_srcdir=$ac_srcdir;;
52268 *)
52269 case $ac_srcdir in
52270 .) ac_abs_srcdir=$ac_abs_builddir;;
52271 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52272 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52273 esac;;
52274 esac
52275 case $ac_abs_builddir in
52276 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52277 *)
52278 case $ac_top_srcdir in
52279 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52280 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52281 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52282 esac;;
52283 esac
52284
52285
52286 case $INSTALL in
52287 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52288 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52289 esac
52290
52291 # Let's still pretend it is `configure' which instantiates (i.e., don't
52292 # use $as_me), people would be surprised to read:
52293 # /* config.h. Generated by config.status. */
52294 if test x"$ac_file" = x-; then
52295 configure_input=
52296 else
52297 configure_input="$ac_file. "
52298 fi
52299 configure_input=$configure_input"Generated from `echo $ac_file_in |
52300 sed 's,.*/,,'` by configure."
52301
52302 # First look for the input files in the build tree, otherwise in the
52303 # src tree.
52304 ac_file_inputs=`IFS=:
52305 for f in $ac_file_in; do
52306 case $f in
52307 -) echo $tmp/stdin ;;
52308 [\\/$]*)
52309 # Absolute (can't be DOS-style, as IFS=:)
52310 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52311 echo "$as_me: error: cannot find input file: $f" >&2;}
52312 { (exit 1); exit 1; }; }
52313 echo "$f";;
52314 *) # Relative
52315 if test -f "$f"; then
52316 # Build tree
52317 echo "$f"
52318 elif test -f "$srcdir/$f"; then
52319 # Source tree
52320 echo "$srcdir/$f"
52321 else
52322 # /dev/null tree
52323 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52324 echo "$as_me: error: cannot find input file: $f" >&2;}
52325 { (exit 1); exit 1; }; }
52326 fi;;
52327 esac
52328 done` || { (exit 1); exit 1; }
52329
52330 if test x"$ac_file" != x-; then
52331 { echo "$as_me:$LINENO: creating $ac_file" >&5
52332 echo "$as_me: creating $ac_file" >&6;}
52333 rm -f "$ac_file"
52334 fi
52335 _ACEOF
52336 cat >>$CONFIG_STATUS <<_ACEOF
52337 sed "$ac_vpsub
52338 $extrasub
52339 _ACEOF
52340 cat >>$CONFIG_STATUS <<\_ACEOF
52341 :t
52342 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52343 s,@configure_input@,$configure_input,;t t
52344 s,@srcdir@,$ac_srcdir,;t t
52345 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52346 s,@top_srcdir@,$ac_top_srcdir,;t t
52347 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52348 s,@builddir@,$ac_builddir,;t t
52349 s,@abs_builddir@,$ac_abs_builddir,;t t
52350 s,@top_builddir@,$ac_top_builddir,;t t
52351 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52352 s,@INSTALL@,$ac_INSTALL,;t t
52353 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52354 rm -f $tmp/stdin
52355 if test x"$ac_file" != x-; then
52356 mv $tmp/out $ac_file
52357 else
52358 cat $tmp/out
52359 rm -f $tmp/out
52360 fi
52361
52362 # Run the commands associated with the file.
52363 case $ac_file in
52364 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52365 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52366 esac
52367 done
52368 _ACEOF
52369 cat >>$CONFIG_STATUS <<\_ACEOF
52370
52371 #
52372 # CONFIG_HEADER section.
52373 #
52374
52375 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52376 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52377 #
52378 # ac_d sets the value in "#define NAME VALUE" lines.
52379 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52380 ac_dB='[ ].*$,\1#\2'
52381 ac_dC=' '
52382 ac_dD=',;t'
52383 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52384 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52385 ac_uB='$,\1#\2define\3'
52386 ac_uC=' '
52387 ac_uD=',;t'
52388
52389 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52390 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52391 case $ac_file in
52392 - | *:- | *:-:* ) # input from stdin
52393 cat >$tmp/stdin
52394 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52395 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52396 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52397 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52398 * ) ac_file_in=$ac_file.in ;;
52399 esac
52400
52401 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52402 echo "$as_me: creating $ac_file" >&6;}
52403
52404 # First look for the input files in the build tree, otherwise in the
52405 # src tree.
52406 ac_file_inputs=`IFS=:
52407 for f in $ac_file_in; do
52408 case $f in
52409 -) echo $tmp/stdin ;;
52410 [\\/$]*)
52411 # Absolute (can't be DOS-style, as IFS=:)
52412 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52413 echo "$as_me: error: cannot find input file: $f" >&2;}
52414 { (exit 1); exit 1; }; }
52415 # Do quote $f, to prevent DOS paths from being IFS'd.
52416 echo "$f";;
52417 *) # Relative
52418 if test -f "$f"; then
52419 # Build tree
52420 echo "$f"
52421 elif test -f "$srcdir/$f"; then
52422 # Source tree
52423 echo "$srcdir/$f"
52424 else
52425 # /dev/null tree
52426 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52427 echo "$as_me: error: cannot find input file: $f" >&2;}
52428 { (exit 1); exit 1; }; }
52429 fi;;
52430 esac
52431 done` || { (exit 1); exit 1; }
52432 # Remove the trailing spaces.
52433 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52434
52435 _ACEOF
52436
52437 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52438 # `conftest.undefs', that substitutes the proper values into
52439 # config.h.in to produce config.h. The first handles `#define'
52440 # templates, and the second `#undef' templates.
52441 # And first: Protect against being on the right side of a sed subst in
52442 # config.status. Protect against being in an unquoted here document
52443 # in config.status.
52444 rm -f conftest.defines conftest.undefs
52445 # Using a here document instead of a string reduces the quoting nightmare.
52446 # Putting comments in sed scripts is not portable.
52447 #
52448 # `end' is used to avoid that the second main sed command (meant for
52449 # 0-ary CPP macros) applies to n-ary macro definitions.
52450 # See the Autoconf documentation for `clear'.
52451 cat >confdef2sed.sed <<\_ACEOF
52452 s/[\\&,]/\\&/g
52453 s,[\\$`],\\&,g
52454 t clear
52455 : clear
52456 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52457 t end
52458 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52459 : end
52460 _ACEOF
52461 # If some macros were called several times there might be several times
52462 # the same #defines, which is useless. Nevertheless, we may not want to
52463 # sort them, since we want the *last* AC-DEFINE to be honored.
52464 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52465 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52466 rm -f confdef2sed.sed
52467
52468 # This sed command replaces #undef with comments. This is necessary, for
52469 # example, in the case of _POSIX_SOURCE, which is predefined and required
52470 # on some systems where configure will not decide to define it.
52471 cat >>conftest.undefs <<\_ACEOF
52472 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52473 _ACEOF
52474
52475 # Break up conftest.defines because some shells have a limit on the size
52476 # of here documents, and old seds have small limits too (100 cmds).
52477 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52478 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52479 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52480 echo ' :' >>$CONFIG_STATUS
52481 rm -f conftest.tail
52482 while grep . conftest.defines >/dev/null
52483 do
52484 # Write a limited-size here document to $tmp/defines.sed.
52485 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52486 # Speed up: don't consider the non `#define' lines.
52487 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52488 # Work around the forget-to-reset-the-flag bug.
52489 echo 't clr' >>$CONFIG_STATUS
52490 echo ': clr' >>$CONFIG_STATUS
52491 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52492 echo 'CEOF
52493 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52494 rm -f $tmp/in
52495 mv $tmp/out $tmp/in
52496 ' >>$CONFIG_STATUS
52497 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52498 rm -f conftest.defines
52499 mv conftest.tail conftest.defines
52500 done
52501 rm -f conftest.defines
52502 echo ' fi # grep' >>$CONFIG_STATUS
52503 echo >>$CONFIG_STATUS
52504
52505 # Break up conftest.undefs because some shells have a limit on the size
52506 # of here documents, and old seds have small limits too (100 cmds).
52507 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52508 rm -f conftest.tail
52509 while grep . conftest.undefs >/dev/null
52510 do
52511 # Write a limited-size here document to $tmp/undefs.sed.
52512 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52513 # Speed up: don't consider the non `#undef'
52514 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52515 # Work around the forget-to-reset-the-flag bug.
52516 echo 't clr' >>$CONFIG_STATUS
52517 echo ': clr' >>$CONFIG_STATUS
52518 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52519 echo 'CEOF
52520 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52521 rm -f $tmp/in
52522 mv $tmp/out $tmp/in
52523 ' >>$CONFIG_STATUS
52524 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52525 rm -f conftest.undefs
52526 mv conftest.tail conftest.undefs
52527 done
52528 rm -f conftest.undefs
52529
52530 cat >>$CONFIG_STATUS <<\_ACEOF
52531 # Let's still pretend it is `configure' which instantiates (i.e., don't
52532 # use $as_me), people would be surprised to read:
52533 # /* config.h. Generated by config.status. */
52534 if test x"$ac_file" = x-; then
52535 echo "/* Generated by configure. */" >$tmp/config.h
52536 else
52537 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52538 fi
52539 cat $tmp/in >>$tmp/config.h
52540 rm -f $tmp/in
52541 if test x"$ac_file" != x-; then
52542 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52543 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52544 echo "$as_me: $ac_file is unchanged" >&6;}
52545 else
52546 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52548 X"$ac_file" : 'X\(//\)[^/]' \| \
52549 X"$ac_file" : 'X\(//\)$' \| \
52550 X"$ac_file" : 'X\(/\)' \| \
52551 . : '\(.\)' 2>/dev/null ||
52552 echo X"$ac_file" |
52553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52555 /^X\(\/\/\)$/{ s//\1/; q; }
52556 /^X\(\/\).*/{ s//\1/; q; }
52557 s/.*/./; q'`
52558 { if $as_mkdir_p; then
52559 mkdir -p "$ac_dir"
52560 else
52561 as_dir="$ac_dir"
52562 as_dirs=
52563 while test ! -d "$as_dir"; do
52564 as_dirs="$as_dir $as_dirs"
52565 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52567 X"$as_dir" : 'X\(//\)[^/]' \| \
52568 X"$as_dir" : 'X\(//\)$' \| \
52569 X"$as_dir" : 'X\(/\)' \| \
52570 . : '\(.\)' 2>/dev/null ||
52571 echo X"$as_dir" |
52572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52574 /^X\(\/\/\)$/{ s//\1/; q; }
52575 /^X\(\/\).*/{ s//\1/; q; }
52576 s/.*/./; q'`
52577 done
52578 test ! -n "$as_dirs" || mkdir $as_dirs
52579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52581 { (exit 1); exit 1; }; }; }
52582
52583 rm -f $ac_file
52584 mv $tmp/config.h $ac_file
52585 fi
52586 else
52587 cat $tmp/config.h
52588 rm -f $tmp/config.h
52589 fi
52590 done
52591 _ACEOF
52592 cat >>$CONFIG_STATUS <<\_ACEOF
52593
52594 #
52595 # CONFIG_COMMANDS section.
52596 #
52597 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52598 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52599 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52600 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52601 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52602 X"$ac_dest" : 'X\(//\)[^/]' \| \
52603 X"$ac_dest" : 'X\(//\)$' \| \
52604 X"$ac_dest" : 'X\(/\)' \| \
52605 . : '\(.\)' 2>/dev/null ||
52606 echo X"$ac_dest" |
52607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52608 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52609 /^X\(\/\/\)$/{ s//\1/; q; }
52610 /^X\(\/\).*/{ s//\1/; q; }
52611 s/.*/./; q'`
52612 { if $as_mkdir_p; then
52613 mkdir -p "$ac_dir"
52614 else
52615 as_dir="$ac_dir"
52616 as_dirs=
52617 while test ! -d "$as_dir"; do
52618 as_dirs="$as_dir $as_dirs"
52619 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52620 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52621 X"$as_dir" : 'X\(//\)[^/]' \| \
52622 X"$as_dir" : 'X\(//\)$' \| \
52623 X"$as_dir" : 'X\(/\)' \| \
52624 . : '\(.\)' 2>/dev/null ||
52625 echo X"$as_dir" |
52626 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52627 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52628 /^X\(\/\/\)$/{ s//\1/; q; }
52629 /^X\(\/\).*/{ s//\1/; q; }
52630 s/.*/./; q'`
52631 done
52632 test ! -n "$as_dirs" || mkdir $as_dirs
52633 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52634 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52635 { (exit 1); exit 1; }; }; }
52636
52637 ac_builddir=.
52638
52639 if test "$ac_dir" != .; then
52640 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52641 # A "../" for each directory in $ac_dir_suffix.
52642 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52643 else
52644 ac_dir_suffix= ac_top_builddir=
52645 fi
52646
52647 case $srcdir in
52648 .) # No --srcdir option. We are building in place.
52649 ac_srcdir=.
52650 if test -z "$ac_top_builddir"; then
52651 ac_top_srcdir=.
52652 else
52653 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52654 fi ;;
52655 [\\/]* | ?:[\\/]* ) # Absolute path.
52656 ac_srcdir=$srcdir$ac_dir_suffix;
52657 ac_top_srcdir=$srcdir ;;
52658 *) # Relative path.
52659 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52660 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52661 esac
52662
52663 # Do not use `cd foo && pwd` to compute absolute paths, because
52664 # the directories may not exist.
52665 case `pwd` in
52666 .) ac_abs_builddir="$ac_dir";;
52667 *)
52668 case "$ac_dir" in
52669 .) ac_abs_builddir=`pwd`;;
52670 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52671 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52672 esac;;
52673 esac
52674 case $ac_abs_builddir in
52675 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52676 *)
52677 case ${ac_top_builddir}. in
52678 .) ac_abs_top_builddir=$ac_abs_builddir;;
52679 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52680 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52681 esac;;
52682 esac
52683 case $ac_abs_builddir in
52684 .) ac_abs_srcdir=$ac_srcdir;;
52685 *)
52686 case $ac_srcdir in
52687 .) ac_abs_srcdir=$ac_abs_builddir;;
52688 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52689 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52690 esac;;
52691 esac
52692 case $ac_abs_builddir in
52693 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52694 *)
52695 case $ac_top_srcdir in
52696 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52697 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52698 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52699 esac;;
52700 esac
52701
52702
52703 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52704 echo "$as_me: executing $ac_dest commands" >&6;}
52705 case $ac_dest in
52706 rcdefs.h )
52707 mkdir -p $outdir &&
52708 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52709 ;;
52710 wx-config ) rm -f wx-config
52711 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52712 ;;
52713 esac
52714 done
52715 _ACEOF
52716
52717 cat >>$CONFIG_STATUS <<\_ACEOF
52718
52719 { (exit 0); exit 0; }
52720 _ACEOF
52721 chmod +x $CONFIG_STATUS
52722 ac_clean_files=$ac_clean_files_save
52723
52724
52725 # configure is writing to config.log, and then calls config.status.
52726 # config.status does its own redirection, appending to config.log.
52727 # Unfortunately, on DOS this fails, as config.log is still kept open
52728 # by configure, so config.status won't be able to write to it; its
52729 # output is simply discarded. So we exec the FD to /dev/null,
52730 # effectively closing config.log, so it can be properly (re)opened and
52731 # appended to by config.status. When coming back to configure, we
52732 # need to make the FD available again.
52733 if test "$no_create" != yes; then
52734 ac_cs_success=:
52735 ac_config_status_args=
52736 test "$silent" = yes &&
52737 ac_config_status_args="$ac_config_status_args --quiet"
52738 exec 5>/dev/null
52739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52740 exec 5>>config.log
52741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52742 # would make configure fail if this is the last instruction.
52743 $ac_cs_success || { (exit 1); exit 1; }
52744 fi
52745
52746 #
52747 # CONFIG_SUBDIRS section.
52748 #
52749 if test "$no_recursion" != yes; then
52750
52751 # Remove --cache-file and --srcdir arguments so they do not pile up.
52752 ac_sub_configure_args=
52753 ac_prev=
52754 for ac_arg in $ac_configure_args; do
52755 if test -n "$ac_prev"; then
52756 ac_prev=
52757 continue
52758 fi
52759 case $ac_arg in
52760 -cache-file | --cache-file | --cache-fil | --cache-fi \
52761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52762 ac_prev=cache_file ;;
52763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52765 | --c=*)
52766 ;;
52767 --config-cache | -C)
52768 ;;
52769 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52770 ac_prev=srcdir ;;
52771 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52772 ;;
52773 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52774 ac_prev=prefix ;;
52775 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52776 ;;
52777 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52778 esac
52779 done
52780
52781 # Always prepend --prefix to ensure using the same prefix
52782 # in subdir configurations.
52783 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52784
52785 ac_popdir=`pwd`
52786 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52787
52788 # Do not complain, so a configure script can configure whichever
52789 # parts of a large source tree are present.
52790 test -d $srcdir/$ac_dir || continue
52791
52792 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52793 echo "$as_me: configuring in $ac_dir" >&6;}
52794 { if $as_mkdir_p; then
52795 mkdir -p "$ac_dir"
52796 else
52797 as_dir="$ac_dir"
52798 as_dirs=
52799 while test ! -d "$as_dir"; do
52800 as_dirs="$as_dir $as_dirs"
52801 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52803 X"$as_dir" : 'X\(//\)[^/]' \| \
52804 X"$as_dir" : 'X\(//\)$' \| \
52805 X"$as_dir" : 'X\(/\)' \| \
52806 . : '\(.\)' 2>/dev/null ||
52807 echo X"$as_dir" |
52808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52810 /^X\(\/\/\)$/{ s//\1/; q; }
52811 /^X\(\/\).*/{ s//\1/; q; }
52812 s/.*/./; q'`
52813 done
52814 test ! -n "$as_dirs" || mkdir $as_dirs
52815 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52817 { (exit 1); exit 1; }; }; }
52818
52819 ac_builddir=.
52820
52821 if test "$ac_dir" != .; then
52822 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52823 # A "../" for each directory in $ac_dir_suffix.
52824 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52825 else
52826 ac_dir_suffix= ac_top_builddir=
52827 fi
52828
52829 case $srcdir in
52830 .) # No --srcdir option. We are building in place.
52831 ac_srcdir=.
52832 if test -z "$ac_top_builddir"; then
52833 ac_top_srcdir=.
52834 else
52835 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52836 fi ;;
52837 [\\/]* | ?:[\\/]* ) # Absolute path.
52838 ac_srcdir=$srcdir$ac_dir_suffix;
52839 ac_top_srcdir=$srcdir ;;
52840 *) # Relative path.
52841 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52842 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52843 esac
52844
52845 # Do not use `cd foo && pwd` to compute absolute paths, because
52846 # the directories may not exist.
52847 case `pwd` in
52848 .) ac_abs_builddir="$ac_dir";;
52849 *)
52850 case "$ac_dir" in
52851 .) ac_abs_builddir=`pwd`;;
52852 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52853 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52854 esac;;
52855 esac
52856 case $ac_abs_builddir in
52857 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52858 *)
52859 case ${ac_top_builddir}. in
52860 .) ac_abs_top_builddir=$ac_abs_builddir;;
52861 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52862 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52863 esac;;
52864 esac
52865 case $ac_abs_builddir in
52866 .) ac_abs_srcdir=$ac_srcdir;;
52867 *)
52868 case $ac_srcdir in
52869 .) ac_abs_srcdir=$ac_abs_builddir;;
52870 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52871 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52872 esac;;
52873 esac
52874 case $ac_abs_builddir in
52875 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52876 *)
52877 case $ac_top_srcdir in
52878 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52879 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52880 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52881 esac;;
52882 esac
52883
52884
52885 cd $ac_dir
52886
52887 # Check for guested configure; otherwise get Cygnus style configure.
52888 if test -f $ac_srcdir/configure.gnu; then
52889 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52890 elif test -f $ac_srcdir/configure; then
52891 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52892 elif test -f $ac_srcdir/configure.in; then
52893 ac_sub_configure=$ac_configure
52894 else
52895 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52896 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52897 ac_sub_configure=
52898 fi
52899
52900 # The recursion is here.
52901 if test -n "$ac_sub_configure"; then
52902 # Make the cache file name correct relative to the subdirectory.
52903 case $cache_file in
52904 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52905 *) # Relative path.
52906 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52907 esac
52908
52909 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52910 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52911 # The eval makes quoting arguments work.
52912 eval $ac_sub_configure $ac_sub_configure_args \
52913 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52914 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52915 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52916 { (exit 1); exit 1; }; }
52917 fi
52918
52919 cd "$ac_popdir"
52920 done
52921 fi
52922
52923
52924 echo
52925 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52926 echo ""
52927 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52928 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52929
52930 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52931 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52932 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52933
52934 echo " What level of wxWidgets compatibility should be enabled?"
52935 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52936 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52937
52938 echo " Which libraries should wxWidgets use?"
52939 echo " jpeg ${wxUSE_LIBJPEG-none}"
52940 echo " png ${wxUSE_LIBPNG-none}"
52941 echo " regex ${wxUSE_REGEX}"
52942 echo " tiff ${wxUSE_LIBTIFF-none}"
52943 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52944 echo " xpm ${wxUSE_LIBXPM-none}"
52945 fi
52946 echo " zlib ${wxUSE_ZLIB}"
52947 echo " odbc ${wxUSE_ODBC}"
52948 echo " expat ${wxUSE_EXPAT}"
52949 echo " libmspack ${wxUSE_LIBMSPACK}"
52950 echo " sdl ${wxUSE_LIBSDL}"
52951
52952 echo ""
52953