]> git.saurik.com Git - wxWidgets.git/blob - configure
Don't use the old wxPython namespace
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support in wxProtocol
1016 --enable-protocol-ftp FTP support in wxProtocol
1017 --enable-protocol-file FILE support in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use help subsystem
1021 --enable-mshtmlhelp use MS HTML Help (win32)
1022 --enable-html use wxHTML sub-library
1023 --enable-htmlhelp use wxHTML-based help
1024 --enable-xrc use XRC resources sub-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl (Mac)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1036 --enable-prologio not available; see contrib
1037 --enable-resources not available; see contrib
1038 --enable-clipboard use wxClipboard class
1039 --enable-dnd use Drag'n'Drop classes
1040 --enable-metafile use win32 metafiles
1041 --enable-controls use all usual controls
1042 --enable-accel use accelerators
1043 --enable-button use wxButton class
1044 --enable-bmpbutton use wxBitmapButton class
1045 --enable-bmpcombobox use wxBitmapComboBox class
1046 --enable-calendar use wxCalendarCtrl class
1047 --enable-caret use wxCaret class
1048 --enable-checkbox use wxCheckBox class
1049 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1050 --enable-choice use wxChoice class
1051 --enable-choicebook use wxChoicebook class
1052 --enable-colourpicker use wxColourPickerCtrl class
1053 --enable-combobox use wxComboBox class
1054 --enable-comboctrl use wxComboCtrl class
1055 --enable-datepick use wxDatePickerCtrl class
1056 --enable-dirpicker use wxDirPickerCtrl class
1057 --enable-display use wxDisplay class
1058 --enable-filepicker use wxFilePickerCtrl class
1059 --enable-fontpicker use wxFontPickerCtrl class
1060 --enable-gauge use wxGauge class
1061 --enable-grid use wxGrid class
1062 --enable-dataviewctrl, use wxDataViewCtrl class
1063 --enable-hyperlink use wxHyperlinkCtrl class
1064 --enable-imaglist use wxImageList class
1065 --enable-listbook use wxListbook class
1066 --enable-listbox use wxListBox class
1067 --enable-listctrl use wxListCtrl class
1068 --enable-notebook use wxNotebook class
1069 --enable-odcombobox use wxOwnerDrawnComboBox class
1070 --enable-radiobox use wxRadioBox class
1071 --enable-radiobtn use wxRadioButton class
1072 --enable-sash use wxSashWindow class
1073 --enable-scrollbar use wxScrollBar class and scrollable windows
1074 --enable-slider use wxSlider class
1075 --enable-spinbtn use wxSpinButton class
1076 --enable-spinctrl use wxSpinCtrl class
1077 --enable-splitter use wxSplitterWindow class
1078 --enable-statbmp use wxStaticBitmap class
1079 --enable-statbox use wxStaticBox class
1080 --enable-statline use wxStaticLine class
1081 --enable-stattext use wxStaticText class
1082 --enable-statusbar use wxStatusBar class
1083 --enable-tabdialog use wxTabControl class
1084 --enable-textctrl use wxTextCtrl class
1085 --enable-togglebtn use wxToggleButton class
1086 --enable-toolbar use wxToolBar class
1087 --enable-tbarnative use native wxToolBar class
1088 --enable-treebook use wxTreebook class
1089 --enable-toolbook use wxToolbook class
1090 --enable-treectrl use wxTreeCtrl class
1091 --enable-tipwindow use wxTipWindow class
1092 --enable-popupwin use wxPopUpWindow class
1093 --enable-commondlg use all common dialogs
1094 --enable-choicedlg use wxChoiceDialog
1095 --enable-coldlg use wxColourDialog
1096 --enable-filedlg use wxFileDialog
1097 --enable-finddlg use wxFindReplaceDialog
1098 --enable-fontdlg use wxFontDialog
1099 --enable-dirdlg use wxDirDialog
1100 --enable-msgdlg use wxMessageDialog
1101 --enable-numberdlg use wxNumberEntryDialog
1102 --enable-splash use wxSplashScreen
1103 --enable-textdlg use wxTextDialog
1104 --enable-tipdlg use startup tips
1105 --enable-progressdlg use wxProgressDialog
1106 --enable-wizarddlg use wxWizard
1107 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1108 --enable-miniframe use wxMiniFrame class
1109 --enable-tooltips use wxToolTip class
1110 --enable-splines use spline drawing code
1111 --enable-mousewheel use mousewheel
1112 --enable-validators use wxValidator and derived classes
1113 --enable-busyinfo use wxBusyInfo
1114 --enable-joystick use wxJoystick
1115 --enable-metafiles use wxMetaFile (Win32 only)
1116 --enable-dragimage use wxDragImage
1117 --enable-accessibility enable accessibility support
1118 --enable-dccache cache temporary wxDC objects (Win32 only)
1119 --enable-palette use wxPalette class
1120 --enable-image use wxImage class
1121 --enable-gif use gif images (GIF file format)
1122 --enable-pcx use pcx images (PCX file format)
1123 --enable-iff use iff images (IFF file format)
1124 --enable-pnm use pnm images (PNM file format)
1125 --enable-xpm use xpm images (XPM file format)
1126 --enable-icocur use Windows ICO and CUR formats
1127 --enable-official_build official build of wxWidgets (win32 DLL only)
1128 --enable-vendor=VENDOR vendor name (win32 DLL only)
1129 --disable-largefile omit support for large files
1130 --disable-gtktest do not try to compile and run a test GTK+ program
1131 --disable-gtktest Do not try to compile and run a test GTK program
1132 --disable-sdltest Do not try to compile and run a test SDL program
1133 --enable-omf use OMF object format (OS/2)
1134 --disable-dependency-tracking
1135 don't use dependency tracking even if the compiler
1136 can
1137 --disable-precomp-headers
1138 don't use precompiled headers even if compiler can
1139
1140 Optional Packages:
1141 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1142 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1143 --without-subdirs don't generate makefiles for samples/demos/...
1144 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1145 --with-motif use Motif/Lesstif
1146 --with-mac use Mac OS X
1147 --with-cocoa use Cocoa
1148 --with-wine use Wine
1149 --with-msw use MS-Windows
1150 --with-pm use OS/2 Presentation Manager
1151 --with-mgl use SciTech MGL
1152 --with-directfb use DirectFB
1153 --with-microwin use MicroWindows
1154 --with-x11 use X11
1155 --with-libpng use libpng (PNG image format)
1156 --with-libjpeg use libjpeg (JPEG file format)
1157 --with-libtiff use libtiff (TIFF file format)
1158 --with-libxpm use libxpm (XPM file format)
1159 --with-libmspack use libmspack (CHM help files loading)
1160 --with-sdl use SDL for audio on Unix
1161 --with-gnomeprint use GNOME print for printing under GNOME
1162 --with-gnomevfs use GNOME VFS for associating MIME types
1163 --with-hildon use Hildon framework for Nokia 770
1164 --with-opengl use OpenGL (or Mesa)
1165 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1166 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1167 --with-regex enable support for wxRegEx class
1168 --with-zlib use zlib for LZW compression
1169 --with-odbc use the IODBC and wxODBC classes
1170 --with-expat enable XML support using expat parser
1171 --with-flavour=NAME specify a name to identify this build
1172 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1173 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1174 --with-x use the X Window System
1175 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1176 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1177 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1178 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1179 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1180
1181 Some influential environment variables:
1182 CC C compiler command
1183 CFLAGS C compiler flags
1184 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1185 nonstandard directory <lib dir>
1186 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1187 headers in a nonstandard directory <include dir>
1188 CPP C preprocessor
1189 CXX C++ compiler command
1190 CXXFLAGS C++ compiler flags
1191 CXXCPP C++ preprocessor
1192 PKG_CONFIG path to pkg-config utility
1193 DIRECTFB_CFLAGS
1194 C compiler flags for DIRECTFB, overriding pkg-config
1195 DIRECTFB_LIBS
1196 linker flags for DIRECTFB, overriding pkg-config
1197 PANGOX_CFLAGS
1198 C compiler flags for PANGOX, overriding pkg-config
1199 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1200 PANGOFT2_CFLAGS
1201 C compiler flags for PANGOFT2, overriding pkg-config
1202 PANGOFT2_LIBS
1203 linker flags for PANGOFT2, overriding pkg-config
1204 PANGOXFT_CFLAGS
1205 C compiler flags for PANGOXFT, overriding pkg-config
1206 PANGOXFT_LIBS
1207 linker flags for PANGOXFT, overriding pkg-config
1208 LIBGNOMEPRINTUI_CFLAGS
1209 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1210 LIBGNOMEPRINTUI_LIBS
1211 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 GNOMEVFS_CFLAGS
1213 C compiler flags for GNOMEVFS, overriding pkg-config
1214 GNOMEVFS_LIBS
1215 linker flags for GNOMEVFS, overriding pkg-config
1216 HILDON_CFLAGS
1217 C compiler flags for HILDON, overriding pkg-config
1218 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1219 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1220 GST_LIBS linker flags for GST, overriding pkg-config
1221
1222 Use these variables to override the choices made by `configure' or to help
1223 it to find libraries and programs with nonstandard names/locations.
1224
1225 Report bugs to <wx-dev@lists.wxwidgets.org>.
1226 _ACEOF
1227 fi
1228
1229 if test "$ac_init_help" = "recursive"; then
1230 # If there are subdirs, report their specific --help.
1231 ac_popdir=`pwd`
1232 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1233 test -d $ac_dir || continue
1234 ac_builddir=.
1235
1236 if test "$ac_dir" != .; then
1237 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1238 # A "../" for each directory in $ac_dir_suffix.
1239 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1240 else
1241 ac_dir_suffix= ac_top_builddir=
1242 fi
1243
1244 case $srcdir in
1245 .) # No --srcdir option. We are building in place.
1246 ac_srcdir=.
1247 if test -z "$ac_top_builddir"; then
1248 ac_top_srcdir=.
1249 else
1250 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1251 fi ;;
1252 [\\/]* | ?:[\\/]* ) # Absolute path.
1253 ac_srcdir=$srcdir$ac_dir_suffix;
1254 ac_top_srcdir=$srcdir ;;
1255 *) # Relative path.
1256 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1257 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1258 esac
1259
1260 # Do not use `cd foo && pwd` to compute absolute paths, because
1261 # the directories may not exist.
1262 case `pwd` in
1263 .) ac_abs_builddir="$ac_dir";;
1264 *)
1265 case "$ac_dir" in
1266 .) ac_abs_builddir=`pwd`;;
1267 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1268 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1269 esac;;
1270 esac
1271 case $ac_abs_builddir in
1272 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1273 *)
1274 case ${ac_top_builddir}. in
1275 .) ac_abs_top_builddir=$ac_abs_builddir;;
1276 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1277 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1278 esac;;
1279 esac
1280 case $ac_abs_builddir in
1281 .) ac_abs_srcdir=$ac_srcdir;;
1282 *)
1283 case $ac_srcdir in
1284 .) ac_abs_srcdir=$ac_abs_builddir;;
1285 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1286 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1287 esac;;
1288 esac
1289 case $ac_abs_builddir in
1290 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1291 *)
1292 case $ac_top_srcdir in
1293 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1294 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1295 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1296 esac;;
1297 esac
1298
1299 cd $ac_dir
1300 # Check for guested configure; otherwise get Cygnus style configure.
1301 if test -f $ac_srcdir/configure.gnu; then
1302 echo
1303 $SHELL $ac_srcdir/configure.gnu --help=recursive
1304 elif test -f $ac_srcdir/configure; then
1305 echo
1306 $SHELL $ac_srcdir/configure --help=recursive
1307 elif test -f $ac_srcdir/configure.ac ||
1308 test -f $ac_srcdir/configure.in; then
1309 echo
1310 $ac_configure --help
1311 else
1312 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1313 fi
1314 cd "$ac_popdir"
1315 done
1316 fi
1317
1318 test -n "$ac_init_help" && exit 0
1319 if $ac_init_version; then
1320 cat <<\_ACEOF
1321 wxWidgets configure 2.7.0
1322 generated by GNU Autoconf 2.59
1323
1324 Copyright (C) 2003 Free Software Foundation, Inc.
1325 This configure script is free software; the Free Software Foundation
1326 gives unlimited permission to copy, distribute and modify it.
1327 _ACEOF
1328 exit 0
1329 fi
1330 exec 5>config.log
1331 cat >&5 <<_ACEOF
1332 This file contains any messages produced by compilers while
1333 running configure, to aid debugging if configure makes a mistake.
1334
1335 It was created by wxWidgets $as_me 2.7.0, which was
1336 generated by GNU Autoconf 2.59. Invocation command line was
1337
1338 $ $0 $@
1339
1340 _ACEOF
1341 {
1342 cat <<_ASUNAME
1343 ## --------- ##
1344 ## Platform. ##
1345 ## --------- ##
1346
1347 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1348 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1349 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1350 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1351 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1352
1353 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1354 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1355
1356 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1357 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1358 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1359 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1360 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1361 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1362 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1363
1364 _ASUNAME
1365
1366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367 for as_dir in $PATH
1368 do
1369 IFS=$as_save_IFS
1370 test -z "$as_dir" && as_dir=.
1371 echo "PATH: $as_dir"
1372 done
1373
1374 } >&5
1375
1376 cat >&5 <<_ACEOF
1377
1378
1379 ## ----------- ##
1380 ## Core tests. ##
1381 ## ----------- ##
1382
1383 _ACEOF
1384
1385
1386 # Keep a trace of the command line.
1387 # Strip out --no-create and --no-recursion so they do not pile up.
1388 # Strip out --silent because we don't want to record it for future runs.
1389 # Also quote any args containing shell meta-characters.
1390 # Make two passes to allow for proper duplicate-argument suppression.
1391 ac_configure_args=
1392 ac_configure_args0=
1393 ac_configure_args1=
1394 ac_sep=
1395 ac_must_keep_next=false
1396 for ac_pass in 1 2
1397 do
1398 for ac_arg
1399 do
1400 case $ac_arg in
1401 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1403 | -silent | --silent | --silen | --sile | --sil)
1404 continue ;;
1405 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1406 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1407 esac
1408 case $ac_pass in
1409 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1410 2)
1411 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1412 if test $ac_must_keep_next = true; then
1413 ac_must_keep_next=false # Got value, back to normal.
1414 else
1415 case $ac_arg in
1416 *=* | --config-cache | -C | -disable-* | --disable-* \
1417 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1418 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1419 | -with-* | --with-* | -without-* | --without-* | --x)
1420 case "$ac_configure_args0 " in
1421 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1422 esac
1423 ;;
1424 -* ) ac_must_keep_next=true ;;
1425 esac
1426 fi
1427 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1428 # Get rid of the leading space.
1429 ac_sep=" "
1430 ;;
1431 esac
1432 done
1433 done
1434 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1435 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1436
1437 # When interrupted or exit'd, cleanup temporary files, and complete
1438 # config.log. We remove comments because anyway the quotes in there
1439 # would cause problems or look ugly.
1440 # WARNING: Be sure not to use single quotes in there, as some shells,
1441 # such as our DU 5.0 friend, will then `close' the trap.
1442 trap 'exit_status=$?
1443 # Save into config.log some information that might help in debugging.
1444 {
1445 echo
1446
1447 cat <<\_ASBOX
1448 ## ---------------- ##
1449 ## Cache variables. ##
1450 ## ---------------- ##
1451 _ASBOX
1452 echo
1453 # The following way of writing the cache mishandles newlines in values,
1454 {
1455 (set) 2>&1 |
1456 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1457 *ac_space=\ *)
1458 sed -n \
1459 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1461 ;;
1462 *)
1463 sed -n \
1464 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1465 ;;
1466 esac;
1467 }
1468 echo
1469
1470 cat <<\_ASBOX
1471 ## ----------------- ##
1472 ## Output variables. ##
1473 ## ----------------- ##
1474 _ASBOX
1475 echo
1476 for ac_var in $ac_subst_vars
1477 do
1478 eval ac_val=$`echo $ac_var`
1479 echo "$ac_var='"'"'$ac_val'"'"'"
1480 done | sort
1481 echo
1482
1483 if test -n "$ac_subst_files"; then
1484 cat <<\_ASBOX
1485 ## ------------- ##
1486 ## Output files. ##
1487 ## ------------- ##
1488 _ASBOX
1489 echo
1490 for ac_var in $ac_subst_files
1491 do
1492 eval ac_val=$`echo $ac_var`
1493 echo "$ac_var='"'"'$ac_val'"'"'"
1494 done | sort
1495 echo
1496 fi
1497
1498 if test -s confdefs.h; then
1499 cat <<\_ASBOX
1500 ## ----------- ##
1501 ## confdefs.h. ##
1502 ## ----------- ##
1503 _ASBOX
1504 echo
1505 sed "/^$/d" confdefs.h | sort
1506 echo
1507 fi
1508 test "$ac_signal" != 0 &&
1509 echo "$as_me: caught signal $ac_signal"
1510 echo "$as_me: exit $exit_status"
1511 } >&5
1512 rm -f core *.core &&
1513 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1514 exit $exit_status
1515 ' 0
1516 for ac_signal in 1 2 13 15; do
1517 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1518 done
1519 ac_signal=0
1520
1521 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1522 rm -rf conftest* confdefs.h
1523 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1524 echo >confdefs.h
1525
1526 # Predefined preprocessor variables.
1527
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_NAME "$PACKAGE_NAME"
1530 _ACEOF
1531
1532
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1535 _ACEOF
1536
1537
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1540 _ACEOF
1541
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_STRING "$PACKAGE_STRING"
1545 _ACEOF
1546
1547
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550 _ACEOF
1551
1552
1553 # Let the site file select an alternate cache file if it wants to.
1554 # Prefer explicitly selected file to automatically selected ones.
1555 if test -z "$CONFIG_SITE"; then
1556 if test "x$prefix" != xNONE; then
1557 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1558 else
1559 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1560 fi
1561 fi
1562 for ac_site_file in $CONFIG_SITE; do
1563 if test -r "$ac_site_file"; then
1564 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1565 echo "$as_me: loading site script $ac_site_file" >&6;}
1566 sed 's/^/| /' "$ac_site_file" >&5
1567 . "$ac_site_file"
1568 fi
1569 done
1570
1571 if test -r "$cache_file"; then
1572 # Some versions of bash will fail to source /dev/null (special
1573 # files actually), so we avoid doing that.
1574 if test -f "$cache_file"; then
1575 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1576 echo "$as_me: loading cache $cache_file" >&6;}
1577 case $cache_file in
1578 [\\/]* | ?:[\\/]* ) . $cache_file;;
1579 *) . ./$cache_file;;
1580 esac
1581 fi
1582 else
1583 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1584 echo "$as_me: creating cache $cache_file" >&6;}
1585 >$cache_file
1586 fi
1587
1588 # Check that the precious variables saved in the cache have kept the same
1589 # value.
1590 ac_cache_corrupted=false
1591 for ac_var in `(set) 2>&1 |
1592 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1593 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1594 eval ac_new_set=\$ac_env_${ac_var}_set
1595 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1596 eval ac_new_val="\$ac_env_${ac_var}_value"
1597 case $ac_old_set,$ac_new_set in
1598 set,)
1599 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1600 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1601 ac_cache_corrupted=: ;;
1602 ,set)
1603 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1604 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1605 ac_cache_corrupted=: ;;
1606 ,);;
1607 *)
1608 if test "x$ac_old_val" != "x$ac_new_val"; then
1609 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1610 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1611 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1612 echo "$as_me: former value: $ac_old_val" >&2;}
1613 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1614 echo "$as_me: current value: $ac_new_val" >&2;}
1615 ac_cache_corrupted=:
1616 fi;;
1617 esac
1618 # Pass precious variables to config.status.
1619 if test "$ac_new_set" = set; then
1620 case $ac_new_val in
1621 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1622 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1623 *) ac_arg=$ac_var=$ac_new_val ;;
1624 esac
1625 case " $ac_configure_args " in
1626 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1627 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1628 esac
1629 fi
1630 done
1631 if $ac_cache_corrupted; then
1632 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1633 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1634 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1635 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1636 { (exit 1); exit 1; }; }
1637 fi
1638
1639 ac_ext=c
1640 ac_cpp='$CPP $CPPFLAGS'
1641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674 ac_aux_dir=
1675 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1676 if test -f $ac_dir/install-sh; then
1677 ac_aux_dir=$ac_dir
1678 ac_install_sh="$ac_aux_dir/install-sh -c"
1679 break
1680 elif test -f $ac_dir/install.sh; then
1681 ac_aux_dir=$ac_dir
1682 ac_install_sh="$ac_aux_dir/install.sh -c"
1683 break
1684 elif test -f $ac_dir/shtool; then
1685 ac_aux_dir=$ac_dir
1686 ac_install_sh="$ac_aux_dir/shtool install -c"
1687 break
1688 fi
1689 done
1690 if test -z "$ac_aux_dir"; then
1691 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1692 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1693 { (exit 1); exit 1; }; }
1694 fi
1695 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1696 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1697 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1698
1699 # Make sure we can run config.sub.
1700 $ac_config_sub sun4 >/dev/null 2>&1 ||
1701 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1702 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1703 { (exit 1); exit 1; }; }
1704
1705 echo "$as_me:$LINENO: checking build system type" >&5
1706 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1707 if test "${ac_cv_build+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 else
1710 ac_cv_build_alias=$build_alias
1711 test -z "$ac_cv_build_alias" &&
1712 ac_cv_build_alias=`$ac_config_guess`
1713 test -z "$ac_cv_build_alias" &&
1714 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1715 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1716 { (exit 1); exit 1; }; }
1717 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1718 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1719 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1720 { (exit 1); exit 1; }; }
1721
1722 fi
1723 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1724 echo "${ECHO_T}$ac_cv_build" >&6
1725 build=$ac_cv_build
1726 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1727 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1728 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729
1730
1731 echo "$as_me:$LINENO: checking host system type" >&5
1732 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1733 if test "${ac_cv_host+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 else
1736 ac_cv_host_alias=$host_alias
1737 test -z "$ac_cv_host_alias" &&
1738 ac_cv_host_alias=$ac_cv_build_alias
1739 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1740 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1741 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1742 { (exit 1); exit 1; }; }
1743
1744 fi
1745 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1746 echo "${ECHO_T}$ac_cv_host" >&6
1747 host=$ac_cv_host
1748 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1749 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1750 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1751
1752
1753 echo "$as_me:$LINENO: checking target system type" >&5
1754 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1755 if test "${ac_cv_target+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758 ac_cv_target_alias=$target_alias
1759 test "x$ac_cv_target_alias" = "x" &&
1760 ac_cv_target_alias=$ac_cv_host_alias
1761 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1762 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1763 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1764 { (exit 1); exit 1; }; }
1765
1766 fi
1767 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1768 echo "${ECHO_T}$ac_cv_target" >&6
1769 target=$ac_cv_target
1770 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1771 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1772 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1773
1774
1775 # The aliases save the names the user supplied, while $host etc.
1776 # will get canonicalized.
1777 test -n "$target_alias" &&
1778 test "$program_prefix$program_suffix$program_transform_name" = \
1779 NONENONEs,x,x, &&
1780 program_prefix=${target_alias}-
1781
1782
1783
1784 wx_major_version_number=2
1785 wx_minor_version_number=7
1786 wx_release_number=0
1787 wx_subrelease_number=1
1788
1789 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1790 WX_VERSION=$WX_RELEASE.$wx_release_number
1791 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1792
1793 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1794
1795
1796
1797
1798 USE_UNIX=1
1799 USE_OS2=0
1800 USE_WIN32=0
1801 USE_DOS=0
1802 USE_BEOS=0
1803 USE_MAC=0
1804
1805 USE_AIX=
1806 USE_BSD= USE_DARWIN= USE_FREEBSD=
1807 USE_GNU= USE_HPUX=
1808 USE_LINUX=
1809 USE_NETBSD=
1810 USE_OPENBSD=
1811 USE_OSF= USE_SGI=
1812 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1813 USE_ULTRIX=
1814 USE_UNIXWARE=
1815
1816 USE_ALPHA=
1817
1818 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1819
1820 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1821
1822 DEFAULT_wxUSE_COCOA=0
1823 DEFAULT_wxUSE_GTK=0
1824 DEFAULT_wxUSE_MAC=0
1825 DEFAULT_wxUSE_MGL=0
1826 DEFAULT_wxUSE_MICROWIN=0
1827 DEFAULT_wxUSE_MOTIF=0
1828 DEFAULT_wxUSE_MSW=0
1829 DEFAULT_wxUSE_PM=0
1830 DEFAULT_wxUSE_X11=0
1831 DEFAULT_wxUSE_DFB=0
1832
1833 DEFAULT_DEFAULT_wxUSE_COCOA=0
1834 DEFAULT_DEFAULT_wxUSE_GTK=0
1835 DEFAULT_DEFAULT_wxUSE_MAC=0
1836 DEFAULT_DEFAULT_wxUSE_MGL=0
1837 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1839 DEFAULT_DEFAULT_wxUSE_MSW=0
1840 DEFAULT_DEFAULT_wxUSE_PM=0
1841 DEFAULT_DEFAULT_wxUSE_X11=0
1842 DEFAULT_DEFAULT_wxUSE_DFB=0
1843
1844 PROGRAM_EXT=
1845 SO_SUFFIX=so
1846 SAMPLES_RPATH_FLAG=
1847 SAMPLES_RPATH_POSTLINK=
1848
1849 DEFAULT_STD_FLAG=yes
1850
1851 case "${host}" in
1852 *-hp-hpux* )
1853 USE_HPUX=1
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1855 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1856 SO_SUFFIX=sl
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __HPUX__ 1
1859 _ACEOF
1860
1861
1862 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1863 ;;
1864 *-*-linux* )
1865 USE_LINUX=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __LINUX__ 1
1868 _ACEOF
1869
1870 TMP=`uname -m`
1871 if test "x$TMP" = "xalpha"; then
1872 USE_ALPHA=1
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __ALPHA__ 1
1875 _ACEOF
1876
1877 fi
1878 DEFAULT_DEFAULT_wxUSE_GTK=1
1879 ;;
1880 *-*-gnu* | *-*-k*bsd*-gnu )
1881 USE_GNU=1
1882 TMP=`uname -m`
1883 if test "x$TMP" = "xalpha"; then
1884 USE_ALPHA=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __ALPHA__ 1
1887 _ACEOF
1888
1889 fi
1890 DEFAULT_DEFAULT_wxUSE_GTK=1
1891 ;;
1892 *-*-irix5* | *-*-irix6* )
1893 USE_SGI=1
1894 USE_SVR4=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __SGI__ 1
1897 _ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __SVR4__ 1
1901 _ACEOF
1902
1903 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1904 ;;
1905 *-*-solaris2* )
1906 USE_SUN=1
1907 USE_SOLARIS=1
1908 USE_SVR4=1
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __SUN__ 1
1911 _ACEOF
1912
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __SOLARIS__ 1
1915 _ACEOF
1916
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SVR4__ 1
1919 _ACEOF
1920
1921 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1922 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1923 ;;
1924 *-*-sunos4* )
1925 USE_SUN=1
1926 USE_SUNOS=1
1927 USE_BSD=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __SUN__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SUNOS__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __BSD__ 1
1938 _ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1941 ;;
1942 *-*-freebsd*)
1943 USE_BSD=1
1944 USE_FREEBSD=1
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __FREEBSD__ 1
1947 _ACEOF
1948
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __BSD__ 1
1951 _ACEOF
1952
1953 DEFAULT_DEFAULT_wxUSE_GTK=1
1954 ;;
1955 *-*-openbsd*|*-*-mirbsd*)
1956 USE_BSD=1
1957 USE_OPENBSD=1
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __OPENBSD__ 1
1960 _ACEOF
1961
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __BSD__ 1
1964 _ACEOF
1965
1966 DEFAULT_DEFAULT_wxUSE_GTK=1
1967 ;;
1968 *-*-netbsd*)
1969 USE_BSD=1
1970 USE_NETBSD=1
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __NETBSD__ 1
1973 _ACEOF
1974
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __BSD__ 1
1977 _ACEOF
1978
1979 DEFAULT_DEFAULT_wxUSE_GTK=1
1980 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1981
1982 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1983 ;;
1984 *-*-osf* )
1985 USE_ALPHA=1
1986 USE_OSF=1
1987 cat >>confdefs.h <<\_ACEOF
1988 #define __ALPHA__ 1
1989 _ACEOF
1990
1991 cat >>confdefs.h <<\_ACEOF
1992 #define __OSF__ 1
1993 _ACEOF
1994
1995 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1996 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1997 ;;
1998 *-*-dgux5* )
1999 USE_ALPHA=1
2000 USE_SVR4=1
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __ALPHA__ 1
2003 _ACEOF
2004
2005 cat >>confdefs.h <<\_ACEOF
2006 #define __SVR4__ 1
2007 _ACEOF
2008
2009 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2010 ;;
2011 *-*-sysv5* )
2012 USE_SYSV=1
2013 USE_SVR4=1
2014 cat >>confdefs.h <<\_ACEOF
2015 #define __SYSV__ 1
2016 _ACEOF
2017
2018 cat >>confdefs.h <<\_ACEOF
2019 #define __SVR4__ 1
2020 _ACEOF
2021
2022 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2023 ;;
2024 *-*-aix* )
2025 USE_AIX=1
2026 USE_SYSV=1
2027 USE_SVR4=1
2028 SO_SUFFIX=a
2029 cat >>confdefs.h <<\_ACEOF
2030 #define __AIX__ 1
2031 _ACEOF
2032
2033 cat >>confdefs.h <<\_ACEOF
2034 #define __SYSV__ 1
2035 _ACEOF
2036
2037 cat >>confdefs.h <<\_ACEOF
2038 #define __SVR4__ 1
2039 _ACEOF
2040
2041 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2042 ;;
2043
2044 *-*-*UnixWare*)
2045 USE_SYSV=1
2046 USE_SVR4=1
2047 USE_UNIXWARE=1
2048 cat >>confdefs.h <<\_ACEOF
2049 #define __UNIXWARE__ 1
2050 _ACEOF
2051
2052 ;;
2053
2054 *-*-cygwin* | *-*-mingw32* )
2055 SO_SUFFIX=dll
2056 PROGRAM_EXT=".exe"
2057 DEFAULT_DEFAULT_wxUSE_MSW=1
2058 DEFAULT_STD_FLAG=no
2059 ;;
2060
2061 *-pc-msdosdjgpp )
2062 USE_UNIX=0
2063 USE_DOS=1
2064 cat >>confdefs.h <<\_ACEOF
2065 #define __DOS__ 1
2066 _ACEOF
2067
2068 PROGRAM_EXT=".exe"
2069 DEFAULT_DEFAULT_wxUSE_MGL=1
2070 ;;
2071
2072 *-pc-os2_emx | *-pc-os2-emx )
2073 cat >>confdefs.h <<\_ACEOF
2074 #define __EMX__ 1
2075 _ACEOF
2076
2077 USE_OS2=1
2078 cat >>confdefs.h <<\_ACEOF
2079 #define __OS2__ 1
2080 _ACEOF
2081
2082 PROGRAM_EXT=".exe"
2083 DEFAULT_DEFAULT_wxUSE_PM=1
2084 CXX=gcc
2085 LDFLAGS="$LDFLAGS -Zcrtdll"
2086 ac_executable_extensions=".exe"
2087 export ac_executable_extensions
2088 ac_save_IFS="$IFS"
2089 IFS='\\'
2090 ac_TEMP_PATH=
2091 for ac_dir in $PATH; do
2092 IFS=$ac_save_IFS
2093 if test -z "$ac_TEMP_PATH"; then
2094 ac_TEMP_PATH="$ac_dir"
2095 else
2096 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2097 fi
2098 done
2099 export PATH="$ac_TEMP_PATH"
2100 unset ac_TEMP_PATH
2101 DEFAULT_STD_FLAG=no
2102 ;;
2103
2104 *-*-darwin* )
2105 USE_BSD=1
2106 USE_DARWIN=1
2107 SO_SUFFIX=dylib
2108 cat >>confdefs.h <<\_ACEOF
2109 #define __BSD__ 1
2110 _ACEOF
2111
2112 cat >>confdefs.h <<\_ACEOF
2113 #define __DARWIN__ 1
2114 _ACEOF
2115
2116 cat >>confdefs.h <<\_ACEOF
2117 #define TARGET_CARBON 1
2118 _ACEOF
2119
2120 DEFAULT_DEFAULT_wxUSE_MAC=1
2121 DEFAULT_STD_FLAG=no
2122 ;;
2123 powerpc-apple-macos* )
2124 USE_UNIX=0
2125 ac_cv_c_bigendian=yes
2126 SO_SUFFIX=shlib
2127 DEFAULT_DEFAULT_wxUSE_MAC=1
2128 DEFAULT_STD_FLAG=no
2129 ;;
2130
2131 *-*-beos* )
2132 USE_BEOS=1
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __BEOS__ 1
2135 _ACEOF
2136
2137 ;;
2138
2139 *)
2140 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2141 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2142 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2143 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2144
2145 DEFAULT_DEFAULT_wxUSE_X11=1
2146 DEFAULT_wxUSE_SHARED=no
2147 esac
2148
2149
2150
2151
2152 wx_arg_cache_file="configarg.cache"
2153 echo "loading argument cache $wx_arg_cache_file"
2154 rm -f ${wx_arg_cache_file}.tmp
2155 touch ${wx_arg_cache_file}.tmp
2156 touch ${wx_arg_cache_file}
2157
2158
2159 DEBUG_CONFIGURE=0
2160 if test $DEBUG_CONFIGURE = 1; then
2161 DEFAULT_wxUSE_UNIVERSAL=no
2162 DEFAULT_wxUSE_STL=no
2163
2164 DEFAULT_wxUSE_NANOX=no
2165
2166 DEFAULT_wxUSE_THREADS=yes
2167
2168 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2169 DEFAULT_wxUSE_OPTIMISE=no
2170 DEFAULT_wxUSE_PROFILE=no
2171 DEFAULT_wxUSE_NO_DEPS=no
2172 DEFAULT_wxUSE_NO_RTTI=no
2173 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2174 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2175 DEFAULT_wxUSE_RPATH=yes
2176 DEFAULT_wxUSE_PERMISSIVE=no
2177 DEFAULT_wxUSE_DEBUG_FLAG=yes
2178 DEFAULT_wxUSE_DEBUG_INFO=yes
2179 DEFAULT_wxUSE_DEBUG_GDB=yes
2180 DEFAULT_wxUSE_MEM_TRACING=no
2181 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2182 DEFAULT_wxUSE_DMALLOC=no
2183 DEFAULT_wxUSE_APPLE_IEEE=no
2184
2185 DEFAULT_wxUSE_EXCEPTIONS=no
2186 DEFAULT_wxUSE_LOG=yes
2187 DEFAULT_wxUSE_LOGWINDOW=no
2188 DEFAULT_wxUSE_LOGGUI=no
2189 DEFAULT_wxUSE_LOGDIALOG=no
2190
2191 DEFAULT_wxUSE_GUI=yes
2192 DEFAULT_wxUSE_CONTROLS=no
2193
2194 DEFAULT_wxUSE_REGEX=no
2195 DEFAULT_wxUSE_XML=no
2196 DEFAULT_wxUSE_EXPAT=no
2197 DEFAULT_wxUSE_ZLIB=no
2198 DEFAULT_wxUSE_LIBPNG=no
2199 DEFAULT_wxUSE_LIBJPEG=no
2200 DEFAULT_wxUSE_LIBTIFF=no
2201 DEFAULT_wxUSE_LIBXPM=no
2202 DEFAULT_wxUSE_LIBMSPACK=no
2203 DEFAULT_wxUSE_LIBSDL=no
2204 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2205 DEFAULT_wxUSE_LIBGNOMEVFS=no
2206 DEFAULT_wxUSE_LIBHILDON=no
2207 DEFAULT_wxUSE_ODBC=no
2208 DEFAULT_wxUSE_OPENGL=no
2209
2210 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2211 DEFAULT_wxUSE_STACKWALKER=no
2212 DEFAULT_wxUSE_DEBUGREPORT=no
2213 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2214 DEFAULT_wxUSE_STD_IOSTREAM=no
2215 DEFAULT_wxUSE_STD_STRING=no
2216 DEFAULT_wxUSE_CMDLINE_PARSER=no
2217 DEFAULT_wxUSE_DATETIME=no
2218 DEFAULT_wxUSE_TIMER=no
2219 DEFAULT_wxUSE_STOPWATCH=no
2220 DEFAULT_wxUSE_FILE=no
2221 DEFAULT_wxUSE_FFILE=no
2222 DEFAULT_wxUSE_STDPATHS=no
2223 DEFAULT_wxUSE_TEXTBUFFER=no
2224 DEFAULT_wxUSE_TEXTFILE=no
2225 DEFAULT_wxUSE_SOUND=no
2226 DEFAULT_wxUSE_MEDIACTRL=no
2227 DEFAULT_wxUSE_GSTREAMER8=no
2228 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2229 DEFAULT_wxUSE_INTL=no
2230 DEFAULT_wxUSE_CONFIG=no
2231 DEFAULT_wxUSE_FONTMAP=no
2232 DEFAULT_wxUSE_STREAMS=no
2233 DEFAULT_wxUSE_SOCKETS=no
2234 DEFAULT_wxUSE_OLE=no
2235 DEFAULT_wxUSE_DATAOBJ=no
2236 DEFAULT_wxUSE_DIALUP_MANAGER=no
2237 DEFAULT_wxUSE_JOYSTICK=no
2238 DEFAULT_wxUSE_DYNLIB_CLASS=no
2239 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2240 DEFAULT_wxUSE_LONGLONG=no
2241 DEFAULT_wxUSE_GEOMETRY=no
2242
2243 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2244 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2245 DEFAULT_wxUSE_POSTSCRIPT=no
2246
2247 DEFAULT_wxUSE_CLIPBOARD=no
2248 DEFAULT_wxUSE_TOOLTIPS=no
2249 DEFAULT_wxUSE_DRAG_AND_DROP=no
2250 DEFAULT_wxUSE_DRAGIMAGE=no
2251 DEFAULT_wxUSE_SPLINES=no
2252 DEFAULT_wxUSE_MOUSEWHEEL=no
2253
2254 DEFAULT_wxUSE_MDI=no
2255 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2256 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2257 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2258
2259 DEFAULT_wxUSE_RESOURCES=no
2260 DEFAULT_wxUSE_CONSTRAINTS=no
2261 DEFAULT_wxUSE_IPC=no
2262 DEFAULT_wxUSE_HELP=no
2263 DEFAULT_wxUSE_MS_HTML_HELP=no
2264 DEFAULT_wxUSE_WXHTML_HELP=no
2265 DEFAULT_wxUSE_TREELAYOUT=no
2266 DEFAULT_wxUSE_METAFILE=no
2267 DEFAULT_wxUSE_MIMETYPE=no
2268 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2269 DEFAULT_wxUSE_PROTOCOL=no
2270 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2271 DEFAULT_wxUSE_PROTOCOL_FTP=no
2272 DEFAULT_wxUSE_PROTOCOL_FILE=no
2273 DEFAULT_wxUSE_URL=no
2274 DEFAULT_wxUSE_VARIANT=no
2275
2276 DEFAULT_wxUSE_COMMONDLGS=no
2277 DEFAULT_wxUSE_CHOICEDLG=no
2278 DEFAULT_wxUSE_COLOURDLG=no
2279 DEFAULT_wxUSE_DIRDLG=no
2280 DEFAULT_wxUSE_FILEDLG=no
2281 DEFAULT_wxUSE_FINDREPLDLG=no
2282 DEFAULT_wxUSE_FONTDLG=no
2283 DEFAULT_wxUSE_MSGDLG=no
2284 DEFAULT_wxUSE_NUMBERDLG=no
2285 DEFAULT_wxUSE_TEXTDLG=no
2286 DEFAULT_wxUSE_SPLASH=no
2287 DEFAULT_wxUSE_STARTUP_TIPS=no
2288 DEFAULT_wxUSE_PROGRESSDLG=no
2289 DEFAULT_wxUSE_WIZARDDLG=no
2290
2291 DEFAULT_wxUSE_MENUS=no
2292 DEFAULT_wxUSE_MINIFRAME=no
2293 DEFAULT_wxUSE_HTML=no
2294 DEFAULT_wxUSE_RICHTEXT=no
2295 DEFAULT_wxUSE_XRC=no
2296 DEFAULT_wxUSE_AUI=no
2297 DEFAULT_wxUSE_WEBKIT=no
2298 DEFAULT_wxUSE_FILESYSTEM=no
2299 DEFAULT_wxUSE_FS_INET=no
2300 DEFAULT_wxUSE_FS_ZIP=no
2301 DEFAULT_wxUSE_BUSYINFO=no
2302 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2303 DEFAULT_wxUSE_ZIPSTREAM=no
2304 DEFAULT_wxUSE_VALIDATORS=no
2305
2306 DEFAULT_wxUSE_ACCEL=no
2307 DEFAULT_wxUSE_BUTTON=no
2308 DEFAULT_wxUSE_BMPBUTTON=no
2309 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2310 DEFAULT_wxUSE_CALCTRL=no
2311 DEFAULT_wxUSE_CARET=no
2312 DEFAULT_wxUSE_CHECKBOX=no
2313 DEFAULT_wxUSE_CHECKLST=no
2314 DEFAULT_wxUSE_CHOICE=no
2315 DEFAULT_wxUSE_CHOICEBOOK=no
2316 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2317 DEFAULT_wxUSE_COMBOBOX=no
2318 DEFAULT_wxUSE_COMBOCTRL=no
2319 DEFAULT_wxUSE_DATEPICKCTRL=no
2320 DEFAULT_wxUSE_DISPLAY=no
2321 DEFAULT_wxUSE_DIRPICKERCTRL=no
2322 DEFAULT_wxUSE_FILEPICKERCTRL=no
2323 DEFAULT_wxUSE_FONTPICKERCTRL=no
2324 DEFAULT_wxUSE_GAUGE=no
2325 DEFAULT_wxUSE_GRID=no
2326 DEFAULT_wxUSE_HYPERLINKCTRL=no
2327 DEFAULT_wxUSE_DATAVIEWCTRL=no
2328 DEFAULT_wxUSE_IMAGLIST=no
2329 DEFAULT_wxUSE_LISTBOOK=no
2330 DEFAULT_wxUSE_LISTBOX=no
2331 DEFAULT_wxUSE_LISTCTRL=no
2332 DEFAULT_wxUSE_NOTEBOOK=no
2333 DEFAULT_wxUSE_ODCOMBOBOX=no
2334 DEFAULT_wxUSE_RADIOBOX=no
2335 DEFAULT_wxUSE_RADIOBTN=no
2336 DEFAULT_wxUSE_SASH=no
2337 DEFAULT_wxUSE_SCROLLBAR=no
2338 DEFAULT_wxUSE_SLIDER=no
2339 DEFAULT_wxUSE_SPINBTN=no
2340 DEFAULT_wxUSE_SPINCTRL=no
2341 DEFAULT_wxUSE_SPLITTER=no
2342 DEFAULT_wxUSE_STATBMP=no
2343 DEFAULT_wxUSE_STATBOX=no
2344 DEFAULT_wxUSE_STATLINE=no
2345 DEFAULT_wxUSE_STATTEXT=no
2346 DEFAULT_wxUSE_STATUSBAR=yes
2347 DEFAULT_wxUSE_TAB_DIALOG=no
2348 DEFAULT_wxUSE_TEXTCTRL=no
2349 DEFAULT_wxUSE_TOGGLEBTN=no
2350 DEFAULT_wxUSE_TOOLBAR=no
2351 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2352 DEFAULT_wxUSE_TREEBOOK=no
2353 DEFAULT_wxUSE_TOOLBOOK=no
2354 DEFAULT_wxUSE_TREECTRL=no
2355 DEFAULT_wxUSE_POPUPWIN=no
2356 DEFAULT_wxUSE_TIPWINDOW=no
2357
2358 DEFAULT_wxUSE_UNICODE=no
2359 DEFAULT_wxUSE_UNICODE_MSLU=no
2360 DEFAULT_wxUSE_WCSRTOMBS=no
2361
2362 DEFAULT_wxUSE_PALETTE=no
2363 DEFAULT_wxUSE_IMAGE=no
2364 DEFAULT_wxUSE_GIF=no
2365 DEFAULT_wxUSE_PCX=no
2366 DEFAULT_wxUSE_PNM=no
2367 DEFAULT_wxUSE_IFF=no
2368 DEFAULT_wxUSE_XPM=no
2369 DEFAULT_wxUSE_ICO_CUR=no
2370 DEFAULT_wxUSE_ACCESSIBILITY=no
2371
2372 DEFAULT_wxUSE_MONOLITHIC=no
2373 DEFAULT_wxUSE_PLUGINS=no
2374 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2375 else
2376 DEFAULT_wxUSE_UNIVERSAL=no
2377 DEFAULT_wxUSE_STL=no
2378
2379 DEFAULT_wxUSE_NANOX=no
2380
2381 DEFAULT_wxUSE_THREADS=yes
2382
2383 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2384 DEFAULT_wxUSE_OPTIMISE=yes
2385 DEFAULT_wxUSE_PROFILE=no
2386 DEFAULT_wxUSE_NO_DEPS=no
2387 DEFAULT_wxUSE_NO_RTTI=no
2388 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2389 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2390 DEFAULT_wxUSE_RPATH=yes
2391 DEFAULT_wxUSE_PERMISSIVE=no
2392 DEFAULT_wxUSE_DEBUG_FLAG=no
2393 DEFAULT_wxUSE_DEBUG_INFO=no
2394 DEFAULT_wxUSE_DEBUG_GDB=no
2395 DEFAULT_wxUSE_MEM_TRACING=no
2396 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2397 DEFAULT_wxUSE_DMALLOC=no
2398 DEFAULT_wxUSE_APPLE_IEEE=yes
2399
2400 DEFAULT_wxUSE_EXCEPTIONS=yes
2401 DEFAULT_wxUSE_LOG=yes
2402 DEFAULT_wxUSE_LOGWINDOW=yes
2403 DEFAULT_wxUSE_LOGGUI=yes
2404 DEFAULT_wxUSE_LOGDIALOG=yes
2405
2406 DEFAULT_wxUSE_GUI=yes
2407
2408 DEFAULT_wxUSE_REGEX=yes
2409 DEFAULT_wxUSE_XML=yes
2410 DEFAULT_wxUSE_EXPAT=yes
2411 DEFAULT_wxUSE_ZLIB=yes
2412 DEFAULT_wxUSE_LIBPNG=yes
2413 DEFAULT_wxUSE_LIBJPEG=yes
2414 DEFAULT_wxUSE_LIBTIFF=yes
2415 DEFAULT_wxUSE_LIBXPM=yes
2416 DEFAULT_wxUSE_LIBMSPACK=yes
2417 DEFAULT_wxUSE_LIBSDL=no
2418 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2419 DEFAULT_wxUSE_LIBGNOMEVFS=no
2420 DEFAULT_wxUSE_LIBHILDON=no
2421 DEFAULT_wxUSE_ODBC=no
2422 DEFAULT_wxUSE_OPENGL=no
2423
2424 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2425 DEFAULT_wxUSE_STACKWALKER=yes
2426 DEFAULT_wxUSE_DEBUGREPORT=yes
2427 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2428 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2429 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2430 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2431 DEFAULT_wxUSE_DATETIME=yes
2432 DEFAULT_wxUSE_TIMER=yes
2433 DEFAULT_wxUSE_STOPWATCH=yes
2434 DEFAULT_wxUSE_FILE=yes
2435 DEFAULT_wxUSE_FFILE=yes
2436 DEFAULT_wxUSE_STDPATHS=yes
2437 DEFAULT_wxUSE_TEXTBUFFER=yes
2438 DEFAULT_wxUSE_TEXTFILE=yes
2439 DEFAULT_wxUSE_SOUND=yes
2440 DEFAULT_wxUSE_MEDIACTRL=no
2441 DEFAULT_wxUSE_GSTREAMER8=no
2442 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2443 DEFAULT_wxUSE_INTL=yes
2444 DEFAULT_wxUSE_CONFIG=yes
2445 DEFAULT_wxUSE_FONTMAP=yes
2446 DEFAULT_wxUSE_STREAMS=yes
2447 DEFAULT_wxUSE_SOCKETS=yes
2448 DEFAULT_wxUSE_OLE=yes
2449 DEFAULT_wxUSE_DATAOBJ=yes
2450 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2451 DEFAULT_wxUSE_JOYSTICK=yes
2452 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2453 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2454 DEFAULT_wxUSE_LONGLONG=yes
2455 DEFAULT_wxUSE_GEOMETRY=yes
2456
2457 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2458 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2459 DEFAULT_wxUSE_POSTSCRIPT=yes
2460
2461 DEFAULT_wxUSE_CLIPBOARD=yes
2462 DEFAULT_wxUSE_TOOLTIPS=yes
2463 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2464 DEFAULT_wxUSE_DRAGIMAGE=yes
2465 DEFAULT_wxUSE_SPLINES=yes
2466 DEFAULT_wxUSE_MOUSEWHEEL=yes
2467
2468 DEFAULT_wxUSE_MDI=yes
2469 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2470 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2471 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2472
2473 DEFAULT_wxUSE_RESOURCES=no
2474 DEFAULT_wxUSE_CONSTRAINTS=yes
2475 DEFAULT_wxUSE_IPC=yes
2476 DEFAULT_wxUSE_HELP=yes
2477 DEFAULT_wxUSE_MS_HTML_HELP=yes
2478 DEFAULT_wxUSE_WXHTML_HELP=yes
2479 DEFAULT_wxUSE_TREELAYOUT=yes
2480 DEFAULT_wxUSE_METAFILE=yes
2481 DEFAULT_wxUSE_MIMETYPE=yes
2482 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2483 DEFAULT_wxUSE_PROTOCOL=yes
2484 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2485 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2486 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2487 DEFAULT_wxUSE_URL=yes
2488 DEFAULT_wxUSE_VARIANT=yes
2489
2490 DEFAULT_wxUSE_COMMONDLGS=yes
2491 DEFAULT_wxUSE_CHOICEDLG=yes
2492 DEFAULT_wxUSE_COLOURDLG=yes
2493 DEFAULT_wxUSE_DIRDLG=yes
2494 DEFAULT_wxUSE_FILEDLG=yes
2495 DEFAULT_wxUSE_FINDREPLDLG=yes
2496 DEFAULT_wxUSE_FONTDLG=yes
2497 DEFAULT_wxUSE_MSGDLG=yes
2498 DEFAULT_wxUSE_NUMBERDLG=yes
2499 DEFAULT_wxUSE_TEXTDLG=yes
2500 DEFAULT_wxUSE_SPLASH=yes
2501 DEFAULT_wxUSE_STARTUP_TIPS=yes
2502 DEFAULT_wxUSE_PROGRESSDLG=yes
2503 DEFAULT_wxUSE_WIZARDDLG=yes
2504
2505 DEFAULT_wxUSE_MENUS=yes
2506 DEFAULT_wxUSE_MINIFRAME=yes
2507 DEFAULT_wxUSE_HTML=yes
2508 DEFAULT_wxUSE_RICHTEXT=yes
2509 DEFAULT_wxUSE_XRC=yes
2510 DEFAULT_wxUSE_AUI=yes
2511 DEFAULT_wxUSE_WEBKIT=yes
2512 DEFAULT_wxUSE_FILESYSTEM=yes
2513 DEFAULT_wxUSE_FS_INET=yes
2514 DEFAULT_wxUSE_FS_ZIP=yes
2515 DEFAULT_wxUSE_BUSYINFO=yes
2516 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2517 DEFAULT_wxUSE_ZIPSTREAM=yes
2518 DEFAULT_wxUSE_VALIDATORS=yes
2519
2520 DEFAULT_wxUSE_ACCEL=yes
2521 DEFAULT_wxUSE_BUTTON=yes
2522 DEFAULT_wxUSE_BMPBUTTON=yes
2523 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2524 DEFAULT_wxUSE_CALCTRL=yes
2525 DEFAULT_wxUSE_CARET=yes
2526 DEFAULT_wxUSE_CHECKBOX=yes
2527 DEFAULT_wxUSE_CHECKLST=yes
2528 DEFAULT_wxUSE_CHOICE=yes
2529 DEFAULT_wxUSE_CHOICEBOOK=yes
2530 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2531 DEFAULT_wxUSE_COMBOBOX=yes
2532 DEFAULT_wxUSE_COMBOCTRL=yes
2533 DEFAULT_wxUSE_DATEPICKCTRL=yes
2534 DEFAULT_wxUSE_DISPLAY=yes
2535 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2536 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2537 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2538 DEFAULT_wxUSE_GAUGE=yes
2539 DEFAULT_wxUSE_GRID=yes
2540 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2541 DEFAULT_wxUSE_DATAVIEWCTRL=no
2542 DEFAULT_wxUSE_IMAGLIST=yes
2543 DEFAULT_wxUSE_LISTBOOK=yes
2544 DEFAULT_wxUSE_LISTBOX=yes
2545 DEFAULT_wxUSE_LISTCTRL=yes
2546 DEFAULT_wxUSE_NOTEBOOK=yes
2547 DEFAULT_wxUSE_ODCOMBOBOX=yes
2548 DEFAULT_wxUSE_RADIOBOX=yes
2549 DEFAULT_wxUSE_RADIOBTN=yes
2550 DEFAULT_wxUSE_SASH=yes
2551 DEFAULT_wxUSE_SCROLLBAR=yes
2552 DEFAULT_wxUSE_SLIDER=yes
2553 DEFAULT_wxUSE_SPINBTN=yes
2554 DEFAULT_wxUSE_SPINCTRL=yes
2555 DEFAULT_wxUSE_SPLITTER=yes
2556 DEFAULT_wxUSE_STATBMP=yes
2557 DEFAULT_wxUSE_STATBOX=yes
2558 DEFAULT_wxUSE_STATLINE=yes
2559 DEFAULT_wxUSE_STATTEXT=yes
2560 DEFAULT_wxUSE_STATUSBAR=yes
2561 DEFAULT_wxUSE_TAB_DIALOG=no
2562 DEFAULT_wxUSE_TEXTCTRL=yes
2563 DEFAULT_wxUSE_TOGGLEBTN=yes
2564 DEFAULT_wxUSE_TOOLBAR=yes
2565 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2566 DEFAULT_wxUSE_TREEBOOK=yes
2567 DEFAULT_wxUSE_TOOLBOOK=yes
2568 DEFAULT_wxUSE_TREECTRL=yes
2569 DEFAULT_wxUSE_POPUPWIN=yes
2570 DEFAULT_wxUSE_TIPWINDOW=yes
2571
2572 DEFAULT_wxUSE_UNICODE=no
2573 DEFAULT_wxUSE_UNICODE_MSLU=yes
2574 DEFAULT_wxUSE_WCSRTOMBS=no
2575
2576 DEFAULT_wxUSE_PALETTE=yes
2577 DEFAULT_wxUSE_IMAGE=yes
2578 DEFAULT_wxUSE_GIF=yes
2579 DEFAULT_wxUSE_PCX=yes
2580 DEFAULT_wxUSE_IFF=no
2581 DEFAULT_wxUSE_PNM=yes
2582 DEFAULT_wxUSE_XPM=yes
2583 DEFAULT_wxUSE_ICO_CUR=yes
2584 DEFAULT_wxUSE_ACCESSIBILITY=no
2585
2586 DEFAULT_wxUSE_MONOLITHIC=no
2587 DEFAULT_wxUSE_PLUGINS=no
2588 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2589
2590 DEFAULT_wxUSE_GTK2=yes
2591 fi
2592
2593
2594
2595
2596 for toolkit in `echo $ALL_TOOLKITS`; do
2597 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2598 if test "x$LINE" != "x" ; then
2599 has_toolkit_in_cache=1
2600 eval "DEFAULT_$LINE"
2601 eval "CACHE_$toolkit=1"
2602
2603 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2604 if test "x$LINE" != "x" ; then
2605 eval "DEFAULT_$LINE"
2606 fi
2607 fi
2608 done
2609
2610
2611
2612 enablestring=
2613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2614 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2615 no_cache=0
2616 # Check whether --enable-gui or --disable-gui was given.
2617 if test "${enable_gui+set}" = set; then
2618 enableval="$enable_gui"
2619
2620 if test "$enableval" = yes; then
2621 ac_cv_use_gui='wxUSE_GUI=yes'
2622 else
2623 ac_cv_use_gui='wxUSE_GUI=no'
2624 fi
2625
2626 else
2627
2628 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2629 if test "x$LINE" != x ; then
2630 eval "DEFAULT_$LINE"
2631 else
2632 no_cache=1
2633 fi
2634
2635 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2636
2637 fi;
2638
2639 eval "$ac_cv_use_gui"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2642 fi
2643
2644 if test "$wxUSE_GUI" = yes; then
2645 echo "$as_me:$LINENO: result: yes" >&5
2646 echo "${ECHO_T}yes" >&6
2647 else
2648 echo "$as_me:$LINENO: result: no" >&5
2649 echo "${ECHO_T}no" >&6
2650 fi
2651
2652
2653 enablestring=
2654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2655 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2656 no_cache=0
2657 # Check whether --enable-monolithic or --disable-monolithic was given.
2658 if test "${enable_monolithic+set}" = set; then
2659 enableval="$enable_monolithic"
2660
2661 if test "$enableval" = yes; then
2662 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2663 else
2664 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2665 fi
2666
2667 else
2668
2669 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x ; then
2671 eval "DEFAULT_$LINE"
2672 else
2673 no_cache=1
2674 fi
2675
2676 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2677
2678 fi;
2679
2680 eval "$ac_cv_use_monolithic"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2683 fi
2684
2685 if test "$wxUSE_MONOLITHIC" = yes; then
2686 echo "$as_me:$LINENO: result: yes" >&5
2687 echo "${ECHO_T}yes" >&6
2688 else
2689 echo "$as_me:$LINENO: result: no" >&5
2690 echo "${ECHO_T}no" >&6
2691 fi
2692
2693
2694 enablestring=
2695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2696 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2697 no_cache=0
2698 # Check whether --enable-plugins or --disable-plugins was given.
2699 if test "${enable_plugins+set}" = set; then
2700 enableval="$enable_plugins"
2701
2702 if test "$enableval" = yes; then
2703 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2704 else
2705 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2706 fi
2707
2708 else
2709
2710 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x ; then
2712 eval "DEFAULT_$LINE"
2713 else
2714 no_cache=1
2715 fi
2716
2717 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2718
2719 fi;
2720
2721 eval "$ac_cv_use_plugins"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2724 fi
2725
2726 if test "$wxUSE_PLUGINS" = yes; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2732 fi
2733
2734
2735 withstring=without
2736 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2737 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2738 no_cache=0
2739
2740 # Check whether --with-subdirs or --without-subdirs was given.
2741 if test "${with_subdirs+set}" = set; then
2742 withval="$with_subdirs"
2743
2744 if test "$withval" = yes; then
2745 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2746 else
2747 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2748 fi
2749
2750 else
2751
2752 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x ; then
2754 eval "DEFAULT_$LINE"
2755 else
2756 no_cache=1
2757 fi
2758
2759 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2760
2761 fi;
2762
2763 eval "$ac_cv_use_subdirs"
2764 if test "$no_cache" != 1; then
2765 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2766 fi
2767
2768 if test "$wxWITH_SUBDIRS" = yes; then
2769 echo "$as_me:$LINENO: result: yes" >&5
2770 echo "${ECHO_T}yes" >&6
2771 else
2772 echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6
2774 fi
2775
2776
2777 if test "$wxUSE_GUI" = "yes"; then
2778
2779
2780 enablestring=
2781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2782 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2783 no_cache=0
2784 # Check whether --enable-universal or --disable-universal was given.
2785 if test "${enable_universal+set}" = set; then
2786 enableval="$enable_universal"
2787
2788 if test "$enableval" = yes; then
2789 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2790 else
2791 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2792 fi
2793
2794 else
2795
2796 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x ; then
2798 eval "DEFAULT_$LINE"
2799 else
2800 no_cache=1
2801 fi
2802
2803 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2804
2805 fi;
2806
2807 eval "$ac_cv_use_universal"
2808 if test "$no_cache" != 1; then
2809 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2810 fi
2811
2812 if test "$wxUSE_UNIVERSAL" = yes; then
2813 echo "$as_me:$LINENO: result: yes" >&5
2814 echo "${ECHO_T}yes" >&6
2815 else
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2818 fi
2819
2820
2821 # Check whether --with-gtk or --without-gtk was given.
2822 if test "${with_gtk+set}" = set; then
2823 withval="$with_gtk"
2824 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2825 fi;
2826
2827 # Check whether --with-motif or --without-motif was given.
2828 if test "${with_motif+set}" = set; then
2829 withval="$with_motif"
2830 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2831 fi;
2832
2833 # Check whether --with-mac or --without-mac was given.
2834 if test "${with_mac+set}" = set; then
2835 withval="$with_mac"
2836 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2837 fi;
2838
2839 # Check whether --with-cocoa or --without-cocoa was given.
2840 if test "${with_cocoa+set}" = set; then
2841 withval="$with_cocoa"
2842 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2843 fi;
2844
2845 # Check whether --with-wine or --without-wine was given.
2846 if test "${with_wine+set}" = set; then
2847 withval="$with_wine"
2848 wxUSE_WINE="$withval" CACHE_WINE=1
2849 fi;
2850
2851 # Check whether --with-msw or --without-msw was given.
2852 if test "${with_msw+set}" = set; then
2853 withval="$with_msw"
2854 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2855 fi;
2856
2857 # Check whether --with-pm or --without-pm was given.
2858 if test "${with_pm+set}" = set; then
2859 withval="$with_pm"
2860 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-mgl or --without-mgl was given.
2864 if test "${with_mgl+set}" = set; then
2865 withval="$with_mgl"
2866 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-directfb or --without-directfb was given.
2870 if test "${with_directfb+set}" = set; then
2871 withval="$with_directfb"
2872 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-microwin or --without-microwin was given.
2876 if test "${with_microwin+set}" = set; then
2877 withval="$with_microwin"
2878 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-x11 or --without-x11 was given.
2882 if test "${with_x11+set}" = set; then
2883 withval="$with_x11"
2884 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 enablestring=
2888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2889 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2890 no_cache=0
2891 # Check whether --enable-nanox or --disable-nanox was given.
2892 if test "${enable_nanox+set}" = set; then
2893 enableval="$enable_nanox"
2894
2895 if test "$enableval" = yes; then
2896 ac_cv_use_nanox='wxUSE_NANOX=yes'
2897 else
2898 ac_cv_use_nanox='wxUSE_NANOX=no'
2899 fi
2900
2901 else
2902
2903 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x ; then
2905 eval "DEFAULT_$LINE"
2906 else
2907 no_cache=1
2908 fi
2909
2910 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2911
2912 fi;
2913
2914 eval "$ac_cv_use_nanox"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2917 fi
2918
2919 if test "$wxUSE_NANOX" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 else
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 fi
2926
2927
2928 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2929 if test "${enable_gtk2+set}" = set; then
2930 enableval="$enable_gtk2"
2931 wxUSE_GTK2="$enableval"
2932 fi;
2933
2934 enablestring=
2935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2936 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2937 no_cache=0
2938 # Check whether --enable-gpe or --disable-gpe was given.
2939 if test "${enable_gpe+set}" = set; then
2940 enableval="$enable_gpe"
2941
2942 if test "$enableval" = yes; then
2943 ac_cv_use_gpe='wxUSE_GPE=yes'
2944 else
2945 ac_cv_use_gpe='wxUSE_GPE=no'
2946 fi
2947
2948 else
2949
2950 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2953 else
2954 no_cache=1
2955 fi
2956
2957 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2958
2959 fi;
2960
2961 eval "$ac_cv_use_gpe"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2964 fi
2965
2966 if test "$wxUSE_GPE" = yes; then
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2969 else
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2972 fi
2973
2974
2975
2976 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2977 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2978 no_cache=0
2979
2980 # Check whether --with-libpng or --without-libpng was given.
2981 if test "${with_libpng+set}" = set; then
2982 withval="$with_libpng"
2983
2984 if test "$withval" = yes; then
2985 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2986 elif test "$withval" = no; then
2987 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2988 elif test "$withval" = sys; then
2989 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2990 elif test "$withval" = builtin; then
2991 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2992 else
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2996 fi
2997
2998 else
2999
3000 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3003 else
3004 no_cache=1
3005 fi
3006
3007 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3008
3009 fi;
3010
3011 eval "$ac_cv_use_libpng"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3014 fi
3015
3016 if test "$wxUSE_LIBPNG" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3019 elif test "$wxUSE_LIBPNG" = no; then
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3022 elif test "$wxUSE_LIBPNG" = sys; then
3023 echo "$as_me:$LINENO: result: system version" >&5
3024 echo "${ECHO_T}system version" >&6
3025 elif test "$wxUSE_LIBPNG" = builtin; then
3026 echo "$as_me:$LINENO: result: builtin version" >&5
3027 echo "${ECHO_T}builtin version" >&6
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
3035 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3036 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3037 no_cache=0
3038
3039 # Check whether --with-libjpeg or --without-libjpeg was given.
3040 if test "${with_libjpeg+set}" = set; then
3041 withval="$with_libjpeg"
3042
3043 if test "$withval" = yes; then
3044 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3045 elif test "$withval" = no; then
3046 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3047 elif test "$withval" = sys; then
3048 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3049 elif test "$withval" = builtin; then
3050 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3051 else
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3055 fi
3056
3057 else
3058
3059 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3062 else
3063 no_cache=1
3064 fi
3065
3066 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3067
3068 fi;
3069
3070 eval "$ac_cv_use_libjpeg"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3073 fi
3074
3075 if test "$wxUSE_LIBJPEG" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 elif test "$wxUSE_LIBJPEG" = no; then
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 elif test "$wxUSE_LIBJPEG" = sys; then
3082 echo "$as_me:$LINENO: result: system version" >&5
3083 echo "${ECHO_T}system version" >&6
3084 elif test "$wxUSE_LIBJPEG" = builtin; then
3085 echo "$as_me:$LINENO: result: builtin version" >&5
3086 echo "${ECHO_T}builtin version" >&6
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
3094 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3095 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3096 no_cache=0
3097
3098 # Check whether --with-libtiff or --without-libtiff was given.
3099 if test "${with_libtiff+set}" = set; then
3100 withval="$with_libtiff"
3101
3102 if test "$withval" = yes; then
3103 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3104 elif test "$withval" = no; then
3105 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3106 elif test "$withval" = sys; then
3107 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3108 elif test "$withval" = builtin; then
3109 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3110 else
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3114 fi
3115
3116 else
3117
3118 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3121 else
3122 no_cache=1
3123 fi
3124
3125 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3126
3127 fi;
3128
3129 eval "$ac_cv_use_libtiff"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3132 fi
3133
3134 if test "$wxUSE_LIBTIFF" = yes; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3137 elif test "$wxUSE_LIBTIFF" = no; then
3138 echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3140 elif test "$wxUSE_LIBTIFF" = sys; then
3141 echo "$as_me:$LINENO: result: system version" >&5
3142 echo "${ECHO_T}system version" >&6
3143 elif test "$wxUSE_LIBTIFF" = builtin; then
3144 echo "$as_me:$LINENO: result: builtin version" >&5
3145 echo "${ECHO_T}builtin version" >&6
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
3153 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3154 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3155 no_cache=0
3156
3157 # Check whether --with-libxpm or --without-libxpm was given.
3158 if test "${with_libxpm+set}" = set; then
3159 withval="$with_libxpm"
3160
3161 if test "$withval" = yes; then
3162 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3163 elif test "$withval" = no; then
3164 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3165 elif test "$withval" = sys; then
3166 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3167 elif test "$withval" = builtin; then
3168 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3169 else
3170 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3171 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3172 { (exit 1); exit 1; }; }
3173 fi
3174
3175 else
3176
3177 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x ; then
3179 eval "DEFAULT_$LINE"
3180 else
3181 no_cache=1
3182 fi
3183
3184 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3185
3186 fi;
3187
3188 eval "$ac_cv_use_libxpm"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3191 fi
3192
3193 if test "$wxUSE_LIBXPM" = yes; then
3194 echo "$as_me:$LINENO: result: yes" >&5
3195 echo "${ECHO_T}yes" >&6
3196 elif test "$wxUSE_LIBXPM" = no; then
3197 echo "$as_me:$LINENO: result: no" >&5
3198 echo "${ECHO_T}no" >&6
3199 elif test "$wxUSE_LIBXPM" = sys; then
3200 echo "$as_me:$LINENO: result: system version" >&5
3201 echo "${ECHO_T}system version" >&6
3202 elif test "$wxUSE_LIBXPM" = builtin; then
3203 echo "$as_me:$LINENO: result: builtin version" >&5
3204 echo "${ECHO_T}builtin version" >&6
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
3212 withstring=
3213 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3214 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3215 no_cache=0
3216
3217 # Check whether --with-libmspack or --without-libmspack was given.
3218 if test "${with_libmspack+set}" = set; then
3219 withval="$with_libmspack"
3220
3221 if test "$withval" = yes; then
3222 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3223 else
3224 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3225 fi
3226
3227 else
3228
3229 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3237
3238 fi;
3239
3240 eval "$ac_cv_use_libmspack"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_LIBMSPACK" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 else
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 fi
3252
3253
3254 withstring=
3255 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3256 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3257 no_cache=0
3258
3259 # Check whether --with-sdl or --without-sdl was given.
3260 if test "${with_sdl+set}" = set; then
3261 withval="$with_sdl"
3262
3263 if test "$withval" = yes; then
3264 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3265 else
3266 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3267 fi
3268
3269 else
3270
3271 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x ; then
3273 eval "DEFAULT_$LINE"
3274 else
3275 no_cache=1
3276 fi
3277
3278 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3279
3280 fi;
3281
3282 eval "$ac_cv_use_sdl"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3285 fi
3286
3287 if test "$wxUSE_LIBSDL" = yes; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3290 else
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3293 fi
3294
3295
3296 withstring=
3297 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3298 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3299 no_cache=0
3300
3301 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3302 if test "${with_gnomeprint+set}" = set; then
3303 withval="$with_gnomeprint"
3304
3305 if test "$withval" = yes; then
3306 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3307 else
3308 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3309 fi
3310
3311 else
3312
3313 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3316 else
3317 no_cache=1
3318 fi
3319
3320 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3321
3322 fi;
3323
3324 eval "$ac_cv_use_gnomeprint"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3327 fi
3328
3329 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3332 else
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3335 fi
3336
3337
3338 withstring=
3339 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3340 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3341 no_cache=0
3342
3343 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3344 if test "${with_gnomevfs+set}" = set; then
3345 withval="$with_gnomevfs"
3346
3347 if test "$withval" = yes; then
3348 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3349 else
3350 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3351 fi
3352
3353 else
3354
3355 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3358 else
3359 no_cache=1
3360 fi
3361
3362 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3363
3364 fi;
3365
3366 eval "$ac_cv_use_gnomevfs"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3369 fi
3370
3371 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3374 else
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3377 fi
3378
3379
3380 withstring=
3381 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3382 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3383 no_cache=0
3384
3385 # Check whether --with-hildon or --without-hildon was given.
3386 if test "${with_hildon+set}" = set; then
3387 withval="$with_hildon"
3388
3389 if test "$withval" = yes; then
3390 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3391 else
3392 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3393 fi
3394
3395 else
3396
3397 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3400 else
3401 no_cache=1
3402 fi
3403
3404 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3405
3406 fi;
3407
3408 eval "$ac_cv_use_hildon"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3411 fi
3412
3413 if test "$wxUSE_LIBHILDON" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3416 else
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 fi
3420
3421
3422 withstring=
3423 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3424 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3425 no_cache=0
3426
3427 # Check whether --with-opengl or --without-opengl was given.
3428 if test "${with_opengl+set}" = set; then
3429 withval="$with_opengl"
3430
3431 if test "$withval" = yes; then
3432 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3433 else
3434 ac_cv_use_opengl='wxUSE_OPENGL=no'
3435 fi
3436
3437 else
3438
3439 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3442 else
3443 no_cache=1
3444 fi
3445
3446 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3447
3448 fi;
3449
3450 eval "$ac_cv_use_opengl"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3453 fi
3454
3455 if test "$wxUSE_OPENGL" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3458 else
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3461 fi
3462
3463
3464 if test "$wxUSE_UNIVERSAL" = "yes"; then
3465
3466 # Check whether --with-themes or --without-themes was given.
3467 if test "${with_themes+set}" = set; then
3468 withval="$with_themes"
3469 wxUNIV_THEMES="$withval"
3470 fi;
3471 fi
3472
3473 fi
3474
3475
3476 withstring=
3477 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3478 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3479 no_cache=0
3480
3481 # Check whether --with-dmalloc or --without-dmalloc was given.
3482 if test "${with_dmalloc+set}" = set; then
3483 withval="$with_dmalloc"
3484
3485 if test "$withval" = yes; then
3486 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3487 else
3488 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3489 fi
3490
3491 else
3492
3493 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x ; then
3495 eval "DEFAULT_$LINE"
3496 else
3497 no_cache=1
3498 fi
3499
3500 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3501
3502 fi;
3503
3504 eval "$ac_cv_use_dmalloc"
3505 if test "$no_cache" != 1; then
3506 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3507 fi
3508
3509 if test "$wxUSE_DMALLOC" = yes; then
3510 echo "$as_me:$LINENO: result: yes" >&5
3511 echo "${ECHO_T}yes" >&6
3512 else
3513 echo "$as_me:$LINENO: result: no" >&5
3514 echo "${ECHO_T}no" >&6
3515 fi
3516
3517
3518 echo "$as_me:$LINENO: checking for --with-regex" >&5
3519 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3520 no_cache=0
3521
3522 # Check whether --with-regex or --without-regex was given.
3523 if test "${with_regex+set}" = set; then
3524 withval="$with_regex"
3525
3526 if test "$withval" = yes; then
3527 ac_cv_use_regex='wxUSE_REGEX=yes'
3528 elif test "$withval" = no; then
3529 ac_cv_use_regex='wxUSE_REGEX=no'
3530 elif test "$withval" = sys; then
3531 ac_cv_use_regex='wxUSE_REGEX=sys'
3532 elif test "$withval" = builtin; then
3533 ac_cv_use_regex='wxUSE_REGEX=builtin'
3534 else
3535 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3536 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3537 { (exit 1); exit 1; }; }
3538 fi
3539
3540 else
3541
3542 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3545 else
3546 no_cache=1
3547 fi
3548
3549 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3550
3551 fi;
3552
3553 eval "$ac_cv_use_regex"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3556 fi
3557
3558 if test "$wxUSE_REGEX" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3561 elif test "$wxUSE_REGEX" = no; then
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3564 elif test "$wxUSE_REGEX" = sys; then
3565 echo "$as_me:$LINENO: result: system version" >&5
3566 echo "${ECHO_T}system version" >&6
3567 elif test "$wxUSE_REGEX" = builtin; then
3568 echo "$as_me:$LINENO: result: builtin version" >&5
3569 echo "${ECHO_T}builtin version" >&6
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
3577 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3578 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3579 no_cache=0
3580
3581 # Check whether --with-zlib or --without-zlib was given.
3582 if test "${with_zlib+set}" = set; then
3583 withval="$with_zlib"
3584
3585 if test "$withval" = yes; then
3586 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3587 elif test "$withval" = no; then
3588 ac_cv_use_zlib='wxUSE_ZLIB=no'
3589 elif test "$withval" = sys; then
3590 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3591 elif test "$withval" = builtin; then
3592 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3593 else
3594 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3595 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3596 { (exit 1); exit 1; }; }
3597 fi
3598
3599 else
3600
3601 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x ; then
3603 eval "DEFAULT_$LINE"
3604 else
3605 no_cache=1
3606 fi
3607
3608 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3609
3610 fi;
3611
3612 eval "$ac_cv_use_zlib"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3615 fi
3616
3617 if test "$wxUSE_ZLIB" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3620 elif test "$wxUSE_ZLIB" = no; then
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3623 elif test "$wxUSE_ZLIB" = sys; then
3624 echo "$as_me:$LINENO: result: system version" >&5
3625 echo "${ECHO_T}system version" >&6
3626 elif test "$wxUSE_ZLIB" = builtin; then
3627 echo "$as_me:$LINENO: result: builtin version" >&5
3628 echo "${ECHO_T}builtin version" >&6
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
3636 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3637 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3638 no_cache=0
3639
3640 # Check whether --with-odbc or --without-odbc was given.
3641 if test "${with_odbc+set}" = set; then
3642 withval="$with_odbc"
3643
3644 if test "$withval" = yes; then
3645 ac_cv_use_odbc='wxUSE_ODBC=yes'
3646 elif test "$withval" = no; then
3647 ac_cv_use_odbc='wxUSE_ODBC=no'
3648 elif test "$withval" = sys; then
3649 ac_cv_use_odbc='wxUSE_ODBC=sys'
3650 elif test "$withval" = builtin; then
3651 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3652 else
3653 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3654 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3655 { (exit 1); exit 1; }; }
3656 fi
3657
3658 else
3659
3660 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x ; then
3662 eval "DEFAULT_$LINE"
3663 else
3664 no_cache=1
3665 fi
3666
3667 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3668
3669 fi;
3670
3671 eval "$ac_cv_use_odbc"
3672 if test "$no_cache" != 1; then
3673 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3674 fi
3675
3676 if test "$wxUSE_ODBC" = yes; then
3677 echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6
3679 elif test "$wxUSE_ODBC" = no; then
3680 echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6
3682 elif test "$wxUSE_ODBC" = sys; then
3683 echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6
3685 elif test "$wxUSE_ODBC" = builtin; then
3686 echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6
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
3695 echo "$as_me:$LINENO: checking for --with-expat" >&5
3696 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3697 no_cache=0
3698
3699 # Check whether --with-expat or --without-expat was given.
3700 if test "${with_expat+set}" = set; then
3701 withval="$with_expat"
3702
3703 if test "$withval" = yes; then
3704 ac_cv_use_expat='wxUSE_EXPAT=yes'
3705 elif test "$withval" = no; then
3706 ac_cv_use_expat='wxUSE_EXPAT=no'
3707 elif test "$withval" = sys; then
3708 ac_cv_use_expat='wxUSE_EXPAT=sys'
3709 elif test "$withval" = builtin; then
3710 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717 else
3718
3719 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x ; then
3721 eval "DEFAULT_$LINE"
3722 else
3723 no_cache=1
3724 fi
3725
3726 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3727
3728 fi;
3729
3730 eval "$ac_cv_use_expat"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3733 fi
3734
3735 if test "$wxUSE_EXPAT" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3738 elif test "$wxUSE_EXPAT" = no; then
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3741 elif test "$wxUSE_EXPAT" = sys; then
3742 echo "$as_me:$LINENO: result: system version" >&5
3743 echo "${ECHO_T}system version" >&6
3744 elif test "$wxUSE_EXPAT" = builtin; then
3745 echo "$as_me:$LINENO: result: builtin version" >&5
3746 echo "${ECHO_T}builtin version" >&6
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
3754
3755
3756 enablestring=
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3759 no_cache=0
3760 # Check whether --enable-shared or --disable-shared was given.
3761 if test "${enable_shared+set}" = set; then
3762 enableval="$enable_shared"
3763
3764 if test "$enableval" = yes; then
3765 ac_cv_use_shared='wxUSE_SHARED=yes'
3766 else
3767 ac_cv_use_shared='wxUSE_SHARED=no'
3768 fi
3769
3770 else
3771
3772 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x ; then
3774 eval "DEFAULT_$LINE"
3775 else
3776 no_cache=1
3777 fi
3778
3779 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3780
3781 fi;
3782
3783 eval "$ac_cv_use_shared"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_SHARED" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3791 else
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3794 fi
3795
3796
3797 enablestring=
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3800 no_cache=0
3801 # Check whether --enable-optimise or --disable-optimise was given.
3802 if test "${enable_optimise+set}" = set; then
3803 enableval="$enable_optimise"
3804
3805 if test "$enableval" = yes; then
3806 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3807 else
3808 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3809 fi
3810
3811 else
3812
3813 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3821
3822 fi;
3823
3824 eval "$ac_cv_use_optimise"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3827 fi
3828
3829 if test "$wxUSE_OPTIMISE" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3832 else
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 fi
3836
3837
3838 enablestring=
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3841 no_cache=0
3842 # Check whether --enable-debug or --disable-debug was given.
3843 if test "${enable_debug+set}" = set; then
3844 enableval="$enable_debug"
3845
3846 if test "$enableval" = yes; then
3847 ac_cv_use_debug='wxUSE_DEBUG=yes'
3848 else
3849 ac_cv_use_debug='wxUSE_DEBUG=no'
3850 fi
3851
3852 else
3853
3854 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3857 else
3858 no_cache=1
3859 fi
3860
3861 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3862
3863 fi;
3864
3865 eval "$ac_cv_use_debug"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3868 fi
3869
3870 if test "$wxUSE_DEBUG" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3873 else
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3876 fi
3877
3878
3879 enablestring=
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3882 no_cache=0
3883 # Check whether --enable-stl or --disable-stl was given.
3884 if test "${enable_stl+set}" = set; then
3885 enableval="$enable_stl"
3886
3887 if test "$enableval" = yes; then
3888 ac_cv_use_stl='wxUSE_STL=yes'
3889 else
3890 ac_cv_use_stl='wxUSE_STL=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3903
3904 fi;
3905
3906 eval "$ac_cv_use_stl"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test "$wxUSE_STL" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3914 else
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3917 fi
3918
3919 if test "$USE_OS2" = "1"; then
3920 DEFAULT_wxUSE_OMF=no
3921
3922 enablestring=
3923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3924 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3925 no_cache=0
3926 # Check whether --enable-omf or --disable-omf was given.
3927 if test "${enable_omf+set}" = set; then
3928 enableval="$enable_omf"
3929
3930 if test "$enableval" = yes; then
3931 ac_cv_use_omf='wxUSE_OMF=yes'
3932 else
3933 ac_cv_use_omf='wxUSE_OMF=no'
3934 fi
3935
3936 else
3937
3938 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3939 if test "x$LINE" != x ; then
3940 eval "DEFAULT_$LINE"
3941 else
3942 no_cache=1
3943 fi
3944
3945 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3946
3947 fi;
3948
3949 eval "$ac_cv_use_omf"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3952 fi
3953
3954 if test "$wxUSE_OMF" = yes; then
3955 echo "$as_me:$LINENO: result: yes" >&5
3956 echo "${ECHO_T}yes" >&6
3957 else
3958 echo "$as_me:$LINENO: result: no" >&5
3959 echo "${ECHO_T}no" >&6
3960 fi
3961
3962 fi
3963
3964 if test "$wxUSE_DEBUG" = "yes"; then
3965 DEFAULT_wxUSE_DEBUG_FLAG=yes
3966 DEFAULT_wxUSE_DEBUG_INFO=yes
3967 BUILD=debug
3968 elif test "$wxUSE_DEBUG" = "no"; then
3969 DEFAULT_wxUSE_DEBUG_FLAG=no
3970 DEFAULT_wxUSE_DEBUG_INFO=no
3971 BUILD=release
3972 fi
3973
3974
3975 enablestring=
3976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3977 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3978 no_cache=0
3979 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3980 if test "${enable_debug_flag+set}" = set; then
3981 enableval="$enable_debug_flag"
3982
3983 if test "$enableval" = yes; then
3984 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3985 else
3986 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3987 fi
3988
3989 else
3990
3991 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x ; then
3993 eval "DEFAULT_$LINE"
3994 else
3995 no_cache=1
3996 fi
3997
3998 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3999
4000 fi;
4001
4002 eval "$ac_cv_use_debug_flag"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4005 fi
4006
4007 if test "$wxUSE_DEBUG_FLAG" = yes; then
4008 echo "$as_me:$LINENO: result: yes" >&5
4009 echo "${ECHO_T}yes" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4013 fi
4014
4015
4016 enablestring=
4017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4018 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4019 no_cache=0
4020 # Check whether --enable-debug_info or --disable-debug_info was given.
4021 if test "${enable_debug_info+set}" = set; then
4022 enableval="$enable_debug_info"
4023
4024 if test "$enableval" = yes; then
4025 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4026 else
4027 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4028 fi
4029
4030 else
4031
4032 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x ; then
4034 eval "DEFAULT_$LINE"
4035 else
4036 no_cache=1
4037 fi
4038
4039 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4040
4041 fi;
4042
4043 eval "$ac_cv_use_debug_info"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4046 fi
4047
4048 if test "$wxUSE_DEBUG_INFO" = yes; then
4049 echo "$as_me:$LINENO: result: yes" >&5
4050 echo "${ECHO_T}yes" >&6
4051 else
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056
4057 enablestring=
4058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4059 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4060 no_cache=0
4061 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4062 if test "${enable_debug_gdb+set}" = set; then
4063 enableval="$enable_debug_gdb"
4064
4065 if test "$enableval" = yes; then
4066 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4067 else
4068 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4069 fi
4070
4071 else
4072
4073 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x ; then
4075 eval "DEFAULT_$LINE"
4076 else
4077 no_cache=1
4078 fi
4079
4080 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4081
4082 fi;
4083
4084 eval "$ac_cv_use_debug_gdb"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4087 fi
4088
4089 if test "$wxUSE_DEBUG_GDB" = yes; then
4090 echo "$as_me:$LINENO: result: yes" >&5
4091 echo "${ECHO_T}yes" >&6
4092 else
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4095 fi
4096
4097
4098 enablestring=
4099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4100 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4101 no_cache=0
4102 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4103 if test "${enable_debug_cntxt+set}" = set; then
4104 enableval="$enable_debug_cntxt"
4105
4106 if test "$enableval" = yes; then
4107 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4108 else
4109 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4110 fi
4111
4112 else
4113
4114 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x ; then
4116 eval "DEFAULT_$LINE"
4117 else
4118 no_cache=1
4119 fi
4120
4121 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4122
4123 fi;
4124
4125 eval "$ac_cv_use_debug_cntxt"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4128 fi
4129
4130 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4131 echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6
4133 else
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4136 fi
4137
4138
4139 enablestring=
4140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4141 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4142 no_cache=0
4143 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4144 if test "${enable_mem_tracing+set}" = set; then
4145 enableval="$enable_mem_tracing"
4146
4147 if test "$enableval" = yes; then
4148 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4149 else
4150 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4151 fi
4152
4153 else
4154
4155 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4158 else
4159 no_cache=1
4160 fi
4161
4162 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4163
4164 fi;
4165
4166 eval "$ac_cv_use_mem_tracing"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4169 fi
4170
4171 if test "$wxUSE_MEM_TRACING" = yes; then
4172 echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6
4174 else
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4177 fi
4178
4179
4180 enablestring=
4181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4183 no_cache=0
4184 # Check whether --enable-profile or --disable-profile was given.
4185 if test "${enable_profile+set}" = set; then
4186 enableval="$enable_profile"
4187
4188 if test "$enableval" = yes; then
4189 ac_cv_use_profile='wxUSE_PROFILE=yes'
4190 else
4191 ac_cv_use_profile='wxUSE_PROFILE=no'
4192 fi
4193
4194 else
4195
4196 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4199 else
4200 no_cache=1
4201 fi
4202
4203 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4204
4205 fi;
4206
4207 eval "$ac_cv_use_profile"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4210 fi
4211
4212 if test "$wxUSE_PROFILE" = yes; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4215 else
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4218 fi
4219
4220
4221 enablestring=
4222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4223 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4224 no_cache=0
4225 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4226 if test "${enable_no_rtti+set}" = set; then
4227 enableval="$enable_no_rtti"
4228
4229 if test "$enableval" = yes; then
4230 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4231 else
4232 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4233 fi
4234
4235 else
4236
4237 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4238 if test "x$LINE" != x ; then
4239 eval "DEFAULT_$LINE"
4240 else
4241 no_cache=1
4242 fi
4243
4244 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4245
4246 fi;
4247
4248 eval "$ac_cv_use_no_rtti"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4251 fi
4252
4253 if test "$wxUSE_NO_RTTI" = yes; then
4254 echo "$as_me:$LINENO: result: yes" >&5
4255 echo "${ECHO_T}yes" >&6
4256 else
4257 echo "$as_me:$LINENO: result: no" >&5
4258 echo "${ECHO_T}no" >&6
4259 fi
4260
4261
4262 enablestring=
4263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4264 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4265 no_cache=0
4266 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4267 if test "${enable_no_exceptions+set}" = set; then
4268 enableval="$enable_no_exceptions"
4269
4270 if test "$enableval" = yes; then
4271 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4272 else
4273 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4274 fi
4275
4276 else
4277
4278 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x ; then
4280 eval "DEFAULT_$LINE"
4281 else
4282 no_cache=1
4283 fi
4284
4285 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4286
4287 fi;
4288
4289 eval "$ac_cv_use_no_exceptions"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4292 fi
4293
4294 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4295 echo "$as_me:$LINENO: result: yes" >&5
4296 echo "${ECHO_T}yes" >&6
4297 else
4298 echo "$as_me:$LINENO: result: no" >&5
4299 echo "${ECHO_T}no" >&6
4300 fi
4301
4302
4303 enablestring=
4304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4305 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4306 no_cache=0
4307 # Check whether --enable-permissive or --disable-permissive was given.
4308 if test "${enable_permissive+set}" = set; then
4309 enableval="$enable_permissive"
4310
4311 if test "$enableval" = yes; then
4312 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4313 else
4314 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4315 fi
4316
4317 else
4318
4319 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4320 if test "x$LINE" != x ; then
4321 eval "DEFAULT_$LINE"
4322 else
4323 no_cache=1
4324 fi
4325
4326 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4327
4328 fi;
4329
4330 eval "$ac_cv_use_permissive"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4333 fi
4334
4335 if test "$wxUSE_PERMISSIVE" = yes; then
4336 echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6
4338 else
4339 echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6
4341 fi
4342
4343
4344 enablestring=
4345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4346 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4347 no_cache=0
4348 # Check whether --enable-no_deps or --disable-no_deps was given.
4349 if test "${enable_no_deps+set}" = set; then
4350 enableval="$enable_no_deps"
4351
4352 if test "$enableval" = yes; then
4353 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4354 else
4355 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4356 fi
4357
4358 else
4359
4360 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x ; then
4362 eval "DEFAULT_$LINE"
4363 else
4364 no_cache=1
4365 fi
4366
4367 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4368
4369 fi;
4370
4371 eval "$ac_cv_use_no_deps"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4374 fi
4375
4376 if test "$wxUSE_NO_DEPS" = yes; then
4377 echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6
4379 else
4380 echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6
4382 fi
4383
4384
4385 enablestring=
4386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4387 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4388 no_cache=0
4389 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4390 if test "${enable_universal_binary+set}" = set; then
4391 enableval="$enable_universal_binary"
4392
4393 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4394
4395 else
4396
4397 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x ; then
4399 eval "DEFAULT_$LINE"
4400 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4401 else
4402 no_cache=1
4403 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4404 fi
4405
4406 fi;
4407
4408 eval "$wx_cv_use_universal_binary"
4409 if test "$no_cache" != 1; then
4410 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4411 fi
4412
4413 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4414 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4415
4416
4417
4418 enablestring=enable
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-compat24 or --disable-compat24 was given.
4423 if test "${enable_compat24+set}" = set; then
4424 enableval="$enable_compat24"
4425
4426 if test "$enableval" = yes; then
4427 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4428 else
4429 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4442
4443 fi;
4444
4445 eval "$ac_cv_use_compat24"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4453 else
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458
4459 enablestring=disable
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4462 no_cache=0
4463 # Check whether --enable-compat26 or --disable-compat26 was given.
4464 if test "${enable_compat26+set}" = set; then
4465 enableval="$enable_compat26"
4466
4467 if test "$enableval" = yes; then
4468 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4469 else
4470 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4471 fi
4472
4473 else
4474
4475 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4478 else
4479 no_cache=1
4480 fi
4481
4482 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4483
4484 fi;
4485
4486 eval "$ac_cv_use_compat26"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4494 else
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4497 fi
4498
4499
4500
4501 enablestring=
4502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4504 no_cache=0
4505 # Check whether --enable-rpath or --disable-rpath was given.
4506 if test "${enable_rpath+set}" = set; then
4507 enableval="$enable_rpath"
4508
4509 if test "$enableval" = yes; then
4510 ac_cv_use_rpath='wxUSE_RPATH=yes'
4511 else
4512 ac_cv_use_rpath='wxUSE_RPATH=no'
4513 fi
4514
4515 else
4516
4517 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x ; then
4519 eval "DEFAULT_$LINE"
4520 else
4521 no_cache=1
4522 fi
4523
4524 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4525
4526 fi;
4527
4528 eval "$ac_cv_use_rpath"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4531 fi
4532
4533 if test "$wxUSE_RPATH" = yes; then
4534 echo "$as_me:$LINENO: result: yes" >&5
4535 echo "${ECHO_T}yes" >&6
4536 else
4537 echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6
4539 fi
4540
4541
4542
4543
4544
4545 enablestring=
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4548 no_cache=0
4549 # Check whether --enable-intl or --disable-intl was given.
4550 if test "${enable_intl+set}" = set; then
4551 enableval="$enable_intl"
4552
4553 if test "$enableval" = yes; then
4554 ac_cv_use_intl='wxUSE_INTL=yes'
4555 else
4556 ac_cv_use_intl='wxUSE_INTL=no'
4557 fi
4558
4559 else
4560
4561 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4564 else
4565 no_cache=1
4566 fi
4567
4568 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4569
4570 fi;
4571
4572 eval "$ac_cv_use_intl"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4575 fi
4576
4577 if test "$wxUSE_INTL" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4580 else
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4583 fi
4584
4585
4586 enablestring=
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4589 no_cache=0
4590 # Check whether --enable-config or --disable-config was given.
4591 if test "${enable_config+set}" = set; then
4592 enableval="$enable_config"
4593
4594 if test "$enableval" = yes; then
4595 ac_cv_use_config='wxUSE_CONFIG=yes'
4596 else
4597 ac_cv_use_config='wxUSE_CONFIG=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4610
4611 fi;
4612
4613 eval "$ac_cv_use_config"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4616 fi
4617
4618 if test "$wxUSE_CONFIG" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626
4627
4628 enablestring=
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-protocols or --disable-protocols was given.
4633 if test "${enable_protocols+set}" = set; then
4634 enableval="$enable_protocols"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4638 else
4639 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4652
4653 fi;
4654
4655 eval "$ac_cv_use_protocols"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_PROTOCOL" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4663 else
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4666 fi
4667
4668
4669 enablestring=
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-ftp or --disable-ftp was given.
4674 if test "${enable_ftp+set}" = set; then
4675 enableval="$enable_ftp"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4679 else
4680 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4693
4694 fi;
4695
4696 eval "$ac_cv_use_ftp"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4704 else
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4707 fi
4708
4709
4710 enablestring=
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4713 no_cache=0
4714 # Check whether --enable-http or --disable-http was given.
4715 if test "${enable_http+set}" = set; then
4716 enableval="$enable_http"
4717
4718 if test "$enableval" = yes; then
4719 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4720 else
4721 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4722 fi
4723
4724 else
4725
4726 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x ; then
4728 eval "DEFAULT_$LINE"
4729 else
4730 no_cache=1
4731 fi
4732
4733 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4734
4735 fi;
4736
4737 eval "$ac_cv_use_http"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4740 fi
4741
4742 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4745 else
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4748 fi
4749
4750
4751 enablestring=
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4754 no_cache=0
4755 # Check whether --enable-fileproto or --disable-fileproto was given.
4756 if test "${enable_fileproto+set}" = set; then
4757 enableval="$enable_fileproto"
4758
4759 if test "$enableval" = yes; then
4760 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4761 else
4762 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4763 fi
4764
4765 else
4766
4767 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x ; then
4769 eval "DEFAULT_$LINE"
4770 else
4771 no_cache=1
4772 fi
4773
4774 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4775
4776 fi;
4777
4778 eval "$ac_cv_use_fileproto"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4781 fi
4782
4783 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4786 else
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4789 fi
4790
4791
4792 enablestring=
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4795 no_cache=0
4796 # Check whether --enable-sockets or --disable-sockets was given.
4797 if test "${enable_sockets+set}" = set; then
4798 enableval="$enable_sockets"
4799
4800 if test "$enableval" = yes; then
4801 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4802 else
4803 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4804 fi
4805
4806 else
4807
4808 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x ; then
4810 eval "DEFAULT_$LINE"
4811 else
4812 no_cache=1
4813 fi
4814
4815 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4816
4817 fi;
4818
4819 eval "$ac_cv_use_sockets"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4822 fi
4823
4824 if test "$wxUSE_SOCKETS" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4827 else
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4830 fi
4831
4832
4833 enablestring=
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4836 no_cache=0
4837 # Check whether --enable-ole or --disable-ole was given.
4838 if test "${enable_ole+set}" = set; then
4839 enableval="$enable_ole"
4840
4841 if test "$enableval" = yes; then
4842 ac_cv_use_ole='wxUSE_OLE=yes'
4843 else
4844 ac_cv_use_ole='wxUSE_OLE=no'
4845 fi
4846
4847 else
4848
4849 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x ; then
4851 eval "DEFAULT_$LINE"
4852 else
4853 no_cache=1
4854 fi
4855
4856 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4857
4858 fi;
4859
4860 eval "$ac_cv_use_ole"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4863 fi
4864
4865 if test "$wxUSE_OLE" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4868 else
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4871 fi
4872
4873
4874 enablestring=
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4877 no_cache=0
4878 # Check whether --enable-dataobj or --disable-dataobj was given.
4879 if test "${enable_dataobj+set}" = set; then
4880 enableval="$enable_dataobj"
4881
4882 if test "$enableval" = yes; then
4883 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4884 else
4885 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4886 fi
4887
4888 else
4889
4890 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x ; then
4892 eval "DEFAULT_$LINE"
4893 else
4894 no_cache=1
4895 fi
4896
4897 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4898
4899 fi;
4900
4901 eval "$ac_cv_use_dataobj"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4904 fi
4905
4906 if test "$wxUSE_DATAOBJ" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4909 else
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4912 fi
4913
4914
4915
4916 enablestring=
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4919 no_cache=0
4920 # Check whether --enable-ipc or --disable-ipc was given.
4921 if test "${enable_ipc+set}" = set; then
4922 enableval="$enable_ipc"
4923
4924 if test "$enableval" = yes; then
4925 ac_cv_use_ipc='wxUSE_IPC=yes'
4926 else
4927 ac_cv_use_ipc='wxUSE_IPC=no'
4928 fi
4929
4930 else
4931
4932 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4935 else
4936 no_cache=1
4937 fi
4938
4939 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4940
4941 fi;
4942
4943 eval "$ac_cv_use_ipc"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4946 fi
4947
4948 if test "$wxUSE_IPC" = yes; then
4949 echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6
4951 else
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4954 fi
4955
4956
4957
4958 enablestring=
4959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4960 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4961 no_cache=0
4962 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4963 if test "${enable_apple_ieee+set}" = set; then
4964 enableval="$enable_apple_ieee"
4965
4966 if test "$enableval" = yes; then
4967 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4968 else
4969 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4970 fi
4971
4972 else
4973
4974 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x ; then
4976 eval "DEFAULT_$LINE"
4977 else
4978 no_cache=1
4979 fi
4980
4981 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4982
4983 fi;
4984
4985 eval "$ac_cv_use_apple_ieee"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4988 fi
4989
4990 if test "$wxUSE_APPLE_IEEE" = yes; then
4991 echo "$as_me:$LINENO: result: yes" >&5
4992 echo "${ECHO_T}yes" >&6
4993 else
4994 echo "$as_me:$LINENO: result: no" >&5
4995 echo "${ECHO_T}no" >&6
4996 fi
4997
4998
4999 enablestring=
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5002 no_cache=0
5003 # Check whether --enable-arcstream or --disable-arcstream was given.
5004 if test "${enable_arcstream+set}" = set; then
5005 enableval="$enable_arcstream"
5006
5007 if test "$enableval" = yes; then
5008 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5009 else
5010 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5011 fi
5012
5013 else
5014
5015 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x ; then
5017 eval "DEFAULT_$LINE"
5018 else
5019 no_cache=1
5020 fi
5021
5022 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5023
5024 fi;
5025
5026 eval "$ac_cv_use_arcstream"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5029 fi
5030
5031 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5034 else
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5037 fi
5038
5039
5040 enablestring=
5041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5042 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5043 no_cache=0
5044 # Check whether --enable-backtrace or --disable-backtrace was given.
5045 if test "${enable_backtrace+set}" = set; then
5046 enableval="$enable_backtrace"
5047
5048 if test "$enableval" = yes; then
5049 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5050 else
5051 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5052 fi
5053
5054 else
5055
5056 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x ; then
5058 eval "DEFAULT_$LINE"
5059 else
5060 no_cache=1
5061 fi
5062
5063 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5064
5065 fi;
5066
5067 eval "$ac_cv_use_backtrace"
5068 if test "$no_cache" != 1; then
5069 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5070 fi
5071
5072 if test "$wxUSE_STACKWALKER" = yes; then
5073 echo "$as_me:$LINENO: result: yes" >&5
5074 echo "${ECHO_T}yes" >&6
5075 else
5076 echo "$as_me:$LINENO: result: no" >&5
5077 echo "${ECHO_T}no" >&6
5078 fi
5079
5080
5081 enablestring=
5082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5084 no_cache=0
5085 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5086 if test "${enable_catch_segvs+set}" = set; then
5087 enableval="$enable_catch_segvs"
5088
5089 if test "$enableval" = yes; then
5090 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5091 else
5092 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5093 fi
5094
5095 else
5096
5097 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x ; then
5099 eval "DEFAULT_$LINE"
5100 else
5101 no_cache=1
5102 fi
5103
5104 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5105
5106 fi;
5107
5108 eval "$ac_cv_use_catch_segvs"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5111 fi
5112
5113 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5114 echo "$as_me:$LINENO: result: yes" >&5
5115 echo "${ECHO_T}yes" >&6
5116 else
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5119 fi
5120
5121
5122 enablestring=
5123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5124 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5125 no_cache=0
5126 # Check whether --enable-cmdline or --disable-cmdline was given.
5127 if test "${enable_cmdline+set}" = set; then
5128 enableval="$enable_cmdline"
5129
5130 if test "$enableval" = yes; then
5131 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5132 else
5133 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5134 fi
5135
5136 else
5137
5138 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x ; then
5140 eval "DEFAULT_$LINE"
5141 else
5142 no_cache=1
5143 fi
5144
5145 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5146
5147 fi;
5148
5149 eval "$ac_cv_use_cmdline"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5152 fi
5153
5154 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5155 echo "$as_me:$LINENO: result: yes" >&5
5156 echo "${ECHO_T}yes" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5160 fi
5161
5162
5163 enablestring=
5164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5166 no_cache=0
5167 # Check whether --enable-datetime or --disable-datetime was given.
5168 if test "${enable_datetime+set}" = set; then
5169 enableval="$enable_datetime"
5170
5171 if test "$enableval" = yes; then
5172 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5173 else
5174 ac_cv_use_datetime='wxUSE_DATETIME=no'
5175 fi
5176
5177 else
5178
5179 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x ; then
5181 eval "DEFAULT_$LINE"
5182 else
5183 no_cache=1
5184 fi
5185
5186 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5187
5188 fi;
5189
5190 eval "$ac_cv_use_datetime"
5191 if test "$no_cache" != 1; then
5192 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5193 fi
5194
5195 if test "$wxUSE_DATETIME" = yes; then
5196 echo "$as_me:$LINENO: result: yes" >&5
5197 echo "${ECHO_T}yes" >&6
5198 else
5199 echo "$as_me:$LINENO: result: no" >&5
5200 echo "${ECHO_T}no" >&6
5201 fi
5202
5203
5204 enablestring=
5205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5206 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5207 no_cache=0
5208 # Check whether --enable-debugreport or --disable-debugreport was given.
5209 if test "${enable_debugreport+set}" = set; then
5210 enableval="$enable_debugreport"
5211
5212 if test "$enableval" = yes; then
5213 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5214 else
5215 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5216 fi
5217
5218 else
5219
5220 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x ; then
5222 eval "DEFAULT_$LINE"
5223 else
5224 no_cache=1
5225 fi
5226
5227 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5228
5229 fi;
5230
5231 eval "$ac_cv_use_debugreport"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5234 fi
5235
5236 if test "$wxUSE_DEBUGREPORT" = yes; then
5237 echo "$as_me:$LINENO: result: yes" >&5
5238 echo "${ECHO_T}yes" >&6
5239 else
5240 echo "$as_me:$LINENO: result: no" >&5
5241 echo "${ECHO_T}no" >&6
5242 fi
5243
5244
5245 enablestring=
5246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5247 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5248 no_cache=0
5249 # Check whether --enable-dialupman or --disable-dialupman was given.
5250 if test "${enable_dialupman+set}" = set; then
5251 enableval="$enable_dialupman"
5252
5253 if test "$enableval" = yes; then
5254 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5255 else
5256 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5257 fi
5258
5259 else
5260
5261 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x ; then
5263 eval "DEFAULT_$LINE"
5264 else
5265 no_cache=1
5266 fi
5267
5268 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5269
5270 fi;
5271
5272 eval "$ac_cv_use_dialupman"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5275 fi
5276
5277 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5278 echo "$as_me:$LINENO: result: yes" >&5
5279 echo "${ECHO_T}yes" >&6
5280 else
5281 echo "$as_me:$LINENO: result: no" >&5
5282 echo "${ECHO_T}no" >&6
5283 fi
5284
5285
5286 enablestring=
5287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5289 no_cache=0
5290 # Check whether --enable-dynlib or --disable-dynlib was given.
5291 if test "${enable_dynlib+set}" = set; then
5292 enableval="$enable_dynlib"
5293
5294 if test "$enableval" = yes; then
5295 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5296 else
5297 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5298 fi
5299
5300 else
5301
5302 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x ; then
5304 eval "DEFAULT_$LINE"
5305 else
5306 no_cache=1
5307 fi
5308
5309 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5310
5311 fi;
5312
5313 eval "$ac_cv_use_dynlib"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5316 fi
5317
5318 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5319 echo "$as_me:$LINENO: result: yes" >&5
5320 echo "${ECHO_T}yes" >&6
5321 else
5322 echo "$as_me:$LINENO: result: no" >&5
5323 echo "${ECHO_T}no" >&6
5324 fi
5325
5326
5327 enablestring=
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5330 no_cache=0
5331 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5332 if test "${enable_dynamicloader+set}" = set; then
5333 enableval="$enable_dynamicloader"
5334
5335 if test "$enableval" = yes; then
5336 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5337 else
5338 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5339 fi
5340
5341 else
5342
5343 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5346 else
5347 no_cache=1
5348 fi
5349
5350 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5351
5352 fi;
5353
5354 eval "$ac_cv_use_dynamicloader"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5357 fi
5358
5359 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5362 else
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5365 fi
5366
5367
5368 enablestring=
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5371 no_cache=0
5372 # Check whether --enable-exceptions or --disable-exceptions was given.
5373 if test "${enable_exceptions+set}" = set; then
5374 enableval="$enable_exceptions"
5375
5376 if test "$enableval" = yes; then
5377 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5378 else
5379 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5380 fi
5381
5382 else
5383
5384 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5387 else
5388 no_cache=1
5389 fi
5390
5391 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5392
5393 fi;
5394
5395 eval "$ac_cv_use_exceptions"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5398 fi
5399
5400 if test "$wxUSE_EXCEPTIONS" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5403 else
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5406 fi
5407
5408
5409 enablestring=
5410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5411 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5412 no_cache=0
5413 # Check whether --enable-ffile or --disable-ffile was given.
5414 if test "${enable_ffile+set}" = set; then
5415 enableval="$enable_ffile"
5416
5417 if test "$enableval" = yes; then
5418 ac_cv_use_ffile='wxUSE_FFILE=yes'
5419 else
5420 ac_cv_use_ffile='wxUSE_FFILE=no'
5421 fi
5422
5423 else
5424
5425 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x ; then
5427 eval "DEFAULT_$LINE"
5428 else
5429 no_cache=1
5430 fi
5431
5432 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5433
5434 fi;
5435
5436 eval "$ac_cv_use_ffile"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5439 fi
5440
5441 if test "$wxUSE_FFILE" = yes; then
5442 echo "$as_me:$LINENO: result: yes" >&5
5443 echo "${ECHO_T}yes" >&6
5444 else
5445 echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6
5447 fi
5448
5449
5450 enablestring=
5451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5453 no_cache=0
5454 # Check whether --enable-file or --disable-file was given.
5455 if test "${enable_file+set}" = set; then
5456 enableval="$enable_file"
5457
5458 if test "$enableval" = yes; then
5459 ac_cv_use_file='wxUSE_FILE=yes'
5460 else
5461 ac_cv_use_file='wxUSE_FILE=no'
5462 fi
5463
5464 else
5465
5466 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5467 if test "x$LINE" != x ; then
5468 eval "DEFAULT_$LINE"
5469 else
5470 no_cache=1
5471 fi
5472
5473 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5474
5475 fi;
5476
5477 eval "$ac_cv_use_file"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5480 fi
5481
5482 if test "$wxUSE_FILE" = yes; then
5483 echo "$as_me:$LINENO: result: yes" >&5
5484 echo "${ECHO_T}yes" >&6
5485 else
5486 echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6
5488 fi
5489
5490
5491 enablestring=
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5494 no_cache=0
5495 # Check whether --enable-filesystem or --disable-filesystem was given.
5496 if test "${enable_filesystem+set}" = set; then
5497 enableval="$enable_filesystem"
5498
5499 if test "$enableval" = yes; then
5500 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5501 else
5502 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5503 fi
5504
5505 else
5506
5507 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5510 else
5511 no_cache=1
5512 fi
5513
5514 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5515
5516 fi;
5517
5518 eval "$ac_cv_use_filesystem"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5521 fi
5522
5523 if test "$wxUSE_FILESYSTEM" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5526 else
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5529 fi
5530
5531
5532 enablestring=
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5535 no_cache=0
5536 # Check whether --enable-fontmap or --disable-fontmap was given.
5537 if test "${enable_fontmap+set}" = set; then
5538 enableval="$enable_fontmap"
5539
5540 if test "$enableval" = yes; then
5541 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5542 else
5543 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5544 fi
5545
5546 else
5547
5548 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5551 else
5552 no_cache=1
5553 fi
5554
5555 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5556
5557 fi;
5558
5559 eval "$ac_cv_use_fontmap"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5562 fi
5563
5564 if test "$wxUSE_FONTMAP" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5567 else
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5570 fi
5571
5572
5573 enablestring=
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5576 no_cache=0
5577 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5578 if test "${enable_fs_inet+set}" = set; then
5579 enableval="$enable_fs_inet"
5580
5581 if test "$enableval" = yes; then
5582 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5583 else
5584 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5585 fi
5586
5587 else
5588
5589 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5592 else
5593 no_cache=1
5594 fi
5595
5596 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5597
5598 fi;
5599
5600 eval "$ac_cv_use_fs_inet"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5603 fi
5604
5605 if test "$wxUSE_FS_INET" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5608 else
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5611 fi
5612
5613
5614 enablestring=
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5617 no_cache=0
5618 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5619 if test "${enable_fs_zip+set}" = set; then
5620 enableval="$enable_fs_zip"
5621
5622 if test "$enableval" = yes; then
5623 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5624 else
5625 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5626 fi
5627
5628 else
5629
5630 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5633 else
5634 no_cache=1
5635 fi
5636
5637 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5638
5639 fi;
5640
5641 eval "$ac_cv_use_fs_zip"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5644 fi
5645
5646 if test "$wxUSE_FS_ZIP" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5649 else
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5652 fi
5653
5654
5655 enablestring=
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5658 no_cache=0
5659 # Check whether --enable-geometry or --disable-geometry was given.
5660 if test "${enable_geometry+set}" = set; then
5661 enableval="$enable_geometry"
5662
5663 if test "$enableval" = yes; then
5664 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5665 else
5666 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5667 fi
5668
5669 else
5670
5671 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5674 else
5675 no_cache=1
5676 fi
5677
5678 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5679
5680 fi;
5681
5682 eval "$ac_cv_use_geometry"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5685 fi
5686
5687 if test "$wxUSE_GEOMETRY" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5690 else
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5693 fi
5694
5695
5696 enablestring=
5697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5698 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5699 no_cache=0
5700 # Check whether --enable-log or --disable-log was given.
5701 if test "${enable_log+set}" = set; then
5702 enableval="$enable_log"
5703
5704 if test "$enableval" = yes; then
5705 ac_cv_use_log='wxUSE_LOG=yes'
5706 else
5707 ac_cv_use_log='wxUSE_LOG=no'
5708 fi
5709
5710 else
5711
5712 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5713 if test "x$LINE" != x ; then
5714 eval "DEFAULT_$LINE"
5715 else
5716 no_cache=1
5717 fi
5718
5719 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5720
5721 fi;
5722
5723 eval "$ac_cv_use_log"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5726 fi
5727
5728 if test "$wxUSE_LOG" = yes; then
5729 echo "$as_me:$LINENO: result: yes" >&5
5730 echo "${ECHO_T}yes" >&6
5731 else
5732 echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5734 fi
5735
5736
5737 enablestring=
5738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5739 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5740 no_cache=0
5741 # Check whether --enable-longlong or --disable-longlong was given.
5742 if test "${enable_longlong+set}" = set; then
5743 enableval="$enable_longlong"
5744
5745 if test "$enableval" = yes; then
5746 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5747 else
5748 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5749 fi
5750
5751 else
5752
5753 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x ; then
5755 eval "DEFAULT_$LINE"
5756 else
5757 no_cache=1
5758 fi
5759
5760 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5761
5762 fi;
5763
5764 eval "$ac_cv_use_longlong"
5765 if test "$no_cache" != 1; then
5766 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5767 fi
5768
5769 if test "$wxUSE_LONGLONG" = yes; then
5770 echo "$as_me:$LINENO: result: yes" >&5
5771 echo "${ECHO_T}yes" >&6
5772 else
5773 echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6
5775 fi
5776
5777
5778 enablestring=
5779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5780 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5781 no_cache=0
5782 # Check whether --enable-mimetype or --disable-mimetype was given.
5783 if test "${enable_mimetype+set}" = set; then
5784 enableval="$enable_mimetype"
5785
5786 if test "$enableval" = yes; then
5787 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5788 else
5789 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5790 fi
5791
5792 else
5793
5794 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5797 else
5798 no_cache=1
5799 fi
5800
5801 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5802
5803 fi;
5804
5805 eval "$ac_cv_use_mimetype"
5806 if test "$no_cache" != 1; then
5807 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5808 fi
5809
5810 if test "$wxUSE_MIMETYPE" = yes; then
5811 echo "$as_me:$LINENO: result: yes" >&5
5812 echo "${ECHO_T}yes" >&6
5813 else
5814 echo "$as_me:$LINENO: result: no" >&5
5815 echo "${ECHO_T}no" >&6
5816 fi
5817
5818
5819 enablestring=
5820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5821 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5822 no_cache=0
5823 # Check whether --enable-mslu or --disable-mslu was given.
5824 if test "${enable_mslu+set}" = set; then
5825 enableval="$enable_mslu"
5826
5827 if test "$enableval" = yes; then
5828 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5829 else
5830 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5831 fi
5832
5833 else
5834
5835 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 else
5839 no_cache=1
5840 fi
5841
5842 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5843
5844 fi;
5845
5846 eval "$ac_cv_use_mslu"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5849 fi
5850
5851 if test "$wxUSE_UNICODE_MSLU" = yes; then
5852 echo "$as_me:$LINENO: result: yes" >&5
5853 echo "${ECHO_T}yes" >&6
5854 else
5855 echo "$as_me:$LINENO: result: no" >&5
5856 echo "${ECHO_T}no" >&6
5857 fi
5858
5859
5860 enablestring=
5861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5862 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5863 no_cache=0
5864 # Check whether --enable-snglinst or --disable-snglinst was given.
5865 if test "${enable_snglinst+set}" = set; then
5866 enableval="$enable_snglinst"
5867
5868 if test "$enableval" = yes; then
5869 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5870 else
5871 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5872 fi
5873
5874 else
5875
5876 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5877 if test "x$LINE" != x ; then
5878 eval "DEFAULT_$LINE"
5879 else
5880 no_cache=1
5881 fi
5882
5883 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5884
5885 fi;
5886
5887 eval "$ac_cv_use_snglinst"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5890 fi
5891
5892 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5893 echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6
5895 else
5896 echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6
5898 fi
5899
5900
5901 enablestring=
5902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5904 no_cache=0
5905 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5906 if test "${enable_std_iostreams+set}" = set; then
5907 enableval="$enable_std_iostreams"
5908
5909 if test "$enableval" = yes; then
5910 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5911 else
5912 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5913 fi
5914
5915 else
5916
5917 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5918 if test "x$LINE" != x ; then
5919 eval "DEFAULT_$LINE"
5920 else
5921 no_cache=1
5922 fi
5923
5924 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5925
5926 fi;
5927
5928 eval "$ac_cv_use_std_iostreams"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5931 fi
5932
5933 if test "$wxUSE_STD_IOSTREAM" = yes; then
5934 echo "$as_me:$LINENO: result: yes" >&5
5935 echo "${ECHO_T}yes" >&6
5936 else
5937 echo "$as_me:$LINENO: result: no" >&5
5938 echo "${ECHO_T}no" >&6
5939 fi
5940
5941
5942 enablestring=
5943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5945 no_cache=0
5946 # Check whether --enable-std_string or --disable-std_string was given.
5947 if test "${enable_std_string+set}" = set; then
5948 enableval="$enable_std_string"
5949
5950 if test "$enableval" = yes; then
5951 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5952 else
5953 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5954 fi
5955
5956 else
5957
5958 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5959 if test "x$LINE" != x ; then
5960 eval "DEFAULT_$LINE"
5961 else
5962 no_cache=1
5963 fi
5964
5965 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5966
5967 fi;
5968
5969 eval "$ac_cv_use_std_string"
5970 if test "$no_cache" != 1; then
5971 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5972 fi
5973
5974 if test "$wxUSE_STD_STRING" = yes; then
5975 echo "$as_me:$LINENO: result: yes" >&5
5976 echo "${ECHO_T}yes" >&6
5977 else
5978 echo "$as_me:$LINENO: result: no" >&5
5979 echo "${ECHO_T}no" >&6
5980 fi
5981
5982
5983 enablestring=
5984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5986 no_cache=0
5987 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5988 if test "${enable_stdpaths+set}" = set; then
5989 enableval="$enable_stdpaths"
5990
5991 if test "$enableval" = yes; then
5992 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5993 else
5994 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5995 fi
5996
5997 else
5998
5999 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x ; then
6001 eval "DEFAULT_$LINE"
6002 else
6003 no_cache=1
6004 fi
6005
6006 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6007
6008 fi;
6009
6010 eval "$ac_cv_use_stdpaths"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6013 fi
6014
6015 if test "$wxUSE_STDPATHS" = yes; then
6016 echo "$as_me:$LINENO: result: yes" >&5
6017 echo "${ECHO_T}yes" >&6
6018 else
6019 echo "$as_me:$LINENO: result: no" >&5
6020 echo "${ECHO_T}no" >&6
6021 fi
6022
6023
6024 enablestring=
6025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6026 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6027 no_cache=0
6028 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6029 if test "${enable_stopwatch+set}" = set; then
6030 enableval="$enable_stopwatch"
6031
6032 if test "$enableval" = yes; then
6033 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6034 else
6035 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6036 fi
6037
6038 else
6039
6040 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x ; then
6042 eval "DEFAULT_$LINE"
6043 else
6044 no_cache=1
6045 fi
6046
6047 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6048
6049 fi;
6050
6051 eval "$ac_cv_use_stopwatch"
6052 if test "$no_cache" != 1; then
6053 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6054 fi
6055
6056 if test "$wxUSE_STOPWATCH" = yes; then
6057 echo "$as_me:$LINENO: result: yes" >&5
6058 echo "${ECHO_T}yes" >&6
6059 else
6060 echo "$as_me:$LINENO: result: no" >&5
6061 echo "${ECHO_T}no" >&6
6062 fi
6063
6064
6065 enablestring=
6066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6067 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6068 no_cache=0
6069 # Check whether --enable-streams or --disable-streams was given.
6070 if test "${enable_streams+set}" = set; then
6071 enableval="$enable_streams"
6072
6073 if test "$enableval" = yes; then
6074 ac_cv_use_streams='wxUSE_STREAMS=yes'
6075 else
6076 ac_cv_use_streams='wxUSE_STREAMS=no'
6077 fi
6078
6079 else
6080
6081 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x ; then
6083 eval "DEFAULT_$LINE"
6084 else
6085 no_cache=1
6086 fi
6087
6088 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6089
6090 fi;
6091
6092 eval "$ac_cv_use_streams"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6095 fi
6096
6097 if test "$wxUSE_STREAMS" = yes; then
6098 echo "$as_me:$LINENO: result: yes" >&5
6099 echo "${ECHO_T}yes" >&6
6100 else
6101 echo "$as_me:$LINENO: result: no" >&5
6102 echo "${ECHO_T}no" >&6
6103 fi
6104
6105
6106 enablestring=
6107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6109 no_cache=0
6110 # Check whether --enable-system_options or --disable-system_options was given.
6111 if test "${enable_system_options+set}" = set; then
6112 enableval="$enable_system_options"
6113
6114 if test "$enableval" = yes; then
6115 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6116 else
6117 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6118 fi
6119
6120 else
6121
6122 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x ; then
6124 eval "DEFAULT_$LINE"
6125 else
6126 no_cache=1
6127 fi
6128
6129 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6130
6131 fi;
6132
6133 eval "$ac_cv_use_system_options"
6134 if test "$no_cache" != 1; then
6135 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6136 fi
6137
6138 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6139 echo "$as_me:$LINENO: result: yes" >&5
6140 echo "${ECHO_T}yes" >&6
6141 else
6142 echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6
6144 fi
6145
6146
6147 enablestring=
6148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6149 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6150 no_cache=0
6151 # Check whether --enable-textbuf or --disable-textbuf was given.
6152 if test "${enable_textbuf+set}" = set; then
6153 enableval="$enable_textbuf"
6154
6155 if test "$enableval" = yes; then
6156 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6157 else
6158 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6159 fi
6160
6161 else
6162
6163 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6164 if test "x$LINE" != x ; then
6165 eval "DEFAULT_$LINE"
6166 else
6167 no_cache=1
6168 fi
6169
6170 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6171
6172 fi;
6173
6174 eval "$ac_cv_use_textbuf"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6177 fi
6178
6179 if test "$wxUSE_TEXTBUFFER" = yes; then
6180 echo "$as_me:$LINENO: result: yes" >&5
6181 echo "${ECHO_T}yes" >&6
6182 else
6183 echo "$as_me:$LINENO: result: no" >&5
6184 echo "${ECHO_T}no" >&6
6185 fi
6186
6187
6188 enablestring=
6189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6190 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6191 no_cache=0
6192 # Check whether --enable-textfile or --disable-textfile was given.
6193 if test "${enable_textfile+set}" = set; then
6194 enableval="$enable_textfile"
6195
6196 if test "$enableval" = yes; then
6197 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6198 else
6199 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6200 fi
6201
6202 else
6203
6204 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x ; then
6206 eval "DEFAULT_$LINE"
6207 else
6208 no_cache=1
6209 fi
6210
6211 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6212
6213 fi;
6214
6215 eval "$ac_cv_use_textfile"
6216 if test "$no_cache" != 1; then
6217 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6218 fi
6219
6220 if test "$wxUSE_TEXTFILE" = yes; then
6221 echo "$as_me:$LINENO: result: yes" >&5
6222 echo "${ECHO_T}yes" >&6
6223 else
6224 echo "$as_me:$LINENO: result: no" >&5
6225 echo "${ECHO_T}no" >&6
6226 fi
6227
6228
6229 enablestring=
6230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6231 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6232 no_cache=0
6233 # Check whether --enable-timer or --disable-timer was given.
6234 if test "${enable_timer+set}" = set; then
6235 enableval="$enable_timer"
6236
6237 if test "$enableval" = yes; then
6238 ac_cv_use_timer='wxUSE_TIMER=yes'
6239 else
6240 ac_cv_use_timer='wxUSE_TIMER=no'
6241 fi
6242
6243 else
6244
6245 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6246 if test "x$LINE" != x ; then
6247 eval "DEFAULT_$LINE"
6248 else
6249 no_cache=1
6250 fi
6251
6252 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6253
6254 fi;
6255
6256 eval "$ac_cv_use_timer"
6257 if test "$no_cache" != 1; then
6258 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6259 fi
6260
6261 if test "$wxUSE_TIMER" = yes; then
6262 echo "$as_me:$LINENO: result: yes" >&5
6263 echo "${ECHO_T}yes" >&6
6264 else
6265 echo "$as_me:$LINENO: result: no" >&5
6266 echo "${ECHO_T}no" >&6
6267 fi
6268
6269
6270 enablestring=
6271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6273 no_cache=0
6274 # Check whether --enable-unicode or --disable-unicode was given.
6275 if test "${enable_unicode+set}" = set; then
6276 enableval="$enable_unicode"
6277
6278 if test "$enableval" = yes; then
6279 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6280 else
6281 ac_cv_use_unicode='wxUSE_UNICODE=no'
6282 fi
6283
6284 else
6285
6286 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6287 if test "x$LINE" != x ; then
6288 eval "DEFAULT_$LINE"
6289 else
6290 no_cache=1
6291 fi
6292
6293 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6294
6295 fi;
6296
6297 eval "$ac_cv_use_unicode"
6298 if test "$no_cache" != 1; then
6299 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6300 fi
6301
6302 if test "$wxUSE_UNICODE" = yes; then
6303 echo "$as_me:$LINENO: result: yes" >&5
6304 echo "${ECHO_T}yes" >&6
6305 else
6306 echo "$as_me:$LINENO: result: no" >&5
6307 echo "${ECHO_T}no" >&6
6308 fi
6309
6310
6311 enablestring=
6312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6314 no_cache=0
6315 # Check whether --enable-sound or --disable-sound was given.
6316 if test "${enable_sound+set}" = set; then
6317 enableval="$enable_sound"
6318
6319 if test "$enableval" = yes; then
6320 ac_cv_use_sound='wxUSE_SOUND=yes'
6321 else
6322 ac_cv_use_sound='wxUSE_SOUND=no'
6323 fi
6324
6325 else
6326
6327 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6330 else
6331 no_cache=1
6332 fi
6333
6334 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6335
6336 fi;
6337
6338 eval "$ac_cv_use_sound"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6341 fi
6342
6343 if test "$wxUSE_SOUND" = yes; then
6344 echo "$as_me:$LINENO: result: yes" >&5
6345 echo "${ECHO_T}yes" >&6
6346 else
6347 echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6349 fi
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6357 if test "${enable_mediactrl+set}" = set; then
6358 enableval="$enable_mediactrl"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6362 else
6363 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6364 fi
6365
6366 else
6367
6368 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6376
6377 fi;
6378
6379 eval "$ac_cv_use_mediactrl"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_MEDIACTRL" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386 echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393 enablestring=
6394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6395 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6396 no_cache=0
6397 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6398 if test "${enable_gstreamer8+set}" = set; then
6399 enableval="$enable_gstreamer8"
6400
6401 if test "$enableval" = yes; then
6402 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6403 else
6404 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6405 fi
6406
6407 else
6408
6409 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6412 else
6413 no_cache=1
6414 fi
6415
6416 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6417
6418 fi;
6419
6420 eval "$ac_cv_use_gstreamer8"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_GSTREAMER8" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427 echo "${ECHO_T}yes" >&6
6428 else
6429 echo "$as_me:$LINENO: result: no" >&5
6430 echo "${ECHO_T}no" >&6
6431 fi
6432
6433
6434 enablestring=
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6437 no_cache=0
6438 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6439 if test "${enable_printfposparam+set}" = set; then
6440 enableval="$enable_printfposparam"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6444 else
6445 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6446 fi
6447
6448 else
6449
6450 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6458
6459 fi;
6460
6461 eval "$ac_cv_use_printfposparam"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6464 fi
6465
6466 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6469 else
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6472 fi
6473
6474
6475 enablestring=
6476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6477 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6478 no_cache=0
6479 # Check whether --enable-zipstream or --disable-zipstream was given.
6480 if test "${enable_zipstream+set}" = set; then
6481 enableval="$enable_zipstream"
6482
6483 if test "$enableval" = yes; then
6484 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6485 else
6486 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6487 fi
6488
6489 else
6490
6491 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x ; then
6493 eval "DEFAULT_$LINE"
6494 else
6495 no_cache=1
6496 fi
6497
6498 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6499
6500 fi;
6501
6502 eval "$ac_cv_use_zipstream"
6503 if test "$no_cache" != 1; then
6504 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6505 fi
6506
6507 if test "$wxUSE_ZIPSTREAM" = yes; then
6508 echo "$as_me:$LINENO: result: yes" >&5
6509 echo "${ECHO_T}yes" >&6
6510 else
6511 echo "$as_me:$LINENO: result: no" >&5
6512 echo "${ECHO_T}no" >&6
6513 fi
6514
6515
6516
6517 enablestring=
6518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6520 no_cache=0
6521 # Check whether --enable-url or --disable-url was given.
6522 if test "${enable_url+set}" = set; then
6523 enableval="$enable_url"
6524
6525 if test "$enableval" = yes; then
6526 ac_cv_use_url='wxUSE_URL=yes'
6527 else
6528 ac_cv_use_url='wxUSE_URL=no'
6529 fi
6530
6531 else
6532
6533 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6534 if test "x$LINE" != x ; then
6535 eval "DEFAULT_$LINE"
6536 else
6537 no_cache=1
6538 fi
6539
6540 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6541
6542 fi;
6543
6544 eval "$ac_cv_use_url"
6545 if test "$no_cache" != 1; then
6546 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6547 fi
6548
6549 if test "$wxUSE_URL" = yes; then
6550 echo "$as_me:$LINENO: result: yes" >&5
6551 echo "${ECHO_T}yes" >&6
6552 else
6553 echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6
6555 fi
6556
6557
6558 enablestring=
6559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6561 no_cache=0
6562 # Check whether --enable-variant or --disable-variant was given.
6563 if test "${enable_variant+set}" = set; then
6564 enableval="$enable_variant"
6565
6566 if test "$enableval" = yes; then
6567 ac_cv_use_variant='wxUSE_VARIANT=yes'
6568 else
6569 ac_cv_use_variant='wxUSE_VARIANT=no'
6570 fi
6571
6572 else
6573
6574 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x ; then
6576 eval "DEFAULT_$LINE"
6577 else
6578 no_cache=1
6579 fi
6580
6581 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6582
6583 fi;
6584
6585 eval "$ac_cv_use_variant"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6588 fi
6589
6590 if test "$wxUSE_VARIANT" = yes; then
6591 echo "$as_me:$LINENO: result: yes" >&5
6592 echo "${ECHO_T}yes" >&6
6593 else
6594 echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6
6596 fi
6597
6598
6599 enablestring=
6600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6602 no_cache=0
6603 # Check whether --enable-protocol or --disable-protocol was given.
6604 if test "${enable_protocol+set}" = set; then
6605 enableval="$enable_protocol"
6606
6607 if test "$enableval" = yes; then
6608 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6609 else
6610 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6611 fi
6612
6613 else
6614
6615 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6616 if test "x$LINE" != x ; then
6617 eval "DEFAULT_$LINE"
6618 else
6619 no_cache=1
6620 fi
6621
6622 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6623
6624 fi;
6625
6626 eval "$ac_cv_use_protocol"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6629 fi
6630
6631 if test "$wxUSE_PROTOCOL" = yes; then
6632 echo "$as_me:$LINENO: result: yes" >&5
6633 echo "${ECHO_T}yes" >&6
6634 else
6635 echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6
6637 fi
6638
6639
6640 enablestring=
6641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6643 no_cache=0
6644 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6645 if test "${enable_protocol_http+set}" = set; then
6646 enableval="$enable_protocol_http"
6647
6648 if test "$enableval" = yes; then
6649 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6650 else
6651 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6652 fi
6653
6654 else
6655
6656 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6657 if test "x$LINE" != x ; then
6658 eval "DEFAULT_$LINE"
6659 else
6660 no_cache=1
6661 fi
6662
6663 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6664
6665 fi;
6666
6667 eval "$ac_cv_use_protocol_http"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6670 fi
6671
6672 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6673 echo "$as_me:$LINENO: result: yes" >&5
6674 echo "${ECHO_T}yes" >&6
6675 else
6676 echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6
6678 fi
6679
6680
6681 enablestring=
6682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6684 no_cache=0
6685 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6686 if test "${enable_protocol_ftp+set}" = set; then
6687 enableval="$enable_protocol_ftp"
6688
6689 if test "$enableval" = yes; then
6690 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6691 else
6692 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6693 fi
6694
6695 else
6696
6697 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6698 if test "x$LINE" != x ; then
6699 eval "DEFAULT_$LINE"
6700 else
6701 no_cache=1
6702 fi
6703
6704 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6705
6706 fi;
6707
6708 eval "$ac_cv_use_protocol_ftp"
6709 if test "$no_cache" != 1; then
6710 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6711 fi
6712
6713 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6714 echo "$as_me:$LINENO: result: yes" >&5
6715 echo "${ECHO_T}yes" >&6
6716 else
6717 echo "$as_me:$LINENO: result: no" >&5
6718 echo "${ECHO_T}no" >&6
6719 fi
6720
6721
6722 enablestring=
6723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6724 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6725 no_cache=0
6726 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6727 if test "${enable_protocol_file+set}" = set; then
6728 enableval="$enable_protocol_file"
6729
6730 if test "$enableval" = yes; then
6731 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6732 else
6733 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6734 fi
6735
6736 else
6737
6738 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6739 if test "x$LINE" != x ; then
6740 eval "DEFAULT_$LINE"
6741 else
6742 no_cache=1
6743 fi
6744
6745 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6746
6747 fi;
6748
6749 eval "$ac_cv_use_protocol_file"
6750 if test "$no_cache" != 1; then
6751 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6752 fi
6753
6754 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6755 echo "$as_me:$LINENO: result: yes" >&5
6756 echo "${ECHO_T}yes" >&6
6757 else
6758 echo "$as_me:$LINENO: result: no" >&5
6759 echo "${ECHO_T}no" >&6
6760 fi
6761
6762
6763
6764
6765
6766 enablestring=
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6769 no_cache=0
6770 # Check whether --enable-threads or --disable-threads was given.
6771 if test "${enable_threads+set}" = set; then
6772 enableval="$enable_threads"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_threads='wxUSE_THREADS=yes'
6776 else
6777 ac_cv_use_threads='wxUSE_THREADS=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6790
6791 fi;
6792
6793 eval "$ac_cv_use_threads"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6796 fi
6797
6798 if test "$wxUSE_THREADS" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6801 else
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6804 fi
6805
6806
6807 if test "$wxUSE_GUI" = "yes"; then
6808
6809
6810
6811 enablestring=
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6814 no_cache=0
6815 # Check whether --enable-docview or --disable-docview was given.
6816 if test "${enable_docview+set}" = set; then
6817 enableval="$enable_docview"
6818
6819 if test "$enableval" = yes; then
6820 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6821 else
6822 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6835
6836 fi;
6837
6838 eval "$ac_cv_use_docview"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6841 fi
6842
6843 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6846 else
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6849 fi
6850
6851
6852 enablestring=
6853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6855 no_cache=0
6856 # Check whether --enable-help or --disable-help was given.
6857 if test "${enable_help+set}" = set; then
6858 enableval="$enable_help"
6859
6860 if test "$enableval" = yes; then
6861 ac_cv_use_help='wxUSE_HELP=yes'
6862 else
6863 ac_cv_use_help='wxUSE_HELP=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6876
6877 fi;
6878
6879 eval "$ac_cv_use_help"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6882 fi
6883
6884 if test "$wxUSE_HELP" = yes; then
6885 echo "$as_me:$LINENO: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6887 else
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6890 fi
6891
6892
6893 enablestring=
6894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6896 no_cache=0
6897 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6898 if test "${enable_mshtmlhelp+set}" = set; then
6899 enableval="$enable_mshtmlhelp"
6900
6901 if test "$enableval" = yes; then
6902 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6903 else
6904 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6905 fi
6906
6907 else
6908
6909 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6912 else
6913 no_cache=1
6914 fi
6915
6916 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6917
6918 fi;
6919
6920 eval "$ac_cv_use_mshtmlhelp"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6923 fi
6924
6925 if test "$wxUSE_MS_HTML_HELP" = yes; then
6926 echo "$as_me:$LINENO: result: yes" >&5
6927 echo "${ECHO_T}yes" >&6
6928 else
6929 echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6
6931 fi
6932
6933
6934 enablestring=
6935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6937 no_cache=0
6938 # Check whether --enable-html or --disable-html was given.
6939 if test "${enable_html+set}" = set; then
6940 enableval="$enable_html"
6941
6942 if test "$enableval" = yes; then
6943 ac_cv_use_html='wxUSE_HTML=yes'
6944 else
6945 ac_cv_use_html='wxUSE_HTML=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6958
6959 fi;
6960
6961 eval "$ac_cv_use_html"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6964 fi
6965
6966 if test "$wxUSE_HTML" = yes; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968 echo "${ECHO_T}yes" >&6
6969 else
6970 echo "$as_me:$LINENO: result: no" >&5
6971 echo "${ECHO_T}no" >&6
6972 fi
6973
6974
6975 enablestring=
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6978 no_cache=0
6979 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6980 if test "${enable_htmlhelp+set}" = set; then
6981 enableval="$enable_htmlhelp"
6982
6983 if test "$enableval" = yes; then
6984 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6985 else
6986 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6987 fi
6988
6989 else
6990
6991 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 else
6995 no_cache=1
6996 fi
6997
6998 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6999
7000 fi;
7001
7002 eval "$ac_cv_use_htmlhelp"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7005 fi
7006
7007 if test "$wxUSE_WXHTML_HELP" = yes; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7010 else
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7013 fi
7014
7015
7016 enablestring=
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7019 no_cache=0
7020 # Check whether --enable-xrc or --disable-xrc was given.
7021 if test "${enable_xrc+set}" = set; then
7022 enableval="$enable_xrc"
7023
7024 if test "$enableval" = yes; then
7025 ac_cv_use_xrc='wxUSE_XRC=yes'
7026 else
7027 ac_cv_use_xrc='wxUSE_XRC=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7040
7041 fi;
7042
7043 eval "$ac_cv_use_xrc"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7046 fi
7047
7048 if test "$wxUSE_XRC" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7051 else
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7054 fi
7055
7056
7057 enablestring=
7058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7059 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7060 no_cache=0
7061 # Check whether --enable-aui or --disable-aui was given.
7062 if test "${enable_aui+set}" = set; then
7063 enableval="$enable_aui"
7064
7065 if test "$enableval" = yes; then
7066 ac_cv_use_aui='wxUSE_AUI=yes'
7067 else
7068 ac_cv_use_aui='wxUSE_AUI=no'
7069 fi
7070
7071 else
7072
7073 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7076 else
7077 no_cache=1
7078 fi
7079
7080 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7081
7082 fi;
7083
7084 eval "$ac_cv_use_aui"
7085 if test "$no_cache" != 1; then
7086 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7087 fi
7088
7089 if test "$wxUSE_AUI" = yes; then
7090 echo "$as_me:$LINENO: result: yes" >&5
7091 echo "${ECHO_T}yes" >&6
7092 else
7093 echo "$as_me:$LINENO: result: no" >&5
7094 echo "${ECHO_T}no" >&6
7095 fi
7096
7097
7098 enablestring=
7099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7100 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7101 no_cache=0
7102 # Check whether --enable-constraints or --disable-constraints was given.
7103 if test "${enable_constraints+set}" = set; then
7104 enableval="$enable_constraints"
7105
7106 if test "$enableval" = yes; then
7107 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7108 else
7109 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7110 fi
7111
7112 else
7113
7114 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7117 else
7118 no_cache=1
7119 fi
7120
7121 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7122
7123 fi;
7124
7125 eval "$ac_cv_use_constraints"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7128 fi
7129
7130 if test "$wxUSE_CONSTRAINTS" = yes; then
7131 echo "$as_me:$LINENO: result: yes" >&5
7132 echo "${ECHO_T}yes" >&6
7133 else
7134 echo "$as_me:$LINENO: result: no" >&5
7135 echo "${ECHO_T}no" >&6
7136 fi
7137
7138
7139 enablestring=
7140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7141 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7142 no_cache=0
7143 # Check whether --enable-printarch or --disable-printarch was given.
7144 if test "${enable_printarch+set}" = set; then
7145 enableval="$enable_printarch"
7146
7147 if test "$enableval" = yes; then
7148 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7149 else
7150 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7163
7164 fi;
7165
7166 eval "$ac_cv_use_printarch"
7167 if test "$no_cache" != 1; then
7168 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7169 fi
7170
7171 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7172 echo "$as_me:$LINENO: result: yes" >&5
7173 echo "${ECHO_T}yes" >&6
7174 else
7175 echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6
7177 fi
7178
7179
7180 enablestring=
7181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7183 no_cache=0
7184 # Check whether --enable-mdi or --disable-mdi was given.
7185 if test "${enable_mdi+set}" = set; then
7186 enableval="$enable_mdi"
7187
7188 if test "$enableval" = yes; then
7189 ac_cv_use_mdi='wxUSE_MDI=yes'
7190 else
7191 ac_cv_use_mdi='wxUSE_MDI=no'
7192 fi
7193
7194 else
7195
7196 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7199 else
7200 no_cache=1
7201 fi
7202
7203 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7204
7205 fi;
7206
7207 eval "$ac_cv_use_mdi"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7210 fi
7211
7212 if test "$wxUSE_MDI" = yes; then
7213 echo "$as_me:$LINENO: result: yes" >&5
7214 echo "${ECHO_T}yes" >&6
7215 else
7216 echo "$as_me:$LINENO: result: no" >&5
7217 echo "${ECHO_T}no" >&6
7218 fi
7219
7220
7221 enablestring=
7222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7224 no_cache=0
7225 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7226 if test "${enable_mdidoc+set}" = set; then
7227 enableval="$enable_mdidoc"
7228
7229 if test "$enableval" = yes; then
7230 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7231 else
7232 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7233 fi
7234
7235 else
7236
7237 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7240 else
7241 no_cache=1
7242 fi
7243
7244 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7245
7246 fi;
7247
7248 eval "$ac_cv_use_mdidoc"
7249 if test "$no_cache" != 1; then
7250 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7251 fi
7252
7253 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7254 echo "$as_me:$LINENO: result: yes" >&5
7255 echo "${ECHO_T}yes" >&6
7256 else
7257 echo "$as_me:$LINENO: result: no" >&5
7258 echo "${ECHO_T}no" >&6
7259 fi
7260
7261
7262 enablestring=
7263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7265 no_cache=0
7266 # Check whether --enable-loggui or --disable-loggui was given.
7267 if test "${enable_loggui+set}" = set; then
7268 enableval="$enable_loggui"
7269
7270 if test "$enableval" = yes; then
7271 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7272 else
7273 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7274 fi
7275
7276 else
7277
7278 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7281 else
7282 no_cache=1
7283 fi
7284
7285 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7286
7287 fi;
7288
7289 eval "$ac_cv_use_loggui"
7290 if test "$no_cache" != 1; then
7291 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7292 fi
7293
7294 if test "$wxUSE_LOGGUI" = yes; then
7295 echo "$as_me:$LINENO: result: yes" >&5
7296 echo "${ECHO_T}yes" >&6
7297 else
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7300 fi
7301
7302
7303 enablestring=
7304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7306 no_cache=0
7307 # Check whether --enable-logwin or --disable-logwin was given.
7308 if test "${enable_logwin+set}" = set; then
7309 enableval="$enable_logwin"
7310
7311 if test "$enableval" = yes; then
7312 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7313 else
7314 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7315 fi
7316
7317 else
7318
7319 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7322 else
7323 no_cache=1
7324 fi
7325
7326 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7327
7328 fi;
7329
7330 eval "$ac_cv_use_logwin"
7331 if test "$no_cache" != 1; then
7332 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7333 fi
7334
7335 if test "$wxUSE_LOGWINDOW" = yes; then
7336 echo "$as_me:$LINENO: result: yes" >&5
7337 echo "${ECHO_T}yes" >&6
7338 else
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7341 fi
7342
7343
7344 enablestring=
7345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7347 no_cache=0
7348 # Check whether --enable-logdialog or --disable-logdialog was given.
7349 if test "${enable_logdialog+set}" = set; then
7350 enableval="$enable_logdialog"
7351
7352 if test "$enableval" = yes; then
7353 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7354 else
7355 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7356 fi
7357
7358 else
7359
7360 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7363 else
7364 no_cache=1
7365 fi
7366
7367 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7368
7369 fi;
7370
7371 eval "$ac_cv_use_logdialog"
7372 if test "$no_cache" != 1; then
7373 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7374 fi
7375
7376 if test "$wxUSE_LOGDIALOG" = yes; then
7377 echo "$as_me:$LINENO: result: yes" >&5
7378 echo "${ECHO_T}yes" >&6
7379 else
7380 echo "$as_me:$LINENO: result: no" >&5
7381 echo "${ECHO_T}no" >&6
7382 fi
7383
7384
7385 enablestring=
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7388 no_cache=0
7389 # Check whether --enable-webkit or --disable-webkit was given.
7390 if test "${enable_webkit+set}" = set; then
7391 enableval="$enable_webkit"
7392
7393 if test "$enableval" = yes; then
7394 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7395 else
7396 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7397 fi
7398
7399 else
7400
7401 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7404 else
7405 no_cache=1
7406 fi
7407
7408 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7409
7410 fi;
7411
7412 eval "$ac_cv_use_webkit"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7415 fi
7416
7417 if test "$wxUSE_WEBKIT" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7420 else
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7423 fi
7424
7425
7426 enablestring=
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7429 no_cache=0
7430 # Check whether --enable-html or --disable-html was given.
7431 if test "${enable_html+set}" = set; then
7432 enableval="$enable_html"
7433
7434 if test "$enableval" = yes; then
7435 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7436 else
7437 ac_cv_use_html='wxUSE_RICHTEXT=no'
7438 fi
7439
7440 else
7441
7442 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7445 else
7446 no_cache=1
7447 fi
7448
7449 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7450
7451 fi;
7452
7453 eval "$ac_cv_use_html"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7456 fi
7457
7458 if test "$wxUSE_RICHTEXT" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7461 else
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7464 fi
7465
7466
7467
7468 enablestring=
7469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7471 no_cache=0
7472 # Check whether --enable-postscript or --disable-postscript was given.
7473 if test "${enable_postscript+set}" = set; then
7474 enableval="$enable_postscript"
7475
7476 if test "$enableval" = yes; then
7477 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7478 else
7479 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7480 fi
7481
7482 else
7483
7484 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 else
7488 no_cache=1
7489 fi
7490
7491 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7492
7493 fi;
7494
7495 eval "$ac_cv_use_postscript"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7498 fi
7499
7500 if test "$wxUSE_POSTSCRIPT" = yes; then
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7503 else
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7506 fi
7507
7508
7509
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-prologio or --disable-prologio was given.
7517 if test "${enable_prologio+set}" = set; then
7518 enableval="$enable_prologio"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7522 else
7523 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7536
7537 fi;
7538
7539 eval "$ac_cv_use_prologio"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_PROLOGIO" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-resources or --disable-resources was given.
7558 if test "${enable_resources+set}" = set; then
7559 enableval="$enable_resources"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7563 else
7564 ac_cv_use_resources='wxUSE_RESOURCES=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7577
7578 fi;
7579
7580 eval "$ac_cv_use_resources"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_RESOURCES" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594
7595
7596 enablestring=
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7599 no_cache=0
7600 # Check whether --enable-clipboard or --disable-clipboard was given.
7601 if test "${enable_clipboard+set}" = set; then
7602 enableval="$enable_clipboard"
7603
7604 if test "$enableval" = yes; then
7605 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7606 else
7607 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7608 fi
7609
7610 else
7611
7612 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7615 else
7616 no_cache=1
7617 fi
7618
7619 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7620
7621 fi;
7622
7623 eval "$ac_cv_use_clipboard"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7626 fi
7627
7628 if test "$wxUSE_CLIPBOARD" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7631 else
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7634 fi
7635
7636
7637 enablestring=
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7640 no_cache=0
7641 # Check whether --enable-dnd or --disable-dnd was given.
7642 if test "${enable_dnd+set}" = set; then
7643 enableval="$enable_dnd"
7644
7645 if test "$enableval" = yes; then
7646 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7647 else
7648 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7649 fi
7650
7651 else
7652
7653 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x ; then
7655 eval "DEFAULT_$LINE"
7656 else
7657 no_cache=1
7658 fi
7659
7660 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7661
7662 fi;
7663
7664 eval "$ac_cv_use_dnd"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7667 fi
7668
7669 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7672 else
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7675 fi
7676
7677
7678 enablestring=
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7681 no_cache=0
7682 # Check whether --enable-metafile or --disable-metafile was given.
7683 if test "${enable_metafile+set}" = set; then
7684 enableval="$enable_metafile"
7685
7686 if test "$enableval" = yes; then
7687 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7688 else
7689 ac_cv_use_metafile='wxUSE_METAFILE=no'
7690 fi
7691
7692 else
7693
7694 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x ; then
7696 eval "DEFAULT_$LINE"
7697 else
7698 no_cache=1
7699 fi
7700
7701 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7702
7703 fi;
7704
7705 eval "$ac_cv_use_metafile"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test "$wxUSE_METAFILE" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7716 fi
7717
7718
7719
7720
7721
7722 enablestring=
7723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7725 no_cache=0
7726 # Check whether --enable-controls or --disable-controls was given.
7727 if test "${enable_controls+set}" = set; then
7728 enableval="$enable_controls"
7729
7730 if test "$enableval" = yes; then
7731 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7732 else
7733 ac_cv_use_controls='wxUSE_CONTROLS=no'
7734 fi
7735
7736 else
7737
7738 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x ; then
7740 eval "DEFAULT_$LINE"
7741 else
7742 no_cache=1
7743 fi
7744
7745 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7746
7747 fi;
7748
7749 eval "$ac_cv_use_controls"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7752 fi
7753
7754 if test "$wxUSE_CONTROLS" = yes; then
7755 echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6
7757 else
7758 echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6
7760 fi
7761
7762
7763 if test "$wxUSE_CONTROLS" = "yes"; then
7764 DEFAULT_wxUSE_ACCEL=yes
7765 DEFAULT_wxUSE_BMPBUTTON=yes
7766 DEFAULT_wxUSE_BUTTON=yes
7767 DEFAULT_wxUSE_CALCTRL=yes
7768 DEFAULT_wxUSE_CARET=yes
7769 DEFAULT_wxUSE_COMBOBOX=yes
7770 DEFAULT_wxUSE_CHECKBOX=yes
7771 DEFAULT_wxUSE_CHECKLISTBOX=yes
7772 DEFAULT_wxUSE_CHOICE=yes
7773 DEFAULT_wxUSE_CHOICEBOOK=yes
7774 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7775 DEFAULT_wxUSE_COMBOBOX=yes
7776 DEFAULT_wxUSE_DATEPICKCTRL=yes
7777 DEFAULT_wxUSE_DISPLAY=yes
7778 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7779 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7780 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7781 DEFAULT_wxUSE_GAUGE=yes
7782 DEFAULT_wxUSE_GRID=yes
7783 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7784 DEFAULT_wxUSE_DATAVIEWCTRL=no
7785 DEFAULT_wxUSE_IMAGLIST=yes
7786 DEFAULT_wxUSE_LISTBOOK=yes
7787 DEFAULT_wxUSE_LISTBOX=yes
7788 DEFAULT_wxUSE_LISTCTRL=yes
7789 DEFAULT_wxUSE_NOTEBOOK=yes
7790 DEFAULT_wxUSE_RADIOBOX=yes
7791 DEFAULT_wxUSE_RADIOBTN=yes
7792 DEFAULT_wxUSE_SASH=yes
7793 DEFAULT_wxUSE_SCROLLBAR=yes
7794 DEFAULT_wxUSE_SLIDER=yes
7795 DEFAULT_wxUSE_SPINBTN=yes
7796 DEFAULT_wxUSE_SPINCTRL=yes
7797 DEFAULT_wxUSE_SPLITTER=yes
7798 DEFAULT_wxUSE_STATBMP=yes
7799 DEFAULT_wxUSE_STATBOX=yes
7800 DEFAULT_wxUSE_STATLINE=yes
7801 DEFAULT_wxUSE_STATUSBAR=yes
7802 DEFAULT_wxUSE_TAB_DIALOG=yes
7803 DEFAULT_wxUSE_TOGGLEBTN=yes
7804 DEFAULT_wxUSE_TOOLBAR=yes
7805 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7806 DEFAULT_wxUSE_TOOLTIPS=yes
7807 DEFAULT_wxUSE_TREEBOOK=yes
7808 DEFAULT_wxUSE_TOOLBOOK=yes
7809 DEFAULT_wxUSE_TREECTRL=yes
7810 DEFAULT_wxUSE_POPUPWIN=yes
7811 DEFAULT_wxUSE_TIPWINDOW=yes
7812 elif test "$wxUSE_CONTROLS" = "no"; then
7813 DEFAULT_wxUSE_ACCEL=no
7814 DEFAULT_wxUSE_BMPBUTTON=no
7815 DEFAULT_wxUSE_BUTTON=no
7816 DEFAULT_wxUSE_CALCTRL=no
7817 DEFAULT_wxUSE_CARET=no
7818 DEFAULT_wxUSE_COMBOBOX=no
7819 DEFAULT_wxUSE_CHECKBOX=no
7820 DEFAULT_wxUSE_CHECKLISTBOX=no
7821 DEFAULT_wxUSE_CHOICE=no
7822 DEFAULT_wxUSE_CHOICEBOOK=no
7823 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7824 DEFAULT_wxUSE_COMBOBOX=no
7825 DEFAULT_wxUSE_DATEPICKCTRL=no
7826 DEFAULT_wxUSE_DISPLAY=no
7827 DEFAULT_wxUSE_DIRPICKERCTRL=no
7828 DEFAULT_wxUSE_FILEPICKERCTRL=no
7829 DEFAULT_wxUSE_FONTPICKERCTRL=no
7830 DEFAULT_wxUSE_GAUGE=no
7831 DEFAULT_wxUSE_GRID=no
7832 DEFAULT_wxUSE_HYPERLINKCTRL=no
7833 DEFAULT_wxUSE_DATAVIEWCTRL=no
7834 DEFAULT_wxUSE_IMAGLIST=no
7835 DEFAULT_wxUSE_LISTBOOK=no
7836 DEFAULT_wxUSE_LISTBOX=no
7837 DEFAULT_wxUSE_LISTCTRL=no
7838 DEFAULT_wxUSE_NOTEBOOK=no
7839 DEFAULT_wxUSE_RADIOBOX=no
7840 DEFAULT_wxUSE_RADIOBTN=no
7841 DEFAULT_wxUSE_SASH=no
7842 DEFAULT_wxUSE_SCROLLBAR=no
7843 DEFAULT_wxUSE_SLIDER=no
7844 DEFAULT_wxUSE_SPINBTN=no
7845 DEFAULT_wxUSE_SPINCTRL=no
7846 DEFAULT_wxUSE_SPLITTER=no
7847 DEFAULT_wxUSE_STATBMP=no
7848 DEFAULT_wxUSE_STATBOX=no
7849 DEFAULT_wxUSE_STATLINE=no
7850 DEFAULT_wxUSE_STATUSBAR=no
7851 DEFAULT_wxUSE_TAB_DIALOG=no
7852 DEFAULT_wxUSE_TOGGLEBTN=no
7853 DEFAULT_wxUSE_TOOLBAR=no
7854 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7855 DEFAULT_wxUSE_TOOLTIPS=no
7856 DEFAULT_wxUSE_TREEBOOK=no
7857 DEFAULT_wxUSE_TOOLBOOK=no
7858 DEFAULT_wxUSE_TREECTRL=no
7859 DEFAULT_wxUSE_POPUPWIN=no
7860 DEFAULT_wxUSE_TIPWINDOW=no
7861 fi
7862
7863
7864 enablestring=
7865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7867 no_cache=0
7868 # Check whether --enable-accel or --disable-accel was given.
7869 if test "${enable_accel+set}" = set; then
7870 enableval="$enable_accel"
7871
7872 if test "$enableval" = yes; then
7873 ac_cv_use_accel='wxUSE_ACCEL=yes'
7874 else
7875 ac_cv_use_accel='wxUSE_ACCEL=no'
7876 fi
7877
7878 else
7879
7880 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x ; then
7882 eval "DEFAULT_$LINE"
7883 else
7884 no_cache=1
7885 fi
7886
7887 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7888
7889 fi;
7890
7891 eval "$ac_cv_use_accel"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_ACCEL" = yes; then
7897 echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6
7899 else
7900 echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6
7902 fi
7903
7904
7905 enablestring=
7906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7908 no_cache=0
7909 # Check whether --enable-button or --disable-button was given.
7910 if test "${enable_button+set}" = set; then
7911 enableval="$enable_button"
7912
7913 if test "$enableval" = yes; then
7914 ac_cv_use_button='wxUSE_BUTTON=yes'
7915 else
7916 ac_cv_use_button='wxUSE_BUTTON=no'
7917 fi
7918
7919 else
7920
7921 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7922 if test "x$LINE" != x ; then
7923 eval "DEFAULT_$LINE"
7924 else
7925 no_cache=1
7926 fi
7927
7928 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7929
7930 fi;
7931
7932 eval "$ac_cv_use_button"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_BUTTON" = yes; then
7938 echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6
7940 else
7941 echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6
7943 fi
7944
7945
7946 enablestring=
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7949 no_cache=0
7950 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7951 if test "${enable_bmpbutton+set}" = set; then
7952 enableval="$enable_bmpbutton"
7953
7954 if test "$enableval" = yes; then
7955 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7956 else
7957 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7958 fi
7959
7960 else
7961
7962 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x ; then
7964 eval "DEFAULT_$LINE"
7965 else
7966 no_cache=1
7967 fi
7968
7969 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7970
7971 fi;
7972
7973 eval "$ac_cv_use_bmpbutton"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_BMPBUTTON" = yes; then
7979 echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6
7981 else
7982 echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6
7984 fi
7985
7986
7987 enablestring=
7988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
7990 no_cache=0
7991 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
7992 if test "${enable_bmpcombobox+set}" = set; then
7993 enableval="$enable_bmpcombobox"
7994
7995 if test "$enableval" = yes; then
7996 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
7997 else
7998 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
7999 fi
8000
8001 else
8002
8003 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x ; then
8005 eval "DEFAULT_$LINE"
8006 else
8007 no_cache=1
8008 fi
8009
8010 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8011
8012 fi;
8013
8014 eval "$ac_cv_use_bmpcombobox"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8020 echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6
8022 else
8023 echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6
8025 fi
8026
8027
8028 enablestring=
8029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8031 no_cache=0
8032 # Check whether --enable-calendar or --disable-calendar was given.
8033 if test "${enable_calendar+set}" = set; then
8034 enableval="$enable_calendar"
8035
8036 if test "$enableval" = yes; then
8037 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8038 else
8039 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8040 fi
8041
8042 else
8043
8044 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x ; then
8046 eval "DEFAULT_$LINE"
8047 else
8048 no_cache=1
8049 fi
8050
8051 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8052
8053 fi;
8054
8055 eval "$ac_cv_use_calendar"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_CALCTRL" = yes; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8063 else
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8066 fi
8067
8068
8069 enablestring=
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8072 no_cache=0
8073 # Check whether --enable-caret or --disable-caret was given.
8074 if test "${enable_caret+set}" = set; then
8075 enableval="$enable_caret"
8076
8077 if test "$enableval" = yes; then
8078 ac_cv_use_caret='wxUSE_CARET=yes'
8079 else
8080 ac_cv_use_caret='wxUSE_CARET=no'
8081 fi
8082
8083 else
8084
8085 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8088 else
8089 no_cache=1
8090 fi
8091
8092 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8093
8094 fi;
8095
8096 eval "$ac_cv_use_caret"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_CARET" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8104 else
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8107 fi
8108
8109
8110 enablestring=
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8113 no_cache=0
8114 # Check whether --enable-checkbox or --disable-checkbox was given.
8115 if test "${enable_checkbox+set}" = set; then
8116 enableval="$enable_checkbox"
8117
8118 if test "$enableval" = yes; then
8119 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8120 else
8121 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8122 fi
8123
8124 else
8125
8126 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x ; then
8128 eval "DEFAULT_$LINE"
8129 else
8130 no_cache=1
8131 fi
8132
8133 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8134
8135 fi;
8136
8137 eval "$ac_cv_use_checkbox"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_CHECKBOX" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8145 else
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8148 fi
8149
8150
8151 enablestring=
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8154 no_cache=0
8155 # Check whether --enable-checklst or --disable-checklst was given.
8156 if test "${enable_checklst+set}" = set; then
8157 enableval="$enable_checklst"
8158
8159 if test "$enableval" = yes; then
8160 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8161 else
8162 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8175
8176 fi;
8177
8178 eval "$ac_cv_use_checklst"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_CHECKLST" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8186 else
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8189 fi
8190
8191
8192 enablestring=
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8195 no_cache=0
8196 # Check whether --enable-choice or --disable-choice was given.
8197 if test "${enable_choice+set}" = set; then
8198 enableval="$enable_choice"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_choice='wxUSE_CHOICE=yes'
8202 else
8203 ac_cv_use_choice='wxUSE_CHOICE=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8216
8217 fi;
8218
8219 eval "$ac_cv_use_choice"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_CHOICE" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8227 else
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8230 fi
8231
8232
8233 enablestring=
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8236 no_cache=0
8237 # Check whether --enable-choicebook or --disable-choicebook was given.
8238 if test "${enable_choicebook+set}" = set; then
8239 enableval="$enable_choicebook"
8240
8241 if test "$enableval" = yes; then
8242 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8243 else
8244 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8245 fi
8246
8247 else
8248
8249 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8252 else
8253 no_cache=1
8254 fi
8255
8256 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8257
8258 fi;
8259
8260 eval "$ac_cv_use_choicebook"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_CHOICEBOOK" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8268 else
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8271 fi
8272
8273
8274 enablestring=
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8277 no_cache=0
8278 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8279 if test "${enable_colourpicker+set}" = set; then
8280 enableval="$enable_colourpicker"
8281
8282 if test "$enableval" = yes; then
8283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8284 else
8285 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8286 fi
8287
8288 else
8289
8290 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x ; then
8292 eval "DEFAULT_$LINE"
8293 else
8294 no_cache=1
8295 fi
8296
8297 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8298
8299 fi;
8300
8301 eval "$ac_cv_use_colourpicker"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8309 else
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8312 fi
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-combobox or --disable-combobox was given.
8320 if test "${enable_combobox+set}" = set; then
8321 enableval="$enable_combobox"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8325 else
8326 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8339
8340 fi;
8341
8342 eval "$ac_cv_use_combobox"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_COMBOBOX" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8361 if test "${enable_comboctrl+set}" = set; then
8362 enableval="$enable_comboctrl"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8366 else
8367 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8380
8381 fi;
8382
8383 eval "$ac_cv_use_comboctrl"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_COMBOCTRL" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-datepick or --disable-datepick was given.
8402 if test "${enable_datepick+set}" = set; then
8403 enableval="$enable_datepick"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8407 else
8408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8421
8422 fi;
8423
8424 eval "$ac_cv_use_datepick"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_DATEPICKCTRL" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438 enablestring=
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8441 no_cache=0
8442 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8443 if test "${enable_dirpicker+set}" = set; then
8444 enableval="$enable_dirpicker"
8445
8446 if test "$enableval" = yes; then
8447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8448 else
8449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8450 fi
8451
8452 else
8453
8454 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x ; then
8456 eval "DEFAULT_$LINE"
8457 else
8458 no_cache=1
8459 fi
8460
8461 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8462
8463 fi;
8464
8465 eval "$ac_cv_use_dirpicker"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8473 else
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 fi
8477
8478
8479 enablestring=
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8482 no_cache=0
8483 # Check whether --enable-display or --disable-display was given.
8484 if test "${enable_display+set}" = set; then
8485 enableval="$enable_display"
8486
8487 if test "$enableval" = yes; then
8488 ac_cv_use_display='wxUSE_DISPLAY=yes'
8489 else
8490 ac_cv_use_display='wxUSE_DISPLAY=no'
8491 fi
8492
8493 else
8494
8495 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8498 else
8499 no_cache=1
8500 fi
8501
8502 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8503
8504 fi;
8505
8506 eval "$ac_cv_use_display"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_DISPLAY" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8514 else
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8517 fi
8518
8519
8520 enablestring=
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8523 no_cache=0
8524 # Check whether --enable-filepicker or --disable-filepicker was given.
8525 if test "${enable_filepicker+set}" = set; then
8526 enableval="$enable_filepicker"
8527
8528 if test "$enableval" = yes; then
8529 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8530 else
8531 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8532 fi
8533
8534 else
8535
8536 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8539 else
8540 no_cache=1
8541 fi
8542
8543 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8544
8545 fi;
8546
8547 eval "$ac_cv_use_filepicker"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8555 else
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8558 fi
8559
8560
8561 enablestring=
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8564 no_cache=0
8565 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8566 if test "${enable_fontpicker+set}" = set; then
8567 enableval="$enable_fontpicker"
8568
8569 if test "$enableval" = yes; then
8570 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8571 else
8572 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8573 fi
8574
8575 else
8576
8577 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x ; then
8579 eval "DEFAULT_$LINE"
8580 else
8581 no_cache=1
8582 fi
8583
8584 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8585
8586 fi;
8587
8588 eval "$ac_cv_use_fontpicker"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8596 else
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8599 fi
8600
8601
8602 enablestring=
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8605 no_cache=0
8606 # Check whether --enable-gauge or --disable-gauge was given.
8607 if test "${enable_gauge+set}" = set; then
8608 enableval="$enable_gauge"
8609
8610 if test "$enableval" = yes; then
8611 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8612 else
8613 ac_cv_use_gauge='wxUSE_GAUGE=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8626
8627 fi;
8628
8629 eval "$ac_cv_use_gauge"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_GAUGE" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8637 else
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8640 fi
8641
8642
8643 enablestring=
8644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8645 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8646 no_cache=0
8647 # Check whether --enable-grid or --disable-grid was given.
8648 if test "${enable_grid+set}" = set; then
8649 enableval="$enable_grid"
8650
8651 if test "$enableval" = yes; then
8652 ac_cv_use_grid='wxUSE_GRID=yes'
8653 else
8654 ac_cv_use_grid='wxUSE_GRID=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8667
8668 fi;
8669
8670 eval "$ac_cv_use_grid"
8671 if test "$no_cache" != 1; then
8672 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test "$wxUSE_GRID" = yes; then
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8678 else
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8681 fi
8682
8683
8684 enablestring=
8685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8687 no_cache=0
8688 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8689 if test "${enable_dataviewctrl+set}" = set; then
8690 enableval="$enable_dataviewctrl"
8691
8692 if test "$enableval" = yes; then
8693 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8694 else
8695 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8708
8709 fi;
8710
8711 eval "$ac_cv_use_dataviewctrl"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8714 fi
8715
8716 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8717 echo "$as_me:$LINENO: result: yes" >&5
8718 echo "${ECHO_T}yes" >&6
8719 else
8720 echo "$as_me:$LINENO: result: no" >&5
8721 echo "${ECHO_T}no" >&6
8722 fi
8723
8724
8725 enablestring=
8726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8728 no_cache=0
8729 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8730 if test "${enable_hyperlink+set}" = set; then
8731 enableval="$enable_hyperlink"
8732
8733 if test "$enableval" = yes; then
8734 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8735 else
8736 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8737 fi
8738
8739 else
8740
8741 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8742 if test "x$LINE" != x ; then
8743 eval "DEFAULT_$LINE"
8744 else
8745 no_cache=1
8746 fi
8747
8748 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8749
8750 fi;
8751
8752 eval "$ac_cv_use_hyperlink"
8753 if test "$no_cache" != 1; then
8754 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8755 fi
8756
8757 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8758 echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8760 else
8761 echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6
8763 fi
8764
8765
8766 enablestring=
8767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8769 no_cache=0
8770 # Check whether --enable-imaglist or --disable-imaglist was given.
8771 if test "${enable_imaglist+set}" = set; then
8772 enableval="$enable_imaglist"
8773
8774 if test "$enableval" = yes; then
8775 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8776 else
8777 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8778 fi
8779
8780 else
8781
8782 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8785 else
8786 no_cache=1
8787 fi
8788
8789 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8790
8791 fi;
8792
8793 eval "$ac_cv_use_imaglist"
8794 if test "$no_cache" != 1; then
8795 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test "$wxUSE_IMAGLIST" = yes; then
8799 echo "$as_me:$LINENO: result: yes" >&5
8800 echo "${ECHO_T}yes" >&6
8801 else
8802 echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6
8804 fi
8805
8806
8807 enablestring=
8808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8810 no_cache=0
8811 # Check whether --enable-listbook or --disable-listbook was given.
8812 if test "${enable_listbook+set}" = set; then
8813 enableval="$enable_listbook"
8814
8815 if test "$enableval" = yes; then
8816 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8817 else
8818 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8819 fi
8820
8821 else
8822
8823 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8824 if test "x$LINE" != x ; then
8825 eval "DEFAULT_$LINE"
8826 else
8827 no_cache=1
8828 fi
8829
8830 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8831
8832 fi;
8833
8834 eval "$ac_cv_use_listbook"
8835 if test "$no_cache" != 1; then
8836 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8837 fi
8838
8839 if test "$wxUSE_LISTBOOK" = yes; then
8840 echo "$as_me:$LINENO: result: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8842 else
8843 echo "$as_me:$LINENO: result: no" >&5
8844 echo "${ECHO_T}no" >&6
8845 fi
8846
8847
8848 enablestring=
8849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8851 no_cache=0
8852 # Check whether --enable-listbox or --disable-listbox was given.
8853 if test "${enable_listbox+set}" = set; then
8854 enableval="$enable_listbox"
8855
8856 if test "$enableval" = yes; then
8857 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8858 else
8859 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8860 fi
8861
8862 else
8863
8864 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8865 if test "x$LINE" != x ; then
8866 eval "DEFAULT_$LINE"
8867 else
8868 no_cache=1
8869 fi
8870
8871 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8872
8873 fi;
8874
8875 eval "$ac_cv_use_listbox"
8876 if test "$no_cache" != 1; then
8877 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8878 fi
8879
8880 if test "$wxUSE_LISTBOX" = yes; then
8881 echo "$as_me:$LINENO: result: yes" >&5
8882 echo "${ECHO_T}yes" >&6
8883 else
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8886 fi
8887
8888
8889 enablestring=
8890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8892 no_cache=0
8893 # Check whether --enable-listctrl or --disable-listctrl was given.
8894 if test "${enable_listctrl+set}" = set; then
8895 enableval="$enable_listctrl"
8896
8897 if test "$enableval" = yes; then
8898 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8899 else
8900 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8901 fi
8902
8903 else
8904
8905 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8906 if test "x$LINE" != x ; then
8907 eval "DEFAULT_$LINE"
8908 else
8909 no_cache=1
8910 fi
8911
8912 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8913
8914 fi;
8915
8916 eval "$ac_cv_use_listctrl"
8917 if test "$no_cache" != 1; then
8918 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8919 fi
8920
8921 if test "$wxUSE_LISTCTRL" = yes; then
8922 echo "$as_me:$LINENO: result: yes" >&5
8923 echo "${ECHO_T}yes" >&6
8924 else
8925 echo "$as_me:$LINENO: result: no" >&5
8926 echo "${ECHO_T}no" >&6
8927 fi
8928
8929
8930 enablestring=
8931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8933 no_cache=0
8934 # Check whether --enable-notebook or --disable-notebook was given.
8935 if test "${enable_notebook+set}" = set; then
8936 enableval="$enable_notebook"
8937
8938 if test "$enableval" = yes; then
8939 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8940 else
8941 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8942 fi
8943
8944 else
8945
8946 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8947 if test "x$LINE" != x ; then
8948 eval "DEFAULT_$LINE"
8949 else
8950 no_cache=1
8951 fi
8952
8953 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8954
8955 fi;
8956
8957 eval "$ac_cv_use_notebook"
8958 if test "$no_cache" != 1; then
8959 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8960 fi
8961
8962 if test "$wxUSE_NOTEBOOK" = yes; then
8963 echo "$as_me:$LINENO: result: yes" >&5
8964 echo "${ECHO_T}yes" >&6
8965 else
8966 echo "$as_me:$LINENO: result: no" >&5
8967 echo "${ECHO_T}no" >&6
8968 fi
8969
8970
8971 enablestring=
8972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8974 no_cache=0
8975 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8976 if test "${enable_odcombobox+set}" = set; then
8977 enableval="$enable_odcombobox"
8978
8979 if test "$enableval" = yes; then
8980 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8981 else
8982 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8983 fi
8984
8985 else
8986
8987 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8988 if test "x$LINE" != x ; then
8989 eval "DEFAULT_$LINE"
8990 else
8991 no_cache=1
8992 fi
8993
8994 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8995
8996 fi;
8997
8998 eval "$ac_cv_use_odcombobox"
8999 if test "$no_cache" != 1; then
9000 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9001 fi
9002
9003 if test "$wxUSE_ODCOMBOBOX" = yes; then
9004 echo "$as_me:$LINENO: result: yes" >&5
9005 echo "${ECHO_T}yes" >&6
9006 else
9007 echo "$as_me:$LINENO: result: no" >&5
9008 echo "${ECHO_T}no" >&6
9009 fi
9010
9011
9012 enablestring=
9013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9015 no_cache=0
9016 # Check whether --enable-radiobox or --disable-radiobox was given.
9017 if test "${enable_radiobox+set}" = set; then
9018 enableval="$enable_radiobox"
9019
9020 if test "$enableval" = yes; then
9021 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9022 else
9023 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9024 fi
9025
9026 else
9027
9028 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9029 if test "x$LINE" != x ; then
9030 eval "DEFAULT_$LINE"
9031 else
9032 no_cache=1
9033 fi
9034
9035 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9036
9037 fi;
9038
9039 eval "$ac_cv_use_radiobox"
9040 if test "$no_cache" != 1; then
9041 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9042 fi
9043
9044 if test "$wxUSE_RADIOBOX" = yes; then
9045 echo "$as_me:$LINENO: result: yes" >&5
9046 echo "${ECHO_T}yes" >&6
9047 else
9048 echo "$as_me:$LINENO: result: no" >&5
9049 echo "${ECHO_T}no" >&6
9050 fi
9051
9052
9053 enablestring=
9054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9055 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9056 no_cache=0
9057 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9058 if test "${enable_radiobtn+set}" = set; then
9059 enableval="$enable_radiobtn"
9060
9061 if test "$enableval" = yes; then
9062 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9063 else
9064 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9065 fi
9066
9067 else
9068
9069 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9070 if test "x$LINE" != x ; then
9071 eval "DEFAULT_$LINE"
9072 else
9073 no_cache=1
9074 fi
9075
9076 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9077
9078 fi;
9079
9080 eval "$ac_cv_use_radiobtn"
9081 if test "$no_cache" != 1; then
9082 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9083 fi
9084
9085 if test "$wxUSE_RADIOBTN" = yes; then
9086 echo "$as_me:$LINENO: result: yes" >&5
9087 echo "${ECHO_T}yes" >&6
9088 else
9089 echo "$as_me:$LINENO: result: no" >&5
9090 echo "${ECHO_T}no" >&6
9091 fi
9092
9093
9094 enablestring=
9095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9096 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9097 no_cache=0
9098 # Check whether --enable-sash or --disable-sash was given.
9099 if test "${enable_sash+set}" = set; then
9100 enableval="$enable_sash"
9101
9102 if test "$enableval" = yes; then
9103 ac_cv_use_sash='wxUSE_SASH=yes'
9104 else
9105 ac_cv_use_sash='wxUSE_SASH=no'
9106 fi
9107
9108 else
9109
9110 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9111 if test "x$LINE" != x ; then
9112 eval "DEFAULT_$LINE"
9113 else
9114 no_cache=1
9115 fi
9116
9117 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9118
9119 fi;
9120
9121 eval "$ac_cv_use_sash"
9122 if test "$no_cache" != 1; then
9123 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9124 fi
9125
9126 if test "$wxUSE_SASH" = yes; then
9127 echo "$as_me:$LINENO: result: yes" >&5
9128 echo "${ECHO_T}yes" >&6
9129 else
9130 echo "$as_me:$LINENO: result: no" >&5
9131 echo "${ECHO_T}no" >&6
9132 fi
9133
9134
9135 enablestring=
9136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9137 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9138 no_cache=0
9139 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9140 if test "${enable_scrollbar+set}" = set; then
9141 enableval="$enable_scrollbar"
9142
9143 if test "$enableval" = yes; then
9144 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9145 else
9146 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9147 fi
9148
9149 else
9150
9151 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9152 if test "x$LINE" != x ; then
9153 eval "DEFAULT_$LINE"
9154 else
9155 no_cache=1
9156 fi
9157
9158 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9159
9160 fi;
9161
9162 eval "$ac_cv_use_scrollbar"
9163 if test "$no_cache" != 1; then
9164 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9165 fi
9166
9167 if test "$wxUSE_SCROLLBAR" = yes; then
9168 echo "$as_me:$LINENO: result: yes" >&5
9169 echo "${ECHO_T}yes" >&6
9170 else
9171 echo "$as_me:$LINENO: result: no" >&5
9172 echo "${ECHO_T}no" >&6
9173 fi
9174
9175
9176 enablestring=
9177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9178 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9179 no_cache=0
9180 # Check whether --enable-slider or --disable-slider was given.
9181 if test "${enable_slider+set}" = set; then
9182 enableval="$enable_slider"
9183
9184 if test "$enableval" = yes; then
9185 ac_cv_use_slider='wxUSE_SLIDER=yes'
9186 else
9187 ac_cv_use_slider='wxUSE_SLIDER=no'
9188 fi
9189
9190 else
9191
9192 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9193 if test "x$LINE" != x ; then
9194 eval "DEFAULT_$LINE"
9195 else
9196 no_cache=1
9197 fi
9198
9199 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9200
9201 fi;
9202
9203 eval "$ac_cv_use_slider"
9204 if test "$no_cache" != 1; then
9205 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9206 fi
9207
9208 if test "$wxUSE_SLIDER" = yes; then
9209 echo "$as_me:$LINENO: result: yes" >&5
9210 echo "${ECHO_T}yes" >&6
9211 else
9212 echo "$as_me:$LINENO: result: no" >&5
9213 echo "${ECHO_T}no" >&6
9214 fi
9215
9216
9217 enablestring=
9218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9219 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9220 no_cache=0
9221 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9222 if test "${enable_spinbtn+set}" = set; then
9223 enableval="$enable_spinbtn"
9224
9225 if test "$enableval" = yes; then
9226 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9227 else
9228 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9229 fi
9230
9231 else
9232
9233 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9234 if test "x$LINE" != x ; then
9235 eval "DEFAULT_$LINE"
9236 else
9237 no_cache=1
9238 fi
9239
9240 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9241
9242 fi;
9243
9244 eval "$ac_cv_use_spinbtn"
9245 if test "$no_cache" != 1; then
9246 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9247 fi
9248
9249 if test "$wxUSE_SPINBTN" = yes; then
9250 echo "$as_me:$LINENO: result: yes" >&5
9251 echo "${ECHO_T}yes" >&6
9252 else
9253 echo "$as_me:$LINENO: result: no" >&5
9254 echo "${ECHO_T}no" >&6
9255 fi
9256
9257
9258 enablestring=
9259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9261 no_cache=0
9262 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9263 if test "${enable_spinctrl+set}" = set; then
9264 enableval="$enable_spinctrl"
9265
9266 if test "$enableval" = yes; then
9267 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9268 else
9269 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9270 fi
9271
9272 else
9273
9274 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9275 if test "x$LINE" != x ; then
9276 eval "DEFAULT_$LINE"
9277 else
9278 no_cache=1
9279 fi
9280
9281 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9282
9283 fi;
9284
9285 eval "$ac_cv_use_spinctrl"
9286 if test "$no_cache" != 1; then
9287 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9288 fi
9289
9290 if test "$wxUSE_SPINCTRL" = yes; then
9291 echo "$as_me:$LINENO: result: yes" >&5
9292 echo "${ECHO_T}yes" >&6
9293 else
9294 echo "$as_me:$LINENO: result: no" >&5
9295 echo "${ECHO_T}no" >&6
9296 fi
9297
9298
9299 enablestring=
9300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9302 no_cache=0
9303 # Check whether --enable-splitter or --disable-splitter was given.
9304 if test "${enable_splitter+set}" = set; then
9305 enableval="$enable_splitter"
9306
9307 if test "$enableval" = yes; then
9308 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9309 else
9310 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9311 fi
9312
9313 else
9314
9315 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9316 if test "x$LINE" != x ; then
9317 eval "DEFAULT_$LINE"
9318 else
9319 no_cache=1
9320 fi
9321
9322 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9323
9324 fi;
9325
9326 eval "$ac_cv_use_splitter"
9327 if test "$no_cache" != 1; then
9328 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9329 fi
9330
9331 if test "$wxUSE_SPLITTER" = yes; then
9332 echo "$as_me:$LINENO: result: yes" >&5
9333 echo "${ECHO_T}yes" >&6
9334 else
9335 echo "$as_me:$LINENO: result: no" >&5
9336 echo "${ECHO_T}no" >&6
9337 fi
9338
9339
9340 enablestring=
9341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9343 no_cache=0
9344 # Check whether --enable-statbmp or --disable-statbmp was given.
9345 if test "${enable_statbmp+set}" = set; then
9346 enableval="$enable_statbmp"
9347
9348 if test "$enableval" = yes; then
9349 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9350 else
9351 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9352 fi
9353
9354 else
9355
9356 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9357 if test "x$LINE" != x ; then
9358 eval "DEFAULT_$LINE"
9359 else
9360 no_cache=1
9361 fi
9362
9363 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9364
9365 fi;
9366
9367 eval "$ac_cv_use_statbmp"
9368 if test "$no_cache" != 1; then
9369 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9370 fi
9371
9372 if test "$wxUSE_STATBMP" = yes; then
9373 echo "$as_me:$LINENO: result: yes" >&5
9374 echo "${ECHO_T}yes" >&6
9375 else
9376 echo "$as_me:$LINENO: result: no" >&5
9377 echo "${ECHO_T}no" >&6
9378 fi
9379
9380
9381 enablestring=
9382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9383 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9384 no_cache=0
9385 # Check whether --enable-statbox or --disable-statbox was given.
9386 if test "${enable_statbox+set}" = set; then
9387 enableval="$enable_statbox"
9388
9389 if test "$enableval" = yes; then
9390 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9391 else
9392 ac_cv_use_statbox='wxUSE_STATBOX=no'
9393 fi
9394
9395 else
9396
9397 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9398 if test "x$LINE" != x ; then
9399 eval "DEFAULT_$LINE"
9400 else
9401 no_cache=1
9402 fi
9403
9404 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9405
9406 fi;
9407
9408 eval "$ac_cv_use_statbox"
9409 if test "$no_cache" != 1; then
9410 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9411 fi
9412
9413 if test "$wxUSE_STATBOX" = yes; then
9414 echo "$as_me:$LINENO: result: yes" >&5
9415 echo "${ECHO_T}yes" >&6
9416 else
9417 echo "$as_me:$LINENO: result: no" >&5
9418 echo "${ECHO_T}no" >&6
9419 fi
9420
9421
9422 enablestring=
9423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9424 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9425 no_cache=0
9426 # Check whether --enable-statline or --disable-statline was given.
9427 if test "${enable_statline+set}" = set; then
9428 enableval="$enable_statline"
9429
9430 if test "$enableval" = yes; then
9431 ac_cv_use_statline='wxUSE_STATLINE=yes'
9432 else
9433 ac_cv_use_statline='wxUSE_STATLINE=no'
9434 fi
9435
9436 else
9437
9438 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9439 if test "x$LINE" != x ; then
9440 eval "DEFAULT_$LINE"
9441 else
9442 no_cache=1
9443 fi
9444
9445 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9446
9447 fi;
9448
9449 eval "$ac_cv_use_statline"
9450 if test "$no_cache" != 1; then
9451 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9452 fi
9453
9454 if test "$wxUSE_STATLINE" = yes; then
9455 echo "$as_me:$LINENO: result: yes" >&5
9456 echo "${ECHO_T}yes" >&6
9457 else
9458 echo "$as_me:$LINENO: result: no" >&5
9459 echo "${ECHO_T}no" >&6
9460 fi
9461
9462
9463 enablestring=
9464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9465 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9466 no_cache=0
9467 # Check whether --enable-stattext or --disable-stattext was given.
9468 if test "${enable_stattext+set}" = set; then
9469 enableval="$enable_stattext"
9470
9471 if test "$enableval" = yes; then
9472 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9473 else
9474 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9475 fi
9476
9477 else
9478
9479 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9480 if test "x$LINE" != x ; then
9481 eval "DEFAULT_$LINE"
9482 else
9483 no_cache=1
9484 fi
9485
9486 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9487
9488 fi;
9489
9490 eval "$ac_cv_use_stattext"
9491 if test "$no_cache" != 1; then
9492 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9493 fi
9494
9495 if test "$wxUSE_STATTEXT" = yes; then
9496 echo "$as_me:$LINENO: result: yes" >&5
9497 echo "${ECHO_T}yes" >&6
9498 else
9499 echo "$as_me:$LINENO: result: no" >&5
9500 echo "${ECHO_T}no" >&6
9501 fi
9502
9503
9504 enablestring=
9505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9506 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9507 no_cache=0
9508 # Check whether --enable-statusbar or --disable-statusbar was given.
9509 if test "${enable_statusbar+set}" = set; then
9510 enableval="$enable_statusbar"
9511
9512 if test "$enableval" = yes; then
9513 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9514 else
9515 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9516 fi
9517
9518 else
9519
9520 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9521 if test "x$LINE" != x ; then
9522 eval "DEFAULT_$LINE"
9523 else
9524 no_cache=1
9525 fi
9526
9527 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9528
9529 fi;
9530
9531 eval "$ac_cv_use_statusbar"
9532 if test "$no_cache" != 1; then
9533 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9534 fi
9535
9536 if test "$wxUSE_STATUSBAR" = yes; then
9537 echo "$as_me:$LINENO: result: yes" >&5
9538 echo "${ECHO_T}yes" >&6
9539 else
9540 echo "$as_me:$LINENO: result: no" >&5
9541 echo "${ECHO_T}no" >&6
9542 fi
9543
9544
9545 enablestring=
9546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9548 no_cache=0
9549 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9550 if test "${enable_tabdialog+set}" = set; then
9551 enableval="$enable_tabdialog"
9552
9553 if test "$enableval" = yes; then
9554 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9555 else
9556 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9557 fi
9558
9559 else
9560
9561 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9562 if test "x$LINE" != x ; then
9563 eval "DEFAULT_$LINE"
9564 else
9565 no_cache=1
9566 fi
9567
9568 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9569
9570 fi;
9571
9572 eval "$ac_cv_use_tabdialog"
9573 if test "$no_cache" != 1; then
9574 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9575 fi
9576
9577 if test "$wxUSE_TAB_DIALOG" = yes; then
9578 echo "$as_me:$LINENO: result: yes" >&5
9579 echo "${ECHO_T}yes" >&6
9580 else
9581 echo "$as_me:$LINENO: result: no" >&5
9582 echo "${ECHO_T}no" >&6
9583 fi
9584
9585
9586 enablestring=
9587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9589 no_cache=0
9590 # Check whether --enable-textctrl or --disable-textctrl was given.
9591 if test "${enable_textctrl+set}" = set; then
9592 enableval="$enable_textctrl"
9593
9594 if test "$enableval" = yes; then
9595 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9596 else
9597 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9598 fi
9599
9600 else
9601
9602 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9603 if test "x$LINE" != x ; then
9604 eval "DEFAULT_$LINE"
9605 else
9606 no_cache=1
9607 fi
9608
9609 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9610
9611 fi;
9612
9613 eval "$ac_cv_use_textctrl"
9614 if test "$no_cache" != 1; then
9615 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9616 fi
9617
9618 if test "$wxUSE_TEXTCTRL" = yes; then
9619 echo "$as_me:$LINENO: result: yes" >&5
9620 echo "${ECHO_T}yes" >&6
9621 else
9622 echo "$as_me:$LINENO: result: no" >&5
9623 echo "${ECHO_T}no" >&6
9624 fi
9625
9626
9627 enablestring=
9628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9630 no_cache=0
9631 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9632 if test "${enable_togglebtn+set}" = set; then
9633 enableval="$enable_togglebtn"
9634
9635 if test "$enableval" = yes; then
9636 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9637 else
9638 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9639 fi
9640
9641 else
9642
9643 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9644 if test "x$LINE" != x ; then
9645 eval "DEFAULT_$LINE"
9646 else
9647 no_cache=1
9648 fi
9649
9650 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9651
9652 fi;
9653
9654 eval "$ac_cv_use_togglebtn"
9655 if test "$no_cache" != 1; then
9656 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9657 fi
9658
9659 if test "$wxUSE_TOGGLEBTN" = yes; then
9660 echo "$as_me:$LINENO: result: yes" >&5
9661 echo "${ECHO_T}yes" >&6
9662 else
9663 echo "$as_me:$LINENO: result: no" >&5
9664 echo "${ECHO_T}no" >&6
9665 fi
9666
9667
9668 enablestring=
9669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9670 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9671 no_cache=0
9672 # Check whether --enable-toolbar or --disable-toolbar was given.
9673 if test "${enable_toolbar+set}" = set; then
9674 enableval="$enable_toolbar"
9675
9676 if test "$enableval" = yes; then
9677 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9678 else
9679 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9680 fi
9681
9682 else
9683
9684 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9685 if test "x$LINE" != x ; then
9686 eval "DEFAULT_$LINE"
9687 else
9688 no_cache=1
9689 fi
9690
9691 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9692
9693 fi;
9694
9695 eval "$ac_cv_use_toolbar"
9696 if test "$no_cache" != 1; then
9697 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9698 fi
9699
9700 if test "$wxUSE_TOOLBAR" = yes; then
9701 echo "$as_me:$LINENO: result: yes" >&5
9702 echo "${ECHO_T}yes" >&6
9703 else
9704 echo "$as_me:$LINENO: result: no" >&5
9705 echo "${ECHO_T}no" >&6
9706 fi
9707
9708
9709 enablestring=
9710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9711 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9712 no_cache=0
9713 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9714 if test "${enable_tbarnative+set}" = set; then
9715 enableval="$enable_tbarnative"
9716
9717 if test "$enableval" = yes; then
9718 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9719 else
9720 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9721 fi
9722
9723 else
9724
9725 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9726 if test "x$LINE" != x ; then
9727 eval "DEFAULT_$LINE"
9728 else
9729 no_cache=1
9730 fi
9731
9732 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9733
9734 fi;
9735
9736 eval "$ac_cv_use_tbarnative"
9737 if test "$no_cache" != 1; then
9738 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9739 fi
9740
9741 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9742 echo "$as_me:$LINENO: result: yes" >&5
9743 echo "${ECHO_T}yes" >&6
9744 else
9745 echo "$as_me:$LINENO: result: no" >&5
9746 echo "${ECHO_T}no" >&6
9747 fi
9748
9749
9750 enablestring=
9751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9753 no_cache=0
9754 # Check whether --enable-treebook or --disable-treebook was given.
9755 if test "${enable_treebook+set}" = set; then
9756 enableval="$enable_treebook"
9757
9758 if test "$enableval" = yes; then
9759 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9760 else
9761 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9762 fi
9763
9764 else
9765
9766 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9767 if test "x$LINE" != x ; then
9768 eval "DEFAULT_$LINE"
9769 else
9770 no_cache=1
9771 fi
9772
9773 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9774
9775 fi;
9776
9777 eval "$ac_cv_use_treebook"
9778 if test "$no_cache" != 1; then
9779 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9780 fi
9781
9782 if test "$wxUSE_TREEBOOK" = yes; then
9783 echo "$as_me:$LINENO: result: yes" >&5
9784 echo "${ECHO_T}yes" >&6
9785 else
9786 echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9788 fi
9789
9790
9791 enablestring=
9792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9793 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9794 no_cache=0
9795 # Check whether --enable-toolbook or --disable-toolbook was given.
9796 if test "${enable_toolbook+set}" = set; then
9797 enableval="$enable_toolbook"
9798
9799 if test "$enableval" = yes; then
9800 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9801 else
9802 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9803 fi
9804
9805 else
9806
9807 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9808 if test "x$LINE" != x ; then
9809 eval "DEFAULT_$LINE"
9810 else
9811 no_cache=1
9812 fi
9813
9814 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9815
9816 fi;
9817
9818 eval "$ac_cv_use_toolbook"
9819 if test "$no_cache" != 1; then
9820 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9821 fi
9822
9823 if test "$wxUSE_TOOLBOOK" = yes; then
9824 echo "$as_me:$LINENO: result: yes" >&5
9825 echo "${ECHO_T}yes" >&6
9826 else
9827 echo "$as_me:$LINENO: result: no" >&5
9828 echo "${ECHO_T}no" >&6
9829 fi
9830
9831
9832 enablestring=
9833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9835 no_cache=0
9836 # Check whether --enable-treectrl or --disable-treectrl was given.
9837 if test "${enable_treectrl+set}" = set; then
9838 enableval="$enable_treectrl"
9839
9840 if test "$enableval" = yes; then
9841 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9842 else
9843 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9844 fi
9845
9846 else
9847
9848 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9849 if test "x$LINE" != x ; then
9850 eval "DEFAULT_$LINE"
9851 else
9852 no_cache=1
9853 fi
9854
9855 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9856
9857 fi;
9858
9859 eval "$ac_cv_use_treectrl"
9860 if test "$no_cache" != 1; then
9861 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9862 fi
9863
9864 if test "$wxUSE_TREECTRL" = yes; then
9865 echo "$as_me:$LINENO: result: yes" >&5
9866 echo "${ECHO_T}yes" >&6
9867 else
9868 echo "$as_me:$LINENO: result: no" >&5
9869 echo "${ECHO_T}no" >&6
9870 fi
9871
9872
9873 enablestring=
9874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9876 no_cache=0
9877 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9878 if test "${enable_tipwindow+set}" = set; then
9879 enableval="$enable_tipwindow"
9880
9881 if test "$enableval" = yes; then
9882 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9883 else
9884 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9885 fi
9886
9887 else
9888
9889 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9890 if test "x$LINE" != x ; then
9891 eval "DEFAULT_$LINE"
9892 else
9893 no_cache=1
9894 fi
9895
9896 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9897
9898 fi;
9899
9900 eval "$ac_cv_use_tipwindow"
9901 if test "$no_cache" != 1; then
9902 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9903 fi
9904
9905 if test "$wxUSE_TIPWINDOW" = yes; then
9906 echo "$as_me:$LINENO: result: yes" >&5
9907 echo "${ECHO_T}yes" >&6
9908 else
9909 echo "$as_me:$LINENO: result: no" >&5
9910 echo "${ECHO_T}no" >&6
9911 fi
9912
9913
9914 enablestring=
9915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9916 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9917 no_cache=0
9918 # Check whether --enable-popupwin or --disable-popupwin was given.
9919 if test "${enable_popupwin+set}" = set; then
9920 enableval="$enable_popupwin"
9921
9922 if test "$enableval" = yes; then
9923 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9924 else
9925 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9926 fi
9927
9928 else
9929
9930 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9931 if test "x$LINE" != x ; then
9932 eval "DEFAULT_$LINE"
9933 else
9934 no_cache=1
9935 fi
9936
9937 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9938
9939 fi;
9940
9941 eval "$ac_cv_use_popupwin"
9942 if test "$no_cache" != 1; then
9943 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9944 fi
9945
9946 if test "$wxUSE_POPUPWIN" = yes; then
9947 echo "$as_me:$LINENO: result: yes" >&5
9948 echo "${ECHO_T}yes" >&6
9949 else
9950 echo "$as_me:$LINENO: result: no" >&5
9951 echo "${ECHO_T}no" >&6
9952 fi
9953
9954
9955
9956
9957 enablestring=
9958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9960 no_cache=0
9961 # Check whether --enable-commondlg or --disable-commondlg was given.
9962 if test "${enable_commondlg+set}" = set; then
9963 enableval="$enable_commondlg"
9964
9965 if test "$enableval" = yes; then
9966 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9967 else
9968 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9969 fi
9970
9971 else
9972
9973 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9974 if test "x$LINE" != x ; then
9975 eval "DEFAULT_$LINE"
9976 else
9977 no_cache=1
9978 fi
9979
9980 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9981
9982 fi;
9983
9984 eval "$ac_cv_use_commondlg"
9985 if test "$no_cache" != 1; then
9986 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9987 fi
9988
9989 if test "$wxUSE_COMMONDLGS" = yes; then
9990 echo "$as_me:$LINENO: result: yes" >&5
9991 echo "${ECHO_T}yes" >&6
9992 else
9993 echo "$as_me:$LINENO: result: no" >&5
9994 echo "${ECHO_T}no" >&6
9995 fi
9996
9997
9998 enablestring=
9999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10000 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10001 no_cache=0
10002 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10003 if test "${enable_choicedlg+set}" = set; then
10004 enableval="$enable_choicedlg"
10005
10006 if test "$enableval" = yes; then
10007 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10008 else
10009 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10010 fi
10011
10012 else
10013
10014 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10015 if test "x$LINE" != x ; then
10016 eval "DEFAULT_$LINE"
10017 else
10018 no_cache=1
10019 fi
10020
10021 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10022
10023 fi;
10024
10025 eval "$ac_cv_use_choicedlg"
10026 if test "$no_cache" != 1; then
10027 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10028 fi
10029
10030 if test "$wxUSE_CHOICEDLG" = yes; then
10031 echo "$as_me:$LINENO: result: yes" >&5
10032 echo "${ECHO_T}yes" >&6
10033 else
10034 echo "$as_me:$LINENO: result: no" >&5
10035 echo "${ECHO_T}no" >&6
10036 fi
10037
10038
10039 enablestring=
10040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10041 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10042 no_cache=0
10043 # Check whether --enable-coldlg or --disable-coldlg was given.
10044 if test "${enable_coldlg+set}" = set; then
10045 enableval="$enable_coldlg"
10046
10047 if test "$enableval" = yes; then
10048 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10049 else
10050 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10051 fi
10052
10053 else
10054
10055 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10056 if test "x$LINE" != x ; then
10057 eval "DEFAULT_$LINE"
10058 else
10059 no_cache=1
10060 fi
10061
10062 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10063
10064 fi;
10065
10066 eval "$ac_cv_use_coldlg"
10067 if test "$no_cache" != 1; then
10068 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10069 fi
10070
10071 if test "$wxUSE_COLOURDLG" = yes; then
10072 echo "$as_me:$LINENO: result: yes" >&5
10073 echo "${ECHO_T}yes" >&6
10074 else
10075 echo "$as_me:$LINENO: result: no" >&5
10076 echo "${ECHO_T}no" >&6
10077 fi
10078
10079
10080 enablestring=
10081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10082 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10083 no_cache=0
10084 # Check whether --enable-filedlg or --disable-filedlg was given.
10085 if test "${enable_filedlg+set}" = set; then
10086 enableval="$enable_filedlg"
10087
10088 if test "$enableval" = yes; then
10089 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10090 else
10091 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10092 fi
10093
10094 else
10095
10096 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10097 if test "x$LINE" != x ; then
10098 eval "DEFAULT_$LINE"
10099 else
10100 no_cache=1
10101 fi
10102
10103 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10104
10105 fi;
10106
10107 eval "$ac_cv_use_filedlg"
10108 if test "$no_cache" != 1; then
10109 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10110 fi
10111
10112 if test "$wxUSE_FILEDLG" = yes; then
10113 echo "$as_me:$LINENO: result: yes" >&5
10114 echo "${ECHO_T}yes" >&6
10115 else
10116 echo "$as_me:$LINENO: result: no" >&5
10117 echo "${ECHO_T}no" >&6
10118 fi
10119
10120
10121 enablestring=
10122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10123 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10124 no_cache=0
10125 # Check whether --enable-finddlg or --disable-finddlg was given.
10126 if test "${enable_finddlg+set}" = set; then
10127 enableval="$enable_finddlg"
10128
10129 if test "$enableval" = yes; then
10130 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10131 else
10132 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10133 fi
10134
10135 else
10136
10137 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10138 if test "x$LINE" != x ; then
10139 eval "DEFAULT_$LINE"
10140 else
10141 no_cache=1
10142 fi
10143
10144 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10145
10146 fi;
10147
10148 eval "$ac_cv_use_finddlg"
10149 if test "$no_cache" != 1; then
10150 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10151 fi
10152
10153 if test "$wxUSE_FINDREPLDLG" = yes; then
10154 echo "$as_me:$LINENO: result: yes" >&5
10155 echo "${ECHO_T}yes" >&6
10156 else
10157 echo "$as_me:$LINENO: result: no" >&5
10158 echo "${ECHO_T}no" >&6
10159 fi
10160
10161
10162 enablestring=
10163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10164 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10165 no_cache=0
10166 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10167 if test "${enable_fontdlg+set}" = set; then
10168 enableval="$enable_fontdlg"
10169
10170 if test "$enableval" = yes; then
10171 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10172 else
10173 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10174 fi
10175
10176 else
10177
10178 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10179 if test "x$LINE" != x ; then
10180 eval "DEFAULT_$LINE"
10181 else
10182 no_cache=1
10183 fi
10184
10185 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10186
10187 fi;
10188
10189 eval "$ac_cv_use_fontdlg"
10190 if test "$no_cache" != 1; then
10191 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10192 fi
10193
10194 if test "$wxUSE_FONTDLG" = yes; then
10195 echo "$as_me:$LINENO: result: yes" >&5
10196 echo "${ECHO_T}yes" >&6
10197 else
10198 echo "$as_me:$LINENO: result: no" >&5
10199 echo "${ECHO_T}no" >&6
10200 fi
10201
10202
10203 enablestring=
10204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10206 no_cache=0
10207 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10208 if test "${enable_dirdlg+set}" = set; then
10209 enableval="$enable_dirdlg"
10210
10211 if test "$enableval" = yes; then
10212 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10213 else
10214 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10215 fi
10216
10217 else
10218
10219 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10220 if test "x$LINE" != x ; then
10221 eval "DEFAULT_$LINE"
10222 else
10223 no_cache=1
10224 fi
10225
10226 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10227
10228 fi;
10229
10230 eval "$ac_cv_use_dirdlg"
10231 if test "$no_cache" != 1; then
10232 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10233 fi
10234
10235 if test "$wxUSE_DIRDLG" = yes; then
10236 echo "$as_me:$LINENO: result: yes" >&5
10237 echo "${ECHO_T}yes" >&6
10238 else
10239 echo "$as_me:$LINENO: result: no" >&5
10240 echo "${ECHO_T}no" >&6
10241 fi
10242
10243
10244 enablestring=
10245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10246 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10247 no_cache=0
10248 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10249 if test "${enable_msgdlg+set}" = set; then
10250 enableval="$enable_msgdlg"
10251
10252 if test "$enableval" = yes; then
10253 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10254 else
10255 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10256 fi
10257
10258 else
10259
10260 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10261 if test "x$LINE" != x ; then
10262 eval "DEFAULT_$LINE"
10263 else
10264 no_cache=1
10265 fi
10266
10267 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10268
10269 fi;
10270
10271 eval "$ac_cv_use_msgdlg"
10272 if test "$no_cache" != 1; then
10273 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10274 fi
10275
10276 if test "$wxUSE_MSGDLG" = yes; then
10277 echo "$as_me:$LINENO: result: yes" >&5
10278 echo "${ECHO_T}yes" >&6
10279 else
10280 echo "$as_me:$LINENO: result: no" >&5
10281 echo "${ECHO_T}no" >&6
10282 fi
10283
10284
10285 enablestring=
10286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10287 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10288 no_cache=0
10289 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10290 if test "${enable_numberdlg+set}" = set; then
10291 enableval="$enable_numberdlg"
10292
10293 if test "$enableval" = yes; then
10294 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10295 else
10296 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10297 fi
10298
10299 else
10300
10301 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10302 if test "x$LINE" != x ; then
10303 eval "DEFAULT_$LINE"
10304 else
10305 no_cache=1
10306 fi
10307
10308 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10309
10310 fi;
10311
10312 eval "$ac_cv_use_numberdlg"
10313 if test "$no_cache" != 1; then
10314 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10315 fi
10316
10317 if test "$wxUSE_NUMBERDLG" = yes; then
10318 echo "$as_me:$LINENO: result: yes" >&5
10319 echo "${ECHO_T}yes" >&6
10320 else
10321 echo "$as_me:$LINENO: result: no" >&5
10322 echo "${ECHO_T}no" >&6
10323 fi
10324
10325
10326 enablestring=
10327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10329 no_cache=0
10330 # Check whether --enable-splash or --disable-splash was given.
10331 if test "${enable_splash+set}" = set; then
10332 enableval="$enable_splash"
10333
10334 if test "$enableval" = yes; then
10335 ac_cv_use_splash='wxUSE_SPLASH=yes'
10336 else
10337 ac_cv_use_splash='wxUSE_SPLASH=no'
10338 fi
10339
10340 else
10341
10342 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10343 if test "x$LINE" != x ; then
10344 eval "DEFAULT_$LINE"
10345 else
10346 no_cache=1
10347 fi
10348
10349 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10350
10351 fi;
10352
10353 eval "$ac_cv_use_splash"
10354 if test "$no_cache" != 1; then
10355 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10356 fi
10357
10358 if test "$wxUSE_SPLASH" = yes; then
10359 echo "$as_me:$LINENO: result: yes" >&5
10360 echo "${ECHO_T}yes" >&6
10361 else
10362 echo "$as_me:$LINENO: result: no" >&5
10363 echo "${ECHO_T}no" >&6
10364 fi
10365
10366
10367 enablestring=
10368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10369 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10370 no_cache=0
10371 # Check whether --enable-textdlg or --disable-textdlg was given.
10372 if test "${enable_textdlg+set}" = set; then
10373 enableval="$enable_textdlg"
10374
10375 if test "$enableval" = yes; then
10376 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10377 else
10378 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10379 fi
10380
10381 else
10382
10383 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10384 if test "x$LINE" != x ; then
10385 eval "DEFAULT_$LINE"
10386 else
10387 no_cache=1
10388 fi
10389
10390 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10391
10392 fi;
10393
10394 eval "$ac_cv_use_textdlg"
10395 if test "$no_cache" != 1; then
10396 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10397 fi
10398
10399 if test "$wxUSE_TEXTDLG" = yes; then
10400 echo "$as_me:$LINENO: result: yes" >&5
10401 echo "${ECHO_T}yes" >&6
10402 else
10403 echo "$as_me:$LINENO: result: no" >&5
10404 echo "${ECHO_T}no" >&6
10405 fi
10406
10407
10408 enablestring=
10409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10410 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10411 no_cache=0
10412 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10413 if test "${enable_tipdlg+set}" = set; then
10414 enableval="$enable_tipdlg"
10415
10416 if test "$enableval" = yes; then
10417 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10418 else
10419 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10420 fi
10421
10422 else
10423
10424 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10425 if test "x$LINE" != x ; then
10426 eval "DEFAULT_$LINE"
10427 else
10428 no_cache=1
10429 fi
10430
10431 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10432
10433 fi;
10434
10435 eval "$ac_cv_use_tipdlg"
10436 if test "$no_cache" != 1; then
10437 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10438 fi
10439
10440 if test "$wxUSE_STARTUP_TIPS" = yes; then
10441 echo "$as_me:$LINENO: result: yes" >&5
10442 echo "${ECHO_T}yes" >&6
10443 else
10444 echo "$as_me:$LINENO: result: no" >&5
10445 echo "${ECHO_T}no" >&6
10446 fi
10447
10448
10449 enablestring=
10450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10451 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10452 no_cache=0
10453 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10454 if test "${enable_progressdlg+set}" = set; then
10455 enableval="$enable_progressdlg"
10456
10457 if test "$enableval" = yes; then
10458 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10459 else
10460 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10461 fi
10462
10463 else
10464
10465 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10466 if test "x$LINE" != x ; then
10467 eval "DEFAULT_$LINE"
10468 else
10469 no_cache=1
10470 fi
10471
10472 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10473
10474 fi;
10475
10476 eval "$ac_cv_use_progressdlg"
10477 if test "$no_cache" != 1; then
10478 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10479 fi
10480
10481 if test "$wxUSE_PROGRESSDLG" = yes; then
10482 echo "$as_me:$LINENO: result: yes" >&5
10483 echo "${ECHO_T}yes" >&6
10484 else
10485 echo "$as_me:$LINENO: result: no" >&5
10486 echo "${ECHO_T}no" >&6
10487 fi
10488
10489
10490 enablestring=
10491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10493 no_cache=0
10494 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10495 if test "${enable_wizarddlg+set}" = set; then
10496 enableval="$enable_wizarddlg"
10497
10498 if test "$enableval" = yes; then
10499 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10500 else
10501 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10502 fi
10503
10504 else
10505
10506 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10507 if test "x$LINE" != x ; then
10508 eval "DEFAULT_$LINE"
10509 else
10510 no_cache=1
10511 fi
10512
10513 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10514
10515 fi;
10516
10517 eval "$ac_cv_use_wizarddlg"
10518 if test "$no_cache" != 1; then
10519 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10520 fi
10521
10522 if test "$wxUSE_WIZARDDLG" = yes; then
10523 echo "$as_me:$LINENO: result: yes" >&5
10524 echo "${ECHO_T}yes" >&6
10525 else
10526 echo "$as_me:$LINENO: result: no" >&5
10527 echo "${ECHO_T}no" >&6
10528 fi
10529
10530
10531
10532
10533 enablestring=
10534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10535 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10536 no_cache=0
10537 # Check whether --enable-menus or --disable-menus was given.
10538 if test "${enable_menus+set}" = set; then
10539 enableval="$enable_menus"
10540
10541 if test "$enableval" = yes; then
10542 ac_cv_use_menus='wxUSE_MENUS=yes'
10543 else
10544 ac_cv_use_menus='wxUSE_MENUS=no'
10545 fi
10546
10547 else
10548
10549 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10550 if test "x$LINE" != x ; then
10551 eval "DEFAULT_$LINE"
10552 else
10553 no_cache=1
10554 fi
10555
10556 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10557
10558 fi;
10559
10560 eval "$ac_cv_use_menus"
10561 if test "$no_cache" != 1; then
10562 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10563 fi
10564
10565 if test "$wxUSE_MENUS" = yes; then
10566 echo "$as_me:$LINENO: result: yes" >&5
10567 echo "${ECHO_T}yes" >&6
10568 else
10569 echo "$as_me:$LINENO: result: no" >&5
10570 echo "${ECHO_T}no" >&6
10571 fi
10572
10573
10574 enablestring=
10575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10576 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10577 no_cache=0
10578 # Check whether --enable-miniframe or --disable-miniframe was given.
10579 if test "${enable_miniframe+set}" = set; then
10580 enableval="$enable_miniframe"
10581
10582 if test "$enableval" = yes; then
10583 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10584 else
10585 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10586 fi
10587
10588 else
10589
10590 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10591 if test "x$LINE" != x ; then
10592 eval "DEFAULT_$LINE"
10593 else
10594 no_cache=1
10595 fi
10596
10597 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10598
10599 fi;
10600
10601 eval "$ac_cv_use_miniframe"
10602 if test "$no_cache" != 1; then
10603 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10604 fi
10605
10606 if test "$wxUSE_MINIFRAME" = yes; then
10607 echo "$as_me:$LINENO: result: yes" >&5
10608 echo "${ECHO_T}yes" >&6
10609 else
10610 echo "$as_me:$LINENO: result: no" >&5
10611 echo "${ECHO_T}no" >&6
10612 fi
10613
10614
10615 enablestring=
10616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10617 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10618 no_cache=0
10619 # Check whether --enable-tooltips or --disable-tooltips was given.
10620 if test "${enable_tooltips+set}" = set; then
10621 enableval="$enable_tooltips"
10622
10623 if test "$enableval" = yes; then
10624 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10625 else
10626 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10627 fi
10628
10629 else
10630
10631 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10632 if test "x$LINE" != x ; then
10633 eval "DEFAULT_$LINE"
10634 else
10635 no_cache=1
10636 fi
10637
10638 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10639
10640 fi;
10641
10642 eval "$ac_cv_use_tooltips"
10643 if test "$no_cache" != 1; then
10644 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10645 fi
10646
10647 if test "$wxUSE_TOOLTIPS" = yes; then
10648 echo "$as_me:$LINENO: result: yes" >&5
10649 echo "${ECHO_T}yes" >&6
10650 else
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10653 fi
10654
10655
10656 enablestring=
10657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10658 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10659 no_cache=0
10660 # Check whether --enable-splines or --disable-splines was given.
10661 if test "${enable_splines+set}" = set; then
10662 enableval="$enable_splines"
10663
10664 if test "$enableval" = yes; then
10665 ac_cv_use_splines='wxUSE_SPLINES=yes'
10666 else
10667 ac_cv_use_splines='wxUSE_SPLINES=no'
10668 fi
10669
10670 else
10671
10672 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10673 if test "x$LINE" != x ; then
10674 eval "DEFAULT_$LINE"
10675 else
10676 no_cache=1
10677 fi
10678
10679 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10680
10681 fi;
10682
10683 eval "$ac_cv_use_splines"
10684 if test "$no_cache" != 1; then
10685 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10686 fi
10687
10688 if test "$wxUSE_SPLINES" = yes; then
10689 echo "$as_me:$LINENO: result: yes" >&5
10690 echo "${ECHO_T}yes" >&6
10691 else
10692 echo "$as_me:$LINENO: result: no" >&5
10693 echo "${ECHO_T}no" >&6
10694 fi
10695
10696
10697 enablestring=
10698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10699 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10700 no_cache=0
10701 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10702 if test "${enable_mousewheel+set}" = set; then
10703 enableval="$enable_mousewheel"
10704
10705 if test "$enableval" = yes; then
10706 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10707 else
10708 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10709 fi
10710
10711 else
10712
10713 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10714 if test "x$LINE" != x ; then
10715 eval "DEFAULT_$LINE"
10716 else
10717 no_cache=1
10718 fi
10719
10720 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10721
10722 fi;
10723
10724 eval "$ac_cv_use_mousewheel"
10725 if test "$no_cache" != 1; then
10726 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10727 fi
10728
10729 if test "$wxUSE_MOUSEWHEEL" = yes; then
10730 echo "$as_me:$LINENO: result: yes" >&5
10731 echo "${ECHO_T}yes" >&6
10732 else
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10735 fi
10736
10737
10738 enablestring=
10739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10740 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10741 no_cache=0
10742 # Check whether --enable-validators or --disable-validators was given.
10743 if test "${enable_validators+set}" = set; then
10744 enableval="$enable_validators"
10745
10746 if test "$enableval" = yes; then
10747 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10748 else
10749 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10750 fi
10751
10752 else
10753
10754 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10755 if test "x$LINE" != x ; then
10756 eval "DEFAULT_$LINE"
10757 else
10758 no_cache=1
10759 fi
10760
10761 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10762
10763 fi;
10764
10765 eval "$ac_cv_use_validators"
10766 if test "$no_cache" != 1; then
10767 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10768 fi
10769
10770 if test "$wxUSE_VALIDATORS" = yes; then
10771 echo "$as_me:$LINENO: result: yes" >&5
10772 echo "${ECHO_T}yes" >&6
10773 else
10774 echo "$as_me:$LINENO: result: no" >&5
10775 echo "${ECHO_T}no" >&6
10776 fi
10777
10778
10779 enablestring=
10780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10781 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10782 no_cache=0
10783 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10784 if test "${enable_busyinfo+set}" = set; then
10785 enableval="$enable_busyinfo"
10786
10787 if test "$enableval" = yes; then
10788 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10789 else
10790 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10791 fi
10792
10793 else
10794
10795 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10796 if test "x$LINE" != x ; then
10797 eval "DEFAULT_$LINE"
10798 else
10799 no_cache=1
10800 fi
10801
10802 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10803
10804 fi;
10805
10806 eval "$ac_cv_use_busyinfo"
10807 if test "$no_cache" != 1; then
10808 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10809 fi
10810
10811 if test "$wxUSE_BUSYINFO" = yes; then
10812 echo "$as_me:$LINENO: result: yes" >&5
10813 echo "${ECHO_T}yes" >&6
10814 else
10815 echo "$as_me:$LINENO: result: no" >&5
10816 echo "${ECHO_T}no" >&6
10817 fi
10818
10819
10820 enablestring=
10821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10822 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10823 no_cache=0
10824 # Check whether --enable-joystick or --disable-joystick was given.
10825 if test "${enable_joystick+set}" = set; then
10826 enableval="$enable_joystick"
10827
10828 if test "$enableval" = yes; then
10829 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10830 else
10831 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10832 fi
10833
10834 else
10835
10836 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10837 if test "x$LINE" != x ; then
10838 eval "DEFAULT_$LINE"
10839 else
10840 no_cache=1
10841 fi
10842
10843 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10844
10845 fi;
10846
10847 eval "$ac_cv_use_joystick"
10848 if test "$no_cache" != 1; then
10849 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10850 fi
10851
10852 if test "$wxUSE_JOYSTICK" = yes; then
10853 echo "$as_me:$LINENO: result: yes" >&5
10854 echo "${ECHO_T}yes" >&6
10855 else
10856 echo "$as_me:$LINENO: result: no" >&5
10857 echo "${ECHO_T}no" >&6
10858 fi
10859
10860
10861 enablestring=
10862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10864 no_cache=0
10865 # Check whether --enable-metafile or --disable-metafile was given.
10866 if test "${enable_metafile+set}" = set; then
10867 enableval="$enable_metafile"
10868
10869 if test "$enableval" = yes; then
10870 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10871 else
10872 ac_cv_use_metafile='wxUSE_METAFILE=no'
10873 fi
10874
10875 else
10876
10877 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10878 if test "x$LINE" != x ; then
10879 eval "DEFAULT_$LINE"
10880 else
10881 no_cache=1
10882 fi
10883
10884 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10885
10886 fi;
10887
10888 eval "$ac_cv_use_metafile"
10889 if test "$no_cache" != 1; then
10890 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10891 fi
10892
10893 if test "$wxUSE_METAFILE" = yes; then
10894 echo "$as_me:$LINENO: result: yes" >&5
10895 echo "${ECHO_T}yes" >&6
10896 else
10897 echo "$as_me:$LINENO: result: no" >&5
10898 echo "${ECHO_T}no" >&6
10899 fi
10900
10901
10902 enablestring=
10903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10905 no_cache=0
10906 # Check whether --enable-dragimage or --disable-dragimage was given.
10907 if test "${enable_dragimage+set}" = set; then
10908 enableval="$enable_dragimage"
10909
10910 if test "$enableval" = yes; then
10911 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10912 else
10913 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10914 fi
10915
10916 else
10917
10918 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10919 if test "x$LINE" != x ; then
10920 eval "DEFAULT_$LINE"
10921 else
10922 no_cache=1
10923 fi
10924
10925 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10926
10927 fi;
10928
10929 eval "$ac_cv_use_dragimage"
10930 if test "$no_cache" != 1; then
10931 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10932 fi
10933
10934 if test "$wxUSE_DRAGIMAGE" = yes; then
10935 echo "$as_me:$LINENO: result: yes" >&5
10936 echo "${ECHO_T}yes" >&6
10937 else
10938 echo "$as_me:$LINENO: result: no" >&5
10939 echo "${ECHO_T}no" >&6
10940 fi
10941
10942
10943 enablestring=
10944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10946 no_cache=0
10947 # Check whether --enable-accessibility or --disable-accessibility was given.
10948 if test "${enable_accessibility+set}" = set; then
10949 enableval="$enable_accessibility"
10950
10951 if test "$enableval" = yes; then
10952 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10953 else
10954 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10955 fi
10956
10957 else
10958
10959 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10960 if test "x$LINE" != x ; then
10961 eval "DEFAULT_$LINE"
10962 else
10963 no_cache=1
10964 fi
10965
10966 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10967
10968 fi;
10969
10970 eval "$ac_cv_use_accessibility"
10971 if test "$no_cache" != 1; then
10972 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10973 fi
10974
10975 if test "$wxUSE_ACCESSIBILITY" = yes; then
10976 echo "$as_me:$LINENO: result: yes" >&5
10977 echo "${ECHO_T}yes" >&6
10978 else
10979 echo "$as_me:$LINENO: result: no" >&5
10980 echo "${ECHO_T}no" >&6
10981 fi
10982
10983
10984 if test "$wxUSE_MSW" = "1"; then
10985
10986 enablestring=
10987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10989 no_cache=0
10990 # Check whether --enable-dccache or --disable-dccache was given.
10991 if test "${enable_dccache+set}" = set; then
10992 enableval="$enable_dccache"
10993
10994 if test "$enableval" = yes; then
10995 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10996 else
10997 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10998 fi
10999
11000 else
11001
11002 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11003 if test "x$LINE" != x ; then
11004 eval "DEFAULT_$LINE"
11005 else
11006 no_cache=1
11007 fi
11008
11009 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11010
11011 fi;
11012
11013 eval "$ac_cv_use_dccache"
11014 if test "$no_cache" != 1; then
11015 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11016 fi
11017
11018 if test "$wxUSE_DC_CACHEING" = yes; then
11019 echo "$as_me:$LINENO: result: yes" >&5
11020 echo "${ECHO_T}yes" >&6
11021 else
11022 echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11024 fi
11025
11026 fi
11027
11028
11029
11030 enablestring=
11031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11033 no_cache=0
11034 # Check whether --enable-palette or --disable-palette was given.
11035 if test "${enable_palette+set}" = set; then
11036 enableval="$enable_palette"
11037
11038 if test "$enableval" = yes; then
11039 ac_cv_use_palette='wxUSE_PALETTE=yes'
11040 else
11041 ac_cv_use_palette='wxUSE_PALETTE=no'
11042 fi
11043
11044 else
11045
11046 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11047 if test "x$LINE" != x ; then
11048 eval "DEFAULT_$LINE"
11049 else
11050 no_cache=1
11051 fi
11052
11053 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11054
11055 fi;
11056
11057 eval "$ac_cv_use_palette"
11058 if test "$no_cache" != 1; then
11059 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11060 fi
11061
11062 if test "$wxUSE_PALETTE" = yes; then
11063 echo "$as_me:$LINENO: result: yes" >&5
11064 echo "${ECHO_T}yes" >&6
11065 else
11066 echo "$as_me:$LINENO: result: no" >&5
11067 echo "${ECHO_T}no" >&6
11068 fi
11069
11070
11071 enablestring=
11072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11073 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11074 no_cache=0
11075 # Check whether --enable-image or --disable-image was given.
11076 if test "${enable_image+set}" = set; then
11077 enableval="$enable_image"
11078
11079 if test "$enableval" = yes; then
11080 ac_cv_use_image='wxUSE_IMAGE=yes'
11081 else
11082 ac_cv_use_image='wxUSE_IMAGE=no'
11083 fi
11084
11085 else
11086
11087 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11088 if test "x$LINE" != x ; then
11089 eval "DEFAULT_$LINE"
11090 else
11091 no_cache=1
11092 fi
11093
11094 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11095
11096 fi;
11097
11098 eval "$ac_cv_use_image"
11099 if test "$no_cache" != 1; then
11100 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11101 fi
11102
11103 if test "$wxUSE_IMAGE" = yes; then
11104 echo "$as_me:$LINENO: result: yes" >&5
11105 echo "${ECHO_T}yes" >&6
11106 else
11107 echo "$as_me:$LINENO: result: no" >&5
11108 echo "${ECHO_T}no" >&6
11109 fi
11110
11111
11112 enablestring=
11113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11114 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11115 no_cache=0
11116 # Check whether --enable-gif or --disable-gif was given.
11117 if test "${enable_gif+set}" = set; then
11118 enableval="$enable_gif"
11119
11120 if test "$enableval" = yes; then
11121 ac_cv_use_gif='wxUSE_GIF=yes'
11122 else
11123 ac_cv_use_gif='wxUSE_GIF=no'
11124 fi
11125
11126 else
11127
11128 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11129 if test "x$LINE" != x ; then
11130 eval "DEFAULT_$LINE"
11131 else
11132 no_cache=1
11133 fi
11134
11135 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11136
11137 fi;
11138
11139 eval "$ac_cv_use_gif"
11140 if test "$no_cache" != 1; then
11141 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11142 fi
11143
11144 if test "$wxUSE_GIF" = yes; then
11145 echo "$as_me:$LINENO: result: yes" >&5
11146 echo "${ECHO_T}yes" >&6
11147 else
11148 echo "$as_me:$LINENO: result: no" >&5
11149 echo "${ECHO_T}no" >&6
11150 fi
11151
11152
11153 enablestring=
11154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11155 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11156 no_cache=0
11157 # Check whether --enable-pcx or --disable-pcx was given.
11158 if test "${enable_pcx+set}" = set; then
11159 enableval="$enable_pcx"
11160
11161 if test "$enableval" = yes; then
11162 ac_cv_use_pcx='wxUSE_PCX=yes'
11163 else
11164 ac_cv_use_pcx='wxUSE_PCX=no'
11165 fi
11166
11167 else
11168
11169 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11170 if test "x$LINE" != x ; then
11171 eval "DEFAULT_$LINE"
11172 else
11173 no_cache=1
11174 fi
11175
11176 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11177
11178 fi;
11179
11180 eval "$ac_cv_use_pcx"
11181 if test "$no_cache" != 1; then
11182 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11183 fi
11184
11185 if test "$wxUSE_PCX" = yes; then
11186 echo "$as_me:$LINENO: result: yes" >&5
11187 echo "${ECHO_T}yes" >&6
11188 else
11189 echo "$as_me:$LINENO: result: no" >&5
11190 echo "${ECHO_T}no" >&6
11191 fi
11192
11193
11194 enablestring=
11195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11197 no_cache=0
11198 # Check whether --enable-iff or --disable-iff was given.
11199 if test "${enable_iff+set}" = set; then
11200 enableval="$enable_iff"
11201
11202 if test "$enableval" = yes; then
11203 ac_cv_use_iff='wxUSE_IFF=yes'
11204 else
11205 ac_cv_use_iff='wxUSE_IFF=no'
11206 fi
11207
11208 else
11209
11210 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11211 if test "x$LINE" != x ; then
11212 eval "DEFAULT_$LINE"
11213 else
11214 no_cache=1
11215 fi
11216
11217 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11218
11219 fi;
11220
11221 eval "$ac_cv_use_iff"
11222 if test "$no_cache" != 1; then
11223 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11224 fi
11225
11226 if test "$wxUSE_IFF" = yes; then
11227 echo "$as_me:$LINENO: result: yes" >&5
11228 echo "${ECHO_T}yes" >&6
11229 else
11230 echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6
11232 fi
11233
11234
11235 enablestring=
11236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11237 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11238 no_cache=0
11239 # Check whether --enable-pnm or --disable-pnm was given.
11240 if test "${enable_pnm+set}" = set; then
11241 enableval="$enable_pnm"
11242
11243 if test "$enableval" = yes; then
11244 ac_cv_use_pnm='wxUSE_PNM=yes'
11245 else
11246 ac_cv_use_pnm='wxUSE_PNM=no'
11247 fi
11248
11249 else
11250
11251 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11252 if test "x$LINE" != x ; then
11253 eval "DEFAULT_$LINE"
11254 else
11255 no_cache=1
11256 fi
11257
11258 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11259
11260 fi;
11261
11262 eval "$ac_cv_use_pnm"
11263 if test "$no_cache" != 1; then
11264 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11265 fi
11266
11267 if test "$wxUSE_PNM" = yes; then
11268 echo "$as_me:$LINENO: result: yes" >&5
11269 echo "${ECHO_T}yes" >&6
11270 else
11271 echo "$as_me:$LINENO: result: no" >&5
11272 echo "${ECHO_T}no" >&6
11273 fi
11274
11275
11276 enablestring=
11277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11279 no_cache=0
11280 # Check whether --enable-xpm or --disable-xpm was given.
11281 if test "${enable_xpm+set}" = set; then
11282 enableval="$enable_xpm"
11283
11284 if test "$enableval" = yes; then
11285 ac_cv_use_xpm='wxUSE_XPM=yes'
11286 else
11287 ac_cv_use_xpm='wxUSE_XPM=no'
11288 fi
11289
11290 else
11291
11292 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11293 if test "x$LINE" != x ; then
11294 eval "DEFAULT_$LINE"
11295 else
11296 no_cache=1
11297 fi
11298
11299 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11300
11301 fi;
11302
11303 eval "$ac_cv_use_xpm"
11304 if test "$no_cache" != 1; then
11305 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11306 fi
11307
11308 if test "$wxUSE_XPM" = yes; then
11309 echo "$as_me:$LINENO: result: yes" >&5
11310 echo "${ECHO_T}yes" >&6
11311 else
11312 echo "$as_me:$LINENO: result: no" >&5
11313 echo "${ECHO_T}no" >&6
11314 fi
11315
11316
11317 enablestring=
11318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11319 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11320 no_cache=0
11321 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11322 if test "${enable_ico_cur+set}" = set; then
11323 enableval="$enable_ico_cur"
11324
11325 if test "$enableval" = yes; then
11326 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11327 else
11328 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11329 fi
11330
11331 else
11332
11333 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11334 if test "x$LINE" != x ; then
11335 eval "DEFAULT_$LINE"
11336 else
11337 no_cache=1
11338 fi
11339
11340 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11341
11342 fi;
11343
11344 eval "$ac_cv_use_ico_cur"
11345 if test "$no_cache" != 1; then
11346 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11347 fi
11348
11349 if test "$wxUSE_ICO_CUR" = yes; then
11350 echo "$as_me:$LINENO: result: yes" >&5
11351 echo "${ECHO_T}yes" >&6
11352 else
11353 echo "$as_me:$LINENO: result: no" >&5
11354 echo "${ECHO_T}no" >&6
11355 fi
11356
11357
11358 fi
11359
11360
11361
11362 # Check whether --with-flavour or --without-flavour was given.
11363 if test "${with_flavour+set}" = set; then
11364 withval="$with_flavour"
11365 WX_FLAVOUR="$withval"
11366 fi;
11367
11368
11369
11370 enablestring=
11371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11373 no_cache=0
11374 # Check whether --enable-official_build or --disable-official_build was given.
11375 if test "${enable_official_build+set}" = set; then
11376 enableval="$enable_official_build"
11377
11378 if test "$enableval" = yes; then
11379 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11380 else
11381 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11382 fi
11383
11384 else
11385
11386 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11389 else
11390 no_cache=1
11391 fi
11392
11393 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11394
11395 fi;
11396
11397 eval "$ac_cv_use_official_build"
11398 if test "$no_cache" != 1; then
11399 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11400 fi
11401
11402 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11403 echo "$as_me:$LINENO: result: yes" >&5
11404 echo "${ECHO_T}yes" >&6
11405 else
11406 echo "$as_me:$LINENO: result: no" >&5
11407 echo "${ECHO_T}no" >&6
11408 fi
11409
11410 # Check whether --enable-vendor or --disable-vendor was given.
11411 if test "${enable_vendor+set}" = set; then
11412 enableval="$enable_vendor"
11413 VENDOR="$enableval"
11414 fi;
11415 if test "x$VENDOR" = "x"; then
11416 VENDOR="custom"
11417 fi
11418
11419
11420
11421
11422 echo "saving argument cache $wx_arg_cache_file"
11423 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11424
11425
11426
11427 echo "$as_me:$LINENO: checking for toolkit" >&5
11428 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11429
11430 # In Wine, we need to default to MSW, not GTK or MOTIF
11431 if test "$wxUSE_WINE" = "yes"; then
11432 DEFAULT_DEFAULT_wxUSE_GTK=0
11433 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11434 DEFAULT_DEFAULT_wxUSE_MSW=1
11435 wxUSE_SHARED=no
11436 fi
11437
11438
11439 if test "$wxUSE_GUI" = "yes"; then
11440
11441 if test "$USE_BEOS" = 1; then
11442 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11443 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11444 { (exit 1); exit 1; }; }
11445 fi
11446
11447 if test "$TOOLKIT_GIVEN" = 1; then
11448 for toolkit in `echo $ALL_TOOLKITS`; do
11449 var=wxUSE_$toolkit
11450 eval "value=\$${var}"
11451 if test "x$value" = "xno"; then
11452 eval "$var=0"
11453 elif test "x$value" != "x"; then
11454 eval "$var=1"
11455 fi
11456
11457 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11458 eval "wx${toolkit}_VERSION=$value"
11459 fi
11460 done
11461 else
11462 for toolkit in `echo $ALL_TOOLKITS`; do
11463 if test "$has_toolkit_in_cache" != 1; then
11464 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11465 else
11466 var=DEFAULT_wxUSE_$toolkit
11467
11468 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11469 if test "x$version" != "x"; then
11470 eval "wx${toolkit}_VERSION=$version"
11471 fi
11472 fi
11473 eval "wxUSE_$toolkit=\$${var}"
11474 done
11475 fi
11476
11477 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11478 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11479 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11480
11481 case "${host}" in
11482 *-pc-os2_emx | *-pc-os2-emx )
11483 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11484 esac
11485
11486 case "$NUM_TOOLKITS" in
11487 1)
11488 ;;
11489 0)
11490 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11491 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11492 { (exit 1); exit 1; }; }
11493 ;;
11494 *)
11495 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11496 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11497 { (exit 1); exit 1; }; }
11498 esac
11499
11500 # to be removed when --disable-gtk2 isn't needed
11501 if test "x$wxUSE_GTK2" = "xyes"; then
11502 wxGTK_VERSION=2
11503 elif test "x$wxUSE_GTK2" = "xno"; then
11504 wxGTK_VERSION=1
11505 fi
11506
11507 for toolkit in `echo $ALL_TOOLKITS`; do
11508 var=wxUSE_$toolkit
11509 eval "value=\$${var}"
11510 if test "x$value" != x; then
11511 cache_var=CACHE_$toolkit
11512 eval "cache=\$${cache_var}"
11513 if test "$cache" = 1; then
11514 echo "$var=$value" >> ${wx_arg_cache_file}
11515 eval "version=\$wx${toolkit}_VERSION"
11516 if test "x$version" != "x"; then
11517 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11518 fi
11519 fi
11520 if test "$value" = 1; then
11521 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11522 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11523 echo "${ECHO_T}$toolkit_echo" >&6
11524 fi
11525 fi
11526 done
11527 else
11528 if test "x$host_alias" != "x"; then
11529 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11530 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11531 else
11532 echo "$as_me:$LINENO: result: base only" >&5
11533 echo "${ECHO_T}base only" >&6
11534 fi
11535 fi
11536
11537 wants_win32=0
11538 doesnt_want_win32=0
11539 case "${host}" in
11540 *-*-cygwin*)
11541 if test "$wxUSE_MSW" = 1 ; then
11542 wants_win32=1
11543 BAKEFILE_FORCE_PLATFORM=win32
11544 else
11545 doesnt_want_win32=1
11546 fi
11547 ;;
11548 *-*-mingw*)
11549 wants_win32=1
11550 ;;
11551 esac
11552
11553 if test "$wxUSE_WINE" = "yes"; then
11554 wants_win32=1
11555 CC=winegcc
11556 CXX=wineg++
11557 LDFLAGS_GUI="-mwindows"
11558 fi
11559
11560 if test "$wants_win32" = 1 ; then
11561 USE_UNIX=0
11562 USE_WIN32=1
11563 cat >>confdefs.h <<\_ACEOF
11564 #define __WIN32__ 1
11565 _ACEOF
11566
11567 cat >>confdefs.h <<\_ACEOF
11568 #define __WIN95__ 1
11569 _ACEOF
11570
11571 cat >>confdefs.h <<\_ACEOF
11572 #define __WINDOWS__ 1
11573 _ACEOF
11574
11575 cat >>confdefs.h <<\_ACEOF
11576 #define __GNUWIN32__ 1
11577 _ACEOF
11578
11579 cat >>confdefs.h <<\_ACEOF
11580 #define STRICT 1
11581 _ACEOF
11582
11583 cat >>confdefs.h <<\_ACEOF
11584 #define WINVER 0x0400
11585 _ACEOF
11586
11587 fi
11588 if test "$doesnt_want_win32" = 1 ; then
11589 USE_UNIX=1
11590 USE_WIN32=0
11591 fi
11592
11593 if test "$USE_UNIX" = 1 ; then
11594 wxUSE_UNIX=yes
11595 cat >>confdefs.h <<\_ACEOF
11596 #define __UNIX__ 1
11597 _ACEOF
11598
11599 fi
11600
11601
11602 cat >confcache <<\_ACEOF
11603 # This file is a shell script that caches the results of configure
11604 # tests run on this system so they can be shared between configure
11605 # scripts and configure runs, see configure's option --config-cache.
11606 # It is not useful on other systems. If it contains results you don't
11607 # want to keep, you may remove or edit it.
11608 #
11609 # config.status only pays attention to the cache file if you give it
11610 # the --recheck option to rerun configure.
11611 #
11612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11614 # following values.
11615
11616 _ACEOF
11617
11618 # The following way of writing the cache mishandles newlines in values,
11619 # but we know of no workaround that is simple, portable, and efficient.
11620 # So, don't put newlines in cache variables' values.
11621 # Ultrix sh set writes to stderr and can't be redirected directly,
11622 # and sets the high bit in the cache file unless we assign to the vars.
11623 {
11624 (set) 2>&1 |
11625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11626 *ac_space=\ *)
11627 # `set' does not quote correctly, so add quotes (double-quote
11628 # substitution turns \\\\ into \\, and sed turns \\ into \).
11629 sed -n \
11630 "s/'/'\\\\''/g;
11631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11632 ;;
11633 *)
11634 # `set' quotes correctly as required by POSIX, so do not add quotes.
11635 sed -n \
11636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11637 ;;
11638 esac;
11639 } |
11640 sed '
11641 t clear
11642 : clear
11643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11644 t end
11645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11646 : end' >>confcache
11647 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11648 if test -w $cache_file; then
11649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11650 cat confcache >$cache_file
11651 else
11652 echo "not updating unwritable cache $cache_file"
11653 fi
11654 fi
11655 rm -f confcache
11656
11657 CFLAGS=${CFLAGS:=}
11658
11659
11660
11661 ac_ext=c
11662 ac_cpp='$CPP $CPPFLAGS'
11663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11666 if test -n "$ac_tool_prefix"; then
11667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11669 echo "$as_me:$LINENO: checking for $ac_word" >&5
11670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11671 if test "${ac_cv_prog_CC+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 else
11674 if test -n "$CC"; then
11675 ac_cv_prog_CC="$CC" # Let the user override the test.
11676 else
11677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11678 for as_dir in $PATH
11679 do
11680 IFS=$as_save_IFS
11681 test -z "$as_dir" && as_dir=.
11682 for ac_exec_ext in '' $ac_executable_extensions; do
11683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11684 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11686 break 2
11687 fi
11688 done
11689 done
11690
11691 fi
11692 fi
11693 CC=$ac_cv_prog_CC
11694 if test -n "$CC"; then
11695 echo "$as_me:$LINENO: result: $CC" >&5
11696 echo "${ECHO_T}$CC" >&6
11697 else
11698 echo "$as_me:$LINENO: result: no" >&5
11699 echo "${ECHO_T}no" >&6
11700 fi
11701
11702 fi
11703 if test -z "$ac_cv_prog_CC"; then
11704 ac_ct_CC=$CC
11705 # Extract the first word of "gcc", so it can be a program name with args.
11706 set dummy gcc; ac_word=$2
11707 echo "$as_me:$LINENO: checking for $ac_word" >&5
11708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else
11712 if test -n "$ac_ct_CC"; then
11713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11714 else
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11717 do
11718 IFS=$as_save_IFS
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11722 ac_cv_prog_ac_ct_CC="gcc"
11723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11724 break 2
11725 fi
11726 done
11727 done
11728
11729 fi
11730 fi
11731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11732 if test -n "$ac_ct_CC"; then
11733 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11734 echo "${ECHO_T}$ac_ct_CC" >&6
11735 else
11736 echo "$as_me:$LINENO: result: no" >&5
11737 echo "${ECHO_T}no" >&6
11738 fi
11739
11740 CC=$ac_ct_CC
11741 else
11742 CC="$ac_cv_prog_CC"
11743 fi
11744
11745 if test -z "$CC"; then
11746 if test -n "$ac_tool_prefix"; then
11747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11748 set dummy ${ac_tool_prefix}cc; ac_word=$2
11749 echo "$as_me:$LINENO: checking for $ac_word" >&5
11750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11751 if test "${ac_cv_prog_CC+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else
11754 if test -n "$CC"; then
11755 ac_cv_prog_CC="$CC" # Let the user override the test.
11756 else
11757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11758 for as_dir in $PATH
11759 do
11760 IFS=$as_save_IFS
11761 test -z "$as_dir" && as_dir=.
11762 for ac_exec_ext in '' $ac_executable_extensions; do
11763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11764 ac_cv_prog_CC="${ac_tool_prefix}cc"
11765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11766 break 2
11767 fi
11768 done
11769 done
11770
11771 fi
11772 fi
11773 CC=$ac_cv_prog_CC
11774 if test -n "$CC"; then
11775 echo "$as_me:$LINENO: result: $CC" >&5
11776 echo "${ECHO_T}$CC" >&6
11777 else
11778 echo "$as_me:$LINENO: result: no" >&5
11779 echo "${ECHO_T}no" >&6
11780 fi
11781
11782 fi
11783 if test -z "$ac_cv_prog_CC"; then
11784 ac_ct_CC=$CC
11785 # Extract the first word of "cc", so it can be a program name with args.
11786 set dummy cc; ac_word=$2
11787 echo "$as_me:$LINENO: checking for $ac_word" >&5
11788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11789 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11791 else
11792 if test -n "$ac_ct_CC"; then
11793 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11794 else
11795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11796 for as_dir in $PATH
11797 do
11798 IFS=$as_save_IFS
11799 test -z "$as_dir" && as_dir=.
11800 for ac_exec_ext in '' $ac_executable_extensions; do
11801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11802 ac_cv_prog_ac_ct_CC="cc"
11803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11804 break 2
11805 fi
11806 done
11807 done
11808
11809 fi
11810 fi
11811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11812 if test -n "$ac_ct_CC"; then
11813 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11814 echo "${ECHO_T}$ac_ct_CC" >&6
11815 else
11816 echo "$as_me:$LINENO: result: no" >&5
11817 echo "${ECHO_T}no" >&6
11818 fi
11819
11820 CC=$ac_ct_CC
11821 else
11822 CC="$ac_cv_prog_CC"
11823 fi
11824
11825 fi
11826 if test -z "$CC"; then
11827 # Extract the first word of "cc", so it can be a program name with args.
11828 set dummy cc; ac_word=$2
11829 echo "$as_me:$LINENO: checking for $ac_word" >&5
11830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11831 if test "${ac_cv_prog_CC+set}" = set; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11833 else
11834 if test -n "$CC"; then
11835 ac_cv_prog_CC="$CC" # Let the user override the test.
11836 else
11837 ac_prog_rejected=no
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11840 do
11841 IFS=$as_save_IFS
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11846 ac_prog_rejected=yes
11847 continue
11848 fi
11849 ac_cv_prog_CC="cc"
11850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11851 break 2
11852 fi
11853 done
11854 done
11855
11856 if test $ac_prog_rejected = yes; then
11857 # We found a bogon in the path, so make sure we never use it.
11858 set dummy $ac_cv_prog_CC
11859 shift
11860 if test $# != 0; then
11861 # We chose a different compiler from the bogus one.
11862 # However, it has the same basename, so the bogon will be chosen
11863 # first if we set CC to just the basename; use the full file name.
11864 shift
11865 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11866 fi
11867 fi
11868 fi
11869 fi
11870 CC=$ac_cv_prog_CC
11871 if test -n "$CC"; then
11872 echo "$as_me:$LINENO: result: $CC" >&5
11873 echo "${ECHO_T}$CC" >&6
11874 else
11875 echo "$as_me:$LINENO: result: no" >&5
11876 echo "${ECHO_T}no" >&6
11877 fi
11878
11879 fi
11880 if test -z "$CC"; then
11881 if test -n "$ac_tool_prefix"; then
11882 for ac_prog in cl
11883 do
11884 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11886 echo "$as_me:$LINENO: checking for $ac_word" >&5
11887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11888 if test "${ac_cv_prog_CC+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 else
11891 if test -n "$CC"; then
11892 ac_cv_prog_CC="$CC" # Let the user override the test.
11893 else
11894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11895 for as_dir in $PATH
11896 do
11897 IFS=$as_save_IFS
11898 test -z "$as_dir" && as_dir=.
11899 for ac_exec_ext in '' $ac_executable_extensions; do
11900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11903 break 2
11904 fi
11905 done
11906 done
11907
11908 fi
11909 fi
11910 CC=$ac_cv_prog_CC
11911 if test -n "$CC"; then
11912 echo "$as_me:$LINENO: result: $CC" >&5
11913 echo "${ECHO_T}$CC" >&6
11914 else
11915 echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6
11917 fi
11918
11919 test -n "$CC" && break
11920 done
11921 fi
11922 if test -z "$CC"; then
11923 ac_ct_CC=$CC
11924 for ac_prog in cl
11925 do
11926 # Extract the first word of "$ac_prog", so it can be a program name with args.
11927 set dummy $ac_prog; ac_word=$2
11928 echo "$as_me:$LINENO: checking for $ac_word" >&5
11929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11931 echo $ECHO_N "(cached) $ECHO_C" >&6
11932 else
11933 if test -n "$ac_ct_CC"; then
11934 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11935 else
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11938 do
11939 IFS=$as_save_IFS
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11943 ac_cv_prog_ac_ct_CC="$ac_prog"
11944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 break 2
11946 fi
11947 done
11948 done
11949
11950 fi
11951 fi
11952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11953 if test -n "$ac_ct_CC"; then
11954 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11955 echo "${ECHO_T}$ac_ct_CC" >&6
11956 else
11957 echo "$as_me:$LINENO: result: no" >&5
11958 echo "${ECHO_T}no" >&6
11959 fi
11960
11961 test -n "$ac_ct_CC" && break
11962 done
11963
11964 CC=$ac_ct_CC
11965 fi
11966
11967 fi
11968
11969
11970 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11971 See \`config.log' for more details." >&5
11972 echo "$as_me: error: no acceptable C compiler found in \$PATH
11973 See \`config.log' for more details." >&2;}
11974 { (exit 1); exit 1; }; }
11975
11976 # Provide some information about the compiler.
11977 echo "$as_me:$LINENO:" \
11978 "checking for C compiler version" >&5
11979 ac_compiler=`set X $ac_compile; echo $2`
11980 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11981 (eval $ac_compiler --version </dev/null >&5) 2>&5
11982 ac_status=$?
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }
11985 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11986 (eval $ac_compiler -v </dev/null >&5) 2>&5
11987 ac_status=$?
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }
11990 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11991 (eval $ac_compiler -V </dev/null >&5) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }
11995
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002
12003 int
12004 main ()
12005 {
12006
12007 ;
12008 return 0;
12009 }
12010 _ACEOF
12011 ac_clean_files_save=$ac_clean_files
12012 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12013 # Try to create an executable without -o first, disregard a.out.
12014 # It will help us diagnose broken compilers, and finding out an intuition
12015 # of exeext.
12016 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12017 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12018 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12019 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12020 (eval $ac_link_default) 2>&5
12021 ac_status=$?
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; then
12024 # Find the output, starting from the most likely. This scheme is
12025 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12026 # resort.
12027
12028 # Be careful to initialize this variable, since it used to be cached.
12029 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12030 ac_cv_exeext=
12031 # b.out is created by i960 compilers.
12032 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12033 do
12034 test -f "$ac_file" || continue
12035 case $ac_file in
12036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12037 ;;
12038 conftest.$ac_ext )
12039 # This is the source file.
12040 ;;
12041 [ab].out )
12042 # We found the default executable, but exeext='' is most
12043 # certainly right.
12044 break;;
12045 *.* )
12046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12047 # FIXME: I believe we export ac_cv_exeext for Libtool,
12048 # but it would be cool to find out if it's true. Does anybody
12049 # maintain Libtool? --akim.
12050 export ac_cv_exeext
12051 break;;
12052 * )
12053 break;;
12054 esac
12055 done
12056 else
12057 echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.$ac_ext >&5
12059
12060 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12061 See \`config.log' for more details." >&5
12062 echo "$as_me: error: C compiler cannot create executables
12063 See \`config.log' for more details." >&2;}
12064 { (exit 77); exit 77; }; }
12065 fi
12066
12067 ac_exeext=$ac_cv_exeext
12068 echo "$as_me:$LINENO: result: $ac_file" >&5
12069 echo "${ECHO_T}$ac_file" >&6
12070
12071 # Check the compiler produces executables we can run. If not, either
12072 # the compiler is broken, or we cross compile.
12073 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12074 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12075 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12076 # If not cross compiling, check that we can run a simple program.
12077 if test "$cross_compiling" != yes; then
12078 if { ac_try='./$ac_file'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12081 ac_status=$?
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 cross_compiling=no
12085 else
12086 if test "$cross_compiling" = maybe; then
12087 cross_compiling=yes
12088 else
12089 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12090 If you meant to cross compile, use \`--host'.
12091 See \`config.log' for more details." >&5
12092 echo "$as_me: error: cannot run C compiled programs.
12093 If you meant to cross compile, use \`--host'.
12094 See \`config.log' for more details." >&2;}
12095 { (exit 1); exit 1; }; }
12096 fi
12097 fi
12098 fi
12099 echo "$as_me:$LINENO: result: yes" >&5
12100 echo "${ECHO_T}yes" >&6
12101
12102 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12103 ac_clean_files=$ac_clean_files_save
12104 # Check the compiler produces executables we can run. If not, either
12105 # the compiler is broken, or we cross compile.
12106 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12107 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12108 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12109 echo "${ECHO_T}$cross_compiling" >&6
12110
12111 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12112 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12115 ac_status=$?
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; then
12118 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12119 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12120 # work properly (i.e., refer to `conftest.exe'), while it won't with
12121 # `rm'.
12122 for ac_file in conftest.exe conftest conftest.*; do
12123 test -f "$ac_file" || continue
12124 case $ac_file in
12125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12126 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12127 export ac_cv_exeext
12128 break;;
12129 * ) break;;
12130 esac
12131 done
12132 else
12133 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12134 See \`config.log' for more details." >&5
12135 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12136 See \`config.log' for more details." >&2;}
12137 { (exit 1); exit 1; }; }
12138 fi
12139
12140 rm -f conftest$ac_cv_exeext
12141 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12142 echo "${ECHO_T}$ac_cv_exeext" >&6
12143
12144 rm -f conftest.$ac_ext
12145 EXEEXT=$ac_cv_exeext
12146 ac_exeext=$EXEEXT
12147 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12149 if test "${ac_cv_objext+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 else
12152 cat >conftest.$ac_ext <<_ACEOF
12153 /* confdefs.h. */
12154 _ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12158
12159 int
12160 main ()
12161 {
12162
12163 ;
12164 return 0;
12165 }
12166 _ACEOF
12167 rm -f conftest.o conftest.obj
12168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12169 (eval $ac_compile) 2>&5
12170 ac_status=$?
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; then
12173 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12174 case $ac_file in
12175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12177 break;;
12178 esac
12179 done
12180 else
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12183
12184 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12185 See \`config.log' for more details." >&5
12186 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12187 See \`config.log' for more details." >&2;}
12188 { (exit 1); exit 1; }; }
12189 fi
12190
12191 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12192 fi
12193 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12194 echo "${ECHO_T}$ac_cv_objext" >&6
12195 OBJEXT=$ac_cv_objext
12196 ac_objext=$OBJEXT
12197 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12198 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12199 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12201 else
12202 cat >conftest.$ac_ext <<_ACEOF
12203 /* confdefs.h. */
12204 _ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208
12209 int
12210 main ()
12211 {
12212 #ifndef __GNUC__
12213 choke me
12214 #endif
12215
12216 ;
12217 return 0;
12218 }
12219 _ACEOF
12220 rm -f conftest.$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } &&
12229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; } &&
12235 { ac_try='test -s conftest.$ac_objext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12238 ac_status=$?
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_compiler_gnu=yes
12242 else
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12245
12246 ac_compiler_gnu=no
12247 fi
12248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12249 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12250
12251 fi
12252 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12253 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12254 GCC=`test $ac_compiler_gnu = yes && echo yes`
12255 ac_test_CFLAGS=${CFLAGS+set}
12256 ac_save_CFLAGS=$CFLAGS
12257 CFLAGS="-g"
12258 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12259 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12260 if test "${ac_cv_prog_cc_g+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 else
12263 cat >conftest.$ac_ext <<_ACEOF
12264 /* confdefs.h. */
12265 _ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12269
12270 int
12271 main ()
12272 {
12273
12274 ;
12275 return 0;
12276 }
12277 _ACEOF
12278 rm -f conftest.$ac_objext
12279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12280 (eval $ac_compile) 2>conftest.er1
12281 ac_status=$?
12282 grep -v '^ *+' conftest.er1 >conftest.err
12283 rm -f conftest.er1
12284 cat conftest.err >&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12290 ac_status=$?
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; } &&
12293 { ac_try='test -s conftest.$ac_objext'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12296 ac_status=$?
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; }; then
12299 ac_cv_prog_cc_g=yes
12300 else
12301 echo "$as_me: failed program was:" >&5
12302 sed 's/^/| /' conftest.$ac_ext >&5
12303
12304 ac_cv_prog_cc_g=no
12305 fi
12306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12307 fi
12308 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12309 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12310 if test "$ac_test_CFLAGS" = set; then
12311 CFLAGS=$ac_save_CFLAGS
12312 elif test $ac_cv_prog_cc_g = yes; then
12313 if test "$GCC" = yes; then
12314 CFLAGS="-g -O2"
12315 else
12316 CFLAGS="-g"
12317 fi
12318 else
12319 if test "$GCC" = yes; then
12320 CFLAGS="-O2"
12321 else
12322 CFLAGS=
12323 fi
12324 fi
12325 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12326 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12327 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 else
12330 ac_cv_prog_cc_stdc=no
12331 ac_save_CC=$CC
12332 cat >conftest.$ac_ext <<_ACEOF
12333 /* confdefs.h. */
12334 _ACEOF
12335 cat confdefs.h >>conftest.$ac_ext
12336 cat >>conftest.$ac_ext <<_ACEOF
12337 /* end confdefs.h. */
12338 #include <stdarg.h>
12339 #include <stdio.h>
12340 #include <sys/types.h>
12341 #include <sys/stat.h>
12342 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12343 struct buf { int x; };
12344 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12345 static char *e (p, i)
12346 char **p;
12347 int i;
12348 {
12349 return p[i];
12350 }
12351 static char *f (char * (*g) (char **, int), char **p, ...)
12352 {
12353 char *s;
12354 va_list v;
12355 va_start (v,p);
12356 s = g (p, va_arg (v,int));
12357 va_end (v);
12358 return s;
12359 }
12360
12361 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12362 function prototypes and stuff, but not '\xHH' hex character constants.
12363 These don't provoke an error unfortunately, instead are silently treated
12364 as 'x'. The following induces an error, until -std1 is added to get
12365 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12366 array size at least. It's necessary to write '\x00'==0 to get something
12367 that's true only with -std1. */
12368 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12369
12370 int test (int i, double x);
12371 struct s1 {int (*f) (int a);};
12372 struct s2 {int (*f) (double a);};
12373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12374 int argc;
12375 char **argv;
12376 int
12377 main ()
12378 {
12379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12380 ;
12381 return 0;
12382 }
12383 _ACEOF
12384 # Don't try gcc -ansi; that turns off useful extensions and
12385 # breaks some systems' header files.
12386 # AIX -qlanglvl=ansi
12387 # Ultrix and OSF/1 -std1
12388 # HP-UX 10.20 and later -Ae
12389 # HP-UX older versions -Aa -D_HPUX_SOURCE
12390 # SVR4 -Xc -D__EXTENSIONS__
12391 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12392 do
12393 CC="$ac_save_CC $ac_arg"
12394 rm -f conftest.$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>conftest.er1
12397 ac_status=$?
12398 grep -v '^ *+' conftest.er1 >conftest.err
12399 rm -f conftest.er1
12400 cat conftest.err >&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); } &&
12403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; } &&
12409 { ac_try='test -s conftest.$ac_objext'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12412 ac_status=$?
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; }; then
12415 ac_cv_prog_cc_stdc=$ac_arg
12416 break
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12420
12421 fi
12422 rm -f conftest.err conftest.$ac_objext
12423 done
12424 rm -f conftest.$ac_ext conftest.$ac_objext
12425 CC=$ac_save_CC
12426
12427 fi
12428
12429 case "x$ac_cv_prog_cc_stdc" in
12430 x|xno)
12431 echo "$as_me:$LINENO: result: none needed" >&5
12432 echo "${ECHO_T}none needed" >&6 ;;
12433 *)
12434 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12435 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12436 CC="$CC $ac_cv_prog_cc_stdc" ;;
12437 esac
12438
12439 # Some people use a C++ compiler to compile C. Since we use `exit',
12440 # in C++ we need to declare it. In case someone uses the same compiler
12441 # for both compiling C and C++ we need to have the C++ compiler decide
12442 # the declaration of exit, since it's the most demanding environment.
12443 cat >conftest.$ac_ext <<_ACEOF
12444 #ifndef __cplusplus
12445 choke me
12446 #endif
12447 _ACEOF
12448 rm -f conftest.$ac_objext
12449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12450 (eval $ac_compile) 2>conftest.er1
12451 ac_status=$?
12452 grep -v '^ *+' conftest.er1 >conftest.err
12453 rm -f conftest.er1
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
12457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12460 ac_status=$?
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; } &&
12463 { ac_try='test -s conftest.$ac_objext'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12466 ac_status=$?
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; }; then
12469 for ac_declaration in \
12470 '' \
12471 'extern "C" void std::exit (int) throw (); using std::exit;' \
12472 'extern "C" void std::exit (int); using std::exit;' \
12473 'extern "C" void exit (int) throw ();' \
12474 'extern "C" void exit (int);' \
12475 'void exit (int);'
12476 do
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483 $ac_declaration
12484 #include <stdlib.h>
12485 int
12486 main ()
12487 {
12488 exit (42);
12489 ;
12490 return 0;
12491 }
12492 _ACEOF
12493 rm -f conftest.$ac_objext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12495 (eval $ac_compile) 2>conftest.er1
12496 ac_status=$?
12497 grep -v '^ *+' conftest.er1 >conftest.err
12498 rm -f conftest.er1
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; } &&
12508 { ac_try='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 :
12515 else
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12518
12519 continue
12520 fi
12521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12528 $ac_declaration
12529 int
12530 main ()
12531 {
12532 exit (42);
12533 ;
12534 return 0;
12535 }
12536 _ACEOF
12537 rm -f conftest.$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12540 ac_status=$?
12541 grep -v '^ *+' conftest.er1 >conftest.err
12542 rm -f conftest.er1
12543 cat conftest.err >&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest.$ac_objext'
12553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12554 (eval $ac_try) 2>&5
12555 ac_status=$?
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); }; }; then
12558 break
12559 else
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.$ac_ext >&5
12562
12563 fi
12564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12565 done
12566 rm -f conftest*
12567 if test -n "$ac_declaration"; then
12568 echo '#ifdef __cplusplus' >>confdefs.h
12569 echo $ac_declaration >>confdefs.h
12570 echo '#endif' >>confdefs.h
12571 fi
12572
12573 else
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12576
12577 fi
12578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12579 ac_ext=c
12580 ac_cpp='$CPP $CPPFLAGS'
12581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12584
12585
12586
12587 ac_ext=c
12588 ac_cpp='$CPP $CPPFLAGS'
12589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12592
12593 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12594 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12595 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 else
12598 cat >conftest.$ac_ext <<_ACEOF
12599 /* confdefs.h. */
12600 _ACEOF
12601 cat confdefs.h >>conftest.$ac_ext
12602 cat >>conftest.$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604
12605 int
12606 main ()
12607 {
12608
12609 #ifndef __INTEL_COMPILER
12610 choke me
12611 #endif
12612
12613 ;
12614 return 0;
12615 }
12616 _ACEOF
12617 rm -f conftest.$ac_objext
12618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12619 (eval $ac_compile) 2>conftest.er1
12620 ac_status=$?
12621 grep -v '^ *+' conftest.er1 >conftest.err
12622 rm -f conftest.er1
12623 cat conftest.err >&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 (exit $ac_status); } &&
12626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12628 (eval $ac_try) 2>&5
12629 ac_status=$?
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; } &&
12632 { ac_try='test -s conftest.$ac_objext'
12633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12634 (eval $ac_try) 2>&5
12635 ac_status=$?
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); }; }; then
12638 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12639 else
12640 echo "$as_me: failed program was:" >&5
12641 sed 's/^/| /' conftest.$ac_ext >&5
12642
12643 bakefile_cv_c_compiler___INTEL_COMPILER=no
12644
12645 fi
12646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12647
12648
12649 fi
12650 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12651 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12652 ac_ext=c
12653 ac_cpp='$CPP $CPPFLAGS'
12654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12657
12658 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12659 :; INTELCC=yes
12660 else
12661 :;
12662 fi
12663
12664
12665 if test "x$GCC" != "xyes"; then
12666 if test "xCC" = "xC"; then
12667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12669 if test "${bakefile_cv_c_exto+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 else
12672 cat >conftest.$ac_ext <<_ACEOF
12673 /* confdefs.h. */
12674 _ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678
12679 int
12680 main ()
12681 {
12682
12683 ;
12684 return 0;
12685 }
12686 _ACEOF
12687 rm -f conftest.$ac_objext conftest.$ac_ext.o
12688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12689 (eval $ac_compile) 2>&5
12690 ac_status=$?
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; then
12693 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12694 case $ac_file in
12695 conftest.$ac_ext.o)
12696 bakefile_cv_c_exto="-ext o"
12697 ;;
12698 *)
12699 ;;
12700 esac
12701 done
12702 else
12703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12704 See \`config.log' for more details." >&5
12705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12706 See \`config.log' for more details." >&2;}
12707 { (exit 1); exit 1; }; }
12708
12709 fi
12710
12711 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12712
12713 fi
12714 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12715 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12716 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12717 if test "c" = "c"; then
12718 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12719 fi
12720 if test "c" = "cxx"; then
12721 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12722 fi
12723 fi
12724
12725 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12726 unset ac_cv_prog_cc_g
12727 ac_test_CFLAGS=${CFLAGS+set}
12728 ac_save_CFLAGS=$CFLAGS
12729 CFLAGS="-g"
12730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12732 if test "${ac_cv_prog_cc_g+set}" = set; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12734 else
12735 cat >conftest.$ac_ext <<_ACEOF
12736 /* confdefs.h. */
12737 _ACEOF
12738 cat confdefs.h >>conftest.$ac_ext
12739 cat >>conftest.$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12741
12742 int
12743 main ()
12744 {
12745
12746 ;
12747 return 0;
12748 }
12749 _ACEOF
12750 rm -f conftest.$ac_objext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12752 (eval $ac_compile) 2>conftest.er1
12753 ac_status=$?
12754 grep -v '^ *+' conftest.er1 >conftest.err
12755 rm -f conftest.er1
12756 cat conftest.err >&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); } &&
12759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12762 ac_status=$?
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; } &&
12765 { ac_try='test -s conftest.$ac_objext'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12768 ac_status=$?
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; }; then
12771 ac_cv_prog_cc_g=yes
12772 else
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.$ac_ext >&5
12775
12776 ac_cv_prog_cc_g=no
12777 fi
12778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12779 fi
12780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12782 if test "$ac_test_CFLAGS" = set; then
12783 CFLAGS=$ac_save_CFLAGS
12784 elif test $ac_cv_prog_cc_g = yes; then
12785 if test "$GCC" = yes; then
12786 CFLAGS="-g -O2"
12787 else
12788 CFLAGS="-g"
12789 fi
12790 else
12791 if test "$GCC" = yes; then
12792 CFLAGS="-O2"
12793 else
12794 CFLAGS=
12795 fi
12796 fi
12797 fi
12798 fi
12799
12800 case `uname -s` in
12801 AIX*)
12802 ac_ext=c
12803 ac_cpp='$CPP $CPPFLAGS'
12804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12807
12808 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12809 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12810 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 else
12813 cat >conftest.$ac_ext <<_ACEOF
12814 /* confdefs.h. */
12815 _ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819
12820 int
12821 main ()
12822 {
12823 #ifndef __xlC__
12824 choke me
12825 #endif
12826
12827 ;
12828 return 0;
12829 }
12830 _ACEOF
12831 rm -f conftest.$ac_objext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12833 (eval $ac_compile) 2>conftest.er1
12834 ac_status=$?
12835 grep -v '^ *+' conftest.er1 >conftest.err
12836 rm -f conftest.er1
12837 cat conftest.err >&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12843 ac_status=$?
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try='test -s conftest.$ac_objext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 bakefile_compiler_xlc=yes
12853 else
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12856
12857 bakefile_compiler_xlc=no
12858 fi
12859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12860 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12861
12862 fi
12863 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12864 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12865
12866 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12867 ac_ext=c
12868 ac_cpp='$CPP $CPPFLAGS'
12869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12872
12873
12874 ;;
12875
12876 Darwin)
12877 ac_ext=c
12878 ac_cpp='$CPP $CPPFLAGS'
12879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12882
12883 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12884 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12885 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12888 cat >conftest.$ac_ext <<_ACEOF
12889 /* confdefs.h. */
12890 _ACEOF
12891 cat confdefs.h >>conftest.$ac_ext
12892 cat >>conftest.$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12894
12895 int
12896 main ()
12897 {
12898 #ifndef __MWERKS__
12899 choke me
12900 #endif
12901
12902 ;
12903 return 0;
12904 }
12905 _ACEOF
12906 rm -f conftest.$ac_objext
12907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12908 (eval $ac_compile) 2>conftest.er1
12909 ac_status=$?
12910 grep -v '^ *+' conftest.er1 >conftest.err
12911 rm -f conftest.er1
12912 cat conftest.err >&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12918 ac_status=$?
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; } &&
12921 { ac_try='test -s conftest.$ac_objext'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12924 ac_status=$?
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; }; then
12927 bakefile_compiler_mwerks=yes
12928 else
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.$ac_ext >&5
12931
12932 bakefile_compiler_mwerks=no
12933 fi
12934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12935 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12936
12937 fi
12938 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12939 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12940
12941 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12942 ac_ext=c
12943 ac_cpp='$CPP $CPPFLAGS'
12944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12947
12948
12949 ac_ext=c
12950 ac_cpp='$CPP $CPPFLAGS'
12951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12954
12955 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12956 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12957 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12958 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 else
12960 cat >conftest.$ac_ext <<_ACEOF
12961 /* confdefs.h. */
12962 _ACEOF
12963 cat confdefs.h >>conftest.$ac_ext
12964 cat >>conftest.$ac_ext <<_ACEOF
12965 /* end confdefs.h. */
12966
12967 int
12968 main ()
12969 {
12970 #ifndef __xlC__
12971 choke me
12972 #endif
12973
12974 ;
12975 return 0;
12976 }
12977 _ACEOF
12978 rm -f conftest.$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try='test -s conftest.$ac_objext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 bakefile_compiler_xlc=yes
13000 else
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13003
13004 bakefile_compiler_xlc=no
13005 fi
13006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13007 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13008
13009 fi
13010 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13011 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13012
13013 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13014 ac_ext=c
13015 ac_cpp='$CPP $CPPFLAGS'
13016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13019
13020
13021 ;;
13022
13023 IRIX*)
13024
13025
13026 ac_ext=c
13027 ac_cpp='$CPP $CPPFLAGS'
13028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13031
13032 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13033 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13034 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13035 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 else
13037 cat >conftest.$ac_ext <<_ACEOF
13038 /* confdefs.h. */
13039 _ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043
13044 int
13045 main ()
13046 {
13047
13048 #ifndef _SGI_COMPILER_VERSION
13049 choke me
13050 #endif
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 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13083
13084 fi
13085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13086
13087
13088 fi
13089 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13090 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13091 ac_ext=c
13092 ac_cpp='$CPP $CPPFLAGS'
13093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13096
13097 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13098 :; SGICC=yes
13099 else
13100 :;
13101 fi
13102
13103
13104 ;;
13105
13106 HP-UX*)
13107
13108
13109 ac_ext=c
13110 ac_cpp='$CPP $CPPFLAGS'
13111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13114
13115 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13116 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13117 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 else
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126
13127 int
13128 main ()
13129 {
13130
13131 #ifndef __HP_cc
13132 choke me
13133 #endif
13134
13135 ;
13136 return 0;
13137 }
13138 _ACEOF
13139 rm -f conftest.$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13142 ac_status=$?
13143 grep -v '^ *+' conftest.er1 >conftest.err
13144 rm -f conftest.er1
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13150 (eval $ac_try) 2>&5
13151 ac_status=$?
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; } &&
13154 { ac_try='test -s conftest.$ac_objext'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 bakefile_cv_c_compiler___HP_cc=yes
13161 else
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13164
13165 bakefile_cv_c_compiler___HP_cc=no
13166
13167 fi
13168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13169
13170
13171 fi
13172 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13173 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13174 ac_ext=c
13175 ac_cpp='$CPP $CPPFLAGS'
13176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13179
13180 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13181 :; HPCC=yes
13182 else
13183 :;
13184 fi
13185
13186
13187 ;;
13188
13189 OSF1)
13190
13191
13192 ac_ext=c
13193 ac_cpp='$CPP $CPPFLAGS'
13194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13197
13198 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13199 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13200 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 else
13203 cat >conftest.$ac_ext <<_ACEOF
13204 /* confdefs.h. */
13205 _ACEOF
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209
13210 int
13211 main ()
13212 {
13213
13214 #ifndef __DECC
13215 choke me
13216 #endif
13217
13218 ;
13219 return 0;
13220 }
13221 _ACEOF
13222 rm -f conftest.$ac_objext
13223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13224 (eval $ac_compile) 2>conftest.er1
13225 ac_status=$?
13226 grep -v '^ *+' conftest.er1 >conftest.err
13227 rm -f conftest.er1
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } &&
13231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 bakefile_cv_c_compiler___DECC=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13247
13248 bakefile_cv_c_compiler___DECC=no
13249
13250 fi
13251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13252
13253
13254 fi
13255 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13256 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13257 ac_ext=c
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13262
13263 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13264 :; COMPAQCC=yes
13265 else
13266 :;
13267 fi
13268
13269
13270 ;;
13271
13272 SunOS)
13273
13274
13275 ac_ext=c
13276 ac_cpp='$CPP $CPPFLAGS'
13277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13280
13281 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13282 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13283 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 else
13286 cat >conftest.$ac_ext <<_ACEOF
13287 /* confdefs.h. */
13288 _ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292
13293 int
13294 main ()
13295 {
13296
13297 #ifndef __SUNPRO_C
13298 choke me
13299 #endif
13300
13301 ;
13302 return 0;
13303 }
13304 _ACEOF
13305 rm -f conftest.$ac_objext
13306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13307 (eval $ac_compile) 2>conftest.er1
13308 ac_status=$?
13309 grep -v '^ *+' conftest.er1 >conftest.err
13310 rm -f conftest.er1
13311 cat conftest.err >&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13317 ac_status=$?
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; } &&
13320 { ac_try='test -s conftest.$ac_objext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13323 ac_status=$?
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 bakefile_cv_c_compiler___SUNPRO_C=yes
13327 else
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.$ac_ext >&5
13330
13331 bakefile_cv_c_compiler___SUNPRO_C=no
13332
13333 fi
13334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13335
13336
13337 fi
13338 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13339 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13340 ac_ext=c
13341 ac_cpp='$CPP $CPPFLAGS'
13342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13345
13346 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13347 :; SUNCC=yes
13348 else
13349 :;
13350 fi
13351
13352
13353 ;;
13354 esac
13355 fi
13356
13357
13358
13359 ac_ext=c
13360 ac_cpp='$CPP $CPPFLAGS'
13361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13364 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13365 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13366 # On Suns, sometimes $CPP names a directory.
13367 if test -n "$CPP" && test -d "$CPP"; then
13368 CPP=
13369 fi
13370 if test -z "$CPP"; then
13371 if test "${ac_cv_prog_CPP+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 else
13374 # Double quotes because CPP needs to be expanded
13375 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13376 do
13377 ac_preproc_ok=false
13378 for ac_c_preproc_warn_flag in '' yes
13379 do
13380 # Use a header file that comes with gcc, so configuring glibc
13381 # with a fresh cross-compiler works.
13382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13383 # <limits.h> exists even on freestanding compilers.
13384 # On the NeXT, cc -E runs the code through the compiler's parser,
13385 # not just through cpp. "Syntax error" is here to catch this case.
13386 cat >conftest.$ac_ext <<_ACEOF
13387 /* confdefs.h. */
13388 _ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 #ifdef __STDC__
13393 # include <limits.h>
13394 #else
13395 # include <assert.h>
13396 #endif
13397 Syntax error
13398 _ACEOF
13399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13401 ac_status=$?
13402 grep -v '^ *+' conftest.er1 >conftest.err
13403 rm -f conftest.er1
13404 cat conftest.err >&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } >/dev/null; then
13407 if test -s conftest.err; then
13408 ac_cpp_err=$ac_c_preproc_warn_flag
13409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13410 else
13411 ac_cpp_err=
13412 fi
13413 else
13414 ac_cpp_err=yes
13415 fi
13416 if test -z "$ac_cpp_err"; then
13417 :
13418 else
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.$ac_ext >&5
13421
13422 # Broken: fails on valid input.
13423 continue
13424 fi
13425 rm -f conftest.err conftest.$ac_ext
13426
13427 # OK, works on sane cases. Now check whether non-existent headers
13428 # can be detected and how.
13429 cat >conftest.$ac_ext <<_ACEOF
13430 /* confdefs.h. */
13431 _ACEOF
13432 cat confdefs.h >>conftest.$ac_ext
13433 cat >>conftest.$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <ac_nonexistent.h>
13436 _ACEOF
13437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13439 ac_status=$?
13440 grep -v '^ *+' conftest.er1 >conftest.err
13441 rm -f conftest.er1
13442 cat conftest.err >&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } >/dev/null; then
13445 if test -s conftest.err; then
13446 ac_cpp_err=$ac_c_preproc_warn_flag
13447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13448 else
13449 ac_cpp_err=
13450 fi
13451 else
13452 ac_cpp_err=yes
13453 fi
13454 if test -z "$ac_cpp_err"; then
13455 # Broken: success on invalid input.
13456 continue
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13460
13461 # Passes both tests.
13462 ac_preproc_ok=:
13463 break
13464 fi
13465 rm -f conftest.err conftest.$ac_ext
13466
13467 done
13468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13469 rm -f conftest.err conftest.$ac_ext
13470 if $ac_preproc_ok; then
13471 break
13472 fi
13473
13474 done
13475 ac_cv_prog_CPP=$CPP
13476
13477 fi
13478 CPP=$ac_cv_prog_CPP
13479 else
13480 ac_cv_prog_CPP=$CPP
13481 fi
13482 echo "$as_me:$LINENO: result: $CPP" >&5
13483 echo "${ECHO_T}$CPP" >&6
13484 ac_preproc_ok=false
13485 for ac_c_preproc_warn_flag in '' yes
13486 do
13487 # Use a header file that comes with gcc, so configuring glibc
13488 # with a fresh cross-compiler works.
13489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13490 # <limits.h> exists even on freestanding compilers.
13491 # On the NeXT, cc -E runs the code through the compiler's parser,
13492 # not just through cpp. "Syntax error" is here to catch this case.
13493 cat >conftest.$ac_ext <<_ACEOF
13494 /* confdefs.h. */
13495 _ACEOF
13496 cat confdefs.h >>conftest.$ac_ext
13497 cat >>conftest.$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13499 #ifdef __STDC__
13500 # include <limits.h>
13501 #else
13502 # include <assert.h>
13503 #endif
13504 Syntax error
13505 _ACEOF
13506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13508 ac_status=$?
13509 grep -v '^ *+' conftest.er1 >conftest.err
13510 rm -f conftest.er1
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } >/dev/null; then
13514 if test -s conftest.err; then
13515 ac_cpp_err=$ac_c_preproc_warn_flag
13516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13517 else
13518 ac_cpp_err=
13519 fi
13520 else
13521 ac_cpp_err=yes
13522 fi
13523 if test -z "$ac_cpp_err"; then
13524 :
13525 else
13526 echo "$as_me: failed program was:" >&5
13527 sed 's/^/| /' conftest.$ac_ext >&5
13528
13529 # Broken: fails on valid input.
13530 continue
13531 fi
13532 rm -f conftest.err conftest.$ac_ext
13533
13534 # OK, works on sane cases. Now check whether non-existent headers
13535 # can be detected and how.
13536 cat >conftest.$ac_ext <<_ACEOF
13537 /* confdefs.h. */
13538 _ACEOF
13539 cat confdefs.h >>conftest.$ac_ext
13540 cat >>conftest.$ac_ext <<_ACEOF
13541 /* end confdefs.h. */
13542 #include <ac_nonexistent.h>
13543 _ACEOF
13544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } >/dev/null; then
13552 if test -s conftest.err; then
13553 ac_cpp_err=$ac_c_preproc_warn_flag
13554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13555 else
13556 ac_cpp_err=
13557 fi
13558 else
13559 ac_cpp_err=yes
13560 fi
13561 if test -z "$ac_cpp_err"; then
13562 # Broken: success on invalid input.
13563 continue
13564 else
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13567
13568 # Passes both tests.
13569 ac_preproc_ok=:
13570 break
13571 fi
13572 rm -f conftest.err conftest.$ac_ext
13573
13574 done
13575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13576 rm -f conftest.err conftest.$ac_ext
13577 if $ac_preproc_ok; then
13578 :
13579 else
13580 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13581 See \`config.log' for more details." >&5
13582 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13583 See \`config.log' for more details." >&2;}
13584 { (exit 1); exit 1; }; }
13585 fi
13586
13587 ac_ext=c
13588 ac_cpp='$CPP $CPPFLAGS'
13589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13592
13593
13594 echo "$as_me:$LINENO: checking for egrep" >&5
13595 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13596 if test "${ac_cv_prog_egrep+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 else
13599 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13600 then ac_cv_prog_egrep='grep -E'
13601 else ac_cv_prog_egrep='egrep'
13602 fi
13603 fi
13604 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13605 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13606 EGREP=$ac_cv_prog_egrep
13607
13608
13609 if test $ac_cv_c_compiler_gnu = yes; then
13610 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13611 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13612 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13613 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 else
13615 ac_pattern="Autoconf.*'x'"
13616 cat >conftest.$ac_ext <<_ACEOF
13617 /* confdefs.h. */
13618 _ACEOF
13619 cat confdefs.h >>conftest.$ac_ext
13620 cat >>conftest.$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13622 #include <sgtty.h>
13623 Autoconf TIOCGETP
13624 _ACEOF
13625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13626 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13627 ac_cv_prog_gcc_traditional=yes
13628 else
13629 ac_cv_prog_gcc_traditional=no
13630 fi
13631 rm -f conftest*
13632
13633
13634 if test $ac_cv_prog_gcc_traditional = no; then
13635 cat >conftest.$ac_ext <<_ACEOF
13636 /* confdefs.h. */
13637 _ACEOF
13638 cat confdefs.h >>conftest.$ac_ext
13639 cat >>conftest.$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <termio.h>
13642 Autoconf TCGETA
13643 _ACEOF
13644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13645 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13646 ac_cv_prog_gcc_traditional=yes
13647 fi
13648 rm -f conftest*
13649
13650 fi
13651 fi
13652 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13653 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13654 if test $ac_cv_prog_gcc_traditional = yes; then
13655 CC="$CC -traditional"
13656 fi
13657 fi
13658
13659
13660 ac_ext=cc
13661 ac_cpp='$CXXCPP $CPPFLAGS'
13662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13665
13666
13667 CXXFLAGS=${CXXFLAGS:=}
13668
13669
13670
13671 ac_ext=cc
13672 ac_cpp='$CXXCPP $CPPFLAGS'
13673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13676 if test -n "$ac_tool_prefix"; then
13677 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13678 do
13679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13681 echo "$as_me:$LINENO: checking for $ac_word" >&5
13682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13683 if test "${ac_cv_prog_CXX+set}" = set; then
13684 echo $ECHO_N "(cached) $ECHO_C" >&6
13685 else
13686 if test -n "$CXX"; then
13687 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13688 else
13689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13690 for as_dir in $PATH
13691 do
13692 IFS=$as_save_IFS
13693 test -z "$as_dir" && as_dir=.
13694 for ac_exec_ext in '' $ac_executable_extensions; do
13695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13696 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13698 break 2
13699 fi
13700 done
13701 done
13702
13703 fi
13704 fi
13705 CXX=$ac_cv_prog_CXX
13706 if test -n "$CXX"; then
13707 echo "$as_me:$LINENO: result: $CXX" >&5
13708 echo "${ECHO_T}$CXX" >&6
13709 else
13710 echo "$as_me:$LINENO: result: no" >&5
13711 echo "${ECHO_T}no" >&6
13712 fi
13713
13714 test -n "$CXX" && break
13715 done
13716 fi
13717 if test -z "$CXX"; then
13718 ac_ct_CXX=$CXX
13719 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13720 do
13721 # Extract the first word of "$ac_prog", so it can be a program name with args.
13722 set dummy $ac_prog; ac_word=$2
13723 echo "$as_me:$LINENO: checking for $ac_word" >&5
13724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13725 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728 if test -n "$ac_ct_CXX"; then
13729 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13730 else
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13733 do
13734 IFS=$as_save_IFS
13735 test -z "$as_dir" && as_dir=.
13736 for ac_exec_ext in '' $ac_executable_extensions; do
13737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13738 ac_cv_prog_ac_ct_CXX="$ac_prog"
13739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13740 break 2
13741 fi
13742 done
13743 done
13744
13745 fi
13746 fi
13747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13748 if test -n "$ac_ct_CXX"; then
13749 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13750 echo "${ECHO_T}$ac_ct_CXX" >&6
13751 else
13752 echo "$as_me:$LINENO: result: no" >&5
13753 echo "${ECHO_T}no" >&6
13754 fi
13755
13756 test -n "$ac_ct_CXX" && break
13757 done
13758 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13759
13760 CXX=$ac_ct_CXX
13761 fi
13762
13763
13764 # Provide some information about the compiler.
13765 echo "$as_me:$LINENO:" \
13766 "checking for C++ compiler version" >&5
13767 ac_compiler=`set X $ac_compile; echo $2`
13768 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13769 (eval $ac_compiler --version </dev/null >&5) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }
13773 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13774 (eval $ac_compiler -v </dev/null >&5) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }
13778 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13779 (eval $ac_compiler -V </dev/null >&5) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }
13783
13784 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13785 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13786 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789 cat >conftest.$ac_ext <<_ACEOF
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795
13796 int
13797 main ()
13798 {
13799 #ifndef __GNUC__
13800 choke me
13801 #endif
13802
13803 ;
13804 return 0;
13805 }
13806 _ACEOF
13807 rm -f conftest.$ac_objext
13808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13809 (eval $ac_compile) 2>conftest.er1
13810 ac_status=$?
13811 grep -v '^ *+' conftest.er1 >conftest.err
13812 rm -f conftest.er1
13813 cat conftest.err >&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); } &&
13816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_compiler_gnu=yes
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 ac_compiler_gnu=no
13834 fi
13835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13836 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13837
13838 fi
13839 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13840 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13841 GXX=`test $ac_compiler_gnu = yes && echo yes`
13842 ac_test_CXXFLAGS=${CXXFLAGS+set}
13843 ac_save_CXXFLAGS=$CXXFLAGS
13844 CXXFLAGS="-g"
13845 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13846 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13847 if test "${ac_cv_prog_cxx_g+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 else
13850 cat >conftest.$ac_ext <<_ACEOF
13851 /* confdefs.h. */
13852 _ACEOF
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13856
13857 int
13858 main ()
13859 {
13860
13861 ;
13862 return 0;
13863 }
13864 _ACEOF
13865 rm -f conftest.$ac_objext
13866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867 (eval $ac_compile) 2>conftest.er1
13868 ac_status=$?
13869 grep -v '^ *+' conftest.er1 >conftest.err
13870 rm -f conftest.er1
13871 cat conftest.err >&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } &&
13874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13877 ac_status=$?
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; } &&
13880 { ac_try='test -s conftest.$ac_objext'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13883 ac_status=$?
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; }; then
13886 ac_cv_prog_cxx_g=yes
13887 else
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13890
13891 ac_cv_prog_cxx_g=no
13892 fi
13893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13894 fi
13895 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13896 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13897 if test "$ac_test_CXXFLAGS" = set; then
13898 CXXFLAGS=$ac_save_CXXFLAGS
13899 elif test $ac_cv_prog_cxx_g = yes; then
13900 if test "$GXX" = yes; then
13901 CXXFLAGS="-g -O2"
13902 else
13903 CXXFLAGS="-g"
13904 fi
13905 else
13906 if test "$GXX" = yes; then
13907 CXXFLAGS="-O2"
13908 else
13909 CXXFLAGS=
13910 fi
13911 fi
13912 for ac_declaration in \
13913 '' \
13914 'extern "C" void std::exit (int) throw (); using std::exit;' \
13915 'extern "C" void std::exit (int); using std::exit;' \
13916 'extern "C" void exit (int) throw ();' \
13917 'extern "C" void exit (int);' \
13918 'void exit (int);'
13919 do
13920 cat >conftest.$ac_ext <<_ACEOF
13921 /* confdefs.h. */
13922 _ACEOF
13923 cat confdefs.h >>conftest.$ac_ext
13924 cat >>conftest.$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13926 $ac_declaration
13927 #include <stdlib.h>
13928 int
13929 main ()
13930 {
13931 exit (42);
13932 ;
13933 return 0;
13934 }
13935 _ACEOF
13936 rm -f conftest.$ac_objext
13937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13938 (eval $ac_compile) 2>conftest.er1
13939 ac_status=$?
13940 grep -v '^ *+' conftest.er1 >conftest.err
13941 rm -f conftest.er1
13942 cat conftest.err >&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } &&
13945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; } &&
13951 { ac_try='test -s conftest.$ac_objext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 :
13958 else
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13961
13962 continue
13963 fi
13964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13965 cat >conftest.$ac_ext <<_ACEOF
13966 /* confdefs.h. */
13967 _ACEOF
13968 cat confdefs.h >>conftest.$ac_ext
13969 cat >>conftest.$ac_ext <<_ACEOF
13970 /* end confdefs.h. */
13971 $ac_declaration
13972 int
13973 main ()
13974 {
13975 exit (42);
13976 ;
13977 return 0;
13978 }
13979 _ACEOF
13980 rm -f conftest.$ac_objext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13982 (eval $ac_compile) 2>conftest.er1
13983 ac_status=$?
13984 grep -v '^ *+' conftest.er1 >conftest.err
13985 rm -f conftest.er1
13986 cat conftest.err >&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13992 ac_status=$?
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try='test -s conftest.$ac_objext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13998 ac_status=$?
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 break
14002 else
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.$ac_ext >&5
14005
14006 fi
14007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14008 done
14009 rm -f conftest*
14010 if test -n "$ac_declaration"; then
14011 echo '#ifdef __cplusplus' >>confdefs.h
14012 echo $ac_declaration >>confdefs.h
14013 echo '#endif' >>confdefs.h
14014 fi
14015
14016 ac_ext=cc
14017 ac_cpp='$CXXCPP $CPPFLAGS'
14018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14021
14022
14023
14024 ac_ext=cc
14025 ac_cpp='$CXXCPP $CPPFLAGS'
14026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14029
14030 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14031 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14032 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 cat >conftest.$ac_ext <<_ACEOF
14036 /* confdefs.h. */
14037 _ACEOF
14038 cat confdefs.h >>conftest.$ac_ext
14039 cat >>conftest.$ac_ext <<_ACEOF
14040 /* end confdefs.h. */
14041
14042 int
14043 main ()
14044 {
14045
14046 #ifndef __INTEL_COMPILER
14047 choke me
14048 #endif
14049
14050 ;
14051 return 0;
14052 }
14053 _ACEOF
14054 rm -f conftest.$ac_objext
14055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14056 (eval $ac_compile) 2>conftest.er1
14057 ac_status=$?
14058 grep -v '^ *+' conftest.er1 >conftest.err
14059 rm -f conftest.er1
14060 cat conftest.err >&5
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); } &&
14063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14065 (eval $ac_try) 2>&5
14066 ac_status=$?
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); }; } &&
14069 { ac_try='test -s conftest.$ac_objext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14075 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14076 else
14077 echo "$as_me: failed program was:" >&5
14078 sed 's/^/| /' conftest.$ac_ext >&5
14079
14080 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14081
14082 fi
14083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14084
14085
14086 fi
14087 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14088 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14089 ac_ext=cc
14090 ac_cpp='$CXXCPP $CPPFLAGS'
14091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14094
14095 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14096 :; INTELCXX=yes
14097 else
14098 :;
14099 fi
14100
14101
14102 if test "x$GCXX" != "xyes"; then
14103 if test "xCXX" = "xC"; then
14104 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14105 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14106 if test "${bakefile_cv_cxx_exto+set}" = set; then
14107 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 else
14109 cat >conftest.$ac_ext <<_ACEOF
14110 /* confdefs.h. */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h. */
14115
14116 int
14117 main ()
14118 {
14119
14120 ;
14121 return 0;
14122 }
14123 _ACEOF
14124 rm -f conftest.$ac_objext conftest.$ac_ext.o
14125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14126 (eval $ac_compile) 2>&5
14127 ac_status=$?
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; then
14130 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14131 case $ac_file in
14132 conftest.$ac_ext.o)
14133 bakefile_cv_cxx_exto="-ext o"
14134 ;;
14135 *)
14136 ;;
14137 esac
14138 done
14139 else
14140 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14141 See \`config.log' for more details." >&5
14142 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14143 See \`config.log' for more details." >&2;}
14144 { (exit 1); exit 1; }; }
14145
14146 fi
14147
14148 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14149
14150 fi
14151 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14152 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14153 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14154 if test "cxx" = "c"; then
14155 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14156 fi
14157 if test "cxx" = "cxx"; then
14158 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14159 fi
14160 fi
14161
14162 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14163 unset ac_cv_prog_cc_g
14164 ac_test_CFLAGS=${CFLAGS+set}
14165 ac_save_CFLAGS=$CFLAGS
14166 CFLAGS="-g"
14167 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14168 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14169 if test "${ac_cv_prog_cc_g+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 else
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 rm -f conftest.$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>conftest.er1
14190 ac_status=$?
14191 grep -v '^ *+' conftest.er1 >conftest.err
14192 rm -f conftest.er1
14193 cat conftest.err >&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_prog_cc_g=yes
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14212
14213 ac_cv_prog_cc_g=no
14214 fi
14215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 fi
14217 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14218 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14219 if test "$ac_test_CFLAGS" = set; then
14220 CFLAGS=$ac_save_CFLAGS
14221 elif test $ac_cv_prog_cc_g = yes; then
14222 if test "$GCC" = yes; then
14223 CFLAGS="-g -O2"
14224 else
14225 CFLAGS="-g"
14226 fi
14227 else
14228 if test "$GCC" = yes; then
14229 CFLAGS="-O2"
14230 else
14231 CFLAGS=
14232 fi
14233 fi
14234 fi
14235 fi
14236
14237 case `uname -s` in
14238 AIX*)
14239 ac_ext=cc
14240 ac_cpp='$CXXCPP $CPPFLAGS'
14241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14244
14245 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14246 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14247 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14249 else
14250 cat >conftest.$ac_ext <<_ACEOF
14251 /* confdefs.h. */
14252 _ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256
14257 int
14258 main ()
14259 {
14260 #ifndef __xlC__
14261 choke me
14262 #endif
14263
14264 ;
14265 return 0;
14266 }
14267 _ACEOF
14268 rm -f conftest.$ac_objext
14269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14270 (eval $ac_compile) 2>conftest.er1
14271 ac_status=$?
14272 grep -v '^ *+' conftest.er1 >conftest.err
14273 rm -f conftest.er1
14274 cat conftest.err >&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } &&
14277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; } &&
14283 { ac_try='test -s conftest.$ac_objext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14286 ac_status=$?
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14289 bakefile_compiler_xlc=yes
14290 else
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14293
14294 bakefile_compiler_xlc=no
14295 fi
14296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14297 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14298
14299 fi
14300 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14301 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14302
14303 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14304 ac_ext=cc
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14309
14310
14311 ;;
14312
14313 Darwin)
14314 ac_ext=cc
14315 ac_cpp='$CXXCPP $CPPFLAGS'
14316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14319
14320 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14321 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14322 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14324 else
14325 cat >conftest.$ac_ext <<_ACEOF
14326 /* confdefs.h. */
14327 _ACEOF
14328 cat confdefs.h >>conftest.$ac_ext
14329 cat >>conftest.$ac_ext <<_ACEOF
14330 /* end confdefs.h. */
14331
14332 int
14333 main ()
14334 {
14335 #ifndef __MWERKS__
14336 choke me
14337 #endif
14338
14339 ;
14340 return 0;
14341 }
14342 _ACEOF
14343 rm -f conftest.$ac_objext
14344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14345 (eval $ac_compile) 2>conftest.er1
14346 ac_status=$?
14347 grep -v '^ *+' conftest.er1 >conftest.err
14348 rm -f conftest.er1
14349 cat conftest.err >&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } &&
14352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try='test -s conftest.$ac_objext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 bakefile_compiler_mwerks=yes
14365 else
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14368
14369 bakefile_compiler_mwerks=no
14370 fi
14371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14372 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14373
14374 fi
14375 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14376 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14377
14378 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14379 ac_ext=cc
14380 ac_cpp='$CXXCPP $CPPFLAGS'
14381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14384
14385
14386 ac_ext=cc
14387 ac_cpp='$CXXCPP $CPPFLAGS'
14388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14391
14392 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14393 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14394 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397 cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h. */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403
14404 int
14405 main ()
14406 {
14407 #ifndef __xlC__
14408 choke me
14409 #endif
14410
14411 ;
14412 return 0;
14413 }
14414 _ACEOF
14415 rm -f conftest.$ac_objext
14416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14417 (eval $ac_compile) 2>conftest.er1
14418 ac_status=$?
14419 grep -v '^ *+' conftest.er1 >conftest.err
14420 rm -f conftest.er1
14421 cat conftest.err >&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); } &&
14424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; } &&
14430 { ac_try='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 bakefile_compiler_xlc=yes
14437 else
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14440
14441 bakefile_compiler_xlc=no
14442 fi
14443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14444 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14445
14446 fi
14447 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14448 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14449
14450 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14451 ac_ext=cc
14452 ac_cpp='$CXXCPP $CPPFLAGS'
14453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14456
14457
14458 ;;
14459
14460 IRIX*)
14461
14462
14463 ac_ext=cc
14464 ac_cpp='$CXXCPP $CPPFLAGS'
14465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14468
14469 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14470 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14471 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 else
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480
14481 int
14482 main ()
14483 {
14484
14485 #ifndef _SGI_COMPILER_VERSION
14486 choke me
14487 #endif
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 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14515 else
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14518
14519 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14520
14521 fi
14522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14523
14524
14525 fi
14526 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14527 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14528 ac_ext=cc
14529 ac_cpp='$CXXCPP $CPPFLAGS'
14530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14533
14534 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14535 :; SGICXX=yes
14536 else
14537 :;
14538 fi
14539
14540
14541 ;;
14542
14543 HP-UX*)
14544
14545
14546 ac_ext=cc
14547 ac_cpp='$CXXCPP $CPPFLAGS'
14548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14551
14552 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14553 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14554 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 else
14557 cat >conftest.$ac_ext <<_ACEOF
14558 /* confdefs.h. */
14559 _ACEOF
14560 cat confdefs.h >>conftest.$ac_ext
14561 cat >>conftest.$ac_ext <<_ACEOF
14562 /* end confdefs.h. */
14563
14564 int
14565 main ()
14566 {
14567
14568 #ifndef __HP_aCC
14569 choke me
14570 #endif
14571
14572 ;
14573 return 0;
14574 }
14575 _ACEOF
14576 rm -f conftest.$ac_objext
14577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14578 (eval $ac_compile) 2>conftest.er1
14579 ac_status=$?
14580 grep -v '^ *+' conftest.er1 >conftest.err
14581 rm -f conftest.er1
14582 cat conftest.err >&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; } &&
14591 { ac_try='test -s conftest.$ac_objext'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; }; then
14597 bakefile_cv_cxx_compiler___HP_aCC=yes
14598 else
14599 echo "$as_me: failed program was:" >&5
14600 sed 's/^/| /' conftest.$ac_ext >&5
14601
14602 bakefile_cv_cxx_compiler___HP_aCC=no
14603
14604 fi
14605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14606
14607
14608 fi
14609 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14610 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14611 ac_ext=cc
14612 ac_cpp='$CXXCPP $CPPFLAGS'
14613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14616
14617 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14618 :; HPCXX=yes
14619 else
14620 :;
14621 fi
14622
14623
14624 ;;
14625
14626 OSF1)
14627
14628
14629 ac_ext=cc
14630 ac_cpp='$CXXCPP $CPPFLAGS'
14631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14634
14635 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14636 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14637 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14639 else
14640 cat >conftest.$ac_ext <<_ACEOF
14641 /* confdefs.h. */
14642 _ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h. */
14646
14647 int
14648 main ()
14649 {
14650
14651 #ifndef __DECCXX
14652 choke me
14653 #endif
14654
14655 ;
14656 return 0;
14657 }
14658 _ACEOF
14659 rm -f conftest.$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14662 ac_status=$?
14663 grep -v '^ *+' conftest.er1 >conftest.err
14664 rm -f conftest.er1
14665 cat conftest.err >&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 bakefile_cv_cxx_compiler___DECCXX=yes
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14684
14685 bakefile_cv_cxx_compiler___DECCXX=no
14686
14687 fi
14688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14689
14690
14691 fi
14692 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14693 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14694 ac_ext=cc
14695 ac_cpp='$CXXCPP $CPPFLAGS'
14696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14699
14700 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14701 :; COMPAQCXX=yes
14702 else
14703 :;
14704 fi
14705
14706
14707 ;;
14708
14709 SunOS)
14710
14711
14712 ac_ext=cc
14713 ac_cpp='$CXXCPP $CPPFLAGS'
14714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14717
14718 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14719 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14720 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14721 echo $ECHO_N "(cached) $ECHO_C" >&6
14722 else
14723 cat >conftest.$ac_ext <<_ACEOF
14724 /* confdefs.h. */
14725 _ACEOF
14726 cat confdefs.h >>conftest.$ac_ext
14727 cat >>conftest.$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14729
14730 int
14731 main ()
14732 {
14733
14734 #ifndef __SUNPRO_CC
14735 choke me
14736 #endif
14737
14738 ;
14739 return 0;
14740 }
14741 _ACEOF
14742 rm -f conftest.$ac_objext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14744 (eval $ac_compile) 2>conftest.er1
14745 ac_status=$?
14746 grep -v '^ *+' conftest.er1 >conftest.err
14747 rm -f conftest.er1
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } &&
14751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; } &&
14757 { ac_try='test -s conftest.$ac_objext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14764 else
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.$ac_ext >&5
14767
14768 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14769
14770 fi
14771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14772
14773
14774 fi
14775 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14776 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14777 ac_ext=cc
14778 ac_cpp='$CXXCPP $CPPFLAGS'
14779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14782
14783 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14784 :; SUNCXX=yes
14785 else
14786 :;
14787 fi
14788
14789
14790 ;;
14791 esac
14792 fi
14793
14794
14795
14796 if test -n "$ac_tool_prefix"; then
14797 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14798 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14799 echo "$as_me:$LINENO: checking for $ac_word" >&5
14800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14801 if test "${ac_cv_prog_RANLIB+set}" = set; then
14802 echo $ECHO_N "(cached) $ECHO_C" >&6
14803 else
14804 if test -n "$RANLIB"; then
14805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14806 else
14807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14808 for as_dir in $PATH
14809 do
14810 IFS=$as_save_IFS
14811 test -z "$as_dir" && as_dir=.
14812 for ac_exec_ext in '' $ac_executable_extensions; do
14813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14814 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14816 break 2
14817 fi
14818 done
14819 done
14820
14821 fi
14822 fi
14823 RANLIB=$ac_cv_prog_RANLIB
14824 if test -n "$RANLIB"; then
14825 echo "$as_me:$LINENO: result: $RANLIB" >&5
14826 echo "${ECHO_T}$RANLIB" >&6
14827 else
14828 echo "$as_me:$LINENO: result: no" >&5
14829 echo "${ECHO_T}no" >&6
14830 fi
14831
14832 fi
14833 if test -z "$ac_cv_prog_RANLIB"; then
14834 ac_ct_RANLIB=$RANLIB
14835 # Extract the first word of "ranlib", so it can be a program name with args.
14836 set dummy ranlib; ac_word=$2
14837 echo "$as_me:$LINENO: checking for $ac_word" >&5
14838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14839 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14841 else
14842 if test -n "$ac_ct_RANLIB"; then
14843 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14844 else
14845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14846 for as_dir in $PATH
14847 do
14848 IFS=$as_save_IFS
14849 test -z "$as_dir" && as_dir=.
14850 for ac_exec_ext in '' $ac_executable_extensions; do
14851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14852 ac_cv_prog_ac_ct_RANLIB="ranlib"
14853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14854 break 2
14855 fi
14856 done
14857 done
14858
14859 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14860 fi
14861 fi
14862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14863 if test -n "$ac_ct_RANLIB"; then
14864 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14865 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14866 else
14867 echo "$as_me:$LINENO: result: no" >&5
14868 echo "${ECHO_T}no" >&6
14869 fi
14870
14871 RANLIB=$ac_ct_RANLIB
14872 else
14873 RANLIB="$ac_cv_prog_RANLIB"
14874 fi
14875
14876
14877 if test -n "$ac_tool_prefix"; then
14878 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14879 set dummy ${ac_tool_prefix}ar; ac_word=$2
14880 echo "$as_me:$LINENO: checking for $ac_word" >&5
14881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14882 if test "${ac_cv_prog_AR+set}" = set; then
14883 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 else
14885 if test -n "$AR"; then
14886 ac_cv_prog_AR="$AR" # Let the user override the test.
14887 else
14888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14889 for as_dir in $PATH
14890 do
14891 IFS=$as_save_IFS
14892 test -z "$as_dir" && as_dir=.
14893 for ac_exec_ext in '' $ac_executable_extensions; do
14894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14895 ac_cv_prog_AR="${ac_tool_prefix}ar"
14896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14897 break 2
14898 fi
14899 done
14900 done
14901
14902 fi
14903 fi
14904 AR=$ac_cv_prog_AR
14905 if test -n "$AR"; then
14906 echo "$as_me:$LINENO: result: $AR" >&5
14907 echo "${ECHO_T}$AR" >&6
14908 else
14909 echo "$as_me:$LINENO: result: no" >&5
14910 echo "${ECHO_T}no" >&6
14911 fi
14912
14913 fi
14914 if test -z "$ac_cv_prog_AR"; then
14915 ac_ct_AR=$AR
14916 # Extract the first word of "ar", so it can be a program name with args.
14917 set dummy ar; ac_word=$2
14918 echo "$as_me:$LINENO: checking for $ac_word" >&5
14919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14920 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14921 echo $ECHO_N "(cached) $ECHO_C" >&6
14922 else
14923 if test -n "$ac_ct_AR"; then
14924 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14925 else
14926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14927 for as_dir in $PATH
14928 do
14929 IFS=$as_save_IFS
14930 test -z "$as_dir" && as_dir=.
14931 for ac_exec_ext in '' $ac_executable_extensions; do
14932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14933 ac_cv_prog_ac_ct_AR="ar"
14934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14935 break 2
14936 fi
14937 done
14938 done
14939
14940 fi
14941 fi
14942 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14943 if test -n "$ac_ct_AR"; then
14944 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14945 echo "${ECHO_T}$ac_ct_AR" >&6
14946 else
14947 echo "$as_me:$LINENO: result: no" >&5
14948 echo "${ECHO_T}no" >&6
14949 fi
14950
14951 AR=$ac_ct_AR
14952 else
14953 AR="$ac_cv_prog_AR"
14954 fi
14955
14956 if test "x$AR" = "x" ; then
14957 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14958 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14959 { (exit 1); exit 1; }; }
14960 fi
14961
14962 # Find a good install program. We prefer a C program (faster),
14963 # so one script is as good as another. But avoid the broken or
14964 # incompatible versions:
14965 # SysV /etc/install, /usr/sbin/install
14966 # SunOS /usr/etc/install
14967 # IRIX /sbin/install
14968 # AIX /bin/install
14969 # AmigaOS /C/install, which installs bootblocks on floppy discs
14970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14973 # OS/2's system install, which has a completely different semantic
14974 # ./install, which can be erroneously created by make from ./install.sh.
14975 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14977 if test -z "$INSTALL"; then
14978 if test "${ac_cv_path_install+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 else
14981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14982 for as_dir in $PATH
14983 do
14984 IFS=$as_save_IFS
14985 test -z "$as_dir" && as_dir=.
14986 # Account for people who put trailing slashes in PATH elements.
14987 case $as_dir/ in
14988 ./ | .// | /cC/* | \
14989 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14990 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14991 /usr/ucb/* ) ;;
14992 *)
14993 # OSF1 and SCO ODT 3.0 have their own names for install.
14994 # Don't use installbsd from OSF since it installs stuff as root
14995 # by default.
14996 for ac_prog in ginstall scoinst install; do
14997 for ac_exec_ext in '' $ac_executable_extensions; do
14998 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14999 if test $ac_prog = install &&
15000 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15001 # AIX install. It has an incompatible calling convention.
15002 :
15003 elif test $ac_prog = install &&
15004 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15005 # program-specific install script used by HP pwplus--don't use.
15006 :
15007 else
15008 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15009 break 3
15010 fi
15011 fi
15012 done
15013 done
15014 ;;
15015 esac
15016 done
15017
15018
15019 fi
15020 if test "${ac_cv_path_install+set}" = set; then
15021 INSTALL=$ac_cv_path_install
15022 else
15023 # As a last resort, use the slow shell script. We don't cache a
15024 # path for INSTALL within a source directory, because that will
15025 # break other packages using the cache if that directory is
15026 # removed, or if the path is relative.
15027 INSTALL=$ac_install_sh
15028 fi
15029 fi
15030 echo "$as_me:$LINENO: result: $INSTALL" >&5
15031 echo "${ECHO_T}$INSTALL" >&6
15032
15033 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15034 # It thinks the first close brace ends the variable substitution.
15035 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15036
15037 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15038
15039 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15040
15041
15042 case ${INSTALL} in
15043 /* ) # Absolute
15044 ;;
15045 ?:* ) # Drive letter, considered as absolute.
15046 ;;
15047 *)
15048 INSTALL=`pwd`/${INSTALL} ;;
15049 esac
15050
15051
15052 case "${host}" in
15053
15054 *-*-darwin* )
15055 INSTALL_PROGRAM="cp -fp"
15056 INSTALL_DATA="cp -fp"
15057 ;;
15058 *)
15059 ;;
15060 esac
15061
15062 if test -n "$ac_tool_prefix"; then
15063 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15064 set dummy ${ac_tool_prefix}strip; ac_word=$2
15065 echo "$as_me:$LINENO: checking for $ac_word" >&5
15066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15067 if test "${ac_cv_prog_STRIP+set}" = set; then
15068 echo $ECHO_N "(cached) $ECHO_C" >&6
15069 else
15070 if test -n "$STRIP"; then
15071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15072 else
15073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15074 for as_dir in $PATH
15075 do
15076 IFS=$as_save_IFS
15077 test -z "$as_dir" && as_dir=.
15078 for ac_exec_ext in '' $ac_executable_extensions; do
15079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15080 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15082 break 2
15083 fi
15084 done
15085 done
15086
15087 fi
15088 fi
15089 STRIP=$ac_cv_prog_STRIP
15090 if test -n "$STRIP"; then
15091 echo "$as_me:$LINENO: result: $STRIP" >&5
15092 echo "${ECHO_T}$STRIP" >&6
15093 else
15094 echo "$as_me:$LINENO: result: no" >&5
15095 echo "${ECHO_T}no" >&6
15096 fi
15097
15098 fi
15099 if test -z "$ac_cv_prog_STRIP"; then
15100 ac_ct_STRIP=$STRIP
15101 # Extract the first word of "strip", so it can be a program name with args.
15102 set dummy strip; ac_word=$2
15103 echo "$as_me:$LINENO: checking for $ac_word" >&5
15104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15105 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108 if test -n "$ac_ct_STRIP"; then
15109 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15110 else
15111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15112 for as_dir in $PATH
15113 do
15114 IFS=$as_save_IFS
15115 test -z "$as_dir" && as_dir=.
15116 for ac_exec_ext in '' $ac_executable_extensions; do
15117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15118 ac_cv_prog_ac_ct_STRIP="strip"
15119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15120 break 2
15121 fi
15122 done
15123 done
15124
15125 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15126 fi
15127 fi
15128 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15129 if test -n "$ac_ct_STRIP"; then
15130 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15131 echo "${ECHO_T}$ac_ct_STRIP" >&6
15132 else
15133 echo "$as_me:$LINENO: result: no" >&5
15134 echo "${ECHO_T}no" >&6
15135 fi
15136
15137 STRIP=$ac_ct_STRIP
15138 else
15139 STRIP="$ac_cv_prog_STRIP"
15140 fi
15141
15142
15143 if test "$wxUSE_WINE" = "yes"; then
15144 if test -n "$ac_tool_prefix"; then
15145 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15146 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15147 echo "$as_me:$LINENO: checking for $ac_word" >&5
15148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15149 if test "${ac_cv_prog_WINDRES+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 else
15152 if test -n "$WINDRES"; then
15153 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15154 else
15155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15156 for as_dir in $PATH
15157 do
15158 IFS=$as_save_IFS
15159 test -z "$as_dir" && as_dir=.
15160 for ac_exec_ext in '' $ac_executable_extensions; do
15161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15162 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15164 break 2
15165 fi
15166 done
15167 done
15168
15169 fi
15170 fi
15171 WINDRES=$ac_cv_prog_WINDRES
15172 if test -n "$WINDRES"; then
15173 echo "$as_me:$LINENO: result: $WINDRES" >&5
15174 echo "${ECHO_T}$WINDRES" >&6
15175 else
15176 echo "$as_me:$LINENO: result: no" >&5
15177 echo "${ECHO_T}no" >&6
15178 fi
15179
15180 fi
15181 if test -z "$ac_cv_prog_WINDRES"; then
15182 ac_ct_WINDRES=$WINDRES
15183 # Extract the first word of "wrc", so it can be a program name with args.
15184 set dummy wrc; ac_word=$2
15185 echo "$as_me:$LINENO: checking for $ac_word" >&5
15186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15187 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15189 else
15190 if test -n "$ac_ct_WINDRES"; then
15191 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15192 else
15193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15194 for as_dir in $PATH
15195 do
15196 IFS=$as_save_IFS
15197 test -z "$as_dir" && as_dir=.
15198 for ac_exec_ext in '' $ac_executable_extensions; do
15199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15200 ac_cv_prog_ac_ct_WINDRES="wrc"
15201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15202 break 2
15203 fi
15204 done
15205 done
15206
15207 fi
15208 fi
15209 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15210 if test -n "$ac_ct_WINDRES"; then
15211 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15212 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15213 else
15214 echo "$as_me:$LINENO: result: no" >&5
15215 echo "${ECHO_T}no" >&6
15216 fi
15217
15218 WINDRES=$ac_ct_WINDRES
15219 else
15220 WINDRES="$ac_cv_prog_WINDRES"
15221 fi
15222
15223 RESCOMP="$WINDRES"
15224 else
15225 case "${host}" in
15226 *-*-cygwin* | *-*-mingw32* )
15227 if test -n "$ac_tool_prefix"; then
15228 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15229 set dummy ${ac_tool_prefix}windres; ac_word=$2
15230 echo "$as_me:$LINENO: checking for $ac_word" >&5
15231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15232 if test "${ac_cv_prog_WINDRES+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 else
15235 if test -n "$WINDRES"; then
15236 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15237 else
15238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15239 for as_dir in $PATH
15240 do
15241 IFS=$as_save_IFS
15242 test -z "$as_dir" && as_dir=.
15243 for ac_exec_ext in '' $ac_executable_extensions; do
15244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15245 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15247 break 2
15248 fi
15249 done
15250 done
15251
15252 fi
15253 fi
15254 WINDRES=$ac_cv_prog_WINDRES
15255 if test -n "$WINDRES"; then
15256 echo "$as_me:$LINENO: result: $WINDRES" >&5
15257 echo "${ECHO_T}$WINDRES" >&6
15258 else
15259 echo "$as_me:$LINENO: result: no" >&5
15260 echo "${ECHO_T}no" >&6
15261 fi
15262
15263 fi
15264 if test -z "$ac_cv_prog_WINDRES"; then
15265 ac_ct_WINDRES=$WINDRES
15266 # Extract the first word of "windres", so it can be a program name with args.
15267 set dummy windres; ac_word=$2
15268 echo "$as_me:$LINENO: checking for $ac_word" >&5
15269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15270 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 if test -n "$ac_ct_WINDRES"; then
15274 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15275 else
15276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15277 for as_dir in $PATH
15278 do
15279 IFS=$as_save_IFS
15280 test -z "$as_dir" && as_dir=.
15281 for ac_exec_ext in '' $ac_executable_extensions; do
15282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15283 ac_cv_prog_ac_ct_WINDRES="windres"
15284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15285 break 2
15286 fi
15287 done
15288 done
15289
15290 fi
15291 fi
15292 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15293 if test -n "$ac_ct_WINDRES"; then
15294 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15295 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15296 else
15297 echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6
15299 fi
15300
15301 WINDRES=$ac_ct_WINDRES
15302 else
15303 WINDRES="$ac_cv_prog_WINDRES"
15304 fi
15305
15306 RESCOMP="$WINDRES"
15307 if test -n "$ac_tool_prefix"; then
15308 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15309 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15310 echo "$as_me:$LINENO: checking for $ac_word" >&5
15311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15312 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15313 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 else
15315 if test -n "$DLLTOOL"; then
15316 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15317 else
15318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15319 for as_dir in $PATH
15320 do
15321 IFS=$as_save_IFS
15322 test -z "$as_dir" && as_dir=.
15323 for ac_exec_ext in '' $ac_executable_extensions; do
15324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15325 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15327 break 2
15328 fi
15329 done
15330 done
15331
15332 fi
15333 fi
15334 DLLTOOL=$ac_cv_prog_DLLTOOL
15335 if test -n "$DLLTOOL"; then
15336 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15337 echo "${ECHO_T}$DLLTOOL" >&6
15338 else
15339 echo "$as_me:$LINENO: result: no" >&5
15340 echo "${ECHO_T}no" >&6
15341 fi
15342
15343 fi
15344 if test -z "$ac_cv_prog_DLLTOOL"; then
15345 ac_ct_DLLTOOL=$DLLTOOL
15346 # Extract the first word of "dlltool", so it can be a program name with args.
15347 set dummy dlltool; ac_word=$2
15348 echo "$as_me:$LINENO: checking for $ac_word" >&5
15349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15350 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 else
15353 if test -n "$ac_ct_DLLTOOL"; then
15354 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15355 else
15356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15357 for as_dir in $PATH
15358 do
15359 IFS=$as_save_IFS
15360 test -z "$as_dir" && as_dir=.
15361 for ac_exec_ext in '' $ac_executable_extensions; do
15362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15363 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15365 break 2
15366 fi
15367 done
15368 done
15369
15370 fi
15371 fi
15372 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15373 if test -n "$ac_ct_DLLTOOL"; then
15374 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15375 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15376 else
15377 echo "$as_me:$LINENO: result: no" >&5
15378 echo "${ECHO_T}no" >&6
15379 fi
15380
15381 DLLTOOL=$ac_ct_DLLTOOL
15382 else
15383 DLLTOOL="$ac_cv_prog_DLLTOOL"
15384 fi
15385
15386 ;;
15387 esac
15388 fi
15389
15390 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15391 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15392 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15394 else
15395
15396 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15397 egrep -s GNU > /dev/null); then
15398 wx_cv_prog_makeisgnu="yes"
15399 else
15400 wx_cv_prog_makeisgnu="no"
15401 fi
15402
15403 fi
15404 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15405 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15406
15407 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15408 IF_GNU_MAKE=""
15409 else
15410 IF_GNU_MAKE="#"
15411 fi
15412
15413
15414
15415 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15416 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15417 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15418 if test "${wx_cv_prog_makevpath+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 else
15421
15422 cat - << EOF > confMake
15423 check : file
15424 cp \$? \$@
15425 cp \$? final_file
15426 EOF
15427
15428 if test ! -d sub ; then
15429 mkdir sub
15430 fi
15431 echo dummy > sub/file
15432 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15433 RESULT=$?
15434 rm -f sub/file check final_file confMake
15435 rmdir sub
15436 if test "$RESULT" = 0; then
15437 wx_cv_prog_makevpath="yes"
15438 else
15439 wx_cv_prog_makevpath="no"
15440 fi
15441
15442 fi
15443 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15444 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15445
15446 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15447 { { echo "$as_me:$LINENO: error:
15448 You need a make-utility that is able to use the variable
15449 VPATH correctly.
15450 If your version of make does not support VPATH correctly,
15451 please install GNU-make (possibly as gmake), and start
15452 configure with the following command:
15453 export MAKE=gmake; ./configure for sh-type shells
15454 setenv MAKE gmake; ./configure for csh-type shells
15455 Also please do remember to use gmake in this case every time
15456 you are trying to compile.
15457 " >&5
15458 echo "$as_me: error:
15459 You need a make-utility that is able to use the variable
15460 VPATH correctly.
15461 If your version of make does not support VPATH correctly,
15462 please install GNU-make (possibly as gmake), and start
15463 configure with the following command:
15464 export MAKE=gmake; ./configure for sh-type shells
15465 setenv MAKE gmake; ./configure for csh-type shells
15466 Also please do remember to use gmake in this case every time
15467 you are trying to compile.
15468 " >&2;}
15469 { (exit 1); exit 1; }; }
15470 fi fi
15471 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15472 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15473 LN_S=$as_ln_s
15474 if test "$LN_S" = "ln -s"; then
15475 echo "$as_me:$LINENO: result: yes" >&5
15476 echo "${ECHO_T}yes" >&6
15477 else
15478 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15479 echo "${ECHO_T}no, using $LN_S" >&6
15480 fi
15481
15482
15483
15484
15485 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15486 CXXFLAGS="-qunique $CXXFLAGS"
15487 fi
15488
15489 case "${host}" in
15490 powerpc-*-darwin* )
15491 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15492 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499
15500 int
15501 main ()
15502 {
15503 #ifndef __POWERPC__
15504 choke me for lack of PowerPC
15505 #endif
15506
15507 ;
15508 return 0;
15509 }
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513 (eval $ac_compile) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15523 ac_status=$?
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try='test -s conftest.$ac_objext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 echo "$as_me:$LINENO: result: yes" >&5
15533 echo "${ECHO_T}yes" >&6
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538 echo "$as_me:$LINENO: result: no" >&5
15539 echo "${ECHO_T}no" >&6
15540 cat >>confdefs.h <<\_ACEOF
15541 #define __POWERPC__ 1
15542 _ACEOF
15543
15544
15545 fi
15546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15547 ;;
15548 esac
15549
15550 case "${host}" in
15551 *-*-darwin* )
15552 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15553 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15554 cat >conftest.$ac_ext <<_ACEOF
15555 /* confdefs.h. */
15556 _ACEOF
15557 cat confdefs.h >>conftest.$ac_ext
15558 cat >>conftest.$ac_ext <<_ACEOF
15559 /* end confdefs.h. */
15560 #include <CoreFoundation/CFBase.h>
15561
15562 int
15563 main ()
15564 {
15565
15566 ;
15567 return 0;
15568 }
15569 _ACEOF
15570 rm -f conftest.$ac_objext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15572 (eval $ac_compile) 2>conftest.er1
15573 ac_status=$?
15574 grep -v '^ *+' conftest.er1 >conftest.err
15575 rm -f conftest.er1
15576 cat conftest.err >&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15582 ac_status=$?
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 echo "$as_me:$LINENO: result: yes" >&5
15592 echo "${ECHO_T}yes" >&6
15593 else
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15596
15597 echo "$as_me:$LINENO: result: no" >&5
15598 echo "${ECHO_T}no" >&6
15599 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15600 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15601 cat >conftest.$ac_ext <<_ACEOF
15602 /* confdefs.h. */
15603 _ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15607 #define __CF_USE_FRAMEWORK_INCLUDES__
15608 #include <CoreFoundation/CFBase.h>
15609
15610 int
15611 main ()
15612 {
15613
15614 ;
15615 return 0;
15616 }
15617 _ACEOF
15618 rm -f conftest.$ac_objext
15619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15620 (eval $ac_compile) 2>conftest.er1
15621 ac_status=$?
15622 grep -v '^ *+' conftest.er1 >conftest.err
15623 rm -f conftest.er1
15624 cat conftest.err >&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); } &&
15627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15629 (eval $ac_try) 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; } &&
15633 { ac_try='test -s conftest.$ac_objext'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15636 ac_status=$?
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; }; then
15639 echo "$as_me:$LINENO: result: yes" >&5
15640 echo "${ECHO_T}yes" >&6
15641 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15642 else
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15645
15646 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15647 See \`config.log' for more details." >&5
15648 echo "$as_me: error: no. CoreFoundation not available.
15649 See \`config.log' for more details." >&2;}
15650 { (exit 1); exit 1; }; }
15651
15652 fi
15653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15654
15655
15656 fi
15657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15658 ;;
15659 esac
15660
15661 case "${host}" in
15662 *-pc-os2_emx | *-pc-os2-emx )
15663 ac_ext=c
15664 ac_cpp='$CPP $CPPFLAGS'
15665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15668
15669 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15670 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15671 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15672 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 ac_check_lib_save_LIBS=$LIBS
15676 LIBS="-lcExt $LIBS"
15677 cat >conftest.$ac_ext <<_ACEOF
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683
15684 /* Override any gcc2 internal prototype to avoid an error. */
15685 #ifdef __cplusplus
15686 extern "C"
15687 #endif
15688 /* We use char because int might match the return type of a gcc2
15689 builtin and then its argument prototype would still apply. */
15690 char drand48 ();
15691 int
15692 main ()
15693 {
15694 drand48 ();
15695 ;
15696 return 0;
15697 }
15698 _ACEOF
15699 rm -f conftest.$ac_objext conftest$ac_exeext
15700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15701 (eval $ac_link) 2>conftest.er1
15702 ac_status=$?
15703 grep -v '^ *+' conftest.er1 >conftest.err
15704 rm -f conftest.er1
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try='test -s conftest$ac_exeext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_cv_lib_cExt_drand48=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15724
15725 ac_cv_lib_cExt_drand48=no
15726 fi
15727 rm -f conftest.err conftest.$ac_objext \
15728 conftest$ac_exeext conftest.$ac_ext
15729 LIBS=$ac_check_lib_save_LIBS
15730 fi
15731 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15732 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15733 if test $ac_cv_lib_cExt_drand48 = yes; then
15734 LIBS="$LIBS -lcExt"
15735 fi
15736
15737 else
15738 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15739 fi
15740 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15741 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15742 if test "${wx_cv_gccversion+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15745
15746 if test "$cross_compiling" = yes; then
15747 wx_cv_gccversion="EMX2"
15748
15749 else
15750 cat >conftest.$ac_ext <<_ACEOF
15751 /* confdefs.h. */
15752 _ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15756
15757 #include <stdio.h>
15758
15759 int main()
15760 {
15761 FILE *f=fopen("conftestval", "w");
15762 if (!f) exit(1);
15763 fprintf(f,
15764 #if (__GNUC__ < 3)
15765 "EMX2"
15766 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15767 "EMX3"
15768 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15769 "Innotek5"
15770 #else
15771 "Innotek6"
15772 #endif
15773 );
15774 exit(0);
15775 }
15776
15777 _ACEOF
15778 rm -f conftest$ac_exeext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15780 (eval $ac_link) 2>&5
15781 ac_status=$?
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 wx_cv_gccversion=`cat conftestval`
15790 else
15791 echo "$as_me: program exited with status $ac_status" >&5
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15794
15795 ( exit $ac_status )
15796 wx_cv_gccversion="EMX2"
15797 fi
15798 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15799 fi
15800
15801 fi
15802 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15803 echo "${ECHO_T}$wx_cv_gccversion" >&6
15804 ac_ext=cc
15805 ac_cpp='$CXXCPP $CPPFLAGS'
15806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15809
15810 if test "$wx_cv_gccversion" = "EMX2"; then
15811 LIBS="$LIBS -lstdcpp"
15812 LDFLAGS="$LDFLAGS -Zsysv-signals"
15813 else
15814 if test "$wx_cv_gccversion" = "EMX3"; then
15815 LIBS="$LIBS -lstdcxx -lgcc"
15816 LDFLAGS="$LDFLAGS -Zsysv-signals"
15817 else
15818 LIBS="$LIBS -lstdc++"
15819 fi
15820 fi
15821 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15822 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15823 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15824 wxUSE_OMF=yes
15825 enable_omf=yes
15826 fi
15827 ;;
15828 *)
15829
15830 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15831 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15832 if test "${ac_cv_string_strcasecmp+set}" = set; then
15833 echo $ECHO_N "(cached) $ECHO_C" >&6
15834 else
15835
15836 cat >conftest.$ac_ext <<_ACEOF
15837 /* confdefs.h. */
15838 _ACEOF
15839 cat confdefs.h >>conftest.$ac_ext
15840 cat >>conftest.$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15842
15843 #include <string.h>
15844
15845 int
15846 main ()
15847 {
15848
15849 strcasecmp("foo", "bar");
15850
15851 ;
15852 return 0;
15853 }
15854 _ACEOF
15855 rm -f conftest.$ac_objext conftest$ac_exeext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15857 (eval $ac_link) 2>conftest.er1
15858 ac_status=$?
15859 grep -v '^ *+' conftest.er1 >conftest.err
15860 rm -f conftest.er1
15861 cat conftest.err >&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } &&
15864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try='test -s conftest$ac_exeext'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; }; then
15876 ac_cv_string_strcasecmp=yes
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 ac_cv_string_strcasecmp=no
15882
15883 fi
15884 rm -f conftest.err conftest.$ac_objext \
15885 conftest$ac_exeext conftest.$ac_ext
15886
15887 fi
15888 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15889 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15890
15891 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15892 cat >>confdefs.h <<\_ACEOF
15893 #define HAVE_STRCASECMP_IN_STRING_H 1
15894 _ACEOF
15895
15896 else
15897 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15898 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15899 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 else
15902
15903 cat >conftest.$ac_ext <<_ACEOF
15904 /* confdefs.h. */
15905 _ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909
15910 #include <strings.h>
15911
15912 int
15913 main ()
15914 {
15915
15916 strcasecmp("foo", "bar");
15917
15918 ;
15919 return 0;
15920 }
15921 _ACEOF
15922 rm -f conftest.$ac_objext conftest$ac_exeext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15924 (eval $ac_link) 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15934 ac_status=$?
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 ac_cv_strings_strcasecmp=yes
15944 else
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15947
15948 ac_cv_strings_strcasecmp=no
15949
15950 fi
15951 rm -f conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext conftest.$ac_ext
15953
15954 fi
15955 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15956 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15957
15958 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15959 cat >>confdefs.h <<\_ACEOF
15960 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15961 _ACEOF
15962
15963 else
15964 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15965 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15966 { (exit 1); exit 1; }; }
15967 fi
15968 fi
15969
15970 ;;
15971 esac
15972
15973
15974 ac_ext=cc
15975 ac_cpp='$CXXCPP $CPPFLAGS'
15976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15979 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15980 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15981 if test -z "$CXXCPP"; then
15982 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 else
15985 # Double quotes because CXXCPP needs to be expanded
15986 for CXXCPP in "$CXX -E" "/lib/cpp"
15987 do
15988 ac_preproc_ok=false
15989 for ac_cxx_preproc_warn_flag in '' yes
15990 do
15991 # Use a header file that comes with gcc, so configuring glibc
15992 # with a fresh cross-compiler works.
15993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15994 # <limits.h> exists even on freestanding compilers.
15995 # On the NeXT, cc -E runs the code through the compiler's parser,
15996 # not just through cpp. "Syntax error" is here to catch this case.
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003 #ifdef __STDC__
16004 # include <limits.h>
16005 #else
16006 # include <assert.h>
16007 #endif
16008 Syntax error
16009 _ACEOF
16010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16012 ac_status=$?
16013 grep -v '^ *+' conftest.er1 >conftest.err
16014 rm -f conftest.er1
16015 cat conftest.err >&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } >/dev/null; then
16018 if test -s conftest.err; then
16019 ac_cpp_err=$ac_cxx_preproc_warn_flag
16020 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16021 else
16022 ac_cpp_err=
16023 fi
16024 else
16025 ac_cpp_err=yes
16026 fi
16027 if test -z "$ac_cpp_err"; then
16028 :
16029 else
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.$ac_ext >&5
16032
16033 # Broken: fails on valid input.
16034 continue
16035 fi
16036 rm -f conftest.err conftest.$ac_ext
16037
16038 # OK, works on sane cases. Now check whether non-existent headers
16039 # can be detected and how.
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #include <ac_nonexistent.h>
16047 _ACEOF
16048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16050 ac_status=$?
16051 grep -v '^ *+' conftest.er1 >conftest.err
16052 rm -f conftest.er1
16053 cat conftest.err >&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } >/dev/null; then
16056 if test -s conftest.err; then
16057 ac_cpp_err=$ac_cxx_preproc_warn_flag
16058 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16059 else
16060 ac_cpp_err=
16061 fi
16062 else
16063 ac_cpp_err=yes
16064 fi
16065 if test -z "$ac_cpp_err"; then
16066 # Broken: success on invalid input.
16067 continue
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16071
16072 # Passes both tests.
16073 ac_preproc_ok=:
16074 break
16075 fi
16076 rm -f conftest.err conftest.$ac_ext
16077
16078 done
16079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16080 rm -f conftest.err conftest.$ac_ext
16081 if $ac_preproc_ok; then
16082 break
16083 fi
16084
16085 done
16086 ac_cv_prog_CXXCPP=$CXXCPP
16087
16088 fi
16089 CXXCPP=$ac_cv_prog_CXXCPP
16090 else
16091 ac_cv_prog_CXXCPP=$CXXCPP
16092 fi
16093 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16094 echo "${ECHO_T}$CXXCPP" >&6
16095 ac_preproc_ok=false
16096 for ac_cxx_preproc_warn_flag in '' yes
16097 do
16098 # Use a header file that comes with gcc, so configuring glibc
16099 # with a fresh cross-compiler works.
16100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16101 # <limits.h> exists even on freestanding compilers.
16102 # On the NeXT, cc -E runs the code through the compiler's parser,
16103 # not just through cpp. "Syntax error" is here to catch this case.
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #ifdef __STDC__
16111 # include <limits.h>
16112 #else
16113 # include <assert.h>
16114 #endif
16115 Syntax error
16116 _ACEOF
16117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } >/dev/null; then
16125 if test -s conftest.err; then
16126 ac_cpp_err=$ac_cxx_preproc_warn_flag
16127 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16128 else
16129 ac_cpp_err=
16130 fi
16131 else
16132 ac_cpp_err=yes
16133 fi
16134 if test -z "$ac_cpp_err"; then
16135 :
16136 else
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16139
16140 # Broken: fails on valid input.
16141 continue
16142 fi
16143 rm -f conftest.err conftest.$ac_ext
16144
16145 # OK, works on sane cases. Now check whether non-existent headers
16146 # can be detected and how.
16147 cat >conftest.$ac_ext <<_ACEOF
16148 /* confdefs.h. */
16149 _ACEOF
16150 cat confdefs.h >>conftest.$ac_ext
16151 cat >>conftest.$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16153 #include <ac_nonexistent.h>
16154 _ACEOF
16155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16157 ac_status=$?
16158 grep -v '^ *+' conftest.er1 >conftest.err
16159 rm -f conftest.er1
16160 cat conftest.err >&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); } >/dev/null; then
16163 if test -s conftest.err; then
16164 ac_cpp_err=$ac_cxx_preproc_warn_flag
16165 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16166 else
16167 ac_cpp_err=
16168 fi
16169 else
16170 ac_cpp_err=yes
16171 fi
16172 if test -z "$ac_cpp_err"; then
16173 # Broken: success on invalid input.
16174 continue
16175 else
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.$ac_ext >&5
16178
16179 # Passes both tests.
16180 ac_preproc_ok=:
16181 break
16182 fi
16183 rm -f conftest.err conftest.$ac_ext
16184
16185 done
16186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16187 rm -f conftest.err conftest.$ac_ext
16188 if $ac_preproc_ok; then
16189 :
16190 else
16191 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16192 See \`config.log' for more details." >&5
16193 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16194 See \`config.log' for more details." >&2;}
16195 { (exit 1); exit 1; }; }
16196 fi
16197
16198 ac_ext=cc
16199 ac_cpp='$CXXCPP $CPPFLAGS'
16200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16203
16204
16205 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16206 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16207 if test "${ac_cv_header_stdc+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 else
16210 cat >conftest.$ac_ext <<_ACEOF
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 #include <stdlib.h>
16217 #include <stdarg.h>
16218 #include <string.h>
16219 #include <float.h>
16220
16221 int
16222 main ()
16223 {
16224
16225 ;
16226 return 0;
16227 }
16228 _ACEOF
16229 rm -f conftest.$ac_objext
16230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16231 (eval $ac_compile) 2>conftest.er1
16232 ac_status=$?
16233 grep -v '^ *+' conftest.er1 >conftest.err
16234 rm -f conftest.er1
16235 cat conftest.err >&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; } &&
16244 { ac_try='test -s conftest.$ac_objext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16247 ac_status=$?
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_cv_header_stdc=yes
16251 else
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16254
16255 ac_cv_header_stdc=no
16256 fi
16257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16258
16259 if test $ac_cv_header_stdc = yes; then
16260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16261 cat >conftest.$ac_ext <<_ACEOF
16262 /* confdefs.h. */
16263 _ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <string.h>
16268
16269 _ACEOF
16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16271 $EGREP "memchr" >/dev/null 2>&1; then
16272 :
16273 else
16274 ac_cv_header_stdc=no
16275 fi
16276 rm -f conftest*
16277
16278 fi
16279
16280 if test $ac_cv_header_stdc = yes; then
16281 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16282 cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h. */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h. */
16288 #include <stdlib.h>
16289
16290 _ACEOF
16291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16292 $EGREP "free" >/dev/null 2>&1; then
16293 :
16294 else
16295 ac_cv_header_stdc=no
16296 fi
16297 rm -f conftest*
16298
16299 fi
16300
16301 if test $ac_cv_header_stdc = yes; then
16302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16303 if test "$cross_compiling" = yes; then
16304 :
16305 else
16306 cat >conftest.$ac_ext <<_ACEOF
16307 /* confdefs.h. */
16308 _ACEOF
16309 cat confdefs.h >>conftest.$ac_ext
16310 cat >>conftest.$ac_ext <<_ACEOF
16311 /* end confdefs.h. */
16312 #include <ctype.h>
16313 #if ((' ' & 0x0FF) == 0x020)
16314 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16315 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16316 #else
16317 # define ISLOWER(c) \
16318 (('a' <= (c) && (c) <= 'i') \
16319 || ('j' <= (c) && (c) <= 'r') \
16320 || ('s' <= (c) && (c) <= 'z'))
16321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16322 #endif
16323
16324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16325 int
16326 main ()
16327 {
16328 int i;
16329 for (i = 0; i < 256; i++)
16330 if (XOR (islower (i), ISLOWER (i))
16331 || toupper (i) != TOUPPER (i))
16332 exit(2);
16333 exit (0);
16334 }
16335 _ACEOF
16336 rm -f conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>&5
16339 ac_status=$?
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16344 ac_status=$?
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; }; then
16347 :
16348 else
16349 echo "$as_me: program exited with status $ac_status" >&5
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.$ac_ext >&5
16352
16353 ( exit $ac_status )
16354 ac_cv_header_stdc=no
16355 fi
16356 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16357 fi
16358 fi
16359 fi
16360 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16361 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16362 if test $ac_cv_header_stdc = yes; then
16363
16364 cat >>confdefs.h <<\_ACEOF
16365 #define STDC_HEADERS 1
16366 _ACEOF
16367
16368 fi
16369
16370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16381 inttypes.h stdint.h unistd.h
16382 do
16383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16384 echo "$as_me:$LINENO: checking for $ac_header" >&5
16385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 else
16389 cat >conftest.$ac_ext <<_ACEOF
16390 /* confdefs.h. */
16391 _ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 $ac_includes_default
16396
16397 #include <$ac_header>
16398 _ACEOF
16399 rm -f conftest.$ac_objext
16400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16401 (eval $ac_compile) 2>conftest.er1
16402 ac_status=$?
16403 grep -v '^ *+' conftest.er1 >conftest.err
16404 rm -f conftest.er1
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; } &&
16414 { ac_try='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 eval "$as_ac_Header=yes"
16421 else
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16424
16425 eval "$as_ac_Header=no"
16426 fi
16427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16428 fi
16429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16432 cat >>confdefs.h <<_ACEOF
16433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16434 _ACEOF
16435
16436 fi
16437
16438 done
16439
16440
16441
16442 for ac_header in stdlib.h
16443 do
16444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16446 echo "$as_me:$LINENO: checking for $ac_header" >&5
16447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 fi
16451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16453 else
16454 # Is the header compilable?
16455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16457 cat >conftest.$ac_ext <<_ACEOF
16458 /* confdefs.h. */
16459 _ACEOF
16460 cat confdefs.h >>conftest.$ac_ext
16461 cat >>conftest.$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16463 $ac_includes_default
16464 #include <$ac_header>
16465 _ACEOF
16466 rm -f conftest.$ac_objext
16467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16468 (eval $ac_compile) 2>conftest.er1
16469 ac_status=$?
16470 grep -v '^ *+' conftest.er1 >conftest.err
16471 rm -f conftest.er1
16472 cat conftest.err >&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } &&
16475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; } &&
16481 { ac_try='test -s conftest.$ac_objext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 ac_header_compiler=yes
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492 ac_header_compiler=no
16493 fi
16494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16496 echo "${ECHO_T}$ac_header_compiler" >&6
16497
16498 # Is the header present?
16499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16501 cat >conftest.$ac_ext <<_ACEOF
16502 /* confdefs.h. */
16503 _ACEOF
16504 cat confdefs.h >>conftest.$ac_ext
16505 cat >>conftest.$ac_ext <<_ACEOF
16506 /* end confdefs.h. */
16507 #include <$ac_header>
16508 _ACEOF
16509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } >/dev/null; then
16517 if test -s conftest.err; then
16518 ac_cpp_err=$ac_cxx_preproc_warn_flag
16519 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16520 else
16521 ac_cpp_err=
16522 fi
16523 else
16524 ac_cpp_err=yes
16525 fi
16526 if test -z "$ac_cpp_err"; then
16527 ac_header_preproc=yes
16528 else
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16531
16532 ac_header_preproc=no
16533 fi
16534 rm -f conftest.err conftest.$ac_ext
16535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16536 echo "${ECHO_T}$ac_header_preproc" >&6
16537
16538 # So? What about this header?
16539 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16540 yes:no: )
16541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16545 ac_header_preproc=yes
16546 ;;
16547 no:yes:* )
16548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16560 (
16561 cat <<\_ASBOX
16562 ## ----------------------------------------- ##
16563 ## Report this to wx-dev@lists.wxwidgets.org ##
16564 ## ----------------------------------------- ##
16565 _ASBOX
16566 ) |
16567 sed "s/^/$as_me: WARNING: /" >&2
16568 ;;
16569 esac
16570 echo "$as_me:$LINENO: checking for $ac_header" >&5
16571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 eval "$as_ac_Header=\$ac_header_preproc"
16576 fi
16577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16579
16580 fi
16581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16582 cat >>confdefs.h <<_ACEOF
16583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16584 _ACEOF
16585
16586 fi
16587
16588 done
16589
16590
16591 for ac_header in malloc.h
16592 do
16593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16595 echo "$as_me:$LINENO: checking for $ac_header" >&5
16596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 fi
16600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16602 else
16603 # Is the header compilable?
16604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16606 cat >conftest.$ac_ext <<_ACEOF
16607 /* confdefs.h. */
16608 _ACEOF
16609 cat confdefs.h >>conftest.$ac_ext
16610 cat >>conftest.$ac_ext <<_ACEOF
16611 /* end confdefs.h. */
16612 $ac_includes_default
16613 #include <$ac_header>
16614 _ACEOF
16615 rm -f conftest.$ac_objext
16616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16617 (eval $ac_compile) 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_header_compiler=yes
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 ac_header_compiler=no
16642 fi
16643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16645 echo "${ECHO_T}$ac_header_compiler" >&6
16646
16647 # Is the header present?
16648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16650 cat >conftest.$ac_ext <<_ACEOF
16651 /* confdefs.h. */
16652 _ACEOF
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 #include <$ac_header>
16657 _ACEOF
16658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16660 ac_status=$?
16661 grep -v '^ *+' conftest.er1 >conftest.err
16662 rm -f conftest.er1
16663 cat conftest.err >&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } >/dev/null; then
16666 if test -s conftest.err; then
16667 ac_cpp_err=$ac_cxx_preproc_warn_flag
16668 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16669 else
16670 ac_cpp_err=
16671 fi
16672 else
16673 ac_cpp_err=yes
16674 fi
16675 if test -z "$ac_cpp_err"; then
16676 ac_header_preproc=yes
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 ac_header_preproc=no
16682 fi
16683 rm -f conftest.err conftest.$ac_ext
16684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16685 echo "${ECHO_T}$ac_header_preproc" >&6
16686
16687 # So? What about this header?
16688 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16689 yes:no: )
16690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16694 ac_header_preproc=yes
16695 ;;
16696 no:yes:* )
16697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16709 (
16710 cat <<\_ASBOX
16711 ## ----------------------------------------- ##
16712 ## Report this to wx-dev@lists.wxwidgets.org ##
16713 ## ----------------------------------------- ##
16714 _ASBOX
16715 ) |
16716 sed "s/^/$as_me: WARNING: /" >&2
16717 ;;
16718 esac
16719 echo "$as_me:$LINENO: checking for $ac_header" >&5
16720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16722 echo $ECHO_N "(cached) $ECHO_C" >&6
16723 else
16724 eval "$as_ac_Header=\$ac_header_preproc"
16725 fi
16726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16728
16729 fi
16730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16731 cat >>confdefs.h <<_ACEOF
16732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16733 _ACEOF
16734
16735 fi
16736
16737 done
16738
16739
16740 for ac_header in unistd.h
16741 do
16742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16744 echo "$as_me:$LINENO: checking for $ac_header" >&5
16745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 fi
16749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16751 else
16752 # Is the header compilable?
16753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16755 cat >conftest.$ac_ext <<_ACEOF
16756 /* confdefs.h. */
16757 _ACEOF
16758 cat confdefs.h >>conftest.$ac_ext
16759 cat >>conftest.$ac_ext <<_ACEOF
16760 /* end confdefs.h. */
16761 $ac_includes_default
16762 #include <$ac_header>
16763 _ACEOF
16764 rm -f conftest.$ac_objext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16766 (eval $ac_compile) 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } &&
16773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16776 ac_status=$?
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try='test -s conftest.$ac_objext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 ac_header_compiler=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790 ac_header_compiler=no
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16794 echo "${ECHO_T}$ac_header_compiler" >&6
16795
16796 # Is the header present?
16797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 #include <$ac_header>
16806 _ACEOF
16807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16808 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } >/dev/null; then
16815 if test -s conftest.err; then
16816 ac_cpp_err=$ac_cxx_preproc_warn_flag
16817 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16818 else
16819 ac_cpp_err=
16820 fi
16821 else
16822 ac_cpp_err=yes
16823 fi
16824 if test -z "$ac_cpp_err"; then
16825 ac_header_preproc=yes
16826 else
16827 echo "$as_me: failed program was:" >&5
16828 sed 's/^/| /' conftest.$ac_ext >&5
16829
16830 ac_header_preproc=no
16831 fi
16832 rm -f conftest.err conftest.$ac_ext
16833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16834 echo "${ECHO_T}$ac_header_preproc" >&6
16835
16836 # So? What about this header?
16837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16838 yes:no: )
16839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16843 ac_header_preproc=yes
16844 ;;
16845 no:yes:* )
16846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16858 (
16859 cat <<\_ASBOX
16860 ## ----------------------------------------- ##
16861 ## Report this to wx-dev@lists.wxwidgets.org ##
16862 ## ----------------------------------------- ##
16863 _ASBOX
16864 ) |
16865 sed "s/^/$as_me: WARNING: /" >&2
16866 ;;
16867 esac
16868 echo "$as_me:$LINENO: checking for $ac_header" >&5
16869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 eval "$as_ac_Header=\$ac_header_preproc"
16874 fi
16875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16877
16878 fi
16879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16880 cat >>confdefs.h <<_ACEOF
16881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16882 _ACEOF
16883
16884 fi
16885
16886 done
16887
16888
16889 for ac_header in wchar.h
16890 do
16891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16893 echo "$as_me:$LINENO: checking for $ac_header" >&5
16894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 fi
16898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16900 else
16901 # Is the header compilable?
16902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16904 cat >conftest.$ac_ext <<_ACEOF
16905 /* confdefs.h. */
16906 _ACEOF
16907 cat confdefs.h >>conftest.$ac_ext
16908 cat >>conftest.$ac_ext <<_ACEOF
16909 /* end confdefs.h. */
16910 $ac_includes_default
16911 #include <$ac_header>
16912 _ACEOF
16913 rm -f conftest.$ac_objext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16915 (eval $ac_compile) 2>conftest.er1
16916 ac_status=$?
16917 grep -v '^ *+' conftest.er1 >conftest.err
16918 rm -f conftest.er1
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; } &&
16928 { ac_try='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 ac_header_compiler=yes
16935 else
16936 echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16938
16939 ac_header_compiler=no
16940 fi
16941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16943 echo "${ECHO_T}$ac_header_compiler" >&6
16944
16945 # Is the header present?
16946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 #include <$ac_header>
16955 _ACEOF
16956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16958 ac_status=$?
16959 grep -v '^ *+' conftest.er1 >conftest.err
16960 rm -f conftest.er1
16961 cat conftest.err >&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } >/dev/null; then
16964 if test -s conftest.err; then
16965 ac_cpp_err=$ac_cxx_preproc_warn_flag
16966 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16967 else
16968 ac_cpp_err=
16969 fi
16970 else
16971 ac_cpp_err=yes
16972 fi
16973 if test -z "$ac_cpp_err"; then
16974 ac_header_preproc=yes
16975 else
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16978
16979 ac_header_preproc=no
16980 fi
16981 rm -f conftest.err conftest.$ac_ext
16982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16983 echo "${ECHO_T}$ac_header_preproc" >&6
16984
16985 # So? What about this header?
16986 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16987 yes:no: )
16988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16992 ac_header_preproc=yes
16993 ;;
16994 no:yes:* )
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17007 (
17008 cat <<\_ASBOX
17009 ## ----------------------------------------- ##
17010 ## Report this to wx-dev@lists.wxwidgets.org ##
17011 ## ----------------------------------------- ##
17012 _ASBOX
17013 ) |
17014 sed "s/^/$as_me: WARNING: /" >&2
17015 ;;
17016 esac
17017 echo "$as_me:$LINENO: checking for $ac_header" >&5
17018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 eval "$as_ac_Header=\$ac_header_preproc"
17023 fi
17024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17026
17027 fi
17028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17029 cat >>confdefs.h <<_ACEOF
17030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17031 _ACEOF
17032
17033 fi
17034
17035 done
17036
17037
17038 if test "$ac_cv_header_wchar_h" != "yes"; then
17039
17040 for ac_header in wcstr.h
17041 do
17042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo "$as_me:$LINENO: checking for $ac_header" >&5
17045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 fi
17049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17051 else
17052 # Is the header compilable?
17053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17055 cat >conftest.$ac_ext <<_ACEOF
17056 /* confdefs.h. */
17057 _ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 $ac_includes_default
17062 #include <$ac_header>
17063 _ACEOF
17064 rm -f conftest.$ac_objext
17065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17066 (eval $ac_compile) 2>conftest.er1
17067 ac_status=$?
17068 grep -v '^ *+' conftest.er1 >conftest.err
17069 rm -f conftest.er1
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } &&
17073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; } &&
17079 { ac_try='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_header_compiler=yes
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 ac_header_compiler=no
17091 fi
17092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17094 echo "${ECHO_T}$ac_header_compiler" >&6
17095
17096 # Is the header present?
17097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105 #include <$ac_header>
17106 _ACEOF
17107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev/null; then
17115 if test -s conftest.err; then
17116 ac_cpp_err=$ac_cxx_preproc_warn_flag
17117 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17118 else
17119 ac_cpp_err=
17120 fi
17121 else
17122 ac_cpp_err=yes
17123 fi
17124 if test -z "$ac_cpp_err"; then
17125 ac_header_preproc=yes
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 ac_header_preproc=no
17131 fi
17132 rm -f conftest.err conftest.$ac_ext
17133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17134 echo "${ECHO_T}$ac_header_preproc" >&6
17135
17136 # So? What about this header?
17137 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17138 yes:no: )
17139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17143 ac_header_preproc=yes
17144 ;;
17145 no:yes:* )
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17158 (
17159 cat <<\_ASBOX
17160 ## ----------------------------------------- ##
17161 ## Report this to wx-dev@lists.wxwidgets.org ##
17162 ## ----------------------------------------- ##
17163 _ASBOX
17164 ) |
17165 sed "s/^/$as_me: WARNING: /" >&2
17166 ;;
17167 esac
17168 echo "$as_me:$LINENO: checking for $ac_header" >&5
17169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17171 echo $ECHO_N "(cached) $ECHO_C" >&6
17172 else
17173 eval "$as_ac_Header=\$ac_header_preproc"
17174 fi
17175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17177
17178 fi
17179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17180 cat >>confdefs.h <<_ACEOF
17181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17182 _ACEOF
17183
17184 fi
17185
17186 done
17187
17188 fi
17189
17190
17191 for ac_header in fnmatch.h
17192 do
17193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17195 echo "$as_me:$LINENO: checking for $ac_header" >&5
17196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17199 fi
17200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17202 else
17203 # Is the header compilable?
17204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17213 #include <$ac_header>
17214 _ACEOF
17215 rm -f conftest.$ac_objext
17216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17217 (eval $ac_compile) 2>conftest.er1
17218 ac_status=$?
17219 grep -v '^ *+' conftest.er1 >conftest.err
17220 rm -f conftest.er1
17221 cat conftest.err >&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); } &&
17224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17227 ac_status=$?
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; } &&
17230 { ac_try='test -s conftest.$ac_objext'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17233 ac_status=$?
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; }; then
17236 ac_header_compiler=yes
17237 else
17238 echo "$as_me: failed program was:" >&5
17239 sed 's/^/| /' conftest.$ac_ext >&5
17240
17241 ac_header_compiler=no
17242 fi
17243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17245 echo "${ECHO_T}$ac_header_compiler" >&6
17246
17247 # Is the header present?
17248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256 #include <$ac_header>
17257 _ACEOF
17258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17260 ac_status=$?
17261 grep -v '^ *+' conftest.er1 >conftest.err
17262 rm -f conftest.er1
17263 cat conftest.err >&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } >/dev/null; then
17266 if test -s conftest.err; then
17267 ac_cpp_err=$ac_cxx_preproc_warn_flag
17268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17269 else
17270 ac_cpp_err=
17271 fi
17272 else
17273 ac_cpp_err=yes
17274 fi
17275 if test -z "$ac_cpp_err"; then
17276 ac_header_preproc=yes
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281 ac_header_preproc=no
17282 fi
17283 rm -f conftest.err conftest.$ac_ext
17284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17285 echo "${ECHO_T}$ac_header_preproc" >&6
17286
17287 # So? What about this header?
17288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17289 yes:no: )
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17294 ac_header_preproc=yes
17295 ;;
17296 no:yes:* )
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17309 (
17310 cat <<\_ASBOX
17311 ## ----------------------------------------- ##
17312 ## Report this to wx-dev@lists.wxwidgets.org ##
17313 ## ----------------------------------------- ##
17314 _ASBOX
17315 ) |
17316 sed "s/^/$as_me: WARNING: /" >&2
17317 ;;
17318 esac
17319 echo "$as_me:$LINENO: checking for $ac_header" >&5
17320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17322 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 else
17324 eval "$as_ac_Header=\$ac_header_preproc"
17325 fi
17326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17328
17329 fi
17330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17331 cat >>confdefs.h <<_ACEOF
17332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17333 _ACEOF
17334
17335 fi
17336
17337 done
17338
17339
17340
17341 for ac_header in langinfo.h
17342 do
17343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17345 echo "$as_me:$LINENO: checking for $ac_header" >&5
17346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 fi
17350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17352 else
17353 # Is the header compilable?
17354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17356 cat >conftest.$ac_ext <<_ACEOF
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362 $ac_includes_default
17363 #include <$ac_header>
17364 _ACEOF
17365 rm -f conftest.$ac_objext
17366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17367 (eval $ac_compile) 2>conftest.er1
17368 ac_status=$?
17369 grep -v '^ *+' conftest.er1 >conftest.err
17370 rm -f conftest.er1
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } &&
17374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17377 ac_status=$?
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest.$ac_objext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 ac_header_compiler=yes
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 ac_header_compiler=no
17392 fi
17393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17395 echo "${ECHO_T}$ac_header_compiler" >&6
17396
17397 # Is the header present?
17398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17400 cat >conftest.$ac_ext <<_ACEOF
17401 /* confdefs.h. */
17402 _ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 #include <$ac_header>
17407 _ACEOF
17408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17410 ac_status=$?
17411 grep -v '^ *+' conftest.er1 >conftest.err
17412 rm -f conftest.er1
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } >/dev/null; then
17416 if test -s conftest.err; then
17417 ac_cpp_err=$ac_cxx_preproc_warn_flag
17418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17419 else
17420 ac_cpp_err=
17421 fi
17422 else
17423 ac_cpp_err=yes
17424 fi
17425 if test -z "$ac_cpp_err"; then
17426 ac_header_preproc=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17430
17431 ac_header_preproc=no
17432 fi
17433 rm -f conftest.err conftest.$ac_ext
17434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17435 echo "${ECHO_T}$ac_header_preproc" >&6
17436
17437 # So? What about this header?
17438 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17439 yes:no: )
17440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17444 ac_header_preproc=yes
17445 ;;
17446 no:yes:* )
17447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17459 (
17460 cat <<\_ASBOX
17461 ## ----------------------------------------- ##
17462 ## Report this to wx-dev@lists.wxwidgets.org ##
17463 ## ----------------------------------------- ##
17464 _ASBOX
17465 ) |
17466 sed "s/^/$as_me: WARNING: /" >&2
17467 ;;
17468 esac
17469 echo "$as_me:$LINENO: checking for $ac_header" >&5
17470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17473 else
17474 eval "$as_ac_Header=\$ac_header_preproc"
17475 fi
17476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17478
17479 fi
17480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17481 cat >>confdefs.h <<_ACEOF
17482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17483 _ACEOF
17484
17485 fi
17486
17487 done
17488
17489
17490 case "${host}" in
17491 *-pc-os2_emx | *-pc-os2-emx )
17492 if test $ac_cv_header_langinfo_h = "yes" \
17493 -a \( "$wx_cv_gccversion" = "EMX2" \
17494 -o "$wx_cv_gccversion" = "EMX3" \
17495 -o "$wx_cv_gccversion" = "Innotek5" \); then
17496 LIBS="$LIBS -lintl"
17497 fi
17498 ;;
17499 esac
17500
17501 if test "$USE_UNIX" = 1 ; then
17502
17503 for ac_header in sys/select.h
17504 do
17505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17507 echo "$as_me:$LINENO: checking for $ac_header" >&5
17508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 fi
17512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17514 else
17515 # Is the header compilable?
17516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17518 cat >conftest.$ac_ext <<_ACEOF
17519 /* confdefs.h. */
17520 _ACEOF
17521 cat confdefs.h >>conftest.$ac_ext
17522 cat >>conftest.$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17524 $ac_includes_default
17525 #include <$ac_header>
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_header_compiler=yes
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 ac_header_compiler=no
17554 fi
17555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17557 echo "${ECHO_T}$ac_header_compiler" >&6
17558
17559 # Is the header present?
17560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h. */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 #include <$ac_header>
17569 _ACEOF
17570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } >/dev/null; then
17578 if test -s conftest.err; then
17579 ac_cpp_err=$ac_cxx_preproc_warn_flag
17580 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17581 else
17582 ac_cpp_err=
17583 fi
17584 else
17585 ac_cpp_err=yes
17586 fi
17587 if test -z "$ac_cpp_err"; then
17588 ac_header_preproc=yes
17589 else
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 ac_header_preproc=no
17594 fi
17595 rm -f conftest.err conftest.$ac_ext
17596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17597 echo "${ECHO_T}$ac_header_preproc" >&6
17598
17599 # So? What about this header?
17600 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17601 yes:no: )
17602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17606 ac_header_preproc=yes
17607 ;;
17608 no:yes:* )
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17621 (
17622 cat <<\_ASBOX
17623 ## ----------------------------------------- ##
17624 ## Report this to wx-dev@lists.wxwidgets.org ##
17625 ## ----------------------------------------- ##
17626 _ASBOX
17627 ) |
17628 sed "s/^/$as_me: WARNING: /" >&2
17629 ;;
17630 esac
17631 echo "$as_me:$LINENO: checking for $ac_header" >&5
17632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 else
17636 eval "$as_ac_Header=\$ac_header_preproc"
17637 fi
17638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17640
17641 fi
17642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17643 cat >>confdefs.h <<_ACEOF
17644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17645 _ACEOF
17646
17647 fi
17648
17649 done
17650
17651 fi
17652
17653
17654 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17655 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17656 if test "${ac_cv_c_const+set}" = set; then
17657 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 else
17659 cat >conftest.$ac_ext <<_ACEOF
17660 /* confdefs.h. */
17661 _ACEOF
17662 cat confdefs.h >>conftest.$ac_ext
17663 cat >>conftest.$ac_ext <<_ACEOF
17664 /* end confdefs.h. */
17665
17666 int
17667 main ()
17668 {
17669 /* FIXME: Include the comments suggested by Paul. */
17670 #ifndef __cplusplus
17671 /* Ultrix mips cc rejects this. */
17672 typedef int charset[2];
17673 const charset x;
17674 /* SunOS 4.1.1 cc rejects this. */
17675 char const *const *ccp;
17676 char **p;
17677 /* NEC SVR4.0.2 mips cc rejects this. */
17678 struct point {int x, y;};
17679 static struct point const zero = {0,0};
17680 /* AIX XL C 1.02.0.0 rejects this.
17681 It does not let you subtract one const X* pointer from another in
17682 an arm of an if-expression whose if-part is not a constant
17683 expression */
17684 const char *g = "string";
17685 ccp = &g + (g ? g-g : 0);
17686 /* HPUX 7.0 cc rejects these. */
17687 ++ccp;
17688 p = (char**) ccp;
17689 ccp = (char const *const *) p;
17690 { /* SCO 3.2v4 cc rejects this. */
17691 char *t;
17692 char const *s = 0 ? (char *) 0 : (char const *) 0;
17693
17694 *t++ = 0;
17695 }
17696 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17697 int x[] = {25, 17};
17698 const int *foo = &x[0];
17699 ++foo;
17700 }
17701 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17702 typedef const int *iptr;
17703 iptr p = 0;
17704 ++p;
17705 }
17706 { /* AIX XL C 1.02.0.0 rejects this saying
17707 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17708 struct s { int j; const int *ap[3]; };
17709 struct s *b; b->j = 5;
17710 }
17711 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17712 const int foo = 10;
17713 }
17714 #endif
17715
17716 ;
17717 return 0;
17718 }
17719 _ACEOF
17720 rm -f conftest.$ac_objext
17721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17722 (eval $ac_compile) 2>conftest.er1
17723 ac_status=$?
17724 grep -v '^ *+' conftest.er1 >conftest.err
17725 rm -f conftest.er1
17726 cat conftest.err >&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); } &&
17729 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17731 (eval $ac_try) 2>&5
17732 ac_status=$?
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); }; } &&
17735 { ac_try='test -s conftest.$ac_objext'
17736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17737 (eval $ac_try) 2>&5
17738 ac_status=$?
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); }; }; then
17741 ac_cv_c_const=yes
17742 else
17743 echo "$as_me: failed program was:" >&5
17744 sed 's/^/| /' conftest.$ac_ext >&5
17745
17746 ac_cv_c_const=no
17747 fi
17748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17749 fi
17750 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17751 echo "${ECHO_T}$ac_cv_c_const" >&6
17752 if test $ac_cv_c_const = no; then
17753
17754 cat >>confdefs.h <<\_ACEOF
17755 #define const
17756 _ACEOF
17757
17758 fi
17759
17760 echo "$as_me:$LINENO: checking for inline" >&5
17761 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17762 if test "${ac_cv_c_inline+set}" = set; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 else
17765 ac_cv_c_inline=no
17766 for ac_kw in inline __inline__ __inline; do
17767 cat >conftest.$ac_ext <<_ACEOF
17768 /* confdefs.h. */
17769 _ACEOF
17770 cat confdefs.h >>conftest.$ac_ext
17771 cat >>conftest.$ac_ext <<_ACEOF
17772 /* end confdefs.h. */
17773 #ifndef __cplusplus
17774 typedef int foo_t;
17775 static $ac_kw foo_t static_foo () {return 0; }
17776 $ac_kw foo_t foo () {return 0; }
17777 #endif
17778
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782 (eval $ac_compile) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17791 (eval $ac_try) 2>&5
17792 ac_status=$?
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; } &&
17795 { ac_try='test -s conftest.$ac_objext'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; }; then
17801 ac_cv_c_inline=$ac_kw; break
17802 else
17803 echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17805
17806 fi
17807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17808 done
17809
17810 fi
17811 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17812 echo "${ECHO_T}$ac_cv_c_inline" >&6
17813
17814
17815 case $ac_cv_c_inline in
17816 inline | yes) ;;
17817 *)
17818 case $ac_cv_c_inline in
17819 no) ac_val=;;
17820 *) ac_val=$ac_cv_c_inline;;
17821 esac
17822 cat >>confdefs.h <<_ACEOF
17823 #ifndef __cplusplus
17824 #define inline $ac_val
17825 #endif
17826 _ACEOF
17827 ;;
17828 esac
17829
17830
17831 echo "$as_me:$LINENO: checking for char" >&5
17832 echo $ECHO_N "checking for char... $ECHO_C" >&6
17833 if test "${ac_cv_type_char+set}" = set; then
17834 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 else
17836 cat >conftest.$ac_ext <<_ACEOF
17837 /* confdefs.h. */
17838 _ACEOF
17839 cat confdefs.h >>conftest.$ac_ext
17840 cat >>conftest.$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17842 $ac_includes_default
17843 int
17844 main ()
17845 {
17846 if ((char *) 0)
17847 return 0;
17848 if (sizeof (char))
17849 return 0;
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 rm -f conftest.$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17857 ac_status=$?
17858 grep -v '^ *+' conftest.er1 >conftest.err
17859 rm -f conftest.er1
17860 cat conftest.err >&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17866 ac_status=$?
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17872 ac_status=$?
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17875 ac_cv_type_char=yes
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_cv_type_char=no
17881 fi
17882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 fi
17884 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17885 echo "${ECHO_T}$ac_cv_type_char" >&6
17886
17887 echo "$as_me:$LINENO: checking size of char" >&5
17888 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17889 if test "${ac_cv_sizeof_char+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17891 else
17892 if test "$ac_cv_type_char" = yes; then
17893 # The cast to unsigned long works around a bug in the HP C Compiler
17894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17896 # This bug is HP SR number 8606223364.
17897 if test "$cross_compiling" = yes; then
17898 # Depending upon the size, compute the lo and hi bounds.
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 $ac_includes_default
17906 int
17907 main ()
17908 {
17909 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17910 test_array [0] = 0
17911
17912 ;
17913 return 0;
17914 }
17915 _ACEOF
17916 rm -f conftest.$ac_objext
17917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17918 (eval $ac_compile) 2>conftest.er1
17919 ac_status=$?
17920 grep -v '^ *+' conftest.er1 >conftest.err
17921 rm -f conftest.er1
17922 cat conftest.err >&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } &&
17925 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 (eval $ac_try) 2>&5
17928 ac_status=$?
17929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17930 (exit $ac_status); }; } &&
17931 { ac_try='test -s conftest.$ac_objext'
17932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17933 (eval $ac_try) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; }; then
17937 ac_lo=0 ac_mid=0
17938 while :; do
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 $ac_includes_default
17946 int
17947 main ()
17948 {
17949 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17950 test_array [0] = 0
17951
17952 ;
17953 return 0;
17954 }
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17958 (eval $ac_compile) 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } &&
17965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17968 ac_status=$?
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest.$ac_objext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 ac_hi=$ac_mid; break
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 ac_lo=`expr $ac_mid + 1`
17983 if test $ac_lo -le $ac_mid; then
17984 ac_lo= ac_hi=
17985 break
17986 fi
17987 ac_mid=`expr 2 '*' $ac_mid + 1`
17988 fi
17989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17990 done
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
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 $ac_includes_default
18002 int
18003 main ()
18004 {
18005 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18006 test_array [0] = 0
18007
18008 ;
18009 return 0;
18010 }
18011 _ACEOF
18012 rm -f conftest.$ac_objext
18013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18014 (eval $ac_compile) 2>conftest.er1
18015 ac_status=$?
18016 grep -v '^ *+' conftest.er1 >conftest.err
18017 rm -f conftest.er1
18018 cat conftest.err >&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); } &&
18021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18023 (eval $ac_try) 2>&5
18024 ac_status=$?
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try='test -s conftest.$ac_objext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 ac_hi=-1 ac_mid=-1
18034 while :; do
18035 cat >conftest.$ac_ext <<_ACEOF
18036 /* confdefs.h. */
18037 _ACEOF
18038 cat confdefs.h >>conftest.$ac_ext
18039 cat >>conftest.$ac_ext <<_ACEOF
18040 /* end confdefs.h. */
18041 $ac_includes_default
18042 int
18043 main ()
18044 {
18045 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18046 test_array [0] = 0
18047
18048 ;
18049 return 0;
18050 }
18051 _ACEOF
18052 rm -f conftest.$ac_objext
18053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>conftest.er1
18055 ac_status=$?
18056 grep -v '^ *+' conftest.er1 >conftest.err
18057 rm -f conftest.er1
18058 cat conftest.err >&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } &&
18061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_lo=$ac_mid; break
18074 else
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18077
18078 ac_hi=`expr '(' $ac_mid ')' - 1`
18079 if test $ac_mid -le $ac_hi; then
18080 ac_lo= ac_hi=
18081 break
18082 fi
18083 ac_mid=`expr 2 '*' $ac_mid`
18084 fi
18085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18086 done
18087 else
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18090
18091 ac_lo= ac_hi=
18092 fi
18093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18094 fi
18095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18096 # Binary search between lo and hi bounds.
18097 while test "x$ac_lo" != "x$ac_hi"; do
18098 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18106 int
18107 main ()
18108 {
18109 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18110 test_array [0] = 0
18111
18112 ;
18113 return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118 (eval $ac_compile) 2>conftest.er1
18119 ac_status=$?
18120 grep -v '^ *+' conftest.er1 >conftest.err
18121 rm -f conftest.er1
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } &&
18125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18127 (eval $ac_try) 2>&5
18128 ac_status=$?
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); }; } &&
18131 { ac_try='test -s conftest.$ac_objext'
18132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18133 (eval $ac_try) 2>&5
18134 ac_status=$?
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); }; }; then
18137 ac_hi=$ac_mid
18138 else
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18141
18142 ac_lo=`expr '(' $ac_mid ')' + 1`
18143 fi
18144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18145 done
18146 case $ac_lo in
18147 ?*) ac_cv_sizeof_char=$ac_lo;;
18148 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18149 See \`config.log' for more details." >&5
18150 echo "$as_me: error: cannot compute sizeof (char), 77
18151 See \`config.log' for more details." >&2;}
18152 { (exit 1); exit 1; }; } ;;
18153 esac
18154 else
18155 if test "$cross_compiling" = yes; then
18156 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18157 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18158 { (exit 1); exit 1; }; }
18159 else
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 $ac_includes_default
18167 long longval () { return (long) (sizeof (char)); }
18168 unsigned long ulongval () { return (long) (sizeof (char)); }
18169 #include <stdio.h>
18170 #include <stdlib.h>
18171 int
18172 main ()
18173 {
18174
18175 FILE *f = fopen ("conftest.val", "w");
18176 if (! f)
18177 exit (1);
18178 if (((long) (sizeof (char))) < 0)
18179 {
18180 long i = longval ();
18181 if (i != ((long) (sizeof (char))))
18182 exit (1);
18183 fprintf (f, "%ld\n", i);
18184 }
18185 else
18186 {
18187 unsigned long i = ulongval ();
18188 if (i != ((long) (sizeof (char))))
18189 exit (1);
18190 fprintf (f, "%lu\n", i);
18191 }
18192 exit (ferror (f) || fclose (f) != 0);
18193
18194 ;
18195 return 0;
18196 }
18197 _ACEOF
18198 rm -f conftest$ac_exeext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18200 (eval $ac_link) 2>&5
18201 ac_status=$?
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 ac_cv_sizeof_char=`cat conftest.val`
18210 else
18211 echo "$as_me: program exited with status $ac_status" >&5
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 ( exit $ac_status )
18216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18217 See \`config.log' for more details." >&5
18218 echo "$as_me: error: cannot compute sizeof (char), 77
18219 See \`config.log' for more details." >&2;}
18220 { (exit 1); exit 1; }; }
18221 fi
18222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18223 fi
18224 fi
18225 rm -f conftest.val
18226 else
18227 ac_cv_sizeof_char=0
18228 fi
18229 fi
18230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18231 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18232 cat >>confdefs.h <<_ACEOF
18233 #define SIZEOF_CHAR $ac_cv_sizeof_char
18234 _ACEOF
18235
18236
18237 echo "$as_me:$LINENO: checking for short" >&5
18238 echo $ECHO_N "checking for short... $ECHO_C" >&6
18239 if test "${ac_cv_type_short+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 $ac_includes_default
18249 int
18250 main ()
18251 {
18252 if ((short *) 0)
18253 return 0;
18254 if (sizeof (short))
18255 return 0;
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext
18261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18262 (eval $ac_compile) 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } &&
18269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18272 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; } &&
18275 { ac_try='test -s conftest.$ac_objext'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; }; then
18281 ac_cv_type_short=yes
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18285
18286 ac_cv_type_short=no
18287 fi
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 fi
18290 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18291 echo "${ECHO_T}$ac_cv_type_short" >&6
18292
18293 echo "$as_me:$LINENO: checking size of short" >&5
18294 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18295 if test "${ac_cv_sizeof_short+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 if test "$ac_cv_type_short" = yes; then
18299 # The cast to unsigned long works around a bug in the HP C Compiler
18300 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18301 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18302 # This bug is HP SR number 8606223364.
18303 if test "$cross_compiling" = yes; then
18304 # Depending upon the size, compute the lo and hi bounds.
18305 cat >conftest.$ac_ext <<_ACEOF
18306 /* confdefs.h. */
18307 _ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18311 $ac_includes_default
18312 int
18313 main ()
18314 {
18315 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18316 test_array [0] = 0
18317
18318 ;
18319 return 0;
18320 }
18321 _ACEOF
18322 rm -f conftest.$ac_objext
18323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18324 (eval $ac_compile) 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } &&
18331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try='test -s conftest.$ac_objext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18340 ac_status=$?
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 ac_lo=0 ac_mid=0
18344 while :; do
18345 cat >conftest.$ac_ext <<_ACEOF
18346 /* confdefs.h. */
18347 _ACEOF
18348 cat confdefs.h >>conftest.$ac_ext
18349 cat >>conftest.$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18351 $ac_includes_default
18352 int
18353 main ()
18354 {
18355 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18356 test_array [0] = 0
18357
18358 ;
18359 return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18365 ac_status=$?
18366 grep -v '^ *+' conftest.er1 >conftest.err
18367 rm -f conftest.er1
18368 cat conftest.err >&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18373 (eval $ac_try) 2>&5
18374 ac_status=$?
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); }; } &&
18377 { ac_try='test -s conftest.$ac_objext'
18378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18379 (eval $ac_try) 2>&5
18380 ac_status=$?
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; }; then
18383 ac_hi=$ac_mid; break
18384 else
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18387
18388 ac_lo=`expr $ac_mid + 1`
18389 if test $ac_lo -le $ac_mid; then
18390 ac_lo= ac_hi=
18391 break
18392 fi
18393 ac_mid=`expr 2 '*' $ac_mid + 1`
18394 fi
18395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18396 done
18397 else
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.$ac_ext >&5
18400
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 int
18409 main ()
18410 {
18411 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18412 test_array [0] = 0
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } &&
18427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; } &&
18433 { ac_try='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_hi=-1 ac_mid=-1
18440 while :; do
18441 cat >conftest.$ac_ext <<_ACEOF
18442 /* confdefs.h. */
18443 _ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447 $ac_includes_default
18448 int
18449 main ()
18450 {
18451 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18452 test_array [0] = 0
18453
18454 ;
18455 return 0;
18456 }
18457 _ACEOF
18458 rm -f conftest.$ac_objext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18460 (eval $ac_compile) 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } &&
18467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18470 ac_status=$?
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; } &&
18473 { ac_try='test -s conftest.$ac_objext'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18476 ac_status=$?
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 ac_lo=$ac_mid; break
18480 else
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18483
18484 ac_hi=`expr '(' $ac_mid ')' - 1`
18485 if test $ac_mid -le $ac_hi; then
18486 ac_lo= ac_hi=
18487 break
18488 fi
18489 ac_mid=`expr 2 '*' $ac_mid`
18490 fi
18491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18492 done
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_lo= ac_hi=
18498 fi
18499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18500 fi
18501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18502 # Binary search between lo and hi bounds.
18503 while test "x$ac_lo" != "x$ac_hi"; do
18504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 $ac_includes_default
18512 int
18513 main ()
18514 {
18515 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18516 test_array [0] = 0
18517
18518 ;
18519 return 0;
18520 }
18521 _ACEOF
18522 rm -f conftest.$ac_objext
18523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18524 (eval $ac_compile) 2>conftest.er1
18525 ac_status=$?
18526 grep -v '^ *+' conftest.er1 >conftest.err
18527 rm -f conftest.er1
18528 cat conftest.err >&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } &&
18531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18534 ac_status=$?
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; } &&
18537 { ac_try='test -s conftest.$ac_objext'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 ac_hi=$ac_mid
18544 else
18545 echo "$as_me: failed program was:" >&5
18546 sed 's/^/| /' conftest.$ac_ext >&5
18547
18548 ac_lo=`expr '(' $ac_mid ')' + 1`
18549 fi
18550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18551 done
18552 case $ac_lo in
18553 ?*) ac_cv_sizeof_short=$ac_lo;;
18554 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18555 See \`config.log' for more details." >&5
18556 echo "$as_me: error: cannot compute sizeof (short), 77
18557 See \`config.log' for more details." >&2;}
18558 { (exit 1); exit 1; }; } ;;
18559 esac
18560 else
18561 if test "$cross_compiling" = yes; then
18562 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18563 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18564 { (exit 1); exit 1; }; }
18565 else
18566 cat >conftest.$ac_ext <<_ACEOF
18567 /* confdefs.h. */
18568 _ACEOF
18569 cat confdefs.h >>conftest.$ac_ext
18570 cat >>conftest.$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572 $ac_includes_default
18573 long longval () { return (long) (sizeof (short)); }
18574 unsigned long ulongval () { return (long) (sizeof (short)); }
18575 #include <stdio.h>
18576 #include <stdlib.h>
18577 int
18578 main ()
18579 {
18580
18581 FILE *f = fopen ("conftest.val", "w");
18582 if (! f)
18583 exit (1);
18584 if (((long) (sizeof (short))) < 0)
18585 {
18586 long i = longval ();
18587 if (i != ((long) (sizeof (short))))
18588 exit (1);
18589 fprintf (f, "%ld\n", i);
18590 }
18591 else
18592 {
18593 unsigned long i = ulongval ();
18594 if (i != ((long) (sizeof (short))))
18595 exit (1);
18596 fprintf (f, "%lu\n", i);
18597 }
18598 exit (ferror (f) || fclose (f) != 0);
18599
18600 ;
18601 return 0;
18602 }
18603 _ACEOF
18604 rm -f conftest$ac_exeext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18606 (eval $ac_link) 2>&5
18607 ac_status=$?
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 ac_cv_sizeof_short=`cat conftest.val`
18616 else
18617 echo "$as_me: program exited with status $ac_status" >&5
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18620
18621 ( exit $ac_status )
18622 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18623 See \`config.log' for more details." >&5
18624 echo "$as_me: error: cannot compute sizeof (short), 77
18625 See \`config.log' for more details." >&2;}
18626 { (exit 1); exit 1; }; }
18627 fi
18628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18629 fi
18630 fi
18631 rm -f conftest.val
18632 else
18633 ac_cv_sizeof_short=0
18634 fi
18635 fi
18636 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18637 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18638 cat >>confdefs.h <<_ACEOF
18639 #define SIZEOF_SHORT $ac_cv_sizeof_short
18640 _ACEOF
18641
18642
18643 echo "$as_me:$LINENO: checking for void *" >&5
18644 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18645 if test "${ac_cv_type_void_p+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 $ac_includes_default
18655 int
18656 main ()
18657 {
18658 if ((void * *) 0)
18659 return 0;
18660 if (sizeof (void *))
18661 return 0;
18662 ;
18663 return 0;
18664 }
18665 _ACEOF
18666 rm -f conftest.$ac_objext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18678 ac_status=$?
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; } &&
18681 { ac_try='test -s conftest.$ac_objext'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 ac_cv_type_void_p=yes
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 ac_cv_type_void_p=no
18693 fi
18694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 fi
18696 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18697 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18698
18699 echo "$as_me:$LINENO: checking size of void *" >&5
18700 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18701 if test "${ac_cv_sizeof_void_p+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 else
18704 if test "$ac_cv_type_void_p" = yes; then
18705 # The cast to unsigned long works around a bug in the HP C Compiler
18706 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18707 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18708 # This bug is HP SR number 8606223364.
18709 if test "$cross_compiling" = yes; then
18710 # Depending upon the size, compute the lo and hi bounds.
18711 cat >conftest.$ac_ext <<_ACEOF
18712 /* confdefs.h. */
18713 _ACEOF
18714 cat confdefs.h >>conftest.$ac_ext
18715 cat >>conftest.$ac_ext <<_ACEOF
18716 /* end confdefs.h. */
18717 $ac_includes_default
18718 int
18719 main ()
18720 {
18721 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18722 test_array [0] = 0
18723
18724 ;
18725 return 0;
18726 }
18727 _ACEOF
18728 rm -f conftest.$ac_objext
18729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18730 (eval $ac_compile) 2>conftest.er1
18731 ac_status=$?
18732 grep -v '^ *+' conftest.er1 >conftest.err
18733 rm -f conftest.er1
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } &&
18737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try='test -s conftest.$ac_objext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_lo=0 ac_mid=0
18750 while :; do
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18757 $ac_includes_default
18758 int
18759 main ()
18760 {
18761 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18762 test_array [0] = 0
18763
18764 ;
18765 return 0;
18766 }
18767 _ACEOF
18768 rm -f conftest.$ac_objext
18769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18770 (eval $ac_compile) 2>conftest.er1
18771 ac_status=$?
18772 grep -v '^ *+' conftest.er1 >conftest.err
18773 rm -f conftest.er1
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } &&
18777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18786 ac_status=$?
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 ac_hi=$ac_mid; break
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 ac_lo=`expr $ac_mid + 1`
18795 if test $ac_lo -le $ac_mid; then
18796 ac_lo= ac_hi=
18797 break
18798 fi
18799 ac_mid=`expr 2 '*' $ac_mid + 1`
18800 fi
18801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18802 done
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18806
18807 cat >conftest.$ac_ext <<_ACEOF
18808 /* confdefs.h. */
18809 _ACEOF
18810 cat confdefs.h >>conftest.$ac_ext
18811 cat >>conftest.$ac_ext <<_ACEOF
18812 /* end confdefs.h. */
18813 $ac_includes_default
18814 int
18815 main ()
18816 {
18817 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18818 test_array [0] = 0
18819
18820 ;
18821 return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18826 (eval $ac_compile) 2>conftest.er1
18827 ac_status=$?
18828 grep -v '^ *+' conftest.er1 >conftest.err
18829 rm -f conftest.er1
18830 cat conftest.err >&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); } &&
18833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18835 (eval $ac_try) 2>&5
18836 ac_status=$?
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); }; } &&
18839 { ac_try='test -s conftest.$ac_objext'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18842 ac_status=$?
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; }; then
18845 ac_hi=-1 ac_mid=-1
18846 while :; do
18847 cat >conftest.$ac_ext <<_ACEOF
18848 /* confdefs.h. */
18849 _ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 $ac_includes_default
18854 int
18855 main ()
18856 {
18857 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18858 test_array [0] = 0
18859
18860 ;
18861 return 0;
18862 }
18863 _ACEOF
18864 rm -f conftest.$ac_objext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18866 (eval $ac_compile) 2>conftest.er1
18867 ac_status=$?
18868 grep -v '^ *+' conftest.er1 >conftest.err
18869 rm -f conftest.er1
18870 cat conftest.err >&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } &&
18873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; } &&
18879 { ac_try='test -s conftest.$ac_objext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_lo=$ac_mid; break
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_hi=`expr '(' $ac_mid ')' - 1`
18891 if test $ac_mid -le $ac_hi; then
18892 ac_lo= ac_hi=
18893 break
18894 fi
18895 ac_mid=`expr 2 '*' $ac_mid`
18896 fi
18897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18898 done
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 ac_lo= ac_hi=
18904 fi
18905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18906 fi
18907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18908 # Binary search between lo and hi bounds.
18909 while test "x$ac_lo" != "x$ac_hi"; do
18910 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18918 int
18919 main ()
18920 {
18921 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18922 test_array [0] = 0
18923
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_hi=$ac_mid
18950 else
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18953
18954 ac_lo=`expr '(' $ac_mid ')' + 1`
18955 fi
18956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18957 done
18958 case $ac_lo in
18959 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18960 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18961 See \`config.log' for more details." >&5
18962 echo "$as_me: error: cannot compute sizeof (void *), 77
18963 See \`config.log' for more details." >&2;}
18964 { (exit 1); exit 1; }; } ;;
18965 esac
18966 else
18967 if test "$cross_compiling" = yes; then
18968 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18969 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18970 { (exit 1); exit 1; }; }
18971 else
18972 cat >conftest.$ac_ext <<_ACEOF
18973 /* confdefs.h. */
18974 _ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 $ac_includes_default
18979 long longval () { return (long) (sizeof (void *)); }
18980 unsigned long ulongval () { return (long) (sizeof (void *)); }
18981 #include <stdio.h>
18982 #include <stdlib.h>
18983 int
18984 main ()
18985 {
18986
18987 FILE *f = fopen ("conftest.val", "w");
18988 if (! f)
18989 exit (1);
18990 if (((long) (sizeof (void *))) < 0)
18991 {
18992 long i = longval ();
18993 if (i != ((long) (sizeof (void *))))
18994 exit (1);
18995 fprintf (f, "%ld\n", i);
18996 }
18997 else
18998 {
18999 unsigned long i = ulongval ();
19000 if (i != ((long) (sizeof (void *))))
19001 exit (1);
19002 fprintf (f, "%lu\n", i);
19003 }
19004 exit (ferror (f) || fclose (f) != 0);
19005
19006 ;
19007 return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012 (eval $ac_link) 2>&5
19013 ac_status=$?
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19021 ac_cv_sizeof_void_p=`cat conftest.val`
19022 else
19023 echo "$as_me: program exited with status $ac_status" >&5
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19026
19027 ( exit $ac_status )
19028 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19029 See \`config.log' for more details." >&5
19030 echo "$as_me: error: cannot compute sizeof (void *), 77
19031 See \`config.log' for more details." >&2;}
19032 { (exit 1); exit 1; }; }
19033 fi
19034 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19035 fi
19036 fi
19037 rm -f conftest.val
19038 else
19039 ac_cv_sizeof_void_p=0
19040 fi
19041 fi
19042 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19043 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19044 cat >>confdefs.h <<_ACEOF
19045 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19046 _ACEOF
19047
19048
19049 echo "$as_me:$LINENO: checking for int" >&5
19050 echo $ECHO_N "checking for int... $ECHO_C" >&6
19051 if test "${ac_cv_type_int+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 $ac_includes_default
19061 int
19062 main ()
19063 {
19064 if ((int *) 0)
19065 return 0;
19066 if (sizeof (int))
19067 return 0;
19068 ;
19069 return 0;
19070 }
19071 _ACEOF
19072 rm -f conftest.$ac_objext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19074 (eval $ac_compile) 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } &&
19081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19084 ac_status=$?
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; } &&
19087 { ac_try='test -s conftest.$ac_objext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 ac_cv_type_int=yes
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19097
19098 ac_cv_type_int=no
19099 fi
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 fi
19102 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19103 echo "${ECHO_T}$ac_cv_type_int" >&6
19104
19105 echo "$as_me:$LINENO: checking size of int" >&5
19106 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19107 if test "${ac_cv_sizeof_int+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 else
19110 if test "$ac_cv_type_int" = yes; then
19111 # The cast to unsigned long works around a bug in the HP C Compiler
19112 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19113 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19114 # This bug is HP SR number 8606223364.
19115 if test "$cross_compiling" = yes; then
19116 # Depending upon the size, compute the lo and hi bounds.
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 $ac_includes_default
19124 int
19125 main ()
19126 {
19127 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19128 test_array [0] = 0
19129
19130 ;
19131 return 0;
19132 }
19133 _ACEOF
19134 rm -f conftest.$ac_objext
19135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19136 (eval $ac_compile) 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } &&
19143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19146 ac_status=$?
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; } &&
19149 { ac_try='test -s conftest.$ac_objext'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; }; then
19155 ac_lo=0 ac_mid=0
19156 while :; do
19157 cat >conftest.$ac_ext <<_ACEOF
19158 /* confdefs.h. */
19159 _ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19164 int
19165 main ()
19166 {
19167 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19168 test_array [0] = 0
19169
19170 ;
19171 return 0;
19172 }
19173 _ACEOF
19174 rm -f conftest.$ac_objext
19175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19176 (eval $ac_compile) 2>conftest.er1
19177 ac_status=$?
19178 grep -v '^ *+' conftest.er1 >conftest.err
19179 rm -f conftest.er1
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; } &&
19189 { ac_try='test -s conftest.$ac_objext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_hi=$ac_mid; break
19196 else
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19199
19200 ac_lo=`expr $ac_mid + 1`
19201 if test $ac_lo -le $ac_mid; then
19202 ac_lo= ac_hi=
19203 break
19204 fi
19205 ac_mid=`expr 2 '*' $ac_mid + 1`
19206 fi
19207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19208 done
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19212
19213 cat >conftest.$ac_ext <<_ACEOF
19214 /* confdefs.h. */
19215 _ACEOF
19216 cat confdefs.h >>conftest.$ac_ext
19217 cat >>conftest.$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 $ac_includes_default
19220 int
19221 main ()
19222 {
19223 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19224 test_array [0] = 0
19225
19226 ;
19227 return 0;
19228 }
19229 _ACEOF
19230 rm -f conftest.$ac_objext
19231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19232 (eval $ac_compile) 2>conftest.er1
19233 ac_status=$?
19234 grep -v '^ *+' conftest.er1 >conftest.err
19235 rm -f conftest.er1
19236 cat conftest.err >&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_hi=-1 ac_mid=-1
19252 while :; do
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 $ac_includes_default
19260 int
19261 main ()
19262 {
19263 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19264 test_array [0] = 0
19265
19266 ;
19267 return 0;
19268 }
19269 _ACEOF
19270 rm -f conftest.$ac_objext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19272 (eval $ac_compile) 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19282 ac_status=$?
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; } &&
19285 { ac_try='test -s conftest.$ac_objext'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; }; then
19291 ac_lo=$ac_mid; break
19292 else
19293 echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.$ac_ext >&5
19295
19296 ac_hi=`expr '(' $ac_mid ')' - 1`
19297 if test $ac_mid -le $ac_hi; then
19298 ac_lo= ac_hi=
19299 break
19300 fi
19301 ac_mid=`expr 2 '*' $ac_mid`
19302 fi
19303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19304 done
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 ac_lo= ac_hi=
19310 fi
19311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19312 fi
19313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19314 # Binary search between lo and hi bounds.
19315 while test "x$ac_lo" != "x$ac_hi"; do
19316 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19317 cat >conftest.$ac_ext <<_ACEOF
19318 /* confdefs.h. */
19319 _ACEOF
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19324 int
19325 main ()
19326 {
19327 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19328 test_array [0] = 0
19329
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19345 (eval $ac_try) 2>&5
19346 ac_status=$?
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355 ac_hi=$ac_mid
19356 else
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19359
19360 ac_lo=`expr '(' $ac_mid ')' + 1`
19361 fi
19362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19363 done
19364 case $ac_lo in
19365 ?*) ac_cv_sizeof_int=$ac_lo;;
19366 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19367 See \`config.log' for more details." >&5
19368 echo "$as_me: error: cannot compute sizeof (int), 77
19369 See \`config.log' for more details." >&2;}
19370 { (exit 1); exit 1; }; } ;;
19371 esac
19372 else
19373 if test "$cross_compiling" = yes; then
19374 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19375 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19376 { (exit 1); exit 1; }; }
19377 else
19378 cat >conftest.$ac_ext <<_ACEOF
19379 /* confdefs.h. */
19380 _ACEOF
19381 cat confdefs.h >>conftest.$ac_ext
19382 cat >>conftest.$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19384 $ac_includes_default
19385 long longval () { return (long) (sizeof (int)); }
19386 unsigned long ulongval () { return (long) (sizeof (int)); }
19387 #include <stdio.h>
19388 #include <stdlib.h>
19389 int
19390 main ()
19391 {
19392
19393 FILE *f = fopen ("conftest.val", "w");
19394 if (! f)
19395 exit (1);
19396 if (((long) (sizeof (int))) < 0)
19397 {
19398 long i = longval ();
19399 if (i != ((long) (sizeof (int))))
19400 exit (1);
19401 fprintf (f, "%ld\n", i);
19402 }
19403 else
19404 {
19405 unsigned long i = ulongval ();
19406 if (i != ((long) (sizeof (int))))
19407 exit (1);
19408 fprintf (f, "%lu\n", i);
19409 }
19410 exit (ferror (f) || fclose (f) != 0);
19411
19412 ;
19413 return 0;
19414 }
19415 _ACEOF
19416 rm -f conftest$ac_exeext
19417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19418 (eval $ac_link) 2>&5
19419 ac_status=$?
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 ac_cv_sizeof_int=`cat conftest.val`
19428 else
19429 echo "$as_me: program exited with status $ac_status" >&5
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19432
19433 ( exit $ac_status )
19434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19435 See \`config.log' for more details." >&5
19436 echo "$as_me: error: cannot compute sizeof (int), 77
19437 See \`config.log' for more details." >&2;}
19438 { (exit 1); exit 1; }; }
19439 fi
19440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19441 fi
19442 fi
19443 rm -f conftest.val
19444 else
19445 ac_cv_sizeof_int=0
19446 fi
19447 fi
19448 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19449 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19450 cat >>confdefs.h <<_ACEOF
19451 #define SIZEOF_INT $ac_cv_sizeof_int
19452 _ACEOF
19453
19454
19455 echo "$as_me:$LINENO: checking for long" >&5
19456 echo $ECHO_N "checking for long... $ECHO_C" >&6
19457 if test "${ac_cv_type_long+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 else
19460 cat >conftest.$ac_ext <<_ACEOF
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 $ac_includes_default
19467 int
19468 main ()
19469 {
19470 if ((long *) 0)
19471 return 0;
19472 if (sizeof (long))
19473 return 0;
19474 ;
19475 return 0;
19476 }
19477 _ACEOF
19478 rm -f conftest.$ac_objext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19480 (eval $ac_compile) 2>conftest.er1
19481 ac_status=$?
19482 grep -v '^ *+' conftest.er1 >conftest.err
19483 rm -f conftest.er1
19484 cat conftest.err >&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } &&
19487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19490 ac_status=$?
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; } &&
19493 { ac_try='test -s conftest.$ac_objext'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19496 ac_status=$?
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; }; then
19499 ac_cv_type_long=yes
19500 else
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.$ac_ext >&5
19503
19504 ac_cv_type_long=no
19505 fi
19506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19507 fi
19508 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19509 echo "${ECHO_T}$ac_cv_type_long" >&6
19510
19511 echo "$as_me:$LINENO: checking size of long" >&5
19512 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19513 if test "${ac_cv_sizeof_long+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516 if test "$ac_cv_type_long" = yes; then
19517 # The cast to unsigned long works around a bug in the HP C Compiler
19518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19520 # This bug is HP SR number 8606223364.
19521 if test "$cross_compiling" = yes; then
19522 # Depending upon the size, compute the lo and hi bounds.
19523 cat >conftest.$ac_ext <<_ACEOF
19524 /* confdefs.h. */
19525 _ACEOF
19526 cat confdefs.h >>conftest.$ac_ext
19527 cat >>conftest.$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19529 $ac_includes_default
19530 int
19531 main ()
19532 {
19533 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19534 test_array [0] = 0
19535
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; } &&
19555 { ac_try='test -s conftest.$ac_objext'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19558 ac_status=$?
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; }; then
19561 ac_lo=0 ac_mid=0
19562 while :; do
19563 cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h. */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h. */
19569 $ac_includes_default
19570 int
19571 main ()
19572 {
19573 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19574 test_array [0] = 0
19575
19576 ;
19577 return 0;
19578 }
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19582 (eval $ac_compile) 2>conftest.er1
19583 ac_status=$?
19584 grep -v '^ *+' conftest.er1 >conftest.err
19585 rm -f conftest.er1
19586 cat conftest.err >&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); } &&
19589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19592 ac_status=$?
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; } &&
19595 { ac_try='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19598 ac_status=$?
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 ac_hi=$ac_mid; break
19602 else
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19605
19606 ac_lo=`expr $ac_mid + 1`
19607 if test $ac_lo -le $ac_mid; then
19608 ac_lo= ac_hi=
19609 break
19610 fi
19611 ac_mid=`expr 2 '*' $ac_mid + 1`
19612 fi
19613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19614 done
19615 else
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19618
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19626 int
19627 main ()
19628 {
19629 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19630 test_array [0] = 0
19631
19632 ;
19633 return 0;
19634 }
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19638 (eval $ac_compile) 2>conftest.er1
19639 ac_status=$?
19640 grep -v '^ *+' conftest.er1 >conftest.err
19641 rm -f conftest.er1
19642 cat conftest.err >&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } &&
19645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19648 ac_status=$?
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; } &&
19651 { ac_try='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_hi=-1 ac_mid=-1
19658 while :; do
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 $ac_includes_default
19666 int
19667 main ()
19668 {
19669 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19670 test_array [0] = 0
19671
19672 ;
19673 return 0;
19674 }
19675 _ACEOF
19676 rm -f conftest.$ac_objext
19677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19678 (eval $ac_compile) 2>conftest.er1
19679 ac_status=$?
19680 grep -v '^ *+' conftest.er1 >conftest.err
19681 rm -f conftest.er1
19682 cat conftest.err >&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; } &&
19691 { ac_try='test -s conftest.$ac_objext'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; }; then
19697 ac_lo=$ac_mid; break
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19701
19702 ac_hi=`expr '(' $ac_mid ')' - 1`
19703 if test $ac_mid -le $ac_hi; then
19704 ac_lo= ac_hi=
19705 break
19706 fi
19707 ac_mid=`expr 2 '*' $ac_mid`
19708 fi
19709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19710 done
19711 else
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19714
19715 ac_lo= ac_hi=
19716 fi
19717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19718 fi
19719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19720 # Binary search between lo and hi bounds.
19721 while test "x$ac_lo" != "x$ac_hi"; do
19722 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 int
19731 main ()
19732 {
19733 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19734 test_array [0] = 0
19735
19736 ;
19737 return 0;
19738 }
19739 _ACEOF
19740 rm -f conftest.$ac_objext
19741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19742 (eval $ac_compile) 2>conftest.er1
19743 ac_status=$?
19744 grep -v '^ *+' conftest.er1 >conftest.err
19745 rm -f conftest.er1
19746 cat conftest.err >&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; } &&
19755 { ac_try='test -s conftest.$ac_objext'
19756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19757 (eval $ac_try) 2>&5
19758 ac_status=$?
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; }; then
19761 ac_hi=$ac_mid
19762 else
19763 echo "$as_me: failed program was:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19765
19766 ac_lo=`expr '(' $ac_mid ')' + 1`
19767 fi
19768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19769 done
19770 case $ac_lo in
19771 ?*) ac_cv_sizeof_long=$ac_lo;;
19772 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19773 See \`config.log' for more details." >&5
19774 echo "$as_me: error: cannot compute sizeof (long), 77
19775 See \`config.log' for more details." >&2;}
19776 { (exit 1); exit 1; }; } ;;
19777 esac
19778 else
19779 if test "$cross_compiling" = yes; then
19780 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19781 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19782 { (exit 1); exit 1; }; }
19783 else
19784 cat >conftest.$ac_ext <<_ACEOF
19785 /* confdefs.h. */
19786 _ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 $ac_includes_default
19791 long longval () { return (long) (sizeof (long)); }
19792 unsigned long ulongval () { return (long) (sizeof (long)); }
19793 #include <stdio.h>
19794 #include <stdlib.h>
19795 int
19796 main ()
19797 {
19798
19799 FILE *f = fopen ("conftest.val", "w");
19800 if (! f)
19801 exit (1);
19802 if (((long) (sizeof (long))) < 0)
19803 {
19804 long i = longval ();
19805 if (i != ((long) (sizeof (long))))
19806 exit (1);
19807 fprintf (f, "%ld\n", i);
19808 }
19809 else
19810 {
19811 unsigned long i = ulongval ();
19812 if (i != ((long) (sizeof (long))))
19813 exit (1);
19814 fprintf (f, "%lu\n", i);
19815 }
19816 exit (ferror (f) || fclose (f) != 0);
19817
19818 ;
19819 return 0;
19820 }
19821 _ACEOF
19822 rm -f conftest$ac_exeext
19823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19824 (eval $ac_link) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; }; then
19833 ac_cv_sizeof_long=`cat conftest.val`
19834 else
19835 echo "$as_me: program exited with status $ac_status" >&5
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19838
19839 ( exit $ac_status )
19840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19841 See \`config.log' for more details." >&5
19842 echo "$as_me: error: cannot compute sizeof (long), 77
19843 See \`config.log' for more details." >&2;}
19844 { (exit 1); exit 1; }; }
19845 fi
19846 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19847 fi
19848 fi
19849 rm -f conftest.val
19850 else
19851 ac_cv_sizeof_long=0
19852 fi
19853 fi
19854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19855 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19856 cat >>confdefs.h <<_ACEOF
19857 #define SIZEOF_LONG $ac_cv_sizeof_long
19858 _ACEOF
19859
19860
19861 echo "$as_me:$LINENO: checking for size_t" >&5
19862 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19863 if test "${ac_cv_type_size_t+set}" = set; then
19864 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 else
19866 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */
19868 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 $ac_includes_default
19873 int
19874 main ()
19875 {
19876 if ((size_t *) 0)
19877 return 0;
19878 if (sizeof (size_t))
19879 return 0;
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19886 (eval $ac_compile) 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } &&
19893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; } &&
19899 { ac_try='test -s conftest.$ac_objext'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19902 ac_status=$?
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; }; then
19905 ac_cv_type_size_t=yes
19906 else
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19909
19910 ac_cv_type_size_t=no
19911 fi
19912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19913 fi
19914 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19915 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19916
19917 echo "$as_me:$LINENO: checking size of size_t" >&5
19918 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19919 if test "${ac_cv_sizeof_size_t+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 else
19922 if test "$ac_cv_type_size_t" = yes; then
19923 # The cast to unsigned long works around a bug in the HP C Compiler
19924 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19925 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19926 # This bug is HP SR number 8606223364.
19927 if test "$cross_compiling" = yes; then
19928 # Depending upon the size, compute the lo and hi bounds.
19929 cat >conftest.$ac_ext <<_ACEOF
19930 /* confdefs.h. */
19931 _ACEOF
19932 cat confdefs.h >>conftest.$ac_ext
19933 cat >>conftest.$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 $ac_includes_default
19936 int
19937 main ()
19938 {
19939 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19940 test_array [0] = 0
19941
19942 ;
19943 return 0;
19944 }
19945 _ACEOF
19946 rm -f conftest.$ac_objext
19947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19948 (eval $ac_compile) 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } &&
19955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19958 ac_status=$?
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try='test -s conftest.$ac_objext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19964 ac_status=$?
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19967 ac_lo=0 ac_mid=0
19968 while :; do
19969 cat >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h. */
19971 _ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 $ac_includes_default
19976 int
19977 main ()
19978 {
19979 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19980 test_array [0] = 0
19981
19982 ;
19983 return 0;
19984 }
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19988 (eval $ac_compile) 2>conftest.er1
19989 ac_status=$?
19990 grep -v '^ *+' conftest.er1 >conftest.err
19991 rm -f conftest.er1
19992 cat conftest.err >&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); } &&
19995 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try='test -s conftest.$ac_objext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20004 ac_status=$?
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 ac_hi=$ac_mid; break
20008 else
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20011
20012 ac_lo=`expr $ac_mid + 1`
20013 if test $ac_lo -le $ac_mid; then
20014 ac_lo= ac_hi=
20015 break
20016 fi
20017 ac_mid=`expr 2 '*' $ac_mid + 1`
20018 fi
20019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20020 done
20021 else
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.$ac_ext >&5
20024
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 $ac_includes_default
20032 int
20033 main ()
20034 {
20035 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20036 test_array [0] = 0
20037
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 rm -f conftest.$ac_objext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20044 (eval $ac_compile) 2>conftest.er1
20045 ac_status=$?
20046 grep -v '^ *+' conftest.er1 >conftest.err
20047 rm -f conftest.er1
20048 cat conftest.err >&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20054 ac_status=$?
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; } &&
20057 { ac_try='test -s conftest.$ac_objext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20060 ac_status=$?
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 ac_hi=-1 ac_mid=-1
20064 while :; do
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 $ac_includes_default
20072 int
20073 main ()
20074 {
20075 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20076 test_array [0] = 0
20077
20078 ;
20079 return 0;
20080 }
20081 _ACEOF
20082 rm -f conftest.$ac_objext
20083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20084 (eval $ac_compile) 2>conftest.er1
20085 ac_status=$?
20086 grep -v '^ *+' conftest.er1 >conftest.err
20087 rm -f conftest.er1
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } &&
20091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; } &&
20097 { ac_try='test -s conftest.$ac_objext'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 ac_lo=$ac_mid; break
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 ac_hi=`expr '(' $ac_mid ')' - 1`
20109 if test $ac_mid -le $ac_hi; then
20110 ac_lo= ac_hi=
20111 break
20112 fi
20113 ac_mid=`expr 2 '*' $ac_mid`
20114 fi
20115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20116 done
20117 else
20118 echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 ac_lo= ac_hi=
20122 fi
20123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20124 fi
20125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20126 # Binary search between lo and hi bounds.
20127 while test "x$ac_lo" != "x$ac_hi"; do
20128 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 $ac_includes_default
20136 int
20137 main ()
20138 {
20139 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20140 test_array [0] = 0
20141
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>conftest.er1
20149 ac_status=$?
20150 grep -v '^ *+' conftest.er1 >conftest.err
20151 rm -f conftest.er1
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try='test -s conftest.$ac_objext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20164 ac_status=$?
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_hi=$ac_mid
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_lo=`expr '(' $ac_mid ')' + 1`
20173 fi
20174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20175 done
20176 case $ac_lo in
20177 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20178 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20179 See \`config.log' for more details." >&5
20180 echo "$as_me: error: cannot compute sizeof (size_t), 77
20181 See \`config.log' for more details." >&2;}
20182 { (exit 1); exit 1; }; } ;;
20183 esac
20184 else
20185 if test "$cross_compiling" = yes; then
20186 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20187 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20188 { (exit 1); exit 1; }; }
20189 else
20190 cat >conftest.$ac_ext <<_ACEOF
20191 /* confdefs.h. */
20192 _ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 $ac_includes_default
20197 long longval () { return (long) (sizeof (size_t)); }
20198 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20199 #include <stdio.h>
20200 #include <stdlib.h>
20201 int
20202 main ()
20203 {
20204
20205 FILE *f = fopen ("conftest.val", "w");
20206 if (! f)
20207 exit (1);
20208 if (((long) (sizeof (size_t))) < 0)
20209 {
20210 long i = longval ();
20211 if (i != ((long) (sizeof (size_t))))
20212 exit (1);
20213 fprintf (f, "%ld\n", i);
20214 }
20215 else
20216 {
20217 unsigned long i = ulongval ();
20218 if (i != ((long) (sizeof (size_t))))
20219 exit (1);
20220 fprintf (f, "%lu\n", i);
20221 }
20222 exit (ferror (f) || fclose (f) != 0);
20223
20224 ;
20225 return 0;
20226 }
20227 _ACEOF
20228 rm -f conftest$ac_exeext
20229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20230 (eval $ac_link) 2>&5
20231 ac_status=$?
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 ac_cv_sizeof_size_t=`cat conftest.val`
20240 else
20241 echo "$as_me: program exited with status $ac_status" >&5
20242 echo "$as_me: failed program was:" >&5
20243 sed 's/^/| /' conftest.$ac_ext >&5
20244
20245 ( exit $ac_status )
20246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20247 See \`config.log' for more details." >&5
20248 echo "$as_me: error: cannot compute sizeof (size_t), 77
20249 See \`config.log' for more details." >&2;}
20250 { (exit 1); exit 1; }; }
20251 fi
20252 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20253 fi
20254 fi
20255 rm -f conftest.val
20256 else
20257 ac_cv_sizeof_size_t=0
20258 fi
20259 fi
20260 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20261 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20262 cat >>confdefs.h <<_ACEOF
20263 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20264 _ACEOF
20265
20266
20267
20268 case "${host}" in
20269 arm-*-linux* )
20270 echo "$as_me:$LINENO: checking for long long" >&5
20271 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20272 if test "${ac_cv_type_long_long+set}" = set; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20274 else
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 $ac_includes_default
20282 int
20283 main ()
20284 {
20285 if ((long long *) 0)
20286 return 0;
20287 if (sizeof (long long))
20288 return 0;
20289 ;
20290 return 0;
20291 }
20292 _ACEOF
20293 rm -f conftest.$ac_objext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20295 (eval $ac_compile) 2>conftest.er1
20296 ac_status=$?
20297 grep -v '^ *+' conftest.er1 >conftest.err
20298 rm -f conftest.er1
20299 cat conftest.err >&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20305 ac_status=$?
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; } &&
20308 { ac_try='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20311 ac_status=$?
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 ac_cv_type_long_long=yes
20315 else
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319 ac_cv_type_long_long=no
20320 fi
20321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20322 fi
20323 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20324 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20325
20326 echo "$as_me:$LINENO: checking size of long long" >&5
20327 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20328 if test "${ac_cv_sizeof_long_long+set}" = set; then
20329 echo $ECHO_N "(cached) $ECHO_C" >&6
20330 else
20331 if test "$ac_cv_type_long_long" = yes; then
20332 # The cast to unsigned long works around a bug in the HP C Compiler
20333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20335 # This bug is HP SR number 8606223364.
20336 if test "$cross_compiling" = yes; then
20337 # Depending upon the size, compute the lo and hi bounds.
20338 cat >conftest.$ac_ext <<_ACEOF
20339 /* confdefs.h. */
20340 _ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 $ac_includes_default
20345 int
20346 main ()
20347 {
20348 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20349 test_array [0] = 0
20350
20351 ;
20352 return 0;
20353 }
20354 _ACEOF
20355 rm -f conftest.$ac_objext
20356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20357 (eval $ac_compile) 2>conftest.er1
20358 ac_status=$?
20359 grep -v '^ *+' conftest.er1 >conftest.err
20360 rm -f conftest.er1
20361 cat conftest.err >&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); } &&
20364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20367 ac_status=$?
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; } &&
20370 { ac_try='test -s conftest.$ac_objext'
20371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20372 (eval $ac_try) 2>&5
20373 ac_status=$?
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); }; }; then
20376 ac_lo=0 ac_mid=0
20377 while :; do
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 int
20386 main ()
20387 {
20388 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20389 test_array [0] = 0
20390
20391 ;
20392 return 0;
20393 }
20394 _ACEOF
20395 rm -f conftest.$ac_objext
20396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20397 (eval $ac_compile) 2>conftest.er1
20398 ac_status=$?
20399 grep -v '^ *+' conftest.er1 >conftest.err
20400 rm -f conftest.er1
20401 cat conftest.err >&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; } &&
20410 { ac_try='test -s conftest.$ac_objext'
20411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20412 (eval $ac_try) 2>&5
20413 ac_status=$?
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20415 (exit $ac_status); }; }; then
20416 ac_hi=$ac_mid; break
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20420
20421 ac_lo=`expr $ac_mid + 1`
20422 if test $ac_lo -le $ac_mid; then
20423 ac_lo= ac_hi=
20424 break
20425 fi
20426 ac_mid=`expr 2 '*' $ac_mid + 1`
20427 fi
20428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20429 done
20430 else
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20433
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h. */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 int
20442 main ()
20443 {
20444 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20445 test_array [0] = 0
20446
20447 ;
20448 return 0;
20449 }
20450 _ACEOF
20451 rm -f conftest.$ac_objext
20452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20453 (eval $ac_compile) 2>conftest.er1
20454 ac_status=$?
20455 grep -v '^ *+' conftest.er1 >conftest.err
20456 rm -f conftest.er1
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); } &&
20460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try='test -s conftest.$ac_objext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20472 ac_hi=-1 ac_mid=-1
20473 while :; do
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 int
20482 main ()
20483 {
20484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20485 test_array [0] = 0
20486
20487 ;
20488 return 0;
20489 }
20490 _ACEOF
20491 rm -f conftest.$ac_objext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20493 (eval $ac_compile) 2>conftest.er1
20494 ac_status=$?
20495 grep -v '^ *+' conftest.er1 >conftest.err
20496 rm -f conftest.er1
20497 cat conftest.err >&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20503 ac_status=$?
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; } &&
20506 { ac_try='test -s conftest.$ac_objext'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; }; then
20512 ac_lo=$ac_mid; break
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 ac_hi=`expr '(' $ac_mid ')' - 1`
20518 if test $ac_mid -le $ac_hi; then
20519 ac_lo= ac_hi=
20520 break
20521 fi
20522 ac_mid=`expr 2 '*' $ac_mid`
20523 fi
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525 done
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20529
20530 ac_lo= ac_hi=
20531 fi
20532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20533 fi
20534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20535 # Binary search between lo and hi bounds.
20536 while test "x$ac_lo" != "x$ac_hi"; do
20537 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20538 cat >conftest.$ac_ext <<_ACEOF
20539 /* confdefs.h. */
20540 _ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 $ac_includes_default
20545 int
20546 main ()
20547 {
20548 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20549 test_array [0] = 0
20550
20551 ;
20552 return 0;
20553 }
20554 _ACEOF
20555 rm -f conftest.$ac_objext
20556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20557 (eval $ac_compile) 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } &&
20564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20567 ac_status=$?
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; } &&
20570 { ac_try='test -s conftest.$ac_objext'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; }; then
20576 ac_hi=$ac_mid
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 ac_lo=`expr '(' $ac_mid ')' + 1`
20582 fi
20583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20584 done
20585 case $ac_lo in
20586 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20588 See \`config.log' for more details." >&5
20589 echo "$as_me: error: cannot compute sizeof (long long), 77
20590 See \`config.log' for more details." >&2;}
20591 { (exit 1); exit 1; }; } ;;
20592 esac
20593 else
20594 if test "$cross_compiling" = yes; then
20595 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20596 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20597 { (exit 1); exit 1; }; }
20598 else
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h. */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 $ac_includes_default
20606 long longval () { return (long) (sizeof (long long)); }
20607 unsigned long ulongval () { return (long) (sizeof (long long)); }
20608 #include <stdio.h>
20609 #include <stdlib.h>
20610 int
20611 main ()
20612 {
20613
20614 FILE *f = fopen ("conftest.val", "w");
20615 if (! f)
20616 exit (1);
20617 if (((long) (sizeof (long long))) < 0)
20618 {
20619 long i = longval ();
20620 if (i != ((long) (sizeof (long long))))
20621 exit (1);
20622 fprintf (f, "%ld\n", i);
20623 }
20624 else
20625 {
20626 unsigned long i = ulongval ();
20627 if (i != ((long) (sizeof (long long))))
20628 exit (1);
20629 fprintf (f, "%lu\n", i);
20630 }
20631 exit (ferror (f) || fclose (f) != 0);
20632
20633 ;
20634 return 0;
20635 }
20636 _ACEOF
20637 rm -f conftest$ac_exeext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20639 (eval $ac_link) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20645 ac_status=$?
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20648 ac_cv_sizeof_long_long=`cat conftest.val`
20649 else
20650 echo "$as_me: program exited with status $ac_status" >&5
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20653
20654 ( exit $ac_status )
20655 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20656 See \`config.log' for more details." >&5
20657 echo "$as_me: error: cannot compute sizeof (long long), 77
20658 See \`config.log' for more details." >&2;}
20659 { (exit 1); exit 1; }; }
20660 fi
20661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20662 fi
20663 fi
20664 rm -f conftest.val
20665 else
20666 ac_cv_sizeof_long_long=0
20667 fi
20668 fi
20669 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20670 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20671 cat >>confdefs.h <<_ACEOF
20672 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20673 _ACEOF
20674
20675
20676 ;;
20677 *-hp-hpux* )
20678 echo "$as_me:$LINENO: checking for long long" >&5
20679 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20680 if test "${ac_cv_type_long_long+set}" = set; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 $ac_includes_default
20690 int
20691 main ()
20692 {
20693 if ((long long *) 0)
20694 return 0;
20695 if (sizeof (long long))
20696 return 0;
20697 ;
20698 return 0;
20699 }
20700 _ACEOF
20701 rm -f conftest.$ac_objext
20702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20703 (eval $ac_compile) 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } &&
20710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20713 ac_status=$?
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; } &&
20716 { ac_try='test -s conftest.$ac_objext'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20719 ac_status=$?
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; }; then
20722 ac_cv_type_long_long=yes
20723 else
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20726
20727 ac_cv_type_long_long=no
20728 fi
20729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20730 fi
20731 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20732 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20733
20734 echo "$as_me:$LINENO: checking size of long long" >&5
20735 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20736 if test "${ac_cv_sizeof_long_long+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739 if test "$ac_cv_type_long_long" = yes; then
20740 # The cast to unsigned long works around a bug in the HP C Compiler
20741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20743 # This bug is HP SR number 8606223364.
20744 if test "$cross_compiling" = yes; then
20745 # Depending upon the size, compute the lo and hi bounds.
20746 cat >conftest.$ac_ext <<_ACEOF
20747 /* confdefs.h. */
20748 _ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 $ac_includes_default
20753 int
20754 main ()
20755 {
20756 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20757 test_array [0] = 0
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest.$ac_objext
20764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20765 (eval $ac_compile) 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } &&
20772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_lo=0 ac_mid=0
20785 while :; do
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 int
20794 main ()
20795 {
20796 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20797 test_array [0] = 0
20798
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_hi=$ac_mid; break
20825 else
20826 echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 ac_lo=`expr $ac_mid + 1`
20830 if test $ac_lo -le $ac_mid; then
20831 ac_lo= ac_hi=
20832 break
20833 fi
20834 ac_mid=`expr 2 '*' $ac_mid + 1`
20835 fi
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20837 done
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20849 int
20850 main ()
20851 {
20852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20853 test_array [0] = 0
20854
20855 ;
20856 return 0;
20857 }
20858 _ACEOF
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20871 ac_status=$?
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; } &&
20874 { ac_try='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_hi=-1 ac_mid=-1
20881 while :; do
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 int
20890 main ()
20891 {
20892 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20893 test_array [0] = 0
20894
20895 ;
20896 return 0;
20897 }
20898 _ACEOF
20899 rm -f conftest.$ac_objext
20900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20901 (eval $ac_compile) 2>conftest.er1
20902 ac_status=$?
20903 grep -v '^ *+' conftest.er1 >conftest.err
20904 rm -f conftest.er1
20905 cat conftest.err >&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } &&
20908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20911 ac_status=$?
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; } &&
20914 { ac_try='test -s conftest.$ac_objext'
20915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20916 (eval $ac_try) 2>&5
20917 ac_status=$?
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); }; }; then
20920 ac_lo=$ac_mid; break
20921 else
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.$ac_ext >&5
20924
20925 ac_hi=`expr '(' $ac_mid ')' - 1`
20926 if test $ac_mid -le $ac_hi; then
20927 ac_lo= ac_hi=
20928 break
20929 fi
20930 ac_mid=`expr 2 '*' $ac_mid`
20931 fi
20932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20933 done
20934 else
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20937
20938 ac_lo= ac_hi=
20939 fi
20940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20941 fi
20942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20943 # Binary search between lo and hi bounds.
20944 while test "x$ac_lo" != "x$ac_hi"; do
20945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20946 cat >conftest.$ac_ext <<_ACEOF
20947 /* confdefs.h. */
20948 _ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 int
20954 main ()
20955 {
20956 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20957 test_array [0] = 0
20958
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 rm -f conftest.$ac_objext
20964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20965 (eval $ac_compile) 2>conftest.er1
20966 ac_status=$?
20967 grep -v '^ *+' conftest.er1 >conftest.err
20968 rm -f conftest.er1
20969 cat conftest.err >&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20975 ac_status=$?
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; } &&
20978 { ac_try='test -s conftest.$ac_objext'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20981 ac_status=$?
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; }; then
20984 ac_hi=$ac_mid
20985 else
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.$ac_ext >&5
20988
20989 ac_lo=`expr '(' $ac_mid ')' + 1`
20990 fi
20991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20992 done
20993 case $ac_lo in
20994 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20996 See \`config.log' for more details." >&5
20997 echo "$as_me: error: cannot compute sizeof (long long), 77
20998 See \`config.log' for more details." >&2;}
20999 { (exit 1); exit 1; }; } ;;
21000 esac
21001 else
21002 if test "$cross_compiling" = yes; then
21003 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21004 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21005 { (exit 1); exit 1; }; }
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 long longval () { return (long) (sizeof (long long)); }
21015 unsigned long ulongval () { return (long) (sizeof (long long)); }
21016 #include <stdio.h>
21017 #include <stdlib.h>
21018 int
21019 main ()
21020 {
21021
21022 FILE *f = fopen ("conftest.val", "w");
21023 if (! f)
21024 exit (1);
21025 if (((long) (sizeof (long long))) < 0)
21026 {
21027 long i = longval ();
21028 if (i != ((long) (sizeof (long long))))
21029 exit (1);
21030 fprintf (f, "%ld\n", i);
21031 }
21032 else
21033 {
21034 unsigned long i = ulongval ();
21035 if (i != ((long) (sizeof (long long))))
21036 exit (1);
21037 fprintf (f, "%lu\n", i);
21038 }
21039 exit (ferror (f) || fclose (f) != 0);
21040
21041 ;
21042 return 0;
21043 }
21044 _ACEOF
21045 rm -f conftest$ac_exeext
21046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21047 (eval $ac_link) 2>&5
21048 ac_status=$?
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; }; then
21056 ac_cv_sizeof_long_long=`cat conftest.val`
21057 else
21058 echo "$as_me: program exited with status $ac_status" >&5
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 ( exit $ac_status )
21063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21064 See \`config.log' for more details." >&5
21065 echo "$as_me: error: cannot compute sizeof (long long), 77
21066 See \`config.log' for more details." >&2;}
21067 { (exit 1); exit 1; }; }
21068 fi
21069 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21070 fi
21071 fi
21072 rm -f conftest.val
21073 else
21074 ac_cv_sizeof_long_long=0
21075 fi
21076 fi
21077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21078 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21079 cat >>confdefs.h <<_ACEOF
21080 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21081 _ACEOF
21082
21083
21084 if test "$ac_cv_sizeof_long_long" != "0"; then
21085 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21086 fi
21087 ;;
21088 * )
21089 echo "$as_me:$LINENO: checking for long long" >&5
21090 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21091 if test "${ac_cv_type_long_long+set}" = set; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 else
21094 cat >conftest.$ac_ext <<_ACEOF
21095 /* confdefs.h. */
21096 _ACEOF
21097 cat confdefs.h >>conftest.$ac_ext
21098 cat >>conftest.$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 $ac_includes_default
21101 int
21102 main ()
21103 {
21104 if ((long long *) 0)
21105 return 0;
21106 if (sizeof (long long))
21107 return 0;
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 rm -f conftest.$ac_objext
21113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21114 (eval $ac_compile) 2>conftest.er1
21115 ac_status=$?
21116 grep -v '^ *+' conftest.er1 >conftest.err
21117 rm -f conftest.er1
21118 cat conftest.err >&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } &&
21121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21124 ac_status=$?
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; } &&
21127 { ac_try='test -s conftest.$ac_objext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_type_long_long=yes
21134 else
21135 echo "$as_me: failed program was:" >&5
21136 sed 's/^/| /' conftest.$ac_ext >&5
21137
21138 ac_cv_type_long_long=no
21139 fi
21140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21141 fi
21142 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21143 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21144
21145 echo "$as_me:$LINENO: checking size of long long" >&5
21146 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21147 if test "${ac_cv_sizeof_long_long+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 if test "$ac_cv_type_long_long" = yes; then
21151 # The cast to unsigned long works around a bug in the HP C Compiler
21152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21154 # This bug is HP SR number 8606223364.
21155 if test "$cross_compiling" = yes; then
21156 # Depending upon the size, compute the lo and hi bounds.
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163 $ac_includes_default
21164 int
21165 main ()
21166 {
21167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21168 test_array [0] = 0
21169
21170 ;
21171 return 0;
21172 }
21173 _ACEOF
21174 rm -f conftest.$ac_objext
21175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21176 (eval $ac_compile) 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } &&
21183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21185 (eval $ac_try) 2>&5
21186 ac_status=$?
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); }; } &&
21189 { ac_try='test -s conftest.$ac_objext'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21192 ac_status=$?
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; }; then
21195 ac_lo=0 ac_mid=0
21196 while :; do
21197 cat >conftest.$ac_ext <<_ACEOF
21198 /* confdefs.h. */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 int
21205 main ()
21206 {
21207 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21208 test_array [0] = 0
21209
21210 ;
21211 return 0;
21212 }
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21216 (eval $ac_compile) 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } &&
21223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21226 ac_status=$?
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; } &&
21229 { ac_try='test -s conftest.$ac_objext'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21232 ac_status=$?
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; }; then
21235 ac_hi=$ac_mid; break
21236 else
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_lo=`expr $ac_mid + 1`
21241 if test $ac_lo -le $ac_mid; then
21242 ac_lo= ac_hi=
21243 break
21244 fi
21245 ac_mid=`expr 2 '*' $ac_mid + 1`
21246 fi
21247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21248 done
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h. */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 $ac_includes_default
21260 int
21261 main ()
21262 {
21263 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21264 test_array [0] = 0
21265
21266 ;
21267 return 0;
21268 }
21269 _ACEOF
21270 rm -f conftest.$ac_objext
21271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21272 (eval $ac_compile) 2>conftest.er1
21273 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } &&
21279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; } &&
21285 { ac_try='test -s conftest.$ac_objext'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 ac_hi=-1 ac_mid=-1
21292 while :; do
21293 cat >conftest.$ac_ext <<_ACEOF
21294 /* confdefs.h. */
21295 _ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 int
21301 main ()
21302 {
21303 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21304 test_array [0] = 0
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21312 (eval $ac_compile) 2>conftest.er1
21313 ac_status=$?
21314 grep -v '^ *+' conftest.er1 >conftest.err
21315 rm -f conftest.er1
21316 cat conftest.err >&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); } &&
21319 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21321 (eval $ac_try) 2>&5
21322 ac_status=$?
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; } &&
21325 { ac_try='test -s conftest.$ac_objext'
21326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21327 (eval $ac_try) 2>&5
21328 ac_status=$?
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_lo=$ac_mid; break
21332 else
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ac_hi=`expr '(' $ac_mid ')' - 1`
21337 if test $ac_mid -le $ac_hi; then
21338 ac_lo= ac_hi=
21339 break
21340 fi
21341 ac_mid=`expr 2 '*' $ac_mid`
21342 fi
21343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21344 done
21345 else
21346 echo "$as_me: failed program was:" >&5
21347 sed 's/^/| /' conftest.$ac_ext >&5
21348
21349 ac_lo= ac_hi=
21350 fi
21351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21352 fi
21353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21354 # Binary search between lo and hi bounds.
21355 while test "x$ac_lo" != "x$ac_hi"; do
21356 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 int
21365 main ()
21366 {
21367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21368 test_array [0] = 0
21369
21370 ;
21371 return 0;
21372 }
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376 (eval $ac_compile) 2>conftest.er1
21377 ac_status=$?
21378 grep -v '^ *+' conftest.er1 >conftest.err
21379 rm -f conftest.er1
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; } &&
21389 { ac_try='test -s conftest.$ac_objext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21392 ac_status=$?
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_hi=$ac_mid
21396 else
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.$ac_ext >&5
21399
21400 ac_lo=`expr '(' $ac_mid ')' + 1`
21401 fi
21402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21403 done
21404 case $ac_lo in
21405 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21406 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21407 See \`config.log' for more details." >&5
21408 echo "$as_me: error: cannot compute sizeof (long long), 77
21409 See \`config.log' for more details." >&2;}
21410 { (exit 1); exit 1; }; } ;;
21411 esac
21412 else
21413 if test "$cross_compiling" = yes; then
21414 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21415 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21416 { (exit 1); exit 1; }; }
21417 else
21418 cat >conftest.$ac_ext <<_ACEOF
21419 /* confdefs.h. */
21420 _ACEOF
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 $ac_includes_default
21425 long longval () { return (long) (sizeof (long long)); }
21426 unsigned long ulongval () { return (long) (sizeof (long long)); }
21427 #include <stdio.h>
21428 #include <stdlib.h>
21429 int
21430 main ()
21431 {
21432
21433 FILE *f = fopen ("conftest.val", "w");
21434 if (! f)
21435 exit (1);
21436 if (((long) (sizeof (long long))) < 0)
21437 {
21438 long i = longval ();
21439 if (i != ((long) (sizeof (long long))))
21440 exit (1);
21441 fprintf (f, "%ld\n", i);
21442 }
21443 else
21444 {
21445 unsigned long i = ulongval ();
21446 if (i != ((long) (sizeof (long long))))
21447 exit (1);
21448 fprintf (f, "%lu\n", i);
21449 }
21450 exit (ferror (f) || fclose (f) != 0);
21451
21452 ;
21453 return 0;
21454 }
21455 _ACEOF
21456 rm -f conftest$ac_exeext
21457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21458 (eval $ac_link) 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_cv_sizeof_long_long=`cat conftest.val`
21468 else
21469 echo "$as_me: program exited with status $ac_status" >&5
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21472
21473 ( exit $ac_status )
21474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21475 See \`config.log' for more details." >&5
21476 echo "$as_me: error: cannot compute sizeof (long long), 77
21477 See \`config.log' for more details." >&2;}
21478 { (exit 1); exit 1; }; }
21479 fi
21480 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21481 fi
21482 fi
21483 rm -f conftest.val
21484 else
21485 ac_cv_sizeof_long_long=0
21486 fi
21487 fi
21488 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21489 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21490 cat >>confdefs.h <<_ACEOF
21491 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21492 _ACEOF
21493
21494
21495 esac
21496
21497 echo "$as_me:$LINENO: checking for wchar_t" >&5
21498 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21499 if test "${ac_cv_type_wchar_t+set}" = set; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21501 else
21502 cat >conftest.$ac_ext <<_ACEOF
21503 /* confdefs.h. */
21504 _ACEOF
21505 cat confdefs.h >>conftest.$ac_ext
21506 cat >>conftest.$ac_ext <<_ACEOF
21507 /* end confdefs.h. */
21508
21509 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21510 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21511 # error "fake wchar_t"
21512 #endif
21513 #ifdef HAVE_WCHAR_H
21514 # ifdef __CYGWIN__
21515 # include <stddef.h>
21516 # endif
21517 # include <wchar.h>
21518 #endif
21519 #ifdef HAVE_STDLIB_H
21520 # include <stdlib.h>
21521 #endif
21522 #include <stdio.h>
21523
21524
21525
21526 int
21527 main ()
21528 {
21529 if ((wchar_t *) 0)
21530 return 0;
21531 if (sizeof (wchar_t))
21532 return 0;
21533 ;
21534 return 0;
21535 }
21536 _ACEOF
21537 rm -f conftest.$ac_objext
21538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21539 (eval $ac_compile) 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } &&
21546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21549 ac_status=$?
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try='test -s conftest.$ac_objext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21558 ac_cv_type_wchar_t=yes
21559 else
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.$ac_ext >&5
21562
21563 ac_cv_type_wchar_t=no
21564 fi
21565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21566 fi
21567 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21568 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21569
21570 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21571 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21572 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 else
21575 if test "$ac_cv_type_wchar_t" = yes; then
21576 # The cast to unsigned long works around a bug in the HP C Compiler
21577 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21578 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21579 # This bug is HP SR number 8606223364.
21580 if test "$cross_compiling" = yes; then
21581 # Depending upon the size, compute the lo and hi bounds.
21582 cat >conftest.$ac_ext <<_ACEOF
21583 /* confdefs.h. */
21584 _ACEOF
21585 cat confdefs.h >>conftest.$ac_ext
21586 cat >>conftest.$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588
21589 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21590 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21591 # error "fake wchar_t"
21592 #endif
21593 #ifdef HAVE_WCHAR_H
21594 # ifdef __CYGWIN__
21595 # include <stddef.h>
21596 # endif
21597 # include <wchar.h>
21598 #endif
21599 #ifdef HAVE_STDLIB_H
21600 # include <stdlib.h>
21601 #endif
21602 #include <stdio.h>
21603
21604
21605
21606 int
21607 main ()
21608 {
21609 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21610 test_array [0] = 0
21611
21612 ;
21613 return 0;
21614 }
21615 _ACEOF
21616 rm -f conftest.$ac_objext
21617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21618 (eval $ac_compile) 2>conftest.er1
21619 ac_status=$?
21620 grep -v '^ *+' conftest.er1 >conftest.err
21621 rm -f conftest.er1
21622 cat conftest.err >&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } &&
21625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627 (eval $ac_try) 2>&5
21628 ac_status=$?
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); }; } &&
21631 { ac_try='test -s conftest.$ac_objext'
21632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21633 (eval $ac_try) 2>&5
21634 ac_status=$?
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); }; }; then
21637 ac_lo=0 ac_mid=0
21638 while :; do
21639 cat >conftest.$ac_ext <<_ACEOF
21640 /* confdefs.h. */
21641 _ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645
21646 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21647 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21648 # error "fake wchar_t"
21649 #endif
21650 #ifdef HAVE_WCHAR_H
21651 # ifdef __CYGWIN__
21652 # include <stddef.h>
21653 # endif
21654 # include <wchar.h>
21655 #endif
21656 #ifdef HAVE_STDLIB_H
21657 # include <stdlib.h>
21658 #endif
21659 #include <stdio.h>
21660
21661
21662
21663 int
21664 main ()
21665 {
21666 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21667 test_array [0] = 0
21668
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 rm -f conftest.$ac_objext
21674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21675 (eval $ac_compile) 2>conftest.er1
21676 ac_status=$?
21677 grep -v '^ *+' conftest.er1 >conftest.err
21678 rm -f conftest.er1
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } &&
21682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684 (eval $ac_try) 2>&5
21685 ac_status=$?
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); }; } &&
21688 { ac_try='test -s conftest.$ac_objext'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; }; then
21694 ac_hi=$ac_mid; break
21695 else
21696 echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.$ac_ext >&5
21698
21699 ac_lo=`expr $ac_mid + 1`
21700 if test $ac_lo -le $ac_mid; then
21701 ac_lo= ac_hi=
21702 break
21703 fi
21704 ac_mid=`expr 2 '*' $ac_mid + 1`
21705 fi
21706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21707 done
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21711
21712 cat >conftest.$ac_ext <<_ACEOF
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718
21719 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21720 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21721 # error "fake wchar_t"
21722 #endif
21723 #ifdef HAVE_WCHAR_H
21724 # ifdef __CYGWIN__
21725 # include <stddef.h>
21726 # endif
21727 # include <wchar.h>
21728 #endif
21729 #ifdef HAVE_STDLIB_H
21730 # include <stdlib.h>
21731 #endif
21732 #include <stdio.h>
21733
21734
21735
21736 int
21737 main ()
21738 {
21739 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21740 test_array [0] = 0
21741
21742 ;
21743 return 0;
21744 }
21745 _ACEOF
21746 rm -f conftest.$ac_objext
21747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21748 (eval $ac_compile) 2>conftest.er1
21749 ac_status=$?
21750 grep -v '^ *+' conftest.er1 >conftest.err
21751 rm -f conftest.er1
21752 cat conftest.err >&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); } &&
21755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21758 ac_status=$?
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; } &&
21761 { ac_try='test -s conftest.$ac_objext'
21762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21763 (eval $ac_try) 2>&5
21764 ac_status=$?
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); }; }; then
21767 ac_hi=-1 ac_mid=-1
21768 while :; do
21769 cat >conftest.$ac_ext <<_ACEOF
21770 /* confdefs.h. */
21771 _ACEOF
21772 cat confdefs.h >>conftest.$ac_ext
21773 cat >>conftest.$ac_ext <<_ACEOF
21774 /* end confdefs.h. */
21775
21776 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21777 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21778 # error "fake wchar_t"
21779 #endif
21780 #ifdef HAVE_WCHAR_H
21781 # ifdef __CYGWIN__
21782 # include <stddef.h>
21783 # endif
21784 # include <wchar.h>
21785 #endif
21786 #ifdef HAVE_STDLIB_H
21787 # include <stdlib.h>
21788 #endif
21789 #include <stdio.h>
21790
21791
21792
21793 int
21794 main ()
21795 {
21796 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21797 test_array [0] = 0
21798
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 rm -f conftest.$ac_objext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21805 (eval $ac_compile) 2>conftest.er1
21806 ac_status=$?
21807 grep -v '^ *+' conftest.er1 >conftest.err
21808 rm -f conftest.er1
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } &&
21812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21814 (eval $ac_try) 2>&5
21815 ac_status=$?
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); }; } &&
21818 { ac_try='test -s conftest.$ac_objext'
21819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820 (eval $ac_try) 2>&5
21821 ac_status=$?
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; }; then
21824 ac_lo=$ac_mid; break
21825 else
21826 echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.$ac_ext >&5
21828
21829 ac_hi=`expr '(' $ac_mid ')' - 1`
21830 if test $ac_mid -le $ac_hi; then
21831 ac_lo= ac_hi=
21832 break
21833 fi
21834 ac_mid=`expr 2 '*' $ac_mid`
21835 fi
21836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21837 done
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_lo= ac_hi=
21843 fi
21844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21845 fi
21846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21847 # Binary search between lo and hi bounds.
21848 while test "x$ac_lo" != "x$ac_hi"; do
21849 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21850 cat >conftest.$ac_ext <<_ACEOF
21851 /* confdefs.h. */
21852 _ACEOF
21853 cat confdefs.h >>conftest.$ac_ext
21854 cat >>conftest.$ac_ext <<_ACEOF
21855 /* end confdefs.h. */
21856
21857 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21858 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21859 # error "fake wchar_t"
21860 #endif
21861 #ifdef HAVE_WCHAR_H
21862 # ifdef __CYGWIN__
21863 # include <stddef.h>
21864 # endif
21865 # include <wchar.h>
21866 #endif
21867 #ifdef HAVE_STDLIB_H
21868 # include <stdlib.h>
21869 #endif
21870 #include <stdio.h>
21871
21872
21873
21874 int
21875 main ()
21876 {
21877 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21878 test_array [0] = 0
21879
21880 ;
21881 return 0;
21882 }
21883 _ACEOF
21884 rm -f conftest.$ac_objext
21885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21886 (eval $ac_compile) 2>conftest.er1
21887 ac_status=$?
21888 grep -v '^ *+' conftest.er1 >conftest.err
21889 rm -f conftest.er1
21890 cat conftest.err >&5
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); } &&
21893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21895 (eval $ac_try) 2>&5
21896 ac_status=$?
21897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21898 (exit $ac_status); }; } &&
21899 { ac_try='test -s conftest.$ac_objext'
21900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21901 (eval $ac_try) 2>&5
21902 ac_status=$?
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; }; then
21905 ac_hi=$ac_mid
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 ac_lo=`expr '(' $ac_mid ')' + 1`
21911 fi
21912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21913 done
21914 case $ac_lo in
21915 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21916 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21917 See \`config.log' for more details." >&5
21918 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21919 See \`config.log' for more details." >&2;}
21920 { (exit 1); exit 1; }; } ;;
21921 esac
21922 else
21923 if test "$cross_compiling" = yes; then
21924 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21925 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21926 { (exit 1); exit 1; }; }
21927 else
21928 cat >conftest.$ac_ext <<_ACEOF
21929 /* confdefs.h. */
21930 _ACEOF
21931 cat confdefs.h >>conftest.$ac_ext
21932 cat >>conftest.$ac_ext <<_ACEOF
21933 /* end confdefs.h. */
21934
21935 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21936 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21937 # error "fake wchar_t"
21938 #endif
21939 #ifdef HAVE_WCHAR_H
21940 # ifdef __CYGWIN__
21941 # include <stddef.h>
21942 # endif
21943 # include <wchar.h>
21944 #endif
21945 #ifdef HAVE_STDLIB_H
21946 # include <stdlib.h>
21947 #endif
21948 #include <stdio.h>
21949
21950
21951
21952 long longval () { return (long) (sizeof (wchar_t)); }
21953 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21954 #include <stdio.h>
21955 #include <stdlib.h>
21956 int
21957 main ()
21958 {
21959
21960 FILE *f = fopen ("conftest.val", "w");
21961 if (! f)
21962 exit (1);
21963 if (((long) (sizeof (wchar_t))) < 0)
21964 {
21965 long i = longval ();
21966 if (i != ((long) (sizeof (wchar_t))))
21967 exit (1);
21968 fprintf (f, "%ld\n", i);
21969 }
21970 else
21971 {
21972 unsigned long i = ulongval ();
21973 if (i != ((long) (sizeof (wchar_t))))
21974 exit (1);
21975 fprintf (f, "%lu\n", i);
21976 }
21977 exit (ferror (f) || fclose (f) != 0);
21978
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 ac_cv_sizeof_wchar_t=`cat conftest.val`
21995 else
21996 echo "$as_me: program exited with status $ac_status" >&5
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ( exit $ac_status )
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22002 See \`config.log' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22004 See \`config.log' for more details." >&2;}
22005 { (exit 1); exit 1; }; }
22006 fi
22007 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22008 fi
22009 fi
22010 rm -f conftest.val
22011 else
22012 ac_cv_sizeof_wchar_t=0
22013 fi
22014 fi
22015 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22016 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22017 cat >>confdefs.h <<_ACEOF
22018 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22019 _ACEOF
22020
22021
22022 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22023 wxUSE_WCHAR_T=yes
22024 else
22025 wxUSE_WCHAR_T=no
22026 fi
22027
22028 echo "$as_me:$LINENO: checking for va_copy" >&5
22029 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22030 if test "${wx_cv_func_va_copy+set}" = set; then
22031 echo $ECHO_N "(cached) $ECHO_C" >&6
22032 else
22033
22034 cat >conftest.$ac_ext <<_ACEOF
22035
22036 #include <stdarg.h>
22037 void foo(char *f, ...)
22038 {
22039 va_list ap1, ap2;
22040 va_start(ap1, f);
22041 va_copy(ap2, ap1);
22042 va_end(ap2);
22043 va_end(ap1);
22044 }
22045 int main()
22046 {
22047 foo("hi", 17);
22048 return 0;
22049 }
22050 _ACEOF
22051 rm -f conftest.$ac_objext conftest$ac_exeext
22052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22053 (eval $ac_link) 2>conftest.er1
22054 ac_status=$?
22055 grep -v '^ *+' conftest.er1 >conftest.err
22056 rm -f conftest.er1
22057 cat conftest.err >&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } &&
22060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22063 ac_status=$?
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; } &&
22066 { ac_try='test -s conftest$ac_exeext'
22067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22068 (eval $ac_try) 2>&5
22069 ac_status=$?
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); }; }; then
22072 wx_cv_func_va_copy=yes
22073 else
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.$ac_ext >&5
22076
22077 wx_cv_func_va_copy=no
22078
22079 fi
22080 rm -f conftest.err conftest.$ac_objext \
22081 conftest$ac_exeext conftest.$ac_ext
22082
22083
22084 fi
22085 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22086 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22087
22088 if test $wx_cv_func_va_copy = "yes"; then
22089 cat >>confdefs.h <<\_ACEOF
22090 #define HAVE_VA_COPY 1
22091 _ACEOF
22092
22093 else
22094 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22095 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22096 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 else
22099
22100 if test "$cross_compiling" = yes; then
22101 wx_cv_type_va_list_lvalue=yes
22102
22103 else
22104 cat >conftest.$ac_ext <<_ACEOF
22105
22106 #include <stdarg.h>
22107 int foo(char *f, ...)
22108 {
22109 va_list ap1, ap2;
22110 va_start(ap1, f);
22111 ap2 = ap1;
22112 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22113 return 1;
22114 va_end(ap2);
22115 va_end(ap1);
22116 return 0;
22117 }
22118 int main()
22119 {
22120 return foo("hi", 17);
22121 }
22122 _ACEOF
22123 rm -f conftest$ac_exeext
22124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22125 (eval $ac_link) 2>&5
22126 ac_status=$?
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; }; then
22134 wx_cv_type_va_list_lvalue=yes
22135 else
22136 echo "$as_me: program exited with status $ac_status" >&5
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.$ac_ext >&5
22139
22140 ( exit $ac_status )
22141 wx_cv_type_va_list_lvalue=no
22142 fi
22143 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22144 fi
22145
22146
22147 fi
22148 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22149 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22150
22151 if test $wx_cv_type_va_list_lvalue != "yes"; then
22152 cat >>confdefs.h <<\_ACEOF
22153 #define VA_LIST_IS_ARRAY 1
22154 _ACEOF
22155
22156 fi
22157 fi
22158
22159 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22160 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22161 if test "${wx_cv_have_variadic_macros+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 else
22164
22165 cat >conftest.$ac_ext <<_ACEOF
22166 /* confdefs.h. */
22167 _ACEOF
22168 cat confdefs.h >>conftest.$ac_ext
22169 cat >>conftest.$ac_ext <<_ACEOF
22170 /* end confdefs.h. */
22171
22172 #include <stdio.h>
22173 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22174
22175 int
22176 main ()
22177 {
22178
22179 test("%s %d %p", "test", 1, 0);
22180
22181
22182 ;
22183 return 0;
22184 }
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22188 (eval $ac_compile) 2>conftest.er1
22189 ac_status=$?
22190 grep -v '^ *+' conftest.er1 >conftest.err
22191 rm -f conftest.er1
22192 cat conftest.err >&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } &&
22195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22198 ac_status=$?
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try='test -s conftest.$ac_objext'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22204 ac_status=$?
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; }; then
22207 wx_cv_have_variadic_macros=yes
22208 else
22209 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.$ac_ext >&5
22211
22212 wx_cv_have_variadic_macros=no
22213
22214 fi
22215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22216
22217
22218 fi
22219 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22220 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22221
22222 if test $wx_cv_have_variadic_macros = "yes"; then
22223 cat >>confdefs.h <<\_ACEOF
22224 #define HAVE_VARIADIC_MACROS 1
22225 _ACEOF
22226
22227 fi
22228
22229 # Check whether --enable-largefile or --disable-largefile was given.
22230 if test "${enable_largefile+set}" = set; then
22231 enableval="$enable_largefile"
22232
22233 fi;
22234 if test "$enable_largefile" != no; then
22235 wx_largefile=no
22236
22237 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22238 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22239 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22240 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 else
22242
22243 cat >conftest.$ac_ext <<_ACEOF
22244 /* confdefs.h. */
22245 _ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22249 #define _FILE_OFFSET_BITS 64
22250 #include <sys/types.h>
22251 int
22252 main ()
22253 {
22254 typedef struct {
22255 unsigned int field: sizeof(off_t) == 8;
22256 } wxlf;
22257
22258 ;
22259 return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22274 ac_status=$?
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; } &&
22277 { ac_try='test -s conftest.$ac_objext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 ac_cv_sys_file_offset_bits=64
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 ac_cv_sys_file_offset_bits=no
22289 fi
22290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22291
22292
22293 fi
22294 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22295 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22296
22297 if test "$ac_cv_sys_file_offset_bits" != no; then
22298 wx_largefile=yes
22299 cat >>confdefs.h <<_ACEOF
22300 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22301 _ACEOF
22302
22303 fi
22304
22305 if test "x$wx_largefile" != "xyes"; then
22306
22307 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22308 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22309 if test "${ac_cv_sys_large_files+set}" = set; then
22310 echo $ECHO_N "(cached) $ECHO_C" >&6
22311 else
22312
22313 cat >conftest.$ac_ext <<_ACEOF
22314 /* confdefs.h. */
22315 _ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #define _LARGE_FILES 1
22320 #include <sys/types.h>
22321 int
22322 main ()
22323 {
22324 typedef struct {
22325 unsigned int field: sizeof(off_t) == 8;
22326 } wxlf;
22327
22328 ;
22329 return 0;
22330 }
22331 _ACEOF
22332 rm -f conftest.$ac_objext
22333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22334 (eval $ac_compile) 2>conftest.er1
22335 ac_status=$?
22336 grep -v '^ *+' conftest.er1 >conftest.err
22337 rm -f conftest.er1
22338 cat conftest.err >&5
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } &&
22341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; } &&
22347 { ac_try='test -s conftest.$ac_objext'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_sys_large_files=1
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22357
22358 ac_cv_sys_large_files=no
22359 fi
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361
22362
22363 fi
22364 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22365 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22366
22367 if test "$ac_cv_sys_large_files" != no; then
22368 wx_largefile=yes
22369 cat >>confdefs.h <<_ACEOF
22370 #define _LARGE_FILES $ac_cv_sys_large_files
22371 _ACEOF
22372
22373 fi
22374
22375 fi
22376
22377 echo "$as_me:$LINENO: checking if large file support is available" >&5
22378 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22379 if test "x$wx_largefile" = "xyes"; then
22380 cat >>confdefs.h <<\_ACEOF
22381 #define HAVE_LARGEFILE_SUPPORT 1
22382 _ACEOF
22383
22384 fi
22385 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22386 echo "${ECHO_T}$wx_largefile" >&6
22387 fi
22388
22389
22390 if test "x$wx_largefile" = "xyes"; then
22391 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22392 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22393
22394 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22395 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22396 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22397 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22398 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 else
22400
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407
22408 int
22409 main ()
22410 {
22411
22412 #ifndef __STDC_EXT__
22413 choke me
22414 #endif
22415
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 rm -f conftest.$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; } &&
22435 { ac_try='test -s conftest.$ac_objext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 wx_cv_STDC_EXT_required=no
22442 else
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22445
22446 wx_cv_STDC_EXT_required=yes
22447
22448 fi
22449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22450
22451
22452 fi
22453 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22454 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22455 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22456 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22457 fi
22458 fi
22459 else
22460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22461 fi
22462 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22463 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22464 if test "${ac_cv_sys_largefile_source+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22467 while :; do
22468 ac_cv_sys_largefile_source=no
22469 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 #include <stdio.h>
22476 int
22477 main ()
22478 {
22479 return !fseeko;
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22486 (eval $ac_compile) 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_objext'
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 break
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 fi
22511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22512 cat >conftest.$ac_ext <<_ACEOF
22513 /* confdefs.h. */
22514 _ACEOF
22515 cat confdefs.h >>conftest.$ac_ext
22516 cat >>conftest.$ac_ext <<_ACEOF
22517 /* end confdefs.h. */
22518 #define _LARGEFILE_SOURCE 1
22519 #include <stdio.h>
22520 int
22521 main ()
22522 {
22523 return !fseeko;
22524 ;
22525 return 0;
22526 }
22527 _ACEOF
22528 rm -f conftest.$ac_objext
22529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22530 (eval $ac_compile) 2>conftest.er1
22531 ac_status=$?
22532 grep -v '^ *+' conftest.er1 >conftest.err
22533 rm -f conftest.er1
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22540 ac_status=$?
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; } &&
22543 { ac_try='test -s conftest.$ac_objext'
22544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22545 (eval $ac_try) 2>&5
22546 ac_status=$?
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); }; }; then
22549 ac_cv_sys_largefile_source=1; break
22550 else
22551 echo "$as_me: failed program was:" >&5
22552 sed 's/^/| /' conftest.$ac_ext >&5
22553
22554 fi
22555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22556 break
22557 done
22558 fi
22559 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22560 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22561 if test "$ac_cv_sys_largefile_source" != no; then
22562
22563 cat >>confdefs.h <<_ACEOF
22564 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22565 _ACEOF
22566
22567 fi
22568 rm -f conftest*
22569
22570 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22571 # in glibc 2.1.3, but that breaks too many other things.
22572 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22573 echo "$as_me:$LINENO: checking for fseeko" >&5
22574 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22575 if test "${ac_cv_func_fseeko+set}" = set; then
22576 echo $ECHO_N "(cached) $ECHO_C" >&6
22577 else
22578 cat >conftest.$ac_ext <<_ACEOF
22579 /* confdefs.h. */
22580 _ACEOF
22581 cat confdefs.h >>conftest.$ac_ext
22582 cat >>conftest.$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 #include <stdio.h>
22585 int
22586 main ()
22587 {
22588 return fseeko && fseeko (stdin, 0, 0);
22589 ;
22590 return 0;
22591 }
22592 _ACEOF
22593 rm -f conftest.$ac_objext conftest$ac_exeext
22594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22595 (eval $ac_link) 2>conftest.er1
22596 ac_status=$?
22597 grep -v '^ *+' conftest.er1 >conftest.err
22598 rm -f conftest.er1
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } &&
22602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22605 ac_status=$?
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try='test -s conftest$ac_exeext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22611 ac_status=$?
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_cv_func_fseeko=yes
22615 else
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.$ac_ext >&5
22618
22619 ac_cv_func_fseeko=no
22620 fi
22621 rm -f conftest.err conftest.$ac_objext \
22622 conftest$ac_exeext conftest.$ac_ext
22623 fi
22624 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22625 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22626 if test $ac_cv_func_fseeko = yes; then
22627
22628 cat >>confdefs.h <<\_ACEOF
22629 #define HAVE_FSEEKO 1
22630 _ACEOF
22631
22632 fi
22633
22634 if test "$ac_cv_sys_largefile_source" != no; then
22635 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22636 fi
22637 fi
22638
22639 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22640 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22641 if test "${ac_cv_c_bigendian+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644 ac_cv_c_bigendian=unknown
22645 # See if sys/param.h defines the BYTE_ORDER macro.
22646 cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h. */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22652 #include <sys/types.h>
22653 #include <sys/param.h>
22654 int
22655 main ()
22656 {
22657
22658 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22659 bogus endian macros
22660 #endif
22661 ;
22662 return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22667 (eval $ac_compile) 2>conftest.er1
22668 ac_status=$?
22669 grep -v '^ *+' conftest.er1 >conftest.err
22670 rm -f conftest.er1
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } &&
22674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest.$ac_objext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 # It does; now see whether it defined to BIG_ENDIAN or not.
22687 cat >conftest.$ac_ext <<_ACEOF
22688 /* confdefs.h. */
22689 _ACEOF
22690 cat confdefs.h >>conftest.$ac_ext
22691 cat >>conftest.$ac_ext <<_ACEOF
22692 /* end confdefs.h. */
22693 #include <sys/types.h>
22694 #include <sys/param.h>
22695 int
22696 main ()
22697 {
22698
22699 #if BYTE_ORDER != BIG_ENDIAN
22700 not big endian
22701 #endif
22702 ;
22703 return 0;
22704 }
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708 (eval $ac_compile) 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } &&
22715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; } &&
22721 { ac_try='test -s conftest.$ac_objext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22724 ac_status=$?
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22727 ac_cv_c_bigendian=yes
22728 else
22729 echo "$as_me: failed program was:" >&5
22730 sed 's/^/| /' conftest.$ac_ext >&5
22731
22732 ac_cv_c_bigendian=no
22733 fi
22734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22735 else
22736 echo "$as_me: failed program was:" >&5
22737 sed 's/^/| /' conftest.$ac_ext >&5
22738
22739 fi
22740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22741 if test $ac_cv_c_bigendian = unknown; then
22742 if test "$cross_compiling" = yes; then
22743 ac_cv_c_bigendian=unknown
22744 else
22745 cat >conftest.$ac_ext <<_ACEOF
22746 /* confdefs.h. */
22747 _ACEOF
22748 cat confdefs.h >>conftest.$ac_ext
22749 cat >>conftest.$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 main () {
22752 /* Are we little or big endian? From Harbison&Steele. */
22753 union
22754 {
22755 long l;
22756 char c[sizeof (long)];
22757 } u;
22758 u.l = 1;
22759 exit (u.c[sizeof (long) - 1] == 1);
22760 }
22761 _ACEOF
22762 rm -f conftest$ac_exeext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22764 (eval $ac_link) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22770 ac_status=$?
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 ac_cv_c_bigendian=no
22774 else
22775 echo "$as_me: program exited with status $ac_status" >&5
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22778
22779 ( exit $ac_status )
22780 ac_cv_c_bigendian=yes
22781 fi
22782 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22783 fi
22784 fi
22785 fi
22786 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22787 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22788 if test $ac_cv_c_bigendian = unknown; then
22789 { 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
22790 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;}
22791 fi
22792 if test $ac_cv_c_bigendian = yes; then
22793 cat >>confdefs.h <<\_ACEOF
22794 #define WORDS_BIGENDIAN 1
22795 _ACEOF
22796
22797 fi
22798
22799
22800
22801
22802
22803 ac_ext=cc
22804 ac_cpp='$CXXCPP $CPPFLAGS'
22805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22808
22809
22810
22811 for ac_header in iostream
22812 do
22813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22815 echo "$as_me:$LINENO: checking for $ac_header" >&5
22816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 fi
22820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22822 else
22823 # Is the header compilable?
22824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22826 cat >conftest.$ac_ext <<_ACEOF
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22832 $ac_includes_default
22833 #include <$ac_header>
22834 _ACEOF
22835 rm -f conftest.$ac_objext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22837 (eval $ac_compile) 2>conftest.er1
22838 ac_status=$?
22839 grep -v '^ *+' conftest.er1 >conftest.err
22840 rm -f conftest.er1
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22847 ac_status=$?
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; } &&
22850 { ac_try='test -s conftest.$ac_objext'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; }; then
22856 ac_header_compiler=yes
22857 else
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.$ac_ext >&5
22860
22861 ac_header_compiler=no
22862 fi
22863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22865 echo "${ECHO_T}$ac_header_compiler" >&6
22866
22867 # Is the header present?
22868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22870 cat >conftest.$ac_ext <<_ACEOF
22871 /* confdefs.h. */
22872 _ACEOF
22873 cat confdefs.h >>conftest.$ac_ext
22874 cat >>conftest.$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #include <$ac_header>
22877 _ACEOF
22878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } >/dev/null; then
22886 if test -s conftest.err; then
22887 ac_cpp_err=$ac_cxx_preproc_warn_flag
22888 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22889 else
22890 ac_cpp_err=
22891 fi
22892 else
22893 ac_cpp_err=yes
22894 fi
22895 if test -z "$ac_cpp_err"; then
22896 ac_header_preproc=yes
22897 else
22898 echo "$as_me: failed program was:" >&5
22899 sed 's/^/| /' conftest.$ac_ext >&5
22900
22901 ac_header_preproc=no
22902 fi
22903 rm -f conftest.err conftest.$ac_ext
22904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22905 echo "${ECHO_T}$ac_header_preproc" >&6
22906
22907 # So? What about this header?
22908 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22909 yes:no: )
22910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22914 ac_header_preproc=yes
22915 ;;
22916 no:yes:* )
22917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22929 (
22930 cat <<\_ASBOX
22931 ## ----------------------------------------- ##
22932 ## Report this to wx-dev@lists.wxwidgets.org ##
22933 ## ----------------------------------------- ##
22934 _ASBOX
22935 ) |
22936 sed "s/^/$as_me: WARNING: /" >&2
22937 ;;
22938 esac
22939 echo "$as_me:$LINENO: checking for $ac_header" >&5
22940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22942 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 else
22944 eval "$as_ac_Header=\$ac_header_preproc"
22945 fi
22946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22948
22949 fi
22950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22951 cat >>confdefs.h <<_ACEOF
22952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22953 _ACEOF
22954
22955 fi
22956
22957 done
22958
22959
22960 if test "$ac_cv_header_iostream" = "yes" ; then
22961 :
22962 else
22963 cat >>confdefs.h <<\_ACEOF
22964 #define wxUSE_IOSTREAMH 1
22965 _ACEOF
22966
22967 fi
22968
22969 ac_ext=cc
22970 ac_cpp='$CXXCPP $CPPFLAGS'
22971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22974
22975
22976
22977
22978 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22979 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22980 if test "${wx_cv_cpp_bool+set}" = set; then
22981 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 else
22983
22984
22985
22986 ac_ext=cc
22987 ac_cpp='$CXXCPP $CPPFLAGS'
22988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22991
22992
22993 cat >conftest.$ac_ext <<_ACEOF
22994 /* confdefs.h. */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999
23000
23001 int
23002 main ()
23003 {
23004
23005 bool b = true;
23006
23007 return 0;
23008
23009 ;
23010 return 0;
23011 }
23012 _ACEOF
23013 rm -f conftest.$ac_objext
23014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23015 (eval $ac_compile) 2>conftest.er1
23016 ac_status=$?
23017 grep -v '^ *+' conftest.er1 >conftest.err
23018 rm -f conftest.er1
23019 cat conftest.err >&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; } &&
23028 { ac_try='test -s conftest.$ac_objext'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23031 ac_status=$?
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; }; then
23034
23035 wx_cv_cpp_bool=yes
23036
23037 else
23038 echo "$as_me: failed program was:" >&5
23039 sed 's/^/| /' conftest.$ac_ext >&5
23040
23041
23042 wx_cv_cpp_bool=no
23043
23044
23045 fi
23046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23047
23048 ac_ext=cc
23049 ac_cpp='$CXXCPP $CPPFLAGS'
23050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053
23054
23055 fi
23056 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23057 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23058
23059 if test "$wx_cv_cpp_bool" = "yes"; then
23060 cat >>confdefs.h <<\_ACEOF
23061 #define HAVE_BOOL 1
23062 _ACEOF
23063
23064 fi
23065
23066
23067
23068 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23069 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23070 if test "${wx_cv_explicit+set}" = set; then
23071 echo $ECHO_N "(cached) $ECHO_C" >&6
23072 else
23073
23074
23075
23076 ac_ext=cc
23077 ac_cpp='$CXXCPP $CPPFLAGS'
23078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23081
23082
23083 cat >conftest.$ac_ext <<_ACEOF
23084 /* confdefs.h. */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089
23090 class Foo { public: explicit Foo(int) {} };
23091
23092 int
23093 main ()
23094 {
23095
23096 return 0;
23097
23098 ;
23099 return 0;
23100 }
23101 _ACEOF
23102 rm -f conftest.$ac_objext
23103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23104 (eval $ac_compile) 2>conftest.er1
23105 ac_status=$?
23106 grep -v '^ *+' conftest.er1 >conftest.err
23107 rm -f conftest.er1
23108 cat conftest.err >&5
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); } &&
23111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23113 (eval $ac_try) 2>&5
23114 ac_status=$?
23115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23116 (exit $ac_status); }; } &&
23117 { ac_try='test -s conftest.$ac_objext'
23118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23119 (eval $ac_try) 2>&5
23120 ac_status=$?
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); }; }; then
23123
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130
23131 class Foo { public: explicit Foo(int) {} };
23132 static void TakeFoo(const Foo& foo) { }
23133
23134 int
23135 main ()
23136 {
23137
23138 TakeFoo(17);
23139 return 0;
23140
23141 ;
23142 return 0;
23143 }
23144 _ACEOF
23145 rm -f conftest.$ac_objext
23146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23147 (eval $ac_compile) 2>conftest.er1
23148 ac_status=$?
23149 grep -v '^ *+' conftest.er1 >conftest.err
23150 rm -f conftest.er1
23151 cat conftest.err >&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } &&
23154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23160 { ac_try='test -s conftest.$ac_objext'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23163 ac_status=$?
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; }; then
23166 wx_cv_explicit=no
23167 else
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.$ac_ext >&5
23170
23171 wx_cv_explicit=yes
23172
23173 fi
23174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23175
23176 else
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5
23179
23180 wx_cv_explicit=no
23181
23182 fi
23183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23184
23185 ac_ext=cc
23186 ac_cpp='$CXXCPP $CPPFLAGS'
23187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23190
23191
23192 fi
23193 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23194 echo "${ECHO_T}$wx_cv_explicit" >&6
23195
23196 if test "$wx_cv_explicit" = "yes"; then
23197 cat >>confdefs.h <<\_ACEOF
23198 #define HAVE_EXPLICIT 1
23199 _ACEOF
23200
23201 fi
23202
23203
23204 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23205 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23206 if test "${ac_cv_cxx_const_cast+set}" = set; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23208 else
23209
23210
23211 ac_ext=cc
23212 ac_cpp='$CXXCPP $CPPFLAGS'
23213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23216
23217 cat >conftest.$ac_ext <<_ACEOF
23218 /* confdefs.h. */
23219 _ACEOF
23220 cat confdefs.h >>conftest.$ac_ext
23221 cat >>conftest.$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23223
23224 int
23225 main ()
23226 {
23227 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 rm -f conftest.$ac_objext
23233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23234 (eval $ac_compile) 2>conftest.er1
23235 ac_status=$?
23236 grep -v '^ *+' conftest.er1 >conftest.err
23237 rm -f conftest.er1
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23244 ac_status=$?
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; } &&
23247 { ac_try='test -s conftest.$ac_objext'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; }; then
23253 ac_cv_cxx_const_cast=yes
23254 else
23255 echo "$as_me: failed program was:" >&5
23256 sed 's/^/| /' conftest.$ac_ext >&5
23257
23258 ac_cv_cxx_const_cast=no
23259 fi
23260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23261 ac_ext=cc
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266
23267
23268 fi
23269 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23270 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23271 if test "$ac_cv_cxx_const_cast" = yes; then
23272
23273 cat >>confdefs.h <<\_ACEOF
23274 #define HAVE_CONST_CAST
23275 _ACEOF
23276
23277 fi
23278
23279 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23280 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23281 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284
23285
23286 ac_ext=cc
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 #include <typeinfo>
23299 class Base { public : Base () {} virtual void f () = 0;};
23300 class Derived : public Base { public : Derived () {} virtual void f () {} };
23301 class Unrelated { public : Unrelated () {} };
23302 int g (Unrelated&) { return 0; }
23303 int
23304 main ()
23305 {
23306
23307 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23308 ;
23309 return 0;
23310 }
23311 _ACEOF
23312 rm -f conftest.$ac_objext
23313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23314 (eval $ac_compile) 2>conftest.er1
23315 ac_status=$?
23316 grep -v '^ *+' conftest.er1 >conftest.err
23317 rm -f conftest.er1
23318 cat conftest.err >&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); } &&
23321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; } &&
23327 { ac_try='test -s conftest.$ac_objext'
23328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23329 (eval $ac_try) 2>&5
23330 ac_status=$?
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); }; }; then
23333 ac_cv_cxx_reinterpret_cast=yes
23334 else
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23337
23338 ac_cv_cxx_reinterpret_cast=no
23339 fi
23340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23341 ac_ext=cc
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23346
23347
23348 fi
23349 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23350 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23351 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23352
23353 cat >>confdefs.h <<\_ACEOF
23354 #define HAVE_REINTERPRET_CAST
23355 _ACEOF
23356
23357 fi
23358
23359 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23360 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23361 if test "${ac_cv_cxx_static_cast+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23364
23365
23366 ac_ext=cc
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371
23372 cat >conftest.$ac_ext <<_ACEOF
23373 /* confdefs.h. */
23374 _ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 #include <typeinfo>
23379 class Base { public : Base () {} virtual void f () = 0; };
23380 class Derived : public Base { public : Derived () {} virtual void f () {} };
23381 int g (Derived&) { return 0; }
23382 int
23383 main ()
23384 {
23385
23386 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23387 ;
23388 return 0;
23389 }
23390 _ACEOF
23391 rm -f conftest.$ac_objext
23392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23393 (eval $ac_compile) 2>conftest.er1
23394 ac_status=$?
23395 grep -v '^ *+' conftest.er1 >conftest.err
23396 rm -f conftest.er1
23397 cat conftest.err >&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; } &&
23406 { ac_try='test -s conftest.$ac_objext'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_cxx_static_cast=yes
23413 else
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.$ac_ext >&5
23416
23417 ac_cv_cxx_static_cast=no
23418 fi
23419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23420 ac_ext=cc
23421 ac_cpp='$CXXCPP $CPPFLAGS'
23422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23425
23426
23427 fi
23428 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23429 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23430 if test "$ac_cv_cxx_static_cast" = yes; then
23431
23432 cat >>confdefs.h <<\_ACEOF
23433 #define HAVE_STATIC_CAST
23434 _ACEOF
23435
23436 fi
23437
23438
23439 if test "x$SUNCXX" = xyes; then
23440 CXXFLAGS="-features=tmplife $CXXFLAGS"
23441 fi
23442
23443 if test "x$SUNCC" = xyes; then
23444 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23445 fi
23446
23447 if test "x$SGICC" = "xyes"; then
23448 CFLAGS="-woff 3970 $CFLAGS"
23449 fi
23450 if test "x$SGICXX" = "xyes"; then
23451 CXXFLAGS="-woff 3970 $CXXFLAGS"
23452 fi
23453
23454 if test "x$HPCC" = "xyes"; then
23455 CFLAGS="+W 2011,2450 $CFLAGS"
23456 fi
23457 if test "x$HPCXX" = "xyes"; then
23458 CXXFLAGS="+W 2340 $CXXFLAGS"
23459 fi
23460
23461 if test "x$COMPAQCXX" = "xyes"; then
23462 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23463 fi
23464
23465 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23466 if test "$wxUSE_UNICODE" = "yes"; then
23467 std_string="std::wstring"
23468 char_type="wchar_t"
23469 else
23470 std_string="std::string"
23471 char_type="char"
23472 fi
23473
23474 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23475 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23476 cat >conftest.$ac_ext <<_ACEOF
23477 /* confdefs.h. */
23478 _ACEOF
23479 cat confdefs.h >>conftest.$ac_ext
23480 cat >>conftest.$ac_ext <<_ACEOF
23481 /* end confdefs.h. */
23482 #include <string>
23483 int
23484 main ()
23485 {
23486 $std_string foo;
23487 ;
23488 return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23493 (eval $ac_compile) 2>conftest.er1
23494 ac_status=$?
23495 grep -v '^ *+' conftest.er1 >conftest.err
23496 rm -f conftest.er1
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } &&
23500 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23502 (eval $ac_try) 2>&5
23503 ac_status=$?
23504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23505 (exit $ac_status); }; } &&
23506 { ac_try='test -s conftest.$ac_objext'
23507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23508 (eval $ac_try) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); }; }; then
23512 echo "$as_me:$LINENO: result: yes" >&5
23513 echo "${ECHO_T}yes" >&6
23514 cat >>confdefs.h <<\_ACEOF
23515 #define HAVE_STD_WSTRING 1
23516 _ACEOF
23517
23518 else
23519 echo "$as_me: failed program was:" >&5
23520 sed 's/^/| /' conftest.$ac_ext >&5
23521
23522 echo "$as_me:$LINENO: result: no" >&5
23523 echo "${ECHO_T}no" >&6
23524 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23525 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532
23533 #ifdef HAVE_WCHAR_H
23534 # ifdef __CYGWIN__
23535 # include <stddef.h>
23536 # endif
23537 # include <wchar.h>
23538 #endif
23539 #ifdef HAVE_STDLIB_H
23540 # include <stdlib.h>
23541 #endif
23542 #include <stdio.h>
23543 #include <string>
23544
23545 int
23546 main ()
23547 {
23548 std::basic_string<$char_type> foo;
23549 const $char_type* dummy = foo.c_str();
23550 ;
23551 return 0;
23552 }
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23566 ac_status=$?
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23572 ac_status=$?
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 echo "$as_me:$LINENO: result: yes" >&5
23576 echo "${ECHO_T}yes" >&6
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23580
23581 echo "$as_me:$LINENO: result: no" >&5
23582 echo "${ECHO_T}no" >&6
23583 if test "$wxUSE_STL" = "yes"; then
23584 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23585 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23586 { (exit 1); exit 1; }; }
23587 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23588 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23589 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23590 { (exit 1); exit 1; }; }
23591 else
23592 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23593 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23594 wxUSE_STD_STRING=no
23595 fi
23596
23597
23598 fi
23599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23600
23601 fi
23602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23603 fi
23604
23605 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23606 echo "$as_me:$LINENO: checking for std::istream" >&5
23607 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23608 if test "${ac_cv_type_std__istream+set}" = set; then
23609 echo $ECHO_N "(cached) $ECHO_C" >&6
23610 else
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23617 #include <iostream>
23618
23619 int
23620 main ()
23621 {
23622 if ((std::istream *) 0)
23623 return 0;
23624 if (sizeof (std::istream))
23625 return 0;
23626 ;
23627 return 0;
23628 }
23629 _ACEOF
23630 rm -f conftest.$ac_objext
23631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23632 (eval $ac_compile) 2>conftest.er1
23633 ac_status=$?
23634 grep -v '^ *+' conftest.er1 >conftest.err
23635 rm -f conftest.er1
23636 cat conftest.err >&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } &&
23639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641 (eval $ac_try) 2>&5
23642 ac_status=$?
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); }; } &&
23645 { ac_try='test -s conftest.$ac_objext'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; }; then
23651 ac_cv_type_std__istream=yes
23652 else
23653 echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23655
23656 ac_cv_type_std__istream=no
23657 fi
23658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23659 fi
23660 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23661 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23662 if test $ac_cv_type_std__istream = yes; then
23663
23664 cat >>confdefs.h <<_ACEOF
23665 #define HAVE_STD__ISTREAM 1
23666 _ACEOF
23667
23668
23669 else
23670 wxUSE_STD_IOSTREAM=no
23671 fi
23672 echo "$as_me:$LINENO: checking for std::ostream" >&5
23673 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23674 if test "${ac_cv_type_std__ostream+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677 cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h. */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 #include <iostream>
23684
23685 int
23686 main ()
23687 {
23688 if ((std::ostream *) 0)
23689 return 0;
23690 if (sizeof (std::ostream))
23691 return 0;
23692 ;
23693 return 0;
23694 }
23695 _ACEOF
23696 rm -f conftest.$ac_objext
23697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23698 (eval $ac_compile) 2>conftest.er1
23699 ac_status=$?
23700 grep -v '^ *+' conftest.er1 >conftest.err
23701 rm -f conftest.er1
23702 cat conftest.err >&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } &&
23705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707 (eval $ac_try) 2>&5
23708 ac_status=$?
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); }; } &&
23711 { ac_try='test -s conftest.$ac_objext'
23712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23713 (eval $ac_try) 2>&5
23714 ac_status=$?
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); }; }; then
23717 ac_cv_type_std__ostream=yes
23718 else
23719 echo "$as_me: failed program was:" >&5
23720 sed 's/^/| /' conftest.$ac_ext >&5
23721
23722 ac_cv_type_std__ostream=no
23723 fi
23724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23725 fi
23726 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23727 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23728 if test $ac_cv_type_std__ostream = yes; then
23729
23730 cat >>confdefs.h <<_ACEOF
23731 #define HAVE_STD__OSTREAM 1
23732 _ACEOF
23733
23734
23735 else
23736 wxUSE_STD_IOSTREAM=no
23737 fi
23738
23739
23740 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23741 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23742 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23743 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23744 { (exit 1); exit 1; }; }
23745 else
23746 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23747 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23748 fi
23749 fi
23750 fi
23751
23752 if test "$wxUSE_STL" = "yes"; then
23753 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23754 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23755 cat >conftest.$ac_ext <<_ACEOF
23756 /* confdefs.h. */
23757 _ACEOF
23758 cat confdefs.h >>conftest.$ac_ext
23759 cat >>conftest.$ac_ext <<_ACEOF
23760 /* end confdefs.h. */
23761 #include <string>
23762 #include <functional>
23763 #include <algorithm>
23764 #include <vector>
23765 #include <list>
23766 int
23767 main ()
23768 {
23769 std::vector<int> moo;
23770 std::list<int> foo;
23771 std::vector<int>::iterator it =
23772 std::find_if(moo.begin(), moo.end(),
23773 std::bind2nd(std::less<int>(), 3));
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext
23779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23780 (eval $ac_compile) 2>conftest.er1
23781 ac_status=$?
23782 grep -v '^ *+' conftest.er1 >conftest.err
23783 rm -f conftest.er1
23784 cat conftest.err >&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); } &&
23787 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23789 (eval $ac_try) 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); }; } &&
23793 { ac_try='test -s conftest.$ac_objext'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; }; then
23799 echo "$as_me:$LINENO: result: yes" >&5
23800 echo "${ECHO_T}yes" >&6
23801 else
23802 echo "$as_me: failed program was:" >&5
23803 sed 's/^/| /' conftest.$ac_ext >&5
23804
23805 echo "$as_me:$LINENO: result: no" >&5
23806 echo "${ECHO_T}no" >&6
23807 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23808 echo "$as_me: error: Basic STL functionality missing" >&2;}
23809 { (exit 1); exit 1; }; }
23810 fi
23811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23812
23813 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23814 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23815 cat >conftest.$ac_ext <<_ACEOF
23816 /* confdefs.h. */
23817 _ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23821 #include <string>
23822 int
23823 main ()
23824 {
23825 std::string foo, bar;
23826 foo.compare(bar);
23827 foo.compare(1, 1, bar);
23828 foo.compare(1, 1, bar, 1, 1);
23829 foo.compare("");
23830 foo.compare(1, 1, "");
23831 foo.compare(1, 1, "", 2);
23832 ;
23833 return 0;
23834 }
23835 _ACEOF
23836 rm -f conftest.$ac_objext
23837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23838 (eval $ac_compile) 2>conftest.er1
23839 ac_status=$?
23840 grep -v '^ *+' conftest.er1 >conftest.err
23841 rm -f conftest.er1
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } &&
23845 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847 (eval $ac_try) 2>&5
23848 ac_status=$?
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); }; } &&
23851 { ac_try='test -s conftest.$ac_objext'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23854 ac_status=$?
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; }; then
23857 echo "$as_me:$LINENO: result: yes" >&5
23858 echo "${ECHO_T}yes" >&6
23859 cat >>confdefs.h <<\_ACEOF
23860 #define HAVE_STD_STRING_COMPARE 1
23861 _ACEOF
23862
23863 else
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 echo "$as_me:$LINENO: result: no" >&5
23868 echo "${ECHO_T}no" >&6
23869 fi
23870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23871
23872 if test "${ac_cv_header_hash_map+set}" = set; then
23873 echo "$as_me:$LINENO: checking for hash_map" >&5
23874 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23875 if test "${ac_cv_header_hash_map+set}" = set; then
23876 echo $ECHO_N "(cached) $ECHO_C" >&6
23877 fi
23878 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23879 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23880 else
23881 # Is the header compilable?
23882 echo "$as_me:$LINENO: checking hash_map usability" >&5
23883 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23884 cat >conftest.$ac_ext <<_ACEOF
23885 /* confdefs.h. */
23886 _ACEOF
23887 cat confdefs.h >>conftest.$ac_ext
23888 cat >>conftest.$ac_ext <<_ACEOF
23889 /* end confdefs.h. */
23890 $ac_includes_default
23891 #include <hash_map>
23892 _ACEOF
23893 rm -f conftest.$ac_objext
23894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23895 (eval $ac_compile) 2>conftest.er1
23896 ac_status=$?
23897 grep -v '^ *+' conftest.er1 >conftest.err
23898 rm -f conftest.er1
23899 cat conftest.err >&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); } &&
23902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; } &&
23908 { ac_try='test -s conftest.$ac_objext'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; }; then
23914 ac_header_compiler=yes
23915 else
23916 echo "$as_me: failed program was:" >&5
23917 sed 's/^/| /' conftest.$ac_ext >&5
23918
23919 ac_header_compiler=no
23920 fi
23921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23923 echo "${ECHO_T}$ac_header_compiler" >&6
23924
23925 # Is the header present?
23926 echo "$as_me:$LINENO: checking hash_map presence" >&5
23927 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934 #include <hash_map>
23935 _ACEOF
23936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23938 ac_status=$?
23939 grep -v '^ *+' conftest.er1 >conftest.err
23940 rm -f conftest.er1
23941 cat conftest.err >&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } >/dev/null; then
23944 if test -s conftest.err; then
23945 ac_cpp_err=$ac_cxx_preproc_warn_flag
23946 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23947 else
23948 ac_cpp_err=
23949 fi
23950 else
23951 ac_cpp_err=yes
23952 fi
23953 if test -z "$ac_cpp_err"; then
23954 ac_header_preproc=yes
23955 else
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.$ac_ext >&5
23958
23959 ac_header_preproc=no
23960 fi
23961 rm -f conftest.err conftest.$ac_ext
23962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23963 echo "${ECHO_T}$ac_header_preproc" >&6
23964
23965 # So? What about this header?
23966 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23967 yes:no: )
23968 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23969 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23970 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23971 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23972 ac_header_preproc=yes
23973 ;;
23974 no:yes:* )
23975 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23976 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23977 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23978 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23979 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23980 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23981 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23982 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23983 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23984 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23985 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23986 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23987 (
23988 cat <<\_ASBOX
23989 ## ----------------------------------------- ##
23990 ## Report this to wx-dev@lists.wxwidgets.org ##
23991 ## ----------------------------------------- ##
23992 _ASBOX
23993 ) |
23994 sed "s/^/$as_me: WARNING: /" >&2
23995 ;;
23996 esac
23997 echo "$as_me:$LINENO: checking for hash_map" >&5
23998 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23999 if test "${ac_cv_header_hash_map+set}" = set; then
24000 echo $ECHO_N "(cached) $ECHO_C" >&6
24001 else
24002 ac_cv_header_hash_map=$ac_header_preproc
24003 fi
24004 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24005 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24006
24007 fi
24008 if test $ac_cv_header_hash_map = yes; then
24009 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24010 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24011 cat >conftest.$ac_ext <<_ACEOF
24012 /* confdefs.h. */
24013 _ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017 #include <hash_map>
24018 #include <hash_set>
24019 int
24020 main ()
24021 {
24022 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24023 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24024 ;
24025 return 0;
24026 }
24027 _ACEOF
24028 rm -f conftest.$ac_objext
24029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24030 (eval $ac_compile) 2>conftest.er1
24031 ac_status=$?
24032 grep -v '^ *+' conftest.er1 >conftest.err
24033 rm -f conftest.er1
24034 cat conftest.err >&5
24035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24036 (exit $ac_status); } &&
24037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24039 (eval $ac_try) 2>&5
24040 ac_status=$?
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); }; } &&
24043 { ac_try='test -s conftest.$ac_objext'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24046 ac_status=$?
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; }; then
24049 echo "$as_me:$LINENO: result: yes" >&5
24050 echo "${ECHO_T}yes" >&6
24051 cat >>confdefs.h <<\_ACEOF
24052 #define HAVE_HASH_MAP 1
24053 _ACEOF
24054
24055 cat >>confdefs.h <<\_ACEOF
24056 #define HAVE_STD_HASH_MAP 1
24057 _ACEOF
24058
24059 else
24060 echo "$as_me: failed program was:" >&5
24061 sed 's/^/| /' conftest.$ac_ext >&5
24062
24063 echo "$as_me:$LINENO: result: no" >&5
24064 echo "${ECHO_T}no" >&6
24065 fi
24066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24067
24068 fi
24069
24070
24071
24072 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24073 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24074 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24075 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 fi
24078 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24079 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24080 else
24081 # Is the header compilable?
24082 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24083 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24084 cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h. */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 $ac_includes_default
24091 #include <ext/hash_map>
24092 _ACEOF
24093 rm -f conftest.$ac_objext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24095 (eval $ac_compile) 2>conftest.er1
24096 ac_status=$?
24097 grep -v '^ *+' conftest.er1 >conftest.err
24098 rm -f conftest.er1
24099 cat conftest.err >&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24104 (eval $ac_try) 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); }; } &&
24108 { ac_try='test -s conftest.$ac_objext'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114 ac_header_compiler=yes
24115 else
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24118
24119 ac_header_compiler=no
24120 fi
24121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24123 echo "${ECHO_T}$ac_header_compiler" >&6
24124
24125 # Is the header present?
24126 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24127 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24128 cat >conftest.$ac_ext <<_ACEOF
24129 /* confdefs.h. */
24130 _ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 #include <ext/hash_map>
24135 _ACEOF
24136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24138 ac_status=$?
24139 grep -v '^ *+' conftest.er1 >conftest.err
24140 rm -f conftest.er1
24141 cat conftest.err >&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); } >/dev/null; then
24144 if test -s conftest.err; then
24145 ac_cpp_err=$ac_cxx_preproc_warn_flag
24146 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24147 else
24148 ac_cpp_err=
24149 fi
24150 else
24151 ac_cpp_err=yes
24152 fi
24153 if test -z "$ac_cpp_err"; then
24154 ac_header_preproc=yes
24155 else
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159 ac_header_preproc=no
24160 fi
24161 rm -f conftest.err conftest.$ac_ext
24162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24163 echo "${ECHO_T}$ac_header_preproc" >&6
24164
24165 # So? What about this header?
24166 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24167 yes:no: )
24168 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24169 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24170 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24171 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24172 ac_header_preproc=yes
24173 ;;
24174 no:yes:* )
24175 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24176 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24177 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24178 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24179 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24180 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24181 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24182 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24183 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24184 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24185 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24186 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24187 (
24188 cat <<\_ASBOX
24189 ## ----------------------------------------- ##
24190 ## Report this to wx-dev@lists.wxwidgets.org ##
24191 ## ----------------------------------------- ##
24192 _ASBOX
24193 ) |
24194 sed "s/^/$as_me: WARNING: /" >&2
24195 ;;
24196 esac
24197 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24198 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24199 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24200 echo $ECHO_N "(cached) $ECHO_C" >&6
24201 else
24202 ac_cv_header_ext_hash_map=$ac_header_preproc
24203 fi
24204 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24205 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24206
24207 fi
24208 if test $ac_cv_header_ext_hash_map = yes; then
24209 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24210 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24211 cat >conftest.$ac_ext <<_ACEOF
24212 /* confdefs.h. */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217 #include <ext/hash_map>
24218 #include <ext/hash_set>
24219 int
24220 main ()
24221 {
24222 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24223 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24224 ;
24225 return 0;
24226 }
24227 _ACEOF
24228 rm -f conftest.$ac_objext
24229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24230 (eval $ac_compile) 2>conftest.er1
24231 ac_status=$?
24232 grep -v '^ *+' conftest.er1 >conftest.err
24233 rm -f conftest.er1
24234 cat conftest.err >&5
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); } &&
24237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24239 (eval $ac_try) 2>&5
24240 ac_status=$?
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); }; } &&
24243 { ac_try='test -s conftest.$ac_objext'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24246 ac_status=$?
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 echo "$as_me:$LINENO: result: yes" >&5
24250 echo "${ECHO_T}yes" >&6
24251 cat >>confdefs.h <<\_ACEOF
24252 #define HAVE_EXT_HASH_MAP 1
24253 _ACEOF
24254
24255 cat >>confdefs.h <<\_ACEOF
24256 #define HAVE_GNU_CXX_HASH_MAP 1
24257 _ACEOF
24258
24259 else
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24262
24263 echo "$as_me:$LINENO: result: no" >&5
24264 echo "${ECHO_T}no" >&6
24265 fi
24266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24267
24268 fi
24269
24270
24271 fi
24272
24273
24274 SEARCH_INCLUDE="\
24275 /usr/local/include \
24276 \
24277 /usr/Motif-2.1/include \
24278 /usr/Motif-1.2/include \
24279 /usr/include/Motif1.2 \
24280 \
24281 /usr/dt/include \
24282 /usr/openwin/include \
24283 \
24284 /usr/include/Xm \
24285 \
24286 /usr/X11R6/include \
24287 /usr/X11R6.4/include \
24288 /usr/X11R5/include \
24289 /usr/X11R4/include \
24290 \
24291 /usr/include/X11R6 \
24292 /usr/include/X11R5 \
24293 /usr/include/X11R4 \
24294 \
24295 /usr/local/X11R6/include \
24296 /usr/local/X11R5/include \
24297 /usr/local/X11R4/include \
24298 \
24299 /usr/local/include/X11R6 \
24300 /usr/local/include/X11R5 \
24301 /usr/local/include/X11R4 \
24302 \
24303 /usr/X11/include \
24304 /usr/include/X11 \
24305 /usr/local/X11/include \
24306 /usr/local/include/X11 \
24307 \
24308 /usr/XFree86/include/X11 \
24309 /usr/pkg/include \
24310 \
24311 /usr/openwin/share/include"
24312
24313 echo "$as_me:$LINENO: checking for libraries directory" >&5
24314 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24315
24316 case "${host}" in
24317 *-*-irix6* )
24318 if test "${wx_cv_std_libpath+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 else
24321
24322 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24323 for e in a so sl dylib dll.a; do
24324 libc="$d/libc.$e"
24325 if test -f $libc; then
24326 save_LIBS="$LIBS"
24327 LIBS="$libc"
24328 cat >conftest.$ac_ext <<_ACEOF
24329 int main() { return 0; }
24330 _ACEOF
24331 rm -f conftest.$ac_objext conftest$ac_exeext
24332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24333 (eval $ac_link) 2>conftest.er1
24334 ac_status=$?
24335 grep -v '^ *+' conftest.er1 >conftest.err
24336 rm -f conftest.er1
24337 cat conftest.err >&5
24338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24339 (exit $ac_status); } &&
24340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24342 (eval $ac_try) 2>&5
24343 ac_status=$?
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); }; } &&
24346 { ac_try='test -s conftest$ac_exeext'
24347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24348 (eval $ac_try) 2>&5
24349 ac_status=$?
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); }; }; then
24352 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24353 else
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.$ac_ext >&5
24356
24357 fi
24358 rm -f conftest.err conftest.$ac_objext \
24359 conftest$ac_exeext conftest.$ac_ext
24360 LIBS="$save_LIBS"
24361 if test "x$wx_cv_std_libpath" != "x"; then
24362 break 2
24363 fi
24364 fi
24365 done
24366 done
24367 if test "x$wx_cv_std_libpath" = "x"; then
24368 wx_cv_std_libpath="lib"
24369 fi
24370
24371
24372 fi
24373
24374 ;;
24375
24376 *-*-solaris2* )
24377 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24378 wx_cv_std_libpath="lib/64"
24379 else
24380 wx_cv_std_libpath="lib"
24381 fi
24382 ;;
24383
24384 *-*-linux* )
24385 if test "$ac_cv_sizeof_void_p" = 8 -a \
24386 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24387 wx_cv_std_libpath="lib64"
24388 else
24389 wx_cv_std_libpath="lib"
24390 fi
24391 ;;
24392
24393 *)
24394 wx_cv_std_libpath="lib";
24395 ;;
24396 esac
24397
24398 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24399 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24400
24401 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24402
24403 if test "$build" != "$host" -a "$GCC" = yes; then
24404 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24405 cross_root=`dirname $cross_root`
24406 cross_root=`dirname $cross_root`
24407
24408 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24409 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24410 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24411
24412 if test -z "$PKG_CONFIG_PATH"; then
24413 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24414 export PKG_CONFIG_PATH
24415 fi
24416
24417 if test -z "$x_includes" -o "$x_includes" = NONE; then
24418
24419 ac_find_includes=
24420 for ac_dir in $SEARCH_INCLUDE /usr/include;
24421 do
24422 if test -f "$ac_dir/X11/Intrinsic.h"; then
24423 ac_find_includes=$ac_dir
24424 break
24425 fi
24426 done
24427
24428 x_includes=$ac_find_includes
24429 fi
24430 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24431
24432 ac_find_libraries=
24433 for ac_dir in $SEARCH_LIB;
24434 do
24435 for ac_extension in a so sl dylib dll.a; do
24436 if test -f "$ac_dir/libXt.$ac_extension"; then
24437 ac_find_libraries=$ac_dir
24438 break 2
24439 fi
24440 done
24441 done
24442
24443 x_libraries=$ac_find_libraries
24444 fi
24445 fi
24446 fi
24447
24448
24449 cat >confcache <<\_ACEOF
24450 # This file is a shell script that caches the results of configure
24451 # tests run on this system so they can be shared between configure
24452 # scripts and configure runs, see configure's option --config-cache.
24453 # It is not useful on other systems. If it contains results you don't
24454 # want to keep, you may remove or edit it.
24455 #
24456 # config.status only pays attention to the cache file if you give it
24457 # the --recheck option to rerun configure.
24458 #
24459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24461 # following values.
24462
24463 _ACEOF
24464
24465 # The following way of writing the cache mishandles newlines in values,
24466 # but we know of no workaround that is simple, portable, and efficient.
24467 # So, don't put newlines in cache variables' values.
24468 # Ultrix sh set writes to stderr and can't be redirected directly,
24469 # and sets the high bit in the cache file unless we assign to the vars.
24470 {
24471 (set) 2>&1 |
24472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24473 *ac_space=\ *)
24474 # `set' does not quote correctly, so add quotes (double-quote
24475 # substitution turns \\\\ into \\, and sed turns \\ into \).
24476 sed -n \
24477 "s/'/'\\\\''/g;
24478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24479 ;;
24480 *)
24481 # `set' quotes correctly as required by POSIX, so do not add quotes.
24482 sed -n \
24483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24484 ;;
24485 esac;
24486 } |
24487 sed '
24488 t clear
24489 : clear
24490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24491 t end
24492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24493 : end' >>confcache
24494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24495 if test -w $cache_file; then
24496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24497 cat confcache >$cache_file
24498 else
24499 echo "not updating unwritable cache $cache_file"
24500 fi
24501 fi
24502 rm -f confcache
24503
24504 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24505 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24506 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24507 if test "${wx_cv_lib_glibc21+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24510
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 #include <features.h>
24518 int
24519 main ()
24520 {
24521
24522 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24523 not glibc 2.1
24524 #endif
24525
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24532 (eval $ac_compile) 2>conftest.er1
24533 ac_status=$?
24534 grep -v '^ *+' conftest.er1 >conftest.err
24535 rm -f conftest.er1
24536 cat conftest.err >&5
24537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24538 (exit $ac_status); } &&
24539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24541 (eval $ac_try) 2>&5
24542 ac_status=$?
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); }; } &&
24545 { ac_try='test -s conftest.$ac_objext'
24546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547 (eval $ac_try) 2>&5
24548 ac_status=$?
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; }; then
24551
24552 wx_cv_lib_glibc21=yes
24553
24554 else
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.$ac_ext >&5
24557
24558
24559 wx_cv_lib_glibc21=no
24560
24561
24562 fi
24563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24564
24565 fi
24566 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24567 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24568 if test "$wx_cv_lib_glibc21" = "yes"; then
24569 cat >>confdefs.h <<\_ACEOF
24570 #define wxHAVE_GLIBC2 1
24571 _ACEOF
24572
24573 fi
24574 fi
24575
24576 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24577 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24578 cat >>confdefs.h <<\_ACEOF
24579 #define _GNU_SOURCE 1
24580 _ACEOF
24581
24582 fi
24583 fi
24584
24585 have_cos=0
24586 have_floor=0
24587
24588 for ac_func in cos
24589 do
24590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24591 echo "$as_me:$LINENO: checking for $ac_func" >&5
24592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24593 if eval "test \"\${$as_ac_var+set}\" = set"; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 else
24596 cat >conftest.$ac_ext <<_ACEOF
24597 /* confdefs.h. */
24598 _ACEOF
24599 cat confdefs.h >>conftest.$ac_ext
24600 cat >>conftest.$ac_ext <<_ACEOF
24601 /* end confdefs.h. */
24602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24604 #define $ac_func innocuous_$ac_func
24605
24606 /* System header to define __stub macros and hopefully few prototypes,
24607 which can conflict with char $ac_func (); below.
24608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24609 <limits.h> exists even on freestanding compilers. */
24610
24611 #ifdef __STDC__
24612 # include <limits.h>
24613 #else
24614 # include <assert.h>
24615 #endif
24616
24617 #undef $ac_func
24618
24619 /* Override any gcc2 internal prototype to avoid an error. */
24620 #ifdef __cplusplus
24621 extern "C"
24622 {
24623 #endif
24624 /* We use char because int might match the return type of a gcc2
24625 builtin and then its argument prototype would still apply. */
24626 char $ac_func ();
24627 /* The GNU C library defines this for functions which it implements
24628 to always fail with ENOSYS. Some functions are actually named
24629 something starting with __ and the normal name is an alias. */
24630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24631 choke me
24632 #else
24633 char (*f) () = $ac_func;
24634 #endif
24635 #ifdef __cplusplus
24636 }
24637 #endif
24638
24639 int
24640 main ()
24641 {
24642 return f != $ac_func;
24643 ;
24644 return 0;
24645 }
24646 _ACEOF
24647 rm -f conftest.$ac_objext conftest$ac_exeext
24648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24649 (eval $ac_link) 2>conftest.er1
24650 ac_status=$?
24651 grep -v '^ *+' conftest.er1 >conftest.err
24652 rm -f conftest.er1
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } &&
24656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 eval "$as_ac_var=yes"
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24672
24673 eval "$as_ac_var=no"
24674 fi
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24677 fi
24678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24680 if test `eval echo '${'$as_ac_var'}'` = yes; then
24681 cat >>confdefs.h <<_ACEOF
24682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24683 _ACEOF
24684 have_cos=1
24685 fi
24686 done
24687
24688
24689 for ac_func in floor
24690 do
24691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24692 echo "$as_me:$LINENO: checking for $ac_func" >&5
24693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24694 if eval "test \"\${$as_ac_var+set}\" = set"; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24696 else
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h. */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24705 #define $ac_func innocuous_$ac_func
24706
24707 /* System header to define __stub macros and hopefully few prototypes,
24708 which can conflict with char $ac_func (); below.
24709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24710 <limits.h> exists even on freestanding compilers. */
24711
24712 #ifdef __STDC__
24713 # include <limits.h>
24714 #else
24715 # include <assert.h>
24716 #endif
24717
24718 #undef $ac_func
24719
24720 /* Override any gcc2 internal prototype to avoid an error. */
24721 #ifdef __cplusplus
24722 extern "C"
24723 {
24724 #endif
24725 /* We use char because int might match the return type of a gcc2
24726 builtin and then its argument prototype would still apply. */
24727 char $ac_func ();
24728 /* The GNU C library defines this for functions which it implements
24729 to always fail with ENOSYS. Some functions are actually named
24730 something starting with __ and the normal name is an alias. */
24731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24732 choke me
24733 #else
24734 char (*f) () = $ac_func;
24735 #endif
24736 #ifdef __cplusplus
24737 }
24738 #endif
24739
24740 int
24741 main ()
24742 {
24743 return f != $ac_func;
24744 ;
24745 return 0;
24746 }
24747 _ACEOF
24748 rm -f conftest.$ac_objext conftest$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24751 ac_status=$?
24752 grep -v '^ *+' conftest.er1 >conftest.err
24753 rm -f conftest.er1
24754 cat conftest.err >&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try='test -s conftest$ac_exeext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24766 ac_status=$?
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 eval "$as_ac_var=yes"
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 eval "$as_ac_var=no"
24775 fi
24776 rm -f conftest.err conftest.$ac_objext \
24777 conftest$ac_exeext conftest.$ac_ext
24778 fi
24779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24781 if test `eval echo '${'$as_ac_var'}'` = yes; then
24782 cat >>confdefs.h <<_ACEOF
24783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24784 _ACEOF
24785 have_floor=1
24786 fi
24787 done
24788
24789 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24790 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24791 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24792 echo "$as_me:$LINENO: result: yes" >&5
24793 echo "${ECHO_T}yes" >&6
24794 else
24795 echo "$as_me:$LINENO: result: no" >&5
24796 echo "${ECHO_T}no" >&6
24797 LIBS="$LIBS -lm"
24798 # use different functions to avoid configure caching
24799 have_sin=0
24800 have_ceil=0
24801
24802 for ac_func in sin
24803 do
24804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24805 echo "$as_me:$LINENO: checking for $ac_func" >&5
24806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24807 if eval "test \"\${$as_ac_var+set}\" = set"; then
24808 echo $ECHO_N "(cached) $ECHO_C" >&6
24809 else
24810 cat >conftest.$ac_ext <<_ACEOF
24811 /* confdefs.h. */
24812 _ACEOF
24813 cat confdefs.h >>conftest.$ac_ext
24814 cat >>conftest.$ac_ext <<_ACEOF
24815 /* end confdefs.h. */
24816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24818 #define $ac_func innocuous_$ac_func
24819
24820 /* System header to define __stub macros and hopefully few prototypes,
24821 which can conflict with char $ac_func (); below.
24822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24823 <limits.h> exists even on freestanding compilers. */
24824
24825 #ifdef __STDC__
24826 # include <limits.h>
24827 #else
24828 # include <assert.h>
24829 #endif
24830
24831 #undef $ac_func
24832
24833 /* Override any gcc2 internal prototype to avoid an error. */
24834 #ifdef __cplusplus
24835 extern "C"
24836 {
24837 #endif
24838 /* We use char because int might match the return type of a gcc2
24839 builtin and then its argument prototype would still apply. */
24840 char $ac_func ();
24841 /* The GNU C library defines this for functions which it implements
24842 to always fail with ENOSYS. Some functions are actually named
24843 something starting with __ and the normal name is an alias. */
24844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24845 choke me
24846 #else
24847 char (*f) () = $ac_func;
24848 #endif
24849 #ifdef __cplusplus
24850 }
24851 #endif
24852
24853 int
24854 main ()
24855 {
24856 return f != $ac_func;
24857 ;
24858 return 0;
24859 }
24860 _ACEOF
24861 rm -f conftest.$ac_objext conftest$ac_exeext
24862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24863 (eval $ac_link) 2>conftest.er1
24864 ac_status=$?
24865 grep -v '^ *+' conftest.er1 >conftest.err
24866 rm -f conftest.er1
24867 cat conftest.err >&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); } &&
24870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; } &&
24876 { ac_try='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24879 ac_status=$?
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 eval "$as_ac_var=yes"
24883 else
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24886
24887 eval "$as_ac_var=no"
24888 fi
24889 rm -f conftest.err conftest.$ac_objext \
24890 conftest$ac_exeext conftest.$ac_ext
24891 fi
24892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24894 if test `eval echo '${'$as_ac_var'}'` = yes; then
24895 cat >>confdefs.h <<_ACEOF
24896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24897 _ACEOF
24898 have_sin=1
24899 fi
24900 done
24901
24902
24903 for ac_func in ceil
24904 do
24905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24906 echo "$as_me:$LINENO: checking for $ac_func" >&5
24907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24908 if eval "test \"\${$as_ac_var+set}\" = set"; then
24909 echo $ECHO_N "(cached) $ECHO_C" >&6
24910 else
24911 cat >conftest.$ac_ext <<_ACEOF
24912 /* confdefs.h. */
24913 _ACEOF
24914 cat confdefs.h >>conftest.$ac_ext
24915 cat >>conftest.$ac_ext <<_ACEOF
24916 /* end confdefs.h. */
24917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24919 #define $ac_func innocuous_$ac_func
24920
24921 /* System header to define __stub macros and hopefully few prototypes,
24922 which can conflict with char $ac_func (); below.
24923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24924 <limits.h> exists even on freestanding compilers. */
24925
24926 #ifdef __STDC__
24927 # include <limits.h>
24928 #else
24929 # include <assert.h>
24930 #endif
24931
24932 #undef $ac_func
24933
24934 /* Override any gcc2 internal prototype to avoid an error. */
24935 #ifdef __cplusplus
24936 extern "C"
24937 {
24938 #endif
24939 /* We use char because int might match the return type of a gcc2
24940 builtin and then its argument prototype would still apply. */
24941 char $ac_func ();
24942 /* The GNU C library defines this for functions which it implements
24943 to always fail with ENOSYS. Some functions are actually named
24944 something starting with __ and the normal name is an alias. */
24945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24946 choke me
24947 #else
24948 char (*f) () = $ac_func;
24949 #endif
24950 #ifdef __cplusplus
24951 }
24952 #endif
24953
24954 int
24955 main ()
24956 {
24957 return f != $ac_func;
24958 ;
24959 return 0;
24960 }
24961 _ACEOF
24962 rm -f conftest.$ac_objext conftest$ac_exeext
24963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24964 (eval $ac_link) 2>conftest.er1
24965 ac_status=$?
24966 grep -v '^ *+' conftest.er1 >conftest.err
24967 rm -f conftest.er1
24968 cat conftest.err >&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); } &&
24971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24980 ac_status=$?
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 eval "$as_ac_var=yes"
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988 eval "$as_ac_var=no"
24989 fi
24990 rm -f conftest.err conftest.$ac_objext \
24991 conftest$ac_exeext conftest.$ac_ext
24992 fi
24993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24995 if test `eval echo '${'$as_ac_var'}'` = yes; then
24996 cat >>confdefs.h <<_ACEOF
24997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24998 _ACEOF
24999 have_ceil=1
25000 fi
25001 done
25002
25003 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25004 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25005 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25006 echo "$as_me:$LINENO: result: yes" >&5
25007 echo "${ECHO_T}yes" >&6
25008 else
25009 echo "$as_me:$LINENO: result: no" >&5
25010 echo "${ECHO_T}no" >&6
25011 # not sure we should warn the user, crash, etc.
25012 fi
25013 fi
25014
25015
25016
25017 if test "$wxUSE_REGEX" != "no"; then
25018 cat >>confdefs.h <<\_ACEOF
25019 #define wxUSE_REGEX 1
25020 _ACEOF
25021
25022
25023 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25024 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25025 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25026 wxUSE_REGEX=builtin
25027 fi
25028
25029 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25030 if test "${ac_cv_header_regex_h+set}" = set; then
25031 echo "$as_me:$LINENO: checking for regex.h" >&5
25032 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25033 if test "${ac_cv_header_regex_h+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 fi
25036 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25037 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25038 else
25039 # Is the header compilable?
25040 echo "$as_me:$LINENO: checking regex.h usability" >&5
25041 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25042 cat >conftest.$ac_ext <<_ACEOF
25043 /* confdefs.h. */
25044 _ACEOF
25045 cat confdefs.h >>conftest.$ac_ext
25046 cat >>conftest.$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25048 $ac_includes_default
25049 #include <regex.h>
25050 _ACEOF
25051 rm -f conftest.$ac_objext
25052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25053 (eval $ac_compile) 2>conftest.er1
25054 ac_status=$?
25055 grep -v '^ *+' conftest.er1 >conftest.err
25056 rm -f conftest.er1
25057 cat conftest.err >&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } &&
25060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062 (eval $ac_try) 2>&5
25063 ac_status=$?
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; } &&
25066 { ac_try='test -s conftest.$ac_objext'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25069 ac_status=$?
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; }; then
25072 ac_header_compiler=yes
25073 else
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.$ac_ext >&5
25076
25077 ac_header_compiler=no
25078 fi
25079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25081 echo "${ECHO_T}$ac_header_compiler" >&6
25082
25083 # Is the header present?
25084 echo "$as_me:$LINENO: checking regex.h presence" >&5
25085 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25086 cat >conftest.$ac_ext <<_ACEOF
25087 /* confdefs.h. */
25088 _ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092 #include <regex.h>
25093 _ACEOF
25094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25096 ac_status=$?
25097 grep -v '^ *+' conftest.er1 >conftest.err
25098 rm -f conftest.er1
25099 cat conftest.err >&5
25100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25101 (exit $ac_status); } >/dev/null; then
25102 if test -s conftest.err; then
25103 ac_cpp_err=$ac_cxx_preproc_warn_flag
25104 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25105 else
25106 ac_cpp_err=
25107 fi
25108 else
25109 ac_cpp_err=yes
25110 fi
25111 if test -z "$ac_cpp_err"; then
25112 ac_header_preproc=yes
25113 else
25114 echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 ac_header_preproc=no
25118 fi
25119 rm -f conftest.err conftest.$ac_ext
25120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25121 echo "${ECHO_T}$ac_header_preproc" >&6
25122
25123 # So? What about this header?
25124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25125 yes:no: )
25126 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25127 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25128 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25129 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25130 ac_header_preproc=yes
25131 ;;
25132 no:yes:* )
25133 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25134 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25135 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25136 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25137 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25138 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25139 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25140 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25141 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25142 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25143 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25144 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25145 (
25146 cat <<\_ASBOX
25147 ## ----------------------------------------- ##
25148 ## Report this to wx-dev@lists.wxwidgets.org ##
25149 ## ----------------------------------------- ##
25150 _ASBOX
25151 ) |
25152 sed "s/^/$as_me: WARNING: /" >&2
25153 ;;
25154 esac
25155 echo "$as_me:$LINENO: checking for regex.h" >&5
25156 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25157 if test "${ac_cv_header_regex_h+set}" = set; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25159 else
25160 ac_cv_header_regex_h=$ac_header_preproc
25161 fi
25162 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25163 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25164
25165 fi
25166 if test $ac_cv_header_regex_h = yes; then
25167
25168
25169 for ac_func in regcomp re_search
25170 do
25171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25172 echo "$as_me:$LINENO: checking for $ac_func" >&5
25173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25174 if eval "test \"\${$as_ac_var+set}\" = set"; then
25175 echo $ECHO_N "(cached) $ECHO_C" >&6
25176 else
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25185 #define $ac_func innocuous_$ac_func
25186
25187 /* System header to define __stub macros and hopefully few prototypes,
25188 which can conflict with char $ac_func (); below.
25189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25190 <limits.h> exists even on freestanding compilers. */
25191
25192 #ifdef __STDC__
25193 # include <limits.h>
25194 #else
25195 # include <assert.h>
25196 #endif
25197
25198 #undef $ac_func
25199
25200 /* Override any gcc2 internal prototype to avoid an error. */
25201 #ifdef __cplusplus
25202 extern "C"
25203 {
25204 #endif
25205 /* We use char because int might match the return type of a gcc2
25206 builtin and then its argument prototype would still apply. */
25207 char $ac_func ();
25208 /* The GNU C library defines this for functions which it implements
25209 to always fail with ENOSYS. Some functions are actually named
25210 something starting with __ and the normal name is an alias. */
25211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25212 choke me
25213 #else
25214 char (*f) () = $ac_func;
25215 #endif
25216 #ifdef __cplusplus
25217 }
25218 #endif
25219
25220 int
25221 main ()
25222 {
25223 return f != $ac_func;
25224 ;
25225 return 0;
25226 }
25227 _ACEOF
25228 rm -f conftest.$ac_objext conftest$ac_exeext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25230 (eval $ac_link) 2>conftest.er1
25231 ac_status=$?
25232 grep -v '^ *+' conftest.er1 >conftest.err
25233 rm -f conftest.er1
25234 cat conftest.err >&5
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } &&
25237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25240 ac_status=$?
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; } &&
25243 { ac_try='test -s conftest$ac_exeext'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25246 ac_status=$?
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 eval "$as_ac_var=yes"
25250 else
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25253
25254 eval "$as_ac_var=no"
25255 fi
25256 rm -f conftest.err conftest.$ac_objext \
25257 conftest$ac_exeext conftest.$ac_ext
25258 fi
25259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25261 if test `eval echo '${'$as_ac_var'}'` = yes; then
25262 cat >>confdefs.h <<_ACEOF
25263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25264 _ACEOF
25265
25266 fi
25267 done
25268
25269 fi
25270
25271
25272
25273 if test "x$ac_cv_func_regcomp" != "xyes"; then
25274 if test "$wxUSE_REGEX" = "sys" ; then
25275 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25276 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25277 { (exit 1); exit 1; }; }
25278 else
25279 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25280 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25281 wxUSE_REGEX=builtin
25282 fi
25283 else
25284 wxUSE_REGEX=sys
25285 cat >>confdefs.h <<\_ACEOF
25286 #define WX_NO_REGEX_ADVANCED 1
25287 _ACEOF
25288
25289 fi
25290 fi
25291 fi
25292
25293
25294 ZLIB_LINK=
25295 if test "$wxUSE_ZLIB" != "no" ; then
25296 cat >>confdefs.h <<\_ACEOF
25297 #define wxUSE_ZLIB 1
25298 _ACEOF
25299
25300
25301 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25302 if test "$USE_DARWIN" = 1; then
25303 system_zlib_h_ok="yes"
25304 else
25305 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25306 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25307 if test "${ac_cv_header_zlib_h+set}" = set; then
25308 echo $ECHO_N "(cached) $ECHO_C" >&6
25309 else
25310 if test "$cross_compiling" = yes; then
25311 unset ac_cv_header_zlib_h
25312
25313 else
25314 cat >conftest.$ac_ext <<_ACEOF
25315 /* confdefs.h. */
25316 _ACEOF
25317 cat confdefs.h >>conftest.$ac_ext
25318 cat >>conftest.$ac_ext <<_ACEOF
25319 /* end confdefs.h. */
25320
25321 #include <zlib.h>
25322 #include <stdio.h>
25323
25324 int main()
25325 {
25326 FILE *f=fopen("conftestval", "w");
25327 if (!f) exit(1);
25328 fprintf(f, "%s",
25329 ZLIB_VERSION[0] == '1' &&
25330 (ZLIB_VERSION[2] > '1' ||
25331 (ZLIB_VERSION[2] == '1' &&
25332 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25333 exit(0);
25334 }
25335
25336 _ACEOF
25337 rm -f conftest$ac_exeext
25338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25339 (eval $ac_link) 2>&5
25340 ac_status=$?
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25345 ac_status=$?
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; }; then
25348 ac_cv_header_zlib_h=`cat conftestval`
25349 else
25350 echo "$as_me: program exited with status $ac_status" >&5
25351 echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.$ac_ext >&5
25353
25354 ( exit $ac_status )
25355 ac_cv_header_zlib_h=no
25356 fi
25357 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25358 fi
25359
25360 fi
25361 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25362 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25363 if test "${ac_cv_header_zlib_h+set}" = set; then
25364 echo "$as_me:$LINENO: checking for zlib.h" >&5
25365 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25366 if test "${ac_cv_header_zlib_h+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25368 fi
25369 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25370 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25371 else
25372 # Is the header compilable?
25373 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25374 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25375 cat >conftest.$ac_ext <<_ACEOF
25376 /* confdefs.h. */
25377 _ACEOF
25378 cat confdefs.h >>conftest.$ac_ext
25379 cat >>conftest.$ac_ext <<_ACEOF
25380 /* end confdefs.h. */
25381 $ac_includes_default
25382 #include <zlib.h>
25383 _ACEOF
25384 rm -f conftest.$ac_objext
25385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25386 (eval $ac_compile) 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } &&
25393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25395 (eval $ac_try) 2>&5
25396 ac_status=$?
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); }; } &&
25399 { ac_try='test -s conftest.$ac_objext'
25400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25401 (eval $ac_try) 2>&5
25402 ac_status=$?
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); }; }; then
25405 ac_header_compiler=yes
25406 else
25407 echo "$as_me: failed program was:" >&5
25408 sed 's/^/| /' conftest.$ac_ext >&5
25409
25410 ac_header_compiler=no
25411 fi
25412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25414 echo "${ECHO_T}$ac_header_compiler" >&6
25415
25416 # Is the header present?
25417 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25418 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25419 cat >conftest.$ac_ext <<_ACEOF
25420 /* confdefs.h. */
25421 _ACEOF
25422 cat confdefs.h >>conftest.$ac_ext
25423 cat >>conftest.$ac_ext <<_ACEOF
25424 /* end confdefs.h. */
25425 #include <zlib.h>
25426 _ACEOF
25427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25429 ac_status=$?
25430 grep -v '^ *+' conftest.er1 >conftest.err
25431 rm -f conftest.er1
25432 cat conftest.err >&5
25433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434 (exit $ac_status); } >/dev/null; then
25435 if test -s conftest.err; then
25436 ac_cpp_err=$ac_cxx_preproc_warn_flag
25437 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25438 else
25439 ac_cpp_err=
25440 fi
25441 else
25442 ac_cpp_err=yes
25443 fi
25444 if test -z "$ac_cpp_err"; then
25445 ac_header_preproc=yes
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 ac_header_preproc=no
25451 fi
25452 rm -f conftest.err conftest.$ac_ext
25453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25454 echo "${ECHO_T}$ac_header_preproc" >&6
25455
25456 # So? What about this header?
25457 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25458 yes:no: )
25459 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25460 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25462 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25463 ac_header_preproc=yes
25464 ;;
25465 no:yes:* )
25466 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25467 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25468 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25469 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25470 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25471 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25472 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25473 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25474 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25475 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25476 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25477 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25478 (
25479 cat <<\_ASBOX
25480 ## ----------------------------------------- ##
25481 ## Report this to wx-dev@lists.wxwidgets.org ##
25482 ## ----------------------------------------- ##
25483 _ASBOX
25484 ) |
25485 sed "s/^/$as_me: WARNING: /" >&2
25486 ;;
25487 esac
25488 echo "$as_me:$LINENO: checking for zlib.h" >&5
25489 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25490 if test "${ac_cv_header_zlib_h+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25492 else
25493 ac_cv_header_zlib_h=$ac_header_preproc
25494 fi
25495 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25496 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25497
25498 fi
25499
25500
25501
25502 system_zlib_h_ok=$ac_cv_header_zlib_h
25503 fi
25504
25505 if test "$system_zlib_h_ok" = "yes"; then
25506 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25507 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25508 if test "${ac_cv_lib_z_deflate+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511 ac_check_lib_save_LIBS=$LIBS
25512 LIBS="-lz $LIBS"
25513 cat >conftest.$ac_ext <<_ACEOF
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519
25520 /* Override any gcc2 internal prototype to avoid an error. */
25521 #ifdef __cplusplus
25522 extern "C"
25523 #endif
25524 /* We use char because int might match the return type of a gcc2
25525 builtin and then its argument prototype would still apply. */
25526 char deflate ();
25527 int
25528 main ()
25529 {
25530 deflate ();
25531 ;
25532 return 0;
25533 }
25534 _ACEOF
25535 rm -f conftest.$ac_objext conftest$ac_exeext
25536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25537 (eval $ac_link) 2>conftest.er1
25538 ac_status=$?
25539 grep -v '^ *+' conftest.er1 >conftest.err
25540 rm -f conftest.er1
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } &&
25544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25547 ac_status=$?
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; } &&
25550 { ac_try='test -s conftest$ac_exeext'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25553 ac_status=$?
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; }; then
25556 ac_cv_lib_z_deflate=yes
25557 else
25558 echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.$ac_ext >&5
25560
25561 ac_cv_lib_z_deflate=no
25562 fi
25563 rm -f conftest.err conftest.$ac_objext \
25564 conftest$ac_exeext conftest.$ac_ext
25565 LIBS=$ac_check_lib_save_LIBS
25566 fi
25567 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25568 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25569 if test $ac_cv_lib_z_deflate = yes; then
25570 ZLIB_LINK=" -lz"
25571 fi
25572
25573 fi
25574
25575 if test "x$ZLIB_LINK" = "x" ; then
25576 if test "$wxUSE_ZLIB" = "sys" ; then
25577 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25578 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25579 { (exit 1); exit 1; }; }
25580 else
25581 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25582 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25583 wxUSE_ZLIB=builtin
25584 fi
25585 else
25586 wxUSE_ZLIB=sys
25587 fi
25588 fi
25589 fi
25590
25591
25592 PNG_LINK=
25593 if test "$wxUSE_LIBPNG" != "no" ; then
25594 cat >>confdefs.h <<\_ACEOF
25595 #define wxUSE_LIBPNG 1
25596 _ACEOF
25597
25598
25599 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25600 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25601 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25602 wxUSE_LIBPNG=sys
25603 fi
25604
25605 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25606 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25607 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25608 wxUSE_LIBPNG=builtin
25609 fi
25610
25611 if test "$wxUSE_MGL" != 1 ; then
25612 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25613 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25614 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25615 if test "${ac_cv_header_png_h+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 else
25618 if test "$cross_compiling" = yes; then
25619 unset ac_cv_header_png_h
25620
25621 else
25622 cat >conftest.$ac_ext <<_ACEOF
25623 /* confdefs.h. */
25624 _ACEOF
25625 cat confdefs.h >>conftest.$ac_ext
25626 cat >>conftest.$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628
25629 #include <png.h>
25630 #include <stdio.h>
25631
25632 int main()
25633 {
25634 FILE *f=fopen("conftestval", "w");
25635 if (!f) exit(1);
25636 fprintf(f, "%s",
25637 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25638 exit(0);
25639 }
25640
25641 _ACEOF
25642 rm -f conftest$ac_exeext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25644 (eval $ac_link) 2>&5
25645 ac_status=$?
25646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25650 ac_status=$?
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; }; then
25653 ac_cv_header_png_h=`cat conftestval`
25654 else
25655 echo "$as_me: program exited with status $ac_status" >&5
25656 echo "$as_me: failed program was:" >&5
25657 sed 's/^/| /' conftest.$ac_ext >&5
25658
25659 ( exit $ac_status )
25660 ac_cv_header_png_h=no
25661 fi
25662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25663 fi
25664
25665 fi
25666 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25667 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25668 if test "${ac_cv_header_png_h+set}" = set; then
25669 echo "$as_me:$LINENO: checking for png.h" >&5
25670 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25671 if test "${ac_cv_header_png_h+set}" = set; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 fi
25674 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25675 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25676 else
25677 # Is the header compilable?
25678 echo "$as_me:$LINENO: checking png.h usability" >&5
25679 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25680 cat >conftest.$ac_ext <<_ACEOF
25681 /* confdefs.h. */
25682 _ACEOF
25683 cat confdefs.h >>conftest.$ac_ext
25684 cat >>conftest.$ac_ext <<_ACEOF
25685 /* end confdefs.h. */
25686 $ac_includes_default
25687 #include <png.h>
25688 _ACEOF
25689 rm -f conftest.$ac_objext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25691 (eval $ac_compile) 2>conftest.er1
25692 ac_status=$?
25693 grep -v '^ *+' conftest.er1 >conftest.err
25694 rm -f conftest.er1
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } &&
25698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; } &&
25704 { ac_try='test -s conftest.$ac_objext'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25710 ac_header_compiler=yes
25711 else
25712 echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25714
25715 ac_header_compiler=no
25716 fi
25717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25719 echo "${ECHO_T}$ac_header_compiler" >&6
25720
25721 # Is the header present?
25722 echo "$as_me:$LINENO: checking png.h presence" >&5
25723 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25724 cat >conftest.$ac_ext <<_ACEOF
25725 /* confdefs.h. */
25726 _ACEOF
25727 cat confdefs.h >>conftest.$ac_ext
25728 cat >>conftest.$ac_ext <<_ACEOF
25729 /* end confdefs.h. */
25730 #include <png.h>
25731 _ACEOF
25732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25734 ac_status=$?
25735 grep -v '^ *+' conftest.er1 >conftest.err
25736 rm -f conftest.er1
25737 cat conftest.err >&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); } >/dev/null; then
25740 if test -s conftest.err; then
25741 ac_cpp_err=$ac_cxx_preproc_warn_flag
25742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25743 else
25744 ac_cpp_err=
25745 fi
25746 else
25747 ac_cpp_err=yes
25748 fi
25749 if test -z "$ac_cpp_err"; then
25750 ac_header_preproc=yes
25751 else
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.$ac_ext >&5
25754
25755 ac_header_preproc=no
25756 fi
25757 rm -f conftest.err conftest.$ac_ext
25758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25759 echo "${ECHO_T}$ac_header_preproc" >&6
25760
25761 # So? What about this header?
25762 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25763 yes:no: )
25764 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25765 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25766 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25767 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25768 ac_header_preproc=yes
25769 ;;
25770 no:yes:* )
25771 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25772 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25773 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25774 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25775 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25776 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25777 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25778 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25779 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25780 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25781 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25782 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25783 (
25784 cat <<\_ASBOX
25785 ## ----------------------------------------- ##
25786 ## Report this to wx-dev@lists.wxwidgets.org ##
25787 ## ----------------------------------------- ##
25788 _ASBOX
25789 ) |
25790 sed "s/^/$as_me: WARNING: /" >&2
25791 ;;
25792 esac
25793 echo "$as_me:$LINENO: checking for png.h" >&5
25794 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25795 if test "${ac_cv_header_png_h+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798 ac_cv_header_png_h=$ac_header_preproc
25799 fi
25800 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25801 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25802
25803 fi
25804
25805
25806
25807 if test "$ac_cv_header_png_h" = "yes"; then
25808 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25809 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25810 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813 ac_check_lib_save_LIBS=$LIBS
25814 LIBS="-lpng -lz -lm $LIBS"
25815 cat >conftest.$ac_ext <<_ACEOF
25816 /* confdefs.h. */
25817 _ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25821
25822 /* Override any gcc2 internal prototype to avoid an error. */
25823 #ifdef __cplusplus
25824 extern "C"
25825 #endif
25826 /* We use char because int might match the return type of a gcc2
25827 builtin and then its argument prototype would still apply. */
25828 char png_check_sig ();
25829 int
25830 main ()
25831 {
25832 png_check_sig ();
25833 ;
25834 return 0;
25835 }
25836 _ACEOF
25837 rm -f conftest.$ac_objext conftest$ac_exeext
25838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25839 (eval $ac_link) 2>conftest.er1
25840 ac_status=$?
25841 grep -v '^ *+' conftest.er1 >conftest.err
25842 rm -f conftest.er1
25843 cat conftest.err >&5
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); } &&
25846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25848 (eval $ac_try) 2>&5
25849 ac_status=$?
25850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851 (exit $ac_status); }; } &&
25852 { ac_try='test -s conftest$ac_exeext'
25853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854 (eval $ac_try) 2>&5
25855 ac_status=$?
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); }; }; then
25858 ac_cv_lib_png_png_check_sig=yes
25859 else
25860 echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.$ac_ext >&5
25862
25863 ac_cv_lib_png_png_check_sig=no
25864 fi
25865 rm -f conftest.err conftest.$ac_objext \
25866 conftest$ac_exeext conftest.$ac_ext
25867 LIBS=$ac_check_lib_save_LIBS
25868 fi
25869 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25870 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25871 if test $ac_cv_lib_png_png_check_sig = yes; then
25872 PNG_LINK=" -lpng -lz"
25873 fi
25874
25875 fi
25876
25877 if test "x$PNG_LINK" = "x" ; then
25878 if test "$wxUSE_LIBPNG" = "sys" ; then
25879 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25880 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25881 { (exit 1); exit 1; }; }
25882 else
25883 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25884 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25885 wxUSE_LIBPNG=builtin
25886 fi
25887 else
25888 wxUSE_LIBPNG=sys
25889 fi
25890 fi
25891 fi
25892
25893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25894 fi
25895
25896
25897 JPEG_LINK=
25898 if test "$wxUSE_LIBJPEG" != "no" ; then
25899 cat >>confdefs.h <<\_ACEOF
25900 #define wxUSE_LIBJPEG 1
25901 _ACEOF
25902
25903
25904 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25905 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25906 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25907 wxUSE_LIBJPEG=sys
25908 fi
25909
25910 if test "$wxUSE_MGL" != 1 ; then
25911 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25912 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25913 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25914 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 else
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923
25924 #undef HAVE_STDLIB_H
25925 #include <stdio.h>
25926 #include <jpeglib.h>
25927
25928 int
25929 main ()
25930 {
25931
25932
25933 ;
25934 return 0;
25935 }
25936 _ACEOF
25937 rm -f conftest.$ac_objext
25938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25939 (eval $ac_compile) 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } &&
25946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25948 (eval $ac_try) 2>&5
25949 ac_status=$?
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; } &&
25952 { ac_try='test -s conftest.$ac_objext'
25953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25954 (eval $ac_try) 2>&5
25955 ac_status=$?
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); }; }; then
25958 ac_cv_header_jpeglib_h=yes
25959 else
25960 echo "$as_me: failed program was:" >&5
25961 sed 's/^/| /' conftest.$ac_ext >&5
25962
25963 ac_cv_header_jpeglib_h=no
25964
25965 fi
25966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25967
25968 fi
25969
25970 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25971 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25972
25973 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25974 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25975 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25976 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979 ac_check_lib_save_LIBS=$LIBS
25980 LIBS="-ljpeg $LIBS"
25981 cat >conftest.$ac_ext <<_ACEOF
25982 /* confdefs.h. */
25983 _ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25987
25988 /* Override any gcc2 internal prototype to avoid an error. */
25989 #ifdef __cplusplus
25990 extern "C"
25991 #endif
25992 /* We use char because int might match the return type of a gcc2
25993 builtin and then its argument prototype would still apply. */
25994 char jpeg_read_header ();
25995 int
25996 main ()
25997 {
25998 jpeg_read_header ();
25999 ;
26000 return 0;
26001 }
26002 _ACEOF
26003 rm -f conftest.$ac_objext conftest$ac_exeext
26004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26005 (eval $ac_link) 2>conftest.er1
26006 ac_status=$?
26007 grep -v '^ *+' conftest.er1 >conftest.err
26008 rm -f conftest.er1
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } &&
26012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26015 ac_status=$?
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; } &&
26018 { ac_try='test -s conftest$ac_exeext'
26019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020 (eval $ac_try) 2>&5
26021 ac_status=$?
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_cv_lib_jpeg_jpeg_read_header=yes
26025 else
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26028
26029 ac_cv_lib_jpeg_jpeg_read_header=no
26030 fi
26031 rm -f conftest.err conftest.$ac_objext \
26032 conftest$ac_exeext conftest.$ac_ext
26033 LIBS=$ac_check_lib_save_LIBS
26034 fi
26035 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26036 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26037 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26038 JPEG_LINK=" -ljpeg"
26039 fi
26040
26041 fi
26042
26043 if test "x$JPEG_LINK" = "x" ; then
26044 if test "$wxUSE_LIBJPEG" = "sys" ; then
26045 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26046 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26047 { (exit 1); exit 1; }; }
26048 else
26049 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26050 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26051 wxUSE_LIBJPEG=builtin
26052 fi
26053 else
26054 wxUSE_LIBJPEG=sys
26055 fi
26056 fi
26057 fi
26058 fi
26059
26060
26061 TIFF_LINK=
26062 TIFF_PREREQ_LINKS=-lm
26063 if test "$wxUSE_LIBTIFF" != "no" ; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define wxUSE_LIBTIFF 1
26066 _ACEOF
26067
26068
26069 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26070 if test "$wxUSE_LIBJPEG" = "sys"; then
26071 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26072 fi
26073 if test "$wxUSE_ZLIB" = "sys"; then
26074 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26075 fi
26076 if test "${ac_cv_header_tiffio_h+set}" = set; then
26077 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26078 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26079 if test "${ac_cv_header_tiffio_h+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 fi
26082 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26083 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26084 else
26085 # Is the header compilable?
26086 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26087 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26088 cat >conftest.$ac_ext <<_ACEOF
26089 /* confdefs.h. */
26090 _ACEOF
26091 cat confdefs.h >>conftest.$ac_ext
26092 cat >>conftest.$ac_ext <<_ACEOF
26093 /* end confdefs.h. */
26094 $ac_includes_default
26095 #include <tiffio.h>
26096 _ACEOF
26097 rm -f conftest.$ac_objext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26099 (eval $ac_compile) 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } &&
26106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; } &&
26112 { ac_try='test -s conftest.$ac_objext'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26115 ac_status=$?
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; }; then
26118 ac_header_compiler=yes
26119 else
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26122
26123 ac_header_compiler=no
26124 fi
26125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26127 echo "${ECHO_T}$ac_header_compiler" >&6
26128
26129 # Is the header present?
26130 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26131 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 #include <tiffio.h>
26139 _ACEOF
26140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26142 ac_status=$?
26143 grep -v '^ *+' conftest.er1 >conftest.err
26144 rm -f conftest.er1
26145 cat conftest.err >&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } >/dev/null; then
26148 if test -s conftest.err; then
26149 ac_cpp_err=$ac_cxx_preproc_warn_flag
26150 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26151 else
26152 ac_cpp_err=
26153 fi
26154 else
26155 ac_cpp_err=yes
26156 fi
26157 if test -z "$ac_cpp_err"; then
26158 ac_header_preproc=yes
26159 else
26160 echo "$as_me: failed program was:" >&5
26161 sed 's/^/| /' conftest.$ac_ext >&5
26162
26163 ac_header_preproc=no
26164 fi
26165 rm -f conftest.err conftest.$ac_ext
26166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26167 echo "${ECHO_T}$ac_header_preproc" >&6
26168
26169 # So? What about this header?
26170 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26171 yes:no: )
26172 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26173 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26174 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26175 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26176 ac_header_preproc=yes
26177 ;;
26178 no:yes:* )
26179 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26180 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26181 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26182 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26183 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26184 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26185 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26186 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26187 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26188 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26189 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26190 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26191 (
26192 cat <<\_ASBOX
26193 ## ----------------------------------------- ##
26194 ## Report this to wx-dev@lists.wxwidgets.org ##
26195 ## ----------------------------------------- ##
26196 _ASBOX
26197 ) |
26198 sed "s/^/$as_me: WARNING: /" >&2
26199 ;;
26200 esac
26201 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26202 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26203 if test "${ac_cv_header_tiffio_h+set}" = set; then
26204 echo $ECHO_N "(cached) $ECHO_C" >&6
26205 else
26206 ac_cv_header_tiffio_h=$ac_header_preproc
26207 fi
26208 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26209 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26210
26211 fi
26212 if test $ac_cv_header_tiffio_h = yes; then
26213
26214 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26215 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26216 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26217 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 else
26219 ac_check_lib_save_LIBS=$LIBS
26220 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26221 cat >conftest.$ac_ext <<_ACEOF
26222 /* confdefs.h. */
26223 _ACEOF
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26227
26228 /* Override any gcc2 internal prototype to avoid an error. */
26229 #ifdef __cplusplus
26230 extern "C"
26231 #endif
26232 /* We use char because int might match the return type of a gcc2
26233 builtin and then its argument prototype would still apply. */
26234 char TIFFError ();
26235 int
26236 main ()
26237 {
26238 TIFFError ();
26239 ;
26240 return 0;
26241 }
26242 _ACEOF
26243 rm -f conftest.$ac_objext conftest$ac_exeext
26244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26245 (eval $ac_link) 2>conftest.er1
26246 ac_status=$?
26247 grep -v '^ *+' conftest.er1 >conftest.err
26248 rm -f conftest.er1
26249 cat conftest.err >&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try='test -s conftest$ac_exeext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26261 ac_status=$?
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 ac_cv_lib_tiff_TIFFError=yes
26265 else
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26268
26269 ac_cv_lib_tiff_TIFFError=no
26270 fi
26271 rm -f conftest.err conftest.$ac_objext \
26272 conftest$ac_exeext conftest.$ac_ext
26273 LIBS=$ac_check_lib_save_LIBS
26274 fi
26275 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26276 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26277 if test $ac_cv_lib_tiff_TIFFError = yes; then
26278 TIFF_LINK=" -ltiff"
26279 fi
26280
26281
26282
26283 fi
26284
26285
26286
26287 if test "x$TIFF_LINK" = "x" ; then
26288 if test "$wxUSE_LIBTIFF" = "sys" ; then
26289 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26290 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26291 { (exit 1); exit 1; }; }
26292 else
26293 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26294 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26295 wxUSE_LIBTIFF=builtin
26296 fi
26297 else
26298 wxUSE_LIBTIFF=sys
26299 fi
26300 fi
26301 fi
26302
26303
26304 if test "$wxUSE_WCHAR_T" != "yes"; then
26305 if test "$wxUSE_EXPAT" != "no"; then
26306 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26307 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26308 wxUSE_EXPAT=no
26309 fi
26310 if test "$wxUSE_XML" != "no"; then
26311 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26312 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26313 wxUSE_XML=no
26314 fi
26315 fi
26316
26317 if test "$wxUSE_EXPAT" != "no"; then
26318 wxUSE_XML=yes
26319 cat >>confdefs.h <<\_ACEOF
26320 #define wxUSE_EXPAT 1
26321 _ACEOF
26322
26323 cat >>confdefs.h <<\_ACEOF
26324 #define wxUSE_XML 1
26325 _ACEOF
26326
26327
26328 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26329 if test "${ac_cv_header_expat_h+set}" = set; then
26330 echo "$as_me:$LINENO: checking for expat.h" >&5
26331 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26332 if test "${ac_cv_header_expat_h+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26334 fi
26335 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26336 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26337 else
26338 # Is the header compilable?
26339 echo "$as_me:$LINENO: checking expat.h usability" >&5
26340 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347 $ac_includes_default
26348 #include <expat.h>
26349 _ACEOF
26350 rm -f conftest.$ac_objext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26352 (eval $ac_compile) 2>conftest.er1
26353 ac_status=$?
26354 grep -v '^ *+' conftest.er1 >conftest.err
26355 rm -f conftest.er1
26356 cat conftest.err >&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } &&
26359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; } &&
26365 { ac_try='test -s conftest.$ac_objext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26368 ac_status=$?
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371 ac_header_compiler=yes
26372 else
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26375
26376 ac_header_compiler=no
26377 fi
26378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26380 echo "${ECHO_T}$ac_header_compiler" >&6
26381
26382 # Is the header present?
26383 echo "$as_me:$LINENO: checking expat.h presence" >&5
26384 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26385 cat >conftest.$ac_ext <<_ACEOF
26386 /* confdefs.h. */
26387 _ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26391 #include <expat.h>
26392 _ACEOF
26393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } >/dev/null; then
26401 if test -s conftest.err; then
26402 ac_cpp_err=$ac_cxx_preproc_warn_flag
26403 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26404 else
26405 ac_cpp_err=
26406 fi
26407 else
26408 ac_cpp_err=yes
26409 fi
26410 if test -z "$ac_cpp_err"; then
26411 ac_header_preproc=yes
26412 else
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.$ac_ext >&5
26415
26416 ac_header_preproc=no
26417 fi
26418 rm -f conftest.err conftest.$ac_ext
26419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26420 echo "${ECHO_T}$ac_header_preproc" >&6
26421
26422 # So? What about this header?
26423 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26424 yes:no: )
26425 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26426 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26427 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26428 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26429 ac_header_preproc=yes
26430 ;;
26431 no:yes:* )
26432 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26433 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26434 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26435 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26436 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26437 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26438 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26439 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26440 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26441 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26442 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26443 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26444 (
26445 cat <<\_ASBOX
26446 ## ----------------------------------------- ##
26447 ## Report this to wx-dev@lists.wxwidgets.org ##
26448 ## ----------------------------------------- ##
26449 _ASBOX
26450 ) |
26451 sed "s/^/$as_me: WARNING: /" >&2
26452 ;;
26453 esac
26454 echo "$as_me:$LINENO: checking for expat.h" >&5
26455 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26456 if test "${ac_cv_header_expat_h+set}" = set; then
26457 echo $ECHO_N "(cached) $ECHO_C" >&6
26458 else
26459 ac_cv_header_expat_h=$ac_header_preproc
26460 fi
26461 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26462 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26463
26464 fi
26465 if test $ac_cv_header_expat_h = yes; then
26466 found_expat_h=1
26467 fi
26468
26469
26470 if test "x$found_expat_h" = "x1"; then
26471 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26472 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26473 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26476
26477 cat >conftest.$ac_ext <<_ACEOF
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 #include <expat.h>
26484 int
26485 main ()
26486 {
26487
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext
26493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26494 (eval $ac_compile) 2>conftest.er1
26495 ac_status=$?
26496 grep -v '^ *+' conftest.er1 >conftest.err
26497 rm -f conftest.er1
26498 cat conftest.err >&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; } &&
26507 { ac_try='test -s conftest.$ac_objext'
26508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26509 (eval $ac_try) 2>&5
26510 ac_status=$?
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); }; }; then
26513 wx_cv_expat_is_not_broken=yes
26514 else
26515 echo "$as_me: failed program was:" >&5
26516 sed 's/^/| /' conftest.$ac_ext >&5
26517
26518 wx_cv_expat_is_not_broken=no
26519
26520 fi
26521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26522
26523
26524 fi
26525 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26526 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26527 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26528 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26529 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26530 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26531 echo $ECHO_N "(cached) $ECHO_C" >&6
26532 else
26533 ac_check_lib_save_LIBS=$LIBS
26534 LIBS="-lexpat $LIBS"
26535 cat >conftest.$ac_ext <<_ACEOF
26536 /* confdefs.h. */
26537 _ACEOF
26538 cat confdefs.h >>conftest.$ac_ext
26539 cat >>conftest.$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26541
26542 /* Override any gcc2 internal prototype to avoid an error. */
26543 #ifdef __cplusplus
26544 extern "C"
26545 #endif
26546 /* We use char because int might match the return type of a gcc2
26547 builtin and then its argument prototype would still apply. */
26548 char XML_ParserCreate ();
26549 int
26550 main ()
26551 {
26552 XML_ParserCreate ();
26553 ;
26554 return 0;
26555 }
26556 _ACEOF
26557 rm -f conftest.$ac_objext conftest$ac_exeext
26558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26559 (eval $ac_link) 2>conftest.er1
26560 ac_status=$?
26561 grep -v '^ *+' conftest.er1 >conftest.err
26562 rm -f conftest.er1
26563 cat conftest.err >&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } &&
26566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26568 (eval $ac_try) 2>&5
26569 ac_status=$?
26570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26571 (exit $ac_status); }; } &&
26572 { ac_try='test -s conftest$ac_exeext'
26573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26574 (eval $ac_try) 2>&5
26575 ac_status=$?
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); }; }; then
26578 ac_cv_lib_expat_XML_ParserCreate=yes
26579 else
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26582
26583 ac_cv_lib_expat_XML_ParserCreate=no
26584 fi
26585 rm -f conftest.err conftest.$ac_objext \
26586 conftest$ac_exeext conftest.$ac_ext
26587 LIBS=$ac_check_lib_save_LIBS
26588 fi
26589 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26590 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26591 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26592 EXPAT_LINK=" -lexpat"
26593 fi
26594
26595 fi
26596 fi
26597 if test "x$EXPAT_LINK" = "x" ; then
26598 if test "$wxUSE_EXPAT" = "sys" ; then
26599 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26600 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26601 { (exit 1); exit 1; }; }
26602 else
26603 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26604 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26605 wxUSE_EXPAT=builtin
26606 fi
26607 else
26608 wxUSE_EXPAT=sys
26609 fi
26610 fi
26611 if test "$wxUSE_EXPAT" = "builtin" ; then
26612
26613
26614 subdirs="$subdirs src/expat"
26615
26616 fi
26617 fi
26618
26619
26620
26621 if test "$wxUSE_LIBMSPACK" != "no"; then
26622 if test "${ac_cv_header_mspack_h+set}" = set; then
26623 echo "$as_me:$LINENO: checking for mspack.h" >&5
26624 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26625 if test "${ac_cv_header_mspack_h+set}" = set; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 fi
26628 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26629 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26630 else
26631 # Is the header compilable?
26632 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26633 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26634 cat >conftest.$ac_ext <<_ACEOF
26635 /* confdefs.h. */
26636 _ACEOF
26637 cat confdefs.h >>conftest.$ac_ext
26638 cat >>conftest.$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26640 $ac_includes_default
26641 #include <mspack.h>
26642 _ACEOF
26643 rm -f conftest.$ac_objext
26644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26645 (eval $ac_compile) 2>conftest.er1
26646 ac_status=$?
26647 grep -v '^ *+' conftest.er1 >conftest.err
26648 rm -f conftest.er1
26649 cat conftest.err >&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } &&
26652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26655 ac_status=$?
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; } &&
26658 { ac_try='test -s conftest.$ac_objext'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26661 ac_status=$?
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; }; then
26664 ac_header_compiler=yes
26665 else
26666 echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.$ac_ext >&5
26668
26669 ac_header_compiler=no
26670 fi
26671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26673 echo "${ECHO_T}$ac_header_compiler" >&6
26674
26675 # Is the header present?
26676 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26677 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684 #include <mspack.h>
26685 _ACEOF
26686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26688 ac_status=$?
26689 grep -v '^ *+' conftest.er1 >conftest.err
26690 rm -f conftest.er1
26691 cat conftest.err >&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } >/dev/null; then
26694 if test -s conftest.err; then
26695 ac_cpp_err=$ac_cxx_preproc_warn_flag
26696 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26697 else
26698 ac_cpp_err=
26699 fi
26700 else
26701 ac_cpp_err=yes
26702 fi
26703 if test -z "$ac_cpp_err"; then
26704 ac_header_preproc=yes
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26708
26709 ac_header_preproc=no
26710 fi
26711 rm -f conftest.err conftest.$ac_ext
26712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26713 echo "${ECHO_T}$ac_header_preproc" >&6
26714
26715 # So? What about this header?
26716 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26717 yes:no: )
26718 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26719 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26720 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26721 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26722 ac_header_preproc=yes
26723 ;;
26724 no:yes:* )
26725 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26726 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26727 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26728 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26729 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26730 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26731 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26732 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26733 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26734 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26735 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26736 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26737 (
26738 cat <<\_ASBOX
26739 ## ----------------------------------------- ##
26740 ## Report this to wx-dev@lists.wxwidgets.org ##
26741 ## ----------------------------------------- ##
26742 _ASBOX
26743 ) |
26744 sed "s/^/$as_me: WARNING: /" >&2
26745 ;;
26746 esac
26747 echo "$as_me:$LINENO: checking for mspack.h" >&5
26748 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26749 if test "${ac_cv_header_mspack_h+set}" = set; then
26750 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 else
26752 ac_cv_header_mspack_h=$ac_header_preproc
26753 fi
26754 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26755 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26756
26757 fi
26758 if test $ac_cv_header_mspack_h = yes; then
26759 found_mspack_h=1
26760 fi
26761
26762
26763 if test "x$found_mspack_h" = "x1"; then
26764 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26765 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26766 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 else
26769 ac_check_lib_save_LIBS=$LIBS
26770 LIBS="-lmspack $LIBS"
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
26778 /* Override any gcc2 internal prototype to avoid an error. */
26779 #ifdef __cplusplus
26780 extern "C"
26781 #endif
26782 /* We use char because int might match the return type of a gcc2
26783 builtin and then its argument prototype would still apply. */
26784 char mspack_create_chm_decompressor ();
26785 int
26786 main ()
26787 {
26788 mspack_create_chm_decompressor ();
26789 ;
26790 return 0;
26791 }
26792 _ACEOF
26793 rm -f conftest.$ac_objext conftest$ac_exeext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26795 (eval $ac_link) 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26805 ac_status=$?
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try='test -s conftest$ac_exeext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
26814 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26815 else
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.$ac_ext >&5
26818
26819 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26820 fi
26821 rm -f conftest.err conftest.$ac_objext \
26822 conftest$ac_exeext conftest.$ac_ext
26823 LIBS=$ac_check_lib_save_LIBS
26824 fi
26825 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26826 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26827 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26828 MSPACK_LINK=" -lmspack"
26829 fi
26830
26831 fi
26832 if test "x$MSPACK_LINK" = "x" ; then
26833 wxUSE_LIBMSPACK=no
26834 fi
26835 fi
26836
26837 if test "$wxUSE_LIBMSPACK" != "no"; then
26838 cat >>confdefs.h <<\_ACEOF
26839 #define wxUSE_LIBMSPACK 1
26840 _ACEOF
26841
26842 fi
26843
26844
26845
26846 AFMINSTALL=
26847 WIN32INSTALL=
26848
26849 TOOLKIT=
26850 TOOLKIT_INCLUDE=
26851 WIDGET_SET=
26852
26853 if test "$USE_WIN32" = 1 ; then
26854
26855 for ac_header in w32api.h
26856 do
26857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26859 echo "$as_me:$LINENO: checking for $ac_header" >&5
26860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26862 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 fi
26864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26866 else
26867 # Is the header compilable?
26868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26870 cat >conftest.$ac_ext <<_ACEOF
26871 /* confdefs.h. */
26872 _ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26876 $ac_includes_default
26877 #include <$ac_header>
26878 _ACEOF
26879 rm -f conftest.$ac_objext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26881 (eval $ac_compile) 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try='test -s conftest.$ac_objext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 ac_header_compiler=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_header_compiler=no
26906 fi
26907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26909 echo "${ECHO_T}$ac_header_compiler" >&6
26910
26911 # Is the header present?
26912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26914 cat >conftest.$ac_ext <<_ACEOF
26915 /* confdefs.h. */
26916 _ACEOF
26917 cat confdefs.h >>conftest.$ac_ext
26918 cat >>conftest.$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 #include <$ac_header>
26921 _ACEOF
26922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26924 ac_status=$?
26925 grep -v '^ *+' conftest.er1 >conftest.err
26926 rm -f conftest.er1
26927 cat conftest.err >&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } >/dev/null; then
26930 if test -s conftest.err; then
26931 ac_cpp_err=$ac_cxx_preproc_warn_flag
26932 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26933 else
26934 ac_cpp_err=
26935 fi
26936 else
26937 ac_cpp_err=yes
26938 fi
26939 if test -z "$ac_cpp_err"; then
26940 ac_header_preproc=yes
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 ac_header_preproc=no
26946 fi
26947 rm -f conftest.err conftest.$ac_ext
26948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26949 echo "${ECHO_T}$ac_header_preproc" >&6
26950
26951 # So? What about this header?
26952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26953 yes:no: )
26954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26957 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26958 ac_header_preproc=yes
26959 ;;
26960 no:yes:* )
26961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26964 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26965 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26966 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26967 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26973 (
26974 cat <<\_ASBOX
26975 ## ----------------------------------------- ##
26976 ## Report this to wx-dev@lists.wxwidgets.org ##
26977 ## ----------------------------------------- ##
26978 _ASBOX
26979 ) |
26980 sed "s/^/$as_me: WARNING: /" >&2
26981 ;;
26982 esac
26983 echo "$as_me:$LINENO: checking for $ac_header" >&5
26984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26986 echo $ECHO_N "(cached) $ECHO_C" >&6
26987 else
26988 eval "$as_ac_Header=\$ac_header_preproc"
26989 fi
26990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26992
26993 fi
26994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26995 cat >>confdefs.h <<_ACEOF
26996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26997 _ACEOF
26998
26999 fi
27000
27001 done
27002
27003 if test "${ac_cv_header_windows_h+set}" = set; then
27004 echo "$as_me:$LINENO: checking for windows.h" >&5
27005 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27006 if test "${ac_cv_header_windows_h+set}" = set; then
27007 echo $ECHO_N "(cached) $ECHO_C" >&6
27008 fi
27009 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27010 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27011 else
27012 # Is the header compilable?
27013 echo "$as_me:$LINENO: checking windows.h usability" >&5
27014 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 $ac_includes_default
27022 #include <windows.h>
27023 _ACEOF
27024 rm -f conftest.$ac_objext
27025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27026 (eval $ac_compile) 2>conftest.er1
27027 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } &&
27033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; } &&
27039 { ac_try='test -s conftest.$ac_objext'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27042 ac_status=$?
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; }; then
27045 ac_header_compiler=yes
27046 else
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27049
27050 ac_header_compiler=no
27051 fi
27052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27054 echo "${ECHO_T}$ac_header_compiler" >&6
27055
27056 # Is the header present?
27057 echo "$as_me:$LINENO: checking windows.h presence" >&5
27058 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <windows.h>
27066 _ACEOF
27067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27069 ac_status=$?
27070 grep -v '^ *+' conftest.er1 >conftest.err
27071 rm -f conftest.er1
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } >/dev/null; then
27075 if test -s conftest.err; then
27076 ac_cpp_err=$ac_cxx_preproc_warn_flag
27077 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27078 else
27079 ac_cpp_err=
27080 fi
27081 else
27082 ac_cpp_err=yes
27083 fi
27084 if test -z "$ac_cpp_err"; then
27085 ac_header_preproc=yes
27086 else
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090 ac_header_preproc=no
27091 fi
27092 rm -f conftest.err conftest.$ac_ext
27093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27094 echo "${ECHO_T}$ac_header_preproc" >&6
27095
27096 # So? What about this header?
27097 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27098 yes:no: )
27099 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27100 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27101 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27102 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27103 ac_header_preproc=yes
27104 ;;
27105 no:yes:* )
27106 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27107 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27108 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27109 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27110 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27111 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27112 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27113 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27114 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27115 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27116 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27117 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27118 (
27119 cat <<\_ASBOX
27120 ## ----------------------------------------- ##
27121 ## Report this to wx-dev@lists.wxwidgets.org ##
27122 ## ----------------------------------------- ##
27123 _ASBOX
27124 ) |
27125 sed "s/^/$as_me: WARNING: /" >&2
27126 ;;
27127 esac
27128 echo "$as_me:$LINENO: checking for windows.h" >&5
27129 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27130 if test "${ac_cv_header_windows_h+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133 ac_cv_header_windows_h=$ac_header_preproc
27134 fi
27135 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27136 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27137
27138 fi
27139 if test $ac_cv_header_windows_h = yes; then
27140 :
27141 else
27142
27143 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27144 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27145 { (exit 1); exit 1; }; }
27146
27147 fi
27148
27149
27150
27151 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27152
27153 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27154 LIBS="$LIBS -loleacc"
27155 fi
27156
27157 case "${host}" in
27158 *-*-cygwin* )
27159 LIBS="$LIBS -lkernel32 -luser32"
27160 esac
27161
27162 if test "$wxUSE_ODBC" = "sys" ; then
27163 wxUSE_ODBC = "yes"
27164 fi
27165 if test "$wxUSE_ODBC" = "yes" ; then
27166 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27167 cat >>confdefs.h <<\_ACEOF
27168 #define wxUSE_ODBC 1
27169 _ACEOF
27170
27171 fi
27172
27173 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27174 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27175
27176 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27177
27178 WIN32INSTALL=win32install
27179
27180 echo "$as_me:$LINENO: checking for boolean" >&5
27181 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27182 if test "${ac_cv_type_boolean+set}" = set; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 else
27185 cat >conftest.$ac_ext <<_ACEOF
27186 /* confdefs.h. */
27187 _ACEOF
27188 cat confdefs.h >>conftest.$ac_ext
27189 cat >>conftest.$ac_ext <<_ACEOF
27190 /* end confdefs.h. */
27191 #include <windows.h>
27192
27193 int
27194 main ()
27195 {
27196 if ((boolean *) 0)
27197 return 0;
27198 if (sizeof (boolean))
27199 return 0;
27200 ;
27201 return 0;
27202 }
27203 _ACEOF
27204 rm -f conftest.$ac_objext
27205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27206 (eval $ac_compile) 2>conftest.er1
27207 ac_status=$?
27208 grep -v '^ *+' conftest.er1 >conftest.err
27209 rm -f conftest.er1
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } &&
27213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27215 (eval $ac_try) 2>&5
27216 ac_status=$?
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); }; } &&
27219 { ac_try='test -s conftest.$ac_objext'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27222 ac_status=$?
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; }; then
27225 ac_cv_type_boolean=yes
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27229
27230 ac_cv_type_boolean=no
27231 fi
27232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27233 fi
27234 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27235 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27236 if test $ac_cv_type_boolean = yes; then
27237
27238 cat >>confdefs.h <<_ACEOF
27239 #define HAVE_BOOLEAN 1
27240 _ACEOF
27241
27242
27243 fi
27244
27245
27246
27247 for ac_header in pbt.h
27248 do
27249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27251 echo "$as_me:$LINENO: checking for $ac_header" >&5
27252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 fi
27256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27258 else
27259 # Is the header compilable?
27260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27262 cat >conftest.$ac_ext <<_ACEOF
27263 /* confdefs.h. */
27264 _ACEOF
27265 cat confdefs.h >>conftest.$ac_ext
27266 cat >>conftest.$ac_ext <<_ACEOF
27267 /* end confdefs.h. */
27268 $ac_includes_default
27269 #include <$ac_header>
27270 _ACEOF
27271 rm -f conftest.$ac_objext
27272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27273 (eval $ac_compile) 2>conftest.er1
27274 ac_status=$?
27275 grep -v '^ *+' conftest.er1 >conftest.err
27276 rm -f conftest.er1
27277 cat conftest.err >&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27283 ac_status=$?
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; } &&
27286 { ac_try='test -s conftest.$ac_objext'
27287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27288 (eval $ac_try) 2>&5
27289 ac_status=$?
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); }; }; then
27292 ac_header_compiler=yes
27293 else
27294 echo "$as_me: failed program was:" >&5
27295 sed 's/^/| /' conftest.$ac_ext >&5
27296
27297 ac_header_compiler=no
27298 fi
27299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27301 echo "${ECHO_T}$ac_header_compiler" >&6
27302
27303 # Is the header present?
27304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27306 cat >conftest.$ac_ext <<_ACEOF
27307 /* confdefs.h. */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 #include <$ac_header>
27313 _ACEOF
27314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27316 ac_status=$?
27317 grep -v '^ *+' conftest.er1 >conftest.err
27318 rm -f conftest.er1
27319 cat conftest.err >&5
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); } >/dev/null; then
27322 if test -s conftest.err; then
27323 ac_cpp_err=$ac_cxx_preproc_warn_flag
27324 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27325 else
27326 ac_cpp_err=
27327 fi
27328 else
27329 ac_cpp_err=yes
27330 fi
27331 if test -z "$ac_cpp_err"; then
27332 ac_header_preproc=yes
27333 else
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27336
27337 ac_header_preproc=no
27338 fi
27339 rm -f conftest.err conftest.$ac_ext
27340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27341 echo "${ECHO_T}$ac_header_preproc" >&6
27342
27343 # So? What about this header?
27344 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27345 yes:no: )
27346 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27350 ac_header_preproc=yes
27351 ;;
27352 no:yes:* )
27353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27357 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27359 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27360 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27363 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27365 (
27366 cat <<\_ASBOX
27367 ## ----------------------------------------- ##
27368 ## Report this to wx-dev@lists.wxwidgets.org ##
27369 ## ----------------------------------------- ##
27370 _ASBOX
27371 ) |
27372 sed "s/^/$as_me: WARNING: /" >&2
27373 ;;
27374 esac
27375 echo "$as_me:$LINENO: checking for $ac_header" >&5
27376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27378 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 else
27380 eval "$as_ac_Header=\$ac_header_preproc"
27381 fi
27382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27384
27385 fi
27386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27387 cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27389 _ACEOF
27390
27391 else
27392 cat >>confdefs.h <<\_ACEOF
27393 #define NEED_PBT_H 1
27394 _ACEOF
27395
27396 fi
27397
27398 done
27399
27400 fi
27401
27402 if test "$wxUSE_GUI" = "yes"; then
27403 USE_GUI=1
27404
27405 GUI_TK_LIBRARY=
27406
27407 WXGTK12=
27408 WXGTK127=
27409 WXGTK20=
27410 WXGPE=
27411
27412 if test "$wxUSE_COCOA" = 1 ; then
27413 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27414 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27415 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27416 wxUSE_PRINTING_ARCHITECTURE=no
27417 fi
27418 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27419 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27420 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27421 wxUSE_DRAG_AND_DROP=no
27422 fi
27423 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27424 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27425 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27426 wxUSE_DRAGIMAGE=no
27427 fi
27428 fi
27429
27430 if test "$wxUSE_MSW" = 1 ; then
27431 TOOLKIT=MSW
27432 GUIDIST=MSW_DIST
27433
27434 case "${host}" in
27435 *-*-mingw32* )
27436 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27437 esac
27438 fi
27439
27440 if test "$wxUSE_GTK" = 1; then
27441 ac_ext=c
27442 ac_cpp='$CPP $CPPFLAGS'
27443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27446
27447
27448 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27449 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27450
27451 gtk_version_cached=1
27452 if test "${wx_cv_lib_gtk+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27455
27456 gtk_version_cached=0
27457 echo "$as_me:$LINENO: result: " >&5
27458 echo "${ECHO_T}" >&6
27459
27460 GTK_MODULES=
27461 if test "$wxUSE_THREADS" = "yes"; then
27462 GTK_MODULES=gthread
27463 fi
27464
27465 wx_cv_lib_gtk=
27466 if test "x$wxGTK_VERSION" != "x1"
27467 then
27468 case "${host}" in
27469 *-*-solaris2* )
27470 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27471 enable_gtktest=no
27472 fi
27473 esac
27474
27475 # Check whether --enable-gtktest or --disable-gtktest was given.
27476 if test "${enable_gtktest+set}" = set; then
27477 enableval="$enable_gtktest"
27478
27479 else
27480 enable_gtktest=yes
27481 fi;
27482
27483 pkg_config_args=gtk+-2.0
27484 for module in . $GTK_MODULES
27485 do
27486 case "$module" in
27487 gthread)
27488 pkg_config_args="$pkg_config_args gthread-2.0"
27489 ;;
27490 esac
27491 done
27492
27493 no_gtk=""
27494
27495 # Extract the first word of "pkg-config", so it can be a program name with args.
27496 set dummy pkg-config; ac_word=$2
27497 echo "$as_me:$LINENO: checking for $ac_word" >&5
27498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27499 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27500 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 else
27502 case $PKG_CONFIG in
27503 [\\/]* | ?:[\\/]*)
27504 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27505 ;;
27506 *)
27507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27508 for as_dir in $PATH
27509 do
27510 IFS=$as_save_IFS
27511 test -z "$as_dir" && as_dir=.
27512 for ac_exec_ext in '' $ac_executable_extensions; do
27513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27514 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27516 break 2
27517 fi
27518 done
27519 done
27520
27521 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27522 ;;
27523 esac
27524 fi
27525 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27526
27527 if test -n "$PKG_CONFIG"; then
27528 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27529 echo "${ECHO_T}$PKG_CONFIG" >&6
27530 else
27531 echo "$as_me:$LINENO: result: no" >&5
27532 echo "${ECHO_T}no" >&6
27533 fi
27534
27535
27536 if test x$PKG_CONFIG != xno ; then
27537 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27538 :
27539 else
27540 echo "*** pkg-config too old; version 0.7 or better required."
27541 no_gtk=yes
27542 PKG_CONFIG=no
27543 fi
27544 else
27545 no_gtk=yes
27546 fi
27547
27548 min_gtk_version=2.0.0
27549 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27550 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27551
27552 if test x$PKG_CONFIG != xno ; then
27553 ## don't try to run the test against uninstalled libtool libs
27554 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27555 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27556 enable_gtktest=no
27557 fi
27558
27559 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27560 :
27561 else
27562 no_gtk=yes
27563 fi
27564 fi
27565
27566 if test x"$no_gtk" = x ; then
27567 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27568 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27569 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27571 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27573 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27575 if test "x$enable_gtktest" = "xyes" ; then
27576 ac_save_CFLAGS="$CFLAGS"
27577 ac_save_LIBS="$LIBS"
27578 CFLAGS="$CFLAGS $GTK_CFLAGS"
27579 LIBS="$GTK_LIBS $LIBS"
27580 rm -f conf.gtktest
27581 if test "$cross_compiling" = yes; then
27582 echo $ac_n "cross compiling; assumed OK... $ac_c"
27583 else
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590
27591 #include <gtk/gtk.h>
27592 #include <stdio.h>
27593 #include <stdlib.h>
27594
27595 int
27596 main ()
27597 {
27598 int major, minor, micro;
27599 char *tmp_version;
27600
27601 system ("touch conf.gtktest");
27602
27603 /* HP/UX 9 (%@#!) writes to sscanf strings */
27604 tmp_version = g_strdup("$min_gtk_version");
27605 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27606 printf("%s, bad version string\n", "$min_gtk_version");
27607 exit(1);
27608 }
27609
27610 if ((gtk_major_version != $gtk_config_major_version) ||
27611 (gtk_minor_version != $gtk_config_minor_version) ||
27612 (gtk_micro_version != $gtk_config_micro_version))
27613 {
27614 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27615 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27616 gtk_major_version, gtk_minor_version, gtk_micro_version);
27617 printf ("*** was found! If pkg-config was correct, then it is best\n");
27618 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27619 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27620 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27621 printf("*** required on your system.\n");
27622 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27623 printf("*** to point to the correct configuration files\n");
27624 }
27625 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27626 (gtk_minor_version != GTK_MINOR_VERSION) ||
27627 (gtk_micro_version != GTK_MICRO_VERSION))
27628 {
27629 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27630 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27631 printf("*** library (version %d.%d.%d)\n",
27632 gtk_major_version, gtk_minor_version, gtk_micro_version);
27633 }
27634 else
27635 {
27636 if ((gtk_major_version > major) ||
27637 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27638 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27639 {
27640 return 0;
27641 }
27642 else
27643 {
27644 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27645 gtk_major_version, gtk_minor_version, gtk_micro_version);
27646 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27647 major, minor, micro);
27648 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27649 printf("***\n");
27650 printf("*** If you have already installed a sufficiently new version, this error\n");
27651 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27652 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27653 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27654 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27655 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27656 printf("*** so that the correct libraries are found at run-time))\n");
27657 }
27658 }
27659 return 1;
27660 }
27661
27662 _ACEOF
27663 rm -f conftest$ac_exeext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27665 (eval $ac_link) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27670 (eval $ac_try) 2>&5
27671 ac_status=$?
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); }; }; then
27674 :
27675 else
27676 echo "$as_me: program exited with status $ac_status" >&5
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.$ac_ext >&5
27679
27680 ( exit $ac_status )
27681 no_gtk=yes
27682 fi
27683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27684 fi
27685 CFLAGS="$ac_save_CFLAGS"
27686 LIBS="$ac_save_LIBS"
27687 fi
27688 fi
27689 if test "x$no_gtk" = x ; then
27690 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27691 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27692 wx_cv_lib_gtk=2.0
27693 else
27694 echo "$as_me:$LINENO: result: no" >&5
27695 echo "${ECHO_T}no" >&6
27696 if test "$PKG_CONFIG" = "no" ; then
27697 echo "*** A new enough version of pkg-config was not found."
27698 echo "*** See http://pkgconfig.sourceforge.net"
27699 else
27700 if test -f conf.gtktest ; then
27701 :
27702 else
27703 echo "*** Could not run GTK+ test program, checking why..."
27704 ac_save_CFLAGS="$CFLAGS"
27705 ac_save_LIBS="$LIBS"
27706 CFLAGS="$CFLAGS $GTK_CFLAGS"
27707 LIBS="$LIBS $GTK_LIBS"
27708 cat >conftest.$ac_ext <<_ACEOF
27709 /* confdefs.h. */
27710 _ACEOF
27711 cat confdefs.h >>conftest.$ac_ext
27712 cat >>conftest.$ac_ext <<_ACEOF
27713 /* end confdefs.h. */
27714
27715 #include <gtk/gtk.h>
27716 #include <stdio.h>
27717
27718 int
27719 main ()
27720 {
27721 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27722 ;
27723 return 0;
27724 }
27725 _ACEOF
27726 rm -f conftest.$ac_objext conftest$ac_exeext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27728 (eval $ac_link) 2>conftest.er1
27729 ac_status=$?
27730 grep -v '^ *+' conftest.er1 >conftest.err
27731 rm -f conftest.er1
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } &&
27735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27738 ac_status=$?
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; } &&
27741 { ac_try='test -s conftest$ac_exeext'
27742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27743 (eval $ac_try) 2>&5
27744 ac_status=$?
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); }; }; then
27747 echo "*** The test program compiled, but did not run. This usually means"
27748 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27749 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27750 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27751 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27752 echo "*** is required on your system"
27753 echo "***"
27754 echo "*** If you have an old version installed, it is best to remove it, although"
27755 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27756 else
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27759
27760 echo "*** The test program failed to compile or link. See the file config.log for the"
27761 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27762 fi
27763 rm -f conftest.err conftest.$ac_objext \
27764 conftest$ac_exeext conftest.$ac_ext
27765 CFLAGS="$ac_save_CFLAGS"
27766 LIBS="$ac_save_LIBS"
27767 fi
27768 fi
27769 GTK_CFLAGS=""
27770 GTK_LIBS=""
27771 :
27772 fi
27773
27774
27775 rm -f conf.gtktest
27776
27777
27778 case "${host}" in
27779 *-*-solaris2* )
27780 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27781 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27782 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27783 fi
27784 if test "$wxUSE_SHARED" != "yes"; then
27785 GTK_LIBS="$GTK_LIBS -lX11"
27786 fi
27787 esac
27788 fi
27789
27790 if test -z "$wx_cv_lib_gtk"; then
27791 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27792
27793 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27794 if test "${with_gtk_prefix+set}" = set; then
27795 withval="$with_gtk_prefix"
27796 gtk_config_prefix="$withval"
27797 else
27798 gtk_config_prefix=""
27799 fi;
27800
27801 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27802 if test "${with_gtk_exec_prefix+set}" = set; then
27803 withval="$with_gtk_exec_prefix"
27804 gtk_config_exec_prefix="$withval"
27805 else
27806 gtk_config_exec_prefix=""
27807 fi;
27808 # Check whether --enable-gtktest or --disable-gtktest was given.
27809 if test "${enable_gtktest+set}" = set; then
27810 enableval="$enable_gtktest"
27811
27812 else
27813 enable_gtktest=yes
27814 fi;
27815
27816 for module in . $GTK_MODULES
27817 do
27818 case "$module" in
27819 gthread)
27820 gtk_config_args="$gtk_config_args gthread"
27821 ;;
27822 esac
27823 done
27824
27825 if test x$gtk_config_exec_prefix != x ; then
27826 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27827 if test x${GTK_CONFIG+set} != xset ; then
27828 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27829 fi
27830 fi
27831 if test x$gtk_config_prefix != x ; then
27832 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27833 if test x${GTK_CONFIG+set} != xset ; then
27834 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27835 fi
27836 fi
27837
27838 # Extract the first word of "gtk-config", so it can be a program name with args.
27839 set dummy gtk-config; ac_word=$2
27840 echo "$as_me:$LINENO: checking for $ac_word" >&5
27841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27842 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 else
27845 case $GTK_CONFIG in
27846 [\\/]* | ?:[\\/]*)
27847 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27848 ;;
27849 *)
27850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851 for as_dir in $PATH
27852 do
27853 IFS=$as_save_IFS
27854 test -z "$as_dir" && as_dir=.
27855 for ac_exec_ext in '' $ac_executable_extensions; do
27856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27857 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27859 break 2
27860 fi
27861 done
27862 done
27863
27864 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27865 ;;
27866 esac
27867 fi
27868 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27869
27870 if test -n "$GTK_CONFIG"; then
27871 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27872 echo "${ECHO_T}$GTK_CONFIG" >&6
27873 else
27874 echo "$as_me:$LINENO: result: no" >&5
27875 echo "${ECHO_T}no" >&6
27876 fi
27877
27878 min_gtk_version=1.2.7
27879 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27880 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27881 no_gtk=""
27882 if test "$GTK_CONFIG" = "no" ; then
27883 no_gtk=yes
27884 else
27885 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27886 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27887 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27889 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27891 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27893 if test "x$enable_gtktest" = "xyes" ; then
27894 ac_save_CFLAGS="$CFLAGS"
27895 ac_save_LIBS="$LIBS"
27896 CFLAGS="$CFLAGS $GTK_CFLAGS"
27897 LIBS="$GTK_LIBS $LIBS"
27898 rm -f conf.gtktest
27899 if test "$cross_compiling" = yes; then
27900 echo $ac_n "cross compiling; assumed OK... $ac_c"
27901 else
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909 #include <gtk/gtk.h>
27910 #include <stdio.h>
27911 #include <stdlib.h>
27912
27913 int
27914 main ()
27915 {
27916 int major, minor, micro;
27917 char *tmp_version;
27918
27919 system ("touch conf.gtktest");
27920
27921 /* HP/UX 9 (%@#!) writes to sscanf strings */
27922 tmp_version = g_strdup("$min_gtk_version");
27923 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27924 printf("%s, bad version string\n", "$min_gtk_version");
27925 exit(1);
27926 }
27927
27928 if ((gtk_major_version != $gtk_config_major_version) ||
27929 (gtk_minor_version != $gtk_config_minor_version) ||
27930 (gtk_micro_version != $gtk_config_micro_version))
27931 {
27932 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27933 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27934 gtk_major_version, gtk_minor_version, gtk_micro_version);
27935 printf ("*** was found! If gtk-config was correct, then it is best\n");
27936 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27937 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27938 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27939 printf("*** required on your system.\n");
27940 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27941 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27942 printf("*** before re-running configure\n");
27943 }
27944 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27945 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27946 (gtk_minor_version != GTK_MINOR_VERSION) ||
27947 (gtk_micro_version != GTK_MICRO_VERSION))
27948 {
27949 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27950 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27951 printf("*** library (version %d.%d.%d)\n",
27952 gtk_major_version, gtk_minor_version, gtk_micro_version);
27953 }
27954 #endif /* defined (GTK_MAJOR_VERSION) ... */
27955 else
27956 {
27957 if ((gtk_major_version > major) ||
27958 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27959 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27960 {
27961 return 0;
27962 }
27963 else
27964 {
27965 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27966 gtk_major_version, gtk_minor_version, gtk_micro_version);
27967 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27968 major, minor, micro);
27969 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27970 printf("***\n");
27971 printf("*** If you have already installed a sufficiently new version, this error\n");
27972 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27973 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27974 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27975 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27976 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27977 printf("*** so that the correct libraries are found at run-time))\n");
27978 }
27979 }
27980 return 1;
27981 }
27982
27983 _ACEOF
27984 rm -f conftest$ac_exeext
27985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27986 (eval $ac_link) 2>&5
27987 ac_status=$?
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27991 (eval $ac_try) 2>&5
27992 ac_status=$?
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); }; }; then
27995 :
27996 else
27997 echo "$as_me: program exited with status $ac_status" >&5
27998 echo "$as_me: failed program was:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28000
28001 ( exit $ac_status )
28002 no_gtk=yes
28003 fi
28004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28005 fi
28006 CFLAGS="$ac_save_CFLAGS"
28007 LIBS="$ac_save_LIBS"
28008 fi
28009 fi
28010 if test "x$no_gtk" = x ; then
28011 echo "$as_me:$LINENO: result: yes" >&5
28012 echo "${ECHO_T}yes" >&6
28013 wx_cv_lib_gtk=1.2.7
28014 else
28015 echo "$as_me:$LINENO: result: no" >&5
28016 echo "${ECHO_T}no" >&6
28017 if test "$GTK_CONFIG" = "no" ; then
28018 echo "*** The gtk-config script installed by GTK could not be found"
28019 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28020 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28021 echo "*** full path to gtk-config."
28022 else
28023 if test -f conf.gtktest ; then
28024 :
28025 else
28026 echo "*** Could not run GTK test program, checking why..."
28027 CFLAGS="$CFLAGS $GTK_CFLAGS"
28028 LIBS="$LIBS $GTK_LIBS"
28029 cat >conftest.$ac_ext <<_ACEOF
28030 /* confdefs.h. */
28031 _ACEOF
28032 cat confdefs.h >>conftest.$ac_ext
28033 cat >>conftest.$ac_ext <<_ACEOF
28034 /* end confdefs.h. */
28035
28036 #include <gtk/gtk.h>
28037 #include <stdio.h>
28038
28039 int
28040 main ()
28041 {
28042 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28043 ;
28044 return 0;
28045 }
28046 _ACEOF
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28049 (eval $ac_link) 2>conftest.er1
28050 ac_status=$?
28051 grep -v '^ *+' conftest.er1 >conftest.err
28052 rm -f conftest.er1
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28059 ac_status=$?
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; } &&
28062 { ac_try='test -s conftest$ac_exeext'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28065 ac_status=$?
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; }; then
28068 echo "*** The test program compiled, but did not run. This usually means"
28069 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28070 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28071 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28072 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28073 echo "*** is required on your system"
28074 echo "***"
28075 echo "*** If you have an old version installed, it is best to remove it, although"
28076 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28077 echo "***"
28078 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28079 echo "*** came with the system with the command"
28080 echo "***"
28081 echo "*** rpm --erase --nodeps gtk gtk-devel"
28082 else
28083 echo "$as_me: failed program was:" >&5
28084 sed 's/^/| /' conftest.$ac_ext >&5
28085
28086 echo "*** The test program failed to compile or link. See the file config.log for the"
28087 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28088 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28089 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28090 fi
28091 rm -f conftest.err conftest.$ac_objext \
28092 conftest$ac_exeext conftest.$ac_ext
28093 CFLAGS="$ac_save_CFLAGS"
28094 LIBS="$ac_save_LIBS"
28095 fi
28096 fi
28097 GTK_CFLAGS=""
28098 GTK_LIBS=""
28099 :
28100 fi
28101
28102
28103 rm -f conf.gtktest
28104
28105
28106 if test -z "$wx_cv_lib_gtk"; then
28107
28108 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28109 if test "${with_gtk_prefix+set}" = set; then
28110 withval="$with_gtk_prefix"
28111 gtk_config_prefix="$withval"
28112 else
28113 gtk_config_prefix=""
28114 fi;
28115
28116 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28117 if test "${with_gtk_exec_prefix+set}" = set; then
28118 withval="$with_gtk_exec_prefix"
28119 gtk_config_exec_prefix="$withval"
28120 else
28121 gtk_config_exec_prefix=""
28122 fi;
28123 # Check whether --enable-gtktest or --disable-gtktest was given.
28124 if test "${enable_gtktest+set}" = set; then
28125 enableval="$enable_gtktest"
28126
28127 else
28128 enable_gtktest=yes
28129 fi;
28130
28131 for module in . $GTK_MODULES
28132 do
28133 case "$module" in
28134 gthread)
28135 gtk_config_args="$gtk_config_args gthread"
28136 ;;
28137 esac
28138 done
28139
28140 if test x$gtk_config_exec_prefix != x ; then
28141 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28142 if test x${GTK_CONFIG+set} != xset ; then
28143 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28144 fi
28145 fi
28146 if test x$gtk_config_prefix != x ; then
28147 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28148 if test x${GTK_CONFIG+set} != xset ; then
28149 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28150 fi
28151 fi
28152
28153 # Extract the first word of "gtk-config", so it can be a program name with args.
28154 set dummy gtk-config; ac_word=$2
28155 echo "$as_me:$LINENO: checking for $ac_word" >&5
28156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28157 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28158 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 else
28160 case $GTK_CONFIG in
28161 [\\/]* | ?:[\\/]*)
28162 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28163 ;;
28164 *)
28165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28166 for as_dir in $PATH
28167 do
28168 IFS=$as_save_IFS
28169 test -z "$as_dir" && as_dir=.
28170 for ac_exec_ext in '' $ac_executable_extensions; do
28171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28172 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28174 break 2
28175 fi
28176 done
28177 done
28178
28179 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28180 ;;
28181 esac
28182 fi
28183 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28184
28185 if test -n "$GTK_CONFIG"; then
28186 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28187 echo "${ECHO_T}$GTK_CONFIG" >&6
28188 else
28189 echo "$as_me:$LINENO: result: no" >&5
28190 echo "${ECHO_T}no" >&6
28191 fi
28192
28193 min_gtk_version=1.2.3
28194 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28195 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28196 no_gtk=""
28197 if test "$GTK_CONFIG" = "no" ; then
28198 no_gtk=yes
28199 else
28200 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28201 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28202 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28204 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28206 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28208 if test "x$enable_gtktest" = "xyes" ; then
28209 ac_save_CFLAGS="$CFLAGS"
28210 ac_save_LIBS="$LIBS"
28211 CFLAGS="$CFLAGS $GTK_CFLAGS"
28212 LIBS="$GTK_LIBS $LIBS"
28213 rm -f conf.gtktest
28214 if test "$cross_compiling" = yes; then
28215 echo $ac_n "cross compiling; assumed OK... $ac_c"
28216 else
28217 cat >conftest.$ac_ext <<_ACEOF
28218 /* confdefs.h. */
28219 _ACEOF
28220 cat confdefs.h >>conftest.$ac_ext
28221 cat >>conftest.$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28223
28224 #include <gtk/gtk.h>
28225 #include <stdio.h>
28226 #include <stdlib.h>
28227
28228 int
28229 main ()
28230 {
28231 int major, minor, micro;
28232 char *tmp_version;
28233
28234 system ("touch conf.gtktest");
28235
28236 /* HP/UX 9 (%@#!) writes to sscanf strings */
28237 tmp_version = g_strdup("$min_gtk_version");
28238 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28239 printf("%s, bad version string\n", "$min_gtk_version");
28240 exit(1);
28241 }
28242
28243 if ((gtk_major_version != $gtk_config_major_version) ||
28244 (gtk_minor_version != $gtk_config_minor_version) ||
28245 (gtk_micro_version != $gtk_config_micro_version))
28246 {
28247 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28248 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28249 gtk_major_version, gtk_minor_version, gtk_micro_version);
28250 printf ("*** was found! If gtk-config was correct, then it is best\n");
28251 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28252 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28253 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28254 printf("*** required on your system.\n");
28255 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28256 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28257 printf("*** before re-running configure\n");
28258 }
28259 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28260 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28261 (gtk_minor_version != GTK_MINOR_VERSION) ||
28262 (gtk_micro_version != GTK_MICRO_VERSION))
28263 {
28264 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28265 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28266 printf("*** library (version %d.%d.%d)\n",
28267 gtk_major_version, gtk_minor_version, gtk_micro_version);
28268 }
28269 #endif /* defined (GTK_MAJOR_VERSION) ... */
28270 else
28271 {
28272 if ((gtk_major_version > major) ||
28273 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28274 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28275 {
28276 return 0;
28277 }
28278 else
28279 {
28280 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28281 gtk_major_version, gtk_minor_version, gtk_micro_version);
28282 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28283 major, minor, micro);
28284 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28285 printf("***\n");
28286 printf("*** If you have already installed a sufficiently new version, this error\n");
28287 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28288 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28289 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28290 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28291 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28292 printf("*** so that the correct libraries are found at run-time))\n");
28293 }
28294 }
28295 return 1;
28296 }
28297
28298 _ACEOF
28299 rm -f conftest$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28310 :
28311 else
28312 echo "$as_me: program exited with status $ac_status" >&5
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ( exit $ac_status )
28317 no_gtk=yes
28318 fi
28319 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28320 fi
28321 CFLAGS="$ac_save_CFLAGS"
28322 LIBS="$ac_save_LIBS"
28323 fi
28324 fi
28325 if test "x$no_gtk" = x ; then
28326 echo "$as_me:$LINENO: result: yes" >&5
28327 echo "${ECHO_T}yes" >&6
28328 wx_cv_lib_gtk=1.2.3
28329 else
28330 echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6
28332 if test "$GTK_CONFIG" = "no" ; then
28333 echo "*** The gtk-config script installed by GTK could not be found"
28334 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28335 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28336 echo "*** full path to gtk-config."
28337 else
28338 if test -f conf.gtktest ; then
28339 :
28340 else
28341 echo "*** Could not run GTK test program, checking why..."
28342 CFLAGS="$CFLAGS $GTK_CFLAGS"
28343 LIBS="$LIBS $GTK_LIBS"
28344 cat >conftest.$ac_ext <<_ACEOF
28345 /* confdefs.h. */
28346 _ACEOF
28347 cat confdefs.h >>conftest.$ac_ext
28348 cat >>conftest.$ac_ext <<_ACEOF
28349 /* end confdefs.h. */
28350
28351 #include <gtk/gtk.h>
28352 #include <stdio.h>
28353
28354 int
28355 main ()
28356 {
28357 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28358 ;
28359 return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28364 (eval $ac_link) 2>conftest.er1
28365 ac_status=$?
28366 grep -v '^ *+' conftest.er1 >conftest.err
28367 rm -f conftest.er1
28368 cat conftest.err >&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28374 ac_status=$?
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; } &&
28377 { ac_try='test -s conftest$ac_exeext'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28380 ac_status=$?
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; }; then
28383 echo "*** The test program compiled, but did not run. This usually means"
28384 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28385 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28386 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28387 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28388 echo "*** is required on your system"
28389 echo "***"
28390 echo "*** If you have an old version installed, it is best to remove it, although"
28391 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28392 echo "***"
28393 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28394 echo "*** came with the system with the command"
28395 echo "***"
28396 echo "*** rpm --erase --nodeps gtk gtk-devel"
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 echo "*** The test program failed to compile or link. See the file config.log for the"
28402 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28403 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28404 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28405 fi
28406 rm -f conftest.err conftest.$ac_objext \
28407 conftest$ac_exeext conftest.$ac_ext
28408 CFLAGS="$ac_save_CFLAGS"
28409 LIBS="$ac_save_LIBS"
28410 fi
28411 fi
28412 GTK_CFLAGS=""
28413 GTK_LIBS=""
28414 :
28415 fi
28416
28417
28418 rm -f conf.gtktest
28419
28420 fi
28421 fi
28422 fi
28423
28424 if test -z "$wx_cv_lib_gtk"; then
28425 wx_cv_lib_gtk=none
28426 else
28427 wx_cv_cflags_gtk=$GTK_CFLAGS
28428 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28429 fi
28430
28431
28432 fi
28433
28434
28435 if test "$gtk_version_cached" = 1; then
28436 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28437 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28438 fi
28439
28440 case "$wx_cv_lib_gtk" in
28441 2.0) WXGTK20=1
28442 TOOLKIT_VERSION=2
28443 ;;
28444 1.2.7) WXGTK127=1
28445 WXGTK12=1
28446 ;;
28447 1.2.3) WXGTK12=1
28448 ;;
28449 *) { { echo "$as_me:$LINENO: error:
28450 The development files for GTK+ were not found. For GTK+ 2, please
28451 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28452 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28453 and that the version is 1.2.3 or above. Also check that the
28454 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28455 --libs' are in the LD_LIBRARY_PATH or equivalent.
28456 " >&5
28457 echo "$as_me: error:
28458 The development files for GTK+ were not found. For GTK+ 2, please
28459 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28460 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28461 and that the version is 1.2.3 or above. Also check that the
28462 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28463 --libs' are in the LD_LIBRARY_PATH or equivalent.
28464 " >&2;}
28465 { (exit 1); exit 1; }; }
28466 ;;
28467 esac
28468
28469 if test "$WXGTK20" = 1; then
28470 save_CFLAGS="$CFLAGS"
28471 save_LIBS="$LIBS"
28472 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28473 LIBS="$LIBS $wx_cv_libs_gtk"
28474
28475 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28476 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28477 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 else
28480 cat >conftest.$ac_ext <<_ACEOF
28481 /* confdefs.h. */
28482 _ACEOF
28483 cat confdefs.h >>conftest.$ac_ext
28484 cat >>conftest.$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28486 #include <gtk/gtk.h>
28487
28488 int
28489 main ()
28490 {
28491 #ifndef gtk_icon_size_lookup
28492 char *p = (char *) gtk_icon_size_lookup;
28493 #endif
28494
28495 ;
28496 return 0;
28497 }
28498 _ACEOF
28499 rm -f conftest.$ac_objext
28500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28501 (eval $ac_compile) 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } &&
28508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28510 (eval $ac_try) 2>&5
28511 ac_status=$?
28512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28513 (exit $ac_status); }; } &&
28514 { ac_try='test -s conftest.$ac_objext'
28515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516 (eval $ac_try) 2>&5
28517 ac_status=$?
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); }; }; then
28520 ac_cv_have_decl_gtk_icon_size_lookup=yes
28521 else
28522 echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.$ac_ext >&5
28524
28525 ac_cv_have_decl_gtk_icon_size_lookup=no
28526 fi
28527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28528 fi
28529 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28530 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28531 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28532
28533 cat >>confdefs.h <<_ACEOF
28534 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28535 _ACEOF
28536
28537
28538 else
28539 cat >>confdefs.h <<_ACEOF
28540 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28541 _ACEOF
28542
28543 cat >>confdefs.h <<\_ACEOF
28544 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28545 _ACEOF
28546
28547 fi
28548
28549
28550
28551 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28552 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28553 cat >conftest.$ac_ext <<_ACEOF
28554 /* confdefs.h. */
28555 _ACEOF
28556 cat confdefs.h >>conftest.$ac_ext
28557 cat >>conftest.$ac_ext <<_ACEOF
28558 /* end confdefs.h. */
28559
28560 #include <gtk/gtk.h>
28561
28562 int
28563 main ()
28564 {
28565
28566 #if !GTK_CHECK_VERSION(2,6,0)
28567 Not GTK+ 2.6
28568 #endif
28569
28570 ;
28571 return 0;
28572 }
28573 _ACEOF
28574 rm -f conftest.$ac_objext
28575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28576 (eval $ac_compile) 2>conftest.er1
28577 ac_status=$?
28578 grep -v '^ *+' conftest.er1 >conftest.err
28579 rm -f conftest.er1
28580 cat conftest.err >&5
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); } &&
28583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595
28596 cat >>confdefs.h <<\_ACEOF
28597 #define __WXGTK26__ 1
28598 _ACEOF
28599
28600 cat >>confdefs.h <<\_ACEOF
28601 #define __WXGTK24__ 1
28602 _ACEOF
28603
28604 echo "$as_me:$LINENO: result: yes" >&5
28605 echo "${ECHO_T}yes" >&6
28606 ac_wxgtk26=1
28607
28608 else
28609 echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28611
28612
28613 echo "$as_me:$LINENO: result: no" >&5
28614 echo "${ECHO_T}no" >&6
28615 ac_wxgtk26=0
28616
28617 fi
28618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28619
28620 if test "$ac_wxgtk26" = 0; then
28621 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28622 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28623 cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h. */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629
28630 #include <gtk/gtk.h>
28631
28632 int
28633 main ()
28634 {
28635
28636 #if !GTK_CHECK_VERSION(2,4,0)
28637 Not GTK+ 2.4
28638 #endif
28639
28640 ;
28641 return 0;
28642 }
28643 _ACEOF
28644 rm -f conftest.$ac_objext
28645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28646 (eval $ac_compile) 2>conftest.er1
28647 ac_status=$?
28648 grep -v '^ *+' conftest.er1 >conftest.err
28649 rm -f conftest.er1
28650 cat conftest.err >&5
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); } &&
28653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; } &&
28659 { ac_try='test -s conftest.$ac_objext'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; }; then
28665
28666 cat >>confdefs.h <<\_ACEOF
28667 #define __WXGTK24__ 1
28668 _ACEOF
28669
28670 echo "$as_me:$LINENO: result: yes" >&5
28671 echo "${ECHO_T}yes" >&6
28672
28673 else
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28676
28677
28678 echo "$as_me:$LINENO: result: no" >&5
28679 echo "${ECHO_T}no" >&6
28680
28681 fi
28682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28683 fi
28684
28685 CFLAGS="$save_CFLAGS"
28686 LIBS="$save_LIBS"
28687 else
28688 if test "$wxUSE_UNICODE" = "yes"; then
28689 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28690 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28691 wxUSE_UNICODE=no
28692 fi
28693 fi
28694
28695 ac_ext=cc
28696 ac_cpp='$CXXCPP $CPPFLAGS'
28697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28700
28701
28702 if test "$USE_DARWIN" != 1; then
28703
28704 for ac_func in poll
28705 do
28706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28707 echo "$as_me:$LINENO: checking for $ac_func" >&5
28708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28709 if eval "test \"\${$as_ac_var+set}\" = set"; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 else
28712 cat >conftest.$ac_ext <<_ACEOF
28713 /* confdefs.h. */
28714 _ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28720 #define $ac_func innocuous_$ac_func
28721
28722 /* System header to define __stub macros and hopefully few prototypes,
28723 which can conflict with char $ac_func (); below.
28724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28725 <limits.h> exists even on freestanding compilers. */
28726
28727 #ifdef __STDC__
28728 # include <limits.h>
28729 #else
28730 # include <assert.h>
28731 #endif
28732
28733 #undef $ac_func
28734
28735 /* Override any gcc2 internal prototype to avoid an error. */
28736 #ifdef __cplusplus
28737 extern "C"
28738 {
28739 #endif
28740 /* We use char because int might match the return type of a gcc2
28741 builtin and then its argument prototype would still apply. */
28742 char $ac_func ();
28743 /* The GNU C library defines this for functions which it implements
28744 to always fail with ENOSYS. Some functions are actually named
28745 something starting with __ and the normal name is an alias. */
28746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28747 choke me
28748 #else
28749 char (*f) () = $ac_func;
28750 #endif
28751 #ifdef __cplusplus
28752 }
28753 #endif
28754
28755 int
28756 main ()
28757 {
28758 return f != $ac_func;
28759 ;
28760 return 0;
28761 }
28762 _ACEOF
28763 rm -f conftest.$ac_objext conftest$ac_exeext
28764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28765 (eval $ac_link) 2>conftest.er1
28766 ac_status=$?
28767 grep -v '^ *+' conftest.er1 >conftest.err
28768 rm -f conftest.er1
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } &&
28772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 (eval $ac_try) 2>&5
28775 ac_status=$?
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); }; } &&
28778 { ac_try='test -s conftest$ac_exeext'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28781 ac_status=$?
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 eval "$as_ac_var=yes"
28785 else
28786 echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.$ac_ext >&5
28788
28789 eval "$as_ac_var=no"
28790 fi
28791 rm -f conftest.err conftest.$ac_objext \
28792 conftest$ac_exeext conftest.$ac_ext
28793 fi
28794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28796 if test `eval echo '${'$as_ac_var'}'` = yes; then
28797 cat >>confdefs.h <<_ACEOF
28798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28799 _ACEOF
28800
28801 fi
28802 done
28803
28804 fi
28805
28806 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28807 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28808
28809 AFMINSTALL=afminstall
28810 TOOLKIT=GTK
28811 GUIDIST=GTK_DIST
28812
28813 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28814 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28815 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28816 echo $ECHO_N "(cached) $ECHO_C" >&6
28817 else
28818 ac_check_lib_save_LIBS=$LIBS
28819 LIBS="-lgdk $LIBS"
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826
28827 /* Override any gcc2 internal prototype to avoid an error. */
28828 #ifdef __cplusplus
28829 extern "C"
28830 #endif
28831 /* We use char because int might match the return type of a gcc2
28832 builtin and then its argument prototype would still apply. */
28833 char gdk_im_open ();
28834 int
28835 main ()
28836 {
28837 gdk_im_open ();
28838 ;
28839 return 0;
28840 }
28841 _ACEOF
28842 rm -f conftest.$ac_objext conftest$ac_exeext
28843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28844 (eval $ac_link) 2>conftest.er1
28845 ac_status=$?
28846 grep -v '^ *+' conftest.er1 >conftest.err
28847 rm -f conftest.er1
28848 cat conftest.err >&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } &&
28851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853 (eval $ac_try) 2>&5
28854 ac_status=$?
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); }; } &&
28857 { ac_try='test -s conftest$ac_exeext'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; }; then
28863 ac_cv_lib_gdk_gdk_im_open=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28867
28868 ac_cv_lib_gdk_gdk_im_open=no
28869 fi
28870 rm -f conftest.err conftest.$ac_objext \
28871 conftest$ac_exeext conftest.$ac_ext
28872 LIBS=$ac_check_lib_save_LIBS
28873 fi
28874 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28875 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28876 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28877 cat >>confdefs.h <<\_ACEOF
28878 #define HAVE_XIM 1
28879 _ACEOF
28880
28881 fi
28882
28883
28884
28885 if test "$wxUSE_GPE" = "yes"; then
28886 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28887 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28888
28889 ac_find_libraries=
28890 for ac_dir in $SEARCH_LIB;
28891 do
28892 for ac_extension in a so sl dylib dll.a; do
28893 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28894 ac_find_libraries=$ac_dir
28895 break 2
28896 fi
28897 done
28898 done
28899
28900 if test "$ac_find_libraries" != "" ; then
28901
28902 if test "$ac_find_libraries" = "default location"; then
28903 ac_path_to_link=""
28904 else
28905 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28906 result=$?
28907 if test $result = 0; then
28908 ac_path_to_link=""
28909 else
28910 ac_path_to_link=" -L$ac_find_libraries"
28911 fi
28912 fi
28913
28914 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28915 WXGPE=1
28916 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28917 echo "${ECHO_T}found in $ac_find_libraries" >&6
28918 else
28919 echo "$as_me:$LINENO: result: not found" >&5
28920 echo "${ECHO_T}not found" >&6
28921 fi
28922
28923 fi
28924 fi
28925
28926 if test "$wxUSE_MGL" = 1; then
28927 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28928 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28929 if test "x$MGL_ROOT" = x ; then
28930 echo "$as_me:$LINENO: result: not found" >&5
28931 echo "${ECHO_T}not found" >&6
28932 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28933 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28934 { (exit 1); exit 1; }; }
28935 else
28936 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28937 echo "${ECHO_T}$MGL_ROOT" >&6
28938 fi
28939
28940 echo "$as_me:$LINENO: checking for libmgl location" >&5
28941 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28942 case "${host}" in
28943 *-*-linux* )
28944 if test "x$wxUSE_SHARED" = xyes ; then
28945 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28946 else
28947 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28948 fi
28949 ;;
28950 *-pc-msdosdjgpp )
28951 mgl_os_candidates="dos32/dj2"
28952 ;;
28953 *)
28954 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28955 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28956 { (exit 1); exit 1; }; }
28957 esac
28958
28959 mgl_lib_type=""
28960 mgl_os=""
28961
28962 for mgl_os_i in $mgl_os_candidates ; do
28963 if test "x$mgl_os" = x ; then
28964 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28965 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28966 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28967 mgl_lib_type=debug
28968 mgl_os=$mgl_os_i
28969 fi
28970 fi
28971 if test "x$mgl_lib_type" = x ; then
28972 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28973 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28974 mgl_lib_type=release
28975 mgl_os=$mgl_os_i
28976 fi
28977 fi
28978 fi
28979 done
28980
28981 if test "x$mgl_os" = x ; then
28982 echo "$as_me:$LINENO: result: not found" >&5
28983 echo "${ECHO_T}not found" >&6
28984 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28985 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28986 { (exit 1); exit 1; }; }
28987 fi
28988 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28989 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28990
28991 wxUSE_UNIVERSAL="yes"
28992
28993 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28994 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28995
28996 AFMINSTALL=afminstall
28997 TOOLKIT=MGL
28998 GUIDIST=MGL_DIST
28999 fi
29000
29001 if test "$wxUSE_DFB" = 1; then
29002
29003
29004 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29005 if test -n "$ac_tool_prefix"; then
29006 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29007 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29008 echo "$as_me:$LINENO: checking for $ac_word" >&5
29009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29010 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29012 else
29013 case $PKG_CONFIG in
29014 [\\/]* | ?:[\\/]*)
29015 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29016 ;;
29017 *)
29018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29019 for as_dir in $PATH
29020 do
29021 IFS=$as_save_IFS
29022 test -z "$as_dir" && as_dir=.
29023 for ac_exec_ext in '' $ac_executable_extensions; do
29024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29025 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29027 break 2
29028 fi
29029 done
29030 done
29031
29032 ;;
29033 esac
29034 fi
29035 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29036
29037 if test -n "$PKG_CONFIG"; then
29038 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29039 echo "${ECHO_T}$PKG_CONFIG" >&6
29040 else
29041 echo "$as_me:$LINENO: result: no" >&5
29042 echo "${ECHO_T}no" >&6
29043 fi
29044
29045 fi
29046 if test -z "$ac_cv_path_PKG_CONFIG"; then
29047 ac_pt_PKG_CONFIG=$PKG_CONFIG
29048 # Extract the first word of "pkg-config", so it can be a program name with args.
29049 set dummy pkg-config; ac_word=$2
29050 echo "$as_me:$LINENO: checking for $ac_word" >&5
29051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29052 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 case $ac_pt_PKG_CONFIG in
29056 [\\/]* | ?:[\\/]*)
29057 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29058 ;;
29059 *)
29060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29061 for as_dir in $PATH
29062 do
29063 IFS=$as_save_IFS
29064 test -z "$as_dir" && as_dir=.
29065 for ac_exec_ext in '' $ac_executable_extensions; do
29066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29067 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29069 break 2
29070 fi
29071 done
29072 done
29073
29074 ;;
29075 esac
29076 fi
29077 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29078
29079 if test -n "$ac_pt_PKG_CONFIG"; then
29080 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29081 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29082 else
29083 echo "$as_me:$LINENO: result: no" >&5
29084 echo "${ECHO_T}no" >&6
29085 fi
29086
29087 PKG_CONFIG=$ac_pt_PKG_CONFIG
29088 else
29089 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29090 fi
29091
29092 fi
29093 if test -n "$PKG_CONFIG"; then
29094 _pkg_min_version=0.9.0
29095 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29096 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29097 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29098 echo "$as_me:$LINENO: result: yes" >&5
29099 echo "${ECHO_T}yes" >&6
29100 else
29101 echo "$as_me:$LINENO: result: no" >&5
29102 echo "${ECHO_T}no" >&6
29103 PKG_CONFIG=""
29104 fi
29105
29106 fi
29107
29108 pkg_failed=no
29109 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29110 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29111
29112 if test -n "$PKG_CONFIG"; then
29113 if test -n "$DIRECTFB_CFLAGS"; then
29114 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29115 else
29116 if test -n "$PKG_CONFIG" && \
29117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29118 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29119 ac_status=$?
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; then
29122 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29123 else
29124 pkg_failed=yes
29125 fi
29126 fi
29127 else
29128 pkg_failed=untried
29129 fi
29130 if test -n "$PKG_CONFIG"; then
29131 if test -n "$DIRECTFB_LIBS"; then
29132 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29133 else
29134 if test -n "$PKG_CONFIG" && \
29135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29136 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29137 ac_status=$?
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); }; then
29140 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29141 else
29142 pkg_failed=yes
29143 fi
29144 fi
29145 else
29146 pkg_failed=untried
29147 fi
29148
29149
29150
29151 if test $pkg_failed = yes; then
29152
29153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29154 _pkg_short_errors_supported=yes
29155 else
29156 _pkg_short_errors_supported=no
29157 fi
29158 if test $_pkg_short_errors_supported = yes; then
29159 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29160 else
29161 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29162 fi
29163 # Put the nasty error message in config.log where it belongs
29164 echo "$DIRECTFB_PKG_ERRORS" >&5
29165
29166
29167 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29168 echo "$as_me: error: DirectFB not found." >&2;}
29169 { (exit 1); exit 1; }; }
29170
29171
29172 elif test $pkg_failed = untried; then
29173
29174 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29175 echo "$as_me: error: DirectFB not found." >&2;}
29176 { (exit 1); exit 1; }; }
29177
29178
29179 else
29180 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29181 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29182 echo "$as_me:$LINENO: result: yes" >&5
29183 echo "${ECHO_T}yes" >&6
29184
29185 wxUSE_UNIVERSAL="yes"
29186 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29187 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29188 TOOLKIT=DFB
29189 GUIDIST=DFB_DIST
29190
29191 fi
29192 fi
29193
29194 if test "$wxUSE_MICROWIN" = 1; then
29195 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29196 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29197 if test "x$MICROWINDOWS" = x ; then
29198 echo "$as_me:$LINENO: result: not found" >&5
29199 echo "${ECHO_T}not found" >&6
29200 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29201 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29202 { (exit 1); exit 1; }; }
29203 else
29204 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29205 echo "${ECHO_T}$MICROWINDOWS" >&6
29206 fi
29207
29208 if test -f $MICROWINDOWS/lib/libmwin.a; then
29209 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29210 echo "${ECHO_T}MicroWindows' libraries found." >&6
29211 else
29212 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29213 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29214 { (exit 1); exit 1; }; }
29215 fi
29216
29217 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29218 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29219
29220 wxUSE_UNIVERSAL="yes"
29221
29222 AFMINSTALL=afminstall
29223 TOOLKIT=MICROWIN
29224 GUIDIST=MICROWIN_DIST
29225
29226 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29227 fi
29228
29229 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29230
29231 if test "x$ac_path_x_has_been_run" != xyes; then
29232 echo "$as_me:$LINENO: checking for X" >&5
29233 echo $ECHO_N "checking for X... $ECHO_C" >&6
29234
29235 ac_path_x_has_been_run=yes
29236
29237 # Check whether --with-x or --without-x was given.
29238 if test "${with_x+set}" = set; then
29239 withval="$with_x"
29240
29241 fi;
29242 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29243 if test "x$with_x" = xno; then
29244 # The user explicitly disabled X.
29245 have_x=disabled
29246 else
29247 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29248 # Both variables are already set.
29249 have_x=yes
29250 else
29251 if test "${ac_cv_have_x+set}" = set; then
29252 echo $ECHO_N "(cached) $ECHO_C" >&6
29253 else
29254 # One or both of the vars are not set, and there is no cached value.
29255 ac_x_includes=no ac_x_libraries=no
29256 rm -fr conftest.dir
29257 if mkdir conftest.dir; then
29258 cd conftest.dir
29259 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29260 cat >Imakefile <<'_ACEOF'
29261 acfindx:
29262 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29263 _ACEOF
29264 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29266 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29267 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29268 for ac_extension in a so sl; do
29269 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29270 test -f $ac_im_libdir/libX11.$ac_extension; then
29271 ac_im_usrlibdir=$ac_im_libdir; break
29272 fi
29273 done
29274 # Screen out bogus values from the imake configuration. They are
29275 # bogus both because they are the default anyway, and because
29276 # using them would break gcc on systems where it needs fixed includes.
29277 case $ac_im_incroot in
29278 /usr/include) ;;
29279 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29280 esac
29281 case $ac_im_usrlibdir in
29282 /usr/lib | /lib) ;;
29283 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29284 esac
29285 fi
29286 cd ..
29287 rm -fr conftest.dir
29288 fi
29289
29290 # Standard set of common directories for X headers.
29291 # Check X11 before X11Rn because it is often a symlink to the current release.
29292 ac_x_header_dirs='
29293 /usr/X11/include
29294 /usr/X11R6/include
29295 /usr/X11R5/include
29296 /usr/X11R4/include
29297
29298 /usr/include/X11
29299 /usr/include/X11R6
29300 /usr/include/X11R5
29301 /usr/include/X11R4
29302
29303 /usr/local/X11/include
29304 /usr/local/X11R6/include
29305 /usr/local/X11R5/include
29306 /usr/local/X11R4/include
29307
29308 /usr/local/include/X11
29309 /usr/local/include/X11R6
29310 /usr/local/include/X11R5
29311 /usr/local/include/X11R4
29312
29313 /usr/X386/include
29314 /usr/x386/include
29315 /usr/XFree86/include/X11
29316
29317 /usr/include
29318 /usr/local/include
29319 /usr/unsupported/include
29320 /usr/athena/include
29321 /usr/local/x11r5/include
29322 /usr/lpp/Xamples/include
29323
29324 /usr/openwin/include
29325 /usr/openwin/share/include'
29326
29327 if test "$ac_x_includes" = no; then
29328 # Guess where to find include files, by looking for a specified header file.
29329 # First, try using that file with no special directory specified.
29330 cat >conftest.$ac_ext <<_ACEOF
29331 /* confdefs.h. */
29332 _ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <X11/Xlib.h>
29337 _ACEOF
29338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29340 ac_status=$?
29341 grep -v '^ *+' conftest.er1 >conftest.err
29342 rm -f conftest.er1
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } >/dev/null; then
29346 if test -s conftest.err; then
29347 ac_cpp_err=$ac_cxx_preproc_warn_flag
29348 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29349 else
29350 ac_cpp_err=
29351 fi
29352 else
29353 ac_cpp_err=yes
29354 fi
29355 if test -z "$ac_cpp_err"; then
29356 # We can compile using X headers with no special include directory.
29357 ac_x_includes=
29358 else
29359 echo "$as_me: failed program was:" >&5
29360 sed 's/^/| /' conftest.$ac_ext >&5
29361
29362 for ac_dir in $ac_x_header_dirs; do
29363 if test -r "$ac_dir/X11/Xlib.h"; then
29364 ac_x_includes=$ac_dir
29365 break
29366 fi
29367 done
29368 fi
29369 rm -f conftest.err conftest.$ac_ext
29370 fi # $ac_x_includes = no
29371
29372 if test "$ac_x_libraries" = no; then
29373 # Check for the libraries.
29374 # See if we find them without any special options.
29375 # Don't add to $LIBS permanently.
29376 ac_save_LIBS=$LIBS
29377 LIBS="-lX11 $LIBS"
29378 cat >conftest.$ac_ext <<_ACEOF
29379 /* confdefs.h. */
29380 _ACEOF
29381 cat confdefs.h >>conftest.$ac_ext
29382 cat >>conftest.$ac_ext <<_ACEOF
29383 /* end confdefs.h. */
29384 #include <X11/Xlib.h>
29385 int
29386 main ()
29387 {
29388 XrmInitialize ()
29389 ;
29390 return 0;
29391 }
29392 _ACEOF
29393 rm -f conftest.$ac_objext conftest$ac_exeext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29395 (eval $ac_link) 2>conftest.er1
29396 ac_status=$?
29397 grep -v '^ *+' conftest.er1 >conftest.err
29398 rm -f conftest.er1
29399 cat conftest.err >&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29405 ac_status=$?
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; } &&
29408 { ac_try='test -s conftest$ac_exeext'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 LIBS=$ac_save_LIBS
29415 # We can link X programs with no special library path.
29416 ac_x_libraries=
29417 else
29418 echo "$as_me: failed program was:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29420
29421 LIBS=$ac_save_LIBS
29422 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29423 do
29424 # Don't even attempt the hair of trying to link an X program!
29425 for ac_extension in a so sl; do
29426 if test -r $ac_dir/libX11.$ac_extension; then
29427 ac_x_libraries=$ac_dir
29428 break 2
29429 fi
29430 done
29431 done
29432 fi
29433 rm -f conftest.err conftest.$ac_objext \
29434 conftest$ac_exeext conftest.$ac_ext
29435 fi # $ac_x_libraries = no
29436
29437 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29438 # Didn't find X anywhere. Cache the known absence of X.
29439 ac_cv_have_x="have_x=no"
29440 else
29441 # Record where we found X for the cache.
29442 ac_cv_have_x="have_x=yes \
29443 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29444 fi
29445 fi
29446
29447 fi
29448 eval "$ac_cv_have_x"
29449 fi # $with_x != no
29450
29451 if test "$have_x" != yes; then
29452 echo "$as_me:$LINENO: result: $have_x" >&5
29453 echo "${ECHO_T}$have_x" >&6
29454 no_x=yes
29455 else
29456 # If each of the values was on the command line, it overrides each guess.
29457 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29458 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29459 # Update the cache value to reflect the command line values.
29460 ac_cv_have_x="have_x=yes \
29461 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29462 # It might be that x_includes is empty (headers are found in the
29463 # standard search path. Then output the corresponding message
29464 ac_out_x_includes=$x_includes
29465 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29466 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29467 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29468 fi
29469
29470 fi
29471 if test "$no_x" = yes; then
29472 # Not all programs may use this symbol, but it does not hurt to define it.
29473
29474 cat >>confdefs.h <<\_ACEOF
29475 #define X_DISPLAY_MISSING 1
29476 _ACEOF
29477
29478 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29479 else
29480 if test -n "$x_includes"; then
29481 X_CFLAGS="$X_CFLAGS -I$x_includes"
29482 fi
29483
29484 # It would also be nice to do this for all -L options, not just this one.
29485 if test -n "$x_libraries"; then
29486 X_LIBS="$X_LIBS -L$x_libraries"
29487 # For Solaris; some versions of Sun CC require a space after -R and
29488 # others require no space. Words are not sufficient . . . .
29489 case `(uname -sr) 2>/dev/null` in
29490 "SunOS 5"*)
29491 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29492 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29493 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29494 cat >conftest.$ac_ext <<_ACEOF
29495 /* confdefs.h. */
29496 _ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500
29501 int
29502 main ()
29503 {
29504
29505 ;
29506 return 0;
29507 }
29508 _ACEOF
29509 rm -f conftest.$ac_objext conftest$ac_exeext
29510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29511 (eval $ac_link) 2>conftest.er1
29512 ac_status=$?
29513 grep -v '^ *+' conftest.er1 >conftest.err
29514 rm -f conftest.er1
29515 cat conftest.err >&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); } &&
29518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29521 ac_status=$?
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; } &&
29524 { ac_try='test -s conftest$ac_exeext'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29527 ac_status=$?
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; }; then
29530 ac_R_nospace=yes
29531 else
29532 echo "$as_me: failed program was:" >&5
29533 sed 's/^/| /' conftest.$ac_ext >&5
29534
29535 ac_R_nospace=no
29536 fi
29537 rm -f conftest.err conftest.$ac_objext \
29538 conftest$ac_exeext conftest.$ac_ext
29539 if test $ac_R_nospace = yes; then
29540 echo "$as_me:$LINENO: result: no" >&5
29541 echo "${ECHO_T}no" >&6
29542 X_LIBS="$X_LIBS -R$x_libraries"
29543 else
29544 LIBS="$ac_xsave_LIBS -R $x_libraries"
29545 cat >conftest.$ac_ext <<_ACEOF
29546 /* confdefs.h. */
29547 _ACEOF
29548 cat confdefs.h >>conftest.$ac_ext
29549 cat >>conftest.$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29551
29552 int
29553 main ()
29554 {
29555
29556 ;
29557 return 0;
29558 }
29559 _ACEOF
29560 rm -f conftest.$ac_objext conftest$ac_exeext
29561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29562 (eval $ac_link) 2>conftest.er1
29563 ac_status=$?
29564 grep -v '^ *+' conftest.er1 >conftest.err
29565 rm -f conftest.er1
29566 cat conftest.err >&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); } &&
29569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29572 ac_status=$?
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; } &&
29575 { ac_try='test -s conftest$ac_exeext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29578 ac_status=$?
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 ac_R_space=yes
29582 else
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29585
29586 ac_R_space=no
29587 fi
29588 rm -f conftest.err conftest.$ac_objext \
29589 conftest$ac_exeext conftest.$ac_ext
29590 if test $ac_R_space = yes; then
29591 echo "$as_me:$LINENO: result: yes" >&5
29592 echo "${ECHO_T}yes" >&6
29593 X_LIBS="$X_LIBS -R $x_libraries"
29594 else
29595 echo "$as_me:$LINENO: result: neither works" >&5
29596 echo "${ECHO_T}neither works" >&6
29597 fi
29598 fi
29599 LIBS=$ac_xsave_LIBS
29600 esac
29601 fi
29602
29603 # Check for system-dependent libraries X programs must link with.
29604 # Do this before checking for the system-independent R6 libraries
29605 # (-lICE), since we may need -lsocket or whatever for X linking.
29606
29607 if test "$ISC" = yes; then
29608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29609 else
29610 # Martyn Johnson says this is needed for Ultrix, if the X
29611 # libraries were built with DECnet support. And Karl Berry says
29612 # the Alpha needs dnet_stub (dnet does not exist).
29613 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29614 cat >conftest.$ac_ext <<_ACEOF
29615 /* confdefs.h. */
29616 _ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29620
29621 /* Override any gcc2 internal prototype to avoid an error. */
29622 #ifdef __cplusplus
29623 extern "C"
29624 #endif
29625 /* We use char because int might match the return type of a gcc2
29626 builtin and then its argument prototype would still apply. */
29627 char XOpenDisplay ();
29628 int
29629 main ()
29630 {
29631 XOpenDisplay ();
29632 ;
29633 return 0;
29634 }
29635 _ACEOF
29636 rm -f conftest.$ac_objext conftest$ac_exeext
29637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29638 (eval $ac_link) 2>conftest.er1
29639 ac_status=$?
29640 grep -v '^ *+' conftest.er1 >conftest.err
29641 rm -f conftest.er1
29642 cat conftest.err >&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); } &&
29645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29647 (eval $ac_try) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); }; } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 :
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29661
29662 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29663 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29664 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 else
29667 ac_check_lib_save_LIBS=$LIBS
29668 LIBS="-ldnet $LIBS"
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675
29676 /* Override any gcc2 internal prototype to avoid an error. */
29677 #ifdef __cplusplus
29678 extern "C"
29679 #endif
29680 /* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682 char dnet_ntoa ();
29683 int
29684 main ()
29685 {
29686 dnet_ntoa ();
29687 ;
29688 return 0;
29689 }
29690 _ACEOF
29691 rm -f conftest.$ac_objext conftest$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>conftest.er1
29694 ac_status=$?
29695 grep -v '^ *+' conftest.er1 >conftest.err
29696 rm -f conftest.er1
29697 cat conftest.err >&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29703 ac_status=$?
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try='test -s conftest$ac_exeext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 ac_cv_lib_dnet_dnet_ntoa=yes
29713 else
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.$ac_ext >&5
29716
29717 ac_cv_lib_dnet_dnet_ntoa=no
29718 fi
29719 rm -f conftest.err conftest.$ac_objext \
29720 conftest$ac_exeext conftest.$ac_ext
29721 LIBS=$ac_check_lib_save_LIBS
29722 fi
29723 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29724 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29725 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29726 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29727 fi
29728
29729 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29730 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29731 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29732 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29734 else
29735 ac_check_lib_save_LIBS=$LIBS
29736 LIBS="-ldnet_stub $LIBS"
29737 cat >conftest.$ac_ext <<_ACEOF
29738 /* confdefs.h. */
29739 _ACEOF
29740 cat confdefs.h >>conftest.$ac_ext
29741 cat >>conftest.$ac_ext <<_ACEOF
29742 /* end confdefs.h. */
29743
29744 /* Override any gcc2 internal prototype to avoid an error. */
29745 #ifdef __cplusplus
29746 extern "C"
29747 #endif
29748 /* We use char because int might match the return type of a gcc2
29749 builtin and then its argument prototype would still apply. */
29750 char dnet_ntoa ();
29751 int
29752 main ()
29753 {
29754 dnet_ntoa ();
29755 ;
29756 return 0;
29757 }
29758 _ACEOF
29759 rm -f conftest.$ac_objext conftest$ac_exeext
29760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29761 (eval $ac_link) 2>conftest.er1
29762 ac_status=$?
29763 grep -v '^ *+' conftest.er1 >conftest.err
29764 rm -f conftest.er1
29765 cat conftest.err >&5
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; } &&
29774 { ac_try='test -s conftest$ac_exeext'
29775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776 (eval $ac_try) 2>&5
29777 ac_status=$?
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); }; }; then
29780 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29781 else
29782 echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785 ac_cv_lib_dnet_stub_dnet_ntoa=no
29786 fi
29787 rm -f conftest.err conftest.$ac_objext \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29790 fi
29791 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29792 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29793 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29794 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29795 fi
29796
29797 fi
29798 fi
29799 rm -f conftest.err conftest.$ac_objext \
29800 conftest$ac_exeext conftest.$ac_ext
29801 LIBS="$ac_xsave_LIBS"
29802
29803 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29804 # to get the SysV transport functions.
29805 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29806 # needs -lnsl.
29807 # The nsl library prevents programs from opening the X display
29808 # on Irix 5.2, according to T.E. Dickey.
29809 # The functions gethostbyname, getservbyname, and inet_addr are
29810 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29811 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29812 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29813 if test "${ac_cv_func_gethostbyname+set}" = set; then
29814 echo $ECHO_N "(cached) $ECHO_C" >&6
29815 else
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29824 #define gethostbyname innocuous_gethostbyname
29825
29826 /* System header to define __stub macros and hopefully few prototypes,
29827 which can conflict with char gethostbyname (); below.
29828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29829 <limits.h> exists even on freestanding compilers. */
29830
29831 #ifdef __STDC__
29832 # include <limits.h>
29833 #else
29834 # include <assert.h>
29835 #endif
29836
29837 #undef gethostbyname
29838
29839 /* Override any gcc2 internal prototype to avoid an error. */
29840 #ifdef __cplusplus
29841 extern "C"
29842 {
29843 #endif
29844 /* We use char because int might match the return type of a gcc2
29845 builtin and then its argument prototype would still apply. */
29846 char gethostbyname ();
29847 /* The GNU C library defines this for functions which it implements
29848 to always fail with ENOSYS. Some functions are actually named
29849 something starting with __ and the normal name is an alias. */
29850 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29851 choke me
29852 #else
29853 char (*f) () = gethostbyname;
29854 #endif
29855 #ifdef __cplusplus
29856 }
29857 #endif
29858
29859 int
29860 main ()
29861 {
29862 return f != gethostbyname;
29863 ;
29864 return 0;
29865 }
29866 _ACEOF
29867 rm -f conftest.$ac_objext conftest$ac_exeext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29869 (eval $ac_link) 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; } &&
29882 { ac_try='test -s conftest$ac_exeext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29888 ac_cv_func_gethostbyname=yes
29889 else
29890 echo "$as_me: failed program was:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29892
29893 ac_cv_func_gethostbyname=no
29894 fi
29895 rm -f conftest.err conftest.$ac_objext \
29896 conftest$ac_exeext conftest.$ac_ext
29897 fi
29898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29900
29901 if test $ac_cv_func_gethostbyname = no; then
29902 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29903 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29904 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29905 echo $ECHO_N "(cached) $ECHO_C" >&6
29906 else
29907 ac_check_lib_save_LIBS=$LIBS
29908 LIBS="-lnsl $LIBS"
29909 cat >conftest.$ac_ext <<_ACEOF
29910 /* confdefs.h. */
29911 _ACEOF
29912 cat confdefs.h >>conftest.$ac_ext
29913 cat >>conftest.$ac_ext <<_ACEOF
29914 /* end confdefs.h. */
29915
29916 /* Override any gcc2 internal prototype to avoid an error. */
29917 #ifdef __cplusplus
29918 extern "C"
29919 #endif
29920 /* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29922 char gethostbyname ();
29923 int
29924 main ()
29925 {
29926 gethostbyname ();
29927 ;
29928 return 0;
29929 }
29930 _ACEOF
29931 rm -f conftest.$ac_objext conftest$ac_exeext
29932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29933 (eval $ac_link) 2>conftest.er1
29934 ac_status=$?
29935 grep -v '^ *+' conftest.er1 >conftest.err
29936 rm -f conftest.er1
29937 cat conftest.err >&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29943 ac_status=$?
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; } &&
29946 { ac_try='test -s conftest$ac_exeext'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29949 ac_status=$?
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; }; then
29952 ac_cv_lib_nsl_gethostbyname=yes
29953 else
29954 echo "$as_me: failed program was:" >&5
29955 sed 's/^/| /' conftest.$ac_ext >&5
29956
29957 ac_cv_lib_nsl_gethostbyname=no
29958 fi
29959 rm -f conftest.err conftest.$ac_objext \
29960 conftest$ac_exeext conftest.$ac_ext
29961 LIBS=$ac_check_lib_save_LIBS
29962 fi
29963 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29964 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29965 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29966 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29967 fi
29968
29969 if test $ac_cv_lib_nsl_gethostbyname = no; then
29970 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29971 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29972 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 else
29975 ac_check_lib_save_LIBS=$LIBS
29976 LIBS="-lbsd $LIBS"
29977 cat >conftest.$ac_ext <<_ACEOF
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983
29984 /* Override any gcc2 internal prototype to avoid an error. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char gethostbyname ();
29991 int
29992 main ()
29993 {
29994 gethostbyname ();
29995 ;
29996 return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext conftest$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>conftest.er1
30002 ac_status=$?
30003 grep -v '^ *+' conftest.er1 >conftest.err
30004 rm -f conftest.er1
30005 cat conftest.err >&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); } &&
30008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; } &&
30014 { ac_try='test -s conftest$ac_exeext'
30015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30016 (eval $ac_try) 2>&5
30017 ac_status=$?
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); }; }; then
30020 ac_cv_lib_bsd_gethostbyname=yes
30021 else
30022 echo "$as_me: failed program was:" >&5
30023 sed 's/^/| /' conftest.$ac_ext >&5
30024
30025 ac_cv_lib_bsd_gethostbyname=no
30026 fi
30027 rm -f conftest.err conftest.$ac_objext \
30028 conftest$ac_exeext conftest.$ac_ext
30029 LIBS=$ac_check_lib_save_LIBS
30030 fi
30031 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30032 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30033 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30034 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30035 fi
30036
30037 fi
30038 fi
30039
30040 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30041 # socket/setsockopt and other routines are undefined under SCO ODT
30042 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30043 # on later versions), says Simon Leinen: it contains gethostby*
30044 # variants that don't use the name server (or something). -lsocket
30045 # must be given before -lnsl if both are needed. We assume that
30046 # if connect needs -lnsl, so does gethostbyname.
30047 echo "$as_me:$LINENO: checking for connect" >&5
30048 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30049 if test "${ac_cv_func_connect+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30052 cat >conftest.$ac_ext <<_ACEOF
30053 /* confdefs.h. */
30054 _ACEOF
30055 cat confdefs.h >>conftest.$ac_ext
30056 cat >>conftest.$ac_ext <<_ACEOF
30057 /* end confdefs.h. */
30058 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30060 #define connect innocuous_connect
30061
30062 /* System header to define __stub macros and hopefully few prototypes,
30063 which can conflict with char connect (); below.
30064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30065 <limits.h> exists even on freestanding compilers. */
30066
30067 #ifdef __STDC__
30068 # include <limits.h>
30069 #else
30070 # include <assert.h>
30071 #endif
30072
30073 #undef connect
30074
30075 /* Override any gcc2 internal prototype to avoid an error. */
30076 #ifdef __cplusplus
30077 extern "C"
30078 {
30079 #endif
30080 /* We use char because int might match the return type of a gcc2
30081 builtin and then its argument prototype would still apply. */
30082 char connect ();
30083 /* The GNU C library defines this for functions which it implements
30084 to always fail with ENOSYS. Some functions are actually named
30085 something starting with __ and the normal name is an alias. */
30086 #if defined (__stub_connect) || defined (__stub___connect)
30087 choke me
30088 #else
30089 char (*f) () = connect;
30090 #endif
30091 #ifdef __cplusplus
30092 }
30093 #endif
30094
30095 int
30096 main ()
30097 {
30098 return f != connect;
30099 ;
30100 return 0;
30101 }
30102 _ACEOF
30103 rm -f conftest.$ac_objext conftest$ac_exeext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105 (eval $ac_link) 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30114 (eval $ac_try) 2>&5
30115 ac_status=$?
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); }; } &&
30118 { ac_try='test -s conftest$ac_exeext'
30119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30120 (eval $ac_try) 2>&5
30121 ac_status=$?
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); }; }; then
30124 ac_cv_func_connect=yes
30125 else
30126 echo "$as_me: failed program was:" >&5
30127 sed 's/^/| /' conftest.$ac_ext >&5
30128
30129 ac_cv_func_connect=no
30130 fi
30131 rm -f conftest.err conftest.$ac_objext \
30132 conftest$ac_exeext conftest.$ac_ext
30133 fi
30134 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30135 echo "${ECHO_T}$ac_cv_func_connect" >&6
30136
30137 if test $ac_cv_func_connect = no; then
30138 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30139 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30140 if test "${ac_cv_lib_socket_connect+set}" = set; then
30141 echo $ECHO_N "(cached) $ECHO_C" >&6
30142 else
30143 ac_check_lib_save_LIBS=$LIBS
30144 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151
30152 /* Override any gcc2 internal prototype to avoid an error. */
30153 #ifdef __cplusplus
30154 extern "C"
30155 #endif
30156 /* We use char because int might match the return type of a gcc2
30157 builtin and then its argument prototype would still apply. */
30158 char connect ();
30159 int
30160 main ()
30161 {
30162 connect ();
30163 ;
30164 return 0;
30165 }
30166 _ACEOF
30167 rm -f conftest.$ac_objext conftest$ac_exeext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30169 (eval $ac_link) 2>conftest.er1
30170 ac_status=$?
30171 grep -v '^ *+' conftest.er1 >conftest.err
30172 rm -f conftest.er1
30173 cat conftest.err >&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); } &&
30176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30179 ac_status=$?
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; } &&
30182 { ac_try='test -s conftest$ac_exeext'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30185 ac_status=$?
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; }; then
30188 ac_cv_lib_socket_connect=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 ac_cv_lib_socket_connect=no
30194 fi
30195 rm -f conftest.err conftest.$ac_objext \
30196 conftest$ac_exeext conftest.$ac_ext
30197 LIBS=$ac_check_lib_save_LIBS
30198 fi
30199 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30200 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30201 if test $ac_cv_lib_socket_connect = yes; then
30202 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30203 fi
30204
30205 fi
30206
30207 # Guillermo Gomez says -lposix is necessary on A/UX.
30208 echo "$as_me:$LINENO: checking for remove" >&5
30209 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30210 if test "${ac_cv_func_remove+set}" = set; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 else
30213 cat >conftest.$ac_ext <<_ACEOF
30214 /* confdefs.h. */
30215 _ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30219 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30221 #define remove innocuous_remove
30222
30223 /* System header to define __stub macros and hopefully few prototypes,
30224 which can conflict with char remove (); below.
30225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30226 <limits.h> exists even on freestanding compilers. */
30227
30228 #ifdef __STDC__
30229 # include <limits.h>
30230 #else
30231 # include <assert.h>
30232 #endif
30233
30234 #undef remove
30235
30236 /* Override any gcc2 internal prototype to avoid an error. */
30237 #ifdef __cplusplus
30238 extern "C"
30239 {
30240 #endif
30241 /* We use char because int might match the return type of a gcc2
30242 builtin and then its argument prototype would still apply. */
30243 char remove ();
30244 /* The GNU C library defines this for functions which it implements
30245 to always fail with ENOSYS. Some functions are actually named
30246 something starting with __ and the normal name is an alias. */
30247 #if defined (__stub_remove) || defined (__stub___remove)
30248 choke me
30249 #else
30250 char (*f) () = remove;
30251 #endif
30252 #ifdef __cplusplus
30253 }
30254 #endif
30255
30256 int
30257 main ()
30258 {
30259 return f != remove;
30260 ;
30261 return 0;
30262 }
30263 _ACEOF
30264 rm -f conftest.$ac_objext conftest$ac_exeext
30265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30266 (eval $ac_link) 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } &&
30273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30276 ac_status=$?
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try='test -s conftest$ac_exeext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30282 ac_status=$?
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30285 ac_cv_func_remove=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 ac_cv_func_remove=no
30291 fi
30292 rm -f conftest.err conftest.$ac_objext \
30293 conftest$ac_exeext conftest.$ac_ext
30294 fi
30295 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30296 echo "${ECHO_T}$ac_cv_func_remove" >&6
30297
30298 if test $ac_cv_func_remove = no; then
30299 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30300 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30301 if test "${ac_cv_lib_posix_remove+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 else
30304 ac_check_lib_save_LIBS=$LIBS
30305 LIBS="-lposix $LIBS"
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312
30313 /* Override any gcc2 internal prototype to avoid an error. */
30314 #ifdef __cplusplus
30315 extern "C"
30316 #endif
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30319 char remove ();
30320 int
30321 main ()
30322 {
30323 remove ();
30324 ;
30325 return 0;
30326 }
30327 _ACEOF
30328 rm -f conftest.$ac_objext conftest$ac_exeext
30329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30330 (eval $ac_link) 2>conftest.er1
30331 ac_status=$?
30332 grep -v '^ *+' conftest.er1 >conftest.err
30333 rm -f conftest.er1
30334 cat conftest.err >&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); } &&
30337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30339 (eval $ac_try) 2>&5
30340 ac_status=$?
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; } &&
30343 { ac_try='test -s conftest$ac_exeext'
30344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30345 (eval $ac_try) 2>&5
30346 ac_status=$?
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); }; }; then
30349 ac_cv_lib_posix_remove=yes
30350 else
30351 echo "$as_me: failed program was:" >&5
30352 sed 's/^/| /' conftest.$ac_ext >&5
30353
30354 ac_cv_lib_posix_remove=no
30355 fi
30356 rm -f conftest.err conftest.$ac_objext \
30357 conftest$ac_exeext conftest.$ac_ext
30358 LIBS=$ac_check_lib_save_LIBS
30359 fi
30360 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30361 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30362 if test $ac_cv_lib_posix_remove = yes; then
30363 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30364 fi
30365
30366 fi
30367
30368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30369 echo "$as_me:$LINENO: checking for shmat" >&5
30370 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30371 if test "${ac_cv_func_shmat+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 cat >conftest.$ac_ext <<_ACEOF
30375 /* confdefs.h. */
30376 _ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30382 #define shmat innocuous_shmat
30383
30384 /* System header to define __stub macros and hopefully few prototypes,
30385 which can conflict with char shmat (); below.
30386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30387 <limits.h> exists even on freestanding compilers. */
30388
30389 #ifdef __STDC__
30390 # include <limits.h>
30391 #else
30392 # include <assert.h>
30393 #endif
30394
30395 #undef shmat
30396
30397 /* Override any gcc2 internal prototype to avoid an error. */
30398 #ifdef __cplusplus
30399 extern "C"
30400 {
30401 #endif
30402 /* We use char because int might match the return type of a gcc2
30403 builtin and then its argument prototype would still apply. */
30404 char shmat ();
30405 /* The GNU C library defines this for functions which it implements
30406 to always fail with ENOSYS. Some functions are actually named
30407 something starting with __ and the normal name is an alias. */
30408 #if defined (__stub_shmat) || defined (__stub___shmat)
30409 choke me
30410 #else
30411 char (*f) () = shmat;
30412 #endif
30413 #ifdef __cplusplus
30414 }
30415 #endif
30416
30417 int
30418 main ()
30419 {
30420 return f != shmat;
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30427 (eval $ac_link) 2>conftest.er1
30428 ac_status=$?
30429 grep -v '^ *+' conftest.er1 >conftest.err
30430 rm -f conftest.er1
30431 cat conftest.err >&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } &&
30434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; } &&
30440 { ac_try='test -s conftest$ac_exeext'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; }; then
30446 ac_cv_func_shmat=yes
30447 else
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30450
30451 ac_cv_func_shmat=no
30452 fi
30453 rm -f conftest.err conftest.$ac_objext \
30454 conftest$ac_exeext conftest.$ac_ext
30455 fi
30456 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30457 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30458
30459 if test $ac_cv_func_shmat = no; then
30460 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30461 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30462 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30465 ac_check_lib_save_LIBS=$LIBS
30466 LIBS="-lipc $LIBS"
30467 cat >conftest.$ac_ext <<_ACEOF
30468 /* confdefs.h. */
30469 _ACEOF
30470 cat confdefs.h >>conftest.$ac_ext
30471 cat >>conftest.$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473
30474 /* Override any gcc2 internal prototype to avoid an error. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 /* We use char because int might match the return type of a gcc2
30479 builtin and then its argument prototype would still apply. */
30480 char shmat ();
30481 int
30482 main ()
30483 {
30484 shmat ();
30485 ;
30486 return 0;
30487 }
30488 _ACEOF
30489 rm -f conftest.$ac_objext conftest$ac_exeext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30491 (eval $ac_link) 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30501 ac_status=$?
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; } &&
30504 { ac_try='test -s conftest$ac_exeext'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30507 ac_status=$?
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; }; then
30510 ac_cv_lib_ipc_shmat=yes
30511 else
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.$ac_ext >&5
30514
30515 ac_cv_lib_ipc_shmat=no
30516 fi
30517 rm -f conftest.err conftest.$ac_objext \
30518 conftest$ac_exeext conftest.$ac_ext
30519 LIBS=$ac_check_lib_save_LIBS
30520 fi
30521 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30522 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30523 if test $ac_cv_lib_ipc_shmat = yes; then
30524 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30525 fi
30526
30527 fi
30528 fi
30529
30530 # Check for libraries that X11R6 Xt/Xaw programs need.
30531 ac_save_LDFLAGS=$LDFLAGS
30532 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30533 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30534 # check for ICE first), but we must link in the order -lSM -lICE or
30535 # we get undefined symbols. So assume we have SM if we have ICE.
30536 # These have to be linked with before -lX11, unlike the other
30537 # libraries we check for below, so use a different variable.
30538 # John Interrante, Karl Berry
30539 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30540 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30541 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30542 echo $ECHO_N "(cached) $ECHO_C" >&6
30543 else
30544 ac_check_lib_save_LIBS=$LIBS
30545 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552
30553 /* Override any gcc2 internal prototype to avoid an error. */
30554 #ifdef __cplusplus
30555 extern "C"
30556 #endif
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30559 char IceConnectionNumber ();
30560 int
30561 main ()
30562 {
30563 IceConnectionNumber ();
30564 ;
30565 return 0;
30566 }
30567 _ACEOF
30568 rm -f conftest.$ac_objext conftest$ac_exeext
30569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30570 (eval $ac_link) 2>conftest.er1
30571 ac_status=$?
30572 grep -v '^ *+' conftest.er1 >conftest.err
30573 rm -f conftest.er1
30574 cat conftest.err >&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); } &&
30577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; } &&
30583 { ac_try='test -s conftest$ac_exeext'
30584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 (eval $ac_try) 2>&5
30586 ac_status=$?
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); }; }; then
30589 ac_cv_lib_ICE_IceConnectionNumber=yes
30590 else
30591 echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594 ac_cv_lib_ICE_IceConnectionNumber=no
30595 fi
30596 rm -f conftest.err conftest.$ac_objext \
30597 conftest$ac_exeext conftest.$ac_ext
30598 LIBS=$ac_check_lib_save_LIBS
30599 fi
30600 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30601 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30602 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30603 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30604 fi
30605
30606 LDFLAGS=$ac_save_LDFLAGS
30607
30608 fi
30609
30610
30611 if test "$no_x" = "yes"; then
30612 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30613 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30614 { (exit 1); exit 1; }; }
30615 fi
30616
30617 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30618 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30619 AFMINSTALL=afminstall
30620 COMPILED_X_PROGRAM=0
30621
30622 fi
30623
30624 if test "$wxUSE_X11" = 1; then
30625 if test "$wxUSE_NANOX" = "yes"; then
30626 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30627 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30628 if test "x$MICROWIN" = x ; then
30629 echo "$as_me:$LINENO: result: not found" >&5
30630 echo "${ECHO_T}not found" >&6
30631 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30632 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30633 { (exit 1); exit 1; }; }
30634 else
30635 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30636 echo "${ECHO_T}$MICROWIN" >&6
30637 cat >>confdefs.h <<\_ACEOF
30638 #define wxUSE_NANOX 1
30639 _ACEOF
30640
30641 fi
30642 fi
30643
30644 if test "$wxUSE_UNICODE" = "yes"; then
30645
30646 pkg_failed=no
30647 echo "$as_me:$LINENO: checking for PANGOX" >&5
30648 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30649
30650 if test -n "$PKG_CONFIG"; then
30651 if test -n "$PANGOX_CFLAGS"; then
30652 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30653 else
30654 if test -n "$PKG_CONFIG" && \
30655 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30656 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30657 ac_status=$?
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; then
30660 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30661 else
30662 pkg_failed=yes
30663 fi
30664 fi
30665 else
30666 pkg_failed=untried
30667 fi
30668 if test -n "$PKG_CONFIG"; then
30669 if test -n "$PANGOX_LIBS"; then
30670 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30671 else
30672 if test -n "$PKG_CONFIG" && \
30673 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30674 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; then
30678 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30679 else
30680 pkg_failed=yes
30681 fi
30682 fi
30683 else
30684 pkg_failed=untried
30685 fi
30686
30687
30688
30689 if test $pkg_failed = yes; then
30690
30691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30692 _pkg_short_errors_supported=yes
30693 else
30694 _pkg_short_errors_supported=no
30695 fi
30696 if test $_pkg_short_errors_supported = yes; then
30697 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30698 else
30699 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30700 fi
30701 # Put the nasty error message in config.log where it belongs
30702 echo "$PANGOX_PKG_ERRORS" >&5
30703
30704
30705 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30706 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30707 { (exit 1); exit 1; }; }
30708
30709
30710 elif test $pkg_failed = untried; then
30711
30712 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30713 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30714 { (exit 1); exit 1; }; }
30715
30716
30717 else
30718 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30719 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30720 echo "$as_me:$LINENO: result: yes" >&5
30721 echo "${ECHO_T}yes" >&6
30722
30723 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30724 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30725
30726 fi
30727
30728 pkg_failed=no
30729 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30730 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30731
30732 if test -n "$PKG_CONFIG"; then
30733 if test -n "$PANGOFT2_CFLAGS"; then
30734 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30735 else
30736 if test -n "$PKG_CONFIG" && \
30737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30738 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30739 ac_status=$?
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); }; then
30742 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30743 else
30744 pkg_failed=yes
30745 fi
30746 fi
30747 else
30748 pkg_failed=untried
30749 fi
30750 if test -n "$PKG_CONFIG"; then
30751 if test -n "$PANGOFT2_LIBS"; then
30752 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30753 else
30754 if test -n "$PKG_CONFIG" && \
30755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30756 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30757 ac_status=$?
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); }; then
30760 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30761 else
30762 pkg_failed=yes
30763 fi
30764 fi
30765 else
30766 pkg_failed=untried
30767 fi
30768
30769
30770
30771 if test $pkg_failed = yes; then
30772
30773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30774 _pkg_short_errors_supported=yes
30775 else
30776 _pkg_short_errors_supported=no
30777 fi
30778 if test $_pkg_short_errors_supported = yes; then
30779 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30780 else
30781 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30782 fi
30783 # Put the nasty error message in config.log where it belongs
30784 echo "$PANGOFT2_PKG_ERRORS" >&5
30785
30786
30787 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30788 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30789 wxUSE_PRINTING_ARCHITECTURE="no"
30790
30791
30792 elif test $pkg_failed = untried; then
30793
30794 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30795 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30796 wxUSE_PRINTING_ARCHITECTURE="no"
30797
30798
30799 else
30800 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30801 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30802 echo "$as_me:$LINENO: result: yes" >&5
30803 echo "${ECHO_T}yes" >&6
30804
30805 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30806 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30807
30808 fi
30809
30810 pkg_failed=no
30811 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30812 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30813
30814 if test -n "$PKG_CONFIG"; then
30815 if test -n "$PANGOXFT_CFLAGS"; then
30816 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30817 else
30818 if test -n "$PKG_CONFIG" && \
30819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30820 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; then
30824 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30825 else
30826 pkg_failed=yes
30827 fi
30828 fi
30829 else
30830 pkg_failed=untried
30831 fi
30832 if test -n "$PKG_CONFIG"; then
30833 if test -n "$PANGOXFT_LIBS"; then
30834 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30835 else
30836 if test -n "$PKG_CONFIG" && \
30837 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30838 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; then
30842 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30843 else
30844 pkg_failed=yes
30845 fi
30846 fi
30847 else
30848 pkg_failed=untried
30849 fi
30850
30851
30852
30853 if test $pkg_failed = yes; then
30854
30855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30856 _pkg_short_errors_supported=yes
30857 else
30858 _pkg_short_errors_supported=no
30859 fi
30860 if test $_pkg_short_errors_supported = yes; then
30861 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30862 else
30863 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30864 fi
30865 # Put the nasty error message in config.log where it belongs
30866 echo "$PANGOXFT_PKG_ERRORS" >&5
30867
30868
30869 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30870 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30871
30872
30873 elif test $pkg_failed = untried; then
30874
30875 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30876 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30877
30878
30879 else
30880 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30881 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30882 echo "$as_me:$LINENO: result: yes" >&5
30883 echo "${ECHO_T}yes" >&6
30884
30885 cat >>confdefs.h <<\_ACEOF
30886 #define HAVE_PANGO_XFT 1
30887 _ACEOF
30888
30889 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30890 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30891
30892 fi
30893 save_CXXFLAGS="$CXXFLAGS"
30894 save_LIBS="$LIBS"
30895 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30896 LIBS="$LIBS $PANGOX_LIBS"
30897
30898 for ac_func in pango_font_family_is_monospace
30899 do
30900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30901 echo "$as_me:$LINENO: checking for $ac_func" >&5
30902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30903 if eval "test \"\${$as_ac_var+set}\" = set"; then
30904 echo $ECHO_N "(cached) $ECHO_C" >&6
30905 else
30906 cat >conftest.$ac_ext <<_ACEOF
30907 /* confdefs.h. */
30908 _ACEOF
30909 cat confdefs.h >>conftest.$ac_ext
30910 cat >>conftest.$ac_ext <<_ACEOF
30911 /* end confdefs.h. */
30912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30914 #define $ac_func innocuous_$ac_func
30915
30916 /* System header to define __stub macros and hopefully few prototypes,
30917 which can conflict with char $ac_func (); below.
30918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30919 <limits.h> exists even on freestanding compilers. */
30920
30921 #ifdef __STDC__
30922 # include <limits.h>
30923 #else
30924 # include <assert.h>
30925 #endif
30926
30927 #undef $ac_func
30928
30929 /* Override any gcc2 internal prototype to avoid an error. */
30930 #ifdef __cplusplus
30931 extern "C"
30932 {
30933 #endif
30934 /* We use char because int might match the return type of a gcc2
30935 builtin and then its argument prototype would still apply. */
30936 char $ac_func ();
30937 /* The GNU C library defines this for functions which it implements
30938 to always fail with ENOSYS. Some functions are actually named
30939 something starting with __ and the normal name is an alias. */
30940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30941 choke me
30942 #else
30943 char (*f) () = $ac_func;
30944 #endif
30945 #ifdef __cplusplus
30946 }
30947 #endif
30948
30949 int
30950 main ()
30951 {
30952 return f != $ac_func;
30953 ;
30954 return 0;
30955 }
30956 _ACEOF
30957 rm -f conftest.$ac_objext conftest$ac_exeext
30958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30959 (eval $ac_link) 2>conftest.er1
30960 ac_status=$?
30961 grep -v '^ *+' conftest.er1 >conftest.err
30962 rm -f conftest.er1
30963 cat conftest.err >&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); } &&
30966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30968 (eval $ac_try) 2>&5
30969 ac_status=$?
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); }; } &&
30972 { ac_try='test -s conftest$ac_exeext'
30973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30974 (eval $ac_try) 2>&5
30975 ac_status=$?
30976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30977 (exit $ac_status); }; }; then
30978 eval "$as_ac_var=yes"
30979 else
30980 echo "$as_me: failed program was:" >&5
30981 sed 's/^/| /' conftest.$ac_ext >&5
30982
30983 eval "$as_ac_var=no"
30984 fi
30985 rm -f conftest.err conftest.$ac_objext \
30986 conftest$ac_exeext conftest.$ac_ext
30987 fi
30988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30990 if test `eval echo '${'$as_ac_var'}'` = yes; then
30991 cat >>confdefs.h <<_ACEOF
30992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30993 _ACEOF
30994
30995 fi
30996 done
30997
30998 CXXFLAGS="$save_CXXFLAGS"
30999 LIBS="$save_LIBS"
31000 fi
31001
31002 wxUSE_UNIVERSAL="yes"
31003
31004 if test "$wxUSE_NANOX" = "yes"; then
31005 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31006 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"
31007 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31008 else
31009 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31010 fi
31011
31012 TOOLKIT=X11
31013 GUIDIST=X11_DIST
31014 fi
31015
31016 if test "$wxUSE_MOTIF" = 1; then
31017 if test "$wxUSE_UNICODE" = "yes"; then
31018 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31019 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31020 { (exit 1); exit 1; }; }
31021 fi
31022
31023 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31024 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31025
31026 ac_find_includes=
31027 for ac_dir in $SEARCH_INCLUDE /usr/include;
31028 do
31029 if test -f "$ac_dir/Xm/Xm.h"; then
31030 ac_find_includes=$ac_dir
31031 break
31032 fi
31033 done
31034
31035 if test "$ac_find_includes" != "" ; then
31036 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31037 echo "${ECHO_T}found in $ac_find_includes" >&6
31038
31039 if test "x$ac_find_includes" = "x/usr/include"; then
31040 ac_path_to_include=""
31041 else
31042 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31043 result=$?
31044 if test $result = 0; then
31045 ac_path_to_include=""
31046 else
31047 ac_path_to_include=" -I$ac_find_includes"
31048 fi
31049 fi
31050
31051 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31052 else
31053 save_CXXFLAGS=$CXXFLAGS
31054 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31055
31056 cat >conftest.$ac_ext <<_ACEOF
31057 /* confdefs.h. */
31058 _ACEOF
31059 cat confdefs.h >>conftest.$ac_ext
31060 cat >>conftest.$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062
31063 #include <Xm/Xm.h>
31064
31065 int
31066 main ()
31067 {
31068
31069 int version;
31070 version = xmUseVersion;
31071
31072 ;
31073 return 0;
31074 }
31075 _ACEOF
31076 rm -f conftest.$ac_objext
31077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31078 (eval $ac_compile) 2>conftest.er1
31079 ac_status=$?
31080 grep -v '^ *+' conftest.er1 >conftest.err
31081 rm -f conftest.er1
31082 cat conftest.err >&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); } &&
31085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31088 ac_status=$?
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; } &&
31091 { ac_try='test -s conftest.$ac_objext'
31092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31093 (eval $ac_try) 2>&5
31094 ac_status=$?
31095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 (exit $ac_status); }; }; then
31097
31098 echo "$as_me:$LINENO: result: found in default search path" >&5
31099 echo "${ECHO_T}found in default search path" >&6
31100 COMPILED_X_PROGRAM=1
31101
31102 else
31103 echo "$as_me: failed program was:" >&5
31104 sed 's/^/| /' conftest.$ac_ext >&5
31105
31106
31107 echo "$as_me:$LINENO: result: no" >&5
31108 echo "${ECHO_T}no" >&6
31109 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31110 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31111 { (exit 1); exit 1; }; }
31112
31113
31114 fi
31115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31116
31117 CXXFLAGS=$save_CXXFLAGS
31118 fi
31119
31120
31121 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31122 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31123
31124 ac_find_libraries=
31125 for ac_dir in $SEARCH_LIB;
31126 do
31127 for ac_extension in a so sl dylib dll.a; do
31128 if test -f "$ac_dir/libXm.$ac_extension"; then
31129 ac_find_libraries=$ac_dir
31130 break 2
31131 fi
31132 done
31133 done
31134
31135
31136 if test "x$ac_find_libraries" != "x" ; then
31137 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31138 echo "${ECHO_T}found in $ac_find_libraries" >&6
31139
31140
31141 if test "$ac_find_libraries" = "default location"; then
31142 ac_path_to_link=""
31143 else
31144 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31145 result=$?
31146 if test $result = 0; then
31147 ac_path_to_link=""
31148 else
31149 ac_path_to_link=" -L$ac_find_libraries"
31150 fi
31151 fi
31152
31153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31154 else
31155 save_CXXFLAGS=$CXXFLAGS
31156 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31157 save_LIBS="$LIBS"
31158 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31159
31160 cat >conftest.$ac_ext <<_ACEOF
31161 /* confdefs.h. */
31162 _ACEOF
31163 cat confdefs.h >>conftest.$ac_ext
31164 cat >>conftest.$ac_ext <<_ACEOF
31165 /* end confdefs.h. */
31166
31167 #include <Xm/Xm.h>
31168
31169 int
31170 main ()
31171 {
31172
31173 int version;
31174 version = xmUseVersion;
31175
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 2>conftest.er1
31183 ac_status=$?
31184 grep -v '^ *+' conftest.er1 >conftest.err
31185 rm -f conftest.er1
31186 cat conftest.err >&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; } &&
31195 { ac_try='test -s conftest$ac_exeext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201
31202 echo "$as_me:$LINENO: result: found in default search path" >&5
31203 echo "${ECHO_T}found in default search path" >&6
31204 COMPILED_X_PROGRAM=1
31205
31206 else
31207 echo "$as_me: failed program was:" >&5
31208 sed 's/^/| /' conftest.$ac_ext >&5
31209
31210
31211 echo "$as_me:$LINENO: result: no" >&5
31212 echo "${ECHO_T}no" >&6
31213 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31214 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31215 { (exit 1); exit 1; }; }
31216
31217
31218 fi
31219 rm -f conftest.err conftest.$ac_objext \
31220 conftest$ac_exeext conftest.$ac_ext
31221
31222 CXXFLAGS=$save_CXXFLAGS
31223 LIBS="$save_LIBS"
31224 fi
31225
31226 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31227 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31228 libp_link=""
31229 libsm_ice_link=""
31230 libs_found=0
31231 for libp in "" " -lXp"; do
31232 if test "$libs_found" = "0"; then
31233 for libsm_ice in "" " -lSM -lICE"; do
31234 if test "$libs_found" = "0"; then
31235 save_LIBS="$LIBS"
31236 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31237 save_CXXFLAGS=$CXXFLAGS
31238 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31239
31240 cat >conftest.$ac_ext <<_ACEOF
31241 /* confdefs.h. */
31242 _ACEOF
31243 cat confdefs.h >>conftest.$ac_ext
31244 cat >>conftest.$ac_ext <<_ACEOF
31245 /* end confdefs.h. */
31246
31247 #include <Xm/Xm.h>
31248 #include <Xm/List.h>
31249
31250 int
31251 main ()
31252 {
31253
31254 XmString string = NULL;
31255 Widget w = NULL;
31256 int position = 0;
31257 XmListAddItem(w, string, position);
31258
31259 ;
31260 return 0;
31261 }
31262 _ACEOF
31263 rm -f conftest.$ac_objext conftest$ac_exeext
31264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31265 (eval $ac_link) 2>conftest.er1
31266 ac_status=$?
31267 grep -v '^ *+' conftest.er1 >conftest.err
31268 rm -f conftest.er1
31269 cat conftest.err >&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); } &&
31272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31274 (eval $ac_try) 2>&5
31275 ac_status=$?
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; } &&
31278 { ac_try='test -s conftest$ac_exeext'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31281 ac_status=$?
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; }; then
31284
31285 libp_link="$libp"
31286 libsm_ice_link="$libsm_ice"
31287 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31288 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31289 libs_found=1
31290
31291 else
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31294
31295
31296
31297 fi
31298 rm -f conftest.err conftest.$ac_objext \
31299 conftest$ac_exeext conftest.$ac_ext
31300
31301 LIBS="$save_LIBS"
31302 CXXFLAGS=$save_CXXFLAGS
31303 fi
31304 done
31305 fi
31306 done
31307
31308 if test "$libs_found" = "0"; then
31309 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31310 echo "${ECHO_T}can't find the right libraries" >&6
31311 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31312 echo "$as_me: error: can't link a simple motif program" >&2;}
31313 { (exit 1); exit 1; }; }
31314 fi
31315
31316 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31317 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31318 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31319 echo $ECHO_N "(cached) $ECHO_C" >&6
31320 else
31321 ac_check_lib_save_LIBS=$LIBS
31322 LIBS="-lSgm $LIBS"
31323 cat >conftest.$ac_ext <<_ACEOF
31324 /* confdefs.h. */
31325 _ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31329
31330 /* Override any gcc2 internal prototype to avoid an error. */
31331 #ifdef __cplusplus
31332 extern "C"
31333 #endif
31334 /* We use char because int might match the return type of a gcc2
31335 builtin and then its argument prototype would still apply. */
31336 char SgCreateList ();
31337 int
31338 main ()
31339 {
31340 SgCreateList ();
31341 ;
31342 return 0;
31343 }
31344 _ACEOF
31345 rm -f conftest.$ac_objext conftest$ac_exeext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31347 (eval $ac_link) 2>conftest.er1
31348 ac_status=$?
31349 grep -v '^ *+' conftest.er1 >conftest.err
31350 rm -f conftest.er1
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31356 (eval $ac_try) 2>&5
31357 ac_status=$?
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); }; } &&
31360 { ac_try='test -s conftest$ac_exeext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31366 ac_cv_lib_Sgm_SgCreateList=yes
31367 else
31368 echo "$as_me: failed program was:" >&5
31369 sed 's/^/| /' conftest.$ac_ext >&5
31370
31371 ac_cv_lib_Sgm_SgCreateList=no
31372 fi
31373 rm -f conftest.err conftest.$ac_objext \
31374 conftest$ac_exeext conftest.$ac_ext
31375 LIBS=$ac_check_lib_save_LIBS
31376 fi
31377 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31378 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31379 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31380 libsgm_link=" -lSgm"
31381 fi
31382
31383
31384 save_CXXFLAGS=$CXXFLAGS
31385 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31386
31387 echo "$as_me:$LINENO: checking for Motif 2" >&5
31388 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31389 if test "${wx_cv_lib_motif2+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 else
31392 cat >conftest.$ac_ext <<_ACEOF
31393 /* confdefs.h. */
31394 _ACEOF
31395 cat confdefs.h >>conftest.$ac_ext
31396 cat >>conftest.$ac_ext <<_ACEOF
31397 /* end confdefs.h. */
31398
31399 #include <Xm/Xm.h>
31400
31401 int
31402 main ()
31403 {
31404
31405 #if XmVersion < 2000
31406 Not Motif 2
31407 #endif
31408
31409 ;
31410 return 0;
31411 }
31412 _ACEOF
31413 rm -f conftest.$ac_objext
31414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31415 (eval $ac_compile) 2>conftest.er1
31416 ac_status=$?
31417 grep -v '^ *+' conftest.er1 >conftest.err
31418 rm -f conftest.er1
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } &&
31422 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; } &&
31428 { ac_try='test -s conftest.$ac_objext'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; }; then
31434 wx_cv_lib_motif2="yes"
31435 else
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.$ac_ext >&5
31438
31439 wx_cv_lib_motif2="no"
31440 fi
31441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31442 fi
31443 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31444 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31445 if test "$wx_cv_lib_motif2" = "yes"; then
31446 cat >>confdefs.h <<\_ACEOF
31447 #define __WXMOTIF20__ 1
31448 _ACEOF
31449
31450 else
31451 cat >>confdefs.h <<\_ACEOF
31452 #define __WXMOTIF20__ 0
31453 _ACEOF
31454
31455 fi
31456
31457 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31458 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31459 if test "${wx_cv_lib_lesstif+set}" = set; then
31460 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 else
31462 cat >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468
31469 #include <Xm/Xm.h>
31470
31471 int
31472 main ()
31473 {
31474
31475 #if !defined(LesstifVersion) || LesstifVersion <= 0
31476 Not Lesstif
31477 #endif
31478
31479 ;
31480 return 0;
31481 }
31482 _ACEOF
31483 rm -f conftest.$ac_objext
31484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31485 (eval $ac_compile) 2>conftest.er1
31486 ac_status=$?
31487 grep -v '^ *+' conftest.er1 >conftest.err
31488 rm -f conftest.er1
31489 cat conftest.err >&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; } &&
31498 { ac_try='test -s conftest.$ac_objext'
31499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31500 (eval $ac_try) 2>&5
31501 ac_status=$?
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); }; }; then
31504 wx_cv_lib_lesstif="yes"
31505 else
31506 echo "$as_me: failed program was:" >&5
31507 sed 's/^/| /' conftest.$ac_ext >&5
31508
31509 wx_cv_lib_lesstif="no"
31510 fi
31511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31512
31513 fi
31514 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31515 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31516 if test "$wx_cv_lib_lesstif" = "yes"; then
31517 cat >>confdefs.h <<\_ACEOF
31518 #define __WXLESSTIF__ 1
31519 _ACEOF
31520
31521 else
31522 cat >>confdefs.h <<\_ACEOF
31523 #define __WXLESSTIF__ 0
31524 _ACEOF
31525
31526 fi
31527
31528 CXXFLAGS=$save_CXXFLAGS
31529
31530 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31531 TOOLKIT=MOTIF
31532 GUIDIST=MOTIF_DIST
31533 fi
31534
31535 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31536 if test "$wxUSE_LIBXPM" = "sys"; then
31537 echo "$as_me:$LINENO: checking for Xpm library" >&5
31538 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31539
31540 ac_find_libraries=
31541 for ac_dir in $SEARCH_LIB;
31542 do
31543 for ac_extension in a so sl dylib dll.a; do
31544 if test -f "$ac_dir/libXpm.$ac_extension"; then
31545 ac_find_libraries=$ac_dir
31546 break 2
31547 fi
31548 done
31549 done
31550
31551 if test "$ac_find_libraries" != "" ; then
31552
31553 if test "$ac_find_libraries" = "default location"; then
31554 ac_path_to_link=""
31555 else
31556 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31557 result=$?
31558 if test $result = 0; then
31559 ac_path_to_link=""
31560 else
31561 ac_path_to_link=" -L$ac_find_libraries"
31562 fi
31563 fi
31564
31565 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31566 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31567 echo "${ECHO_T}found in $ac_find_libraries" >&6
31568
31569 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31570 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31571 if test "${wx_cv_x11_xpm_h+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574
31575 save_CXXFLAGS=$CXXFLAGS
31576 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31577
31578 cat >conftest.$ac_ext <<_ACEOF
31579 /* confdefs.h. */
31580 _ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31584
31585 #include <X11/xpm.h>
31586
31587 int
31588 main ()
31589 {
31590
31591 int version;
31592 version = XpmLibraryVersion();
31593
31594 ;
31595 return 0;
31596 }
31597 _ACEOF
31598 rm -f conftest.$ac_objext
31599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31600 (eval $ac_compile) 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } &&
31607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31609 (eval $ac_try) 2>&5
31610 ac_status=$?
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; } &&
31613 { ac_try='test -s conftest.$ac_objext'
31614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31615 (eval $ac_try) 2>&5
31616 ac_status=$?
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); }; }; then
31619 wx_cv_x11_xpm_h=yes
31620 else
31621 echo "$as_me: failed program was:" >&5
31622 sed 's/^/| /' conftest.$ac_ext >&5
31623
31624 wx_cv_x11_xpm_h=no
31625
31626 fi
31627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31628
31629 CXXFLAGS=$save_CXXFLAGS
31630
31631
31632 fi
31633 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31634 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31635
31636 if test $wx_cv_x11_xpm_h = "yes"; then
31637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31638 cat >>confdefs.h <<\_ACEOF
31639 #define wxHAVE_LIB_XPM 1
31640 _ACEOF
31641
31642 else
31643 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31644 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31645 fi
31646 fi
31647
31648 fi
31649
31650 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31651 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31652 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31653 echo $ECHO_N "(cached) $ECHO_C" >&6
31654 else
31655 ac_check_lib_save_LIBS=$LIBS
31656 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663
31664 /* Override any gcc2 internal prototype to avoid an error. */
31665 #ifdef __cplusplus
31666 extern "C"
31667 #endif
31668 /* We use char because int might match the return type of a gcc2
31669 builtin and then its argument prototype would still apply. */
31670 char XShapeQueryExtension ();
31671 int
31672 main ()
31673 {
31674 XShapeQueryExtension ();
31675 ;
31676 return 0;
31677 }
31678 _ACEOF
31679 rm -f conftest.$ac_objext conftest$ac_exeext
31680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31681 (eval $ac_link) 2>conftest.er1
31682 ac_status=$?
31683 grep -v '^ *+' conftest.er1 >conftest.err
31684 rm -f conftest.er1
31685 cat conftest.err >&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); } &&
31688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31691 ac_status=$?
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; } &&
31694 { ac_try='test -s conftest$ac_exeext'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31697 ac_status=$?
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; }; then
31700 ac_cv_lib_Xext_XShapeQueryExtension=yes
31701 else
31702 echo "$as_me: failed program was:" >&5
31703 sed 's/^/| /' conftest.$ac_ext >&5
31704
31705 ac_cv_lib_Xext_XShapeQueryExtension=no
31706 fi
31707 rm -f conftest.err conftest.$ac_objext \
31708 conftest$ac_exeext conftest.$ac_ext
31709 LIBS=$ac_check_lib_save_LIBS
31710 fi
31711 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31712 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31713 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31714
31715 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31716 wxHAVE_XEXT_LIB=1
31717
31718 fi
31719
31720
31721 if test "$wxHAVE_XEXT_LIB" = 1; then
31722 save_CXXFLAGS="$CXXFLAGS"
31723 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31724
31725 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31726 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31727 cat >conftest.$ac_ext <<_ACEOF
31728 /* confdefs.h. */
31729 _ACEOF
31730 cat confdefs.h >>conftest.$ac_ext
31731 cat >>conftest.$ac_ext <<_ACEOF
31732 /* end confdefs.h. */
31733
31734 #include <X11/Xlib.h>
31735 #include <X11/extensions/shape.h>
31736
31737 int
31738 main ()
31739 {
31740
31741 int dummy1, dummy2;
31742 XShapeQueryExtension((Display*)NULL,
31743 (int*)NULL, (int*)NULL);
31744
31745 ;
31746 return 0;
31747 }
31748 _ACEOF
31749 rm -f conftest.$ac_objext
31750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31751 (eval $ac_compile) 2>conftest.er1
31752 ac_status=$?
31753 grep -v '^ *+' conftest.er1 >conftest.err
31754 rm -f conftest.er1
31755 cat conftest.err >&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); } &&
31758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760 (eval $ac_try) 2>&5
31761 ac_status=$?
31762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763 (exit $ac_status); }; } &&
31764 { ac_try='test -s conftest.$ac_objext'
31765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31766 (eval $ac_try) 2>&5
31767 ac_status=$?
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); }; }; then
31770
31771 cat >>confdefs.h <<\_ACEOF
31772 #define HAVE_XSHAPE 1
31773 _ACEOF
31774
31775 echo "$as_me:$LINENO: result: found" >&5
31776 echo "${ECHO_T}found" >&6
31777
31778 else
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782
31783 echo "$as_me:$LINENO: result: not found" >&5
31784 echo "${ECHO_T}not found" >&6
31785
31786 fi
31787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31788 CXXFLAGS="$save_CXXFLAGS"
31789
31790 fi
31791 fi
31792
31793 if test "$wxUSE_MAC" = 1; then
31794 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31795 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31796 if test "$GCC" = yes; then
31797 echo "$as_me:$LINENO: result: gcc" >&5
31798 echo "${ECHO_T}gcc" >&6
31799 CPPFLAGS_PASCAL="-fpascal-strings"
31800 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31801 echo "$as_me:$LINENO: result: xlc" >&5
31802 echo "${ECHO_T}xlc" >&6
31803 CPPFLAGS_PASCAL="-qmacpstr"
31804 else
31805 echo "$as_me:$LINENO: result: none" >&5
31806 echo "${ECHO_T}none" >&6
31807 fi
31808
31809 if test "x$wxUSE_UNIX" = "xyes"; then
31810 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31811 else
31812 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31813 fi
31814
31815 TOOLKIT=MAC
31816 GUIDIST=MACX_DIST
31817 WXBASEPORT="_carbon"
31818 fi
31819
31820 if test "$wxUSE_COCOA" = 1; then
31821 TOOLKIT=COCOA
31822 GUIDIST=COCOA_DIST
31823 fi
31824
31825 if test "$wxUSE_PM" = 1; then
31826 TOOLKIT=PM
31827 GUIDIST=PM_DIST
31828 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31829 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31830 if test "${wx_cv_spbcdata+set}" = set; then
31831 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 else
31833
31834 cat >conftest.$ac_ext <<_ACEOF
31835 /* confdefs.h. */
31836 _ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840
31841 #define INCL_PM
31842 #include <os2.h>
31843
31844 int
31845 main ()
31846 {
31847
31848 SPBCDATA test;
31849
31850 ;
31851 return 0;
31852 }
31853 _ACEOF
31854 rm -f conftest.$ac_objext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31856 (eval $ac_compile) 2>conftest.er1
31857 ac_status=$?
31858 grep -v '^ *+' conftest.er1 >conftest.err
31859 rm -f conftest.er1
31860 cat conftest.err >&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31866 ac_status=$?
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; } &&
31869 { ac_try='test -s conftest.$ac_objext'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; }; then
31875 wx_cv_spbcdata=yes
31876 else
31877 echo "$as_me: failed program was:" >&5
31878 sed 's/^/| /' conftest.$ac_ext >&5
31879
31880 wx_cv_spbcdata=no
31881
31882 fi
31883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31884
31885
31886 fi
31887 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31888 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31889
31890 if test $wx_cv_spbcdata = "yes"; then
31891 cat >>confdefs.h <<\_ACEOF
31892 #define HAVE_SPBCDATA 1
31893 _ACEOF
31894
31895 fi
31896 fi
31897
31898 if test "$TOOLKIT" = "PM" ; then
31899 TOOLKIT_DIR="os2"
31900 else
31901 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31902 fi
31903
31904 if test "$wxUSE_UNIVERSAL" = "yes"; then
31905 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31906 WIDGET_SET=univ
31907 fi
31908
31909 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31910 DISTDIR="wx\$(TOOLKIT)"
31911 else
31912 USE_GUI=0
31913
31914 TOOLKIT_DIR="base"
31915
31916 if test "$USE_WIN32" = 1 ; then
31917 TOOLKIT="MSW"
31918 fi
31919
31920 GUIDIST="BASE_DIST"
31921 DISTDIR="wxBase"
31922 fi
31923
31924
31925 if test "$wxUSE_GUI" = "yes"; then
31926 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31927
31928 for ac_header in X11/Xlib.h
31929 do
31930 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31932 echo "$as_me:$LINENO: checking for $ac_header" >&5
31933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31936 fi
31937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31939 else
31940 # Is the header compilable?
31941 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31943 cat >conftest.$ac_ext <<_ACEOF
31944 /* confdefs.h. */
31945 _ACEOF
31946 cat confdefs.h >>conftest.$ac_ext
31947 cat >>conftest.$ac_ext <<_ACEOF
31948 /* end confdefs.h. */
31949 $ac_includes_default
31950 #include <$ac_header>
31951 _ACEOF
31952 rm -f conftest.$ac_objext
31953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31954 (eval $ac_compile) 2>conftest.er1
31955 ac_status=$?
31956 grep -v '^ *+' conftest.er1 >conftest.err
31957 rm -f conftest.er1
31958 cat conftest.err >&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); } &&
31961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; } &&
31967 { ac_try='test -s conftest.$ac_objext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31970 ac_status=$?
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 ac_header_compiler=yes
31974 else
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.$ac_ext >&5
31977
31978 ac_header_compiler=no
31979 fi
31980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31982 echo "${ECHO_T}$ac_header_compiler" >&6
31983
31984 # Is the header present?
31985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31987 cat >conftest.$ac_ext <<_ACEOF
31988 /* confdefs.h. */
31989 _ACEOF
31990 cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31993 #include <$ac_header>
31994 _ACEOF
31995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31997 ac_status=$?
31998 grep -v '^ *+' conftest.er1 >conftest.err
31999 rm -f conftest.er1
32000 cat conftest.err >&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); } >/dev/null; then
32003 if test -s conftest.err; then
32004 ac_cpp_err=$ac_cxx_preproc_warn_flag
32005 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32006 else
32007 ac_cpp_err=
32008 fi
32009 else
32010 ac_cpp_err=yes
32011 fi
32012 if test -z "$ac_cpp_err"; then
32013 ac_header_preproc=yes
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32017
32018 ac_header_preproc=no
32019 fi
32020 rm -f conftest.err conftest.$ac_ext
32021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32022 echo "${ECHO_T}$ac_header_preproc" >&6
32023
32024 # So? What about this header?
32025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32026 yes:no: )
32027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32031 ac_header_preproc=yes
32032 ;;
32033 no:yes:* )
32034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32046 (
32047 cat <<\_ASBOX
32048 ## ----------------------------------------- ##
32049 ## Report this to wx-dev@lists.wxwidgets.org ##
32050 ## ----------------------------------------- ##
32051 _ASBOX
32052 ) |
32053 sed "s/^/$as_me: WARNING: /" >&2
32054 ;;
32055 esac
32056 echo "$as_me:$LINENO: checking for $ac_header" >&5
32057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32060 else
32061 eval "$as_ac_Header=\$ac_header_preproc"
32062 fi
32063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32065
32066 fi
32067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32068 cat >>confdefs.h <<_ACEOF
32069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32070 _ACEOF
32071
32072 fi
32073
32074 done
32075
32076
32077 for ac_header in X11/XKBlib.h
32078 do
32079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32080 echo "$as_me:$LINENO: checking for $ac_header" >&5
32081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32083 echo $ECHO_N "(cached) $ECHO_C" >&6
32084 else
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091
32092 #if HAVE_X11_XLIB_H
32093 #include <X11/Xlib.h>
32094 #endif
32095
32096
32097 #include <$ac_header>
32098 _ACEOF
32099 rm -f conftest.$ac_objext
32100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32101 (eval $ac_compile) 2>conftest.er1
32102 ac_status=$?
32103 grep -v '^ *+' conftest.er1 >conftest.err
32104 rm -f conftest.er1
32105 cat conftest.err >&5
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); } &&
32108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32111 ac_status=$?
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; } &&
32114 { ac_try='test -s conftest.$ac_objext'
32115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32116 (eval $ac_try) 2>&5
32117 ac_status=$?
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); }; }; then
32120 eval "$as_ac_Header=yes"
32121 else
32122 echo "$as_me: failed program was:" >&5
32123 sed 's/^/| /' conftest.$ac_ext >&5
32124
32125 eval "$as_ac_Header=no"
32126 fi
32127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32128 fi
32129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32132 cat >>confdefs.h <<_ACEOF
32133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32134 _ACEOF
32135
32136 fi
32137
32138 done
32139
32140 fi
32141 fi
32142
32143
32144
32145 IODBC_C_SRC=""
32146
32147
32148 if test "$TOOLKIT" != "MSW" ; then
32149
32150 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32151
32152 if test "${ac_cv_header_sql_h+set}" = set; then
32153 echo "$as_me:$LINENO: checking for sql.h" >&5
32154 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32155 if test "${ac_cv_header_sql_h+set}" = set; then
32156 echo $ECHO_N "(cached) $ECHO_C" >&6
32157 fi
32158 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32159 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32160 else
32161 # Is the header compilable?
32162 echo "$as_me:$LINENO: checking sql.h usability" >&5
32163 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32164 cat >conftest.$ac_ext <<_ACEOF
32165 /* confdefs.h. */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32170 $ac_includes_default
32171 #include <sql.h>
32172 _ACEOF
32173 rm -f conftest.$ac_objext
32174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32175 (eval $ac_compile) 2>conftest.er1
32176 ac_status=$?
32177 grep -v '^ *+' conftest.er1 >conftest.err
32178 rm -f conftest.er1
32179 cat conftest.err >&5
32180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181 (exit $ac_status); } &&
32182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32184 (eval $ac_try) 2>&5
32185 ac_status=$?
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); }; } &&
32188 { ac_try='test -s conftest.$ac_objext'
32189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32190 (eval $ac_try) 2>&5
32191 ac_status=$?
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); }; }; then
32194 ac_header_compiler=yes
32195 else
32196 echo "$as_me: failed program was:" >&5
32197 sed 's/^/| /' conftest.$ac_ext >&5
32198
32199 ac_header_compiler=no
32200 fi
32201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32203 echo "${ECHO_T}$ac_header_compiler" >&6
32204
32205 # Is the header present?
32206 echo "$as_me:$LINENO: checking sql.h presence" >&5
32207 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 #include <sql.h>
32215 _ACEOF
32216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32218 ac_status=$?
32219 grep -v '^ *+' conftest.er1 >conftest.err
32220 rm -f conftest.er1
32221 cat conftest.err >&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); } >/dev/null; then
32224 if test -s conftest.err; then
32225 ac_cpp_err=$ac_cxx_preproc_warn_flag
32226 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32227 else
32228 ac_cpp_err=
32229 fi
32230 else
32231 ac_cpp_err=yes
32232 fi
32233 if test -z "$ac_cpp_err"; then
32234 ac_header_preproc=yes
32235 else
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.$ac_ext >&5
32238
32239 ac_header_preproc=no
32240 fi
32241 rm -f conftest.err conftest.$ac_ext
32242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32243 echo "${ECHO_T}$ac_header_preproc" >&6
32244
32245 # So? What about this header?
32246 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32247 yes:no: )
32248 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32249 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32250 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32251 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32252 ac_header_preproc=yes
32253 ;;
32254 no:yes:* )
32255 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32256 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32257 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32258 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32259 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32260 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32261 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32262 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32263 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32264 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32265 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32266 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32267 (
32268 cat <<\_ASBOX
32269 ## ----------------------------------------- ##
32270 ## Report this to wx-dev@lists.wxwidgets.org ##
32271 ## ----------------------------------------- ##
32272 _ASBOX
32273 ) |
32274 sed "s/^/$as_me: WARNING: /" >&2
32275 ;;
32276 esac
32277 echo "$as_me:$LINENO: checking for sql.h" >&5
32278 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32279 if test "${ac_cv_header_sql_h+set}" = set; then
32280 echo $ECHO_N "(cached) $ECHO_C" >&6
32281 else
32282 ac_cv_header_sql_h=$ac_header_preproc
32283 fi
32284 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32285 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32286
32287 fi
32288 if test $ac_cv_header_sql_h = yes; then
32289 found_sql_h=1
32290 fi
32291
32292
32293 if test "x$found_sql_h" = "x1" ; then
32294 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32295 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32296 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32297 echo $ECHO_N "(cached) $ECHO_C" >&6
32298 else
32299 ac_check_lib_save_LIBS=$LIBS
32300 LIBS="-liodbc $LIBS"
32301 cat >conftest.$ac_ext <<_ACEOF
32302 /* confdefs.h. */
32303 _ACEOF
32304 cat confdefs.h >>conftest.$ac_ext
32305 cat >>conftest.$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32307
32308 /* Override any gcc2 internal prototype to avoid an error. */
32309 #ifdef __cplusplus
32310 extern "C"
32311 #endif
32312 /* We use char because int might match the return type of a gcc2
32313 builtin and then its argument prototype would still apply. */
32314 char SQLAllocEnv ();
32315 int
32316 main ()
32317 {
32318 SQLAllocEnv ();
32319 ;
32320 return 0;
32321 }
32322 _ACEOF
32323 rm -f conftest.$ac_objext conftest$ac_exeext
32324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32325 (eval $ac_link) 2>conftest.er1
32326 ac_status=$?
32327 grep -v '^ *+' conftest.er1 >conftest.err
32328 rm -f conftest.er1
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } &&
32332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32335 ac_status=$?
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; } &&
32338 { ac_try='test -s conftest$ac_exeext'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32341 ac_status=$?
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; }; then
32344 ac_cv_lib_iodbc_SQLAllocEnv=yes
32345 else
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.$ac_ext >&5
32348
32349 ac_cv_lib_iodbc_SQLAllocEnv=no
32350 fi
32351 rm -f conftest.err conftest.$ac_objext \
32352 conftest$ac_exeext conftest.$ac_ext
32353 LIBS=$ac_check_lib_save_LIBS
32354 fi
32355 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32356 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32357 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32358 ODBC_LINK=" -liodbc"
32359 else
32360
32361 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32362 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32363 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32366 ac_check_lib_save_LIBS=$LIBS
32367 LIBS="-lunixodbc $LIBS"
32368 cat >conftest.$ac_ext <<_ACEOF
32369 /* confdefs.h. */
32370 _ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32374
32375 /* Override any gcc2 internal prototype to avoid an error. */
32376 #ifdef __cplusplus
32377 extern "C"
32378 #endif
32379 /* We use char because int might match the return type of a gcc2
32380 builtin and then its argument prototype would still apply. */
32381 char SQLAllocEnv ();
32382 int
32383 main ()
32384 {
32385 SQLAllocEnv ();
32386 ;
32387 return 0;
32388 }
32389 _ACEOF
32390 rm -f conftest.$ac_objext conftest$ac_exeext
32391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32392 (eval $ac_link) 2>conftest.er1
32393 ac_status=$?
32394 grep -v '^ *+' conftest.er1 >conftest.err
32395 rm -f conftest.er1
32396 cat conftest.err >&5
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); } &&
32399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32402 ac_status=$?
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; } &&
32405 { ac_try='test -s conftest$ac_exeext'
32406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32407 (eval $ac_try) 2>&5
32408 ac_status=$?
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); }; }; then
32411 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32412 else
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.$ac_ext >&5
32415
32416 ac_cv_lib_unixodbc_SQLAllocEnv=no
32417 fi
32418 rm -f conftest.err conftest.$ac_objext \
32419 conftest$ac_exeext conftest.$ac_ext
32420 LIBS=$ac_check_lib_save_LIBS
32421 fi
32422 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32423 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32424 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32425 ODBC_LINK=" -lunixodbc"
32426 else
32427
32428 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32429 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32430 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 else
32433 ac_check_lib_save_LIBS=$LIBS
32434 LIBS="-lodbc $LIBS"
32435 cat >conftest.$ac_ext <<_ACEOF
32436 /* confdefs.h. */
32437 _ACEOF
32438 cat confdefs.h >>conftest.$ac_ext
32439 cat >>conftest.$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441
32442 /* Override any gcc2 internal prototype to avoid an error. */
32443 #ifdef __cplusplus
32444 extern "C"
32445 #endif
32446 /* We use char because int might match the return type of a gcc2
32447 builtin and then its argument prototype would still apply. */
32448 char SQLAllocEnv ();
32449 int
32450 main ()
32451 {
32452 SQLAllocEnv ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>conftest.er1
32460 ac_status=$?
32461 grep -v '^ *+' conftest.er1 >conftest.err
32462 rm -f conftest.er1
32463 cat conftest.err >&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32468 (eval $ac_try) 2>&5
32469 ac_status=$?
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); }; } &&
32472 { ac_try='test -s conftest$ac_exeext'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32475 ac_status=$?
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }; then
32478 ac_cv_lib_odbc_SQLAllocEnv=yes
32479 else
32480 echo "$as_me: failed program was:" >&5
32481 sed 's/^/| /' conftest.$ac_ext >&5
32482
32483 ac_cv_lib_odbc_SQLAllocEnv=no
32484 fi
32485 rm -f conftest.err conftest.$ac_objext \
32486 conftest$ac_exeext conftest.$ac_ext
32487 LIBS=$ac_check_lib_save_LIBS
32488 fi
32489 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32490 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32491 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32492 ODBC_LINK=" -lodbc"
32493 fi
32494
32495
32496 fi
32497
32498
32499 fi
32500
32501 fi
32502 if test "x$ODBC_LINK" = "x" ; then
32503 if test "$wxUSE_ODBC" = "sys" ; then
32504 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32505 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32506 { (exit 1); exit 1; }; }
32507 else
32508 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32509 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32510 wxUSE_ODBC=builtin
32511 fi
32512 else
32513 wxUSE_ODBC=sys
32514 fi
32515 fi
32516
32517 if test "$wxUSE_ODBC" = "builtin" ; then
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_BUILTIN_IODBC 1
32520 _ACEOF
32521
32522 fi
32523 fi
32524
32525 if test "$wxUSE_ODBC" != "no" ; then
32526 cat >>confdefs.h <<\_ACEOF
32527 #define wxUSE_ODBC 1
32528 _ACEOF
32529
32530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32531
32532 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32533 fi
32534
32535
32536 if test "$wxUSE_DISPLAY" = "yes"; then
32537 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32538 echo "$as_me:$LINENO: checking for Xinerama" >&5
32539 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32540
32541 ac_find_libraries=
32542 for ac_dir in $SEARCH_LIB;
32543 do
32544 for ac_extension in a so sl dylib dll.a; do
32545 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32546 ac_find_libraries=$ac_dir
32547 break 2
32548 fi
32549 done
32550 done
32551
32552 if test "$ac_find_libraries" != "" ; then
32553
32554 if test "$ac_find_libraries" = "default location"; then
32555 ac_path_to_link=""
32556 else
32557 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32558 result=$?
32559 if test $result = 0; then
32560 ac_path_to_link=""
32561 else
32562 ac_path_to_link=" -L$ac_find_libraries"
32563 fi
32564 fi
32565
32566 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32567 LDFLAGS="$LDFLAGS $ac_path_to_link"
32568 fi
32569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32570 echo "$as_me:$LINENO: result: yes" >&5
32571 echo "${ECHO_T}yes" >&6
32572
32573 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32574 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32575
32576 ac_find_libraries=
32577 for ac_dir in $SEARCH_LIB;
32578 do
32579 for ac_extension in a so sl dylib dll.a; do
32580 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32581 ac_find_libraries=$ac_dir
32582 break 2
32583 fi
32584 done
32585 done
32586
32587 if test "$ac_find_libraries" != "" ; then
32588 echo "$as_me:$LINENO: result: yes" >&5
32589 echo "${ECHO_T}yes" >&6
32590
32591 for ac_header in X11/extensions/xf86vmode.h
32592 do
32593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32594 echo "$as_me:$LINENO: checking for $ac_header" >&5
32595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32597 echo $ECHO_N "(cached) $ECHO_C" >&6
32598 else
32599 cat >conftest.$ac_ext <<_ACEOF
32600 /* confdefs.h. */
32601 _ACEOF
32602 cat confdefs.h >>conftest.$ac_ext
32603 cat >>conftest.$ac_ext <<_ACEOF
32604 /* end confdefs.h. */
32605
32606 #if HAVE_X11_XLIB_H
32607 #include <X11/Xlib.h>
32608 #endif
32609
32610
32611 #include <$ac_header>
32612 _ACEOF
32613 rm -f conftest.$ac_objext
32614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32615 (eval $ac_compile) 2>conftest.er1
32616 ac_status=$?
32617 grep -v '^ *+' conftest.er1 >conftest.err
32618 rm -f conftest.er1
32619 cat conftest.err >&5
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); } &&
32622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32624 (eval $ac_try) 2>&5
32625 ac_status=$?
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); }; } &&
32628 { ac_try='test -s conftest.$ac_objext'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; }; then
32634 eval "$as_ac_Header=yes"
32635 else
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32638
32639 eval "$as_ac_Header=no"
32640 fi
32641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32642 fi
32643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32646 cat >>confdefs.h <<_ACEOF
32647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32648 _ACEOF
32649
32650 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32651
32652 fi
32653
32654 done
32655
32656 else
32657 echo "$as_me:$LINENO: result: no" >&5
32658 echo "${ECHO_T}no" >&6
32659 fi
32660
32661 else
32662 echo "$as_me:$LINENO: result: no" >&5
32663 echo "${ECHO_T}no" >&6
32664 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32665 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32666 wxUSE_DISPLAY="no"
32667 fi
32668 elif test "$wxUSE_MSW" = 1; then
32669
32670 for ac_header in ddraw.h
32671 do
32672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32673 echo "$as_me:$LINENO: checking for $ac_header" >&5
32674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 else
32678 cat >conftest.$ac_ext <<_ACEOF
32679 /* confdefs.h. */
32680 _ACEOF
32681 cat confdefs.h >>conftest.$ac_ext
32682 cat >>conftest.$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32684 #include <windows.h>
32685
32686 #include <$ac_header>
32687 _ACEOF
32688 rm -f conftest.$ac_objext
32689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32690 (eval $ac_compile) 2>conftest.er1
32691 ac_status=$?
32692 grep -v '^ *+' conftest.er1 >conftest.err
32693 rm -f conftest.er1
32694 cat conftest.err >&5
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); } &&
32697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32700 ac_status=$?
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; } &&
32703 { ac_try='test -s conftest.$ac_objext'
32704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32705 (eval $ac_try) 2>&5
32706 ac_status=$?
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); }; }; then
32709 eval "$as_ac_Header=yes"
32710 else
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32713
32714 eval "$as_ac_Header=no"
32715 fi
32716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32717 fi
32718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32721 cat >>confdefs.h <<_ACEOF
32722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32723 _ACEOF
32724
32725 fi
32726
32727 done
32728
32729 fi
32730 fi
32731
32732
32733 USE_OPENGL=0
32734 if test "$wxUSE_OPENGL" = "yes"; then
32735 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32736 OPENGL_LIBS="-framework OpenGL -framework AGL"
32737 elif test "$wxUSE_MSW" = 1; then
32738 OPENGL_LIBS="-lopengl32 -lglu32"
32739 else
32740
32741
32742 ac_find_includes=
32743 for ac_dir in $SEARCH_INCLUDE /usr/include;
32744 do
32745 if test -f "$ac_dir/GL/gl.h"; then
32746 ac_find_includes=$ac_dir
32747 break
32748 fi
32749 done
32750
32751 if test "$ac_find_includes" != "" ; then
32752 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32753 echo "${ECHO_T}found in $ac_find_includes" >&6
32754
32755 if test "x$ac_find_includes" = "x/usr/include"; then
32756 ac_path_to_include=""
32757 else
32758 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32759 result=$?
32760 if test $result = 0; then
32761 ac_path_to_include=""
32762 else
32763 ac_path_to_include=" -I$ac_find_includes"
32764 fi
32765 fi
32766
32767 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32768 fi
32769
32770 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32771 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32772 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32773 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32774 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 fi
32776 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32777 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32778 else
32779 # Is the header compilable?
32780 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32781 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32782 cat >conftest.$ac_ext <<_ACEOF
32783 /* confdefs.h. */
32784 _ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h. */
32788 $ac_includes_default
32789 #include <GL/gl.h>
32790 _ACEOF
32791 rm -f conftest.$ac_objext
32792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32793 (eval $ac_compile) 2>conftest.er1
32794 ac_status=$?
32795 grep -v '^ *+' conftest.er1 >conftest.err
32796 rm -f conftest.er1
32797 cat conftest.err >&5
32798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32799 (exit $ac_status); } &&
32800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32803 ac_status=$?
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; } &&
32806 { ac_try='test -s conftest.$ac_objext'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32809 ac_status=$?
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; }; then
32812 ac_header_compiler=yes
32813 else
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.$ac_ext >&5
32816
32817 ac_header_compiler=no
32818 fi
32819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32821 echo "${ECHO_T}$ac_header_compiler" >&6
32822
32823 # Is the header present?
32824 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32825 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32826 cat >conftest.$ac_ext <<_ACEOF
32827 /* confdefs.h. */
32828 _ACEOF
32829 cat confdefs.h >>conftest.$ac_ext
32830 cat >>conftest.$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32832 #include <GL/gl.h>
32833 _ACEOF
32834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32836 ac_status=$?
32837 grep -v '^ *+' conftest.er1 >conftest.err
32838 rm -f conftest.er1
32839 cat conftest.err >&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } >/dev/null; then
32842 if test -s conftest.err; then
32843 ac_cpp_err=$ac_cxx_preproc_warn_flag
32844 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32845 else
32846 ac_cpp_err=
32847 fi
32848 else
32849 ac_cpp_err=yes
32850 fi
32851 if test -z "$ac_cpp_err"; then
32852 ac_header_preproc=yes
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32856
32857 ac_header_preproc=no
32858 fi
32859 rm -f conftest.err conftest.$ac_ext
32860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32861 echo "${ECHO_T}$ac_header_preproc" >&6
32862
32863 # So? What about this header?
32864 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32865 yes:no: )
32866 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32867 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32868 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32869 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32870 ac_header_preproc=yes
32871 ;;
32872 no:yes:* )
32873 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32874 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32875 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32876 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32877 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32878 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32879 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32880 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32881 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32882 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32883 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32884 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32885 (
32886 cat <<\_ASBOX
32887 ## ----------------------------------------- ##
32888 ## Report this to wx-dev@lists.wxwidgets.org ##
32889 ## ----------------------------------------- ##
32890 _ASBOX
32891 ) |
32892 sed "s/^/$as_me: WARNING: /" >&2
32893 ;;
32894 esac
32895 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32896 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32897 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32898 echo $ECHO_N "(cached) $ECHO_C" >&6
32899 else
32900 ac_cv_header_GL_gl_h=$ac_header_preproc
32901 fi
32902 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32903 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32904
32905 fi
32906 if test $ac_cv_header_GL_gl_h = yes; then
32907
32908 found_gl=0
32909
32910 echo "$as_me:$LINENO: checking for -lGL" >&5
32911 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32912
32913 ac_find_libraries=
32914 for ac_dir in $SEARCH_LIB;
32915 do
32916 for ac_extension in a so sl dylib dll.a; do
32917 if test -f "$ac_dir/libGL.$ac_extension"; then
32918 ac_find_libraries=$ac_dir
32919 break 2
32920 fi
32921 done
32922 done
32923
32924 if test "$ac_find_libraries" != "" ; then
32925 echo "$as_me:$LINENO: result: yes" >&5
32926 echo "${ECHO_T}yes" >&6
32927
32928
32929 if test "$ac_find_libraries" = "default location"; then
32930 ac_path_to_link=""
32931 else
32932 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32933 result=$?
32934 if test $result = 0; then
32935 ac_path_to_link=""
32936 else
32937 ac_path_to_link=" -L$ac_find_libraries"
32938 fi
32939 fi
32940
32941 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32942 LDFLAGS_GL="$ac_path_to_link"
32943 fi
32944
32945 echo "$as_me:$LINENO: checking for -lGLU" >&5
32946 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32947
32948 ac_find_libraries=
32949 for ac_dir in $SEARCH_LIB;
32950 do
32951 for ac_extension in a so sl dylib dll.a; do
32952 if test -f "$ac_dir/libGLU.$ac_extension"; then
32953 ac_find_libraries=$ac_dir
32954 break 2
32955 fi
32956 done
32957 done
32958
32959 if test "$ac_find_libraries" != "" ; then
32960
32961 if test "$ac_find_libraries" = "default location"; then
32962 ac_path_to_link=""
32963 else
32964 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32965 result=$?
32966 if test $result = 0; then
32967 ac_path_to_link=""
32968 else
32969 ac_path_to_link=" -L$ac_find_libraries"
32970 fi
32971 fi
32972
32973 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32974 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32975 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32976 fi
32977
32978 found_gl=1
32979 OPENGL_LIBS="-lGL -lGLU"
32980 echo "$as_me:$LINENO: result: yes" >&5
32981 echo "${ECHO_T}yes" >&6
32982 else
32983 echo "$as_me:$LINENO: result: no" >&5
32984 echo "${ECHO_T}no" >&6
32985 fi
32986 else
32987 echo "$as_me:$LINENO: result: no" >&5
32988 echo "${ECHO_T}no" >&6
32989 fi
32990
32991 if test "$found_gl" != 1; then
32992 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32993 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32994
32995 ac_find_libraries=
32996 for ac_dir in $SEARCH_LIB;
32997 do
32998 for ac_extension in a so sl dylib dll.a; do
32999 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33000 ac_find_libraries=$ac_dir
33001 break 2
33002 fi
33003 done
33004 done
33005
33006 if test "$ac_find_libraries" != "" ; then
33007
33008 if test "$ac_find_libraries" = "default location"; then
33009 ac_path_to_link=""
33010 else
33011 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33012 result=$?
33013 if test $result = 0; then
33014 ac_path_to_link=""
33015 else
33016 ac_path_to_link=" -L$ac_find_libraries"
33017 fi
33018 fi
33019
33020 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33021 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33022 echo "$as_me:$LINENO: result: yes" >&5
33023 echo "${ECHO_T}yes" >&6
33024 else
33025 echo "$as_me:$LINENO: result: no" >&5
33026 echo "${ECHO_T}no" >&6
33027 fi
33028 fi
33029
33030 fi
33031
33032
33033
33034 if test "x$OPENGL_LIBS" = "x"; then
33035 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33036 echo "$as_me: error: OpenGL libraries not available" >&2;}
33037 { (exit 1); exit 1; }; }
33038 fi
33039 fi
33040
33041 if test "$wxUSE_OPENGL" = "yes"; then
33042 USE_OPENGL=1
33043 cat >>confdefs.h <<\_ACEOF
33044 #define wxUSE_OPENGL 1
33045 _ACEOF
33046
33047 cat >>confdefs.h <<\_ACEOF
33048 #define wxUSE_GLCANVAS 1
33049 _ACEOF
33050
33051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33052 fi
33053 fi
33054
33055
33056 if test -n "$TOOLKIT" ; then
33057 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33058 fi
33059
33060
33061
33062 if test "$wxUSE_SHARED" = "yes"; then
33063 case "${host}" in
33064 *-pc-msdosdjgpp )
33065 wxUSE_SHARED=no
33066 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33067 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33068 ;;
33069 esac
33070 fi
33071
33072 if test "$wxUSE_SHARED" = "yes"; then
33073
33074
33075 found_versioning=no
33076
33077
33078 if test $found_versioning = no ; then
33079 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33080 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33081 if test "${wx_cv_version_script+set}" = set; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 else
33084
33085 echo "VER_1 { *; };" >conftest.sym
33086 echo "int main() { return 0; }" >conftest.cpp
33087
33088 if { ac_try='
33089 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33090 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33093 ac_status=$?
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; } ; then
33096 if test -s conftest.stderr ; then
33097 wx_cv_version_script=no
33098 else
33099 wx_cv_version_script=yes
33100 fi
33101 else
33102 wx_cv_version_script=no
33103 fi
33104
33105 if test $wx_cv_version_script = yes
33106 then
33107 echo "struct B { virtual ~B() { } }; \
33108 struct D : public B { }; \
33109 void F() { D d; }" > conftest.cpp
33110
33111 if { ac_try='
33112 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33113 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; } &&
33119 { ac_try='
33120 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33121 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33123 (eval $ac_try) 2>&5
33124 ac_status=$?
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); }; }
33127 then
33128 if { ac_try='
33129 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33130 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33133 ac_status=$?
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; }
33136 then
33137 wx_cv_version_script=yes
33138 else
33139 wx_cv_version_script=no
33140 fi
33141 fi
33142 fi
33143
33144 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33145 rm -f conftest1.output conftest2.output conftest3.output
33146
33147 fi
33148 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33149 echo "${ECHO_T}$wx_cv_version_script" >&6
33150 if test $wx_cv_version_script = yes ; then
33151 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33152 fi
33153 fi
33154
33155
33156 case "${host}" in
33157 *-*-linux* | *-*-gnu* )
33158 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33159 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33160 ;;
33161
33162 *-*-solaris2* )
33163 if test "$GCC" = yes ; then
33164 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33165
33166 saveLdflags="$LDFLAGS"
33167 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33168 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33169 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h. */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176
33177 int
33178 main ()
33179 {
33180
33181 ;
33182 return 0;
33183 }
33184 _ACEOF
33185 rm -f conftest.$ac_objext conftest$ac_exeext
33186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33187 (eval $ac_link) 2>conftest.er1
33188 ac_status=$?
33189 grep -v '^ *+' conftest.er1 >conftest.err
33190 rm -f conftest.er1
33191 cat conftest.err >&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); } &&
33194 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; } &&
33200 { ac_try='test -s conftest$ac_exeext'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33203 ac_status=$?
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; }; then
33206
33207 echo "$as_me:$LINENO: result: yes" >&5
33208 echo "${ECHO_T}yes" >&6
33209 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33210 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33211
33212 else
33213 echo "$as_me: failed program was:" >&5
33214 sed 's/^/| /' conftest.$ac_ext >&5
33215
33216
33217 echo "$as_me:$LINENO: result: no" >&5
33218 echo "${ECHO_T}no" >&6
33219 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33220 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33221 LDFLAGS="$saveLdflags -Wl,-R,/"
33222 cat >conftest.$ac_ext <<_ACEOF
33223 /* confdefs.h. */
33224 _ACEOF
33225 cat confdefs.h >>conftest.$ac_ext
33226 cat >>conftest.$ac_ext <<_ACEOF
33227 /* end confdefs.h. */
33228
33229 int
33230 main ()
33231 {
33232
33233 ;
33234 return 0;
33235 }
33236 _ACEOF
33237 rm -f conftest.$ac_objext conftest$ac_exeext
33238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33239 (eval $ac_link) 2>conftest.er1
33240 ac_status=$?
33241 grep -v '^ *+' conftest.er1 >conftest.err
33242 rm -f conftest.er1
33243 cat conftest.err >&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); } &&
33246 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33249 ac_status=$?
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; } &&
33252 { ac_try='test -s conftest$ac_exeext'
33253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33254 (eval $ac_try) 2>&5
33255 ac_status=$?
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; }; then
33258
33259 echo "$as_me:$LINENO: result: yes" >&5
33260 echo "${ECHO_T}yes" >&6
33261 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33262 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33263
33264 else
33265 echo "$as_me: failed program was:" >&5
33266 sed 's/^/| /' conftest.$ac_ext >&5
33267
33268
33269 echo "$as_me:$LINENO: result: no" >&5
33270 echo "${ECHO_T}no" >&6
33271
33272 fi
33273 rm -f conftest.err conftest.$ac_objext \
33274 conftest$ac_exeext conftest.$ac_ext
33275
33276 fi
33277 rm -f conftest.err conftest.$ac_objext \
33278 conftest$ac_exeext conftest.$ac_ext
33279 LDFLAGS="$saveLdflags"
33280 else
33281 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33282 WXCONFIG_RPATH="-R\$libdir"
33283 fi
33284 ;;
33285
33286 *-*-darwin* )
33287 install_name_tool=`which install_name_tool`
33288 if test "$install_name_tool" -a -x "$install_name_tool"; then
33289 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33290 cat <<EOF >change-install-names
33291 #!/bin/sh
33292 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33293 inst_cmd="install_name_tool "
33294 for i in \${libnames} ; do
33295 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33296 done
33297 \${inst_cmd} \${3}
33298 EOF
33299 chmod +x change-install-names
33300 fi
33301 ;;
33302
33303 *-*-cygwin* | *-*-mingw32* )
33304 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33305 ;;
33306
33307 *-*-hpux* )
33308 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33309 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33310 ;;
33311
33312 esac
33313
33314 if test $wxUSE_RPATH = "no"; then
33315 SAMPLES_RPATH_FLAG=''
33316 SAMPLES_RPATH_POSTLINK=''
33317 WXCONFIG_RPATH=''
33318 fi
33319
33320 SHARED=1
33321
33322 else
33323
33324 config_linkage_component="-static"
33325 SHARED=0
33326
33327 fi
33328
33329
33330 UNICODE=0
33331 lib_unicode_suffix=
33332 WX_CHARTYPE="ansi"
33333 if test "$wxUSE_UNICODE" = "yes"; then
33334 lib_unicode_suffix=u
33335 WX_CHARTYPE="unicode"
33336 UNICODE=1
33337 fi
33338
33339 lib_debug_suffix=
33340 WX_DEBUGTYPE="release"
33341 DEBUG_FLAG=0
33342 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33343 lib_debug_suffix=d
33344 WX_DEBUGTYPE="debug"
33345 DEBUG_FLAG=1
33346 fi
33347
33348 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33349 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33350
33351 DEBUG_INFO=0
33352 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33353 DEBUG_INFO=1
33354 fi
33355
33356 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33357
33358 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33359
33360 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33361
33362 if test "$cross_compiling" = "yes"; then
33363 HOST_SUFFIX="-$host_alias"
33364 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33365 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33366 fi
33367
33368 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33369 if test "${TOOLKIT_DIR}" = "os2"; then
33370 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33371 else
33372 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33373 fi
33374
33375
33376
33377 if test "$wxUSE_COCOA" = 1; then
33378
33379
33380 ac_ext=c
33381 ac_cpp='$CPP $CPPFLAGS'
33382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33385
33386 ac_ext=m
33387
33388 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33389 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33390 cat >conftest.$ac_ext <<_ACEOF
33391 /* confdefs.h. */
33392 _ACEOF
33393 cat confdefs.h >>conftest.$ac_ext
33394 cat >>conftest.$ac_ext <<_ACEOF
33395 /* end confdefs.h. */
33396 #include <AppKit/NSEvent.h>
33397 #include <CoreFoundation/CoreFoundation.h>
33398
33399 int
33400 main ()
33401 {
33402
33403 ;
33404 return 0;
33405 }
33406 _ACEOF
33407 rm -f conftest.$ac_objext
33408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33409 (eval $ac_compile) 2>conftest.er1
33410 ac_status=$?
33411 grep -v '^ *+' conftest.er1 >conftest.err
33412 rm -f conftest.er1
33413 cat conftest.err >&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); } &&
33416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33419 ac_status=$?
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; } &&
33422 { ac_try='test -s conftest.$ac_objext'
33423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33424 (eval $ac_try) 2>&5
33425 ac_status=$?
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); }; }; then
33428 echo "$as_me:$LINENO: result: no" >&5
33429 echo "${ECHO_T}no" >&6
33430 else
33431 echo "$as_me: failed program was:" >&5
33432 sed 's/^/| /' conftest.$ac_ext >&5
33433
33434 echo "$as_me:$LINENO: result: yes" >&5
33435 echo "${ECHO_T}yes" >&6
33436 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33437 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33438 cat >conftest.$ac_ext <<_ACEOF
33439 /* confdefs.h. */
33440 _ACEOF
33441 cat confdefs.h >>conftest.$ac_ext
33442 cat >>conftest.$ac_ext <<_ACEOF
33443 /* end confdefs.h. */
33444 #define __Point__ 1
33445 #include <AppKit/NSEvent.h>
33446 #include <CoreFoundation/CoreFoundation.h>
33447
33448 int
33449 main ()
33450 {
33451
33452 ;
33453 return 0;
33454 }
33455 _ACEOF
33456 rm -f conftest.$ac_objext
33457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33458 (eval $ac_compile) 2>conftest.er1
33459 ac_status=$?
33460 grep -v '^ *+' conftest.er1 >conftest.err
33461 rm -f conftest.er1
33462 cat conftest.err >&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } &&
33465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33468 ac_status=$?
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; } &&
33471 { ac_try='test -s conftest.$ac_objext'
33472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33473 (eval $ac_try) 2>&5
33474 ac_status=$?
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); }; }; then
33477 echo "$as_me:$LINENO: result: yes" >&5
33478 echo "${ECHO_T}yes" >&6
33479 cat >>confdefs.h <<\_ACEOF
33480 #define __Point__ 1
33481 _ACEOF
33482
33483
33484 else
33485 echo "$as_me: failed program was:" >&5
33486 sed 's/^/| /' conftest.$ac_ext >&5
33487
33488 { { echo "$as_me:$LINENO: error: no
33489 See \`config.log' for more details." >&5
33490 echo "$as_me: error: no
33491 See \`config.log' for more details." >&2;}
33492 { (exit 1); exit 1; }; }
33493
33494 fi
33495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33496
33497 fi
33498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=cc
33500 ac_cpp='$CXXCPP $CPPFLAGS'
33501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504
33505 fi
33506
33507 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33508 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33509 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33510
33511 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33512
33513 # Extract the first word of "Rez", so it can be a program name with args.
33514 set dummy Rez; ac_word=$2
33515 echo "$as_me:$LINENO: checking for $ac_word" >&5
33516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33517 if test "${ac_cv_prog_REZ+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33520 if test -n "$REZ"; then
33521 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33522 else
33523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33524 for as_dir in $PATH
33525 do
33526 IFS=$as_save_IFS
33527 test -z "$as_dir" && as_dir=.
33528 for ac_exec_ext in '' $ac_executable_extensions; do
33529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33530 ac_cv_prog_REZ="Rez"
33531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33532 break 2
33533 fi
33534 done
33535 done
33536
33537 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33538 fi
33539 fi
33540 REZ=$ac_cv_prog_REZ
33541 if test -n "$REZ"; then
33542 echo "$as_me:$LINENO: result: $REZ" >&5
33543 echo "${ECHO_T}$REZ" >&6
33544 else
33545 echo "$as_me:$LINENO: result: no" >&5
33546 echo "${ECHO_T}no" >&6
33547 fi
33548
33549 # Extract the first word of "DeRez", so it can be a program name with args.
33550 set dummy DeRez; ac_word=$2
33551 echo "$as_me:$LINENO: checking for $ac_word" >&5
33552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33553 if test "${ac_cv_prog_DEREZ+set}" = set; then
33554 echo $ECHO_N "(cached) $ECHO_C" >&6
33555 else
33556 if test -n "$DEREZ"; then
33557 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33558 else
33559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33560 for as_dir in $PATH
33561 do
33562 IFS=$as_save_IFS
33563 test -z "$as_dir" && as_dir=.
33564 for ac_exec_ext in '' $ac_executable_extensions; do
33565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33566 ac_cv_prog_DEREZ="DeRez"
33567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33568 break 2
33569 fi
33570 done
33571 done
33572
33573 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33574 fi
33575 fi
33576 DEREZ=$ac_cv_prog_DEREZ
33577 if test -n "$DEREZ"; then
33578 echo "$as_me:$LINENO: result: $DEREZ" >&5
33579 echo "${ECHO_T}$DEREZ" >&6
33580 else
33581 echo "$as_me:$LINENO: result: no" >&5
33582 echo "${ECHO_T}no" >&6
33583 fi
33584
33585 # Extract the first word of "SetFile", so it can be a program name with args.
33586 set dummy SetFile; ac_word=$2
33587 echo "$as_me:$LINENO: checking for $ac_word" >&5
33588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33589 if test "${ac_cv_prog_SETFILE+set}" = set; then
33590 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 else
33592 if test -n "$SETFILE"; then
33593 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33594 else
33595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33596 for as_dir in $PATH
33597 do
33598 IFS=$as_save_IFS
33599 test -z "$as_dir" && as_dir=.
33600 for ac_exec_ext in '' $ac_executable_extensions; do
33601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33602 ac_cv_prog_SETFILE="SetFile"
33603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33604 break 2
33605 fi
33606 done
33607 done
33608
33609 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33610 fi
33611 fi
33612 SETFILE=$ac_cv_prog_SETFILE
33613 if test -n "$SETFILE"; then
33614 echo "$as_me:$LINENO: result: $SETFILE" >&5
33615 echo "${ECHO_T}$SETFILE" >&6
33616 else
33617 echo "$as_me:$LINENO: result: no" >&5
33618 echo "${ECHO_T}no" >&6
33619 fi
33620
33621
33622 MACSETFILE="\$(SETFILE)"
33623
33624 if test "$wxUSE_MAC" = 1; then
33625 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33626 RESCOMP="$REZ"
33627 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33628 else
33629 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33630 RESCOMP="echo -n \| $REZ"
33631 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33632 fi
33633
33634 else
33635 MACSETFILE="@true"
33636
33637 if test "$wxUSE_PM" = 1; then
33638 RESCOMP="emxbind"
33639 WXCONFIG_RESFLAGS="-ep"
33640
33641 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33642 else
33643 POSTLINK_COMMAND="@true"
33644 fi
33645
33646 fi
33647
33648
33649
33650 echo "$as_me:$LINENO: checking for mode_t" >&5
33651 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33652 if test "${ac_cv_type_mode_t+set}" = set; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 else
33655 cat >conftest.$ac_ext <<_ACEOF
33656 /* confdefs.h. */
33657 _ACEOF
33658 cat confdefs.h >>conftest.$ac_ext
33659 cat >>conftest.$ac_ext <<_ACEOF
33660 /* end confdefs.h. */
33661 $ac_includes_default
33662 int
33663 main ()
33664 {
33665 if ((mode_t *) 0)
33666 return 0;
33667 if (sizeof (mode_t))
33668 return 0;
33669 ;
33670 return 0;
33671 }
33672 _ACEOF
33673 rm -f conftest.$ac_objext
33674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33675 (eval $ac_compile) 2>conftest.er1
33676 ac_status=$?
33677 grep -v '^ *+' conftest.er1 >conftest.err
33678 rm -f conftest.er1
33679 cat conftest.err >&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } &&
33682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684 (eval $ac_try) 2>&5
33685 ac_status=$?
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; } &&
33688 { ac_try='test -s conftest.$ac_objext'
33689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690 (eval $ac_try) 2>&5
33691 ac_status=$?
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); }; }; then
33694 ac_cv_type_mode_t=yes
33695 else
33696 echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33698
33699 ac_cv_type_mode_t=no
33700 fi
33701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33702 fi
33703 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33704 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33705 if test $ac_cv_type_mode_t = yes; then
33706 :
33707 else
33708
33709 cat >>confdefs.h <<_ACEOF
33710 #define mode_t int
33711 _ACEOF
33712
33713 fi
33714
33715 echo "$as_me:$LINENO: checking for off_t" >&5
33716 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33717 if test "${ac_cv_type_off_t+set}" = set; then
33718 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 else
33720 cat >conftest.$ac_ext <<_ACEOF
33721 /* confdefs.h. */
33722 _ACEOF
33723 cat confdefs.h >>conftest.$ac_ext
33724 cat >>conftest.$ac_ext <<_ACEOF
33725 /* end confdefs.h. */
33726 $ac_includes_default
33727 int
33728 main ()
33729 {
33730 if ((off_t *) 0)
33731 return 0;
33732 if (sizeof (off_t))
33733 return 0;
33734 ;
33735 return 0;
33736 }
33737 _ACEOF
33738 rm -f conftest.$ac_objext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33740 (eval $ac_compile) 2>conftest.er1
33741 ac_status=$?
33742 grep -v '^ *+' conftest.er1 >conftest.err
33743 rm -f conftest.er1
33744 cat conftest.err >&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } &&
33747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33750 ac_status=$?
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; } &&
33753 { ac_try='test -s conftest.$ac_objext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33756 ac_status=$?
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 ac_cv_type_off_t=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33763
33764 ac_cv_type_off_t=no
33765 fi
33766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33767 fi
33768 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33769 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33770 if test $ac_cv_type_off_t = yes; then
33771 :
33772 else
33773
33774 cat >>confdefs.h <<_ACEOF
33775 #define off_t long
33776 _ACEOF
33777
33778 fi
33779
33780 echo "$as_me:$LINENO: checking for pid_t" >&5
33781 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33782 if test "${ac_cv_type_pid_t+set}" = set; then
33783 echo $ECHO_N "(cached) $ECHO_C" >&6
33784 else
33785 cat >conftest.$ac_ext <<_ACEOF
33786 /* confdefs.h. */
33787 _ACEOF
33788 cat confdefs.h >>conftest.$ac_ext
33789 cat >>conftest.$ac_ext <<_ACEOF
33790 /* end confdefs.h. */
33791 $ac_includes_default
33792 int
33793 main ()
33794 {
33795 if ((pid_t *) 0)
33796 return 0;
33797 if (sizeof (pid_t))
33798 return 0;
33799 ;
33800 return 0;
33801 }
33802 _ACEOF
33803 rm -f conftest.$ac_objext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33805 (eval $ac_compile) 2>conftest.er1
33806 ac_status=$?
33807 grep -v '^ *+' conftest.er1 >conftest.err
33808 rm -f conftest.er1
33809 cat conftest.err >&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } &&
33812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33815 ac_status=$?
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try='test -s conftest.$ac_objext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33821 ac_status=$?
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 ac_cv_type_pid_t=yes
33825 else
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.$ac_ext >&5
33828
33829 ac_cv_type_pid_t=no
33830 fi
33831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33832 fi
33833 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33834 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33835 if test $ac_cv_type_pid_t = yes; then
33836 :
33837 else
33838
33839 cat >>confdefs.h <<_ACEOF
33840 #define pid_t int
33841 _ACEOF
33842
33843 fi
33844
33845 echo "$as_me:$LINENO: checking for size_t" >&5
33846 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33847 if test "${ac_cv_type_size_t+set}" = set; then
33848 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 else
33850 cat >conftest.$ac_ext <<_ACEOF
33851 /* confdefs.h. */
33852 _ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33856 $ac_includes_default
33857 int
33858 main ()
33859 {
33860 if ((size_t *) 0)
33861 return 0;
33862 if (sizeof (size_t))
33863 return 0;
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870 (eval $ac_compile) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33880 ac_status=$?
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; } &&
33883 { ac_try='test -s conftest.$ac_objext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33886 ac_status=$?
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 ac_cv_type_size_t=yes
33890 else
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.$ac_ext >&5
33893
33894 ac_cv_type_size_t=no
33895 fi
33896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33897 fi
33898 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33899 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33900 if test $ac_cv_type_size_t = yes; then
33901 :
33902 else
33903
33904 cat >>confdefs.h <<_ACEOF
33905 #define size_t unsigned
33906 _ACEOF
33907
33908 fi
33909
33910 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33911 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33912 if test "${ac_cv_type_uid_t+set}" = set; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33914 else
33915 cat >conftest.$ac_ext <<_ACEOF
33916 /* confdefs.h. */
33917 _ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 #include <sys/types.h>
33922
33923 _ACEOF
33924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33925 $EGREP "uid_t" >/dev/null 2>&1; then
33926 ac_cv_type_uid_t=yes
33927 else
33928 ac_cv_type_uid_t=no
33929 fi
33930 rm -f conftest*
33931
33932 fi
33933 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33934 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33935 if test $ac_cv_type_uid_t = no; then
33936
33937 cat >>confdefs.h <<\_ACEOF
33938 #define uid_t int
33939 _ACEOF
33940
33941
33942 cat >>confdefs.h <<\_ACEOF
33943 #define gid_t int
33944 _ACEOF
33945
33946 fi
33947
33948
33949 echo "$as_me:$LINENO: checking for ssize_t" >&5
33950 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33951 if test "${ac_cv_type_ssize_t+set}" = set; then
33952 echo $ECHO_N "(cached) $ECHO_C" >&6
33953 else
33954 cat >conftest.$ac_ext <<_ACEOF
33955 /* confdefs.h. */
33956 _ACEOF
33957 cat confdefs.h >>conftest.$ac_ext
33958 cat >>conftest.$ac_ext <<_ACEOF
33959 /* end confdefs.h. */
33960 $ac_includes_default
33961 int
33962 main ()
33963 {
33964 if ((ssize_t *) 0)
33965 return 0;
33966 if (sizeof (ssize_t))
33967 return 0;
33968 ;
33969 return 0;
33970 }
33971 _ACEOF
33972 rm -f conftest.$ac_objext
33973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33974 (eval $ac_compile) 2>conftest.er1
33975 ac_status=$?
33976 grep -v '^ *+' conftest.er1 >conftest.err
33977 rm -f conftest.er1
33978 cat conftest.err >&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); } &&
33981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33983 (eval $ac_try) 2>&5
33984 ac_status=$?
33985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33986 (exit $ac_status); }; } &&
33987 { ac_try='test -s conftest.$ac_objext'
33988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989 (eval $ac_try) 2>&5
33990 ac_status=$?
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); }; }; then
33993 ac_cv_type_ssize_t=yes
33994 else
33995 echo "$as_me: failed program was:" >&5
33996 sed 's/^/| /' conftest.$ac_ext >&5
33997
33998 ac_cv_type_ssize_t=no
33999 fi
34000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34001 fi
34002 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34003 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34004 if test $ac_cv_type_ssize_t = yes; then
34005
34006 cat >>confdefs.h <<_ACEOF
34007 #define HAVE_SSIZE_T 1
34008 _ACEOF
34009
34010
34011 fi
34012
34013
34014 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34015 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34016 if test "${wx_cv_size_t_is_uint+set}" = set; then
34017 echo $ECHO_N "(cached) $ECHO_C" >&6
34018 else
34019
34020 cat >conftest.$ac_ext <<_ACEOF
34021 /* confdefs.h. */
34022 _ACEOF
34023 cat confdefs.h >>conftest.$ac_ext
34024 cat >>conftest.$ac_ext <<_ACEOF
34025 /* end confdefs.h. */
34026 #include <stddef.h>
34027 int
34028 main ()
34029 {
34030
34031 return 0; }
34032
34033 struct Foo { void foo(size_t); void foo(unsigned int); };
34034
34035 int bar() {
34036
34037 ;
34038 return 0;
34039 }
34040 _ACEOF
34041 rm -f conftest.$ac_objext
34042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34043 (eval $ac_compile) 2>conftest.er1
34044 ac_status=$?
34045 grep -v '^ *+' conftest.er1 >conftest.err
34046 rm -f conftest.er1
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } &&
34050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34053 ac_status=$?
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; } &&
34056 { ac_try='test -s conftest.$ac_objext'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34059 ac_status=$?
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; }; then
34062 wx_cv_size_t_is_uint=no
34063 else
34064 echo "$as_me: failed program was:" >&5
34065 sed 's/^/| /' conftest.$ac_ext >&5
34066
34067 wx_cv_size_t_is_uint=yes
34068
34069 fi
34070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34071
34072
34073 fi
34074 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34075 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34076
34077 if test "$wx_cv_size_t_is_uint" = "yes"; then
34078 cat >>confdefs.h <<\_ACEOF
34079 #define wxSIZE_T_IS_UINT 1
34080 _ACEOF
34081
34082 else
34083 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34084 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34085 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34086 echo $ECHO_N "(cached) $ECHO_C" >&6
34087 else
34088 cat >conftest.$ac_ext <<_ACEOF
34089 /* confdefs.h. */
34090 _ACEOF
34091 cat confdefs.h >>conftest.$ac_ext
34092 cat >>conftest.$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34094 #include <stddef.h>
34095 int
34096 main ()
34097 {
34098
34099 return 0; }
34100
34101 struct Foo { void foo(size_t); void foo(unsigned long); };
34102
34103 int bar() {
34104
34105 ;
34106 return 0;
34107 }
34108 _ACEOF
34109 rm -f conftest.$ac_objext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34111 (eval $ac_compile) 2>conftest.er1
34112 ac_status=$?
34113 grep -v '^ *+' conftest.er1 >conftest.err
34114 rm -f conftest.er1
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34121 ac_status=$?
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; } &&
34124 { ac_try='test -s conftest.$ac_objext'
34125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34126 (eval $ac_try) 2>&5
34127 ac_status=$?
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); }; }; then
34130 wx_cv_size_t_is_ulong=no
34131 else
34132 echo "$as_me: failed program was:" >&5
34133 sed 's/^/| /' conftest.$ac_ext >&5
34134
34135 wx_cv_size_t_is_ulong=yes
34136
34137 fi
34138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34139
34140 fi
34141 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34142 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34143
34144 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34145 cat >>confdefs.h <<\_ACEOF
34146 #define wxSIZE_T_IS_ULONG 1
34147 _ACEOF
34148
34149 fi
34150 fi
34151
34152
34153 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34154 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34155 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 else
34158
34159 cat >conftest.$ac_ext <<_ACEOF
34160 /* confdefs.h. */
34161 _ACEOF
34162 cat confdefs.h >>conftest.$ac_ext
34163 cat >>conftest.$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 #include <pwd.h>
34166 int
34167 main ()
34168 {
34169
34170 char *p;
34171 struct passwd *pw;
34172 p = pw->pw_gecos;
34173
34174 ;
34175 return 0;
34176 }
34177 _ACEOF
34178 rm -f conftest.$ac_objext
34179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34180 (eval $ac_compile) 2>conftest.er1
34181 ac_status=$?
34182 grep -v '^ *+' conftest.er1 >conftest.err
34183 rm -f conftest.er1
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } &&
34187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34189 (eval $ac_try) 2>&5
34190 ac_status=$?
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); }; } &&
34193 { ac_try='test -s conftest.$ac_objext'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34196 ac_status=$?
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; }; then
34199
34200 wx_cv_struct_pw_gecos=yes
34201
34202 else
34203 echo "$as_me: failed program was:" >&5
34204 sed 's/^/| /' conftest.$ac_ext >&5
34205
34206
34207 wx_cv_struct_pw_gecos=no
34208
34209
34210 fi
34211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34212
34213
34214 fi
34215 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34216 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34217
34218 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34219 cat >>confdefs.h <<\_ACEOF
34220 #define HAVE_PW_GECOS 1
34221 _ACEOF
34222
34223 fi
34224
34225
34226 if test "$wxUSE_WCHAR_T" = "yes"; then
34227 cat >>confdefs.h <<\_ACEOF
34228 #define wxUSE_WCHAR_T 1
34229 _ACEOF
34230
34231
34232 WCSLEN_FOUND=0
34233 WCHAR_LINK=
34234
34235 for ac_func in wcslen
34236 do
34237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34238 echo "$as_me:$LINENO: checking for $ac_func" >&5
34239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34240 if eval "test \"\${$as_ac_var+set}\" = set"; then
34241 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 else
34243 cat >conftest.$ac_ext <<_ACEOF
34244 /* confdefs.h. */
34245 _ACEOF
34246 cat confdefs.h >>conftest.$ac_ext
34247 cat >>conftest.$ac_ext <<_ACEOF
34248 /* end confdefs.h. */
34249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34251 #define $ac_func innocuous_$ac_func
34252
34253 /* System header to define __stub macros and hopefully few prototypes,
34254 which can conflict with char $ac_func (); below.
34255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34256 <limits.h> exists even on freestanding compilers. */
34257
34258 #ifdef __STDC__
34259 # include <limits.h>
34260 #else
34261 # include <assert.h>
34262 #endif
34263
34264 #undef $ac_func
34265
34266 /* Override any gcc2 internal prototype to avoid an error. */
34267 #ifdef __cplusplus
34268 extern "C"
34269 {
34270 #endif
34271 /* We use char because int might match the return type of a gcc2
34272 builtin and then its argument prototype would still apply. */
34273 char $ac_func ();
34274 /* The GNU C library defines this for functions which it implements
34275 to always fail with ENOSYS. Some functions are actually named
34276 something starting with __ and the normal name is an alias. */
34277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34278 choke me
34279 #else
34280 char (*f) () = $ac_func;
34281 #endif
34282 #ifdef __cplusplus
34283 }
34284 #endif
34285
34286 int
34287 main ()
34288 {
34289 return f != $ac_func;
34290 ;
34291 return 0;
34292 }
34293 _ACEOF
34294 rm -f conftest.$ac_objext conftest$ac_exeext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34296 (eval $ac_link) 2>conftest.er1
34297 ac_status=$?
34298 grep -v '^ *+' conftest.er1 >conftest.err
34299 rm -f conftest.er1
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34305 (eval $ac_try) 2>&5
34306 ac_status=$?
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); }; } &&
34309 { ac_try='test -s conftest$ac_exeext'
34310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311 (eval $ac_try) 2>&5
34312 ac_status=$?
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); }; }; then
34315 eval "$as_ac_var=yes"
34316 else
34317 echo "$as_me: failed program was:" >&5
34318 sed 's/^/| /' conftest.$ac_ext >&5
34319
34320 eval "$as_ac_var=no"
34321 fi
34322 rm -f conftest.err conftest.$ac_objext \
34323 conftest$ac_exeext conftest.$ac_ext
34324 fi
34325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34327 if test `eval echo '${'$as_ac_var'}'` = yes; then
34328 cat >>confdefs.h <<_ACEOF
34329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34330 _ACEOF
34331 WCSLEN_FOUND=1
34332 fi
34333 done
34334
34335
34336 if test "$WCSLEN_FOUND" = 0; then
34337 if test "$TOOLKIT" = "MSW"; then
34338 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34339 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34340 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 ac_check_lib_save_LIBS=$LIBS
34344 LIBS="-lmsvcrt $LIBS"
34345 cat >conftest.$ac_ext <<_ACEOF
34346 /* confdefs.h. */
34347 _ACEOF
34348 cat confdefs.h >>conftest.$ac_ext
34349 cat >>conftest.$ac_ext <<_ACEOF
34350 /* end confdefs.h. */
34351
34352 /* Override any gcc2 internal prototype to avoid an error. */
34353 #ifdef __cplusplus
34354 extern "C"
34355 #endif
34356 /* We use char because int might match the return type of a gcc2
34357 builtin and then its argument prototype would still apply. */
34358 char wcslen ();
34359 int
34360 main ()
34361 {
34362 wcslen ();
34363 ;
34364 return 0;
34365 }
34366 _ACEOF
34367 rm -f conftest.$ac_objext conftest$ac_exeext
34368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34369 (eval $ac_link) 2>conftest.er1
34370 ac_status=$?
34371 grep -v '^ *+' conftest.er1 >conftest.err
34372 rm -f conftest.er1
34373 cat conftest.err >&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } &&
34376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34378 (eval $ac_try) 2>&5
34379 ac_status=$?
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); }; } &&
34382 { ac_try='test -s conftest$ac_exeext'
34383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34384 (eval $ac_try) 2>&5
34385 ac_status=$?
34386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387 (exit $ac_status); }; }; then
34388 ac_cv_lib_msvcrt_wcslen=yes
34389 else
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.$ac_ext >&5
34392
34393 ac_cv_lib_msvcrt_wcslen=no
34394 fi
34395 rm -f conftest.err conftest.$ac_objext \
34396 conftest$ac_exeext conftest.$ac_ext
34397 LIBS=$ac_check_lib_save_LIBS
34398 fi
34399 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34400 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34401 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34402 WCHAR_OK=1
34403 fi
34404
34405 else
34406 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34407 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34408 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34409 echo $ECHO_N "(cached) $ECHO_C" >&6
34410 else
34411 ac_check_lib_save_LIBS=$LIBS
34412 LIBS="-lw $LIBS"
34413 cat >conftest.$ac_ext <<_ACEOF
34414 /* confdefs.h. */
34415 _ACEOF
34416 cat confdefs.h >>conftest.$ac_ext
34417 cat >>conftest.$ac_ext <<_ACEOF
34418 /* end confdefs.h. */
34419
34420 /* Override any gcc2 internal prototype to avoid an error. */
34421 #ifdef __cplusplus
34422 extern "C"
34423 #endif
34424 /* We use char because int might match the return type of a gcc2
34425 builtin and then its argument prototype would still apply. */
34426 char wcslen ();
34427 int
34428 main ()
34429 {
34430 wcslen ();
34431 ;
34432 return 0;
34433 }
34434 _ACEOF
34435 rm -f conftest.$ac_objext conftest$ac_exeext
34436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34437 (eval $ac_link) 2>conftest.er1
34438 ac_status=$?
34439 grep -v '^ *+' conftest.er1 >conftest.err
34440 rm -f conftest.er1
34441 cat conftest.err >&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } &&
34444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34447 ac_status=$?
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; } &&
34450 { ac_try='test -s conftest$ac_exeext'
34451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34452 (eval $ac_try) 2>&5
34453 ac_status=$?
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); }; }; then
34456 ac_cv_lib_w_wcslen=yes
34457 else
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34460
34461 ac_cv_lib_w_wcslen=no
34462 fi
34463 rm -f conftest.err conftest.$ac_objext \
34464 conftest$ac_exeext conftest.$ac_ext
34465 LIBS=$ac_check_lib_save_LIBS
34466 fi
34467 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34468 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34469 if test $ac_cv_lib_w_wcslen = yes; then
34470
34471 WCHAR_LINK=" -lw"
34472 WCSLEN_FOUND=1
34473
34474 fi
34475
34476 fi
34477 fi
34478
34479 if test "$WCSLEN_FOUND" = 1; then
34480 cat >>confdefs.h <<\_ACEOF
34481 #define HAVE_WCSLEN 1
34482 _ACEOF
34483
34484 fi
34485
34486 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34487 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34488 fi
34489
34490 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34491 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34492 if test "${ac_cv_type_mbstate_t+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 else
34495 cat >conftest.$ac_ext <<_ACEOF
34496 /* confdefs.h. */
34497 _ACEOF
34498 cat confdefs.h >>conftest.$ac_ext
34499 cat >>conftest.$ac_ext <<_ACEOF
34500 /* end confdefs.h. */
34501 #include <wchar.h>
34502
34503 int
34504 main ()
34505 {
34506 if ((mbstate_t *) 0)
34507 return 0;
34508 if (sizeof (mbstate_t))
34509 return 0;
34510 ;
34511 return 0;
34512 }
34513 _ACEOF
34514 rm -f conftest.$ac_objext
34515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34516 (eval $ac_compile) 2>conftest.er1
34517 ac_status=$?
34518 grep -v '^ *+' conftest.er1 >conftest.err
34519 rm -f conftest.er1
34520 cat conftest.err >&5
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); } &&
34523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; } &&
34529 { ac_try='test -s conftest.$ac_objext'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 ac_cv_type_mbstate_t=yes
34536 else
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34539
34540 ac_cv_type_mbstate_t=no
34541 fi
34542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34543 fi
34544 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34545 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34546 if test $ac_cv_type_mbstate_t = yes; then
34547
34548 cat >>confdefs.h <<_ACEOF
34549 #define HAVE_MBSTATE_T 1
34550 _ACEOF
34551
34552
34553 for ac_func in wcsrtombs
34554 do
34555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34556 echo "$as_me:$LINENO: checking for $ac_func" >&5
34557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34558 if eval "test \"\${$as_ac_var+set}\" = set"; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 else
34561 cat >conftest.$ac_ext <<_ACEOF
34562 /* confdefs.h. */
34563 _ACEOF
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34569 #define $ac_func innocuous_$ac_func
34570
34571 /* System header to define __stub macros and hopefully few prototypes,
34572 which can conflict with char $ac_func (); below.
34573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34574 <limits.h> exists even on freestanding compilers. */
34575
34576 #ifdef __STDC__
34577 # include <limits.h>
34578 #else
34579 # include <assert.h>
34580 #endif
34581
34582 #undef $ac_func
34583
34584 /* Override any gcc2 internal prototype to avoid an error. */
34585 #ifdef __cplusplus
34586 extern "C"
34587 {
34588 #endif
34589 /* We use char because int might match the return type of a gcc2
34590 builtin and then its argument prototype would still apply. */
34591 char $ac_func ();
34592 /* The GNU C library defines this for functions which it implements
34593 to always fail with ENOSYS. Some functions are actually named
34594 something starting with __ and the normal name is an alias. */
34595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34596 choke me
34597 #else
34598 char (*f) () = $ac_func;
34599 #endif
34600 #ifdef __cplusplus
34601 }
34602 #endif
34603
34604 int
34605 main ()
34606 {
34607 return f != $ac_func;
34608 ;
34609 return 0;
34610 }
34611 _ACEOF
34612 rm -f conftest.$ac_objext conftest$ac_exeext
34613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34614 (eval $ac_link) 2>conftest.er1
34615 ac_status=$?
34616 grep -v '^ *+' conftest.er1 >conftest.err
34617 rm -f conftest.er1
34618 cat conftest.err >&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); } &&
34621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34624 ac_status=$?
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; } &&
34627 { ac_try='test -s conftest$ac_exeext'
34628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34629 (eval $ac_try) 2>&5
34630 ac_status=$?
34631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34632 (exit $ac_status); }; }; then
34633 eval "$as_ac_var=yes"
34634 else
34635 echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.$ac_ext >&5
34637
34638 eval "$as_ac_var=no"
34639 fi
34640 rm -f conftest.err conftest.$ac_objext \
34641 conftest$ac_exeext conftest.$ac_ext
34642 fi
34643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34645 if test `eval echo '${'$as_ac_var'}'` = yes; then
34646 cat >>confdefs.h <<_ACEOF
34647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34648 _ACEOF
34649
34650 fi
34651 done
34652
34653 fi
34654
34655 else
34656 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34657 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34658 fi
34659
34660
34661
34662 for ac_func in snprintf vsnprintf
34663 do
34664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34665 echo "$as_me:$LINENO: checking for $ac_func" >&5
34666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34667 if eval "test \"\${$as_ac_var+set}\" = set"; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 else
34670 cat >conftest.$ac_ext <<_ACEOF
34671 /* confdefs.h. */
34672 _ACEOF
34673 cat confdefs.h >>conftest.$ac_ext
34674 cat >>conftest.$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34678 #define $ac_func innocuous_$ac_func
34679
34680 /* System header to define __stub macros and hopefully few prototypes,
34681 which can conflict with char $ac_func (); below.
34682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34683 <limits.h> exists even on freestanding compilers. */
34684
34685 #ifdef __STDC__
34686 # include <limits.h>
34687 #else
34688 # include <assert.h>
34689 #endif
34690
34691 #undef $ac_func
34692
34693 /* Override any gcc2 internal prototype to avoid an error. */
34694 #ifdef __cplusplus
34695 extern "C"
34696 {
34697 #endif
34698 /* We use char because int might match the return type of a gcc2
34699 builtin and then its argument prototype would still apply. */
34700 char $ac_func ();
34701 /* The GNU C library defines this for functions which it implements
34702 to always fail with ENOSYS. Some functions are actually named
34703 something starting with __ and the normal name is an alias. */
34704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34705 choke me
34706 #else
34707 char (*f) () = $ac_func;
34708 #endif
34709 #ifdef __cplusplus
34710 }
34711 #endif
34712
34713 int
34714 main ()
34715 {
34716 return f != $ac_func;
34717 ;
34718 return 0;
34719 }
34720 _ACEOF
34721 rm -f conftest.$ac_objext conftest$ac_exeext
34722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34723 (eval $ac_link) 2>conftest.er1
34724 ac_status=$?
34725 grep -v '^ *+' conftest.er1 >conftest.err
34726 rm -f conftest.er1
34727 cat conftest.err >&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); } &&
34730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34732 (eval $ac_try) 2>&5
34733 ac_status=$?
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); }; } &&
34736 { ac_try='test -s conftest$ac_exeext'
34737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34738 (eval $ac_try) 2>&5
34739 ac_status=$?
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); }; }; then
34742 eval "$as_ac_var=yes"
34743 else
34744 echo "$as_me: failed program was:" >&5
34745 sed 's/^/| /' conftest.$ac_ext >&5
34746
34747 eval "$as_ac_var=no"
34748 fi
34749 rm -f conftest.err conftest.$ac_objext \
34750 conftest$ac_exeext conftest.$ac_ext
34751 fi
34752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34754 if test `eval echo '${'$as_ac_var'}'` = yes; then
34755 cat >>confdefs.h <<_ACEOF
34756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34757 _ACEOF
34758
34759 fi
34760 done
34761
34762
34763 if test "$ac_cv_func_vsnprintf" = "yes"; then
34764 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34765 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34766 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34768 else
34769
34770 cat >conftest.$ac_ext <<_ACEOF
34771 /* confdefs.h. */
34772 _ACEOF
34773 cat confdefs.h >>conftest.$ac_ext
34774 cat >>conftest.$ac_ext <<_ACEOF
34775 /* end confdefs.h. */
34776
34777 #include <stdio.h>
34778 #include <stdarg.h>
34779 #ifdef __MSL__
34780 #if __MSL__ >= 0x6000
34781 namespace std {}
34782 using namespace std;
34783 #endif
34784 #endif
34785
34786 int
34787 main ()
34788 {
34789
34790 char *buf;
34791 va_list ap;
34792 vsnprintf(buf, 10u, "%s", ap);
34793
34794 ;
34795 return 0;
34796 }
34797 _ACEOF
34798 rm -f conftest.$ac_objext
34799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34800 (eval $ac_compile) 2>conftest.er1
34801 ac_status=$?
34802 grep -v '^ *+' conftest.er1 >conftest.err
34803 rm -f conftest.er1
34804 cat conftest.err >&5
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); } &&
34807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; } &&
34813 { ac_try='test -s conftest.$ac_objext'
34814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815 (eval $ac_try) 2>&5
34816 ac_status=$?
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; }; then
34819 wx_cv_func_vsnprintf_decl=yes
34820 else
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34823
34824 wx_cv_func_vsnprintf_decl=no
34825
34826 fi
34827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34828
34829
34830 fi
34831 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34832 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34833
34834 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34835 cat >>confdefs.h <<\_ACEOF
34836 #define HAVE_VSNPRINTF_DECL 1
34837 _ACEOF
34838
34839
34840 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34841 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34842 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34843 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 else
34845
34846 cat >conftest.$ac_ext <<_ACEOF
34847 /* confdefs.h. */
34848 _ACEOF
34849 cat confdefs.h >>conftest.$ac_ext
34850 cat >>conftest.$ac_ext <<_ACEOF
34851 /* end confdefs.h. */
34852
34853 #include <stdio.h>
34854 #include <stdarg.h>
34855 #ifdef __MSL__
34856 #if __MSL__ >= 0x6000
34857 namespace std {}
34858 using namespace std;
34859 #endif
34860 #endif
34861
34862 int
34863 main ()
34864 {
34865
34866 char *buf;
34867 va_list ap;
34868 const char *fmt = "%s";
34869 vsnprintf(buf, 10u, fmt, ap);
34870
34871 ;
34872 return 0;
34873 }
34874 _ACEOF
34875 rm -f conftest.$ac_objext
34876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34877 (eval $ac_compile) 2>conftest.er1
34878 ac_status=$?
34879 grep -v '^ *+' conftest.er1 >conftest.err
34880 rm -f conftest.er1
34881 cat conftest.err >&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); } &&
34884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886 (eval $ac_try) 2>&5
34887 ac_status=$?
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); }; } &&
34890 { ac_try='test -s conftest.$ac_objext'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34893 ac_status=$?
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; }; then
34896 wx_cv_func_broken_vsnprintf_decl=no
34897 else
34898 echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.$ac_ext >&5
34900
34901 wx_cv_func_broken_vsnprintf_decl=yes
34902
34903 fi
34904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34905
34906
34907 fi
34908 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34909 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34910
34911 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34912 cat >>confdefs.h <<\_ACEOF
34913 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34914 _ACEOF
34915
34916 fi
34917 fi
34918 fi
34919
34920 if test "$ac_cv_func_snprintf" = "yes"; then
34921 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34922 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34923 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 else
34926
34927 cat >conftest.$ac_ext <<_ACEOF
34928 /* confdefs.h. */
34929 _ACEOF
34930 cat confdefs.h >>conftest.$ac_ext
34931 cat >>conftest.$ac_ext <<_ACEOF
34932 /* end confdefs.h. */
34933
34934 #include <stdio.h>
34935 #include <stdarg.h>
34936 #ifdef __MSL__
34937 #if __MSL__ >= 0x6000
34938 namespace std {}
34939 using namespace std;
34940 #endif
34941 #endif
34942
34943 int
34944 main ()
34945 {
34946
34947 char *buf;
34948 snprintf(buf, 10u, "%s", "wx");
34949
34950 ;
34951 return 0;
34952 }
34953 _ACEOF
34954 rm -f conftest.$ac_objext
34955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34956 (eval $ac_compile) 2>conftest.er1
34957 ac_status=$?
34958 grep -v '^ *+' conftest.er1 >conftest.err
34959 rm -f conftest.er1
34960 cat conftest.err >&5
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); } &&
34963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; } &&
34969 { ac_try='test -s conftest.$ac_objext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34972 ac_status=$?
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34975 wx_cv_func_snprintf_decl=yes
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34979
34980 wx_cv_func_snprintf_decl=no
34981
34982 fi
34983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34984
34985
34986 fi
34987 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34988 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34989
34990 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34991 cat >>confdefs.h <<\_ACEOF
34992 #define HAVE_SNPRINTF_DECL 1
34993 _ACEOF
34994
34995
34996 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34997 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34998 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34999 echo $ECHO_N "(cached) $ECHO_C" >&6
35000 else
35001
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008
35009 #include <stdio.h>
35010 #include <stdarg.h>
35011 #ifdef __MSL__
35012 #if __MSL__ >= 0x6000
35013 namespace std {}
35014 using namespace std;
35015 #endif
35016 #endif
35017
35018 int
35019 main ()
35020 {
35021
35022 char *buf;
35023 const char *fmt = "%s";
35024 snprintf(buf, 10u, fmt, "wx");
35025
35026 ;
35027 return 0;
35028 }
35029 _ACEOF
35030 rm -f conftest.$ac_objext
35031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35032 (eval $ac_compile) 2>conftest.er1
35033 ac_status=$?
35034 grep -v '^ *+' conftest.er1 >conftest.err
35035 rm -f conftest.er1
35036 cat conftest.err >&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); } &&
35039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35041 (eval $ac_try) 2>&5
35042 ac_status=$?
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; } &&
35045 { ac_try='test -s conftest.$ac_objext'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35048 ac_status=$?
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; }; then
35051 wx_cv_func_broken_snprintf_decl=no
35052 else
35053 echo "$as_me: failed program was:" >&5
35054 sed 's/^/| /' conftest.$ac_ext >&5
35055
35056 wx_cv_func_broken_snprintf_decl=yes
35057
35058 fi
35059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35060
35061
35062 fi
35063 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35064 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35065
35066 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35067 cat >>confdefs.h <<\_ACEOF
35068 #define HAVE_BROKEN_SNPRINTF_DECL 1
35069 _ACEOF
35070
35071 fi
35072 fi
35073
35074 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35075
35076 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35077 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35078 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35079 echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081
35082 if test "$cross_compiling" = yes; then
35083
35084 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35085 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35086 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35087 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35088 wx_cv_func_snprintf_pos_params=no
35089
35090
35091 else
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h. */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35098
35099 #include <stdio.h>
35100
35101 int main (void)
35102 {
35103 char buffer[128];
35104 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35105 if (strcmp ("2 3 1", buffer) == 0)
35106 exit (0);
35107 exit (1);
35108 }
35109
35110 _ACEOF
35111 rm -f conftest$ac_exeext
35112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35113 (eval $ac_link) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35119 ac_status=$?
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; }; then
35122 wx_cv_func_snprintf_pos_params=no
35123 else
35124 echo "$as_me: program exited with status $ac_status" >&5
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 ( exit $ac_status )
35129 wx_cv_func_snprintf_pos_params=yes
35130 fi
35131 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35132 fi
35133
35134
35135 fi
35136 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35137 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35138
35139 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35140 cat >>confdefs.h <<\_ACEOF
35141 #define HAVE_UNIX98_PRINTF 1
35142 _ACEOF
35143
35144 fi
35145 fi
35146 fi
35147
35148 if test "$wxUSE_UNICODE" = yes; then
35149
35150
35151 for ac_func in swprintf
35152 do
35153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35154 echo "$as_me:$LINENO: checking for $ac_func" >&5
35155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35156 if eval "test \"\${$as_ac_var+set}\" = set"; then
35157 echo $ECHO_N "(cached) $ECHO_C" >&6
35158 else
35159 cat >conftest.$ac_ext <<_ACEOF
35160 /* confdefs.h. */
35161 _ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35167 #define $ac_func innocuous_$ac_func
35168
35169 /* System header to define __stub macros and hopefully few prototypes,
35170 which can conflict with char $ac_func (); below.
35171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35172 <limits.h> exists even on freestanding compilers. */
35173
35174 #ifdef __STDC__
35175 # include <limits.h>
35176 #else
35177 # include <assert.h>
35178 #endif
35179
35180 #undef $ac_func
35181
35182 /* Override any gcc2 internal prototype to avoid an error. */
35183 #ifdef __cplusplus
35184 extern "C"
35185 {
35186 #endif
35187 /* We use char because int might match the return type of a gcc2
35188 builtin and then its argument prototype would still apply. */
35189 char $ac_func ();
35190 /* The GNU C library defines this for functions which it implements
35191 to always fail with ENOSYS. Some functions are actually named
35192 something starting with __ and the normal name is an alias. */
35193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35194 choke me
35195 #else
35196 char (*f) () = $ac_func;
35197 #endif
35198 #ifdef __cplusplus
35199 }
35200 #endif
35201
35202 int
35203 main ()
35204 {
35205 return f != $ac_func;
35206 ;
35207 return 0;
35208 }
35209 _ACEOF
35210 rm -f conftest.$ac_objext conftest$ac_exeext
35211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35212 (eval $ac_link) 2>conftest.er1
35213 ac_status=$?
35214 grep -v '^ *+' conftest.er1 >conftest.err
35215 rm -f conftest.er1
35216 cat conftest.err >&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); } &&
35219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35221 (eval $ac_try) 2>&5
35222 ac_status=$?
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); }; } &&
35225 { ac_try='test -s conftest$ac_exeext'
35226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35227 (eval $ac_try) 2>&5
35228 ac_status=$?
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); }; }; then
35231 eval "$as_ac_var=yes"
35232 else
35233 echo "$as_me: failed program was:" >&5
35234 sed 's/^/| /' conftest.$ac_ext >&5
35235
35236 eval "$as_ac_var=no"
35237 fi
35238 rm -f conftest.err conftest.$ac_objext \
35239 conftest$ac_exeext conftest.$ac_ext
35240 fi
35241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35243 if test `eval echo '${'$as_ac_var'}'` = yes; then
35244 cat >>confdefs.h <<_ACEOF
35245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35246 _ACEOF
35247
35248 fi
35249 done
35250
35251
35252 if test "$ac_cv_func_swprintf" = "yes"; then
35253 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35254 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35255 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258
35259 cat >conftest.$ac_ext <<_ACEOF
35260 /* confdefs.h. */
35261 _ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35265
35266 #include <stdio.h>
35267 #include <stdarg.h>
35268 #include <wchar.h>
35269
35270 int
35271 main ()
35272 {
35273
35274 wchar_t *buf;
35275 const wchar_t *fmt = L"test";
35276 swprintf(buf, 10u, fmt);
35277
35278 ;
35279 return 0;
35280 }
35281 _ACEOF
35282 rm -f conftest.$ac_objext
35283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35284 (eval $ac_compile) 2>conftest.er1
35285 ac_status=$?
35286 grep -v '^ *+' conftest.er1 >conftest.err
35287 rm -f conftest.er1
35288 cat conftest.err >&5
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); } &&
35291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35293 (eval $ac_try) 2>&5
35294 ac_status=$?
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); }; } &&
35297 { ac_try='test -s conftest.$ac_objext'
35298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35299 (eval $ac_try) 2>&5
35300 ac_status=$?
35301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302 (exit $ac_status); }; }; then
35303 wx_cv_func_broken_swprintf_decl=no
35304 else
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35307
35308 wx_cv_func_broken_swprintf_decl=yes
35309
35310 fi
35311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35312
35313
35314 fi
35315 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35316 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35317
35318 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35319 cat >>confdefs.h <<\_ACEOF
35320 #define HAVE_BROKEN_SWPRINTF_DECL 1
35321 _ACEOF
35322
35323 fi
35324 fi
35325
35326
35327
35328
35329
35330
35331
35332 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35333 do
35334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35335 echo "$as_me:$LINENO: checking for $ac_func" >&5
35336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35337 if eval "test \"\${$as_ac_var+set}\" = set"; then
35338 echo $ECHO_N "(cached) $ECHO_C" >&6
35339 else
35340 cat >conftest.$ac_ext <<_ACEOF
35341 /* confdefs.h. */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35348 #define $ac_func innocuous_$ac_func
35349
35350 /* System header to define __stub macros and hopefully few prototypes,
35351 which can conflict with char $ac_func (); below.
35352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35353 <limits.h> exists even on freestanding compilers. */
35354
35355 #ifdef __STDC__
35356 # include <limits.h>
35357 #else
35358 # include <assert.h>
35359 #endif
35360
35361 #undef $ac_func
35362
35363 /* Override any gcc2 internal prototype to avoid an error. */
35364 #ifdef __cplusplus
35365 extern "C"
35366 {
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 $ac_func ();
35371 /* The GNU C library defines this for functions which it implements
35372 to always fail with ENOSYS. Some functions are actually named
35373 something starting with __ and the normal name is an alias. */
35374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35375 choke me
35376 #else
35377 char (*f) () = $ac_func;
35378 #endif
35379 #ifdef __cplusplus
35380 }
35381 #endif
35382
35383 int
35384 main ()
35385 {
35386 return f != $ac_func;
35387 ;
35388 return 0;
35389 }
35390 _ACEOF
35391 rm -f conftest.$ac_objext conftest$ac_exeext
35392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35393 (eval $ac_link) 2>conftest.er1
35394 ac_status=$?
35395 grep -v '^ *+' conftest.er1 >conftest.err
35396 rm -f conftest.er1
35397 cat conftest.err >&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } &&
35400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35402 (eval $ac_try) 2>&5
35403 ac_status=$?
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); }; } &&
35406 { ac_try='test -s conftest$ac_exeext'
35407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35408 (eval $ac_try) 2>&5
35409 ac_status=$?
35410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411 (exit $ac_status); }; }; then
35412 eval "$as_ac_var=yes"
35413 else
35414 echo "$as_me: failed program was:" >&5
35415 sed 's/^/| /' conftest.$ac_ext >&5
35416
35417 eval "$as_ac_var=no"
35418 fi
35419 rm -f conftest.err conftest.$ac_objext \
35420 conftest$ac_exeext conftest.$ac_ext
35421 fi
35422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35424 if test `eval echo '${'$as_ac_var'}'` = yes; then
35425 cat >>confdefs.h <<_ACEOF
35426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35427 _ACEOF
35428
35429 fi
35430 done
35431
35432
35433 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35434 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35435 cat >conftest.$ac_ext <<_ACEOF
35436 /* confdefs.h. */
35437 _ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441 #include <wchar.h>
35442 int
35443 main ()
35444 {
35445 &_vsnwprintf;
35446 ;
35447 return 0;
35448 }
35449 _ACEOF
35450 rm -f conftest.$ac_objext
35451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35452 (eval $ac_compile) 2>conftest.er1
35453 ac_status=$?
35454 grep -v '^ *+' conftest.er1 >conftest.err
35455 rm -f conftest.er1
35456 cat conftest.err >&5
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); } &&
35459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35461 (eval $ac_try) 2>&5
35462 ac_status=$?
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); }; } &&
35465 { ac_try='test -s conftest.$ac_objext'
35466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 (eval $ac_try) 2>&5
35468 ac_status=$?
35469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35470 (exit $ac_status); }; }; then
35471 echo "$as_me:$LINENO: result: yes" >&5
35472 echo "${ECHO_T}yes" >&6
35473 cat >>confdefs.h <<\_ACEOF
35474 #define HAVE__VSNWPRINTF 1
35475 _ACEOF
35476
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 echo "$as_me:$LINENO: result: no" >&5
35482 echo "${ECHO_T}no" >&6
35483 fi
35484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35485 fi
35486
35487 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35488
35489 for ac_func in fnmatch
35490 do
35491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35492 echo "$as_me:$LINENO: checking for $ac_func" >&5
35493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35494 if eval "test \"\${$as_ac_var+set}\" = set"; then
35495 echo $ECHO_N "(cached) $ECHO_C" >&6
35496 else
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h. */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35505 #define $ac_func innocuous_$ac_func
35506
35507 /* System header to define __stub macros and hopefully few prototypes,
35508 which can conflict with char $ac_func (); below.
35509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35510 <limits.h> exists even on freestanding compilers. */
35511
35512 #ifdef __STDC__
35513 # include <limits.h>
35514 #else
35515 # include <assert.h>
35516 #endif
35517
35518 #undef $ac_func
35519
35520 /* Override any gcc2 internal prototype to avoid an error. */
35521 #ifdef __cplusplus
35522 extern "C"
35523 {
35524 #endif
35525 /* We use char because int might match the return type of a gcc2
35526 builtin and then its argument prototype would still apply. */
35527 char $ac_func ();
35528 /* The GNU C library defines this for functions which it implements
35529 to always fail with ENOSYS. Some functions are actually named
35530 something starting with __ and the normal name is an alias. */
35531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35532 choke me
35533 #else
35534 char (*f) () = $ac_func;
35535 #endif
35536 #ifdef __cplusplus
35537 }
35538 #endif
35539
35540 int
35541 main ()
35542 {
35543 return f != $ac_func;
35544 ;
35545 return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext conftest$ac_exeext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35550 (eval $ac_link) 2>conftest.er1
35551 ac_status=$?
35552 grep -v '^ *+' conftest.er1 >conftest.err
35553 rm -f conftest.er1
35554 cat conftest.err >&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } &&
35557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35559 (eval $ac_try) 2>&5
35560 ac_status=$?
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); }; } &&
35563 { ac_try='test -s conftest$ac_exeext'
35564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35565 (eval $ac_try) 2>&5
35566 ac_status=$?
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); }; }; then
35569 eval "$as_ac_var=yes"
35570 else
35571 echo "$as_me: failed program was:" >&5
35572 sed 's/^/| /' conftest.$ac_ext >&5
35573
35574 eval "$as_ac_var=no"
35575 fi
35576 rm -f conftest.err conftest.$ac_objext \
35577 conftest$ac_exeext conftest.$ac_ext
35578 fi
35579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35581 if test `eval echo '${'$as_ac_var'}'` = yes; then
35582 cat >>confdefs.h <<_ACEOF
35583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35584 _ACEOF
35585
35586 fi
35587 done
35588
35589 fi
35590
35591 if test "$wxUSE_FILE" = "yes"; then
35592
35593 for ac_func in fsync
35594 do
35595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35596 echo "$as_me:$LINENO: checking for $ac_func" >&5
35597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35598 if eval "test \"\${$as_ac_var+set}\" = set"; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601 cat >conftest.$ac_ext <<_ACEOF
35602 /* confdefs.h. */
35603 _ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35609 #define $ac_func innocuous_$ac_func
35610
35611 /* System header to define __stub macros and hopefully few prototypes,
35612 which can conflict with char $ac_func (); below.
35613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35614 <limits.h> exists even on freestanding compilers. */
35615
35616 #ifdef __STDC__
35617 # include <limits.h>
35618 #else
35619 # include <assert.h>
35620 #endif
35621
35622 #undef $ac_func
35623
35624 /* Override any gcc2 internal prototype to avoid an error. */
35625 #ifdef __cplusplus
35626 extern "C"
35627 {
35628 #endif
35629 /* We use char because int might match the return type of a gcc2
35630 builtin and then its argument prototype would still apply. */
35631 char $ac_func ();
35632 /* The GNU C library defines this for functions which it implements
35633 to always fail with ENOSYS. Some functions are actually named
35634 something starting with __ and the normal name is an alias. */
35635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35636 choke me
35637 #else
35638 char (*f) () = $ac_func;
35639 #endif
35640 #ifdef __cplusplus
35641 }
35642 #endif
35643
35644 int
35645 main ()
35646 {
35647 return f != $ac_func;
35648 ;
35649 return 0;
35650 }
35651 _ACEOF
35652 rm -f conftest.$ac_objext conftest$ac_exeext
35653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35654 (eval $ac_link) 2>conftest.er1
35655 ac_status=$?
35656 grep -v '^ *+' conftest.er1 >conftest.err
35657 rm -f conftest.er1
35658 cat conftest.err >&5
35659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); } &&
35661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35663 (eval $ac_try) 2>&5
35664 ac_status=$?
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); }; } &&
35667 { ac_try='test -s conftest$ac_exeext'
35668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669 (eval $ac_try) 2>&5
35670 ac_status=$?
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); }; }; then
35673 eval "$as_ac_var=yes"
35674 else
35675 echo "$as_me: failed program was:" >&5
35676 sed 's/^/| /' conftest.$ac_ext >&5
35677
35678 eval "$as_ac_var=no"
35679 fi
35680 rm -f conftest.err conftest.$ac_objext \
35681 conftest$ac_exeext conftest.$ac_ext
35682 fi
35683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35685 if test `eval echo '${'$as_ac_var'}'` = yes; then
35686 cat >>confdefs.h <<_ACEOF
35687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35688 _ACEOF
35689
35690 fi
35691 done
35692
35693 fi
35694
35695
35696 for ac_func in round
35697 do
35698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35699 echo "$as_me:$LINENO: checking for $ac_func" >&5
35700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35701 if eval "test \"\${$as_ac_var+set}\" = set"; then
35702 echo $ECHO_N "(cached) $ECHO_C" >&6
35703 else
35704 cat >conftest.$ac_ext <<_ACEOF
35705 /* confdefs.h. */
35706 _ACEOF
35707 cat confdefs.h >>conftest.$ac_ext
35708 cat >>conftest.$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35712 #define $ac_func innocuous_$ac_func
35713
35714 /* System header to define __stub macros and hopefully few prototypes,
35715 which can conflict with char $ac_func (); below.
35716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35717 <limits.h> exists even on freestanding compilers. */
35718
35719 #ifdef __STDC__
35720 # include <limits.h>
35721 #else
35722 # include <assert.h>
35723 #endif
35724
35725 #undef $ac_func
35726
35727 /* Override any gcc2 internal prototype to avoid an error. */
35728 #ifdef __cplusplus
35729 extern "C"
35730 {
35731 #endif
35732 /* We use char because int might match the return type of a gcc2
35733 builtin and then its argument prototype would still apply. */
35734 char $ac_func ();
35735 /* The GNU C library defines this for functions which it implements
35736 to always fail with ENOSYS. Some functions are actually named
35737 something starting with __ and the normal name is an alias. */
35738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35739 choke me
35740 #else
35741 char (*f) () = $ac_func;
35742 #endif
35743 #ifdef __cplusplus
35744 }
35745 #endif
35746
35747 int
35748 main ()
35749 {
35750 return f != $ac_func;
35751 ;
35752 return 0;
35753 }
35754 _ACEOF
35755 rm -f conftest.$ac_objext conftest$ac_exeext
35756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35757 (eval $ac_link) 2>conftest.er1
35758 ac_status=$?
35759 grep -v '^ *+' conftest.er1 >conftest.err
35760 rm -f conftest.er1
35761 cat conftest.err >&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } &&
35764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35767 ac_status=$?
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; } &&
35770 { ac_try='test -s conftest$ac_exeext'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35773 ac_status=$?
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; }; then
35776 eval "$as_ac_var=yes"
35777 else
35778 echo "$as_me: failed program was:" >&5
35779 sed 's/^/| /' conftest.$ac_ext >&5
35780
35781 eval "$as_ac_var=no"
35782 fi
35783 rm -f conftest.err conftest.$ac_objext \
35784 conftest$ac_exeext conftest.$ac_ext
35785 fi
35786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35788 if test `eval echo '${'$as_ac_var'}'` = yes; then
35789 cat >>confdefs.h <<_ACEOF
35790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 _ACEOF
35792
35793 fi
35794 done
35795
35796 if test "$ac_cv_func_round" = yes; then
35797 echo "$as_me:$LINENO: checking whether round is declared" >&5
35798 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35799 if test "${ac_cv_have_decl_round+set}" = set; then
35800 echo $ECHO_N "(cached) $ECHO_C" >&6
35801 else
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 #include <math.h>
35809
35810 int
35811 main ()
35812 {
35813 #ifndef round
35814 char *p = (char *) round;
35815 #endif
35816
35817 ;
35818 return 0;
35819 }
35820 _ACEOF
35821 rm -f conftest.$ac_objext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35823 (eval $ac_compile) 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; } &&
35836 { ac_try='test -s conftest.$ac_objext'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; }; then
35842 ac_cv_have_decl_round=yes
35843 else
35844 echo "$as_me: failed program was:" >&5
35845 sed 's/^/| /' conftest.$ac_ext >&5
35846
35847 ac_cv_have_decl_round=no
35848 fi
35849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35850 fi
35851 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35852 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35853 if test $ac_cv_have_decl_round = yes; then
35854
35855 cat >>confdefs.h <<_ACEOF
35856 #define HAVE_DECL_ROUND 1
35857 _ACEOF
35858
35859
35860 else
35861 cat >>confdefs.h <<_ACEOF
35862 #define HAVE_DECL_ROUND 0
35863 _ACEOF
35864
35865
35866 fi
35867
35868
35869 fi
35870
35871
35872 if test "$TOOLKIT" != "MSW"; then
35873
35874
35875
35876
35877
35878 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35879 if test "${with_libiconv_prefix+set}" = set; then
35880 withval="$with_libiconv_prefix"
35881
35882 for dir in `echo "$withval" | tr : ' '`; do
35883 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35884 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35885 done
35886
35887 fi;
35888
35889 echo "$as_me:$LINENO: checking for iconv" >&5
35890 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35891 if test "${am_cv_func_iconv+set}" = set; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 else
35894
35895 am_cv_func_iconv="no, consider installing GNU libiconv"
35896 am_cv_lib_iconv=no
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 #include <stdlib.h>
35904 #include <iconv.h>
35905 int
35906 main ()
35907 {
35908 iconv_t cd = iconv_open("","");
35909 iconv(cd,NULL,NULL,NULL,NULL);
35910 iconv_close(cd);
35911 ;
35912 return 0;
35913 }
35914 _ACEOF
35915 rm -f conftest.$ac_objext conftest$ac_exeext
35916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35917 (eval $ac_link) 2>conftest.er1
35918 ac_status=$?
35919 grep -v '^ *+' conftest.er1 >conftest.err
35920 rm -f conftest.er1
35921 cat conftest.err >&5
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); } &&
35924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35926 (eval $ac_try) 2>&5
35927 ac_status=$?
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); }; } &&
35930 { ac_try='test -s conftest$ac_exeext'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35933 ac_status=$?
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; }; then
35936 am_cv_func_iconv=yes
35937 else
35938 echo "$as_me: failed program was:" >&5
35939 sed 's/^/| /' conftest.$ac_ext >&5
35940
35941 fi
35942 rm -f conftest.err conftest.$ac_objext \
35943 conftest$ac_exeext conftest.$ac_ext
35944 if test "$am_cv_func_iconv" != yes; then
35945 am_save_LIBS="$LIBS"
35946 LIBS="$LIBS -liconv"
35947 cat >conftest.$ac_ext <<_ACEOF
35948 /* confdefs.h. */
35949 _ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953 #include <stdlib.h>
35954 #include <iconv.h>
35955 int
35956 main ()
35957 {
35958 iconv_t cd = iconv_open("","");
35959 iconv(cd,NULL,NULL,NULL,NULL);
35960 iconv_close(cd);
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext conftest$ac_exeext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35967 (eval $ac_link) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35977 ac_status=$?
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try='test -s conftest$ac_exeext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35983 ac_status=$?
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35986 am_cv_lib_iconv=yes
35987 am_cv_func_iconv=yes
35988 else
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35991
35992 fi
35993 rm -f conftest.err conftest.$ac_objext \
35994 conftest$ac_exeext conftest.$ac_ext
35995 LIBS="$am_save_LIBS"
35996 fi
35997
35998 fi
35999 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36000 echo "${ECHO_T}$am_cv_func_iconv" >&6
36001 if test "$am_cv_func_iconv" = yes; then
36002
36003 cat >>confdefs.h <<\_ACEOF
36004 #define HAVE_ICONV 1
36005 _ACEOF
36006
36007 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36008 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36009 if test "${wx_cv_func_iconv_const+set}" = set; then
36010 echo $ECHO_N "(cached) $ECHO_C" >&6
36011 else
36012 cat >conftest.$ac_ext <<_ACEOF
36013 /* confdefs.h. */
36014 _ACEOF
36015 cat confdefs.h >>conftest.$ac_ext
36016 cat >>conftest.$ac_ext <<_ACEOF
36017 /* end confdefs.h. */
36018
36019 #include <stdlib.h>
36020 #include <iconv.h>
36021 extern
36022 #ifdef __cplusplus
36023 "C"
36024 #endif
36025 #if defined(__STDC__) || defined(__cplusplus)
36026 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36027 #else
36028 size_t iconv();
36029 #endif
36030
36031 int
36032 main ()
36033 {
36034
36035 ;
36036 return 0;
36037 }
36038 _ACEOF
36039 rm -f conftest.$ac_objext
36040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36041 (eval $ac_compile) 2>conftest.er1
36042 ac_status=$?
36043 grep -v '^ *+' conftest.er1 >conftest.err
36044 rm -f conftest.er1
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } &&
36048 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36050 (eval $ac_try) 2>&5
36051 ac_status=$?
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); }; } &&
36054 { ac_try='test -s conftest.$ac_objext'
36055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36056 (eval $ac_try) 2>&5
36057 ac_status=$?
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); }; }; then
36060 wx_cv_func_iconv_const="no"
36061 else
36062 echo "$as_me: failed program was:" >&5
36063 sed 's/^/| /' conftest.$ac_ext >&5
36064
36065 wx_cv_func_iconv_const="yes"
36066
36067 fi
36068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36069
36070 fi
36071 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36072 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36073
36074 iconv_const=
36075 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36076 iconv_const="const"
36077 fi
36078
36079
36080 cat >>confdefs.h <<_ACEOF
36081 #define ICONV_CONST $iconv_const
36082 _ACEOF
36083
36084 fi
36085 LIBICONV=
36086 if test "$am_cv_lib_iconv" = yes; then
36087 LIBICONV="-liconv"
36088 fi
36089
36090
36091 LIBS="$LIBICONV $LIBS"
36092
36093 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36094
36095 for ac_func in sigaction
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_sigaction" = "no"; then
36197 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36198 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36199 wxUSE_ON_FATAL_EXCEPTION=no
36200 fi
36201
36202 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36203 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36204 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36205 if test "${wx_cv_type_sa_handler+set}" = set; then
36206 echo $ECHO_N "(cached) $ECHO_C" >&6
36207 else
36208
36209 cat >conftest.$ac_ext <<_ACEOF
36210 /* confdefs.h. */
36211 _ACEOF
36212 cat confdefs.h >>conftest.$ac_ext
36213 cat >>conftest.$ac_ext <<_ACEOF
36214 /* end confdefs.h. */
36215 #include <signal.h>
36216 int
36217 main ()
36218 {
36219
36220 extern void testSigHandler(int);
36221
36222 struct sigaction sa;
36223 sa.sa_handler = testSigHandler;
36224
36225 ;
36226 return 0;
36227 }
36228 _ACEOF
36229 rm -f conftest.$ac_objext
36230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36231 (eval $ac_compile) 2>conftest.er1
36232 ac_status=$?
36233 grep -v '^ *+' conftest.er1 >conftest.err
36234 rm -f conftest.er1
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } &&
36238 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36241 ac_status=$?
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; } &&
36244 { ac_try='test -s conftest.$ac_objext'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; }; then
36250
36251 wx_cv_type_sa_handler=int
36252
36253 else
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.$ac_ext >&5
36256
36257
36258 wx_cv_type_sa_handler=void
36259
36260 fi
36261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36262
36263 fi
36264 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36265 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36266
36267 cat >>confdefs.h <<_ACEOF
36268 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36269 _ACEOF
36270
36271 fi
36272 fi
36273
36274 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36275 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36276 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36277 if test "${wx_cv_func_backtrace+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280
36281 cat >conftest.$ac_ext <<_ACEOF
36282 /* confdefs.h. */
36283 _ACEOF
36284 cat confdefs.h >>conftest.$ac_ext
36285 cat >>conftest.$ac_ext <<_ACEOF
36286 /* end confdefs.h. */
36287 #include <execinfo.h>
36288 int
36289 main ()
36290 {
36291
36292 void *trace[1];
36293 char **messages;
36294
36295 backtrace(trace, 1);
36296 messages = backtrace_symbols(trace, 1);
36297
36298 ;
36299 return 0;
36300 }
36301 _ACEOF
36302 rm -f conftest.$ac_objext
36303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36304 (eval $ac_compile) 2>conftest.er1
36305 ac_status=$?
36306 grep -v '^ *+' conftest.er1 >conftest.err
36307 rm -f conftest.er1
36308 cat conftest.err >&5
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); } &&
36311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; } &&
36317 { ac_try='test -s conftest.$ac_objext'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36320 ac_status=$?
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; }; then
36323 wx_cv_func_backtrace=yes
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36327
36328 wx_cv_func_backtrace=no
36329
36330 fi
36331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36332
36333
36334 fi
36335 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36336 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36337
36338
36339 if test "$wx_cv_func_backtrace" = "no"; then
36340 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36341 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36342 wxUSE_STACKWALKER=no
36343 else
36344 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36345 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36346 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36347 echo $ECHO_N "(cached) $ECHO_C" >&6
36348 else
36349
36350 cat >conftest.$ac_ext <<_ACEOF
36351 /* confdefs.h. */
36352 _ACEOF
36353 cat confdefs.h >>conftest.$ac_ext
36354 cat >>conftest.$ac_ext <<_ACEOF
36355 /* end confdefs.h. */
36356 #include <cxxabi.h>
36357 int
36358 main ()
36359 {
36360
36361 int rc;
36362 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36363
36364 ;
36365 return 0;
36366 }
36367 _ACEOF
36368 rm -f conftest.$ac_objext conftest$ac_exeext
36369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36370 (eval $ac_link) 2>conftest.er1
36371 ac_status=$?
36372 grep -v '^ *+' conftest.er1 >conftest.err
36373 rm -f conftest.er1
36374 cat conftest.err >&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } &&
36377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36379 (eval $ac_try) 2>&5
36380 ac_status=$?
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); }; } &&
36383 { ac_try='test -s conftest$ac_exeext'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36386 ac_status=$?
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; }; then
36389 wx_cv_func_cxa_demangle=yes
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 wx_cv_func_cxa_demangle=no
36395
36396 fi
36397 rm -f conftest.err conftest.$ac_objext \
36398 conftest$ac_exeext conftest.$ac_ext
36399
36400
36401 fi
36402 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36403 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36404
36405 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36406 cat >>confdefs.h <<\_ACEOF
36407 #define HAVE_CXA_DEMANGLE 1
36408 _ACEOF
36409
36410 fi
36411 fi
36412 fi
36413
36414 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36415 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36416 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36417 wxUSE_STACKWALKER=no
36418 fi
36419
36420
36421
36422
36423 for ac_func in mkstemp mktemp
36424 do
36425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36426 echo "$as_me:$LINENO: checking for $ac_func" >&5
36427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36428 if eval "test \"\${$as_ac_var+set}\" = set"; then
36429 echo $ECHO_N "(cached) $ECHO_C" >&6
36430 else
36431 cat >conftest.$ac_ext <<_ACEOF
36432 /* confdefs.h. */
36433 _ACEOF
36434 cat confdefs.h >>conftest.$ac_ext
36435 cat >>conftest.$ac_ext <<_ACEOF
36436 /* end confdefs.h. */
36437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36439 #define $ac_func innocuous_$ac_func
36440
36441 /* System header to define __stub macros and hopefully few prototypes,
36442 which can conflict with char $ac_func (); below.
36443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36444 <limits.h> exists even on freestanding compilers. */
36445
36446 #ifdef __STDC__
36447 # include <limits.h>
36448 #else
36449 # include <assert.h>
36450 #endif
36451
36452 #undef $ac_func
36453
36454 /* Override any gcc2 internal prototype to avoid an error. */
36455 #ifdef __cplusplus
36456 extern "C"
36457 {
36458 #endif
36459 /* We use char because int might match the return type of a gcc2
36460 builtin and then its argument prototype would still apply. */
36461 char $ac_func ();
36462 /* The GNU C library defines this for functions which it implements
36463 to always fail with ENOSYS. Some functions are actually named
36464 something starting with __ and the normal name is an alias. */
36465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36466 choke me
36467 #else
36468 char (*f) () = $ac_func;
36469 #endif
36470 #ifdef __cplusplus
36471 }
36472 #endif
36473
36474 int
36475 main ()
36476 {
36477 return f != $ac_func;
36478 ;
36479 return 0;
36480 }
36481 _ACEOF
36482 rm -f conftest.$ac_objext conftest$ac_exeext
36483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36484 (eval $ac_link) 2>conftest.er1
36485 ac_status=$?
36486 grep -v '^ *+' conftest.er1 >conftest.err
36487 rm -f conftest.er1
36488 cat conftest.err >&5
36489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 (exit $ac_status); } &&
36491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36493 (eval $ac_try) 2>&5
36494 ac_status=$?
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); }; } &&
36497 { ac_try='test -s conftest$ac_exeext'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36500 ac_status=$?
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; }; then
36503 eval "$as_ac_var=yes"
36504 else
36505 echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.$ac_ext >&5
36507
36508 eval "$as_ac_var=no"
36509 fi
36510 rm -f conftest.err conftest.$ac_objext \
36511 conftest$ac_exeext conftest.$ac_ext
36512 fi
36513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36515 if test `eval echo '${'$as_ac_var'}'` = yes; then
36516 cat >>confdefs.h <<_ACEOF
36517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36518 _ACEOF
36519 break
36520 fi
36521 done
36522
36523
36524 echo "$as_me:$LINENO: checking for statfs" >&5
36525 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36526 if test "${wx_cv_func_statfs+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535
36536 #if defined(__BSD__)
36537 #include <sys/param.h>
36538 #include <sys/mount.h>
36539 #else
36540 #include <sys/vfs.h>
36541 #endif
36542
36543 int
36544 main ()
36545 {
36546
36547 long l;
36548 struct statfs fs;
36549 statfs("/", &fs);
36550 l = fs.f_bsize;
36551 l += fs.f_blocks;
36552 l += fs.f_bavail;
36553
36554 ;
36555 return 0;
36556 }
36557 _ACEOF
36558 rm -f conftest.$ac_objext
36559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36560 (eval $ac_compile) 2>conftest.er1
36561 ac_status=$?
36562 grep -v '^ *+' conftest.er1 >conftest.err
36563 rm -f conftest.er1
36564 cat conftest.err >&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } &&
36567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try='test -s conftest.$ac_objext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36576 ac_status=$?
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 wx_cv_func_statfs=yes
36580 else
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584 wx_cv_func_statfs=no
36585
36586 fi
36587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36588
36589 fi
36590 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36591 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36592
36593 if test "$wx_cv_func_statfs" = "yes"; then
36594 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36595 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36596 if test "${wx_cv_func_statfs_decl+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 else
36599 cat >conftest.$ac_ext <<_ACEOF
36600 /* confdefs.h. */
36601 _ACEOF
36602 cat confdefs.h >>conftest.$ac_ext
36603 cat >>conftest.$ac_ext <<_ACEOF
36604 /* end confdefs.h. */
36605
36606 #if defined(__BSD__)
36607 #include <sys/param.h>
36608 #include <sys/mount.h>
36609 #else
36610 #include <sys/vfs.h>
36611 #endif
36612
36613 int
36614 main ()
36615 {
36616
36617 struct statfs fs;
36618 statfs("", &fs);
36619
36620 ;
36621 return 0;
36622 }
36623 _ACEOF
36624 rm -f conftest.$ac_objext
36625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36626 (eval $ac_compile) 2>conftest.er1
36627 ac_status=$?
36628 grep -v '^ *+' conftest.er1 >conftest.err
36629 rm -f conftest.er1
36630 cat conftest.err >&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); } &&
36633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; } &&
36639 { ac_try='test -s conftest.$ac_objext'
36640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36641 (eval $ac_try) 2>&5
36642 ac_status=$?
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); }; }; then
36645 wx_cv_func_statfs_decl=yes
36646 else
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36649
36650 wx_cv_func_statfs_decl=no
36651
36652 fi
36653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36654
36655 fi
36656 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36657 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36658
36659 if test "$wx_cv_func_statfs_decl" = "yes"; then
36660 cat >>confdefs.h <<\_ACEOF
36661 #define HAVE_STATFS_DECL 1
36662 _ACEOF
36663
36664 fi
36665
36666 wx_cv_type_statvfs_t="struct statfs"
36667 cat >>confdefs.h <<\_ACEOF
36668 #define HAVE_STATFS 1
36669 _ACEOF
36670
36671 else
36672 echo "$as_me:$LINENO: checking for statvfs" >&5
36673 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36674 if test "${wx_cv_func_statvfs+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677 cat >conftest.$ac_ext <<_ACEOF
36678 /* confdefs.h. */
36679 _ACEOF
36680 cat confdefs.h >>conftest.$ac_ext
36681 cat >>conftest.$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683
36684 #include <stddef.h>
36685 #include <sys/statvfs.h>
36686
36687 int
36688 main ()
36689 {
36690
36691 statvfs("/", NULL);
36692
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 rm -f conftest.$ac_objext
36698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36699 (eval $ac_compile) 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } &&
36706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36709 ac_status=$?
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; } &&
36712 { ac_try='test -s conftest.$ac_objext'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; }; then
36718 wx_cv_func_statvfs=yes
36719 else
36720 echo "$as_me: failed program was:" >&5
36721 sed 's/^/| /' conftest.$ac_ext >&5
36722
36723 wx_cv_func_statvfs=no
36724
36725 fi
36726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36727
36728 fi
36729 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36730 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36731
36732 if test "$wx_cv_func_statvfs" = "yes"; then
36733 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36734 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36735 if test "${wx_cv_type_statvfs_t+set}" = set; then
36736 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 else
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744
36745 #include <sys/statvfs.h>
36746
36747 int
36748 main ()
36749 {
36750
36751 long l;
36752 statvfs_t fs;
36753 statvfs("/", &fs);
36754 l = fs.f_bsize;
36755 l += fs.f_blocks;
36756 l += fs.f_bavail;
36757
36758 ;
36759 return 0;
36760 }
36761 _ACEOF
36762 rm -f conftest.$ac_objext
36763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36764 (eval $ac_compile) 2>conftest.er1
36765 ac_status=$?
36766 grep -v '^ *+' conftest.er1 >conftest.err
36767 rm -f conftest.er1
36768 cat conftest.err >&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } &&
36771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36773 (eval $ac_try) 2>&5
36774 ac_status=$?
36775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36776 (exit $ac_status); }; } &&
36777 { ac_try='test -s conftest.$ac_objext'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36780 ac_status=$?
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; }; then
36783 wx_cv_type_statvfs_t=statvfs_t
36784 else
36785 echo "$as_me: failed program was:" >&5
36786 sed 's/^/| /' conftest.$ac_ext >&5
36787
36788
36789 cat >conftest.$ac_ext <<_ACEOF
36790 /* confdefs.h. */
36791 _ACEOF
36792 cat confdefs.h >>conftest.$ac_ext
36793 cat >>conftest.$ac_ext <<_ACEOF
36794 /* end confdefs.h. */
36795
36796 #include <sys/statvfs.h>
36797
36798 int
36799 main ()
36800 {
36801
36802 long l;
36803 struct statvfs fs;
36804 statvfs("/", &fs);
36805 l = fs.f_bsize;
36806 l += fs.f_blocks;
36807 l += fs.f_bavail;
36808
36809 ;
36810 return 0;
36811 }
36812 _ACEOF
36813 rm -f conftest.$ac_objext
36814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36815 (eval $ac_compile) 2>conftest.er1
36816 ac_status=$?
36817 grep -v '^ *+' conftest.er1 >conftest.err
36818 rm -f conftest.er1
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } &&
36822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36825 ac_status=$?
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; } &&
36828 { ac_try='test -s conftest.$ac_objext'
36829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830 (eval $ac_try) 2>&5
36831 ac_status=$?
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); }; }; then
36834 wx_cv_type_statvfs_t="struct statvfs"
36835 else
36836 echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36838
36839 wx_cv_type_statvfs_t="unknown"
36840
36841 fi
36842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36843
36844
36845 fi
36846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36847
36848 fi
36849 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36850 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36851
36852 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36853 cat >>confdefs.h <<\_ACEOF
36854 #define HAVE_STATVFS 1
36855 _ACEOF
36856
36857 fi
36858 else
36859 wx_cv_type_statvfs_t="unknown"
36860 fi
36861 fi
36862
36863 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36864 cat >>confdefs.h <<_ACEOF
36865 #define WX_STATFS_T $wx_cv_type_statvfs_t
36866 _ACEOF
36867
36868 else
36869 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36870 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36871 fi
36872
36873 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36874
36875
36876 for ac_func in fcntl flock
36877 do
36878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36879 echo "$as_me:$LINENO: checking for $ac_func" >&5
36880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36881 if eval "test \"\${$as_ac_var+set}\" = set"; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 else
36884 cat >conftest.$ac_ext <<_ACEOF
36885 /* confdefs.h. */
36886 _ACEOF
36887 cat confdefs.h >>conftest.$ac_ext
36888 cat >>conftest.$ac_ext <<_ACEOF
36889 /* end confdefs.h. */
36890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36892 #define $ac_func innocuous_$ac_func
36893
36894 /* System header to define __stub macros and hopefully few prototypes,
36895 which can conflict with char $ac_func (); below.
36896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36897 <limits.h> exists even on freestanding compilers. */
36898
36899 #ifdef __STDC__
36900 # include <limits.h>
36901 #else
36902 # include <assert.h>
36903 #endif
36904
36905 #undef $ac_func
36906
36907 /* Override any gcc2 internal prototype to avoid an error. */
36908 #ifdef __cplusplus
36909 extern "C"
36910 {
36911 #endif
36912 /* We use char because int might match the return type of a gcc2
36913 builtin and then its argument prototype would still apply. */
36914 char $ac_func ();
36915 /* The GNU C library defines this for functions which it implements
36916 to always fail with ENOSYS. Some functions are actually named
36917 something starting with __ and the normal name is an alias. */
36918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36919 choke me
36920 #else
36921 char (*f) () = $ac_func;
36922 #endif
36923 #ifdef __cplusplus
36924 }
36925 #endif
36926
36927 int
36928 main ()
36929 {
36930 return f != $ac_func;
36931 ;
36932 return 0;
36933 }
36934 _ACEOF
36935 rm -f conftest.$ac_objext conftest$ac_exeext
36936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36937 (eval $ac_link) 2>conftest.er1
36938 ac_status=$?
36939 grep -v '^ *+' conftest.er1 >conftest.err
36940 rm -f conftest.er1
36941 cat conftest.err >&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); } &&
36944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36947 ac_status=$?
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try='test -s conftest$ac_exeext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 eval "$as_ac_var=yes"
36957 else
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.$ac_ext >&5
36960
36961 eval "$as_ac_var=no"
36962 fi
36963 rm -f conftest.err conftest.$ac_objext \
36964 conftest$ac_exeext conftest.$ac_ext
36965 fi
36966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36968 if test `eval echo '${'$as_ac_var'}'` = yes; then
36969 cat >>confdefs.h <<_ACEOF
36970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36971 _ACEOF
36972 break
36973 fi
36974 done
36975
36976
36977 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36978 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36979 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36980 wxUSE_SNGLINST_CHECKER=no
36981 fi
36982 fi
36983
36984
36985 for ac_func in timegm
36986 do
36987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36988 echo "$as_me:$LINENO: checking for $ac_func" >&5
36989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36990 if eval "test \"\${$as_ac_var+set}\" = set"; then
36991 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 else
36993 cat >conftest.$ac_ext <<_ACEOF
36994 /* confdefs.h. */
36995 _ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
36999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37001 #define $ac_func innocuous_$ac_func
37002
37003 /* System header to define __stub macros and hopefully few prototypes,
37004 which can conflict with char $ac_func (); below.
37005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37006 <limits.h> exists even on freestanding compilers. */
37007
37008 #ifdef __STDC__
37009 # include <limits.h>
37010 #else
37011 # include <assert.h>
37012 #endif
37013
37014 #undef $ac_func
37015
37016 /* Override any gcc2 internal prototype to avoid an error. */
37017 #ifdef __cplusplus
37018 extern "C"
37019 {
37020 #endif
37021 /* We use char because int might match the return type of a gcc2
37022 builtin and then its argument prototype would still apply. */
37023 char $ac_func ();
37024 /* The GNU C library defines this for functions which it implements
37025 to always fail with ENOSYS. Some functions are actually named
37026 something starting with __ and the normal name is an alias. */
37027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37028 choke me
37029 #else
37030 char (*f) () = $ac_func;
37031 #endif
37032 #ifdef __cplusplus
37033 }
37034 #endif
37035
37036 int
37037 main ()
37038 {
37039 return f != $ac_func;
37040 ;
37041 return 0;
37042 }
37043 _ACEOF
37044 rm -f conftest.$ac_objext conftest$ac_exeext
37045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37046 (eval $ac_link) 2>conftest.er1
37047 ac_status=$?
37048 grep -v '^ *+' conftest.er1 >conftest.err
37049 rm -f conftest.er1
37050 cat conftest.err >&5
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); } &&
37053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37055 (eval $ac_try) 2>&5
37056 ac_status=$?
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); }; } &&
37059 { ac_try='test -s conftest$ac_exeext'
37060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061 (eval $ac_try) 2>&5
37062 ac_status=$?
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); }; }; then
37065 eval "$as_ac_var=yes"
37066 else
37067 echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.$ac_ext >&5
37069
37070 eval "$as_ac_var=no"
37071 fi
37072 rm -f conftest.err conftest.$ac_objext \
37073 conftest$ac_exeext conftest.$ac_ext
37074 fi
37075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37077 if test `eval echo '${'$as_ac_var'}'` = yes; then
37078 cat >>confdefs.h <<_ACEOF
37079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37080 _ACEOF
37081
37082 fi
37083 done
37084
37085
37086
37087
37088 for ac_func in putenv setenv
37089 do
37090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37091 echo "$as_me:$LINENO: checking for $ac_func" >&5
37092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37093 if eval "test \"\${$as_ac_var+set}\" = set"; then
37094 echo $ECHO_N "(cached) $ECHO_C" >&6
37095 else
37096 cat >conftest.$ac_ext <<_ACEOF
37097 /* confdefs.h. */
37098 _ACEOF
37099 cat confdefs.h >>conftest.$ac_ext
37100 cat >>conftest.$ac_ext <<_ACEOF
37101 /* end confdefs.h. */
37102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37104 #define $ac_func innocuous_$ac_func
37105
37106 /* System header to define __stub macros and hopefully few prototypes,
37107 which can conflict with char $ac_func (); below.
37108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37109 <limits.h> exists even on freestanding compilers. */
37110
37111 #ifdef __STDC__
37112 # include <limits.h>
37113 #else
37114 # include <assert.h>
37115 #endif
37116
37117 #undef $ac_func
37118
37119 /* Override any gcc2 internal prototype to avoid an error. */
37120 #ifdef __cplusplus
37121 extern "C"
37122 {
37123 #endif
37124 /* We use char because int might match the return type of a gcc2
37125 builtin and then its argument prototype would still apply. */
37126 char $ac_func ();
37127 /* The GNU C library defines this for functions which it implements
37128 to always fail with ENOSYS. Some functions are actually named
37129 something starting with __ and the normal name is an alias. */
37130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37131 choke me
37132 #else
37133 char (*f) () = $ac_func;
37134 #endif
37135 #ifdef __cplusplus
37136 }
37137 #endif
37138
37139 int
37140 main ()
37141 {
37142 return f != $ac_func;
37143 ;
37144 return 0;
37145 }
37146 _ACEOF
37147 rm -f conftest.$ac_objext conftest$ac_exeext
37148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37149 (eval $ac_link) 2>conftest.er1
37150 ac_status=$?
37151 grep -v '^ *+' conftest.er1 >conftest.err
37152 rm -f conftest.er1
37153 cat conftest.err >&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); } &&
37156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37158 (eval $ac_try) 2>&5
37159 ac_status=$?
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); }; } &&
37162 { ac_try='test -s conftest$ac_exeext'
37163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37164 (eval $ac_try) 2>&5
37165 ac_status=$?
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); }; }; then
37168 eval "$as_ac_var=yes"
37169 else
37170 echo "$as_me: failed program was:" >&5
37171 sed 's/^/| /' conftest.$ac_ext >&5
37172
37173 eval "$as_ac_var=no"
37174 fi
37175 rm -f conftest.err conftest.$ac_objext \
37176 conftest$ac_exeext conftest.$ac_ext
37177 fi
37178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37180 if test `eval echo '${'$as_ac_var'}'` = yes; then
37181 cat >>confdefs.h <<_ACEOF
37182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37183 _ACEOF
37184 break
37185 fi
37186 done
37187
37188
37189 HAVE_SOME_SLEEP_FUNC=0
37190 if test "$USE_BEOS" = 1; then
37191 cat >>confdefs.h <<\_ACEOF
37192 #define HAVE_SLEEP 1
37193 _ACEOF
37194
37195 HAVE_SOME_SLEEP_FUNC=1
37196 fi
37197
37198 if test "$USE_DARWIN" = 1; then
37199 cat >>confdefs.h <<\_ACEOF
37200 #define HAVE_USLEEP 1
37201 _ACEOF
37202
37203 HAVE_SOME_SLEEP_FUNC=1
37204 fi
37205
37206 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37207 POSIX4_LINK=
37208
37209 for ac_func in nanosleep
37210 do
37211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212 echo "$as_me:$LINENO: checking for $ac_func" >&5
37213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37214 if eval "test \"\${$as_ac_var+set}\" = set"; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37217 cat >conftest.$ac_ext <<_ACEOF
37218 /* confdefs.h. */
37219 _ACEOF
37220 cat confdefs.h >>conftest.$ac_ext
37221 cat >>conftest.$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37225 #define $ac_func innocuous_$ac_func
37226
37227 /* System header to define __stub macros and hopefully few prototypes,
37228 which can conflict with char $ac_func (); below.
37229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37230 <limits.h> exists even on freestanding compilers. */
37231
37232 #ifdef __STDC__
37233 # include <limits.h>
37234 #else
37235 # include <assert.h>
37236 #endif
37237
37238 #undef $ac_func
37239
37240 /* Override any gcc2 internal prototype to avoid an error. */
37241 #ifdef __cplusplus
37242 extern "C"
37243 {
37244 #endif
37245 /* We use char because int might match the return type of a gcc2
37246 builtin and then its argument prototype would still apply. */
37247 char $ac_func ();
37248 /* The GNU C library defines this for functions which it implements
37249 to always fail with ENOSYS. Some functions are actually named
37250 something starting with __ and the normal name is an alias. */
37251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37252 choke me
37253 #else
37254 char (*f) () = $ac_func;
37255 #endif
37256 #ifdef __cplusplus
37257 }
37258 #endif
37259
37260 int
37261 main ()
37262 {
37263 return f != $ac_func;
37264 ;
37265 return 0;
37266 }
37267 _ACEOF
37268 rm -f conftest.$ac_objext conftest$ac_exeext
37269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37270 (eval $ac_link) 2>conftest.er1
37271 ac_status=$?
37272 grep -v '^ *+' conftest.er1 >conftest.err
37273 rm -f conftest.er1
37274 cat conftest.err >&5
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); } &&
37277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37279 (eval $ac_try) 2>&5
37280 ac_status=$?
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); }; } &&
37283 { ac_try='test -s conftest$ac_exeext'
37284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37285 (eval $ac_try) 2>&5
37286 ac_status=$?
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); }; }; then
37289 eval "$as_ac_var=yes"
37290 else
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37293
37294 eval "$as_ac_var=no"
37295 fi
37296 rm -f conftest.err conftest.$ac_objext \
37297 conftest$ac_exeext conftest.$ac_ext
37298 fi
37299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37301 if test `eval echo '${'$as_ac_var'}'` = yes; then
37302 cat >>confdefs.h <<_ACEOF
37303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37304 _ACEOF
37305 cat >>confdefs.h <<\_ACEOF
37306 #define HAVE_NANOSLEEP 1
37307 _ACEOF
37308
37309 else
37310
37311 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37312 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37313 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 ac_check_lib_save_LIBS=$LIBS
37317 LIBS="-lposix4 $LIBS"
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324
37325 /* Override any gcc2 internal prototype to avoid an error. */
37326 #ifdef __cplusplus
37327 extern "C"
37328 #endif
37329 /* We use char because int might match the return type of a gcc2
37330 builtin and then its argument prototype would still apply. */
37331 char nanosleep ();
37332 int
37333 main ()
37334 {
37335 nanosleep ();
37336 ;
37337 return 0;
37338 }
37339 _ACEOF
37340 rm -f conftest.$ac_objext conftest$ac_exeext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37342 (eval $ac_link) 2>conftest.er1
37343 ac_status=$?
37344 grep -v '^ *+' conftest.er1 >conftest.err
37345 rm -f conftest.er1
37346 cat conftest.err >&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } &&
37349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37351 (eval $ac_try) 2>&5
37352 ac_status=$?
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); }; } &&
37355 { ac_try='test -s conftest$ac_exeext'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; }; then
37361 ac_cv_lib_posix4_nanosleep=yes
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 ac_cv_lib_posix4_nanosleep=no
37367 fi
37368 rm -f conftest.err conftest.$ac_objext \
37369 conftest$ac_exeext conftest.$ac_ext
37370 LIBS=$ac_check_lib_save_LIBS
37371 fi
37372 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37373 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37374 if test $ac_cv_lib_posix4_nanosleep = yes; then
37375
37376 cat >>confdefs.h <<\_ACEOF
37377 #define HAVE_NANOSLEEP 1
37378 _ACEOF
37379
37380 POSIX4_LINK=" -lposix4"
37381
37382 else
37383
37384
37385 for ac_func in usleep
37386 do
37387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37388 echo "$as_me:$LINENO: checking for $ac_func" >&5
37389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37390 if eval "test \"\${$as_ac_var+set}\" = set"; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393 cat >conftest.$ac_ext <<_ACEOF
37394 /* confdefs.h. */
37395 _ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37401 #define $ac_func innocuous_$ac_func
37402
37403 /* System header to define __stub macros and hopefully few prototypes,
37404 which can conflict with char $ac_func (); below.
37405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37406 <limits.h> exists even on freestanding compilers. */
37407
37408 #ifdef __STDC__
37409 # include <limits.h>
37410 #else
37411 # include <assert.h>
37412 #endif
37413
37414 #undef $ac_func
37415
37416 /* Override any gcc2 internal prototype to avoid an error. */
37417 #ifdef __cplusplus
37418 extern "C"
37419 {
37420 #endif
37421 /* We use char because int might match the return type of a gcc2
37422 builtin and then its argument prototype would still apply. */
37423 char $ac_func ();
37424 /* The GNU C library defines this for functions which it implements
37425 to always fail with ENOSYS. Some functions are actually named
37426 something starting with __ and the normal name is an alias. */
37427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37428 choke me
37429 #else
37430 char (*f) () = $ac_func;
37431 #endif
37432 #ifdef __cplusplus
37433 }
37434 #endif
37435
37436 int
37437 main ()
37438 {
37439 return f != $ac_func;
37440 ;
37441 return 0;
37442 }
37443 _ACEOF
37444 rm -f conftest.$ac_objext conftest$ac_exeext
37445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37446 (eval $ac_link) 2>conftest.er1
37447 ac_status=$?
37448 grep -v '^ *+' conftest.er1 >conftest.err
37449 rm -f conftest.er1
37450 cat conftest.err >&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); } &&
37453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37456 ac_status=$?
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; } &&
37459 { ac_try='test -s conftest$ac_exeext'
37460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37461 (eval $ac_try) 2>&5
37462 ac_status=$?
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); }; }; then
37465 eval "$as_ac_var=yes"
37466 else
37467 echo "$as_me: failed program was:" >&5
37468 sed 's/^/| /' conftest.$ac_ext >&5
37469
37470 eval "$as_ac_var=no"
37471 fi
37472 rm -f conftest.err conftest.$ac_objext \
37473 conftest$ac_exeext conftest.$ac_ext
37474 fi
37475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37477 if test `eval echo '${'$as_ac_var'}'` = yes; then
37478 cat >>confdefs.h <<_ACEOF
37479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37480 _ACEOF
37481 cat >>confdefs.h <<\_ACEOF
37482 #define HAVE_USLEEP 1
37483 _ACEOF
37484
37485 else
37486 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37487 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37488
37489 fi
37490 done
37491
37492
37493
37494 fi
37495
37496
37497
37498 fi
37499 done
37500
37501 fi
37502
37503
37504
37505 for ac_func in uname gethostname
37506 do
37507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37508 echo "$as_me:$LINENO: checking for $ac_func" >&5
37509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37510 if eval "test \"\${$as_ac_var+set}\" = set"; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37521 #define $ac_func innocuous_$ac_func
37522
37523 /* System header to define __stub macros and hopefully few prototypes,
37524 which can conflict with char $ac_func (); below.
37525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37526 <limits.h> exists even on freestanding compilers. */
37527
37528 #ifdef __STDC__
37529 # include <limits.h>
37530 #else
37531 # include <assert.h>
37532 #endif
37533
37534 #undef $ac_func
37535
37536 /* Override any gcc2 internal prototype to avoid an error. */
37537 #ifdef __cplusplus
37538 extern "C"
37539 {
37540 #endif
37541 /* We use char because int might match the return type of a gcc2
37542 builtin and then its argument prototype would still apply. */
37543 char $ac_func ();
37544 /* The GNU C library defines this for functions which it implements
37545 to always fail with ENOSYS. Some functions are actually named
37546 something starting with __ and the normal name is an alias. */
37547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37548 choke me
37549 #else
37550 char (*f) () = $ac_func;
37551 #endif
37552 #ifdef __cplusplus
37553 }
37554 #endif
37555
37556 int
37557 main ()
37558 {
37559 return f != $ac_func;
37560 ;
37561 return 0;
37562 }
37563 _ACEOF
37564 rm -f conftest.$ac_objext conftest$ac_exeext
37565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37566 (eval $ac_link) 2>conftest.er1
37567 ac_status=$?
37568 grep -v '^ *+' conftest.er1 >conftest.err
37569 rm -f conftest.er1
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } &&
37573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575 (eval $ac_try) 2>&5
37576 ac_status=$?
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); }; } &&
37579 { ac_try='test -s conftest$ac_exeext'
37580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37581 (eval $ac_try) 2>&5
37582 ac_status=$?
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); }; }; then
37585 eval "$as_ac_var=yes"
37586 else
37587 echo "$as_me: failed program was:" >&5
37588 sed 's/^/| /' conftest.$ac_ext >&5
37589
37590 eval "$as_ac_var=no"
37591 fi
37592 rm -f conftest.err conftest.$ac_objext \
37593 conftest$ac_exeext conftest.$ac_ext
37594 fi
37595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37597 if test `eval echo '${'$as_ac_var'}'` = yes; then
37598 cat >>confdefs.h <<_ACEOF
37599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37600 _ACEOF
37601 break
37602 fi
37603 done
37604
37605
37606
37607 for wx_func in strtok_r
37608 do
37609 echo "$as_me:$LINENO: checking for $wx_func" >&5
37610 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37611 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37612 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 else
37614
37615 cat >conftest.$ac_ext <<_ACEOF
37616
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622
37623 #define _REENTRANT
37624 $ac_includes_default
37625
37626 int
37627 main ()
37628 {
37629
37630 #ifndef $wx_func
37631 &$wx_func;
37632 #endif
37633
37634
37635 ;
37636 return 0;
37637 }
37638
37639 _ACEOF
37640 rm -f conftest.$ac_objext conftest$ac_exeext
37641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37642 (eval $ac_link) 2>conftest.er1
37643 ac_status=$?
37644 grep -v '^ *+' conftest.er1 >conftest.err
37645 rm -f conftest.er1
37646 cat conftest.err >&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } &&
37649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; } &&
37655 { ac_try='test -s conftest$ac_exeext'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37658 ac_status=$?
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; }; then
37661 eval wx_cv_func_$wx_func=yes
37662 else
37663 echo "$as_me: failed program was:" >&5
37664 sed 's/^/| /' conftest.$ac_ext >&5
37665
37666 eval wx_cv_func_$wx_func=no
37667 fi
37668 rm -f conftest.err conftest.$ac_objext \
37669 conftest$ac_exeext conftest.$ac_ext
37670
37671 fi
37672 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37673 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37674
37675 if eval test \$wx_cv_func_$wx_func = yes
37676 then
37677 cat >>confdefs.h <<_ACEOF
37678 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37679 _ACEOF
37680
37681
37682 else
37683 :
37684
37685 fi
37686 done
37687
37688
37689 INET_LINK=
37690
37691 for ac_func in inet_addr
37692 do
37693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37694 echo "$as_me:$LINENO: checking for $ac_func" >&5
37695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37696 if eval "test \"\${$as_ac_var+set}\" = set"; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37698 else
37699 cat >conftest.$ac_ext <<_ACEOF
37700 /* confdefs.h. */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h. */
37705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37707 #define $ac_func innocuous_$ac_func
37708
37709 /* System header to define __stub macros and hopefully few prototypes,
37710 which can conflict with char $ac_func (); below.
37711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37712 <limits.h> exists even on freestanding compilers. */
37713
37714 #ifdef __STDC__
37715 # include <limits.h>
37716 #else
37717 # include <assert.h>
37718 #endif
37719
37720 #undef $ac_func
37721
37722 /* Override any gcc2 internal prototype to avoid an error. */
37723 #ifdef __cplusplus
37724 extern "C"
37725 {
37726 #endif
37727 /* We use char because int might match the return type of a gcc2
37728 builtin and then its argument prototype would still apply. */
37729 char $ac_func ();
37730 /* The GNU C library defines this for functions which it implements
37731 to always fail with ENOSYS. Some functions are actually named
37732 something starting with __ and the normal name is an alias. */
37733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37734 choke me
37735 #else
37736 char (*f) () = $ac_func;
37737 #endif
37738 #ifdef __cplusplus
37739 }
37740 #endif
37741
37742 int
37743 main ()
37744 {
37745 return f != $ac_func;
37746 ;
37747 return 0;
37748 }
37749 _ACEOF
37750 rm -f conftest.$ac_objext conftest$ac_exeext
37751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37752 (eval $ac_link) 2>conftest.er1
37753 ac_status=$?
37754 grep -v '^ *+' conftest.er1 >conftest.err
37755 rm -f conftest.er1
37756 cat conftest.err >&5
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); } &&
37759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37762 ac_status=$?
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; } &&
37765 { ac_try='test -s conftest$ac_exeext'
37766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37767 (eval $ac_try) 2>&5
37768 ac_status=$?
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); }; }; then
37771 eval "$as_ac_var=yes"
37772 else
37773 echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.$ac_ext >&5
37775
37776 eval "$as_ac_var=no"
37777 fi
37778 rm -f conftest.err conftest.$ac_objext \
37779 conftest$ac_exeext conftest.$ac_ext
37780 fi
37781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37783 if test `eval echo '${'$as_ac_var'}'` = yes; then
37784 cat >>confdefs.h <<_ACEOF
37785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37786 _ACEOF
37787 cat >>confdefs.h <<\_ACEOF
37788 #define HAVE_INET_ADDR 1
37789 _ACEOF
37790
37791 else
37792
37793 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37794 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37795 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 else
37798 ac_check_lib_save_LIBS=$LIBS
37799 LIBS="-lnsl $LIBS"
37800 cat >conftest.$ac_ext <<_ACEOF
37801 /* confdefs.h. */
37802 _ACEOF
37803 cat confdefs.h >>conftest.$ac_ext
37804 cat >>conftest.$ac_ext <<_ACEOF
37805 /* end confdefs.h. */
37806
37807 /* Override any gcc2 internal prototype to avoid an error. */
37808 #ifdef __cplusplus
37809 extern "C"
37810 #endif
37811 /* We use char because int might match the return type of a gcc2
37812 builtin and then its argument prototype would still apply. */
37813 char inet_addr ();
37814 int
37815 main ()
37816 {
37817 inet_addr ();
37818 ;
37819 return 0;
37820 }
37821 _ACEOF
37822 rm -f conftest.$ac_objext conftest$ac_exeext
37823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37824 (eval $ac_link) 2>conftest.er1
37825 ac_status=$?
37826 grep -v '^ *+' conftest.er1 >conftest.err
37827 rm -f conftest.er1
37828 cat conftest.err >&5
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); } &&
37831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; } &&
37837 { ac_try='test -s conftest$ac_exeext'
37838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37839 (eval $ac_try) 2>&5
37840 ac_status=$?
37841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842 (exit $ac_status); }; }; then
37843 ac_cv_lib_nsl_inet_addr=yes
37844 else
37845 echo "$as_me: failed program was:" >&5
37846 sed 's/^/| /' conftest.$ac_ext >&5
37847
37848 ac_cv_lib_nsl_inet_addr=no
37849 fi
37850 rm -f conftest.err conftest.$ac_objext \
37851 conftest$ac_exeext conftest.$ac_ext
37852 LIBS=$ac_check_lib_save_LIBS
37853 fi
37854 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37855 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37856 if test $ac_cv_lib_nsl_inet_addr = yes; then
37857 INET_LINK="nsl"
37858 else
37859
37860 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37861 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37862 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37863 echo $ECHO_N "(cached) $ECHO_C" >&6
37864 else
37865 ac_check_lib_save_LIBS=$LIBS
37866 LIBS="-lresolv $LIBS"
37867 cat >conftest.$ac_ext <<_ACEOF
37868 /* confdefs.h. */
37869 _ACEOF
37870 cat confdefs.h >>conftest.$ac_ext
37871 cat >>conftest.$ac_ext <<_ACEOF
37872 /* end confdefs.h. */
37873
37874 /* Override any gcc2 internal prototype to avoid an error. */
37875 #ifdef __cplusplus
37876 extern "C"
37877 #endif
37878 /* We use char because int might match the return type of a gcc2
37879 builtin and then its argument prototype would still apply. */
37880 char inet_addr ();
37881 int
37882 main ()
37883 {
37884 inet_addr ();
37885 ;
37886 return 0;
37887 }
37888 _ACEOF
37889 rm -f conftest.$ac_objext conftest$ac_exeext
37890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37891 (eval $ac_link) 2>conftest.er1
37892 ac_status=$?
37893 grep -v '^ *+' conftest.er1 >conftest.err
37894 rm -f conftest.er1
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } &&
37898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37900 (eval $ac_try) 2>&5
37901 ac_status=$?
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); }; } &&
37904 { ac_try='test -s conftest$ac_exeext'
37905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37906 (eval $ac_try) 2>&5
37907 ac_status=$?
37908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37909 (exit $ac_status); }; }; then
37910 ac_cv_lib_resolv_inet_addr=yes
37911 else
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.$ac_ext >&5
37914
37915 ac_cv_lib_resolv_inet_addr=no
37916 fi
37917 rm -f conftest.err conftest.$ac_objext \
37918 conftest$ac_exeext conftest.$ac_ext
37919 LIBS=$ac_check_lib_save_LIBS
37920 fi
37921 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37922 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37923 if test $ac_cv_lib_resolv_inet_addr = yes; then
37924 INET_LINK="resolv"
37925 else
37926
37927 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37928 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37929 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37931 else
37932 ac_check_lib_save_LIBS=$LIBS
37933 LIBS="-lsocket $LIBS"
37934 cat >conftest.$ac_ext <<_ACEOF
37935 /* confdefs.h. */
37936 _ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37940
37941 /* Override any gcc2 internal prototype to avoid an error. */
37942 #ifdef __cplusplus
37943 extern "C"
37944 #endif
37945 /* We use char because int might match the return type of a gcc2
37946 builtin and then its argument prototype would still apply. */
37947 char inet_addr ();
37948 int
37949 main ()
37950 {
37951 inet_addr ();
37952 ;
37953 return 0;
37954 }
37955 _ACEOF
37956 rm -f conftest.$ac_objext conftest$ac_exeext
37957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37958 (eval $ac_link) 2>conftest.er1
37959 ac_status=$?
37960 grep -v '^ *+' conftest.er1 >conftest.err
37961 rm -f conftest.er1
37962 cat conftest.err >&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } &&
37965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37967 (eval $ac_try) 2>&5
37968 ac_status=$?
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); }; } &&
37971 { ac_try='test -s conftest$ac_exeext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 ac_cv_lib_socket_inet_addr=yes
37978 else
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37981
37982 ac_cv_lib_socket_inet_addr=no
37983 fi
37984 rm -f conftest.err conftest.$ac_objext \
37985 conftest$ac_exeext conftest.$ac_ext
37986 LIBS=$ac_check_lib_save_LIBS
37987 fi
37988 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37989 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37990 if test $ac_cv_lib_socket_inet_addr = yes; then
37991 INET_LINK="socket"
37992
37993 fi
37994
37995
37996
37997 fi
37998
37999
38000
38001 fi
38002
38003
38004
38005 fi
38006 done
38007
38008
38009
38010 for ac_func in inet_aton
38011 do
38012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38013 echo "$as_me:$LINENO: checking for $ac_func" >&5
38014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38015 if eval "test \"\${$as_ac_var+set}\" = set"; then
38016 echo $ECHO_N "(cached) $ECHO_C" >&6
38017 else
38018 cat >conftest.$ac_ext <<_ACEOF
38019 /* confdefs.h. */
38020 _ACEOF
38021 cat confdefs.h >>conftest.$ac_ext
38022 cat >>conftest.$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38026 #define $ac_func innocuous_$ac_func
38027
38028 /* System header to define __stub macros and hopefully few prototypes,
38029 which can conflict with char $ac_func (); below.
38030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38031 <limits.h> exists even on freestanding compilers. */
38032
38033 #ifdef __STDC__
38034 # include <limits.h>
38035 #else
38036 # include <assert.h>
38037 #endif
38038
38039 #undef $ac_func
38040
38041 /* Override any gcc2 internal prototype to avoid an error. */
38042 #ifdef __cplusplus
38043 extern "C"
38044 {
38045 #endif
38046 /* We use char because int might match the return type of a gcc2
38047 builtin and then its argument prototype would still apply. */
38048 char $ac_func ();
38049 /* The GNU C library defines this for functions which it implements
38050 to always fail with ENOSYS. Some functions are actually named
38051 something starting with __ and the normal name is an alias. */
38052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38053 choke me
38054 #else
38055 char (*f) () = $ac_func;
38056 #endif
38057 #ifdef __cplusplus
38058 }
38059 #endif
38060
38061 int
38062 main ()
38063 {
38064 return f != $ac_func;
38065 ;
38066 return 0;
38067 }
38068 _ACEOF
38069 rm -f conftest.$ac_objext conftest$ac_exeext
38070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38071 (eval $ac_link) 2>conftest.er1
38072 ac_status=$?
38073 grep -v '^ *+' conftest.er1 >conftest.err
38074 rm -f conftest.er1
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } &&
38078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38080 (eval $ac_try) 2>&5
38081 ac_status=$?
38082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38083 (exit $ac_status); }; } &&
38084 { ac_try='test -s conftest$ac_exeext'
38085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38086 (eval $ac_try) 2>&5
38087 ac_status=$?
38088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089 (exit $ac_status); }; }; then
38090 eval "$as_ac_var=yes"
38091 else
38092 echo "$as_me: failed program was:" >&5
38093 sed 's/^/| /' conftest.$ac_ext >&5
38094
38095 eval "$as_ac_var=no"
38096 fi
38097 rm -f conftest.err conftest.$ac_objext \
38098 conftest$ac_exeext conftest.$ac_ext
38099 fi
38100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38102 if test `eval echo '${'$as_ac_var'}'` = yes; then
38103 cat >>confdefs.h <<_ACEOF
38104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38105 _ACEOF
38106 cat >>confdefs.h <<\_ACEOF
38107 #define HAVE_INET_ATON 1
38108 _ACEOF
38109
38110 else
38111
38112 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38113 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38114 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38115 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38117 else
38118 ac_check_lib_save_LIBS=$LIBS
38119 LIBS="-l$INET_LINK $LIBS"
38120 cat >conftest.$ac_ext <<_ACEOF
38121 /* confdefs.h. */
38122 _ACEOF
38123 cat confdefs.h >>conftest.$ac_ext
38124 cat >>conftest.$ac_ext <<_ACEOF
38125 /* end confdefs.h. */
38126
38127 /* Override any gcc2 internal prototype to avoid an error. */
38128 #ifdef __cplusplus
38129 extern "C"
38130 #endif
38131 /* We use char because int might match the return type of a gcc2
38132 builtin and then its argument prototype would still apply. */
38133 char inet_aton ();
38134 int
38135 main ()
38136 {
38137 inet_aton ();
38138 ;
38139 return 0;
38140 }
38141 _ACEOF
38142 rm -f conftest.$ac_objext conftest$ac_exeext
38143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38144 (eval $ac_link) 2>conftest.er1
38145 ac_status=$?
38146 grep -v '^ *+' conftest.er1 >conftest.err
38147 rm -f conftest.er1
38148 cat conftest.err >&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } &&
38151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38153 (eval $ac_try) 2>&5
38154 ac_status=$?
38155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38156 (exit $ac_status); }; } &&
38157 { ac_try='test -s conftest$ac_exeext'
38158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38159 (eval $ac_try) 2>&5
38160 ac_status=$?
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); }; }; then
38163 eval "$as_ac_Lib=yes"
38164 else
38165 echo "$as_me: failed program was:" >&5
38166 sed 's/^/| /' conftest.$ac_ext >&5
38167
38168 eval "$as_ac_Lib=no"
38169 fi
38170 rm -f conftest.err conftest.$ac_objext \
38171 conftest$ac_exeext conftest.$ac_ext
38172 LIBS=$ac_check_lib_save_LIBS
38173 fi
38174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38175 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38176 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38177 cat >>confdefs.h <<\_ACEOF
38178 #define HAVE_INET_ATON 1
38179 _ACEOF
38180
38181 fi
38182
38183
38184 fi
38185 done
38186
38187
38188 if test "x$INET_LINK" != "x"; then
38189 cat >>confdefs.h <<\_ACEOF
38190 #define HAVE_INET_ADDR 1
38191 _ACEOF
38192
38193 INET_LINK=" -l$INET_LINK"
38194 fi
38195
38196 fi
38197
38198
38199
38200 EXTRALIBS_ESD=
38201 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38202 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38203 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 else
38206 ac_check_lib_save_LIBS=$LIBS
38207 LIBS="-lesd $LIBS"
38208 cat >conftest.$ac_ext <<_ACEOF
38209 /* confdefs.h. */
38210 _ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38214
38215 /* Override any gcc2 internal prototype to avoid an error. */
38216 #ifdef __cplusplus
38217 extern "C"
38218 #endif
38219 /* We use char because int might match the return type of a gcc2
38220 builtin and then its argument prototype would still apply. */
38221 char esd_close ();
38222 int
38223 main ()
38224 {
38225 esd_close ();
38226 ;
38227 return 0;
38228 }
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38242 ac_status=$?
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38248 ac_status=$?
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 ac_cv_lib_esd_esd_close=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 ac_cv_lib_esd_esd_close=no
38257 fi
38258 rm -f conftest.err conftest.$ac_objext \
38259 conftest$ac_exeext conftest.$ac_ext
38260 LIBS=$ac_check_lib_save_LIBS
38261 fi
38262 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38263 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38264 if test $ac_cv_lib_esd_esd_close = yes; then
38265
38266
38267 for ac_header in esd.h
38268 do
38269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38271 echo "$as_me:$LINENO: checking for $ac_header" >&5
38272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 fi
38276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38278 else
38279 # Is the header compilable?
38280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 $ac_includes_default
38289 #include <$ac_header>
38290 _ACEOF
38291 rm -f conftest.$ac_objext
38292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38293 (eval $ac_compile) 2>conftest.er1
38294 ac_status=$?
38295 grep -v '^ *+' conftest.er1 >conftest.err
38296 rm -f conftest.er1
38297 cat conftest.err >&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } &&
38300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38303 ac_status=$?
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try='test -s conftest.$ac_objext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 ac_header_compiler=yes
38313 else
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.$ac_ext >&5
38316
38317 ac_header_compiler=no
38318 fi
38319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38321 echo "${ECHO_T}$ac_header_compiler" >&6
38322
38323 # Is the header present?
38324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38326 cat >conftest.$ac_ext <<_ACEOF
38327 /* confdefs.h. */
38328 _ACEOF
38329 cat confdefs.h >>conftest.$ac_ext
38330 cat >>conftest.$ac_ext <<_ACEOF
38331 /* end confdefs.h. */
38332 #include <$ac_header>
38333 _ACEOF
38334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38336 ac_status=$?
38337 grep -v '^ *+' conftest.er1 >conftest.err
38338 rm -f conftest.er1
38339 cat conftest.err >&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } >/dev/null; then
38342 if test -s conftest.err; then
38343 ac_cpp_err=$ac_cxx_preproc_warn_flag
38344 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38345 else
38346 ac_cpp_err=
38347 fi
38348 else
38349 ac_cpp_err=yes
38350 fi
38351 if test -z "$ac_cpp_err"; then
38352 ac_header_preproc=yes
38353 else
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.$ac_ext >&5
38356
38357 ac_header_preproc=no
38358 fi
38359 rm -f conftest.err conftest.$ac_ext
38360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38361 echo "${ECHO_T}$ac_header_preproc" >&6
38362
38363 # So? What about this header?
38364 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38365 yes:no: )
38366 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38370 ac_header_preproc=yes
38371 ;;
38372 no:yes:* )
38373 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38375 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38376 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38377 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38379 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38380 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38383 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38385 (
38386 cat <<\_ASBOX
38387 ## ----------------------------------------- ##
38388 ## Report this to wx-dev@lists.wxwidgets.org ##
38389 ## ----------------------------------------- ##
38390 _ASBOX
38391 ) |
38392 sed "s/^/$as_me: WARNING: /" >&2
38393 ;;
38394 esac
38395 echo "$as_me:$LINENO: checking for $ac_header" >&5
38396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38398 echo $ECHO_N "(cached) $ECHO_C" >&6
38399 else
38400 eval "$as_ac_Header=\$ac_header_preproc"
38401 fi
38402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38404
38405 fi
38406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38407 cat >>confdefs.h <<_ACEOF
38408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38409 _ACEOF
38410
38411 EXTRALIBS_ESD="-lesd"
38412
38413 fi
38414
38415 done
38416
38417
38418 fi
38419
38420
38421
38422 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38423 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38424 cat >conftest.$ac_ext <<_ACEOF
38425 /* confdefs.h. */
38426 _ACEOF
38427 cat confdefs.h >>conftest.$ac_ext
38428 cat >>conftest.$ac_ext <<_ACEOF
38429 /* end confdefs.h. */
38430 #ifdef __linux__
38431 #include <linux/cdrom.h>
38432 #else
38433 /* For Solaris */
38434 #include <sys/cdio.h>
38435 #endif
38436
38437 int
38438 main ()
38439 {
38440 struct cdrom_tocentry entry, old_entry;
38441 ;
38442 return 0;
38443 }
38444 _ACEOF
38445 rm -f conftest.$ac_objext
38446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38447 (eval $ac_compile) 2>conftest.er1
38448 ac_status=$?
38449 grep -v '^ *+' conftest.er1 >conftest.err
38450 rm -f conftest.er1
38451 cat conftest.err >&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } &&
38454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456 (eval $ac_try) 2>&5
38457 ac_status=$?
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); }; } &&
38460 { ac_try='test -s conftest.$ac_objext'
38461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462 (eval $ac_try) 2>&5
38463 ac_status=$?
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); }; }; then
38466 echo "$as_me:$LINENO: result: yes" >&5
38467 echo "${ECHO_T}yes" >&6
38468 cat >>confdefs.h <<\_ACEOF
38469 #define HAVE_KNOWN_CDROM_INTERFACE 1
38470 _ACEOF
38471
38472 else
38473 echo "$as_me: failed program was:" >&5
38474 sed 's/^/| /' conftest.$ac_ext >&5
38475
38476 echo "$as_me:$LINENO: result: no" >&5
38477 echo "${ECHO_T}no" >&6
38478 fi
38479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38480
38481
38482 cat >confcache <<\_ACEOF
38483 # This file is a shell script that caches the results of configure
38484 # tests run on this system so they can be shared between configure
38485 # scripts and configure runs, see configure's option --config-cache.
38486 # It is not useful on other systems. If it contains results you don't
38487 # want to keep, you may remove or edit it.
38488 #
38489 # config.status only pays attention to the cache file if you give it
38490 # the --recheck option to rerun configure.
38491 #
38492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38494 # following values.
38495
38496 _ACEOF
38497
38498 # The following way of writing the cache mishandles newlines in values,
38499 # but we know of no workaround that is simple, portable, and efficient.
38500 # So, don't put newlines in cache variables' values.
38501 # Ultrix sh set writes to stderr and can't be redirected directly,
38502 # and sets the high bit in the cache file unless we assign to the vars.
38503 {
38504 (set) 2>&1 |
38505 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38506 *ac_space=\ *)
38507 # `set' does not quote correctly, so add quotes (double-quote
38508 # substitution turns \\\\ into \\, and sed turns \\ into \).
38509 sed -n \
38510 "s/'/'\\\\''/g;
38511 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38512 ;;
38513 *)
38514 # `set' quotes correctly as required by POSIX, so do not add quotes.
38515 sed -n \
38516 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38517 ;;
38518 esac;
38519 } |
38520 sed '
38521 t clear
38522 : clear
38523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38524 t end
38525 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38526 : end' >>confcache
38527 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38528 if test -w $cache_file; then
38529 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38530 cat confcache >$cache_file
38531 else
38532 echo "not updating unwritable cache $cache_file"
38533 fi
38534 fi
38535 rm -f confcache
38536
38537
38538 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38539
38540
38541 THREADS_LINK=
38542 THREADS_CXXFLAGS=
38543
38544 if test "$wxUSE_THREADS" = "yes" ; then
38545 if test "$USE_BEOS" = 1; then
38546 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38547 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38548 wxUSE_THREADS="no"
38549 fi
38550 fi
38551
38552 if test "$wxUSE_THREADS" = "yes" ; then
38553
38554
38555 THREAD_OPTS="-pthread"
38556 case "${host}" in
38557 *-*-solaris2* | *-*-sunos4* )
38558 if test "x$GCC" = "xyes"; then
38559 THREAD_OPTS="-pthreads $THREAD_OPTS"
38560 else
38561 THREAD_OPTS="-mt $THREAD_OPTS"
38562 fi
38563 ;;
38564 *-*-freebsd*)
38565 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38566 ;;
38567 *-*-darwin* | *-*-cygwin* )
38568 THREAD_OPTS=""
38569 ;;
38570 *-*-aix*)
38571 THREAD_OPTS="pthreads"
38572 ;;
38573 *-hp-hpux* )
38574 if test "x$GCC" = "xyes"; then
38575 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38576 THREAD_OPTS=""
38577 else
38578 THREAD_OPTS="-mt"
38579 fi
38580 ;;
38581
38582 *-*-irix* )
38583 if test "x$GCC" = "xyes"; then
38584 THREAD_OPTS=""
38585 fi
38586 ;;
38587
38588 *-*-*UnixWare*)
38589 if test "x$GCC" != "xyes"; then
38590 THREAD_OPTS="-Ethread"
38591 fi
38592 ;;
38593 esac
38594
38595 THREAD_OPTS="$THREAD_OPTS pthread none"
38596
38597 THREADS_OK=no
38598 for flag in $THREAD_OPTS; do
38599 case $flag in
38600 none)
38601 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38602 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38603 ;;
38604
38605 -*)
38606 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38607 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38608 THREADS_CXXFLAGS="$flag"
38609 ;;
38610
38611 *)
38612 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38613 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38614 THREADS_LINK="-l$flag"
38615 ;;
38616 esac
38617
38618 save_LIBS="$LIBS"
38619 save_CXXFLAGS="$CXXFLAGS"
38620 LIBS="$THREADS_LINK $LIBS"
38621 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38622
38623 cat >conftest.$ac_ext <<_ACEOF
38624 /* confdefs.h. */
38625 _ACEOF
38626 cat confdefs.h >>conftest.$ac_ext
38627 cat >>conftest.$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38629 #include <pthread.h>
38630 int
38631 main ()
38632 {
38633 pthread_create(0,0,0,0);
38634 ;
38635 return 0;
38636 }
38637 _ACEOF
38638 rm -f conftest.$ac_objext conftest$ac_exeext
38639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38640 (eval $ac_link) 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } &&
38647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38649 (eval $ac_try) 2>&5
38650 ac_status=$?
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); }; } &&
38653 { ac_try='test -s conftest$ac_exeext'
38654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38655 (eval $ac_try) 2>&5
38656 ac_status=$?
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); }; }; then
38659 THREADS_OK=yes
38660 else
38661 echo "$as_me: failed program was:" >&5
38662 sed 's/^/| /' conftest.$ac_ext >&5
38663
38664 fi
38665 rm -f conftest.err conftest.$ac_objext \
38666 conftest$ac_exeext conftest.$ac_ext
38667
38668 LIBS="$save_LIBS"
38669 CXXFLAGS="$save_CXXFLAGS"
38670
38671 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38672 echo "${ECHO_T}$THREADS_OK" >&6
38673 if test "x$THREADS_OK" = "xyes"; then
38674 break;
38675 fi
38676
38677 THREADS_LINK=""
38678 THREADS_CXXFLAGS=""
38679 done
38680
38681 if test "x$THREADS_OK" != "xyes"; then
38682 wxUSE_THREADS=no
38683 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38684 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38685 else
38686 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38687 LIBS="$THREADS_LINK $LIBS"
38688
38689 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38690 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38691 flag=no
38692 case "${host}" in
38693 *-aix*)
38694 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38695 flag="-D_THREAD_SAFE"
38696 ;;
38697 *-freebsd*)
38698 flag="-D_THREAD_SAFE"
38699 ;;
38700 *-hp-hpux* )
38701 flag="-D_REENTRANT"
38702 if test "x$GCC" != "xyes"; then
38703 flag="$flag -D_RWSTD_MULTI_THREAD"
38704 fi
38705 ;;
38706 *solaris* | alpha*-osf*)
38707 flag="-D_REENTRANT"
38708 ;;
38709 esac
38710 echo "$as_me:$LINENO: result: ${flag}" >&5
38711 echo "${ECHO_T}${flag}" >&6
38712 if test "x$flag" != xno; then
38713 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38714 fi
38715
38716 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38717 fi
38718 fi
38719
38720 if test "$wxUSE_THREADS" = "yes" ; then
38721
38722 for ac_func in thr_setconcurrency
38723 do
38724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38725 echo "$as_me:$LINENO: checking for $ac_func" >&5
38726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38727 if eval "test \"\${$as_ac_var+set}\" = set"; then
38728 echo $ECHO_N "(cached) $ECHO_C" >&6
38729 else
38730 cat >conftest.$ac_ext <<_ACEOF
38731 /* confdefs.h. */
38732 _ACEOF
38733 cat confdefs.h >>conftest.$ac_ext
38734 cat >>conftest.$ac_ext <<_ACEOF
38735 /* end confdefs.h. */
38736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38738 #define $ac_func innocuous_$ac_func
38739
38740 /* System header to define __stub macros and hopefully few prototypes,
38741 which can conflict with char $ac_func (); below.
38742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38743 <limits.h> exists even on freestanding compilers. */
38744
38745 #ifdef __STDC__
38746 # include <limits.h>
38747 #else
38748 # include <assert.h>
38749 #endif
38750
38751 #undef $ac_func
38752
38753 /* Override any gcc2 internal prototype to avoid an error. */
38754 #ifdef __cplusplus
38755 extern "C"
38756 {
38757 #endif
38758 /* We use char because int might match the return type of a gcc2
38759 builtin and then its argument prototype would still apply. */
38760 char $ac_func ();
38761 /* The GNU C library defines this for functions which it implements
38762 to always fail with ENOSYS. Some functions are actually named
38763 something starting with __ and the normal name is an alias. */
38764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38765 choke me
38766 #else
38767 char (*f) () = $ac_func;
38768 #endif
38769 #ifdef __cplusplus
38770 }
38771 #endif
38772
38773 int
38774 main ()
38775 {
38776 return f != $ac_func;
38777 ;
38778 return 0;
38779 }
38780 _ACEOF
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38783 (eval $ac_link) 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38792 (eval $ac_try) 2>&5
38793 ac_status=$?
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); }; } &&
38796 { ac_try='test -s conftest$ac_exeext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 eval "$as_ac_var=yes"
38803 else
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.$ac_ext >&5
38806
38807 eval "$as_ac_var=no"
38808 fi
38809 rm -f conftest.err conftest.$ac_objext \
38810 conftest$ac_exeext conftest.$ac_ext
38811 fi
38812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38814 if test `eval echo '${'$as_ac_var'}'` = yes; then
38815 cat >>confdefs.h <<_ACEOF
38816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38817 _ACEOF
38818
38819 fi
38820 done
38821
38822
38823 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38824 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38825 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38826 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 else
38828
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <pthread.h>
38836 void ThreadCleanupFunc(void *p);
38837
38838 int
38839 main ()
38840 {
38841
38842 void *p;
38843 pthread_cleanup_push(ThreadCleanupFunc, p);
38844 pthread_cleanup_pop(0);
38845
38846 ;
38847 return 0;
38848 }
38849 _ACEOF
38850 rm -f conftest.$ac_objext
38851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38852 (eval $ac_compile) 2>conftest.er1
38853 ac_status=$?
38854 grep -v '^ *+' conftest.er1 >conftest.err
38855 rm -f conftest.er1
38856 cat conftest.err >&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); } &&
38859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38862 ac_status=$?
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; } &&
38865 { ac_try='test -s conftest.$ac_objext'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38868 ac_status=$?
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; }; then
38871
38872 wx_cv_func_pthread_cleanup=yes
38873
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38877
38878
38879 wx_cv_func_pthread_cleanup=no
38880
38881
38882 fi
38883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38884
38885 fi
38886 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38887 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38888 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38889 cat >>confdefs.h <<\_ACEOF
38890 #define wxHAVE_PTHREAD_CLEANUP 1
38891 _ACEOF
38892
38893 fi
38894
38895
38896 for ac_header in sched.h
38897 do
38898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38900 echo "$as_me:$LINENO: checking for $ac_header" >&5
38901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38903 echo $ECHO_N "(cached) $ECHO_C" >&6
38904 fi
38905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38907 else
38908 # Is the header compilable?
38909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38911 cat >conftest.$ac_ext <<_ACEOF
38912 /* confdefs.h. */
38913 _ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38917 $ac_includes_default
38918 #include <$ac_header>
38919 _ACEOF
38920 rm -f conftest.$ac_objext
38921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38922 (eval $ac_compile) 2>conftest.er1
38923 ac_status=$?
38924 grep -v '^ *+' conftest.er1 >conftest.err
38925 rm -f conftest.er1
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); } &&
38929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38931 (eval $ac_try) 2>&5
38932 ac_status=$?
38933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38934 (exit $ac_status); }; } &&
38935 { ac_try='test -s conftest.$ac_objext'
38936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38937 (eval $ac_try) 2>&5
38938 ac_status=$?
38939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940 (exit $ac_status); }; }; then
38941 ac_header_compiler=yes
38942 else
38943 echo "$as_me: failed program was:" >&5
38944 sed 's/^/| /' conftest.$ac_ext >&5
38945
38946 ac_header_compiler=no
38947 fi
38948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38950 echo "${ECHO_T}$ac_header_compiler" >&6
38951
38952 # Is the header present?
38953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38955 cat >conftest.$ac_ext <<_ACEOF
38956 /* confdefs.h. */
38957 _ACEOF
38958 cat confdefs.h >>conftest.$ac_ext
38959 cat >>conftest.$ac_ext <<_ACEOF
38960 /* end confdefs.h. */
38961 #include <$ac_header>
38962 _ACEOF
38963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38964 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38965 ac_status=$?
38966 grep -v '^ *+' conftest.er1 >conftest.err
38967 rm -f conftest.er1
38968 cat conftest.err >&5
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); } >/dev/null; then
38971 if test -s conftest.err; then
38972 ac_cpp_err=$ac_cxx_preproc_warn_flag
38973 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38974 else
38975 ac_cpp_err=
38976 fi
38977 else
38978 ac_cpp_err=yes
38979 fi
38980 if test -z "$ac_cpp_err"; then
38981 ac_header_preproc=yes
38982 else
38983 echo "$as_me: failed program was:" >&5
38984 sed 's/^/| /' conftest.$ac_ext >&5
38985
38986 ac_header_preproc=no
38987 fi
38988 rm -f conftest.err conftest.$ac_ext
38989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38990 echo "${ECHO_T}$ac_header_preproc" >&6
38991
38992 # So? What about this header?
38993 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38994 yes:no: )
38995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38999 ac_header_preproc=yes
39000 ;;
39001 no:yes:* )
39002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39014 (
39015 cat <<\_ASBOX
39016 ## ----------------------------------------- ##
39017 ## Report this to wx-dev@lists.wxwidgets.org ##
39018 ## ----------------------------------------- ##
39019 _ASBOX
39020 ) |
39021 sed "s/^/$as_me: WARNING: /" >&2
39022 ;;
39023 esac
39024 echo "$as_me:$LINENO: checking for $ac_header" >&5
39025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39027 echo $ECHO_N "(cached) $ECHO_C" >&6
39028 else
39029 eval "$as_ac_Header=\$ac_header_preproc"
39030 fi
39031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39033
39034 fi
39035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39036 cat >>confdefs.h <<_ACEOF
39037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39038 _ACEOF
39039
39040 fi
39041
39042 done
39043
39044 if test "$ac_cv_header_sched_h" = "yes"; then
39045 echo "$as_me:$LINENO: checking for sched_yield" >&5
39046 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39047 if test "${ac_cv_func_sched_yield+set}" = set; then
39048 echo $ECHO_N "(cached) $ECHO_C" >&6
39049 else
39050 cat >conftest.$ac_ext <<_ACEOF
39051 /* confdefs.h. */
39052 _ACEOF
39053 cat confdefs.h >>conftest.$ac_ext
39054 cat >>conftest.$ac_ext <<_ACEOF
39055 /* end confdefs.h. */
39056 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39058 #define sched_yield innocuous_sched_yield
39059
39060 /* System header to define __stub macros and hopefully few prototypes,
39061 which can conflict with char sched_yield (); below.
39062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39063 <limits.h> exists even on freestanding compilers. */
39064
39065 #ifdef __STDC__
39066 # include <limits.h>
39067 #else
39068 # include <assert.h>
39069 #endif
39070
39071 #undef sched_yield
39072
39073 /* Override any gcc2 internal prototype to avoid an error. */
39074 #ifdef __cplusplus
39075 extern "C"
39076 {
39077 #endif
39078 /* We use char because int might match the return type of a gcc2
39079 builtin and then its argument prototype would still apply. */
39080 char sched_yield ();
39081 /* The GNU C library defines this for functions which it implements
39082 to always fail with ENOSYS. Some functions are actually named
39083 something starting with __ and the normal name is an alias. */
39084 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39085 choke me
39086 #else
39087 char (*f) () = sched_yield;
39088 #endif
39089 #ifdef __cplusplus
39090 }
39091 #endif
39092
39093 int
39094 main ()
39095 {
39096 return f != sched_yield;
39097 ;
39098 return 0;
39099 }
39100 _ACEOF
39101 rm -f conftest.$ac_objext conftest$ac_exeext
39102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39103 (eval $ac_link) 2>conftest.er1
39104 ac_status=$?
39105 grep -v '^ *+' conftest.er1 >conftest.err
39106 rm -f conftest.er1
39107 cat conftest.err >&5
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); } &&
39110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39112 (eval $ac_try) 2>&5
39113 ac_status=$?
39114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 (exit $ac_status); }; } &&
39116 { ac_try='test -s conftest$ac_exeext'
39117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39118 (eval $ac_try) 2>&5
39119 ac_status=$?
39120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121 (exit $ac_status); }; }; then
39122 ac_cv_func_sched_yield=yes
39123 else
39124 echo "$as_me: failed program was:" >&5
39125 sed 's/^/| /' conftest.$ac_ext >&5
39126
39127 ac_cv_func_sched_yield=no
39128 fi
39129 rm -f conftest.err conftest.$ac_objext \
39130 conftest$ac_exeext conftest.$ac_ext
39131 fi
39132 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39133 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39134 if test $ac_cv_func_sched_yield = yes; then
39135 cat >>confdefs.h <<\_ACEOF
39136 #define HAVE_SCHED_YIELD 1
39137 _ACEOF
39138
39139 else
39140
39141 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39142 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39143 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 else
39146 ac_check_lib_save_LIBS=$LIBS
39147 LIBS="-lposix4 $LIBS"
39148 cat >conftest.$ac_ext <<_ACEOF
39149 /* confdefs.h. */
39150 _ACEOF
39151 cat confdefs.h >>conftest.$ac_ext
39152 cat >>conftest.$ac_ext <<_ACEOF
39153 /* end confdefs.h. */
39154
39155 /* Override any gcc2 internal prototype to avoid an error. */
39156 #ifdef __cplusplus
39157 extern "C"
39158 #endif
39159 /* We use char because int might match the return type of a gcc2
39160 builtin and then its argument prototype would still apply. */
39161 char sched_yield ();
39162 int
39163 main ()
39164 {
39165 sched_yield ();
39166 ;
39167 return 0;
39168 }
39169 _ACEOF
39170 rm -f conftest.$ac_objext conftest$ac_exeext
39171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39172 (eval $ac_link) 2>conftest.er1
39173 ac_status=$?
39174 grep -v '^ *+' conftest.er1 >conftest.err
39175 rm -f conftest.er1
39176 cat conftest.err >&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } &&
39179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39182 ac_status=$?
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; } &&
39185 { ac_try='test -s conftest$ac_exeext'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; }; then
39191 ac_cv_lib_posix4_sched_yield=yes
39192 else
39193 echo "$as_me: failed program was:" >&5
39194 sed 's/^/| /' conftest.$ac_ext >&5
39195
39196 ac_cv_lib_posix4_sched_yield=no
39197 fi
39198 rm -f conftest.err conftest.$ac_objext \
39199 conftest$ac_exeext conftest.$ac_ext
39200 LIBS=$ac_check_lib_save_LIBS
39201 fi
39202 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39203 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39204 if test $ac_cv_lib_posix4_sched_yield = yes; then
39205 cat >>confdefs.h <<\_ACEOF
39206 #define HAVE_SCHED_YIELD 1
39207 _ACEOF
39208 POSIX4_LINK=" -lposix4"
39209 else
39210 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39211 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39212
39213 fi
39214
39215
39216
39217 fi
39218
39219 fi
39220
39221 HAVE_PRIOR_FUNCS=0
39222 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39223 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39224 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39225 echo $ECHO_N "(cached) $ECHO_C" >&6
39226 else
39227 cat >conftest.$ac_ext <<_ACEOF
39228 /* confdefs.h. */
39229 _ACEOF
39230 cat confdefs.h >>conftest.$ac_ext
39231 cat >>conftest.$ac_ext <<_ACEOF
39232 /* end confdefs.h. */
39233 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39235 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39236
39237 /* System header to define __stub macros and hopefully few prototypes,
39238 which can conflict with char pthread_attr_getschedpolicy (); below.
39239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39240 <limits.h> exists even on freestanding compilers. */
39241
39242 #ifdef __STDC__
39243 # include <limits.h>
39244 #else
39245 # include <assert.h>
39246 #endif
39247
39248 #undef pthread_attr_getschedpolicy
39249
39250 /* Override any gcc2 internal prototype to avoid an error. */
39251 #ifdef __cplusplus
39252 extern "C"
39253 {
39254 #endif
39255 /* We use char because int might match the return type of a gcc2
39256 builtin and then its argument prototype would still apply. */
39257 char pthread_attr_getschedpolicy ();
39258 /* The GNU C library defines this for functions which it implements
39259 to always fail with ENOSYS. Some functions are actually named
39260 something starting with __ and the normal name is an alias. */
39261 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39262 choke me
39263 #else
39264 char (*f) () = pthread_attr_getschedpolicy;
39265 #endif
39266 #ifdef __cplusplus
39267 }
39268 #endif
39269
39270 int
39271 main ()
39272 {
39273 return f != pthread_attr_getschedpolicy;
39274 ;
39275 return 0;
39276 }
39277 _ACEOF
39278 rm -f conftest.$ac_objext conftest$ac_exeext
39279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39280 (eval $ac_link) 2>conftest.er1
39281 ac_status=$?
39282 grep -v '^ *+' conftest.er1 >conftest.err
39283 rm -f conftest.er1
39284 cat conftest.err >&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); } &&
39287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39290 ac_status=$?
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; } &&
39293 { ac_try='test -s conftest$ac_exeext'
39294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39295 (eval $ac_try) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); }; }; then
39299 ac_cv_func_pthread_attr_getschedpolicy=yes
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 ac_cv_func_pthread_attr_getschedpolicy=no
39305 fi
39306 rm -f conftest.err conftest.$ac_objext \
39307 conftest$ac_exeext conftest.$ac_ext
39308 fi
39309 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39310 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39311 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39312 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39313 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39314 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317 cat >conftest.$ac_ext <<_ACEOF
39318 /* confdefs.h. */
39319 _ACEOF
39320 cat confdefs.h >>conftest.$ac_ext
39321 cat >>conftest.$ac_ext <<_ACEOF
39322 /* end confdefs.h. */
39323 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39325 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39326
39327 /* System header to define __stub macros and hopefully few prototypes,
39328 which can conflict with char pthread_attr_setschedparam (); below.
39329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39330 <limits.h> exists even on freestanding compilers. */
39331
39332 #ifdef __STDC__
39333 # include <limits.h>
39334 #else
39335 # include <assert.h>
39336 #endif
39337
39338 #undef pthread_attr_setschedparam
39339
39340 /* Override any gcc2 internal prototype to avoid an error. */
39341 #ifdef __cplusplus
39342 extern "C"
39343 {
39344 #endif
39345 /* We use char because int might match the return type of a gcc2
39346 builtin and then its argument prototype would still apply. */
39347 char pthread_attr_setschedparam ();
39348 /* The GNU C library defines this for functions which it implements
39349 to always fail with ENOSYS. Some functions are actually named
39350 something starting with __ and the normal name is an alias. */
39351 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39352 choke me
39353 #else
39354 char (*f) () = pthread_attr_setschedparam;
39355 #endif
39356 #ifdef __cplusplus
39357 }
39358 #endif
39359
39360 int
39361 main ()
39362 {
39363 return f != pthread_attr_setschedparam;
39364 ;
39365 return 0;
39366 }
39367 _ACEOF
39368 rm -f conftest.$ac_objext conftest$ac_exeext
39369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39370 (eval $ac_link) 2>conftest.er1
39371 ac_status=$?
39372 grep -v '^ *+' conftest.er1 >conftest.err
39373 rm -f conftest.er1
39374 cat conftest.err >&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); } &&
39377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39379 (eval $ac_try) 2>&5
39380 ac_status=$?
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); }; } &&
39383 { ac_try='test -s conftest$ac_exeext'
39384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39385 (eval $ac_try) 2>&5
39386 ac_status=$?
39387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388 (exit $ac_status); }; }; then
39389 ac_cv_func_pthread_attr_setschedparam=yes
39390 else
39391 echo "$as_me: failed program was:" >&5
39392 sed 's/^/| /' conftest.$ac_ext >&5
39393
39394 ac_cv_func_pthread_attr_setschedparam=no
39395 fi
39396 rm -f conftest.err conftest.$ac_objext \
39397 conftest$ac_exeext conftest.$ac_ext
39398 fi
39399 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39400 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39401 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39402 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39403 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39404 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39405 echo $ECHO_N "(cached) $ECHO_C" >&6
39406 else
39407 cat >conftest.$ac_ext <<_ACEOF
39408 /* confdefs.h. */
39409 _ACEOF
39410 cat confdefs.h >>conftest.$ac_ext
39411 cat >>conftest.$ac_ext <<_ACEOF
39412 /* end confdefs.h. */
39413 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39415 #define sched_get_priority_max innocuous_sched_get_priority_max
39416
39417 /* System header to define __stub macros and hopefully few prototypes,
39418 which can conflict with char sched_get_priority_max (); below.
39419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39420 <limits.h> exists even on freestanding compilers. */
39421
39422 #ifdef __STDC__
39423 # include <limits.h>
39424 #else
39425 # include <assert.h>
39426 #endif
39427
39428 #undef sched_get_priority_max
39429
39430 /* Override any gcc2 internal prototype to avoid an error. */
39431 #ifdef __cplusplus
39432 extern "C"
39433 {
39434 #endif
39435 /* We use char because int might match the return type of a gcc2
39436 builtin and then its argument prototype would still apply. */
39437 char sched_get_priority_max ();
39438 /* The GNU C library defines this for functions which it implements
39439 to always fail with ENOSYS. Some functions are actually named
39440 something starting with __ and the normal name is an alias. */
39441 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39442 choke me
39443 #else
39444 char (*f) () = sched_get_priority_max;
39445 #endif
39446 #ifdef __cplusplus
39447 }
39448 #endif
39449
39450 int
39451 main ()
39452 {
39453 return f != sched_get_priority_max;
39454 ;
39455 return 0;
39456 }
39457 _ACEOF
39458 rm -f conftest.$ac_objext conftest$ac_exeext
39459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39460 (eval $ac_link) 2>conftest.er1
39461 ac_status=$?
39462 grep -v '^ *+' conftest.er1 >conftest.err
39463 rm -f conftest.er1
39464 cat conftest.err >&5
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); } &&
39467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39469 (eval $ac_try) 2>&5
39470 ac_status=$?
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); }; } &&
39473 { ac_try='test -s conftest$ac_exeext'
39474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39475 (eval $ac_try) 2>&5
39476 ac_status=$?
39477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478 (exit $ac_status); }; }; then
39479 ac_cv_func_sched_get_priority_max=yes
39480 else
39481 echo "$as_me: failed program was:" >&5
39482 sed 's/^/| /' conftest.$ac_ext >&5
39483
39484 ac_cv_func_sched_get_priority_max=no
39485 fi
39486 rm -f conftest.err conftest.$ac_objext \
39487 conftest$ac_exeext conftest.$ac_ext
39488 fi
39489 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39490 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39491 if test $ac_cv_func_sched_get_priority_max = yes; then
39492 HAVE_PRIOR_FUNCS=1
39493 else
39494 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39495 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39496 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39498 else
39499 ac_check_lib_save_LIBS=$LIBS
39500 LIBS="-lposix4 $LIBS"
39501 cat >conftest.$ac_ext <<_ACEOF
39502 /* confdefs.h. */
39503 _ACEOF
39504 cat confdefs.h >>conftest.$ac_ext
39505 cat >>conftest.$ac_ext <<_ACEOF
39506 /* end confdefs.h. */
39507
39508 /* Override any gcc2 internal prototype to avoid an error. */
39509 #ifdef __cplusplus
39510 extern "C"
39511 #endif
39512 /* We use char because int might match the return type of a gcc2
39513 builtin and then its argument prototype would still apply. */
39514 char sched_get_priority_max ();
39515 int
39516 main ()
39517 {
39518 sched_get_priority_max ();
39519 ;
39520 return 0;
39521 }
39522 _ACEOF
39523 rm -f conftest.$ac_objext conftest$ac_exeext
39524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39525 (eval $ac_link) 2>conftest.er1
39526 ac_status=$?
39527 grep -v '^ *+' conftest.er1 >conftest.err
39528 rm -f conftest.er1
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } &&
39532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39534 (eval $ac_try) 2>&5
39535 ac_status=$?
39536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39537 (exit $ac_status); }; } &&
39538 { ac_try='test -s conftest$ac_exeext'
39539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39540 (eval $ac_try) 2>&5
39541 ac_status=$?
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); }; }; then
39544 ac_cv_lib_posix4_sched_get_priority_max=yes
39545 else
39546 echo "$as_me: failed program was:" >&5
39547 sed 's/^/| /' conftest.$ac_ext >&5
39548
39549 ac_cv_lib_posix4_sched_get_priority_max=no
39550 fi
39551 rm -f conftest.err conftest.$ac_objext \
39552 conftest$ac_exeext conftest.$ac_ext
39553 LIBS=$ac_check_lib_save_LIBS
39554 fi
39555 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39556 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39557 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39558
39559 HAVE_PRIOR_FUNCS=1
39560 POSIX4_LINK=" -lposix4"
39561
39562 fi
39563
39564
39565 fi
39566
39567
39568 fi
39569
39570
39571 fi
39572
39573
39574 if test "$HAVE_PRIOR_FUNCS" = 1; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39577 _ACEOF
39578
39579 else
39580 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39581 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39582 fi
39583
39584 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39585 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39586 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39587 echo $ECHO_N "(cached) $ECHO_C" >&6
39588 else
39589 cat >conftest.$ac_ext <<_ACEOF
39590 /* confdefs.h. */
39591 _ACEOF
39592 cat confdefs.h >>conftest.$ac_ext
39593 cat >>conftest.$ac_ext <<_ACEOF
39594 /* end confdefs.h. */
39595 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39597 #define pthread_cancel innocuous_pthread_cancel
39598
39599 /* System header to define __stub macros and hopefully few prototypes,
39600 which can conflict with char pthread_cancel (); below.
39601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39602 <limits.h> exists even on freestanding compilers. */
39603
39604 #ifdef __STDC__
39605 # include <limits.h>
39606 #else
39607 # include <assert.h>
39608 #endif
39609
39610 #undef pthread_cancel
39611
39612 /* Override any gcc2 internal prototype to avoid an error. */
39613 #ifdef __cplusplus
39614 extern "C"
39615 {
39616 #endif
39617 /* We use char because int might match the return type of a gcc2
39618 builtin and then its argument prototype would still apply. */
39619 char pthread_cancel ();
39620 /* The GNU C library defines this for functions which it implements
39621 to always fail with ENOSYS. Some functions are actually named
39622 something starting with __ and the normal name is an alias. */
39623 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39624 choke me
39625 #else
39626 char (*f) () = pthread_cancel;
39627 #endif
39628 #ifdef __cplusplus
39629 }
39630 #endif
39631
39632 int
39633 main ()
39634 {
39635 return f != pthread_cancel;
39636 ;
39637 return 0;
39638 }
39639 _ACEOF
39640 rm -f conftest.$ac_objext conftest$ac_exeext
39641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39642 (eval $ac_link) 2>conftest.er1
39643 ac_status=$?
39644 grep -v '^ *+' conftest.er1 >conftest.err
39645 rm -f conftest.er1
39646 cat conftest.err >&5
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); } &&
39649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39651 (eval $ac_try) 2>&5
39652 ac_status=$?
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); }; } &&
39655 { ac_try='test -s conftest$ac_exeext'
39656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39657 (eval $ac_try) 2>&5
39658 ac_status=$?
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); }; }; then
39661 ac_cv_func_pthread_cancel=yes
39662 else
39663 echo "$as_me: failed program was:" >&5
39664 sed 's/^/| /' conftest.$ac_ext >&5
39665
39666 ac_cv_func_pthread_cancel=no
39667 fi
39668 rm -f conftest.err conftest.$ac_objext \
39669 conftest$ac_exeext conftest.$ac_ext
39670 fi
39671 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39672 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39673 if test $ac_cv_func_pthread_cancel = yes; then
39674 cat >>confdefs.h <<\_ACEOF
39675 #define HAVE_PTHREAD_CANCEL 1
39676 _ACEOF
39677
39678 else
39679 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39680 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39681 fi
39682
39683
39684 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39685 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39686 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39688 else
39689 cat >conftest.$ac_ext <<_ACEOF
39690 /* confdefs.h. */
39691 _ACEOF
39692 cat confdefs.h >>conftest.$ac_ext
39693 cat >>conftest.$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39697 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39698
39699 /* System header to define __stub macros and hopefully few prototypes,
39700 which can conflict with char pthread_attr_setstacksize (); below.
39701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39702 <limits.h> exists even on freestanding compilers. */
39703
39704 #ifdef __STDC__
39705 # include <limits.h>
39706 #else
39707 # include <assert.h>
39708 #endif
39709
39710 #undef pthread_attr_setstacksize
39711
39712 /* Override any gcc2 internal prototype to avoid an error. */
39713 #ifdef __cplusplus
39714 extern "C"
39715 {
39716 #endif
39717 /* We use char because int might match the return type of a gcc2
39718 builtin and then its argument prototype would still apply. */
39719 char pthread_attr_setstacksize ();
39720 /* The GNU C library defines this for functions which it implements
39721 to always fail with ENOSYS. Some functions are actually named
39722 something starting with __ and the normal name is an alias. */
39723 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39724 choke me
39725 #else
39726 char (*f) () = pthread_attr_setstacksize;
39727 #endif
39728 #ifdef __cplusplus
39729 }
39730 #endif
39731
39732 int
39733 main ()
39734 {
39735 return f != pthread_attr_setstacksize;
39736 ;
39737 return 0;
39738 }
39739 _ACEOF
39740 rm -f conftest.$ac_objext conftest$ac_exeext
39741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39742 (eval $ac_link) 2>conftest.er1
39743 ac_status=$?
39744 grep -v '^ *+' conftest.er1 >conftest.err
39745 rm -f conftest.er1
39746 cat conftest.err >&5
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); } &&
39749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39751 (eval $ac_try) 2>&5
39752 ac_status=$?
39753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754 (exit $ac_status); }; } &&
39755 { ac_try='test -s conftest$ac_exeext'
39756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39757 (eval $ac_try) 2>&5
39758 ac_status=$?
39759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39760 (exit $ac_status); }; }; then
39761 ac_cv_func_pthread_attr_setstacksize=yes
39762 else
39763 echo "$as_me: failed program was:" >&5
39764 sed 's/^/| /' conftest.$ac_ext >&5
39765
39766 ac_cv_func_pthread_attr_setstacksize=no
39767 fi
39768 rm -f conftest.err conftest.$ac_objext \
39769 conftest$ac_exeext conftest.$ac_ext
39770 fi
39771 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39772 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39773 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39774 cat >>confdefs.h <<\_ACEOF
39775 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39776 _ACEOF
39777
39778 fi
39779
39780
39781
39782 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39783 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39784 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39786 else
39787
39788 cat >conftest.$ac_ext <<_ACEOF
39789 /* confdefs.h. */
39790 _ACEOF
39791 cat confdefs.h >>conftest.$ac_ext
39792 cat >>conftest.$ac_ext <<_ACEOF
39793 /* end confdefs.h. */
39794 #include <pthread.h>
39795 int
39796 main ()
39797 {
39798
39799 pthread_mutexattr_t attr;
39800 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39801
39802 ;
39803 return 0;
39804 }
39805 _ACEOF
39806 rm -f conftest.$ac_objext
39807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39808 (eval $ac_compile) 2>conftest.er1
39809 ac_status=$?
39810 grep -v '^ *+' conftest.er1 >conftest.err
39811 rm -f conftest.er1
39812 cat conftest.err >&5
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); } &&
39815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39817 (eval $ac_try) 2>&5
39818 ac_status=$?
39819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39820 (exit $ac_status); }; } &&
39821 { ac_try='test -s conftest.$ac_objext'
39822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39823 (eval $ac_try) 2>&5
39824 ac_status=$?
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); }; }; then
39827 wx_cv_type_pthread_mutexattr_t=yes
39828 else
39829 echo "$as_me: failed program was:" >&5
39830 sed 's/^/| /' conftest.$ac_ext >&5
39831
39832 wx_cv_type_pthread_mutexattr_t=no
39833
39834 fi
39835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39836
39837 fi
39838 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39839 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39840
39841 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39842 cat >>confdefs.h <<\_ACEOF
39843 #define HAVE_PTHREAD_MUTEXATTR_T 1
39844 _ACEOF
39845
39846
39847 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39848 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39849 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 else
39852
39853 cat >conftest.$ac_ext <<_ACEOF
39854 /* confdefs.h. */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 #include <pthread.h>
39860 int
39861 main ()
39862 {
39863
39864 pthread_mutexattr_t attr;
39865 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39866
39867 ;
39868 return 0;
39869 }
39870 _ACEOF
39871 rm -f conftest.$ac_objext
39872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39873 (eval $ac_compile) 2>conftest.er1
39874 ac_status=$?
39875 grep -v '^ *+' conftest.er1 >conftest.err
39876 rm -f conftest.er1
39877 cat conftest.err >&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); } &&
39880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39882 (eval $ac_try) 2>&5
39883 ac_status=$?
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); }; } &&
39886 { ac_try='test -s conftest.$ac_objext'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39889 ac_status=$?
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; }; then
39892 wx_cv_func_pthread_mutexattr_settype_decl=yes
39893 else
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.$ac_ext >&5
39896
39897 wx_cv_func_pthread_mutexattr_settype_decl=no
39898
39899 fi
39900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39901
39902 fi
39903 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39904 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39905 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39906 cat >>confdefs.h <<\_ACEOF
39907 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39908 _ACEOF
39909
39910 fi
39911 else
39912 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39913 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39914 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39915 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 else
39917
39918 cat >conftest.$ac_ext <<_ACEOF
39919 /* confdefs.h. */
39920 _ACEOF
39921 cat confdefs.h >>conftest.$ac_ext
39922 cat >>conftest.$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39924 #include <pthread.h>
39925 int
39926 main ()
39927 {
39928
39929 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39930
39931 ;
39932 return 0;
39933 }
39934 _ACEOF
39935 rm -f conftest.$ac_objext
39936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39937 (eval $ac_compile) 2>conftest.er1
39938 ac_status=$?
39939 grep -v '^ *+' conftest.er1 >conftest.err
39940 rm -f conftest.er1
39941 cat conftest.err >&5
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); } &&
39944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39946 (eval $ac_try) 2>&5
39947 ac_status=$?
39948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39949 (exit $ac_status); }; } &&
39950 { ac_try='test -s conftest.$ac_objext'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39953 ac_status=$?
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; }; then
39956
39957 wx_cv_type_pthread_rec_mutex_init=yes
39958
39959 else
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.$ac_ext >&5
39962
39963
39964 wx_cv_type_pthread_rec_mutex_init=no
39965
39966
39967 fi
39968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39969
39970 fi
39971 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39972 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39973 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39974 cat >>confdefs.h <<\_ACEOF
39975 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39976 _ACEOF
39977
39978 else
39979 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39980 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39981 fi
39982 fi
39983 fi
39984
39985 else
39986 if test "$wxUSE_THREADS" = "yes" ; then
39987 case "${host}" in
39988 *-*-mingw32* )
39989 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39990 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39991 if test "${wx_cv_cflags_mthread+set}" = set; then
39992 echo $ECHO_N "(cached) $ECHO_C" >&6
39993 else
39994
39995 CXXFLAGS_OLD="$CXXFLAGS"
39996 CXXFLAGS="-mthreads $CXXFLAGS"
39997 cat >conftest.$ac_ext <<_ACEOF
39998 /* confdefs.h. */
39999 _ACEOF
40000 cat confdefs.h >>conftest.$ac_ext
40001 cat >>conftest.$ac_ext <<_ACEOF
40002 /* end confdefs.h. */
40003
40004 int
40005 main ()
40006 {
40007
40008 ;
40009 return 0;
40010 }
40011 _ACEOF
40012 rm -f conftest.$ac_objext
40013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40014 (eval $ac_compile) 2>conftest.er1
40015 ac_status=$?
40016 grep -v '^ *+' conftest.er1 >conftest.err
40017 rm -f conftest.er1
40018 cat conftest.err >&5
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); } &&
40021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40023 (eval $ac_try) 2>&5
40024 ac_status=$?
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); }; } &&
40027 { ac_try='test -s conftest.$ac_objext'
40028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40029 (eval $ac_try) 2>&5
40030 ac_status=$?
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); }; }; then
40033 wx_cv_cflags_mthread=yes
40034 else
40035 echo "$as_me: failed program was:" >&5
40036 sed 's/^/| /' conftest.$ac_ext >&5
40037
40038 wx_cv_cflags_mthread=no
40039
40040 fi
40041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40042
40043
40044 fi
40045 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40046 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40047
40048 if test "$wx_cv_cflags_mthread" = "yes"; then
40049 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40050 LDFLAGS="$LDFLAGS -mthreads"
40051 else
40052 CXXFLAGS="$CXXFLAGS_OLD"
40053 fi
40054 ;;
40055 *-pc-os2*emx )
40056 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40057 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40058 LDFLAGS="$LDFLAGS -Zmt"
40059 ;;
40060 esac
40061 fi
40062 fi
40063
40064 echo "$as_me:$LINENO: checking for localtime_r" >&5
40065 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40066 if test "${ac_cv_func_localtime_r+set}" = set; then
40067 echo $ECHO_N "(cached) $ECHO_C" >&6
40068 else
40069 cat >conftest.$ac_ext <<_ACEOF
40070 /* confdefs.h. */
40071 _ACEOF
40072 cat confdefs.h >>conftest.$ac_ext
40073 cat >>conftest.$ac_ext <<_ACEOF
40074 /* end confdefs.h. */
40075 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40077 #define localtime_r innocuous_localtime_r
40078
40079 /* System header to define __stub macros and hopefully few prototypes,
40080 which can conflict with char localtime_r (); below.
40081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40082 <limits.h> exists even on freestanding compilers. */
40083
40084 #ifdef __STDC__
40085 # include <limits.h>
40086 #else
40087 # include <assert.h>
40088 #endif
40089
40090 #undef localtime_r
40091
40092 /* Override any gcc2 internal prototype to avoid an error. */
40093 #ifdef __cplusplus
40094 extern "C"
40095 {
40096 #endif
40097 /* We use char because int might match the return type of a gcc2
40098 builtin and then its argument prototype would still apply. */
40099 char localtime_r ();
40100 /* The GNU C library defines this for functions which it implements
40101 to always fail with ENOSYS. Some functions are actually named
40102 something starting with __ and the normal name is an alias. */
40103 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40104 choke me
40105 #else
40106 char (*f) () = localtime_r;
40107 #endif
40108 #ifdef __cplusplus
40109 }
40110 #endif
40111
40112 int
40113 main ()
40114 {
40115 return f != localtime_r;
40116 ;
40117 return 0;
40118 }
40119 _ACEOF
40120 rm -f conftest.$ac_objext conftest$ac_exeext
40121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40122 (eval $ac_link) 2>conftest.er1
40123 ac_status=$?
40124 grep -v '^ *+' conftest.er1 >conftest.err
40125 rm -f conftest.er1
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } &&
40129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131 (eval $ac_try) 2>&5
40132 ac_status=$?
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); }; } &&
40135 { ac_try='test -s conftest$ac_exeext'
40136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40137 (eval $ac_try) 2>&5
40138 ac_status=$?
40139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40140 (exit $ac_status); }; }; then
40141 ac_cv_func_localtime_r=yes
40142 else
40143 echo "$as_me: failed program was:" >&5
40144 sed 's/^/| /' conftest.$ac_ext >&5
40145
40146 ac_cv_func_localtime_r=no
40147 fi
40148 rm -f conftest.err conftest.$ac_objext \
40149 conftest$ac_exeext conftest.$ac_ext
40150 fi
40151 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40152 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40153 if test $ac_cv_func_localtime_r = yes; then
40154 cat >>confdefs.h <<\_ACEOF
40155 #define HAVE_LOCALTIME_R 1
40156 _ACEOF
40157
40158 fi
40159
40160 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40161 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40162 if test "${ac_cv_func_gmtime_r+set}" = set; then
40163 echo $ECHO_N "(cached) $ECHO_C" >&6
40164 else
40165 cat >conftest.$ac_ext <<_ACEOF
40166 /* confdefs.h. */
40167 _ACEOF
40168 cat confdefs.h >>conftest.$ac_ext
40169 cat >>conftest.$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40171 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define gmtime_r innocuous_gmtime_r
40174
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char gmtime_r (); below.
40177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40178 <limits.h> exists even on freestanding compilers. */
40179
40180 #ifdef __STDC__
40181 # include <limits.h>
40182 #else
40183 # include <assert.h>
40184 #endif
40185
40186 #undef gmtime_r
40187
40188 /* Override any gcc2 internal prototype to avoid an error. */
40189 #ifdef __cplusplus
40190 extern "C"
40191 {
40192 #endif
40193 /* We use char because int might match the return type of a gcc2
40194 builtin and then its argument prototype would still apply. */
40195 char gmtime_r ();
40196 /* The GNU C library defines this for functions which it implements
40197 to always fail with ENOSYS. Some functions are actually named
40198 something starting with __ and the normal name is an alias. */
40199 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40200 choke me
40201 #else
40202 char (*f) () = gmtime_r;
40203 #endif
40204 #ifdef __cplusplus
40205 }
40206 #endif
40207
40208 int
40209 main ()
40210 {
40211 return f != gmtime_r;
40212 ;
40213 return 0;
40214 }
40215 _ACEOF
40216 rm -f conftest.$ac_objext conftest$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40228 ac_status=$?
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try='test -s conftest$ac_exeext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40234 ac_status=$?
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 ac_cv_func_gmtime_r=yes
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242 ac_cv_func_gmtime_r=no
40243 fi
40244 rm -f conftest.err conftest.$ac_objext \
40245 conftest$ac_exeext conftest.$ac_ext
40246 fi
40247 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40248 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40249 if test $ac_cv_func_gmtime_r = yes; then
40250 cat >>confdefs.h <<\_ACEOF
40251 #define HAVE_GMTIME_R 1
40252 _ACEOF
40253
40254 fi
40255
40256 echo "$as_me:$LINENO: checking for readdir_r" >&5
40257 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40258 if test "${ac_cv_func_readdir_r+set}" = set; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40260 else
40261 cat >conftest.$ac_ext <<_ACEOF
40262 /* confdefs.h. */
40263 _ACEOF
40264 cat confdefs.h >>conftest.$ac_ext
40265 cat >>conftest.$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40267 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40269 #define readdir_r innocuous_readdir_r
40270
40271 /* System header to define __stub macros and hopefully few prototypes,
40272 which can conflict with char readdir_r (); below.
40273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40274 <limits.h> exists even on freestanding compilers. */
40275
40276 #ifdef __STDC__
40277 # include <limits.h>
40278 #else
40279 # include <assert.h>
40280 #endif
40281
40282 #undef readdir_r
40283
40284 /* Override any gcc2 internal prototype to avoid an error. */
40285 #ifdef __cplusplus
40286 extern "C"
40287 {
40288 #endif
40289 /* We use char because int might match the return type of a gcc2
40290 builtin and then its argument prototype would still apply. */
40291 char readdir_r ();
40292 /* The GNU C library defines this for functions which it implements
40293 to always fail with ENOSYS. Some functions are actually named
40294 something starting with __ and the normal name is an alias. */
40295 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40296 choke me
40297 #else
40298 char (*f) () = readdir_r;
40299 #endif
40300 #ifdef __cplusplus
40301 }
40302 #endif
40303
40304 int
40305 main ()
40306 {
40307 return f != readdir_r;
40308 ;
40309 return 0;
40310 }
40311 _ACEOF
40312 rm -f conftest.$ac_objext conftest$ac_exeext
40313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40314 (eval $ac_link) 2>conftest.er1
40315 ac_status=$?
40316 grep -v '^ *+' conftest.er1 >conftest.err
40317 rm -f conftest.er1
40318 cat conftest.err >&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); } &&
40321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40327 { ac_try='test -s conftest$ac_exeext'
40328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40329 (eval $ac_try) 2>&5
40330 ac_status=$?
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); }; }; then
40333 ac_cv_func_readdir_r=yes
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338 ac_cv_func_readdir_r=no
40339 fi
40340 rm -f conftest.err conftest.$ac_objext \
40341 conftest$ac_exeext conftest.$ac_ext
40342 fi
40343 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40344 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40345 if test $ac_cv_func_readdir_r = yes; then
40346 cat >>confdefs.h <<\_ACEOF
40347 #define HAVE_READDIR_R 1
40348 _ACEOF
40349
40350 fi
40351
40352
40353
40354
40355 ac_ext=c
40356 ac_cpp='$CPP $CPPFLAGS'
40357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40360
40361 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40362 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40363
40364 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40365 echo $ECHO_N "(cached) $ECHO_C" >&6
40366 else
40367
40368
40369 ################################################################
40370
40371 ac_cv_func_which_gethostbyname_r=unknown
40372
40373 #
40374 # ONE ARGUMENT (sanity check)
40375 #
40376
40377 # This should fail, as there is no variant of gethostbyname_r() that takes
40378 # a single argument. If it actually compiles, then we can assume that
40379 # netdb.h is not declaring the function, and the compiler is thereby
40380 # assuming an implicit prototype. In which case, we're out of luck.
40381 #
40382 cat >conftest.$ac_ext <<_ACEOF
40383 /* confdefs.h. */
40384 _ACEOF
40385 cat confdefs.h >>conftest.$ac_ext
40386 cat >>conftest.$ac_ext <<_ACEOF
40387 /* end confdefs.h. */
40388 #include <netdb.h>
40389 int
40390 main ()
40391 {
40392
40393 char *name = "www.gnu.org";
40394 (void)gethostbyname_r(name) /* ; */
40395
40396 ;
40397 return 0;
40398 }
40399 _ACEOF
40400 rm -f conftest.$ac_objext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40402 (eval $ac_compile) 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } &&
40409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40412 ac_status=$?
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try='test -s conftest.$ac_objext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40418 ac_status=$?
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 ac_cv_func_which_gethostbyname_r=no
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 fi
40427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40428
40429 #
40430 # SIX ARGUMENTS
40431 # (e.g. Linux)
40432 #
40433
40434 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40435
40436 cat >conftest.$ac_ext <<_ACEOF
40437 /* confdefs.h. */
40438 _ACEOF
40439 cat confdefs.h >>conftest.$ac_ext
40440 cat >>conftest.$ac_ext <<_ACEOF
40441 /* end confdefs.h. */
40442 #include <netdb.h>
40443 int
40444 main ()
40445 {
40446
40447 char *name = "www.gnu.org";
40448 struct hostent ret, *retp;
40449 char buf[1024];
40450 int buflen = 1024;
40451 int my_h_errno;
40452 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40453
40454 ;
40455 return 0;
40456 }
40457 _ACEOF
40458 rm -f conftest.$ac_objext
40459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40460 (eval $ac_compile) 2>conftest.er1
40461 ac_status=$?
40462 grep -v '^ *+' conftest.er1 >conftest.err
40463 rm -f conftest.er1
40464 cat conftest.err >&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); } &&
40467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40470 ac_status=$?
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; } &&
40473 { ac_try='test -s conftest.$ac_objext'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40476 ac_status=$?
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; }; then
40479 ac_cv_func_which_gethostbyname_r=six
40480 else
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.$ac_ext >&5
40483
40484 fi
40485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40486
40487 fi
40488
40489 #
40490 # FIVE ARGUMENTS
40491 # (e.g. Solaris)
40492 #
40493
40494 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40495
40496 cat >conftest.$ac_ext <<_ACEOF
40497 /* confdefs.h. */
40498 _ACEOF
40499 cat confdefs.h >>conftest.$ac_ext
40500 cat >>conftest.$ac_ext <<_ACEOF
40501 /* end confdefs.h. */
40502 #include <netdb.h>
40503 int
40504 main ()
40505 {
40506
40507 char *name = "www.gnu.org";
40508 struct hostent ret;
40509 char buf[1024];
40510 int buflen = 1024;
40511 int my_h_errno;
40512 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40513
40514 ;
40515 return 0;
40516 }
40517 _ACEOF
40518 rm -f conftest.$ac_objext
40519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40520 (eval $ac_compile) 2>conftest.er1
40521 ac_status=$?
40522 grep -v '^ *+' conftest.er1 >conftest.err
40523 rm -f conftest.er1
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } &&
40527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40530 ac_status=$?
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; } &&
40533 { ac_try='test -s conftest.$ac_objext'
40534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40535 (eval $ac_try) 2>&5
40536 ac_status=$?
40537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40538 (exit $ac_status); }; }; then
40539 ac_cv_func_which_gethostbyname_r=five
40540 else
40541 echo "$as_me: failed program was:" >&5
40542 sed 's/^/| /' conftest.$ac_ext >&5
40543
40544 fi
40545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40546
40547 fi
40548
40549 #
40550 # THREE ARGUMENTS
40551 # (e.g. AIX, HP-UX, Tru64)
40552 #
40553
40554 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40555
40556 cat >conftest.$ac_ext <<_ACEOF
40557 /* confdefs.h. */
40558 _ACEOF
40559 cat confdefs.h >>conftest.$ac_ext
40560 cat >>conftest.$ac_ext <<_ACEOF
40561 /* end confdefs.h. */
40562 #include <netdb.h>
40563 int
40564 main ()
40565 {
40566
40567 char *name = "www.gnu.org";
40568 struct hostent ret;
40569 struct hostent_data data;
40570 (void)gethostbyname_r(name, &ret, &data) /* ; */
40571
40572 ;
40573 return 0;
40574 }
40575 _ACEOF
40576 rm -f conftest.$ac_objext
40577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40578 (eval $ac_compile) 2>conftest.er1
40579 ac_status=$?
40580 grep -v '^ *+' conftest.er1 >conftest.err
40581 rm -f conftest.er1
40582 cat conftest.err >&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); } &&
40585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40588 ac_status=$?
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; } &&
40591 { ac_try='test -s conftest.$ac_objext'
40592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40593 (eval $ac_try) 2>&5
40594 ac_status=$?
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); }; }; then
40597 ac_cv_func_which_gethostbyname_r=three
40598 else
40599 echo "$as_me: failed program was:" >&5
40600 sed 's/^/| /' conftest.$ac_ext >&5
40601
40602 fi
40603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40604
40605 fi
40606
40607 ################################################################
40608
40609
40610 fi
40611
40612 case "$ac_cv_func_which_gethostbyname_r" in
40613 three)
40614 echo "$as_me:$LINENO: result: three" >&5
40615 echo "${ECHO_T}three" >&6
40616 cat >>confdefs.h <<\_ACEOF
40617 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40618 _ACEOF
40619
40620 ;;
40621
40622 five)
40623 echo "$as_me:$LINENO: result: five" >&5
40624 echo "${ECHO_T}five" >&6
40625 cat >>confdefs.h <<\_ACEOF
40626 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40627 _ACEOF
40628
40629 ;;
40630
40631 six)
40632 echo "$as_me:$LINENO: result: six" >&5
40633 echo "${ECHO_T}six" >&6
40634 cat >>confdefs.h <<\_ACEOF
40635 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40636 _ACEOF
40637
40638 ;;
40639
40640 no)
40641 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40642 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40643 ;;
40644
40645 unknown)
40646 echo "$as_me:$LINENO: result: can't tell" >&5
40647 echo "${ECHO_T}can't tell" >&6
40648 ;;
40649
40650 *)
40651 { { echo "$as_me:$LINENO: error: internal error" >&5
40652 echo "$as_me: error: internal error" >&2;}
40653 { (exit 1); exit 1; }; }
40654 ;;
40655 esac
40656
40657 ac_ext=cc
40658 ac_cpp='$CXXCPP $CPPFLAGS'
40659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40662
40663
40664
40665 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40666 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40667 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40668 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40669 if test "${ac_cv_func_gethostbyname+set}" = set; then
40670 echo $ECHO_N "(cached) $ECHO_C" >&6
40671 else
40672 cat >conftest.$ac_ext <<_ACEOF
40673 /* confdefs.h. */
40674 _ACEOF
40675 cat confdefs.h >>conftest.$ac_ext
40676 cat >>conftest.$ac_ext <<_ACEOF
40677 /* end confdefs.h. */
40678 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40680 #define gethostbyname innocuous_gethostbyname
40681
40682 /* System header to define __stub macros and hopefully few prototypes,
40683 which can conflict with char gethostbyname (); below.
40684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40685 <limits.h> exists even on freestanding compilers. */
40686
40687 #ifdef __STDC__
40688 # include <limits.h>
40689 #else
40690 # include <assert.h>
40691 #endif
40692
40693 #undef gethostbyname
40694
40695 /* Override any gcc2 internal prototype to avoid an error. */
40696 #ifdef __cplusplus
40697 extern "C"
40698 {
40699 #endif
40700 /* We use char because int might match the return type of a gcc2
40701 builtin and then its argument prototype would still apply. */
40702 char gethostbyname ();
40703 /* The GNU C library defines this for functions which it implements
40704 to always fail with ENOSYS. Some functions are actually named
40705 something starting with __ and the normal name is an alias. */
40706 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40707 choke me
40708 #else
40709 char (*f) () = gethostbyname;
40710 #endif
40711 #ifdef __cplusplus
40712 }
40713 #endif
40714
40715 int
40716 main ()
40717 {
40718 return f != gethostbyname;
40719 ;
40720 return 0;
40721 }
40722 _ACEOF
40723 rm -f conftest.$ac_objext conftest$ac_exeext
40724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40725 (eval $ac_link) 2>conftest.er1
40726 ac_status=$?
40727 grep -v '^ *+' conftest.er1 >conftest.err
40728 rm -f conftest.er1
40729 cat conftest.err >&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); } &&
40732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40734 (eval $ac_try) 2>&5
40735 ac_status=$?
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); }; } &&
40738 { ac_try='test -s conftest$ac_exeext'
40739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40740 (eval $ac_try) 2>&5
40741 ac_status=$?
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); }; }; then
40744 ac_cv_func_gethostbyname=yes
40745 else
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40748
40749 ac_cv_func_gethostbyname=no
40750 fi
40751 rm -f conftest.err conftest.$ac_objext \
40752 conftest$ac_exeext conftest.$ac_ext
40753 fi
40754 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40755 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40756 if test $ac_cv_func_gethostbyname = yes; then
40757 cat >>confdefs.h <<\_ACEOF
40758 #define HAVE_GETHOSTBYNAME 1
40759 _ACEOF
40760
40761 fi
40762
40763 fi
40764
40765 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40766 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40767 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 else
40770
40771 cat >conftest.$ac_ext <<_ACEOF
40772 /* confdefs.h. */
40773 _ACEOF
40774 cat confdefs.h >>conftest.$ac_ext
40775 cat >>conftest.$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40777 #include <netdb.h>
40778 int
40779 main ()
40780 {
40781
40782 char *name;
40783 char *proto;
40784 struct servent *se, *res;
40785 char buffer[2048];
40786 int buflen = 2048;
40787 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40788
40789 ;
40790 return 0;
40791 }
40792 _ACEOF
40793 rm -f conftest.$ac_objext
40794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40795 (eval $ac_compile) 2>conftest.er1
40796 ac_status=$?
40797 grep -v '^ *+' conftest.er1 >conftest.err
40798 rm -f conftest.er1
40799 cat conftest.err >&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } &&
40802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40804 (eval $ac_try) 2>&5
40805 ac_status=$?
40806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40807 (exit $ac_status); }; } &&
40808 { ac_try='test -s conftest.$ac_objext'
40809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40810 (eval $ac_try) 2>&5
40811 ac_status=$?
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); }; }; then
40814 ac_cv_func_which_getservbyname_r=six
40815 else
40816 echo "$as_me: failed program was:" >&5
40817 sed 's/^/| /' conftest.$ac_ext >&5
40818
40819
40820 cat >conftest.$ac_ext <<_ACEOF
40821 /* confdefs.h. */
40822 _ACEOF
40823 cat confdefs.h >>conftest.$ac_ext
40824 cat >>conftest.$ac_ext <<_ACEOF
40825 /* end confdefs.h. */
40826 #include <netdb.h>
40827 int
40828 main ()
40829 {
40830
40831 char *name;
40832 char *proto;
40833 struct servent *se;
40834 char buffer[2048];
40835 int buflen = 2048;
40836 (void) getservbyname_r(name, proto, se, buffer, buflen)
40837
40838 ;
40839 return 0;
40840 }
40841 _ACEOF
40842 rm -f conftest.$ac_objext
40843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40844 (eval $ac_compile) 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } &&
40851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40854 ac_status=$?
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; } &&
40857 { ac_try='test -s conftest.$ac_objext'
40858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40859 (eval $ac_try) 2>&5
40860 ac_status=$?
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); }; }; then
40863 ac_cv_func_which_getservbyname_r=five
40864 else
40865 echo "$as_me: failed program was:" >&5
40866 sed 's/^/| /' conftest.$ac_ext >&5
40867
40868
40869 cat >conftest.$ac_ext <<_ACEOF
40870 /* confdefs.h. */
40871 _ACEOF
40872 cat confdefs.h >>conftest.$ac_ext
40873 cat >>conftest.$ac_ext <<_ACEOF
40874 /* end confdefs.h. */
40875 #include <netdb.h>
40876 int
40877 main ()
40878 {
40879
40880 char *name;
40881 char *proto;
40882 struct servent *se;
40883 struct servent_data data;
40884 (void) getservbyname_r(name, proto, se, &data);
40885
40886 ;
40887 return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext
40891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40892 (eval $ac_compile) 2>conftest.er1
40893 ac_status=$?
40894 grep -v '^ *+' conftest.er1 >conftest.err
40895 rm -f conftest.er1
40896 cat conftest.err >&5
40897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40898 (exit $ac_status); } &&
40899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40901 (eval $ac_try) 2>&5
40902 ac_status=$?
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); }; } &&
40905 { ac_try='test -s conftest.$ac_objext'
40906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40907 (eval $ac_try) 2>&5
40908 ac_status=$?
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); }; }; then
40911 ac_cv_func_which_getservbyname_r=four
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40915
40916 ac_cv_func_which_getservbyname_r=no
40917
40918 fi
40919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40920
40921
40922 fi
40923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40924
40925
40926 fi
40927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40928
40929
40930 fi
40931 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40932 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40933
40934 if test $ac_cv_func_which_getservbyname_r = six; then
40935 cat >>confdefs.h <<\_ACEOF
40936 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40937 _ACEOF
40938
40939 elif test $ac_cv_func_which_getservbyname_r = five; then
40940 cat >>confdefs.h <<\_ACEOF
40941 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40942 _ACEOF
40943
40944 elif test $ac_cv_func_which_getservbyname_r = four; then
40945 cat >>confdefs.h <<\_ACEOF
40946 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40947 _ACEOF
40948
40949 fi
40950
40951
40952 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40953 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40954
40955 for ac_func in getservbyname
40956 do
40957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40958 echo "$as_me:$LINENO: checking for $ac_func" >&5
40959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40960 if eval "test \"\${$as_ac_var+set}\" = set"; then
40961 echo $ECHO_N "(cached) $ECHO_C" >&6
40962 else
40963 cat >conftest.$ac_ext <<_ACEOF
40964 /* confdefs.h. */
40965 _ACEOF
40966 cat confdefs.h >>conftest.$ac_ext
40967 cat >>conftest.$ac_ext <<_ACEOF
40968 /* end confdefs.h. */
40969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40971 #define $ac_func innocuous_$ac_func
40972
40973 /* System header to define __stub macros and hopefully few prototypes,
40974 which can conflict with char $ac_func (); below.
40975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40976 <limits.h> exists even on freestanding compilers. */
40977
40978 #ifdef __STDC__
40979 # include <limits.h>
40980 #else
40981 # include <assert.h>
40982 #endif
40983
40984 #undef $ac_func
40985
40986 /* Override any gcc2 internal prototype to avoid an error. */
40987 #ifdef __cplusplus
40988 extern "C"
40989 {
40990 #endif
40991 /* We use char because int might match the return type of a gcc2
40992 builtin and then its argument prototype would still apply. */
40993 char $ac_func ();
40994 /* The GNU C library defines this for functions which it implements
40995 to always fail with ENOSYS. Some functions are actually named
40996 something starting with __ and the normal name is an alias. */
40997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40998 choke me
40999 #else
41000 char (*f) () = $ac_func;
41001 #endif
41002 #ifdef __cplusplus
41003 }
41004 #endif
41005
41006 int
41007 main ()
41008 {
41009 return f != $ac_func;
41010 ;
41011 return 0;
41012 }
41013 _ACEOF
41014 rm -f conftest.$ac_objext conftest$ac_exeext
41015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41016 (eval $ac_link) 2>conftest.er1
41017 ac_status=$?
41018 grep -v '^ *+' conftest.er1 >conftest.err
41019 rm -f conftest.er1
41020 cat conftest.err >&5
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); } &&
41023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41025 (eval $ac_try) 2>&5
41026 ac_status=$?
41027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41028 (exit $ac_status); }; } &&
41029 { ac_try='test -s conftest$ac_exeext'
41030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41031 (eval $ac_try) 2>&5
41032 ac_status=$?
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); }; }; then
41035 eval "$as_ac_var=yes"
41036 else
41037 echo "$as_me: failed program was:" >&5
41038 sed 's/^/| /' conftest.$ac_ext >&5
41039
41040 eval "$as_ac_var=no"
41041 fi
41042 rm -f conftest.err conftest.$ac_objext \
41043 conftest$ac_exeext conftest.$ac_ext
41044 fi
41045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41047 if test `eval echo '${'$as_ac_var'}'` = yes; then
41048 cat >>confdefs.h <<_ACEOF
41049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41050 _ACEOF
41051 cat >>confdefs.h <<\_ACEOF
41052 #define HAVE_GETSERVBYNAME 1
41053 _ACEOF
41054
41055 fi
41056 done
41057
41058 fi
41059
41060 if test "$wxUSE_THREADS" = "yes"; then
41061 cat >>confdefs.h <<\_ACEOF
41062 #define wxUSE_THREADS 1
41063 _ACEOF
41064
41065
41066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41067 else
41068 if test "$wx_cv_func_strtok_r" = "yes"; then
41069 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41070 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41071 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41072 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41073 echo "$as_me:$LINENO: result: yes" >&5
41074 echo "${ECHO_T}yes" >&6
41075 else
41076 echo "$as_me:$LINENO: result: no" >&5
41077 echo "${ECHO_T}no" >&6
41078 fi
41079 fi
41080 fi
41081
41082 if test "$WXGTK20" = 1 ; then
41083 cat >>confdefs.h <<_ACEOF
41084 #define __WXGTK20__ $WXGTK20
41085 _ACEOF
41086
41087 WXGTK12=1
41088 fi
41089
41090 if test "$WXGTK12" = 1 ; then
41091 cat >>confdefs.h <<_ACEOF
41092 #define __WXGTK12__ $WXGTK12
41093 _ACEOF
41094
41095 fi
41096
41097 if test "$WXGTK127" = 1 ; then
41098 cat >>confdefs.h <<_ACEOF
41099 #define __WXGTK127__ $WXGTK127
41100 _ACEOF
41101
41102 fi
41103
41104 if test "$WXGPE" = 1 ; then
41105 cat >>confdefs.h <<_ACEOF
41106 #define __WXGPE__ $WXGPE
41107 _ACEOF
41108
41109 fi
41110
41111 DEBUG_CFLAGS=
41112 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41113 DEBUG_CFLAGS="-g"
41114 wxUSE_OPTIMISE=no
41115 fi
41116
41117 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41118 wxUSE_DEBUG_INFO=yes
41119 if test "$GCC" = yes; then
41120 DEBUG_CFLAGS="-ggdb"
41121 fi
41122 fi
41123
41124 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41125 cat >>confdefs.h <<\_ACEOF
41126 #define WXDEBUG 1
41127 _ACEOF
41128
41129 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41130 else
41131 if test "$wxUSE_GTK" = 1 ; then
41132 if test "x$wxGTK_VERSION" = "x1" ; then
41133 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41134 fi
41135 fi
41136 fi
41137
41138 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41139 cat >>confdefs.h <<\_ACEOF
41140 #define wxUSE_MEMORY_TRACING 1
41141 _ACEOF
41142
41143 cat >>confdefs.h <<\_ACEOF
41144 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41145 _ACEOF
41146
41147 cat >>confdefs.h <<\_ACEOF
41148 #define wxUSE_DEBUG_NEW_ALWAYS 1
41149 _ACEOF
41150
41151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41152 fi
41153
41154 if test "$wxUSE_DMALLOC" = "yes" ; then
41155 DMALLOC_LIBS="-ldmallocthcxx"
41156 fi
41157
41158 PROFILE_FLAGS=
41159 if test "$wxUSE_PROFILE" = "yes" ; then
41160 PROFILE_FLAGS=" -pg"
41161 fi
41162
41163 if test "$GCC" = "yes" ; then
41164 if test "$wxUSE_NO_RTTI" = "yes" ; then
41165 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41166 fi
41167 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41168 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41169 fi
41170 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41171 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41172 fi
41173
41174 case "${host}" in
41175 powerpc*-*-aix* )
41176 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41177 ;;
41178 *-hppa* )
41179 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41180 ;;
41181 esac
41182 fi
41183
41184 OPTIMISE_CFLAGS=
41185 if test "$wxUSE_OPTIMISE" = "no" ; then
41186 if test "$GCC" = yes ; then
41187 OPTIMISE_CFLAGS="-O0"
41188 fi
41189 else
41190 if test "$GCC" = yes ; then
41191 case "${host}" in
41192 *-pc-os2_emx | *-pc-os2-emx )
41193 OPTIMISE_CFLAGS="-O2"
41194 ;;
41195 *)
41196 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41197 ;;
41198 esac
41199 else
41200 OPTIMISE_CFLAGS="-O"
41201 fi
41202 fi
41203
41204
41205 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41206 cat >>confdefs.h <<\_ACEOF
41207 #define WXWIN_COMPATIBILITY_2_4 1
41208 _ACEOF
41209
41210
41211 WXWIN_COMPATIBILITY_2_6="yes"
41212 fi
41213
41214 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41215 cat >>confdefs.h <<\_ACEOF
41216 #define WXWIN_COMPATIBILITY_2_6 1
41217 _ACEOF
41218
41219 fi
41220
41221
41222 if test "$wxUSE_GUI" = "yes"; then
41223 cat >>confdefs.h <<\_ACEOF
41224 #define wxUSE_GUI 1
41225 _ACEOF
41226
41227
41228 fi
41229
41230
41231 if test "$wxUSE_UNIX" = "yes"; then
41232 cat >>confdefs.h <<\_ACEOF
41233 #define wxUSE_UNIX 1
41234 _ACEOF
41235
41236 fi
41237
41238
41239 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41240
41241 HAVE_DL_FUNCS=0
41242 HAVE_SHL_FUNCS=0
41243 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41244 if test "$USE_DARWIN" = 1; then
41245 HAVE_DL_FUNCS=1
41246 elif test "$USE_DOS" = 1; then
41247 HAVE_DL_FUNCS=0
41248 else
41249
41250 for ac_func in dlopen
41251 do
41252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41253 echo "$as_me:$LINENO: checking for $ac_func" >&5
41254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41255 if eval "test \"\${$as_ac_var+set}\" = set"; then
41256 echo $ECHO_N "(cached) $ECHO_C" >&6
41257 else
41258 cat >conftest.$ac_ext <<_ACEOF
41259 /* confdefs.h. */
41260 _ACEOF
41261 cat confdefs.h >>conftest.$ac_ext
41262 cat >>conftest.$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41266 #define $ac_func innocuous_$ac_func
41267
41268 /* System header to define __stub macros and hopefully few prototypes,
41269 which can conflict with char $ac_func (); below.
41270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41271 <limits.h> exists even on freestanding compilers. */
41272
41273 #ifdef __STDC__
41274 # include <limits.h>
41275 #else
41276 # include <assert.h>
41277 #endif
41278
41279 #undef $ac_func
41280
41281 /* Override any gcc2 internal prototype to avoid an error. */
41282 #ifdef __cplusplus
41283 extern "C"
41284 {
41285 #endif
41286 /* We use char because int might match the return type of a gcc2
41287 builtin and then its argument prototype would still apply. */
41288 char $ac_func ();
41289 /* The GNU C library defines this for functions which it implements
41290 to always fail with ENOSYS. Some functions are actually named
41291 something starting with __ and the normal name is an alias. */
41292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41293 choke me
41294 #else
41295 char (*f) () = $ac_func;
41296 #endif
41297 #ifdef __cplusplus
41298 }
41299 #endif
41300
41301 int
41302 main ()
41303 {
41304 return f != $ac_func;
41305 ;
41306 return 0;
41307 }
41308 _ACEOF
41309 rm -f conftest.$ac_objext conftest$ac_exeext
41310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41311 (eval $ac_link) 2>conftest.er1
41312 ac_status=$?
41313 grep -v '^ *+' conftest.er1 >conftest.err
41314 rm -f conftest.er1
41315 cat conftest.err >&5
41316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41317 (exit $ac_status); } &&
41318 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41320 (eval $ac_try) 2>&5
41321 ac_status=$?
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); }; } &&
41324 { ac_try='test -s conftest$ac_exeext'
41325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41326 (eval $ac_try) 2>&5
41327 ac_status=$?
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); }; }; then
41330 eval "$as_ac_var=yes"
41331 else
41332 echo "$as_me: failed program was:" >&5
41333 sed 's/^/| /' conftest.$ac_ext >&5
41334
41335 eval "$as_ac_var=no"
41336 fi
41337 rm -f conftest.err conftest.$ac_objext \
41338 conftest$ac_exeext conftest.$ac_ext
41339 fi
41340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41342 if test `eval echo '${'$as_ac_var'}'` = yes; then
41343 cat >>confdefs.h <<_ACEOF
41344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41345 _ACEOF
41346
41347 cat >>confdefs.h <<\_ACEOF
41348 #define HAVE_DLOPEN 1
41349 _ACEOF
41350
41351 HAVE_DL_FUNCS=1
41352
41353 else
41354
41355 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41356 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41357 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41358 echo $ECHO_N "(cached) $ECHO_C" >&6
41359 else
41360 ac_check_lib_save_LIBS=$LIBS
41361 LIBS="-ldl $LIBS"
41362 cat >conftest.$ac_ext <<_ACEOF
41363 /* confdefs.h. */
41364 _ACEOF
41365 cat confdefs.h >>conftest.$ac_ext
41366 cat >>conftest.$ac_ext <<_ACEOF
41367 /* end confdefs.h. */
41368
41369 /* Override any gcc2 internal prototype to avoid an error. */
41370 #ifdef __cplusplus
41371 extern "C"
41372 #endif
41373 /* We use char because int might match the return type of a gcc2
41374 builtin and then its argument prototype would still apply. */
41375 char dlopen ();
41376 int
41377 main ()
41378 {
41379 dlopen ();
41380 ;
41381 return 0;
41382 }
41383 _ACEOF
41384 rm -f conftest.$ac_objext conftest$ac_exeext
41385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41386 (eval $ac_link) 2>conftest.er1
41387 ac_status=$?
41388 grep -v '^ *+' conftest.er1 >conftest.err
41389 rm -f conftest.er1
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } &&
41393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41395 (eval $ac_try) 2>&5
41396 ac_status=$?
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); }; } &&
41399 { ac_try='test -s conftest$ac_exeext'
41400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401 (eval $ac_try) 2>&5
41402 ac_status=$?
41403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41404 (exit $ac_status); }; }; then
41405 ac_cv_lib_dl_dlopen=yes
41406 else
41407 echo "$as_me: failed program was:" >&5
41408 sed 's/^/| /' conftest.$ac_ext >&5
41409
41410 ac_cv_lib_dl_dlopen=no
41411 fi
41412 rm -f conftest.err conftest.$ac_objext \
41413 conftest$ac_exeext conftest.$ac_ext
41414 LIBS=$ac_check_lib_save_LIBS
41415 fi
41416 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41417 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41418 if test $ac_cv_lib_dl_dlopen = yes; then
41419
41420 cat >>confdefs.h <<\_ACEOF
41421 #define HAVE_DLOPEN 1
41422 _ACEOF
41423
41424 HAVE_DL_FUNCS=1
41425 DL_LINK=" -ldl$DL_LINK"
41426
41427 else
41428
41429
41430 for ac_func in shl_load
41431 do
41432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41433 echo "$as_me:$LINENO: checking for $ac_func" >&5
41434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41435 if eval "test \"\${$as_ac_var+set}\" = set"; then
41436 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 else
41438 cat >conftest.$ac_ext <<_ACEOF
41439 /* confdefs.h. */
41440 _ACEOF
41441 cat confdefs.h >>conftest.$ac_ext
41442 cat >>conftest.$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41446 #define $ac_func innocuous_$ac_func
41447
41448 /* System header to define __stub macros and hopefully few prototypes,
41449 which can conflict with char $ac_func (); below.
41450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41451 <limits.h> exists even on freestanding compilers. */
41452
41453 #ifdef __STDC__
41454 # include <limits.h>
41455 #else
41456 # include <assert.h>
41457 #endif
41458
41459 #undef $ac_func
41460
41461 /* Override any gcc2 internal prototype to avoid an error. */
41462 #ifdef __cplusplus
41463 extern "C"
41464 {
41465 #endif
41466 /* We use char because int might match the return type of a gcc2
41467 builtin and then its argument prototype would still apply. */
41468 char $ac_func ();
41469 /* The GNU C library defines this for functions which it implements
41470 to always fail with ENOSYS. Some functions are actually named
41471 something starting with __ and the normal name is an alias. */
41472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41473 choke me
41474 #else
41475 char (*f) () = $ac_func;
41476 #endif
41477 #ifdef __cplusplus
41478 }
41479 #endif
41480
41481 int
41482 main ()
41483 {
41484 return f != $ac_func;
41485 ;
41486 return 0;
41487 }
41488 _ACEOF
41489 rm -f conftest.$ac_objext conftest$ac_exeext
41490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41491 (eval $ac_link) 2>conftest.er1
41492 ac_status=$?
41493 grep -v '^ *+' conftest.er1 >conftest.err
41494 rm -f conftest.er1
41495 cat conftest.err >&5
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); } &&
41498 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41500 (eval $ac_try) 2>&5
41501 ac_status=$?
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); }; } &&
41504 { ac_try='test -s conftest$ac_exeext'
41505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41506 (eval $ac_try) 2>&5
41507 ac_status=$?
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); }; }; then
41510 eval "$as_ac_var=yes"
41511 else
41512 echo "$as_me: failed program was:" >&5
41513 sed 's/^/| /' conftest.$ac_ext >&5
41514
41515 eval "$as_ac_var=no"
41516 fi
41517 rm -f conftest.err conftest.$ac_objext \
41518 conftest$ac_exeext conftest.$ac_ext
41519 fi
41520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41522 if test `eval echo '${'$as_ac_var'}'` = yes; then
41523 cat >>confdefs.h <<_ACEOF
41524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41525 _ACEOF
41526
41527 cat >>confdefs.h <<\_ACEOF
41528 #define HAVE_SHL_LOAD 1
41529 _ACEOF
41530
41531 HAVE_SHL_FUNCS=1
41532
41533 else
41534
41535 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41536 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41537 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41538 echo $ECHO_N "(cached) $ECHO_C" >&6
41539 else
41540 ac_check_lib_save_LIBS=$LIBS
41541 LIBS="-lshl_load $LIBS"
41542 cat >conftest.$ac_ext <<_ACEOF
41543 /* confdefs.h. */
41544 _ACEOF
41545 cat confdefs.h >>conftest.$ac_ext
41546 cat >>conftest.$ac_ext <<_ACEOF
41547 /* end confdefs.h. */
41548
41549 /* Override any gcc2 internal prototype to avoid an error. */
41550 #ifdef __cplusplus
41551 extern "C"
41552 #endif
41553 /* We use char because int might match the return type of a gcc2
41554 builtin and then its argument prototype would still apply. */
41555 char dld ();
41556 int
41557 main ()
41558 {
41559 dld ();
41560 ;
41561 return 0;
41562 }
41563 _ACEOF
41564 rm -f conftest.$ac_objext conftest$ac_exeext
41565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41566 (eval $ac_link) 2>conftest.er1
41567 ac_status=$?
41568 grep -v '^ *+' conftest.er1 >conftest.err
41569 rm -f conftest.er1
41570 cat conftest.err >&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); } &&
41573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41575 (eval $ac_try) 2>&5
41576 ac_status=$?
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); }; } &&
41579 { ac_try='test -s conftest$ac_exeext'
41580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41581 (eval $ac_try) 2>&5
41582 ac_status=$?
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); }; }; then
41585 ac_cv_lib_shl_load_dld=yes
41586 else
41587 echo "$as_me: failed program was:" >&5
41588 sed 's/^/| /' conftest.$ac_ext >&5
41589
41590 ac_cv_lib_shl_load_dld=no
41591 fi
41592 rm -f conftest.err conftest.$ac_objext \
41593 conftest$ac_exeext conftest.$ac_ext
41594 LIBS=$ac_check_lib_save_LIBS
41595 fi
41596 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41597 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41598 if test $ac_cv_lib_shl_load_dld = yes; then
41599
41600 HAVE_SHL_FUNCS=1
41601 DL_LINK=" -ldld$DL_LINK"
41602
41603 fi
41604
41605
41606 fi
41607 done
41608
41609
41610 fi
41611
41612
41613 fi
41614 done
41615
41616
41617 if test "$HAVE_DL_FUNCS" = 1; then
41618
41619 for ac_func in dlerror
41620 do
41621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41622 echo "$as_me:$LINENO: checking for $ac_func" >&5
41623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41624 if eval "test \"\${$as_ac_var+set}\" = set"; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41627 cat >conftest.$ac_ext <<_ACEOF
41628 /* confdefs.h. */
41629 _ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41635 #define $ac_func innocuous_$ac_func
41636
41637 /* System header to define __stub macros and hopefully few prototypes,
41638 which can conflict with char $ac_func (); below.
41639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41640 <limits.h> exists even on freestanding compilers. */
41641
41642 #ifdef __STDC__
41643 # include <limits.h>
41644 #else
41645 # include <assert.h>
41646 #endif
41647
41648 #undef $ac_func
41649
41650 /* Override any gcc2 internal prototype to avoid an error. */
41651 #ifdef __cplusplus
41652 extern "C"
41653 {
41654 #endif
41655 /* We use char because int might match the return type of a gcc2
41656 builtin and then its argument prototype would still apply. */
41657 char $ac_func ();
41658 /* The GNU C library defines this for functions which it implements
41659 to always fail with ENOSYS. Some functions are actually named
41660 something starting with __ and the normal name is an alias. */
41661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41662 choke me
41663 #else
41664 char (*f) () = $ac_func;
41665 #endif
41666 #ifdef __cplusplus
41667 }
41668 #endif
41669
41670 int
41671 main ()
41672 {
41673 return f != $ac_func;
41674 ;
41675 return 0;
41676 }
41677 _ACEOF
41678 rm -f conftest.$ac_objext conftest$ac_exeext
41679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41680 (eval $ac_link) 2>conftest.er1
41681 ac_status=$?
41682 grep -v '^ *+' conftest.er1 >conftest.err
41683 rm -f conftest.er1
41684 cat conftest.err >&5
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); } &&
41687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41689 (eval $ac_try) 2>&5
41690 ac_status=$?
41691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692 (exit $ac_status); }; } &&
41693 { ac_try='test -s conftest$ac_exeext'
41694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41695 (eval $ac_try) 2>&5
41696 ac_status=$?
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); }; }; then
41699 eval "$as_ac_var=yes"
41700 else
41701 echo "$as_me: failed program was:" >&5
41702 sed 's/^/| /' conftest.$ac_ext >&5
41703
41704 eval "$as_ac_var=no"
41705 fi
41706 rm -f conftest.err conftest.$ac_objext \
41707 conftest$ac_exeext conftest.$ac_ext
41708 fi
41709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41711 if test `eval echo '${'$as_ac_var'}'` = yes; then
41712 cat >>confdefs.h <<_ACEOF
41713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41714 _ACEOF
41715 cat >>confdefs.h <<\_ACEOF
41716 #define HAVE_DLERROR 1
41717 _ACEOF
41718
41719 else
41720
41721 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41722 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41723 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41724 echo $ECHO_N "(cached) $ECHO_C" >&6
41725 else
41726 ac_check_lib_save_LIBS=$LIBS
41727 LIBS="-ldl $LIBS"
41728 cat >conftest.$ac_ext <<_ACEOF
41729 /* confdefs.h. */
41730 _ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h. */
41734
41735 /* Override any gcc2 internal prototype to avoid an error. */
41736 #ifdef __cplusplus
41737 extern "C"
41738 #endif
41739 /* We use char because int might match the return type of a gcc2
41740 builtin and then its argument prototype would still apply. */
41741 char dlerror ();
41742 int
41743 main ()
41744 {
41745 dlerror ();
41746 ;
41747 return 0;
41748 }
41749 _ACEOF
41750 rm -f conftest.$ac_objext conftest$ac_exeext
41751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41752 (eval $ac_link) 2>conftest.er1
41753 ac_status=$?
41754 grep -v '^ *+' conftest.er1 >conftest.err
41755 rm -f conftest.er1
41756 cat conftest.err >&5
41757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41758 (exit $ac_status); } &&
41759 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41761 (eval $ac_try) 2>&5
41762 ac_status=$?
41763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41764 (exit $ac_status); }; } &&
41765 { ac_try='test -s conftest$ac_exeext'
41766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41767 (eval $ac_try) 2>&5
41768 ac_status=$?
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; }; then
41771 ac_cv_lib_dl_dlerror=yes
41772 else
41773 echo "$as_me: failed program was:" >&5
41774 sed 's/^/| /' conftest.$ac_ext >&5
41775
41776 ac_cv_lib_dl_dlerror=no
41777 fi
41778 rm -f conftest.err conftest.$ac_objext \
41779 conftest$ac_exeext conftest.$ac_ext
41780 LIBS=$ac_check_lib_save_LIBS
41781 fi
41782 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41783 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41784 if test $ac_cv_lib_dl_dlerror = yes; then
41785 cat >>confdefs.h <<\_ACEOF
41786 #define HAVE_DLERROR 1
41787 _ACEOF
41788
41789 fi
41790
41791
41792
41793 fi
41794 done
41795
41796 fi
41797 fi
41798
41799 if test "$HAVE_DL_FUNCS" = 0; then
41800 if test "$HAVE_SHL_FUNCS" = 0; then
41801 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41802 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41803 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41804 wxUSE_DYNAMIC_LOADER=no
41805 wxUSE_DYNLIB_CLASS=no
41806 else
41807 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41808 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41809 fi
41810 fi
41811 fi
41812 fi
41813 fi
41814
41815 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41816 cat >>confdefs.h <<\_ACEOF
41817 #define wxUSE_DYNAMIC_LOADER 1
41818 _ACEOF
41819
41820 fi
41821 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_DYNLIB_CLASS 1
41824 _ACEOF
41825
41826 fi
41827
41828
41829
41830 if test "$wxUSE_PLUGINS" = "yes" ; then
41831 if test "$wxUSE_SHARED" = "no" ; then
41832 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41833 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41834 wxUSE_PLUGINS=no
41835 fi
41836 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41837 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41838 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41839 wxUSE_PLUGINS=no
41840 fi
41841 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41842 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41843 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41844 wxUSE_PLUGINS=no
41845 fi
41846 if test "$wxUSE_PLUGINS" = "yes" ; then
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_PLUGINS 1
41849 _ACEOF
41850
41851 fi
41852 fi
41853
41854
41855 if test "$wxUSE_STL" = "yes"; then
41856 cat >>confdefs.h <<\_ACEOF
41857 #define wxUSE_STL 1
41858 _ACEOF
41859
41860 fi
41861
41862 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41863 cat >>confdefs.h <<\_ACEOF
41864 #define wxUSE_APPLE_IEEE 1
41865 _ACEOF
41866
41867 fi
41868
41869 if test "$wxUSE_TIMER" = "yes"; then
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_TIMER 1
41872 _ACEOF
41873
41874 fi
41875
41876 if test "$USE_UNIX" = "1" ; then
41877 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41878 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41879 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41880 echo $ECHO_N "(cached) $ECHO_C" >&6
41881 else
41882
41883 cat >conftest.$ac_ext <<_ACEOF
41884 /* confdefs.h. */
41885 _ACEOF
41886 cat confdefs.h >>conftest.$ac_ext
41887 cat >>conftest.$ac_ext <<_ACEOF
41888 /* end confdefs.h. */
41889
41890 #include <sys/ioctl.h>
41891 #include <sys/soundcard.h>
41892
41893 int
41894 main ()
41895 {
41896
41897 ioctl(0, SNDCTL_DSP_SPEED, 0);
41898
41899 ;
41900 return 0;
41901 }
41902 _ACEOF
41903 rm -f conftest.$ac_objext conftest$ac_exeext
41904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41905 (eval $ac_link) 2>conftest.er1
41906 ac_status=$?
41907 grep -v '^ *+' conftest.er1 >conftest.err
41908 rm -f conftest.er1
41909 cat conftest.err >&5
41910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41911 (exit $ac_status); } &&
41912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41914 (eval $ac_try) 2>&5
41915 ac_status=$?
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); }; } &&
41918 { ac_try='test -s conftest$ac_exeext'
41919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41920 (eval $ac_try) 2>&5
41921 ac_status=$?
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); }; }; then
41924 ac_cv_header_sys_soundcard=yes
41925 else
41926 echo "$as_me: failed program was:" >&5
41927 sed 's/^/| /' conftest.$ac_ext >&5
41928
41929
41930 saveLibs="$LIBS"
41931 LIBS="$saveLibs -lossaudio"
41932 cat >conftest.$ac_ext <<_ACEOF
41933 /* confdefs.h. */
41934 _ACEOF
41935 cat confdefs.h >>conftest.$ac_ext
41936 cat >>conftest.$ac_ext <<_ACEOF
41937 /* end confdefs.h. */
41938
41939 #include <sys/ioctl.h>
41940 #include <sys/soundcard.h>
41941
41942 int
41943 main ()
41944 {
41945
41946 ioctl(0, SNDCTL_DSP_SPEED, 0);
41947
41948 ;
41949 return 0;
41950 }
41951 _ACEOF
41952 rm -f conftest.$ac_objext conftest$ac_exeext
41953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41954 (eval $ac_link) 2>conftest.er1
41955 ac_status=$?
41956 grep -v '^ *+' conftest.er1 >conftest.err
41957 rm -f conftest.er1
41958 cat conftest.err >&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); } &&
41961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41963 (eval $ac_try) 2>&5
41964 ac_status=$?
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; } &&
41967 { ac_try='test -s conftest$ac_exeext'
41968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41969 (eval $ac_try) 2>&5
41970 ac_status=$?
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); }; }; then
41973 ac_cv_header_sys_soundcard=yes
41974 else
41975 echo "$as_me: failed program was:" >&5
41976 sed 's/^/| /' conftest.$ac_ext >&5
41977
41978
41979 LIBS="$saveLibs"
41980 ac_cv_header_sys_soundcard=no
41981
41982
41983 fi
41984 rm -f conftest.err conftest.$ac_objext \
41985 conftest$ac_exeext conftest.$ac_ext
41986
41987
41988 fi
41989 rm -f conftest.err conftest.$ac_objext \
41990 conftest$ac_exeext conftest.$ac_ext
41991
41992 fi
41993 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41994 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41995
41996 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41997 cat >>confdefs.h <<\_ACEOF
41998 #define HAVE_SYS_SOUNDCARD_H 1
41999 _ACEOF
42000
42001 else
42002 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42003 fi
42004 fi
42005 WITH_PLUGIN_SDL=0
42006 if test "$wxUSE_SOUND" = "yes"; then
42007 if test "$USE_UNIX" = "1" ; then
42008 if test "$wxUSE_LIBSDL" != "no"; then
42009
42010 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42011 if test "${with_sdl_prefix+set}" = set; then
42012 withval="$with_sdl_prefix"
42013 sdl_prefix="$withval"
42014 else
42015 sdl_prefix=""
42016 fi;
42017
42018 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42019 if test "${with_sdl_exec_prefix+set}" = set; then
42020 withval="$with_sdl_exec_prefix"
42021 sdl_exec_prefix="$withval"
42022 else
42023 sdl_exec_prefix=""
42024 fi;
42025 # Check whether --enable-sdltest or --disable-sdltest was given.
42026 if test "${enable_sdltest+set}" = set; then
42027 enableval="$enable_sdltest"
42028
42029 else
42030 enable_sdltest=yes
42031 fi;
42032
42033 if test x$sdl_exec_prefix != x ; then
42034 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42035 if test x${SDL_CONFIG+set} != xset ; then
42036 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42037 fi
42038 fi
42039 if test x$sdl_prefix != x ; then
42040 sdl_args="$sdl_args --prefix=$sdl_prefix"
42041 if test x${SDL_CONFIG+set} != xset ; then
42042 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42043 fi
42044 fi
42045
42046 if test "x$prefix" != xNONE; then
42047 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42048 fi
42049 # Extract the first word of "sdl-config", so it can be a program name with args.
42050 set dummy sdl-config; ac_word=$2
42051 echo "$as_me:$LINENO: checking for $ac_word" >&5
42052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42053 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42054 echo $ECHO_N "(cached) $ECHO_C" >&6
42055 else
42056 case $SDL_CONFIG in
42057 [\\/]* | ?:[\\/]*)
42058 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42059 ;;
42060 *)
42061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42062 for as_dir in $PATH
42063 do
42064 IFS=$as_save_IFS
42065 test -z "$as_dir" && as_dir=.
42066 for ac_exec_ext in '' $ac_executable_extensions; do
42067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42068 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42070 break 2
42071 fi
42072 done
42073 done
42074
42075 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42076 ;;
42077 esac
42078 fi
42079 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42080
42081 if test -n "$SDL_CONFIG"; then
42082 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42083 echo "${ECHO_T}$SDL_CONFIG" >&6
42084 else
42085 echo "$as_me:$LINENO: result: no" >&5
42086 echo "${ECHO_T}no" >&6
42087 fi
42088
42089 min_sdl_version=1.2.0
42090 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42091 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42092 no_sdl=""
42093 if test "$SDL_CONFIG" = "no" ; then
42094 no_sdl=yes
42095 else
42096 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42097 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42098
42099 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42101 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42103 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42105 if test "x$enable_sdltest" = "xyes" ; then
42106 ac_save_CFLAGS="$CFLAGS"
42107 ac_save_CXXFLAGS="$CXXFLAGS"
42108 ac_save_LIBS="$LIBS"
42109 CFLAGS="$CFLAGS $SDL_CFLAGS"
42110 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42111 LIBS="$LIBS $SDL_LIBS"
42112 rm -f conf.sdltest
42113 if test "$cross_compiling" = yes; then
42114 echo $ac_n "cross compiling; assumed OK... $ac_c"
42115 else
42116 cat >conftest.$ac_ext <<_ACEOF
42117 /* confdefs.h. */
42118 _ACEOF
42119 cat confdefs.h >>conftest.$ac_ext
42120 cat >>conftest.$ac_ext <<_ACEOF
42121 /* end confdefs.h. */
42122
42123 #include <stdio.h>
42124 #include <stdlib.h>
42125 #include <string.h>
42126 #include "SDL.h"
42127
42128 char*
42129 my_strdup (char *str)
42130 {
42131 char *new_str;
42132
42133 if (str)
42134 {
42135 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42136 strcpy (new_str, str);
42137 }
42138 else
42139 new_str = NULL;
42140
42141 return new_str;
42142 }
42143
42144 int main (int argc, char *argv[])
42145 {
42146 int major, minor, micro;
42147 char *tmp_version;
42148
42149 /* This hangs on some systems (?)
42150 system ("touch conf.sdltest");
42151 */
42152 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42153
42154 /* HP/UX 9 (%@#!) writes to sscanf strings */
42155 tmp_version = my_strdup("$min_sdl_version");
42156 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42157 printf("%s, bad version string\n", "$min_sdl_version");
42158 exit(1);
42159 }
42160
42161 if (($sdl_major_version > major) ||
42162 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42163 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42164 {
42165 return 0;
42166 }
42167 else
42168 {
42169 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42170 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42171 printf("*** best to upgrade to the required version.\n");
42172 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42173 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42174 printf("*** config.cache before re-running configure\n");
42175 return 1;
42176 }
42177 }
42178
42179
42180 _ACEOF
42181 rm -f conftest$ac_exeext
42182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42183 (eval $ac_link) 2>&5
42184 ac_status=$?
42185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42188 (eval $ac_try) 2>&5
42189 ac_status=$?
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); }; }; then
42192 :
42193 else
42194 echo "$as_me: program exited with status $ac_status" >&5
42195 echo "$as_me: failed program was:" >&5
42196 sed 's/^/| /' conftest.$ac_ext >&5
42197
42198 ( exit $ac_status )
42199 no_sdl=yes
42200 fi
42201 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42202 fi
42203 CFLAGS="$ac_save_CFLAGS"
42204 CXXFLAGS="$ac_save_CXXFLAGS"
42205 LIBS="$ac_save_LIBS"
42206 fi
42207 fi
42208 if test "x$no_sdl" = x ; then
42209 echo "$as_me:$LINENO: result: yes" >&5
42210 echo "${ECHO_T}yes" >&6
42211
42212 EXTRALIBS_SDL="$SDL_LIBS"
42213 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42214 cat >>confdefs.h <<\_ACEOF
42215 #define wxUSE_LIBSDL 1
42216 _ACEOF
42217
42218
42219 else
42220 echo "$as_me:$LINENO: result: no" >&5
42221 echo "${ECHO_T}no" >&6
42222 if test "$SDL_CONFIG" = "no" ; then
42223 echo "*** The sdl-config script installed by SDL could not be found"
42224 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42225 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42226 echo "*** full path to sdl-config."
42227 else
42228 if test -f conf.sdltest ; then
42229 :
42230 else
42231 echo "*** Could not run SDL test program, checking why..."
42232 CFLAGS="$CFLAGS $SDL_CFLAGS"
42233 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42234 LIBS="$LIBS $SDL_LIBS"
42235 cat >conftest.$ac_ext <<_ACEOF
42236 /* confdefs.h. */
42237 _ACEOF
42238 cat confdefs.h >>conftest.$ac_ext
42239 cat >>conftest.$ac_ext <<_ACEOF
42240 /* end confdefs.h. */
42241
42242 #include <stdio.h>
42243 #include "SDL.h"
42244
42245 int main(int argc, char *argv[])
42246 { return 0; }
42247 #undef main
42248 #define main K_and_R_C_main
42249
42250 int
42251 main ()
42252 {
42253 return 0;
42254 ;
42255 return 0;
42256 }
42257 _ACEOF
42258 rm -f conftest.$ac_objext conftest$ac_exeext
42259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42260 (eval $ac_link) 2>conftest.er1
42261 ac_status=$?
42262 grep -v '^ *+' conftest.er1 >conftest.err
42263 rm -f conftest.er1
42264 cat conftest.err >&5
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); } &&
42267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42269 (eval $ac_try) 2>&5
42270 ac_status=$?
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; } &&
42273 { ac_try='test -s conftest$ac_exeext'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42276 ac_status=$?
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; }; then
42279 echo "*** The test program compiled, but did not run. This usually means"
42280 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42281 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42282 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42283 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42284 echo "*** is required on your system"
42285 echo "***"
42286 echo "*** If you have an old version installed, it is best to remove it, although"
42287 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42288 else
42289 echo "$as_me: failed program was:" >&5
42290 sed 's/^/| /' conftest.$ac_ext >&5
42291
42292 echo "*** The test program failed to compile or link. See the file config.log for the"
42293 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42294 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42295 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42296 fi
42297 rm -f conftest.err conftest.$ac_objext \
42298 conftest$ac_exeext conftest.$ac_ext
42299 CFLAGS="$ac_save_CFLAGS"
42300 CXXFLAGS="$ac_save_CXXFLAGS"
42301 LIBS="$ac_save_LIBS"
42302 fi
42303 fi
42304 SDL_CFLAGS=""
42305 SDL_LIBS=""
42306 wxUSE_LIBSDL="no"
42307 fi
42308
42309
42310 rm -f conf.sdltest
42311
42312 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42313 WITH_PLUGIN_SDL=1
42314 fi
42315 fi
42316 fi
42317
42318 cat >>confdefs.h <<\_ACEOF
42319 #define wxUSE_SOUND 1
42320 _ACEOF
42321
42322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42323 fi
42324
42325 if test "$WXGTK20" = 1; then
42326 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42327 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42328
42329
42330 pkg_failed=no
42331 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42332 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42333
42334 if test -n "$PKG_CONFIG"; then
42335 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42336 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42337 else
42338 if test -n "$PKG_CONFIG" && \
42339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42340 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; then
42344 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42345 else
42346 pkg_failed=yes
42347 fi
42348 fi
42349 else
42350 pkg_failed=untried
42351 fi
42352 if test -n "$PKG_CONFIG"; then
42353 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42354 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42355 else
42356 if test -n "$PKG_CONFIG" && \
42357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42358 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42359 ac_status=$?
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); }; then
42362 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42363 else
42364 pkg_failed=yes
42365 fi
42366 fi
42367 else
42368 pkg_failed=untried
42369 fi
42370
42371
42372
42373 if test $pkg_failed = yes; then
42374
42375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42376 _pkg_short_errors_supported=yes
42377 else
42378 _pkg_short_errors_supported=no
42379 fi
42380 if test $_pkg_short_errors_supported = yes; then
42381 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42382 else
42383 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42384 fi
42385 # Put the nasty error message in config.log where it belongs
42386 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42387
42388
42389 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42390 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42391 wxUSE_LIBGNOMEPRINT="no"
42392
42393
42394 elif test $pkg_failed = untried; then
42395
42396 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42397 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42398 wxUSE_LIBGNOMEPRINT="no"
42399
42400
42401 else
42402 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42403 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42404 echo "$as_me:$LINENO: result: yes" >&5
42405 echo "${ECHO_T}yes" >&6
42406
42407 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42408 cat >>confdefs.h <<\_ACEOF
42409 #define wxUSE_LIBGNOMEPRINT 1
42410 _ACEOF
42411
42412
42413 fi
42414 fi
42415 fi
42416 fi
42417
42418 if test "$WXGTK20" = 1; then
42419 if test "$wxUSE_MIMETYPE" = "yes" ; then
42420 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42421
42422
42423 pkg_failed=no
42424 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42425 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42426
42427 if test -n "$PKG_CONFIG"; then
42428 if test -n "$GNOMEVFS_CFLAGS"; then
42429 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42430 else
42431 if test -n "$PKG_CONFIG" && \
42432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42433 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42434 ac_status=$?
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); }; then
42437 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42438 else
42439 pkg_failed=yes
42440 fi
42441 fi
42442 else
42443 pkg_failed=untried
42444 fi
42445 if test -n "$PKG_CONFIG"; then
42446 if test -n "$GNOMEVFS_LIBS"; then
42447 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42448 else
42449 if test -n "$PKG_CONFIG" && \
42450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42451 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42452 ac_status=$?
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; then
42455 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42456 else
42457 pkg_failed=yes
42458 fi
42459 fi
42460 else
42461 pkg_failed=untried
42462 fi
42463
42464
42465
42466 if test $pkg_failed = yes; then
42467
42468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42469 _pkg_short_errors_supported=yes
42470 else
42471 _pkg_short_errors_supported=no
42472 fi
42473 if test $_pkg_short_errors_supported = yes; then
42474 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42475 else
42476 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42477 fi
42478 # Put the nasty error message in config.log where it belongs
42479 echo "$GNOMEVFS_PKG_ERRORS" >&5
42480
42481
42482 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42483 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42484 wxUSE_LIBGNOMEVFS="no"
42485
42486
42487 elif test $pkg_failed = untried; then
42488
42489 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42490 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42491 wxUSE_LIBGNOMEVFS="no"
42492
42493
42494 else
42495 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42496 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42497 echo "$as_me:$LINENO: result: yes" >&5
42498 echo "${ECHO_T}yes" >&6
42499
42500 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_LIBGNOMEVFS 1
42503 _ACEOF
42504
42505
42506 fi
42507 fi
42508 fi
42509 fi
42510
42511 if test "$WXGTK20" = 1; then
42512 if test "$wxUSE_LIBHILDON" = "yes" ; then
42513
42514 pkg_failed=no
42515 echo "$as_me:$LINENO: checking for HILDON" >&5
42516 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42517
42518 if test -n "$PKG_CONFIG"; then
42519 if test -n "$HILDON_CFLAGS"; then
42520 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42521 else
42522 if test -n "$PKG_CONFIG" && \
42523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42524 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; then
42528 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42529 else
42530 pkg_failed=yes
42531 fi
42532 fi
42533 else
42534 pkg_failed=untried
42535 fi
42536 if test -n "$PKG_CONFIG"; then
42537 if test -n "$HILDON_LIBS"; then
42538 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42539 else
42540 if test -n "$PKG_CONFIG" && \
42541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42542 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42543 ac_status=$?
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); }; then
42546 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42547 else
42548 pkg_failed=yes
42549 fi
42550 fi
42551 else
42552 pkg_failed=untried
42553 fi
42554
42555
42556
42557 if test $pkg_failed = yes; then
42558
42559 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42560 _pkg_short_errors_supported=yes
42561 else
42562 _pkg_short_errors_supported=no
42563 fi
42564 if test $_pkg_short_errors_supported = yes; then
42565 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42566 else
42567 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42568 fi
42569 # Put the nasty error message in config.log where it belongs
42570 echo "$HILDON_PKG_ERRORS" >&5
42571
42572
42573 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42574 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42575 wxUSE_LIBHILDON="no"
42576
42577
42578 elif test $pkg_failed = untried; then
42579
42580 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42581 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42582 wxUSE_LIBHILDON="no"
42583
42584
42585 else
42586 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42587 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42588 echo "$as_me:$LINENO: result: yes" >&5
42589 echo "${ECHO_T}yes" >&6
42590
42591 EXTRALIBS_HILDON="$HILDON_LIBS"
42592 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_LIBHILDON 1
42595 _ACEOF
42596
42597
42598 fi
42599 fi
42600 fi
42601
42602 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_CMDLINE_PARSER 1
42605 _ACEOF
42606
42607 fi
42608
42609 if test "$wxUSE_STOPWATCH" = "yes"; then
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_STOPWATCH 1
42612 _ACEOF
42613
42614 fi
42615
42616 if test "$wxUSE_DATETIME" = "yes"; then
42617 cat >>confdefs.h <<\_ACEOF
42618 #define wxUSE_DATETIME 1
42619 _ACEOF
42620
42621 fi
42622
42623 if test "$wxUSE_FILE" = "yes"; then
42624 cat >>confdefs.h <<\_ACEOF
42625 #define wxUSE_FILE 1
42626 _ACEOF
42627
42628 fi
42629
42630 if test "$wxUSE_FFILE" = "yes"; then
42631 cat >>confdefs.h <<\_ACEOF
42632 #define wxUSE_FFILE 1
42633 _ACEOF
42634
42635 fi
42636
42637 if test "$wxUSE_FILESYSTEM" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_FILESYSTEM 1
42640 _ACEOF
42641
42642 fi
42643
42644 if test "$wxUSE_FS_ZIP" = "yes"; then
42645 cat >>confdefs.h <<\_ACEOF
42646 #define wxUSE_FS_ZIP 1
42647 _ACEOF
42648
42649 fi
42650
42651 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42652 cat >>confdefs.h <<\_ACEOF
42653 #define wxUSE_ARCHIVE_STREAMS 1
42654 _ACEOF
42655
42656 fi
42657
42658 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42659 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42660 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42661 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42662 elif test "$wxUSE_ZLIB" = "no"; then
42663 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42664 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42665 else
42666 cat >>confdefs.h <<\_ACEOF
42667 #define wxUSE_ZIPSTREAM 1
42668 _ACEOF
42669
42670 fi
42671 fi
42672
42673 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42674 if test "$USE_UNIX" != 1; then
42675 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42676 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42677 wxUSE_ON_FATAL_EXCEPTION=no
42678 else
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_ON_FATAL_EXCEPTION 1
42681 _ACEOF
42682
42683 fi
42684 fi
42685
42686 if test "$wxUSE_STACKWALKER" = "yes"; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define wxUSE_STACKWALKER 1
42689 _ACEOF
42690
42691 fi
42692
42693 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42694 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42695 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42696 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42697 wxUSE_DEBUGREPORT=no
42698 else
42699 cat >>confdefs.h <<\_ACEOF
42700 #define wxUSE_DEBUGREPORT 1
42701 _ACEOF
42702
42703 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42705 fi
42706 fi
42707 fi
42708
42709 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_SNGLINST_CHECKER 1
42712 _ACEOF
42713
42714 fi
42715
42716 if test "$wxUSE_BUSYINFO" = "yes"; then
42717 cat >>confdefs.h <<\_ACEOF
42718 #define wxUSE_BUSYINFO 1
42719 _ACEOF
42720
42721 fi
42722
42723 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42724 cat >>confdefs.h <<\_ACEOF
42725 #define wxUSE_STD_IOSTREAM 1
42726 _ACEOF
42727
42728 fi
42729
42730 if test "$wxUSE_STD_STRING" = "yes"; then
42731 cat >>confdefs.h <<\_ACEOF
42732 #define wxUSE_STD_STRING 1
42733 _ACEOF
42734
42735 fi
42736
42737 if test "$wxUSE_STDPATHS" = "yes"; then
42738 cat >>confdefs.h <<\_ACEOF
42739 #define wxUSE_STDPATHS 1
42740 _ACEOF
42741
42742 fi
42743
42744 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_TEXTBUFFER 1
42747 _ACEOF
42748
42749 fi
42750
42751 if test "$wxUSE_TEXTFILE" = "yes"; then
42752 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42753 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42754 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42755 else
42756 cat >>confdefs.h <<\_ACEOF
42757 #define wxUSE_TEXTFILE 1
42758 _ACEOF
42759
42760 fi
42761 fi
42762
42763 if test "$wxUSE_CONFIG" = "yes" ; then
42764 if test "$wxUSE_TEXTFILE" != "yes"; then
42765 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42766 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42767 else
42768 cat >>confdefs.h <<\_ACEOF
42769 #define wxUSE_CONFIG 1
42770 _ACEOF
42771
42772 cat >>confdefs.h <<\_ACEOF
42773 #define wxUSE_CONFIG_NATIVE 1
42774 _ACEOF
42775
42776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42777 fi
42778 fi
42779
42780 if test "$wxUSE_INTL" = "yes" ; then
42781 if test "$wxUSE_FILE" != "yes"; then
42782 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42783 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42784 else
42785 cat >>confdefs.h <<\_ACEOF
42786 #define wxUSE_INTL 1
42787 _ACEOF
42788
42789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42790 GUIDIST="$GUIDIST INTL_DIST"
42791 fi
42792 fi
42793
42794 if test "$wxUSE_LOG" = "yes"; then
42795 cat >>confdefs.h <<\_ACEOF
42796 #define wxUSE_LOG 1
42797 _ACEOF
42798
42799
42800 if test "$wxUSE_LOGGUI" = "yes"; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_LOGGUI 1
42803 _ACEOF
42804
42805 fi
42806
42807 if test "$wxUSE_LOGWINDOW" = "yes"; then
42808 cat >>confdefs.h <<\_ACEOF
42809 #define wxUSE_LOGWINDOW 1
42810 _ACEOF
42811
42812 fi
42813
42814 if test "$wxUSE_LOGDIALOG" = "yes"; then
42815 cat >>confdefs.h <<\_ACEOF
42816 #define wxUSE_LOG_DIALOG 1
42817 _ACEOF
42818
42819 fi
42820
42821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42822 fi
42823
42824 if test "$wxUSE_LONGLONG" = "yes"; then
42825 cat >>confdefs.h <<\_ACEOF
42826 #define wxUSE_LONGLONG 1
42827 _ACEOF
42828
42829 fi
42830
42831 if test "$wxUSE_GEOMETRY" = "yes"; then
42832 cat >>confdefs.h <<\_ACEOF
42833 #define wxUSE_GEOMETRY 1
42834 _ACEOF
42835
42836 fi
42837
42838 if test "$wxUSE_STREAMS" = "yes" ; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define wxUSE_STREAMS 1
42841 _ACEOF
42842
42843 fi
42844
42845 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42846 cat >>confdefs.h <<\_ACEOF
42847 #define wxUSE_PRINTF_POS_PARAMS 1
42848 _ACEOF
42849
42850 fi
42851
42852
42853
42854 if test "$wxUSE_DATETIME" = "yes"; then
42855
42856 for ac_func in strptime
42857 do
42858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42859 echo "$as_me:$LINENO: checking for $ac_func" >&5
42860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42861 if eval "test \"\${$as_ac_var+set}\" = set"; then
42862 echo $ECHO_N "(cached) $ECHO_C" >&6
42863 else
42864 cat >conftest.$ac_ext <<_ACEOF
42865 /* confdefs.h. */
42866 _ACEOF
42867 cat confdefs.h >>conftest.$ac_ext
42868 cat >>conftest.$ac_ext <<_ACEOF
42869 /* end confdefs.h. */
42870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42872 #define $ac_func innocuous_$ac_func
42873
42874 /* System header to define __stub macros and hopefully few prototypes,
42875 which can conflict with char $ac_func (); below.
42876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42877 <limits.h> exists even on freestanding compilers. */
42878
42879 #ifdef __STDC__
42880 # include <limits.h>
42881 #else
42882 # include <assert.h>
42883 #endif
42884
42885 #undef $ac_func
42886
42887 /* Override any gcc2 internal prototype to avoid an error. */
42888 #ifdef __cplusplus
42889 extern "C"
42890 {
42891 #endif
42892 /* We use char because int might match the return type of a gcc2
42893 builtin and then its argument prototype would still apply. */
42894 char $ac_func ();
42895 /* The GNU C library defines this for functions which it implements
42896 to always fail with ENOSYS. Some functions are actually named
42897 something starting with __ and the normal name is an alias. */
42898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42899 choke me
42900 #else
42901 char (*f) () = $ac_func;
42902 #endif
42903 #ifdef __cplusplus
42904 }
42905 #endif
42906
42907 int
42908 main ()
42909 {
42910 return f != $ac_func;
42911 ;
42912 return 0;
42913 }
42914 _ACEOF
42915 rm -f conftest.$ac_objext conftest$ac_exeext
42916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42917 (eval $ac_link) 2>conftest.er1
42918 ac_status=$?
42919 grep -v '^ *+' conftest.er1 >conftest.err
42920 rm -f conftest.er1
42921 cat conftest.err >&5
42922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42923 (exit $ac_status); } &&
42924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42926 (eval $ac_try) 2>&5
42927 ac_status=$?
42928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929 (exit $ac_status); }; } &&
42930 { ac_try='test -s conftest$ac_exeext'
42931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42932 (eval $ac_try) 2>&5
42933 ac_status=$?
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); }; }; then
42936 eval "$as_ac_var=yes"
42937 else
42938 echo "$as_me: failed program was:" >&5
42939 sed 's/^/| /' conftest.$ac_ext >&5
42940
42941 eval "$as_ac_var=no"
42942 fi
42943 rm -f conftest.err conftest.$ac_objext \
42944 conftest$ac_exeext conftest.$ac_ext
42945 fi
42946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42948 if test `eval echo '${'$as_ac_var'}'` = yes; then
42949 cat >>confdefs.h <<_ACEOF
42950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42951 _ACEOF
42952
42953 fi
42954 done
42955
42956 if test "$ac_cv_func_strptime" = "yes"; then
42957 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42958 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42959 if test "${wx_cv_func_strptime_decl+set}" = set; then
42960 echo $ECHO_N "(cached) $ECHO_C" >&6
42961 else
42962
42963 cat >conftest.$ac_ext <<_ACEOF
42964 /* confdefs.h. */
42965 _ACEOF
42966 cat confdefs.h >>conftest.$ac_ext
42967 cat >>conftest.$ac_ext <<_ACEOF
42968 /* end confdefs.h. */
42969
42970 #include <time.h>
42971
42972 int
42973 main ()
42974 {
42975
42976 struct tm t;
42977 strptime("foo", "bar", &t);
42978
42979 ;
42980 return 0;
42981 }
42982 _ACEOF
42983 rm -f conftest.$ac_objext
42984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42985 (eval $ac_compile) 2>conftest.er1
42986 ac_status=$?
42987 grep -v '^ *+' conftest.er1 >conftest.err
42988 rm -f conftest.er1
42989 cat conftest.err >&5
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); } &&
42992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994 (eval $ac_try) 2>&5
42995 ac_status=$?
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; } &&
42998 { ac_try='test -s conftest.$ac_objext'
42999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43000 (eval $ac_try) 2>&5
43001 ac_status=$?
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); }; }; then
43004 wx_cv_func_strptime_decl=yes
43005 else
43006 echo "$as_me: failed program was:" >&5
43007 sed 's/^/| /' conftest.$ac_ext >&5
43008
43009 wx_cv_func_strptime_decl=no
43010
43011 fi
43012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43013
43014
43015 fi
43016 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43017 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43018 fi
43019 if test "$wx_cv_func_strptime_decl" = "yes"; then
43020 cat >>confdefs.h <<\_ACEOF
43021 #define HAVE_STRPTIME_DECL 1
43022 _ACEOF
43023
43024 fi
43025
43026 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43027 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43028 if test "${wx_cv_var_timezone+set}" = set; then
43029 echo $ECHO_N "(cached) $ECHO_C" >&6
43030 else
43031
43032 cat >conftest.$ac_ext <<_ACEOF
43033 /* confdefs.h. */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038
43039 #include <time.h>
43040
43041 int
43042 main ()
43043 {
43044
43045 int tz;
43046 tz = timezone;
43047
43048 ;
43049 return 0;
43050 }
43051 _ACEOF
43052 rm -f conftest.$ac_objext
43053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43054 (eval $ac_compile) 2>conftest.er1
43055 ac_status=$?
43056 grep -v '^ *+' conftest.er1 >conftest.err
43057 rm -f conftest.er1
43058 cat conftest.err >&5
43059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060 (exit $ac_status); } &&
43061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43064 ac_status=$?
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; } &&
43067 { ac_try='test -s conftest.$ac_objext'
43068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43069 (eval $ac_try) 2>&5
43070 ac_status=$?
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); }; }; then
43073
43074 wx_cv_var_timezone=timezone
43075
43076 else
43077 echo "$as_me: failed program was:" >&5
43078 sed 's/^/| /' conftest.$ac_ext >&5
43079
43080
43081 cat >conftest.$ac_ext <<_ACEOF
43082 /* confdefs.h. */
43083 _ACEOF
43084 cat confdefs.h >>conftest.$ac_ext
43085 cat >>conftest.$ac_ext <<_ACEOF
43086 /* end confdefs.h. */
43087
43088 #include <time.h>
43089
43090 int
43091 main ()
43092 {
43093
43094 int tz;
43095 tz = _timezone;
43096
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 rm -f conftest.$ac_objext
43102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43103 (eval $ac_compile) 2>conftest.er1
43104 ac_status=$?
43105 grep -v '^ *+' conftest.er1 >conftest.err
43106 rm -f conftest.er1
43107 cat conftest.err >&5
43108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109 (exit $ac_status); } &&
43110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43112 (eval $ac_try) 2>&5
43113 ac_status=$?
43114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115 (exit $ac_status); }; } &&
43116 { ac_try='test -s conftest.$ac_objext'
43117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43118 (eval $ac_try) 2>&5
43119 ac_status=$?
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); }; }; then
43122
43123 wx_cv_var_timezone=_timezone
43124
43125 else
43126 echo "$as_me: failed program was:" >&5
43127 sed 's/^/| /' conftest.$ac_ext >&5
43128
43129
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136
43137 #include <time.h>
43138
43139 int
43140 main ()
43141 {
43142
43143 int tz;
43144 tz = __timezone;
43145
43146 ;
43147 return 0;
43148 }
43149 _ACEOF
43150 rm -f conftest.$ac_objext
43151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43152 (eval $ac_compile) 2>conftest.er1
43153 ac_status=$?
43154 grep -v '^ *+' conftest.er1 >conftest.err
43155 rm -f conftest.er1
43156 cat conftest.err >&5
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); } &&
43159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43161 (eval $ac_try) 2>&5
43162 ac_status=$?
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); }; } &&
43165 { ac_try='test -s conftest.$ac_objext'
43166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43167 (eval $ac_try) 2>&5
43168 ac_status=$?
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; }; then
43171
43172 wx_cv_var_timezone=__timezone
43173
43174 else
43175 echo "$as_me: failed program was:" >&5
43176 sed 's/^/| /' conftest.$ac_ext >&5
43177
43178
43179 if test "$USE_DOS" = 0 ; then
43180 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43181 echo "$as_me: WARNING: no timezone variable" >&2;}
43182 fi
43183
43184
43185 fi
43186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43187
43188
43189 fi
43190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43191
43192
43193 fi
43194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43195
43196
43197 fi
43198 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43199 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43200
43201 if test "x$wx_cv_var_timezone" != x ; then
43202 cat >>confdefs.h <<_ACEOF
43203 #define WX_TIMEZONE $wx_cv_var_timezone
43204 _ACEOF
43205
43206 fi
43207
43208
43209 for ac_func in localtime
43210 do
43211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43212 echo "$as_me:$LINENO: checking for $ac_func" >&5
43213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43214 if eval "test \"\${$as_ac_var+set}\" = set"; then
43215 echo $ECHO_N "(cached) $ECHO_C" >&6
43216 else
43217 cat >conftest.$ac_ext <<_ACEOF
43218 /* confdefs.h. */
43219 _ACEOF
43220 cat confdefs.h >>conftest.$ac_ext
43221 cat >>conftest.$ac_ext <<_ACEOF
43222 /* end confdefs.h. */
43223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43225 #define $ac_func innocuous_$ac_func
43226
43227 /* System header to define __stub macros and hopefully few prototypes,
43228 which can conflict with char $ac_func (); below.
43229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43230 <limits.h> exists even on freestanding compilers. */
43231
43232 #ifdef __STDC__
43233 # include <limits.h>
43234 #else
43235 # include <assert.h>
43236 #endif
43237
43238 #undef $ac_func
43239
43240 /* Override any gcc2 internal prototype to avoid an error. */
43241 #ifdef __cplusplus
43242 extern "C"
43243 {
43244 #endif
43245 /* We use char because int might match the return type of a gcc2
43246 builtin and then its argument prototype would still apply. */
43247 char $ac_func ();
43248 /* The GNU C library defines this for functions which it implements
43249 to always fail with ENOSYS. Some functions are actually named
43250 something starting with __ and the normal name is an alias. */
43251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43252 choke me
43253 #else
43254 char (*f) () = $ac_func;
43255 #endif
43256 #ifdef __cplusplus
43257 }
43258 #endif
43259
43260 int
43261 main ()
43262 {
43263 return f != $ac_func;
43264 ;
43265 return 0;
43266 }
43267 _ACEOF
43268 rm -f conftest.$ac_objext conftest$ac_exeext
43269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43270 (eval $ac_link) 2>conftest.er1
43271 ac_status=$?
43272 grep -v '^ *+' conftest.er1 >conftest.err
43273 rm -f conftest.er1
43274 cat conftest.err >&5
43275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43276 (exit $ac_status); } &&
43277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43279 (eval $ac_try) 2>&5
43280 ac_status=$?
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; } &&
43283 { ac_try='test -s conftest$ac_exeext'
43284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43285 (eval $ac_try) 2>&5
43286 ac_status=$?
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); }; }; then
43289 eval "$as_ac_var=yes"
43290 else
43291 echo "$as_me: failed program was:" >&5
43292 sed 's/^/| /' conftest.$ac_ext >&5
43293
43294 eval "$as_ac_var=no"
43295 fi
43296 rm -f conftest.err conftest.$ac_objext \
43297 conftest$ac_exeext conftest.$ac_ext
43298 fi
43299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43301 if test `eval echo '${'$as_ac_var'}'` = yes; then
43302 cat >>confdefs.h <<_ACEOF
43303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43304 _ACEOF
43305
43306 fi
43307 done
43308
43309
43310 if test "$ac_cv_func_localtime" = "yes"; then
43311 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43312 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43313 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43315 else
43316
43317 cat >conftest.$ac_ext <<_ACEOF
43318 /* confdefs.h. */
43319 _ACEOF
43320 cat confdefs.h >>conftest.$ac_ext
43321 cat >>conftest.$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43323
43324 #include <time.h>
43325
43326 int
43327 main ()
43328 {
43329
43330 struct tm tm;
43331 tm.tm_gmtoff++;
43332
43333 ;
43334 return 0;
43335 }
43336 _ACEOF
43337 rm -f conftest.$ac_objext
43338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43339 (eval $ac_compile) 2>conftest.er1
43340 ac_status=$?
43341 grep -v '^ *+' conftest.er1 >conftest.err
43342 rm -f conftest.er1
43343 cat conftest.err >&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } &&
43346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348 (eval $ac_try) 2>&5
43349 ac_status=$?
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; } &&
43352 { ac_try='test -s conftest.$ac_objext'
43353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43354 (eval $ac_try) 2>&5
43355 ac_status=$?
43356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43357 (exit $ac_status); }; }; then
43358
43359 wx_cv_struct_tm_has_gmtoff=yes
43360
43361 else
43362 echo "$as_me: failed program was:" >&5
43363 sed 's/^/| /' conftest.$ac_ext >&5
43364
43365 wx_cv_struct_tm_has_gmtoff=no
43366
43367 fi
43368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43369
43370 fi
43371 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43372 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43373 fi
43374
43375 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define WX_GMTOFF_IN_TM 1
43378 _ACEOF
43379
43380 fi
43381
43382
43383
43384 for ac_func in gettimeofday ftime
43385 do
43386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43387 echo "$as_me:$LINENO: checking for $ac_func" >&5
43388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43389 if eval "test \"\${$as_ac_var+set}\" = set"; then
43390 echo $ECHO_N "(cached) $ECHO_C" >&6
43391 else
43392 cat >conftest.$ac_ext <<_ACEOF
43393 /* confdefs.h. */
43394 _ACEOF
43395 cat confdefs.h >>conftest.$ac_ext
43396 cat >>conftest.$ac_ext <<_ACEOF
43397 /* end confdefs.h. */
43398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43400 #define $ac_func innocuous_$ac_func
43401
43402 /* System header to define __stub macros and hopefully few prototypes,
43403 which can conflict with char $ac_func (); below.
43404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43405 <limits.h> exists even on freestanding compilers. */
43406
43407 #ifdef __STDC__
43408 # include <limits.h>
43409 #else
43410 # include <assert.h>
43411 #endif
43412
43413 #undef $ac_func
43414
43415 /* Override any gcc2 internal prototype to avoid an error. */
43416 #ifdef __cplusplus
43417 extern "C"
43418 {
43419 #endif
43420 /* We use char because int might match the return type of a gcc2
43421 builtin and then its argument prototype would still apply. */
43422 char $ac_func ();
43423 /* The GNU C library defines this for functions which it implements
43424 to always fail with ENOSYS. Some functions are actually named
43425 something starting with __ and the normal name is an alias. */
43426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43427 choke me
43428 #else
43429 char (*f) () = $ac_func;
43430 #endif
43431 #ifdef __cplusplus
43432 }
43433 #endif
43434
43435 int
43436 main ()
43437 {
43438 return f != $ac_func;
43439 ;
43440 return 0;
43441 }
43442 _ACEOF
43443 rm -f conftest.$ac_objext conftest$ac_exeext
43444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43445 (eval $ac_link) 2>conftest.er1
43446 ac_status=$?
43447 grep -v '^ *+' conftest.er1 >conftest.err
43448 rm -f conftest.er1
43449 cat conftest.err >&5
43450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43451 (exit $ac_status); } &&
43452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43454 (eval $ac_try) 2>&5
43455 ac_status=$?
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); }; } &&
43458 { ac_try='test -s conftest$ac_exeext'
43459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43460 (eval $ac_try) 2>&5
43461 ac_status=$?
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); }; }; then
43464 eval "$as_ac_var=yes"
43465 else
43466 echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.$ac_ext >&5
43468
43469 eval "$as_ac_var=no"
43470 fi
43471 rm -f conftest.err conftest.$ac_objext \
43472 conftest$ac_exeext conftest.$ac_ext
43473 fi
43474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43476 if test `eval echo '${'$as_ac_var'}'` = yes; then
43477 cat >>confdefs.h <<_ACEOF
43478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43479 _ACEOF
43480 break
43481 fi
43482 done
43483
43484
43485 if test "$ac_cv_func_gettimeofday" = "yes"; then
43486 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43487 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43488 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43489 echo $ECHO_N "(cached) $ECHO_C" >&6
43490 else
43491
43492 cat >conftest.$ac_ext <<_ACEOF
43493 /* confdefs.h. */
43494 _ACEOF
43495 cat confdefs.h >>conftest.$ac_ext
43496 cat >>conftest.$ac_ext <<_ACEOF
43497 /* end confdefs.h. */
43498
43499 #include <sys/time.h>
43500 #include <unistd.h>
43501
43502 int
43503 main ()
43504 {
43505
43506 struct timeval tv;
43507 gettimeofday(&tv, NULL);
43508
43509 ;
43510 return 0;
43511 }
43512 _ACEOF
43513 rm -f conftest.$ac_objext
43514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43515 (eval $ac_compile) 2>conftest.er1
43516 ac_status=$?
43517 grep -v '^ *+' conftest.er1 >conftest.err
43518 rm -f conftest.er1
43519 cat conftest.err >&5
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); } &&
43522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43524 (eval $ac_try) 2>&5
43525 ac_status=$?
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); }; } &&
43528 { ac_try='test -s conftest.$ac_objext'
43529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43530 (eval $ac_try) 2>&5
43531 ac_status=$?
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); }; }; then
43534 wx_cv_func_gettimeofday_has_2_args=yes
43535 else
43536 echo "$as_me: failed program was:" >&5
43537 sed 's/^/| /' conftest.$ac_ext >&5
43538
43539 cat >conftest.$ac_ext <<_ACEOF
43540 /* confdefs.h. */
43541 _ACEOF
43542 cat confdefs.h >>conftest.$ac_ext
43543 cat >>conftest.$ac_ext <<_ACEOF
43544 /* end confdefs.h. */
43545
43546 #include <sys/time.h>
43547 #include <unistd.h>
43548
43549 int
43550 main ()
43551 {
43552
43553 struct timeval tv;
43554 gettimeofday(&tv);
43555
43556 ;
43557 return 0;
43558 }
43559 _ACEOF
43560 rm -f conftest.$ac_objext
43561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43562 (eval $ac_compile) 2>conftest.er1
43563 ac_status=$?
43564 grep -v '^ *+' conftest.er1 >conftest.err
43565 rm -f conftest.er1
43566 cat conftest.err >&5
43567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568 (exit $ac_status); } &&
43569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; } &&
43575 { ac_try='test -s conftest.$ac_objext'
43576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577 (eval $ac_try) 2>&5
43578 ac_status=$?
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); }; }; then
43581 wx_cv_func_gettimeofday_has_2_args=no
43582 else
43583 echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.$ac_ext >&5
43585
43586
43587 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43588 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43589 wx_cv_func_gettimeofday_has_2_args=unknown
43590
43591
43592 fi
43593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43594
43595 fi
43596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43597
43598 fi
43599 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43600 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43601
43602 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define WX_GETTIMEOFDAY_NO_TZ 1
43605 _ACEOF
43606
43607 fi
43608 fi
43609
43610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43611 fi
43612
43613
43614 if test "$wxUSE_SOCKETS" = "yes"; then
43615 if test "$wxUSE_MGL" = "1"; then
43616 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43617 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43618 wxUSE_SOCKETS="no"
43619 fi
43620 fi
43621
43622 if test "$wxUSE_SOCKETS" = "yes"; then
43623 if test "$TOOLKIT" != "MSW"; then
43624 echo "$as_me:$LINENO: checking for socket" >&5
43625 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43626 if test "${ac_cv_func_socket+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43629 cat >conftest.$ac_ext <<_ACEOF
43630 /* confdefs.h. */
43631 _ACEOF
43632 cat confdefs.h >>conftest.$ac_ext
43633 cat >>conftest.$ac_ext <<_ACEOF
43634 /* end confdefs.h. */
43635 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43637 #define socket innocuous_socket
43638
43639 /* System header to define __stub macros and hopefully few prototypes,
43640 which can conflict with char socket (); below.
43641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43642 <limits.h> exists even on freestanding compilers. */
43643
43644 #ifdef __STDC__
43645 # include <limits.h>
43646 #else
43647 # include <assert.h>
43648 #endif
43649
43650 #undef socket
43651
43652 /* Override any gcc2 internal prototype to avoid an error. */
43653 #ifdef __cplusplus
43654 extern "C"
43655 {
43656 #endif
43657 /* We use char because int might match the return type of a gcc2
43658 builtin and then its argument prototype would still apply. */
43659 char socket ();
43660 /* The GNU C library defines this for functions which it implements
43661 to always fail with ENOSYS. Some functions are actually named
43662 something starting with __ and the normal name is an alias. */
43663 #if defined (__stub_socket) || defined (__stub___socket)
43664 choke me
43665 #else
43666 char (*f) () = socket;
43667 #endif
43668 #ifdef __cplusplus
43669 }
43670 #endif
43671
43672 int
43673 main ()
43674 {
43675 return f != socket;
43676 ;
43677 return 0;
43678 }
43679 _ACEOF
43680 rm -f conftest.$ac_objext conftest$ac_exeext
43681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43682 (eval $ac_link) 2>conftest.er1
43683 ac_status=$?
43684 grep -v '^ *+' conftest.er1 >conftest.err
43685 rm -f conftest.er1
43686 cat conftest.err >&5
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); } &&
43689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43691 (eval $ac_try) 2>&5
43692 ac_status=$?
43693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694 (exit $ac_status); }; } &&
43695 { ac_try='test -s conftest$ac_exeext'
43696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43697 (eval $ac_try) 2>&5
43698 ac_status=$?
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); }; }; then
43701 ac_cv_func_socket=yes
43702 else
43703 echo "$as_me: failed program was:" >&5
43704 sed 's/^/| /' conftest.$ac_ext >&5
43705
43706 ac_cv_func_socket=no
43707 fi
43708 rm -f conftest.err conftest.$ac_objext \
43709 conftest$ac_exeext conftest.$ac_ext
43710 fi
43711 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43712 echo "${ECHO_T}$ac_cv_func_socket" >&6
43713 if test $ac_cv_func_socket = yes; then
43714 :
43715 else
43716
43717 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43718 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43719 if test "${ac_cv_lib_socket_socket+set}" = set; then
43720 echo $ECHO_N "(cached) $ECHO_C" >&6
43721 else
43722 ac_check_lib_save_LIBS=$LIBS
43723 LIBS="-lsocket $LIBS"
43724 cat >conftest.$ac_ext <<_ACEOF
43725 /* confdefs.h. */
43726 _ACEOF
43727 cat confdefs.h >>conftest.$ac_ext
43728 cat >>conftest.$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43730
43731 /* Override any gcc2 internal prototype to avoid an error. */
43732 #ifdef __cplusplus
43733 extern "C"
43734 #endif
43735 /* We use char because int might match the return type of a gcc2
43736 builtin and then its argument prototype would still apply. */
43737 char socket ();
43738 int
43739 main ()
43740 {
43741 socket ();
43742 ;
43743 return 0;
43744 }
43745 _ACEOF
43746 rm -f conftest.$ac_objext conftest$ac_exeext
43747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43748 (eval $ac_link) 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } &&
43755 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43757 (eval $ac_try) 2>&5
43758 ac_status=$?
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; } &&
43761 { ac_try='test -s conftest$ac_exeext'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43764 ac_status=$?
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; }; then
43767 ac_cv_lib_socket_socket=yes
43768 else
43769 echo "$as_me: failed program was:" >&5
43770 sed 's/^/| /' conftest.$ac_ext >&5
43771
43772 ac_cv_lib_socket_socket=no
43773 fi
43774 rm -f conftest.err conftest.$ac_objext \
43775 conftest$ac_exeext conftest.$ac_ext
43776 LIBS=$ac_check_lib_save_LIBS
43777 fi
43778 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43779 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43780 if test $ac_cv_lib_socket_socket = yes; then
43781 if test "$INET_LINK" != " -lsocket"; then
43782 INET_LINK="$INET_LINK -lsocket"
43783 fi
43784 else
43785
43786 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43787 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43788 wxUSE_SOCKETS=no
43789
43790
43791 fi
43792
43793
43794
43795 fi
43796
43797 fi
43798 fi
43799
43800 if test "$wxUSE_SOCKETS" = "yes" ; then
43801 if test "$TOOLKIT" != "MSW"; then
43802 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43803 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43804 if test "${wx_cv_type_getsockname3+set}" = set; then
43805 echo $ECHO_N "(cached) $ECHO_C" >&6
43806 else
43807
43808 cat >conftest.$ac_ext <<_ACEOF
43809 /* confdefs.h. */
43810 _ACEOF
43811 cat confdefs.h >>conftest.$ac_ext
43812 cat >>conftest.$ac_ext <<_ACEOF
43813 /* end confdefs.h. */
43814
43815 #include <sys/types.h>
43816 #include <sys/socket.h>
43817
43818 int
43819 main ()
43820 {
43821
43822 socklen_t len;
43823 getsockname(0, 0, &len);
43824
43825 ;
43826 return 0;
43827 }
43828 _ACEOF
43829 rm -f conftest.$ac_objext
43830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43831 (eval $ac_compile) 2>conftest.er1
43832 ac_status=$?
43833 grep -v '^ *+' conftest.er1 >conftest.err
43834 rm -f conftest.er1
43835 cat conftest.err >&5
43836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837 (exit $ac_status); } &&
43838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43840 (eval $ac_try) 2>&5
43841 ac_status=$?
43842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43843 (exit $ac_status); }; } &&
43844 { ac_try='test -s conftest.$ac_objext'
43845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43846 (eval $ac_try) 2>&5
43847 ac_status=$?
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); }; }; then
43850 wx_cv_type_getsockname3=socklen_t
43851 else
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.$ac_ext >&5
43854
43855
43856 CXXFLAGS_OLD="$CXXFLAGS"
43857 if test "$GCC" = yes ; then
43858 CXXFLAGS="-Werror $CXXFLAGS"
43859 fi
43860
43861 cat >conftest.$ac_ext <<_ACEOF
43862 /* confdefs.h. */
43863 _ACEOF
43864 cat confdefs.h >>conftest.$ac_ext
43865 cat >>conftest.$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43867
43868 #include <sys/types.h>
43869 #include <sys/socket.h>
43870
43871 int
43872 main ()
43873 {
43874
43875 size_t len;
43876 getsockname(0, 0, &len);
43877
43878 ;
43879 return 0;
43880 }
43881 _ACEOF
43882 rm -f conftest.$ac_objext
43883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43884 (eval $ac_compile) 2>conftest.er1
43885 ac_status=$?
43886 grep -v '^ *+' conftest.er1 >conftest.err
43887 rm -f conftest.er1
43888 cat conftest.err >&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } &&
43891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893 (eval $ac_try) 2>&5
43894 ac_status=$?
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); }; } &&
43897 { ac_try='test -s conftest.$ac_objext'
43898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43899 (eval $ac_try) 2>&5
43900 ac_status=$?
43901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902 (exit $ac_status); }; }; then
43903 wx_cv_type_getsockname3=size_t
43904 else
43905 echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.$ac_ext >&5
43907
43908 cat >conftest.$ac_ext <<_ACEOF
43909 /* confdefs.h. */
43910 _ACEOF
43911 cat confdefs.h >>conftest.$ac_ext
43912 cat >>conftest.$ac_ext <<_ACEOF
43913 /* end confdefs.h. */
43914
43915 #include <sys/types.h>
43916 #include <sys/socket.h>
43917
43918 int
43919 main ()
43920 {
43921
43922 int len;
43923 getsockname(0, 0, &len);
43924
43925 ;
43926 return 0;
43927 }
43928 _ACEOF
43929 rm -f conftest.$ac_objext
43930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43931 (eval $ac_compile) 2>conftest.er1
43932 ac_status=$?
43933 grep -v '^ *+' conftest.er1 >conftest.err
43934 rm -f conftest.er1
43935 cat conftest.err >&5
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); } &&
43938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43940 (eval $ac_try) 2>&5
43941 ac_status=$?
43942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43943 (exit $ac_status); }; } &&
43944 { ac_try='test -s conftest.$ac_objext'
43945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43946 (eval $ac_try) 2>&5
43947 ac_status=$?
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); }; }; then
43950 wx_cv_type_getsockname3=int
43951 else
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.$ac_ext >&5
43954
43955 wx_cv_type_getsockname3=unknown
43956
43957 fi
43958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43959
43960 fi
43961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43962
43963 CXXFLAGS="$CXXFLAGS_OLD"
43964
43965
43966 fi
43967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43968
43969 fi
43970 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43971 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43972
43973 if test "$wx_cv_type_getsockname3" = "unknown"; then
43974 wxUSE_SOCKETS=no
43975 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43976 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43977 else
43978 cat >>confdefs.h <<_ACEOF
43979 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43980 _ACEOF
43981
43982 fi
43983 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43984 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43985 if test "${wx_cv_type_getsockopt5+set}" = set; then
43986 echo $ECHO_N "(cached) $ECHO_C" >&6
43987 else
43988
43989 cat >conftest.$ac_ext <<_ACEOF
43990 /* confdefs.h. */
43991 _ACEOF
43992 cat confdefs.h >>conftest.$ac_ext
43993 cat >>conftest.$ac_ext <<_ACEOF
43994 /* end confdefs.h. */
43995
43996 #include <sys/types.h>
43997 #include <sys/socket.h>
43998
43999 int
44000 main ()
44001 {
44002
44003 socklen_t len;
44004 getsockopt(0, 0, 0, 0, &len);
44005
44006 ;
44007 return 0;
44008 }
44009 _ACEOF
44010 rm -f conftest.$ac_objext
44011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44012 (eval $ac_compile) 2>conftest.er1
44013 ac_status=$?
44014 grep -v '^ *+' conftest.er1 >conftest.err
44015 rm -f conftest.er1
44016 cat conftest.err >&5
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); } &&
44019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021 (eval $ac_try) 2>&5
44022 ac_status=$?
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; } &&
44025 { ac_try='test -s conftest.$ac_objext'
44026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027 (eval $ac_try) 2>&5
44028 ac_status=$?
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); }; }; then
44031 wx_cv_type_getsockopt5=socklen_t
44032 else
44033 echo "$as_me: failed program was:" >&5
44034 sed 's/^/| /' conftest.$ac_ext >&5
44035
44036
44037 CXXFLAGS_OLD="$CXXFLAGS"
44038 if test "$GCC" = yes ; then
44039 CXXFLAGS="-Werror $CXXFLAGS"
44040 fi
44041
44042 cat >conftest.$ac_ext <<_ACEOF
44043 /* confdefs.h. */
44044 _ACEOF
44045 cat confdefs.h >>conftest.$ac_ext
44046 cat >>conftest.$ac_ext <<_ACEOF
44047 /* end confdefs.h. */
44048
44049 #include <sys/types.h>
44050 #include <sys/socket.h>
44051
44052 int
44053 main ()
44054 {
44055
44056 size_t len;
44057 getsockopt(0, 0, 0, 0, &len);
44058
44059 ;
44060 return 0;
44061 }
44062 _ACEOF
44063 rm -f conftest.$ac_objext
44064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44065 (eval $ac_compile) 2>conftest.er1
44066 ac_status=$?
44067 grep -v '^ *+' conftest.er1 >conftest.err
44068 rm -f conftest.er1
44069 cat conftest.err >&5
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); } &&
44072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44074 (eval $ac_try) 2>&5
44075 ac_status=$?
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); }; } &&
44078 { ac_try='test -s conftest.$ac_objext'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44081 ac_status=$?
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; }; then
44084 wx_cv_type_getsockopt5=size_t
44085 else
44086 echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.$ac_ext >&5
44088
44089 cat >conftest.$ac_ext <<_ACEOF
44090 /* confdefs.h. */
44091 _ACEOF
44092 cat confdefs.h >>conftest.$ac_ext
44093 cat >>conftest.$ac_ext <<_ACEOF
44094 /* end confdefs.h. */
44095
44096 #include <sys/types.h>
44097 #include <sys/socket.h>
44098
44099 int
44100 main ()
44101 {
44102
44103 int len;
44104 getsockopt(0, 0, 0, 0, &len);
44105
44106 ;
44107 return 0;
44108 }
44109 _ACEOF
44110 rm -f conftest.$ac_objext
44111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44112 (eval $ac_compile) 2>conftest.er1
44113 ac_status=$?
44114 grep -v '^ *+' conftest.er1 >conftest.err
44115 rm -f conftest.er1
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } &&
44119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44121 (eval $ac_try) 2>&5
44122 ac_status=$?
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); }; } &&
44125 { ac_try='test -s conftest.$ac_objext'
44126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127 (eval $ac_try) 2>&5
44128 ac_status=$?
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44131 wx_cv_type_getsockopt5=int
44132 else
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44135
44136 wx_cv_type_getsockopt5=unknown
44137
44138 fi
44139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44140
44141 fi
44142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44143
44144 CXXFLAGS="$CXXFLAGS_OLD"
44145
44146
44147 fi
44148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44149
44150 fi
44151 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44152 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44153
44154 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44155 wxUSE_SOCKETS=no
44156 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44157 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44158 else
44159 cat >>confdefs.h <<_ACEOF
44160 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44161 _ACEOF
44162
44163 fi
44164 fi
44165 fi
44166
44167 if test "$wxUSE_SOCKETS" = "yes" ; then
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_SOCKETS 1
44170 _ACEOF
44171
44172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44173 fi
44174
44175 if test "$wxUSE_PROTOCOL" = "yes"; then
44176 if test "$wxUSE_SOCKETS" != "yes"; then
44177 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44178 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44179 wxUSE_PROTOCOL=no
44180 fi
44181 fi
44182
44183 if test "$wxUSE_PROTOCOL" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_PROTOCOL 1
44186 _ACEOF
44187
44188
44189 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44190 cat >>confdefs.h <<\_ACEOF
44191 #define wxUSE_PROTOCOL_HTTP 1
44192 _ACEOF
44193
44194 fi
44195 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_PROTOCOL_FTP 1
44198 _ACEOF
44199
44200 fi
44201 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44202 cat >>confdefs.h <<\_ACEOF
44203 #define wxUSE_PROTOCOL_FILE 1
44204 _ACEOF
44205
44206 fi
44207 else
44208 if test "$wxUSE_FS_INET" = "yes"; then
44209 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44210 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44211 wxUSE_FS_INET="no"
44212 fi
44213 fi
44214
44215 if test "$wxUSE_URL" = "yes"; then
44216 if test "$wxUSE_PROTOCOL" != "yes"; then
44217 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44218 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44219 wxUSE_URL=no
44220 fi
44221 if test "$wxUSE_URL" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_URL 1
44224 _ACEOF
44225
44226 fi
44227 fi
44228
44229 if test "$wxUSE_VARIANT" = "yes"; then
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_VARIANT 1
44232 _ACEOF
44233
44234 fi
44235
44236 if test "$wxUSE_FS_INET" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_FS_INET 1
44239 _ACEOF
44240
44241 fi
44242
44243
44244 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44245 wxUSE_JOYSTICK=no
44246
44247 if test "$TOOLKIT" = "MSW"; then
44248 wxUSE_JOYSTICK=yes
44249
44250 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44251 if test "$USE_DARWIN" = 1; then
44252 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44253 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44254 cat >conftest.$ac_ext <<_ACEOF
44255 /* confdefs.h. */
44256 _ACEOF
44257 cat confdefs.h >>conftest.$ac_ext
44258 cat >>conftest.$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44260 #include <IOKit/hid/IOHIDLib.h>
44261 int
44262 main ()
44263 {
44264 IOHIDQueueInterface *qi = NULL;
44265 IOHIDCallbackFunction cb = NULL;
44266 qi->setEventCallout(NULL, cb, NULL, NULL);
44267 ;
44268 return 0;
44269 }
44270 _ACEOF
44271 rm -f conftest.$ac_objext
44272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44273 (eval $ac_compile) 2>conftest.er1
44274 ac_status=$?
44275 grep -v '^ *+' conftest.er1 >conftest.err
44276 rm -f conftest.er1
44277 cat conftest.err >&5
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); } &&
44280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44282 (eval $ac_try) 2>&5
44283 ac_status=$?
44284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44285 (exit $ac_status); }; } &&
44286 { ac_try='test -s conftest.$ac_objext'
44287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44288 (eval $ac_try) 2>&5
44289 ac_status=$?
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); }; }; then
44292 wxUSE_JOYSTICK=yes
44293
44294 else
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44297
44298 fi
44299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44300 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44301 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44302 fi
44303
44304 else
44305
44306 for ac_header in linux/joystick.h
44307 do
44308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44310 echo "$as_me:$LINENO: checking for $ac_header" >&5
44311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44313 echo $ECHO_N "(cached) $ECHO_C" >&6
44314 fi
44315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44317 else
44318 # Is the header compilable?
44319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44321 cat >conftest.$ac_ext <<_ACEOF
44322 /* confdefs.h. */
44323 _ACEOF
44324 cat confdefs.h >>conftest.$ac_ext
44325 cat >>conftest.$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44327 $ac_includes_default
44328 #include <$ac_header>
44329 _ACEOF
44330 rm -f conftest.$ac_objext
44331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44332 (eval $ac_compile) 2>conftest.er1
44333 ac_status=$?
44334 grep -v '^ *+' conftest.er1 >conftest.err
44335 rm -f conftest.er1
44336 cat conftest.err >&5
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); } &&
44339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44341 (eval $ac_try) 2>&5
44342 ac_status=$?
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); }; } &&
44345 { ac_try='test -s conftest.$ac_objext'
44346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44347 (eval $ac_try) 2>&5
44348 ac_status=$?
44349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44350 (exit $ac_status); }; }; then
44351 ac_header_compiler=yes
44352 else
44353 echo "$as_me: failed program was:" >&5
44354 sed 's/^/| /' conftest.$ac_ext >&5
44355
44356 ac_header_compiler=no
44357 fi
44358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44360 echo "${ECHO_T}$ac_header_compiler" >&6
44361
44362 # Is the header present?
44363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44365 cat >conftest.$ac_ext <<_ACEOF
44366 /* confdefs.h. */
44367 _ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44371 #include <$ac_header>
44372 _ACEOF
44373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44375 ac_status=$?
44376 grep -v '^ *+' conftest.er1 >conftest.err
44377 rm -f conftest.er1
44378 cat conftest.err >&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } >/dev/null; then
44381 if test -s conftest.err; then
44382 ac_cpp_err=$ac_cxx_preproc_warn_flag
44383 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44384 else
44385 ac_cpp_err=
44386 fi
44387 else
44388 ac_cpp_err=yes
44389 fi
44390 if test -z "$ac_cpp_err"; then
44391 ac_header_preproc=yes
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396 ac_header_preproc=no
44397 fi
44398 rm -f conftest.err conftest.$ac_ext
44399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44400 echo "${ECHO_T}$ac_header_preproc" >&6
44401
44402 # So? What about this header?
44403 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44404 yes:no: )
44405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44409 ac_header_preproc=yes
44410 ;;
44411 no:yes:* )
44412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44424 (
44425 cat <<\_ASBOX
44426 ## ----------------------------------------- ##
44427 ## Report this to wx-dev@lists.wxwidgets.org ##
44428 ## ----------------------------------------- ##
44429 _ASBOX
44430 ) |
44431 sed "s/^/$as_me: WARNING: /" >&2
44432 ;;
44433 esac
44434 echo "$as_me:$LINENO: checking for $ac_header" >&5
44435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44437 echo $ECHO_N "(cached) $ECHO_C" >&6
44438 else
44439 eval "$as_ac_Header=\$ac_header_preproc"
44440 fi
44441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44443
44444 fi
44445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44446 cat >>confdefs.h <<_ACEOF
44447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44448 _ACEOF
44449 wxUSE_JOYSTICK=yes
44450 fi
44451
44452 done
44453
44454 fi
44455
44456 if test "$wxUSE_JOYSTICK" = "yes"; then
44457 cat >>confdefs.h <<\_ACEOF
44458 #define wxUSE_JOYSTICK 1
44459 _ACEOF
44460
44461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44462 else
44463 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44464 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44465 fi
44466 fi
44467
44468
44469
44470 if test "$wxUSE_FONTMAP" = "yes" ; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_FONTMAP 1
44473 _ACEOF
44474
44475 fi
44476
44477 if test "$wxUSE_UNICODE" = "yes" ; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_UNICODE 1
44480 _ACEOF
44481
44482
44483 if test "$USE_WIN32" != 1; then
44484 wxUSE_UNICODE_MSLU=no
44485 fi
44486
44487 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44488 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44489 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44490 if test "${ac_cv_lib_unicows_main+set}" = set; then
44491 echo $ECHO_N "(cached) $ECHO_C" >&6
44492 else
44493 ac_check_lib_save_LIBS=$LIBS
44494 LIBS="-lunicows $LIBS"
44495 cat >conftest.$ac_ext <<_ACEOF
44496 /* confdefs.h. */
44497 _ACEOF
44498 cat confdefs.h >>conftest.$ac_ext
44499 cat >>conftest.$ac_ext <<_ACEOF
44500 /* end confdefs.h. */
44501
44502
44503 int
44504 main ()
44505 {
44506 main ();
44507 ;
44508 return 0;
44509 }
44510 _ACEOF
44511 rm -f conftest.$ac_objext conftest$ac_exeext
44512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44513 (eval $ac_link) 2>conftest.er1
44514 ac_status=$?
44515 grep -v '^ *+' conftest.er1 >conftest.err
44516 rm -f conftest.er1
44517 cat conftest.err >&5
44518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44519 (exit $ac_status); } &&
44520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try='test -s conftest$ac_exeext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 ac_cv_lib_unicows_main=yes
44533 else
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.$ac_ext >&5
44536
44537 ac_cv_lib_unicows_main=no
44538 fi
44539 rm -f conftest.err conftest.$ac_objext \
44540 conftest$ac_exeext conftest.$ac_ext
44541 LIBS=$ac_check_lib_save_LIBS
44542 fi
44543 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44544 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44545 if test $ac_cv_lib_unicows_main = yes; then
44546
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_UNICODE_MSLU 1
44549 _ACEOF
44550
44551
44552 else
44553
44554 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44555 Applications will only run on Windows NT/2000/XP!" >&5
44556 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44557 Applications will only run on Windows NT/2000/XP!" >&2;}
44558 wxUSE_UNICODE_MSLU=no
44559
44560 fi
44561
44562 fi
44563 fi
44564
44565 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_EXPERIMENTAL_PRINTF 1
44568 _ACEOF
44569
44570 fi
44571
44572
44573 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44574 cat >>confdefs.h <<\_ACEOF
44575 #define wxUSE_POSTSCRIPT 1
44576 _ACEOF
44577
44578 fi
44579
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44582 _ACEOF
44583
44584
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_NORMALIZED_PS_FONTS 1
44587 _ACEOF
44588
44589
44590
44591 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_CONSTRAINTS 1
44594 _ACEOF
44595
44596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44597 fi
44598
44599 if test "$wxUSE_MDI" = "yes"; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define wxUSE_MDI 1
44602 _ACEOF
44603
44604
44605 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_MDI_ARCHITECTURE 1
44608 _ACEOF
44609
44610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44611 fi
44612 fi
44613
44614 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44617 _ACEOF
44618
44619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44620 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44622 fi
44623 fi
44624
44625 if test "$wxUSE_HELP" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_HELP 1
44628 _ACEOF
44629
44630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44631
44632 if test "$wxUSE_MSW" = 1; then
44633 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_MS_HTML_HELP 1
44636 _ACEOF
44637
44638 fi
44639 fi
44640
44641 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44642 if test "$wxUSE_HTML" = "yes"; then
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_WXHTML_HELP 1
44645 _ACEOF
44646
44647 else
44648 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44649 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44650 wxUSE_WXHTML_HELP=no
44651 fi
44652 fi
44653 fi
44654
44655 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44656 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44657 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44658 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44659 else
44660 cat >>confdefs.h <<\_ACEOF
44661 #define wxUSE_PRINTING_ARCHITECTURE 1
44662 _ACEOF
44663
44664 fi
44665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44666 fi
44667
44668 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44669 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44670 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44671 { (exit 1); exit 1; }; }
44672 fi
44673
44674
44675 if test "$wxUSE_METAFILE" = "yes"; then
44676 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44677 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44678 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44679 wxUSE_METAFILE=no
44680 fi
44681 fi
44682
44683
44684 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44685 -o "$wxUSE_CLIPBOARD" = "yes" \
44686 -o "$wxUSE_OLE" = "yes" \
44687 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44688
44689 for ac_header in ole2.h
44690 do
44691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44693 echo "$as_me:$LINENO: checking for $ac_header" >&5
44694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44696 echo $ECHO_N "(cached) $ECHO_C" >&6
44697 fi
44698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44700 else
44701 # Is the header compilable?
44702 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44704 cat >conftest.$ac_ext <<_ACEOF
44705 /* confdefs.h. */
44706 _ACEOF
44707 cat confdefs.h >>conftest.$ac_ext
44708 cat >>conftest.$ac_ext <<_ACEOF
44709 /* end confdefs.h. */
44710 $ac_includes_default
44711 #include <$ac_header>
44712 _ACEOF
44713 rm -f conftest.$ac_objext
44714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44715 (eval $ac_compile) 2>conftest.er1
44716 ac_status=$?
44717 grep -v '^ *+' conftest.er1 >conftest.err
44718 rm -f conftest.er1
44719 cat conftest.err >&5
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); } &&
44722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try='test -s conftest.$ac_objext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44731 ac_status=$?
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 ac_header_compiler=yes
44735 else
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.$ac_ext >&5
44738
44739 ac_header_compiler=no
44740 fi
44741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44743 echo "${ECHO_T}$ac_header_compiler" >&6
44744
44745 # Is the header present?
44746 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44748 cat >conftest.$ac_ext <<_ACEOF
44749 /* confdefs.h. */
44750 _ACEOF
44751 cat confdefs.h >>conftest.$ac_ext
44752 cat >>conftest.$ac_ext <<_ACEOF
44753 /* end confdefs.h. */
44754 #include <$ac_header>
44755 _ACEOF
44756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44758 ac_status=$?
44759 grep -v '^ *+' conftest.er1 >conftest.err
44760 rm -f conftest.er1
44761 cat conftest.err >&5
44762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44763 (exit $ac_status); } >/dev/null; then
44764 if test -s conftest.err; then
44765 ac_cpp_err=$ac_cxx_preproc_warn_flag
44766 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44767 else
44768 ac_cpp_err=
44769 fi
44770 else
44771 ac_cpp_err=yes
44772 fi
44773 if test -z "$ac_cpp_err"; then
44774 ac_header_preproc=yes
44775 else
44776 echo "$as_me: failed program was:" >&5
44777 sed 's/^/| /' conftest.$ac_ext >&5
44778
44779 ac_header_preproc=no
44780 fi
44781 rm -f conftest.err conftest.$ac_ext
44782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44783 echo "${ECHO_T}$ac_header_preproc" >&6
44784
44785 # So? What about this header?
44786 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44787 yes:no: )
44788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44792 ac_header_preproc=yes
44793 ;;
44794 no:yes:* )
44795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44807 (
44808 cat <<\_ASBOX
44809 ## ----------------------------------------- ##
44810 ## Report this to wx-dev@lists.wxwidgets.org ##
44811 ## ----------------------------------------- ##
44812 _ASBOX
44813 ) |
44814 sed "s/^/$as_me: WARNING: /" >&2
44815 ;;
44816 esac
44817 echo "$as_me:$LINENO: checking for $ac_header" >&5
44818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44820 echo $ECHO_N "(cached) $ECHO_C" >&6
44821 else
44822 eval "$as_ac_Header=\$ac_header_preproc"
44823 fi
44824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44826
44827 fi
44828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44829 cat >>confdefs.h <<_ACEOF
44830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44831 _ACEOF
44832
44833 fi
44834
44835 done
44836
44837
44838 if test "$ac_cv_header_ole2_h" = "yes" ; then
44839 if test "$GCC" = yes ; then
44840 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44841 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44842 cat >conftest.$ac_ext <<_ACEOF
44843 /* confdefs.h. */
44844 _ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44848 #include <windows.h>
44849 #include <ole2.h>
44850 int
44851 main ()
44852 {
44853
44854 ;
44855 return 0;
44856 }
44857 _ACEOF
44858 rm -f conftest.$ac_objext
44859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44860 (eval $ac_compile) 2>conftest.er1
44861 ac_status=$?
44862 grep -v '^ *+' conftest.er1 >conftest.err
44863 rm -f conftest.er1
44864 cat conftest.err >&5
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); } &&
44867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44869 (eval $ac_try) 2>&5
44870 ac_status=$?
44871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44872 (exit $ac_status); }; } &&
44873 { ac_try='test -s conftest.$ac_objext'
44874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44875 (eval $ac_try) 2>&5
44876 ac_status=$?
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); }; }; then
44879 echo "$as_me:$LINENO: result: no" >&5
44880 echo "${ECHO_T}no" >&6
44881 else
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44884
44885 echo "$as_me:$LINENO: result: yes" >&5
44886 echo "${ECHO_T}yes" >&6
44887 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44888 fi
44889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44890 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44891 if test "$wxUSE_OLE" = "yes" ; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_OLE 1
44894 _ACEOF
44895
44896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44897 fi
44898 fi
44899
44900 if test "$wxUSE_DATAOBJ" = "yes" ; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_DATAOBJ 1
44903 _ACEOF
44904
44905 fi
44906 else
44907 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44908 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44909
44910 wxUSE_CLIPBOARD=no
44911 wxUSE_DRAG_AND_DROP=no
44912 wxUSE_DATAOBJ=no
44913 wxUSE_OLE=no
44914 fi
44915
44916 if test "$wxUSE_METAFILE" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_METAFILE 1
44919 _ACEOF
44920
44921
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_ENH_METAFILE 1
44924 _ACEOF
44925
44926 fi
44927 fi
44928
44929 if test "$wxUSE_IPC" = "yes"; then
44930 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44931 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44932 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44933 wxUSE_IPC=no
44934 fi
44935
44936 if test "$wxUSE_IPC" = "yes"; then
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_IPC 1
44939 _ACEOF
44940
44941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44942 fi
44943 fi
44944
44945 if test "$wxUSE_DATAOBJ" = "yes"; then
44946 if test "$wxUSE_MGL" = 1; then
44947 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44948 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44949 wxUSE_DATAOBJ=no
44950 else
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_DATAOBJ 1
44953 _ACEOF
44954
44955 fi
44956 else
44957 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44958 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44959 wxUSE_CLIPBOARD=no
44960 wxUSE_DRAG_AND_DROP=no
44961 fi
44962
44963 if test "$wxUSE_CLIPBOARD" = "yes"; then
44964 if test "$wxUSE_MGL" = 1; then
44965 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44966 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44967 wxUSE_CLIPBOARD=no
44968 fi
44969
44970 if test "$wxUSE_CLIPBOARD" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_CLIPBOARD 1
44973 _ACEOF
44974
44975 fi
44976 fi
44977
44978 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44979 if test "$wxUSE_GTK" = 1; then
44980 if test "$WXGTK12" != 1; then
44981 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44982 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44983 wxUSE_DRAG_AND_DROP=no
44984 fi
44985 fi
44986
44987 if test "$wxUSE_MOTIF" = 1; then
44988 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44989 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44990 wxUSE_DRAG_AND_DROP=no
44991 fi
44992
44993 if test "$wxUSE_X11" = 1; then
44994 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44995 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44996 wxUSE_DRAG_AND_DROP=no
44997 fi
44998
44999 if test "$wxUSE_MGL" = 1; then
45000 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45001 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45002 wxUSE_DRAG_AND_DROP=no
45003 fi
45004
45005 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_DRAG_AND_DROP 1
45008 _ACEOF
45009
45010 fi
45011
45012 fi
45013
45014 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45016 fi
45017
45018 if test "$wxUSE_SPLINES" = "yes" ; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_SPLINES 1
45021 _ACEOF
45022
45023 fi
45024
45025 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_MOUSEWHEEL 1
45028 _ACEOF
45029
45030 fi
45031
45032
45033 USES_CONTROLS=0
45034 if test "$wxUSE_CONTROLS" = "yes"; then
45035 USES_CONTROLS=1
45036 fi
45037
45038 if test "$wxUSE_ACCEL" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_ACCEL 1
45041 _ACEOF
45042
45043 USES_CONTROLS=1
45044 fi
45045
45046 if test "$wxUSE_BUTTON" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_BUTTON 1
45049 _ACEOF
45050
45051 USES_CONTROLS=1
45052 fi
45053
45054 if test "$wxUSE_BMPBUTTON" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_BMPBUTTON 1
45057 _ACEOF
45058
45059 USES_CONTROLS=1
45060 fi
45061
45062 if test "$wxUSE_CALCTRL" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_CALENDARCTRL 1
45065 _ACEOF
45066
45067 USES_CONTROLS=1
45068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45069 fi
45070
45071 if test "$wxUSE_CARET" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_CARET 1
45074 _ACEOF
45075
45076 USES_CONTROLS=1
45077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45078 fi
45079
45080 if test "$wxUSE_COMBOBOX" = "yes"; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_COMBOBOX 1
45083 _ACEOF
45084
45085 USES_CONTROLS=1
45086 fi
45087
45088 if test "$wxUSE_COMBOCTRL" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_COMBOCTRL 1
45091 _ACEOF
45092
45093 USES_CONTROLS=1
45094 fi
45095
45096 if test "$wxUSE_CHOICE" = "yes"; then
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_CHOICE 1
45099 _ACEOF
45100
45101 USES_CONTROLS=1
45102 fi
45103
45104 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_CHOICEBOOK 1
45107 _ACEOF
45108
45109 USES_CONTROLS=1
45110 fi
45111
45112 if test "$wxUSE_CHECKBOX" = "yes"; then
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_CHECKBOX 1
45115 _ACEOF
45116
45117 USES_CONTROLS=1
45118 fi
45119
45120 if test "$wxUSE_CHECKLST" = "yes"; then
45121 cat >>confdefs.h <<\_ACEOF
45122 #define wxUSE_CHECKLISTBOX 1
45123 _ACEOF
45124
45125 USES_CONTROLS=1
45126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45127 fi
45128
45129 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_COLOURPICKERCTRL 1
45132 _ACEOF
45133
45134 USES_CONTROLS=1
45135 fi
45136
45137 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_DATEPICKCTRL 1
45140 _ACEOF
45141
45142 USES_CONTROLS=1
45143 fi
45144
45145 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_DIRPICKERCTRL 1
45148 _ACEOF
45149
45150 USES_CONTROLS=1
45151 fi
45152
45153 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_FILEPICKERCTRL 1
45156 _ACEOF
45157
45158 USES_CONTROLS=1
45159 fi
45160
45161 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_FONTPICKERCTRL 1
45164 _ACEOF
45165
45166 USES_CONTROLS=1
45167 fi
45168
45169 if test "$wxUSE_DISPLAY" = "yes"; then
45170 cat >>confdefs.h <<\_ACEOF
45171 #define wxUSE_DISPLAY 1
45172 _ACEOF
45173
45174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45175 fi
45176
45177 if test "$wxUSE_GAUGE" = "yes"; then
45178 cat >>confdefs.h <<\_ACEOF
45179 #define wxUSE_GAUGE 1
45180 _ACEOF
45181
45182 USES_CONTROLS=1
45183 fi
45184
45185 if test "$wxUSE_GRID" = "yes"; then
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_GRID 1
45188 _ACEOF
45189
45190 USES_CONTROLS=1
45191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45192 fi
45193
45194 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45195 cat >>confdefs.h <<\_ACEOF
45196 #define wxUSE_HYPERLINKCTRL 1
45197 _ACEOF
45198
45199 USES_CONTROLS=1
45200 fi
45201
45202 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45203 cat >>confdefs.h <<\_ACEOF
45204 #define wxUSE_BITMAPCOMBOBOX 1
45205 _ACEOF
45206
45207 USES_CONTROLS=1
45208 fi
45209
45210 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_DATAVIEWCTRL 1
45213 _ACEOF
45214
45215 USES_CONTROLS=1
45216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45217 fi
45218
45219 if test "$wxUSE_IMAGLIST" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_IMAGLIST 1
45222 _ACEOF
45223
45224 fi
45225
45226 if test "$wxUSE_LISTBOOK" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_LISTBOOK 1
45229 _ACEOF
45230
45231 USES_CONTROLS=1
45232 fi
45233
45234 if test "$wxUSE_LISTBOX" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_LISTBOX 1
45237 _ACEOF
45238
45239 USES_CONTROLS=1
45240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45241 fi
45242
45243 if test "$wxUSE_LISTCTRL" = "yes"; then
45244 if test "$wxUSE_IMAGLIST" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_LISTCTRL 1
45247 _ACEOF
45248
45249 USES_CONTROLS=1
45250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45251 else
45252 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45253 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45254 fi
45255 fi
45256
45257 if test "$wxUSE_NOTEBOOK" = "yes"; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_NOTEBOOK 1
45260 _ACEOF
45261
45262 USES_CONTROLS=1
45263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45264 fi
45265
45266 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45267 cat >>confdefs.h <<\_ACEOF
45268 #define wxUSE_ODCOMBOBOX 1
45269 _ACEOF
45270
45271 USES_CONTROLS=1
45272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45273 fi
45274
45275
45276 if test "$wxUSE_RADIOBOX" = "yes"; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define wxUSE_RADIOBOX 1
45279 _ACEOF
45280
45281 USES_CONTROLS=1
45282 fi
45283
45284 if test "$wxUSE_RADIOBTN" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_RADIOBTN 1
45287 _ACEOF
45288
45289 USES_CONTROLS=1
45290 fi
45291
45292 if test "$wxUSE_SASH" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_SASH 1
45295 _ACEOF
45296
45297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45298 fi
45299
45300 if test "$wxUSE_SCROLLBAR" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_SCROLLBAR 1
45303 _ACEOF
45304
45305 USES_CONTROLS=1
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45307 fi
45308
45309 if test "$wxUSE_SLIDER" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_SLIDER 1
45312 _ACEOF
45313
45314 USES_CONTROLS=1
45315 fi
45316
45317 if test "$wxUSE_SPINBTN" = "yes"; then
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_SPINBTN 1
45320 _ACEOF
45321
45322 USES_CONTROLS=1
45323 fi
45324
45325 if test "$wxUSE_SPINCTRL" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_SPINCTRL 1
45328 _ACEOF
45329
45330 USES_CONTROLS=1
45331 fi
45332
45333 if test "$wxUSE_SPLITTER" = "yes"; then
45334 cat >>confdefs.h <<\_ACEOF
45335 #define wxUSE_SPLITTER 1
45336 _ACEOF
45337
45338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45339 fi
45340
45341 if test "$wxUSE_STATBMP" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_STATBMP 1
45344 _ACEOF
45345
45346 USES_CONTROLS=1
45347 fi
45348
45349 if test "$wxUSE_STATBOX" = "yes"; then
45350 cat >>confdefs.h <<\_ACEOF
45351 #define wxUSE_STATBOX 1
45352 _ACEOF
45353
45354 USES_CONTROLS=1
45355 fi
45356
45357 if test "$wxUSE_STATTEXT" = "yes"; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define wxUSE_STATTEXT 1
45360 _ACEOF
45361
45362 USES_CONTROLS=1
45363 fi
45364
45365 if test "$wxUSE_STATLINE" = "yes"; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_STATLINE 1
45368 _ACEOF
45369
45370 USES_CONTROLS=1
45371 fi
45372
45373 if test "$wxUSE_STATUSBAR" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_NATIVE_STATUSBAR 1
45376 _ACEOF
45377
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_STATUSBAR 1
45380 _ACEOF
45381
45382 USES_CONTROLS=1
45383
45384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45385 fi
45386
45387 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_TAB_DIALOG 1
45390 _ACEOF
45391
45392 fi
45393
45394 if test "$wxUSE_TEXTCTRL" = "yes"; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_TEXTCTRL 1
45397 _ACEOF
45398
45399 USES_CONTROLS=1
45400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45401 fi
45402
45403 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45404 if test "$wxUSE_COCOA" = 1 ; then
45405 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45406 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45407 wxUSE_TOGGLEBTN=no
45408 fi
45409
45410 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_TOGGLEBTN 1
45413 _ACEOF
45414
45415 USES_CONTROLS=1
45416 fi
45417 fi
45418
45419 if test "$wxUSE_TOOLBAR" = "yes"; then
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_TOOLBAR 1
45422 _ACEOF
45423
45424 USES_CONTROLS=1
45425
45426 if test "$wxUSE_UNIVERSAL" = "yes"; then
45427 wxUSE_TOOLBAR_NATIVE="no"
45428 else
45429 wxUSE_TOOLBAR_NATIVE="yes"
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_TOOLBAR_NATIVE 1
45432 _ACEOF
45433
45434 fi
45435
45436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45437 fi
45438
45439 if test "$wxUSE_TOOLTIPS" = "yes"; then
45440 if test "$wxUSE_MOTIF" = 1; then
45441 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45442 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45443 else
45444 if test "$wxUSE_UNIVERSAL" = "yes"; then
45445 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45446 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45447 else
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_TOOLTIPS 1
45450 _ACEOF
45451
45452 fi
45453 fi
45454 fi
45455
45456 if test "$wxUSE_TREEBOOK" = "yes"; then
45457 cat >>confdefs.h <<\_ACEOF
45458 #define wxUSE_TREEBOOK 1
45459 _ACEOF
45460
45461 USES_CONTROLS=1
45462 fi
45463
45464 if test "$wxUSE_TOOLBOOK" = "yes"; then
45465 cat >>confdefs.h <<\_ACEOF
45466 #define wxUSE_TOOLBOOK 1
45467 _ACEOF
45468
45469 USES_CONTROLS=1
45470 fi
45471
45472 if test "$wxUSE_TREECTRL" = "yes"; then
45473 if test "$wxUSE_IMAGLIST" = "yes"; then
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_TREECTRL 1
45476 _ACEOF
45477
45478 USES_CONTROLS=1
45479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45480 else
45481 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45482 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45483 fi
45484 fi
45485
45486 if test "$wxUSE_POPUPWIN" = "yes"; then
45487 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45488 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45489 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45490 else
45491 if test "$wxUSE_PM" = 1; then
45492 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45493 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45494 else
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_POPUPWIN 1
45497 _ACEOF
45498
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45500
45501 USES_CONTROLS=1
45502 fi
45503 fi
45504 fi
45505
45506 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45507 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45508 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45509 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45510 else
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_DIALUP_MANAGER 1
45513 _ACEOF
45514
45515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45516 fi
45517 fi
45518
45519 if test "$wxUSE_TIPWINDOW" = "yes"; then
45520 if test "$wxUSE_PM" = 1; then
45521 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45522 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45523 else
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_TIPWINDOW 1
45526 _ACEOF
45527
45528 fi
45529 fi
45530
45531 if test "$USES_CONTROLS" = 1; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_CONTROLS 1
45534 _ACEOF
45535
45536 fi
45537
45538
45539 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_ACCESSIBILITY 1
45542 _ACEOF
45543
45544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45545 fi
45546
45547 if test "$wxUSE_DC_CACHEING" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_DC_CACHEING 1
45550 _ACEOF
45551
45552 fi
45553
45554 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_DRAGIMAGE 1
45557 _ACEOF
45558
45559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45560 fi
45561
45562 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45563 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45564 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45565 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45566 else
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_EXCEPTIONS 1
45569 _ACEOF
45570
45571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45572 fi
45573 fi
45574
45575 USE_HTML=0
45576 if test "$wxUSE_HTML" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_HTML 1
45579 _ACEOF
45580
45581 USE_HTML=1
45582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45583 if test "$wxUSE_MAC" = 1; then
45584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45585 fi
45586 fi
45587 if test "$wxUSE_WEBKIT" = "yes"; then
45588 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45589 old_CPPFLAGS="$CPPFLAGS"
45590 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45591 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45592 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45593 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45594 echo $ECHO_N "(cached) $ECHO_C" >&6
45595 else
45596 cat >conftest.$ac_ext <<_ACEOF
45597 /* confdefs.h. */
45598 _ACEOF
45599 cat confdefs.h >>conftest.$ac_ext
45600 cat >>conftest.$ac_ext <<_ACEOF
45601 /* end confdefs.h. */
45602 #include <Carbon/Carbon.h>
45603
45604 #include <WebKit/HIWebView.h>
45605 _ACEOF
45606 rm -f conftest.$ac_objext
45607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45608 (eval $ac_compile) 2>conftest.er1
45609 ac_status=$?
45610 grep -v '^ *+' conftest.er1 >conftest.err
45611 rm -f conftest.er1
45612 cat conftest.err >&5
45613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45614 (exit $ac_status); } &&
45615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45617 (eval $ac_try) 2>&5
45618 ac_status=$?
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); }; } &&
45621 { ac_try='test -s conftest.$ac_objext'
45622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45623 (eval $ac_try) 2>&5
45624 ac_status=$?
45625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45626 (exit $ac_status); }; }; then
45627 ac_cv_header_WebKit_HIWebView_h=yes
45628 else
45629 echo "$as_me: failed program was:" >&5
45630 sed 's/^/| /' conftest.$ac_ext >&5
45631
45632 ac_cv_header_WebKit_HIWebView_h=no
45633 fi
45634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45635 fi
45636 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45637 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45638 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45639
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_WEBKIT 1
45642 _ACEOF
45643
45644 WEBKIT_LINK="-framework WebKit"
45645
45646 else
45647
45648 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45649 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45650 wxUSE_WEBKIT=no
45651
45652 fi
45653
45654
45655 CPPFLAGS="$old_CPPFLAGS"
45656 elif test "$wxUSE_COCOA" = 1; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_WEBKIT 1
45659 _ACEOF
45660
45661 else
45662 wxUSE_WEBKIT=no
45663 fi
45664 fi
45665
45666 USE_XRC=0
45667 if test "$wxUSE_XRC" = "yes"; then
45668 if test "$wxUSE_XML" != "yes"; then
45669 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45670 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45671 wxUSE_XRC=no
45672 else
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_XRC 1
45675 _ACEOF
45676
45677 USE_XRC=1
45678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45679 fi
45680 fi
45681
45682 USE_AUI=0
45683 if test "$wxUSE_AUI" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_AUI 1
45686 _ACEOF
45687
45688 USE_AUI=1
45689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45690 fi
45691
45692 if test "$wxUSE_MENUS" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_MENUS 1
45695 _ACEOF
45696
45697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45698 fi
45699
45700 if test "$wxUSE_METAFILE" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_METAFILE 1
45703 _ACEOF
45704
45705 fi
45706
45707 if test "$wxUSE_MIMETYPE" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_MIMETYPE 1
45710 _ACEOF
45711
45712 fi
45713
45714 if test "$wxUSE_MINIFRAME" = "yes"; then
45715 cat >>confdefs.h <<\_ACEOF
45716 #define wxUSE_MINIFRAME 1
45717 _ACEOF
45718
45719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45720 fi
45721
45722 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_SYSTEM_OPTIONS 1
45725 _ACEOF
45726
45727 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45728 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45730 fi
45731 fi
45732
45733
45734 if test "$wxUSE_VALIDATORS" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_VALIDATORS 1
45737 _ACEOF
45738
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45740 fi
45741
45742 if test "$wxUSE_PALETTE" = "yes" ; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_PALETTE 1
45745 _ACEOF
45746
45747 fi
45748
45749 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45750 LIBS=" -lunicows $LIBS"
45751 fi
45752
45753 USE_RICHTEXT=0
45754 if test "$wxUSE_RICHTEXT" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_RICHTEXT 1
45757 _ACEOF
45758
45759 USE_RICHTEXT=1
45760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45761 fi
45762
45763
45764 if test "$wxUSE_IMAGE" = "yes" ; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_IMAGE 1
45767 _ACEOF
45768
45769
45770 if test "$wxUSE_GIF" = "yes" ; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_GIF 1
45773 _ACEOF
45774
45775 fi
45776
45777 if test "$wxUSE_PCX" = "yes" ; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_PCX 1
45780 _ACEOF
45781
45782 fi
45783
45784 if test "$wxUSE_IFF" = "yes" ; then
45785 cat >>confdefs.h <<\_ACEOF
45786 #define wxUSE_IFF 1
45787 _ACEOF
45788
45789 fi
45790
45791 if test "$wxUSE_PNM" = "yes" ; then
45792 cat >>confdefs.h <<\_ACEOF
45793 #define wxUSE_PNM 1
45794 _ACEOF
45795
45796 fi
45797
45798 if test "$wxUSE_XPM" = "yes" ; then
45799 cat >>confdefs.h <<\_ACEOF
45800 #define wxUSE_XPM 1
45801 _ACEOF
45802
45803 fi
45804
45805 if test "$wxUSE_ICO_CUR" = "yes" ; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_ICO_CUR 1
45808 _ACEOF
45809
45810 fi
45811 fi
45812
45813
45814 if test "$wxUSE_CHOICEDLG" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_CHOICEDLG 1
45817 _ACEOF
45818
45819 fi
45820
45821 if test "$wxUSE_COLOURDLG" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_COLOURDLG 1
45824 _ACEOF
45825
45826 fi
45827
45828 if test "$wxUSE_FILEDLG" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_FILEDLG 1
45831 _ACEOF
45832
45833 fi
45834
45835 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_FINDREPLDLG 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_FONTDLG" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_FONTDLG 1
45845 _ACEOF
45846
45847 fi
45848
45849 if test "$wxUSE_DIRDLG" = "yes"; then
45850 if test "$wxUSE_TREECTRL" != "yes"; then
45851 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45852 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45853 else
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_DIRDLG 1
45856 _ACEOF
45857
45858 fi
45859 fi
45860
45861 if test "$wxUSE_MSGDLG" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_MSGDLG 1
45864 _ACEOF
45865
45866 fi
45867
45868 if test "$wxUSE_NUMBERDLG" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_NUMBERDLG 1
45871 _ACEOF
45872
45873 fi
45874
45875 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45876 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45877 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45878 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45879 else
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_PROGRESSDLG 1
45882 _ACEOF
45883
45884 fi
45885 fi
45886
45887 if test "$wxUSE_SPLASH" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_SPLASH 1
45890 _ACEOF
45891
45892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45893 fi
45894
45895 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45896 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45897 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45898 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45899 else
45900 cat >>confdefs.h <<\_ACEOF
45901 #define wxUSE_STARTUP_TIPS 1
45902 _ACEOF
45903
45904 fi
45905 fi
45906
45907 if test "$wxUSE_TEXTDLG" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_TEXTDLG 1
45910 _ACEOF
45911
45912 fi
45913
45914 if test "$wxUSE_WIZARDDLG" = "yes"; then
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_WIZARDDLG 1
45917 _ACEOF
45918
45919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45920 fi
45921
45922
45923 USE_MEDIA=0
45924
45925 if test "$wxUSE_MEDIACTRL" = "yes"; then
45926 USE_MEDIA=1
45927
45928 if test "$wxUSE_GTK" = 1; then
45929 wxUSE_GSTREAMER="no"
45930
45931 GST_VERSION_MAJOR=0
45932 GST_VERSION_MINOR=10
45933 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45934
45935 if test "$wxUSE_GSTREAMER8" = "no"; then
45936
45937 pkg_failed=no
45938 echo "$as_me:$LINENO: checking for GST" >&5
45939 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45940
45941 if test -n "$PKG_CONFIG"; then
45942 if test -n "$GST_CFLAGS"; then
45943 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45944 else
45945 if test -n "$PKG_CONFIG" && \
45946 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45947 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45948 ac_status=$?
45949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45950 (exit $ac_status); }; then
45951 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45952 else
45953 pkg_failed=yes
45954 fi
45955 fi
45956 else
45957 pkg_failed=untried
45958 fi
45959 if test -n "$PKG_CONFIG"; then
45960 if test -n "$GST_LIBS"; then
45961 pkg_cv_GST_LIBS="$GST_LIBS"
45962 else
45963 if test -n "$PKG_CONFIG" && \
45964 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45965 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45966 ac_status=$?
45967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968 (exit $ac_status); }; then
45969 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45970 else
45971 pkg_failed=yes
45972 fi
45973 fi
45974 else
45975 pkg_failed=untried
45976 fi
45977
45978
45979
45980 if test $pkg_failed = yes; then
45981
45982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45983 _pkg_short_errors_supported=yes
45984 else
45985 _pkg_short_errors_supported=no
45986 fi
45987 if test $_pkg_short_errors_supported = yes; then
45988 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45989 else
45990 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45991 fi
45992 # Put the nasty error message in config.log where it belongs
45993 echo "$GST_PKG_ERRORS" >&5
45994
45995
45996 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45997 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45998 GST_VERSION_MINOR=8
45999
46000
46001 elif test $pkg_failed = untried; then
46002
46003 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46004 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46005 GST_VERSION_MINOR=8
46006
46007
46008 else
46009 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46010 GST_LIBS=$pkg_cv_GST_LIBS
46011 echo "$as_me:$LINENO: result: yes" >&5
46012 echo "${ECHO_T}yes" >&6
46013
46014 wxUSE_GSTREAMER="yes"
46015 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46016
46017 fi
46018 else
46019 GST_VERSION_MINOR=8
46020 fi
46021
46022 if test $GST_VERSION_MINOR = "8"; then
46023 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46024
46025 pkg_failed=no
46026 echo "$as_me:$LINENO: checking for GST" >&5
46027 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46028
46029 if test -n "$PKG_CONFIG"; then
46030 if test -n "$GST_CFLAGS"; then
46031 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46032 else
46033 if test -n "$PKG_CONFIG" && \
46034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46035 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; then
46039 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46040 else
46041 pkg_failed=yes
46042 fi
46043 fi
46044 else
46045 pkg_failed=untried
46046 fi
46047 if test -n "$PKG_CONFIG"; then
46048 if test -n "$GST_LIBS"; then
46049 pkg_cv_GST_LIBS="$GST_LIBS"
46050 else
46051 if test -n "$PKG_CONFIG" && \
46052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46053 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46054 ac_status=$?
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); }; then
46057 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46058 else
46059 pkg_failed=yes
46060 fi
46061 fi
46062 else
46063 pkg_failed=untried
46064 fi
46065
46066
46067
46068 if test $pkg_failed = yes; then
46069
46070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46071 _pkg_short_errors_supported=yes
46072 else
46073 _pkg_short_errors_supported=no
46074 fi
46075 if test $_pkg_short_errors_supported = yes; then
46076 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46077 else
46078 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46079 fi
46080 # Put the nasty error message in config.log where it belongs
46081 echo "$GST_PKG_ERRORS" >&5
46082
46083
46084 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46085 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46086
46087 elif test $pkg_failed = untried; then
46088
46089 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46090 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46091
46092 else
46093 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46094 GST_LIBS=$pkg_cv_GST_LIBS
46095 echo "$as_me:$LINENO: result: yes" >&5
46096 echo "${ECHO_T}yes" >&6
46097 wxUSE_GSTREAMER="yes"
46098 fi
46099 fi
46100
46101
46102 if test "$wxUSE_GSTREAMER" = "yes"; then
46103 case "${host}" in
46104 *-*-solaris2* )
46105 if "$GCC" = yes; then
46106 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46107 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46108 fi
46109 esac
46110
46111 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46112 LIBS="$GST_LIBS $LIBS"
46113
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_GSTREAMER 1
46116 _ACEOF
46117
46118 else
46119 USE_MEDIA=0
46120 fi
46121 fi
46122
46123 if test $USE_MEDIA = 1; then
46124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_MEDIACTRL 1
46127 _ACEOF
46128
46129 fi
46130 fi
46131
46132
46133 if test "$cross_compiling" = "yes"; then
46134 OSINFO="\"$host\""
46135 else
46136 OSINFO=`uname -s -r -m`
46137 OSINFO="\"$OSINFO\""
46138 fi
46139
46140 cat >>confdefs.h <<_ACEOF
46141 #define WXWIN_OS_DESCRIPTION $OSINFO
46142 _ACEOF
46143
46144
46145
46146 if test "x$prefix" != "xNONE"; then
46147 wxPREFIX=$prefix
46148 else
46149 wxPREFIX=$ac_default_prefix
46150 fi
46151
46152 cat >>confdefs.h <<_ACEOF
46153 #define wxINSTALL_PREFIX "$wxPREFIX"
46154 _ACEOF
46155
46156
46157
46158
46159 CORE_BASE_LIBS="net base"
46160 CORE_GUI_LIBS="adv core"
46161
46162 if test "$wxUSE_XML" = "yes" ; then
46163 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46164 fi
46165 if test "$wxUSE_ODBC" != "no" ; then
46166 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46167 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46168 fi
46169 if test "$wxUSE_HTML" = "yes" ; then
46170 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46171 fi
46172 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46173 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46174 fi
46175 if test "$wxUSE_XRC" = "yes" ; then
46176 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46177 fi
46178 if test "$wxUSE_AUI" = "yes" ; then
46179 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46180 fi
46181
46182 if test "$wxUSE_GUI" != "yes"; then
46183 CORE_GUI_LIBS=""
46184 fi
46185
46186
46187
46188
46189
46190 ac_ext=c
46191 ac_cpp='$CPP $CPPFLAGS'
46192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46195
46196
46197
46198 if test "$wxUSE_MAC" = 1 ; then
46199 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46200 if test "$USE_DARWIN" = 1; then
46201 LDFLAGS="$LDFLAGS -framework QuickTime"
46202 else
46203 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46204 fi
46205 fi
46206 if test "$USE_DARWIN" = 1; then
46207 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46208 else
46209 LDFLAGS="$LDFLAGS -lCarbonLib"
46210 fi
46211 fi
46212 if test "$wxUSE_COCOA" = 1 ; then
46213 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46214 if test "$wxUSE_MEDIACTRL" = "yes"; then
46215 LDFLAGS="$LDFLAGS -framework QuickTime"
46216 fi
46217 fi
46218 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46219 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46220 fi
46221
46222 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46223
46224 if test "$wxUSE_GUI" = "yes"; then
46225
46226
46227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46228 dynamic erase event exec font image minimal mobile \
46229 mobile/wxedit mobile/styles propsize render \
46230 rotate shaped vscroll widgets"
46231
46232 if test "$wxUSE_MONOLITHIC" != "yes"; then
46233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46234 fi
46235 if test "$TOOLKIT" = "MSW"; then
46236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46237 if test "$wxUSE_UNIVERSAL" != "yes"; then
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46239 fi
46240 fi
46241 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46243 fi
46244 else
46245 SAMPLES_SUBDIRS="console"
46246 fi
46247
46248
46249 if test "x$INTELCC" = "xyes" ; then
46250 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46251 elif test "$GCC" = yes ; then
46252 CWARNINGS="-Wall -Wundef"
46253 fi
46254
46255 if test "x$INTELCXX" = "xyes" ; then
46256 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46257 elif test "$GXX" = yes ; then
46258 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46259 fi
46260
46261
46262 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46263 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46264
46265
46266 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46267 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46268 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46269 $CPPFLAGS `
46270
46271 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46272 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46273 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46274
46275 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46276
46277
46278 if test "x$MWCC" = "xyes"; then
46279
46280 CC="$CC -cwd source -I-"
46281 CXX="$CXX -cwd source -I-"
46282 fi
46283
46284
46285 LIBS=`echo $LIBS`
46286 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46287 EXTRALIBS_XML="$EXPAT_LINK"
46288 EXTRALIBS_HTML="$MSPACK_LINK"
46289 EXTRALIBS_ODBC="$ODBC_LINK"
46290 if test "$wxUSE_GUI" = "yes"; then
46291 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46292 fi
46293 if test "$wxUSE_OPENGL" = "yes"; then
46294 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46295 fi
46296
46297 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46298
46299 WXCONFIG_LIBS="$LIBS"
46300
46301 if test "$wxUSE_REGEX" = "builtin" ; then
46302 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46303 fi
46304 if test "$wxUSE_EXPAT" = "builtin" ; then
46305 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46306 fi
46307 if test "$wxUSE_ODBC" = "builtin" ; then
46308 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46309 fi
46310 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46311 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46312 fi
46313 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46314 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46315 fi
46316 if test "$wxUSE_LIBPNG" = "builtin" ; then
46317 wxconfig_3rdparty="png $wxconfig_3rdparty"
46318 fi
46319 if test "$wxUSE_ZLIB" = "builtin" ; then
46320 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46321 fi
46322
46323 for i in $wxconfig_3rdparty ; do
46324 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46325 done
46326
46327
46328 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46329 WXUNIV=1
46330
46331 case "$wxUNIV_THEMES" in
46332 ''|all)
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_ALL_THEMES 1
46335 _ACEOF
46336
46337 ;;
46338
46339 *)
46340 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46341 cat >>confdefs.h <<_ACEOF
46342 #define wxUSE_THEME_$t 1
46343 _ACEOF
46344
46345 done
46346 esac
46347 else
46348 WXUNIV=0
46349 fi
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359 if test $wxUSE_MONOLITHIC = "yes" ; then
46360 MONOLITHIC=1
46361 else
46362 MONOLITHIC=0
46363 fi
46364
46365 if test $wxUSE_PLUGINS = "yes" ; then
46366 USE_PLUGINS=1
46367 else
46368 USE_PLUGINS=0
46369 fi
46370
46371 if test $wxUSE_ODBC != "no" ; then
46372 USE_ODBC=1
46373 else
46374 USE_ODBC=0
46375 fi
46376
46377 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46378 USE_QA=1
46379 else
46380 USE_QA=0
46381 fi
46382
46383 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46384 OFFICIAL_BUILD=1
46385 else
46386 OFFICIAL_BUILD=0
46387 fi
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46414
46415
46416
46417
46418
46419
46420
46421
46422 case "$TOOLKIT" in
46423 GTK)
46424 TOOLKIT_DESC="GTK+"
46425 if test "$WXGTK20" = 1; then
46426 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46427 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46428 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46429 fi
46430 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46431 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46432 fi
46433 if test "$wxUSE_LIBHILDON" = "yes"; then
46434 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46435 fi
46436
46437 if test "$TOOLKIT_EXTRA" != ""; then
46438 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46439 fi
46440 fi
46441 ;;
46442
46443 ?*)
46444 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46445 ;;
46446
46447 *)
46448 TOOLKIT_DESC="base only"
46449 ;;
46450 esac
46451
46452 if test "$wxUSE_WINE" = "yes"; then
46453 BAKEFILE_FORCE_PLATFORM=win32
46454 fi
46455
46456 if test "$wxUSE_MAC" = 1 ; then
46457 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46458 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46459 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46460 else
46461 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46462 fi
46463 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46464 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46465 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46466 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46467 bk_use_pch=no
46468 fi
46469 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46470 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46471 fi
46472
46473
46474
46475
46476 if test "x$BAKEFILE_HOST" = "x"; then
46477 if test "x${host}" = "x" ; then
46478 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46479 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46480 { (exit 1); exit 1; }; }
46481 fi
46482
46483 BAKEFILE_HOST="${host}"
46484 fi
46485
46486 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46487
46488 if test -n "$ac_tool_prefix"; then
46489 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46490 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46491 echo "$as_me:$LINENO: checking for $ac_word" >&5
46492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46493 if test "${ac_cv_prog_RANLIB+set}" = set; then
46494 echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46496 if test -n "$RANLIB"; then
46497 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46498 else
46499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46500 for as_dir in $PATH
46501 do
46502 IFS=$as_save_IFS
46503 test -z "$as_dir" && as_dir=.
46504 for ac_exec_ext in '' $ac_executable_extensions; do
46505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46506 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46508 break 2
46509 fi
46510 done
46511 done
46512
46513 fi
46514 fi
46515 RANLIB=$ac_cv_prog_RANLIB
46516 if test -n "$RANLIB"; then
46517 echo "$as_me:$LINENO: result: $RANLIB" >&5
46518 echo "${ECHO_T}$RANLIB" >&6
46519 else
46520 echo "$as_me:$LINENO: result: no" >&5
46521 echo "${ECHO_T}no" >&6
46522 fi
46523
46524 fi
46525 if test -z "$ac_cv_prog_RANLIB"; then
46526 ac_ct_RANLIB=$RANLIB
46527 # Extract the first word of "ranlib", so it can be a program name with args.
46528 set dummy ranlib; ac_word=$2
46529 echo "$as_me:$LINENO: checking for $ac_word" >&5
46530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46531 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46532 echo $ECHO_N "(cached) $ECHO_C" >&6
46533 else
46534 if test -n "$ac_ct_RANLIB"; then
46535 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46536 else
46537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46538 for as_dir in $PATH
46539 do
46540 IFS=$as_save_IFS
46541 test -z "$as_dir" && as_dir=.
46542 for ac_exec_ext in '' $ac_executable_extensions; do
46543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46544 ac_cv_prog_ac_ct_RANLIB="ranlib"
46545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46546 break 2
46547 fi
46548 done
46549 done
46550
46551 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46552 fi
46553 fi
46554 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46555 if test -n "$ac_ct_RANLIB"; then
46556 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46557 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46558 else
46559 echo "$as_me:$LINENO: result: no" >&5
46560 echo "${ECHO_T}no" >&6
46561 fi
46562
46563 RANLIB=$ac_ct_RANLIB
46564 else
46565 RANLIB="$ac_cv_prog_RANLIB"
46566 fi
46567
46568 # Find a good install program. We prefer a C program (faster),
46569 # so one script is as good as another. But avoid the broken or
46570 # incompatible versions:
46571 # SysV /etc/install, /usr/sbin/install
46572 # SunOS /usr/etc/install
46573 # IRIX /sbin/install
46574 # AIX /bin/install
46575 # AmigaOS /C/install, which installs bootblocks on floppy discs
46576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46579 # OS/2's system install, which has a completely different semantic
46580 # ./install, which can be erroneously created by make from ./install.sh.
46581 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46583 if test -z "$INSTALL"; then
46584 if test "${ac_cv_path_install+set}" = set; then
46585 echo $ECHO_N "(cached) $ECHO_C" >&6
46586 else
46587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46588 for as_dir in $PATH
46589 do
46590 IFS=$as_save_IFS
46591 test -z "$as_dir" && as_dir=.
46592 # Account for people who put trailing slashes in PATH elements.
46593 case $as_dir/ in
46594 ./ | .// | /cC/* | \
46595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46596 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46597 /usr/ucb/* ) ;;
46598 *)
46599 # OSF1 and SCO ODT 3.0 have their own names for install.
46600 # Don't use installbsd from OSF since it installs stuff as root
46601 # by default.
46602 for ac_prog in ginstall scoinst install; do
46603 for ac_exec_ext in '' $ac_executable_extensions; do
46604 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46605 if test $ac_prog = install &&
46606 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46607 # AIX install. It has an incompatible calling convention.
46608 :
46609 elif test $ac_prog = install &&
46610 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46611 # program-specific install script used by HP pwplus--don't use.
46612 :
46613 else
46614 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46615 break 3
46616 fi
46617 fi
46618 done
46619 done
46620 ;;
46621 esac
46622 done
46623
46624
46625 fi
46626 if test "${ac_cv_path_install+set}" = set; then
46627 INSTALL=$ac_cv_path_install
46628 else
46629 # As a last resort, use the slow shell script. We don't cache a
46630 # path for INSTALL within a source directory, because that will
46631 # break other packages using the cache if that directory is
46632 # removed, or if the path is relative.
46633 INSTALL=$ac_install_sh
46634 fi
46635 fi
46636 echo "$as_me:$LINENO: result: $INSTALL" >&5
46637 echo "${ECHO_T}$INSTALL" >&6
46638
46639 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46640 # It thinks the first close brace ends the variable substitution.
46641 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46642
46643 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46644
46645 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46646
46647 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46648 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46649 LN_S=$as_ln_s
46650 if test "$LN_S" = "ln -s"; then
46651 echo "$as_me:$LINENO: result: yes" >&5
46652 echo "${ECHO_T}yes" >&6
46653 else
46654 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46655 echo "${ECHO_T}no, using $LN_S" >&6
46656 fi
46657
46658
46659 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46660 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46661 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46662 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46663 echo $ECHO_N "(cached) $ECHO_C" >&6
46664 else
46665 cat >conftest.make <<\_ACEOF
46666 all:
46667 @echo 'ac_maketemp="$(MAKE)"'
46668 _ACEOF
46669 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46670 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46671 if test -n "$ac_maketemp"; then
46672 eval ac_cv_prog_make_${ac_make}_set=yes
46673 else
46674 eval ac_cv_prog_make_${ac_make}_set=no
46675 fi
46676 rm -f conftest.make
46677 fi
46678 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46679 echo "$as_me:$LINENO: result: yes" >&5
46680 echo "${ECHO_T}yes" >&6
46681 SET_MAKE=
46682 else
46683 echo "$as_me:$LINENO: result: no" >&5
46684 echo "${ECHO_T}no" >&6
46685 SET_MAKE="MAKE=${MAKE-make}"
46686 fi
46687
46688
46689
46690 if test -n "$ac_tool_prefix"; then
46691 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46692 set dummy ${ac_tool_prefix}ar; ac_word=$2
46693 echo "$as_me:$LINENO: checking for $ac_word" >&5
46694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46695 if test "${ac_cv_prog_AR+set}" = set; then
46696 echo $ECHO_N "(cached) $ECHO_C" >&6
46697 else
46698 if test -n "$AR"; then
46699 ac_cv_prog_AR="$AR" # Let the user override the test.
46700 else
46701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46702 for as_dir in $PATH
46703 do
46704 IFS=$as_save_IFS
46705 test -z "$as_dir" && as_dir=.
46706 for ac_exec_ext in '' $ac_executable_extensions; do
46707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46708 ac_cv_prog_AR="${ac_tool_prefix}ar"
46709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46710 break 2
46711 fi
46712 done
46713 done
46714
46715 fi
46716 fi
46717 AR=$ac_cv_prog_AR
46718 if test -n "$AR"; then
46719 echo "$as_me:$LINENO: result: $AR" >&5
46720 echo "${ECHO_T}$AR" >&6
46721 else
46722 echo "$as_me:$LINENO: result: no" >&5
46723 echo "${ECHO_T}no" >&6
46724 fi
46725
46726 fi
46727 if test -z "$ac_cv_prog_AR"; then
46728 ac_ct_AR=$AR
46729 # Extract the first word of "ar", so it can be a program name with args.
46730 set dummy ar; ac_word=$2
46731 echo "$as_me:$LINENO: checking for $ac_word" >&5
46732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46733 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46734 echo $ECHO_N "(cached) $ECHO_C" >&6
46735 else
46736 if test -n "$ac_ct_AR"; then
46737 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46738 else
46739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46740 for as_dir in $PATH
46741 do
46742 IFS=$as_save_IFS
46743 test -z "$as_dir" && as_dir=.
46744 for ac_exec_ext in '' $ac_executable_extensions; do
46745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46746 ac_cv_prog_ac_ct_AR="ar"
46747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46748 break 2
46749 fi
46750 done
46751 done
46752
46753 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46754 fi
46755 fi
46756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46757 if test -n "$ac_ct_AR"; then
46758 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46759 echo "${ECHO_T}$ac_ct_AR" >&6
46760 else
46761 echo "$as_me:$LINENO: result: no" >&5
46762 echo "${ECHO_T}no" >&6
46763 fi
46764
46765 AR=$ac_ct_AR
46766 else
46767 AR="$ac_cv_prog_AR"
46768 fi
46769
46770 if test -n "$ac_tool_prefix"; then
46771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46772 set dummy ${ac_tool_prefix}strip; ac_word=$2
46773 echo "$as_me:$LINENO: checking for $ac_word" >&5
46774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46775 if test "${ac_cv_prog_STRIP+set}" = set; then
46776 echo $ECHO_N "(cached) $ECHO_C" >&6
46777 else
46778 if test -n "$STRIP"; then
46779 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46780 else
46781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46782 for as_dir in $PATH
46783 do
46784 IFS=$as_save_IFS
46785 test -z "$as_dir" && as_dir=.
46786 for ac_exec_ext in '' $ac_executable_extensions; do
46787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46788 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46790 break 2
46791 fi
46792 done
46793 done
46794
46795 fi
46796 fi
46797 STRIP=$ac_cv_prog_STRIP
46798 if test -n "$STRIP"; then
46799 echo "$as_me:$LINENO: result: $STRIP" >&5
46800 echo "${ECHO_T}$STRIP" >&6
46801 else
46802 echo "$as_me:$LINENO: result: no" >&5
46803 echo "${ECHO_T}no" >&6
46804 fi
46805
46806 fi
46807 if test -z "$ac_cv_prog_STRIP"; then
46808 ac_ct_STRIP=$STRIP
46809 # Extract the first word of "strip", so it can be a program name with args.
46810 set dummy strip; ac_word=$2
46811 echo "$as_me:$LINENO: checking for $ac_word" >&5
46812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46814 echo $ECHO_N "(cached) $ECHO_C" >&6
46815 else
46816 if test -n "$ac_ct_STRIP"; then
46817 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46818 else
46819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46820 for as_dir in $PATH
46821 do
46822 IFS=$as_save_IFS
46823 test -z "$as_dir" && as_dir=.
46824 for ac_exec_ext in '' $ac_executable_extensions; do
46825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46826 ac_cv_prog_ac_ct_STRIP="strip"
46827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46828 break 2
46829 fi
46830 done
46831 done
46832
46833 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46834 fi
46835 fi
46836 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46837 if test -n "$ac_ct_STRIP"; then
46838 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46839 echo "${ECHO_T}$ac_ct_STRIP" >&6
46840 else
46841 echo "$as_me:$LINENO: result: no" >&5
46842 echo "${ECHO_T}no" >&6
46843 fi
46844
46845 STRIP=$ac_ct_STRIP
46846 else
46847 STRIP="$ac_cv_prog_STRIP"
46848 fi
46849
46850 if test -n "$ac_tool_prefix"; then
46851 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46852 set dummy ${ac_tool_prefix}nm; ac_word=$2
46853 echo "$as_me:$LINENO: checking for $ac_word" >&5
46854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46855 if test "${ac_cv_prog_NM+set}" = set; then
46856 echo $ECHO_N "(cached) $ECHO_C" >&6
46857 else
46858 if test -n "$NM"; then
46859 ac_cv_prog_NM="$NM" # Let the user override the test.
46860 else
46861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46862 for as_dir in $PATH
46863 do
46864 IFS=$as_save_IFS
46865 test -z "$as_dir" && as_dir=.
46866 for ac_exec_ext in '' $ac_executable_extensions; do
46867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46868 ac_cv_prog_NM="${ac_tool_prefix}nm"
46869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46870 break 2
46871 fi
46872 done
46873 done
46874
46875 fi
46876 fi
46877 NM=$ac_cv_prog_NM
46878 if test -n "$NM"; then
46879 echo "$as_me:$LINENO: result: $NM" >&5
46880 echo "${ECHO_T}$NM" >&6
46881 else
46882 echo "$as_me:$LINENO: result: no" >&5
46883 echo "${ECHO_T}no" >&6
46884 fi
46885
46886 fi
46887 if test -z "$ac_cv_prog_NM"; then
46888 ac_ct_NM=$NM
46889 # Extract the first word of "nm", so it can be a program name with args.
46890 set dummy nm; ac_word=$2
46891 echo "$as_me:$LINENO: checking for $ac_word" >&5
46892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46893 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46894 echo $ECHO_N "(cached) $ECHO_C" >&6
46895 else
46896 if test -n "$ac_ct_NM"; then
46897 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46898 else
46899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46900 for as_dir in $PATH
46901 do
46902 IFS=$as_save_IFS
46903 test -z "$as_dir" && as_dir=.
46904 for ac_exec_ext in '' $ac_executable_extensions; do
46905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46906 ac_cv_prog_ac_ct_NM="nm"
46907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46908 break 2
46909 fi
46910 done
46911 done
46912
46913 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46914 fi
46915 fi
46916 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46917 if test -n "$ac_ct_NM"; then
46918 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46919 echo "${ECHO_T}$ac_ct_NM" >&6
46920 else
46921 echo "$as_me:$LINENO: result: no" >&5
46922 echo "${ECHO_T}no" >&6
46923 fi
46924
46925 NM=$ac_ct_NM
46926 else
46927 NM="$ac_cv_prog_NM"
46928 fi
46929
46930
46931 case ${BAKEFILE_HOST} in
46932 *-hp-hpux* )
46933 INSTALL_DIR="mkdir -p"
46934 ;;
46935 *) INSTALL_DIR="$INSTALL -d"
46936 ;;
46937 esac
46938
46939
46940 LDFLAGS_GUI=
46941 case ${BAKEFILE_HOST} in
46942 *-*-cygwin* | *-*-mingw32* )
46943 LDFLAGS_GUI="-mwindows"
46944 esac
46945
46946
46947 fi
46948
46949 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46950 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46951 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46952 echo $ECHO_N "(cached) $ECHO_C" >&6
46953 else
46954
46955 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46956 egrep -s GNU > /dev/null); then
46957 bakefile_cv_prog_makeisgnu="yes"
46958 else
46959 bakefile_cv_prog_makeisgnu="no"
46960 fi
46961
46962 fi
46963 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46964 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46965
46966 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46967 IF_GNU_MAKE=""
46968 else
46969 IF_GNU_MAKE="#"
46970 fi
46971
46972
46973
46974 PLATFORM_UNIX=0
46975 PLATFORM_WIN32=0
46976 PLATFORM_MSDOS=0
46977 PLATFORM_MAC=0
46978 PLATFORM_MACOS=0
46979 PLATFORM_MACOSX=0
46980 PLATFORM_OS2=0
46981 PLATFORM_BEOS=0
46982
46983 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46984 case "${BAKEFILE_HOST}" in
46985 *-*-mingw32* )
46986 PLATFORM_WIN32=1
46987 ;;
46988 *-pc-msdosdjgpp )
46989 PLATFORM_MSDOS=1
46990 ;;
46991 *-pc-os2_emx | *-pc-os2-emx )
46992 PLATFORM_OS2=1
46993 ;;
46994 *-*-darwin* )
46995 PLATFORM_MAC=1
46996 PLATFORM_MACOSX=1
46997 ;;
46998 *-*-beos* )
46999 PLATFORM_BEOS=1
47000 ;;
47001 powerpc-apple-macos* )
47002 PLATFORM_MAC=1
47003 PLATFORM_MACOS=1
47004 ;;
47005 * )
47006 PLATFORM_UNIX=1
47007 ;;
47008 esac
47009 else
47010 case "$BAKEFILE_FORCE_PLATFORM" in
47011 win32 )
47012 PLATFORM_WIN32=1
47013 ;;
47014 msdos )
47015 PLATFORM_MSDOS=1
47016 ;;
47017 os2 )
47018 PLATFORM_OS2=1
47019 ;;
47020 darwin )
47021 PLATFORM_MAC=1
47022 PLATFORM_MACOSX=1
47023 ;;
47024 unix )
47025 PLATFORM_UNIX=1
47026 ;;
47027 beos )
47028 PLATFORM_BEOS=1
47029 ;;
47030 * )
47031 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47032 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47033 { (exit 1); exit 1; }; }
47034 ;;
47035 esac
47036 fi
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048 # Check whether --enable-omf or --disable-omf was given.
47049 if test "${enable_omf+set}" = set; then
47050 enableval="$enable_omf"
47051 bk_os2_use_omf="$enableval"
47052 fi;
47053
47054 case "${BAKEFILE_HOST}" in
47055 *-*-darwin* )
47056 if test "x$GCC" = "xyes"; then
47057 CFLAGS="$CFLAGS -fno-common"
47058 CXXFLAGS="$CXXFLAGS -fno-common"
47059 fi
47060 if test "x$XLCC" = "xyes"; then
47061 CFLAGS="$CFLAGS -qnocommon"
47062 CXXFLAGS="$CXXFLAGS -qnocommon"
47063 fi
47064 ;;
47065
47066 *-pc-os2_emx | *-pc-os2-emx )
47067 if test "x$bk_os2_use_omf" = "xyes" ; then
47068 AR=emxomfar
47069 RANLIB=:
47070 LDFLAGS="-Zomf $LDFLAGS"
47071 CFLAGS="-Zomf $CFLAGS"
47072 CXXFLAGS="-Zomf $CXXFLAGS"
47073 OS2_LIBEXT="lib"
47074 else
47075 OS2_LIBEXT="a"
47076 fi
47077 ;;
47078
47079 i*86-*-beos* )
47080 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47081 ;;
47082 esac
47083
47084
47085 SO_SUFFIX="so"
47086 SO_SUFFIX_MODULE="so"
47087 EXEEXT=""
47088 LIBPREFIX="lib"
47089 LIBEXT=".a"
47090 DLLPREFIX="lib"
47091 DLLPREFIX_MODULE=""
47092 DLLIMP_SUFFIX=""
47093 dlldir="$libdir"
47094
47095 case "${BAKEFILE_HOST}" in
47096 *-hp-hpux* )
47097 SO_SUFFIX="sl"
47098 SO_SUFFIX_MODULE="sl"
47099 ;;
47100 *-*-aix* )
47101 SO_SUFFIX="a"
47102 SO_SUFFIX_MODULE="a"
47103 ;;
47104 *-*-cygwin* )
47105 SO_SUFFIX="dll"
47106 SO_SUFFIX_MODULE="dll"
47107 DLLIMP_SUFFIX="dll.a"
47108 EXEEXT=".exe"
47109 DLLPREFIX="cyg"
47110 dlldir="$bindir"
47111 ;;
47112 *-*-mingw32* )
47113 SO_SUFFIX="dll"
47114 SO_SUFFIX_MODULE="dll"
47115 DLLIMP_SUFFIX="dll.a"
47116 EXEEXT=".exe"
47117 DLLPREFIX=""
47118 dlldir="$bindir"
47119 ;;
47120 *-pc-msdosdjgpp )
47121 EXEEXT=".exe"
47122 DLLPREFIX=""
47123 dlldir="$bindir"
47124 ;;
47125 *-pc-os2_emx | *-pc-os2-emx )
47126 SO_SUFFIX="dll"
47127 SO_SUFFIX_MODULE="dll"
47128 DLLIMP_SUFFIX=$OS2_LIBEXT
47129 EXEEXT=".exe"
47130 DLLPREFIX=""
47131 LIBPREFIX=""
47132 LIBEXT=".$OS2_LIBEXT"
47133 dlldir="$bindir"
47134 ;;
47135 *-*-darwin* )
47136 SO_SUFFIX="dylib"
47137 SO_SUFFIX_MODULE="bundle"
47138 ;;
47139 esac
47140
47141 if test "x$DLLIMP_SUFFIX" = "x" ; then
47142 DLLIMP_SUFFIX="$SO_SUFFIX"
47143 fi
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156 PIC_FLAG=""
47157 if test "x$GCC" = "xyes"; then
47158 PIC_FLAG="-fPIC"
47159 fi
47160
47161 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47162 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47163 WINDOWS_IMPLIB=0
47164
47165 case "${BAKEFILE_HOST}" in
47166 *-hp-hpux* )
47167 if test "x$GCC" != "xyes"; then
47168 LDFLAGS="$LDFLAGS -L/usr/lib"
47169
47170 SHARED_LD_CC="${CC} -b -o"
47171 SHARED_LD_CXX="${CXX} -b -o"
47172 PIC_FLAG="+Z"
47173 fi
47174 ;;
47175
47176 *-*-linux* )
47177 if test "x$GCC" != "xyes"; then
47178 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47179 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47180 if test "${bakefile_cv_prog_icc+set}" = set; then
47181 echo $ECHO_N "(cached) $ECHO_C" >&6
47182 else
47183
47184 cat >conftest.$ac_ext <<_ACEOF
47185 /* confdefs.h. */
47186 _ACEOF
47187 cat confdefs.h >>conftest.$ac_ext
47188 cat >>conftest.$ac_ext <<_ACEOF
47189 /* end confdefs.h. */
47190
47191 int
47192 main ()
47193 {
47194
47195 #ifndef __INTEL_COMPILER
47196 This is not ICC
47197 #endif
47198
47199 ;
47200 return 0;
47201 }
47202 _ACEOF
47203 rm -f conftest.$ac_objext
47204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47205 (eval $ac_compile) 2>conftest.er1
47206 ac_status=$?
47207 grep -v '^ *+' conftest.er1 >conftest.err
47208 rm -f conftest.er1
47209 cat conftest.err >&5
47210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47211 (exit $ac_status); } &&
47212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47214 (eval $ac_try) 2>&5
47215 ac_status=$?
47216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47217 (exit $ac_status); }; } &&
47218 { ac_try='test -s conftest.$ac_objext'
47219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47220 (eval $ac_try) 2>&5
47221 ac_status=$?
47222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47223 (exit $ac_status); }; }; then
47224 bakefile_cv_prog_icc=yes
47225 else
47226 echo "$as_me: failed program was:" >&5
47227 sed 's/^/| /' conftest.$ac_ext >&5
47228
47229 bakefile_cv_prog_icc=no
47230
47231 fi
47232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47233
47234 fi
47235 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47236 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47237 if test "$bakefile_cv_prog_icc" = "yes"; then
47238 PIC_FLAG="-KPIC"
47239 fi
47240 fi
47241 ;;
47242
47243 *-*-solaris2* )
47244 if test "x$GCC" != xyes ; then
47245 SHARED_LD_CC="${CC} -G -o"
47246 SHARED_LD_CXX="${CXX} -G -o"
47247 PIC_FLAG="-KPIC"
47248 fi
47249 ;;
47250
47251 *-*-darwin* )
47252
47253 D='$'
47254 cat <<EOF >shared-ld-sh
47255 #!/bin/sh
47256 #-----------------------------------------------------------------------------
47257 #-- Name: distrib/mac/shared-ld-sh
47258 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47259 #-- Author: Gilles Depeyrot
47260 #-- Copyright: (c) 2002 Gilles Depeyrot
47261 #-- Licence: any use permitted
47262 #-----------------------------------------------------------------------------
47263
47264 verbose=0
47265 args=""
47266 objects=""
47267 linking_flag="-dynamiclib"
47268 ldargs="-r -keep_private_externs -nostdlib"
47269
47270 while test ${D}# -gt 0; do
47271 case ${D}1 in
47272
47273 -v)
47274 verbose=1
47275 ;;
47276
47277 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47278 # collect these options and values
47279 args="${D}{args} ${D}1 ${D}2"
47280 shift
47281 ;;
47282
47283 -s|-Wl,*)
47284 # collect these load args
47285 ldargs="${D}{ldargs} ${D}1"
47286 ;;
47287
47288 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47289 # collect these options
47290 args="${D}{args} ${D}1"
47291 ;;
47292
47293 -dynamiclib|-bundle)
47294 linking_flag="${D}1"
47295 ;;
47296
47297 -*)
47298 echo "shared-ld: unhandled option '${D}1'"
47299 exit 1
47300 ;;
47301
47302 *.o | *.a | *.dylib)
47303 # collect object files
47304 objects="${D}{objects} ${D}1"
47305 ;;
47306
47307 *)
47308 echo "shared-ld: unhandled argument '${D}1'"
47309 exit 1
47310 ;;
47311
47312 esac
47313 shift
47314 done
47315
47316 status=0
47317
47318 #
47319 # Link one module containing all the others
47320 #
47321 if test ${D}{verbose} = 1; then
47322 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47323 fi
47324 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47325 status=${D}?
47326
47327 #
47328 # Link the shared library from the single module created, but only if the
47329 # previous command didn't fail:
47330 #
47331 if test ${D}{status} = 0; then
47332 if test ${D}{verbose} = 1; then
47333 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47334 fi
47335 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47336 status=${D}?
47337 fi
47338
47339 #
47340 # Remove intermediate module
47341 #
47342 rm -f master.${D}${D}.o
47343
47344 exit ${D}status
47345 EOF
47346
47347 chmod +x shared-ld-sh
47348
47349 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47350 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47351
47352
47353 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47354 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47355 if test "${bakefile_cv_gcc31+set}" = set; then
47356 echo $ECHO_N "(cached) $ECHO_C" >&6
47357 else
47358
47359 cat >conftest.$ac_ext <<_ACEOF
47360 /* confdefs.h. */
47361 _ACEOF
47362 cat confdefs.h >>conftest.$ac_ext
47363 cat >>conftest.$ac_ext <<_ACEOF
47364 /* end confdefs.h. */
47365
47366 int
47367 main ()
47368 {
47369
47370 #if (__GNUC__ < 3) || \
47371 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47372 This is old gcc
47373 #endif
47374
47375 ;
47376 return 0;
47377 }
47378 _ACEOF
47379 rm -f conftest.$ac_objext
47380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47381 (eval $ac_compile) 2>conftest.er1
47382 ac_status=$?
47383 grep -v '^ *+' conftest.er1 >conftest.err
47384 rm -f conftest.er1
47385 cat conftest.err >&5
47386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47387 (exit $ac_status); } &&
47388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47390 (eval $ac_try) 2>&5
47391 ac_status=$?
47392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47393 (exit $ac_status); }; } &&
47394 { ac_try='test -s conftest.$ac_objext'
47395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47396 (eval $ac_try) 2>&5
47397 ac_status=$?
47398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399 (exit $ac_status); }; }; then
47400
47401 bakefile_cv_gcc31=yes
47402
47403 else
47404 echo "$as_me: failed program was:" >&5
47405 sed 's/^/| /' conftest.$ac_ext >&5
47406
47407
47408 bakefile_cv_gcc31=no
47409
47410
47411 fi
47412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47413
47414 fi
47415 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47416 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47417 if test "$bakefile_cv_gcc31" = "no"; then
47418 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47419 SHARED_LD_CXX="$SHARED_LD_CC"
47420 else
47421 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47422 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47423 fi
47424
47425 if test "x$GCC" == "xyes"; then
47426 PIC_FLAG="-dynamic -fPIC"
47427 fi
47428 if test "x$XLCC" = "xyes"; then
47429 PIC_FLAG="-dynamic -DPIC"
47430 fi
47431 ;;
47432
47433 *-*-aix* )
47434 if test "x$GCC" = "xyes"; then
47435 PIC_FLAG=""
47436
47437 case "${BAKEFILE_HOST}" in
47438 *-*-aix5* )
47439 LD_EXPFULL="-Wl,-bexpfull"
47440 ;;
47441 esac
47442
47443 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47444 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47445 else
47446 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47447 set dummy makeC++SharedLib; ac_word=$2
47448 echo "$as_me:$LINENO: checking for $ac_word" >&5
47449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47450 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47451 echo $ECHO_N "(cached) $ECHO_C" >&6
47452 else
47453 if test -n "$AIX_CXX_LD"; then
47454 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47455 else
47456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47457 for as_dir in $PATH
47458 do
47459 IFS=$as_save_IFS
47460 test -z "$as_dir" && as_dir=.
47461 for ac_exec_ext in '' $ac_executable_extensions; do
47462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47463 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47465 break 2
47466 fi
47467 done
47468 done
47469
47470 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47471 fi
47472 fi
47473 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47474 if test -n "$AIX_CXX_LD"; then
47475 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47476 echo "${ECHO_T}$AIX_CXX_LD" >&6
47477 else
47478 echo "$as_me:$LINENO: result: no" >&5
47479 echo "${ECHO_T}no" >&6
47480 fi
47481
47482 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47483 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47484 fi
47485 ;;
47486
47487 *-*-beos* )
47488 SHARED_LD_CC="${LD} -nostart -o"
47489 SHARED_LD_CXX="${LD} -nostart -o"
47490 ;;
47491
47492 *-*-irix* )
47493 if test "x$GCC" != "xyes"; then
47494 PIC_FLAG="-KPIC"
47495 fi
47496 ;;
47497
47498 *-*-cygwin* | *-*-mingw32* )
47499 PIC_FLAG=""
47500 SHARED_LD_CC="\$(CC) -shared -o"
47501 SHARED_LD_CXX="\$(CXX) -shared -o"
47502 WINDOWS_IMPLIB=1
47503 ;;
47504
47505 *-pc-os2_emx | *-pc-os2-emx )
47506 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47507 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47508 PIC_FLAG=""
47509
47510 D='$'
47511 cat <<EOF >dllar.sh
47512 #!/bin/sh
47513 #
47514 # dllar - a tool to build both a .dll and an .a file
47515 # from a set of object (.o) files for EMX/OS2.
47516 #
47517 # Written by Andrew Zabolotny, bit@freya.etu.ru
47518 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47519 #
47520 # This script will accept a set of files on the command line.
47521 # All the public symbols from the .o files will be exported into
47522 # a .DEF file, then linker will be run (through gcc) against them to
47523 # build a shared library consisting of all given .o files. All libraries
47524 # (.a) will be first decompressed into component .o files then act as
47525 # described above. You can optionally give a description (-d "description")
47526 # which will be put into .DLL. To see the list of accepted options (as well
47527 # as command-line format) simply run this program without options. The .DLL
47528 # is built to be imported by name (there is no guarantee that new versions
47529 # of the library you build will have same ordinals for same symbols).
47530 #
47531 # dllar is free software; you can redistribute it and/or modify
47532 # it under the terms of the GNU General Public License as published by
47533 # the Free Software Foundation; either version 2, or (at your option)
47534 # any later version.
47535 #
47536 # dllar is distributed in the hope that it will be useful,
47537 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47538 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47539 # GNU General Public License for more details.
47540 #
47541 # You should have received a copy of the GNU General Public License
47542 # along with dllar; see the file COPYING. If not, write to the Free
47543 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47544 # 02111-1307, USA.
47545
47546 # To successfuly run this program you will need:
47547 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47548 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47549 # - gcc
47550 # (used to build the .dll)
47551 # - emxexp
47552 # (used to create .def file from .o files)
47553 # - emximp
47554 # (used to create .a file from .def file)
47555 # - GNU text utilites (cat, sort, uniq)
47556 # used to process emxexp output
47557 # - GNU file utilities (mv, rm)
47558 # - GNU sed
47559 # - lxlite (optional, see flag below)
47560 # (used for general .dll cleanup)
47561 #
47562
47563 flag_USE_LXLITE=1;
47564
47565 #
47566 # helper functions
47567 # basnam, variant of basename, which does _not_ remove the path, _iff_
47568 # second argument (suffix to remove) is given
47569 basnam(){
47570 case ${D}# in
47571 1)
47572 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47573 ;;
47574 2)
47575 echo ${D}1 | sed 's/'${D}2'${D}//'
47576 ;;
47577 *)
47578 echo "error in basnam ${D}*"
47579 exit 8
47580 ;;
47581 esac
47582 }
47583
47584 # Cleanup temporary files and output
47585 CleanUp() {
47586 cd ${D}curDir
47587 for i in ${D}inputFiles ; do
47588 case ${D}i in
47589 *!)
47590 rm -rf \`basnam ${D}i !\`
47591 ;;
47592 *)
47593 ;;
47594 esac
47595 done
47596
47597 # Kill result in case of failure as there is just to many stupid make/nmake
47598 # things out there which doesn't do this.
47599 if [ ${D}# -eq 0 ]; then
47600 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47601 fi
47602 }
47603
47604 # Print usage and exit script with rc=1.
47605 PrintHelp() {
47606 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47607 echo ' [-name-mangler-script script.sh]'
47608 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47609 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47610 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47611 echo ' [*.o] [*.a]'
47612 echo '*> "output_file" should have no extension.'
47613 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47614 echo ' The import library name is derived from this and is set to "name".a,'
47615 echo ' unless overridden by -import'
47616 echo '*> "importlib_name" should have no extension.'
47617 echo ' If it has the .o, or .a extension, it is automatically removed.'
47618 echo ' This name is used as the import library name and may be longer and'
47619 echo ' more descriptive than the DLL name which has to follow the old '
47620 echo ' 8.3 convention of FAT.'
47621 echo '*> "script.sh may be given to override the output_file name by a'
47622 echo ' different name. It is mainly useful if the regular make process'
47623 echo ' of some package does not take into account OS/2 restriction of'
47624 echo ' DLL name lengths. It takes the importlib name as input and is'
47625 echo ' supposed to procude a shorter name as output. The script should'
47626 echo ' expect to get importlib_name without extension and should produce'
47627 echo ' a (max.) 8 letter name without extension.'
47628 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47629 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47630 echo ' These flags will be put at the start of GCC command line.'
47631 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47632 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47633 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47634 echo ' If the last character of a symbol is "*", all symbols beginning'
47635 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47636 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47637 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47638 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47639 echo ' C runtime DLLs.'
47640 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47641 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47642 echo ' unchanged to GCC at the end of command line.'
47643 echo '*> If you create a DLL from a library and you do not specify -o,'
47644 echo ' the basename for DLL and import library will be set to library name,'
47645 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47646 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47647 echo ' library will be renamed into gcc_s.a.'
47648 echo '--------'
47649 echo 'Example:'
47650 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47651 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47652 CleanUp
47653 exit 1
47654 }
47655
47656 # Execute a command.
47657 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47658 # @Uses Whatever CleanUp() uses.
47659 doCommand() {
47660 echo "${D}*"
47661 eval ${D}*
47662 rcCmd=${D}?
47663
47664 if [ ${D}rcCmd -ne 0 ]; then
47665 echo "command failed, exit code="${D}rcCmd
47666 CleanUp
47667 exit ${D}rcCmd
47668 fi
47669 }
47670
47671 # main routine
47672 # setup globals
47673 cmdLine=${D}*
47674 outFile=""
47675 outimpFile=""
47676 inputFiles=""
47677 renameScript=""
47678 description=""
47679 CC=gcc.exe
47680 CFLAGS="-s -Zcrtdll"
47681 EXTRA_CFLAGS=""
47682 EXPORT_BY_ORDINALS=0
47683 exclude_symbols=""
47684 library_flags=""
47685 curDir=\`pwd\`
47686 curDirS=curDir
47687 case ${D}curDirS in
47688 */)
47689 ;;
47690 *)
47691 curDirS=${D}{curDirS}"/"
47692 ;;
47693 esac
47694 # Parse commandline
47695 libsToLink=0
47696 omfLinking=0
47697 while [ ${D}1 ]; do
47698 case ${D}1 in
47699 -ord*)
47700 EXPORT_BY_ORDINALS=1;
47701 ;;
47702 -o*)
47703 shift
47704 outFile=${D}1
47705 ;;
47706 -i*)
47707 shift
47708 outimpFile=${D}1
47709 ;;
47710 -name-mangler-script)
47711 shift
47712 renameScript=${D}1
47713 ;;
47714 -d*)
47715 shift
47716 description=${D}1
47717 ;;
47718 -f*)
47719 shift
47720 CFLAGS=${D}1
47721 ;;
47722 -c*)
47723 shift
47724 CC=${D}1
47725 ;;
47726 -h*)
47727 PrintHelp
47728 ;;
47729 -ex*)
47730 shift
47731 exclude_symbols=${D}{exclude_symbols}${D}1" "
47732 ;;
47733 -libf*)
47734 shift
47735 library_flags=${D}{library_flags}${D}1" "
47736 ;;
47737 -nocrt*)
47738 CFLAGS="-s"
47739 ;;
47740 -nolxl*)
47741 flag_USE_LXLITE=0
47742 ;;
47743 -* | /*)
47744 case ${D}1 in
47745 -L* | -l*)
47746 libsToLink=1
47747 ;;
47748 -Zomf)
47749 omfLinking=1
47750 ;;
47751 *)
47752 ;;
47753 esac
47754 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47755 ;;
47756 *.dll)
47757 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47758 if [ ${D}omfLinking -eq 1 ]; then
47759 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47760 else
47761 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47762 fi
47763 ;;
47764 *)
47765 found=0;
47766 if [ ${D}libsToLink -ne 0 ]; then
47767 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47768 else
47769 for file in ${D}1 ; do
47770 if [ -f ${D}file ]; then
47771 inputFiles="${D}{inputFiles} ${D}file"
47772 found=1
47773 fi
47774 done
47775 if [ ${D}found -eq 0 ]; then
47776 echo "ERROR: No file(s) found: "${D}1
47777 exit 8
47778 fi
47779 fi
47780 ;;
47781 esac
47782 shift
47783 done # iterate cmdline words
47784
47785 #
47786 if [ -z "${D}inputFiles" ]; then
47787 echo "dllar: no input files"
47788 PrintHelp
47789 fi
47790
47791 # Now extract all .o files from .a files
47792 newInputFiles=""
47793 for file in ${D}inputFiles ; do
47794 case ${D}file in
47795 *.a | *.lib)
47796 case ${D}file in
47797 *.a)
47798 suffix=".a"
47799 AR="ar"
47800 ;;
47801 *.lib)
47802 suffix=".lib"
47803 AR="emxomfar"
47804 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47805 ;;
47806 *)
47807 ;;
47808 esac
47809 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47810 mkdir ${D}dirname
47811 if [ ${D}? -ne 0 ]; then
47812 echo "Failed to create subdirectory ./${D}dirname"
47813 CleanUp
47814 exit 8;
47815 fi
47816 # Append '!' to indicate archive
47817 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47818 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47819 cd ${D}curDir
47820 found=0;
47821 for subfile in ${D}dirname/*.o* ; do
47822 if [ -f ${D}subfile ]; then
47823 found=1
47824 if [ -s ${D}subfile ]; then
47825 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47826 newInputFiles="${D}newInputFiles ${D}subfile"
47827 fi
47828 fi
47829 done
47830 if [ ${D}found -eq 0 ]; then
47831 echo "WARNING: there are no files in archive \\'${D}file\\'"
47832 fi
47833 ;;
47834 *)
47835 newInputFiles="${D}{newInputFiles} ${D}file"
47836 ;;
47837 esac
47838 done
47839 inputFiles="${D}newInputFiles"
47840
47841 # Output filename(s).
47842 do_backup=0;
47843 if [ -z ${D}outFile ]; then
47844 do_backup=1;
47845 set outFile ${D}inputFiles; outFile=${D}2
47846 fi
47847
47848 # If it is an archive, remove the '!' and the '_%' suffixes
47849 case ${D}outFile in
47850 *_%!)
47851 outFile=\`basnam ${D}outFile _%!\`
47852 ;;
47853 *)
47854 ;;
47855 esac
47856 case ${D}outFile in
47857 *.dll)
47858 outFile=\`basnam ${D}outFile .dll\`
47859 ;;
47860 *.DLL)
47861 outFile=\`basnam ${D}outFile .DLL\`
47862 ;;
47863 *.o)
47864 outFile=\`basnam ${D}outFile .o\`
47865 ;;
47866 *.obj)
47867 outFile=\`basnam ${D}outFile .obj\`
47868 ;;
47869 *.a)
47870 outFile=\`basnam ${D}outFile .a\`
47871 ;;
47872 *.lib)
47873 outFile=\`basnam ${D}outFile .lib\`
47874 ;;
47875 *)
47876 ;;
47877 esac
47878 case ${D}outimpFile in
47879 *.a)
47880 outimpFile=\`basnam ${D}outimpFile .a\`
47881 ;;
47882 *.lib)
47883 outimpFile=\`basnam ${D}outimpFile .lib\`
47884 ;;
47885 *)
47886 ;;
47887 esac
47888 if [ -z ${D}outimpFile ]; then
47889 outimpFile=${D}outFile
47890 fi
47891 defFile="${D}{outFile}.def"
47892 arcFile="${D}{outimpFile}.a"
47893 arcFile2="${D}{outimpFile}.lib"
47894
47895 #create ${D}dllFile as something matching 8.3 restrictions,
47896 if [ -z ${D}renameScript ] ; then
47897 dllFile="${D}outFile"
47898 else
47899 dllFile=\`${D}renameScript ${D}outimpFile\`
47900 fi
47901
47902 if [ ${D}do_backup -ne 0 ] ; then
47903 if [ -f ${D}arcFile ] ; then
47904 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47905 fi
47906 if [ -f ${D}arcFile2 ] ; then
47907 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47908 fi
47909 fi
47910
47911 # Extract public symbols from all the object files.
47912 tmpdefFile=${D}{defFile}_%
47913 rm -f ${D}tmpdefFile
47914 for file in ${D}inputFiles ; do
47915 case ${D}file in
47916 *!)
47917 ;;
47918 *)
47919 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47920 ;;
47921 esac
47922 done
47923
47924 # Create the def file.
47925 rm -f ${D}defFile
47926 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47927 dllFile="${D}{dllFile}.dll"
47928 if [ ! -z ${D}description ]; then
47929 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47930 fi
47931 echo "EXPORTS" >> ${D}defFile
47932
47933 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47934 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47935
47936 # Checks if the export is ok or not.
47937 for word in ${D}exclude_symbols; do
47938 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47939 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47940 done
47941
47942
47943 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47944 sed "=" < ${D}tmpdefFile | \\
47945 sed '
47946 N
47947 : loop
47948 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47949 t loop
47950 ' > ${D}{tmpdefFile}%
47951 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47952 else
47953 rm -f ${D}{tmpdefFile}%
47954 fi
47955 cat ${D}tmpdefFile >> ${D}defFile
47956 rm -f ${D}tmpdefFile
47957
47958 # Do linking, create implib, and apply lxlite.
47959 gccCmdl="";
47960 for file in ${D}inputFiles ; do
47961 case ${D}file in
47962 *!)
47963 ;;
47964 *)
47965 gccCmdl="${D}gccCmdl ${D}file"
47966 ;;
47967 esac
47968 done
47969 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47970 touch "${D}{outFile}.dll"
47971
47972 doCommand "emximp -o ${D}arcFile ${D}defFile"
47973 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47974 add_flags="";
47975 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47976 add_flags="-ynd"
47977 fi
47978 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47979 fi
47980 doCommand "emxomf -s -l ${D}arcFile"
47981
47982 # Successful exit.
47983 CleanUp 1
47984 exit 0
47985 EOF
47986
47987 chmod +x dllar.sh
47988 ;;
47989
47990 powerpc-apple-macos* | \
47991 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47992 *-*-sunos4* | \
47993 *-*-osf* | \
47994 *-*-dgux5* | \
47995 *-*-sysv5* | \
47996 *-pc-msdosdjgpp )
47997 ;;
47998
47999 *)
48000 esac
48001
48002 if test "x$PIC_FLAG" != "x" ; then
48003 PIC_FLAG="$PIC_FLAG -DPIC"
48004 fi
48005
48006 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48007 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48008 fi
48009 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48010 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48011 fi
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021 USE_SOVERSION=0
48022 USE_SOVERLINUX=0
48023 USE_SOVERSOLARIS=0
48024 USE_SOVERCYGWIN=0
48025 USE_SOSYMLINKS=0
48026 USE_MACVERSION=0
48027 SONAME_FLAG=
48028
48029 case "${BAKEFILE_HOST}" in
48030 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48031 SONAME_FLAG="-Wl,-soname,"
48032 USE_SOVERSION=1
48033 USE_SOVERLINUX=1
48034 USE_SOSYMLINKS=1
48035 ;;
48036
48037 *-*-solaris2* )
48038 SONAME_FLAG="-h "
48039 USE_SOVERSION=1
48040 USE_SOVERSOLARIS=1
48041 USE_SOSYMLINKS=1
48042 ;;
48043
48044 *-*-darwin* )
48045 USE_MACVERSION=1
48046 USE_SOVERSION=1
48047 USE_SOSYMLINKS=1
48048 ;;
48049
48050 *-*-cygwin* )
48051 USE_SOVERSION=1
48052 USE_SOVERCYGWIN=1
48053 ;;
48054 esac
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48066 if test "${enable_dependency_tracking+set}" = set; then
48067 enableval="$enable_dependency_tracking"
48068 bk_use_trackdeps="$enableval"
48069 fi;
48070
48071 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48072 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48073
48074 if test "x$bk_use_trackdeps" = "xno" ; then
48075 DEPS_TRACKING=0
48076 echo "$as_me:$LINENO: result: disabled" >&5
48077 echo "${ECHO_T}disabled" >&6
48078 else
48079 DEPS_TRACKING=1
48080
48081 if test "x$GCC" = "xyes"; then
48082 DEPSMODE=gcc
48083 case "${BAKEFILE_HOST}" in
48084 *-*-darwin* )
48085 DEPSFLAG="-no-cpp-precomp -MMD"
48086 ;;
48087 * )
48088 DEPSFLAG="-MMD"
48089 ;;
48090 esac
48091 echo "$as_me:$LINENO: result: gcc" >&5
48092 echo "${ECHO_T}gcc" >&6
48093 elif test "x$MWCC" = "xyes"; then
48094 DEPSMODE=mwcc
48095 DEPSFLAG="-MM"
48096 echo "$as_me:$LINENO: result: mwcc" >&5
48097 echo "${ECHO_T}mwcc" >&6
48098 elif test "x$SUNCC" = "xyes"; then
48099 DEPSMODE=unixcc
48100 DEPSFLAG="-xM1"
48101 echo "$as_me:$LINENO: result: Sun cc" >&5
48102 echo "${ECHO_T}Sun cc" >&6
48103 elif test "x$SGICC" = "xyes"; then
48104 DEPSMODE=unixcc
48105 DEPSFLAG="-M"
48106 echo "$as_me:$LINENO: result: SGI cc" >&5
48107 echo "${ECHO_T}SGI cc" >&6
48108 elif test "x$HPCC" = "xyes"; then
48109 DEPSMODE=unixcc
48110 DEPSFLAG="+make"
48111 echo "$as_me:$LINENO: result: HP cc" >&5
48112 echo "${ECHO_T}HP cc" >&6
48113 elif test "x$COMPAQCC" = "xyes"; then
48114 DEPSMODE=gcc
48115 DEPSFLAG="-MD"
48116 echo "$as_me:$LINENO: result: Compaq cc" >&5
48117 echo "${ECHO_T}Compaq cc" >&6
48118 else
48119 DEPS_TRACKING=0
48120 echo "$as_me:$LINENO: result: none" >&5
48121 echo "${ECHO_T}none" >&6
48122 fi
48123
48124 if test $DEPS_TRACKING = 1 ; then
48125
48126 D='$'
48127 cat <<EOF >bk-deps
48128 #!/bin/sh
48129
48130 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48131 # script. It is used to track C/C++ files dependencies in portable way.
48132 #
48133 # Permission is given to use this file in any way.
48134
48135 DEPSMODE=${DEPSMODE}
48136 DEPSDIR=.deps
48137 DEPSFLAG="${DEPSFLAG}"
48138
48139 mkdir -p ${D}DEPSDIR
48140
48141 if test ${D}DEPSMODE = gcc ; then
48142 ${D}* ${D}{DEPSFLAG}
48143 status=${D}?
48144 if test ${D}{status} != 0 ; then
48145 exit ${D}{status}
48146 fi
48147 # move created file to the location we want it in:
48148 while test ${D}# -gt 0; do
48149 case "${D}1" in
48150 -o )
48151 shift
48152 objfile=${D}1
48153 ;;
48154 -* )
48155 ;;
48156 * )
48157 srcfile=${D}1
48158 ;;
48159 esac
48160 shift
48161 done
48162 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48163 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48164 if test -f ${D}depfile ; then
48165 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48166 rm -f ${D}depfile
48167 else
48168 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48169 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48170 if test ! -f ${D}depfile ; then
48171 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48172 depfile="${D}objfile.d"
48173 fi
48174 if test -f ${D}depfile ; then
48175 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48176 rm -f ${D}depfile
48177 fi
48178 fi
48179 exit 0
48180 elif test ${D}DEPSMODE = mwcc ; then
48181 ${D}* || exit ${D}?
48182 # Run mwcc again with -MM and redirect into the dep file we want
48183 # NOTE: We can't use shift here because we need ${D}* to be valid
48184 prevarg=
48185 for arg in ${D}* ; do
48186 if test "${D}prevarg" = "-o"; then
48187 objfile=${D}arg
48188 else
48189 case "${D}arg" in
48190 -* )
48191 ;;
48192 * )
48193 srcfile=${D}arg
48194 ;;
48195 esac
48196 fi
48197 prevarg="${D}arg"
48198 done
48199 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48200 exit 0
48201 elif test ${D}DEPSMODE = unixcc; then
48202 ${D}* || exit ${D}?
48203 # Run compiler again with deps flag and redirect into the dep file.
48204 # It doesn't work if the '-o FILE' option is used, but without it the
48205 # dependency file will contain the wrong name for the object. So it is
48206 # removed from the command line, and the dep file is fixed with sed.
48207 cmd=""
48208 while test ${D}# -gt 0; do
48209 case "${D}1" in
48210 -o )
48211 shift
48212 objfile=${D}1
48213 ;;
48214 * )
48215 eval arg${D}#=\\${D}1
48216 cmd="${D}cmd \\${D}arg${D}#"
48217 ;;
48218 esac
48219 shift
48220 done
48221 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48222 exit 0
48223 else
48224 ${D}*
48225 exit ${D}?
48226 fi
48227 EOF
48228
48229 chmod +x bk-deps
48230 fi
48231 fi
48232
48233
48234
48235
48236 case ${BAKEFILE_HOST} in
48237 *-*-cygwin* | *-*-mingw32* )
48238 if test -n "$ac_tool_prefix"; then
48239 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48240 set dummy ${ac_tool_prefix}windres; ac_word=$2
48241 echo "$as_me:$LINENO: checking for $ac_word" >&5
48242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48243 if test "${ac_cv_prog_WINDRES+set}" = set; then
48244 echo $ECHO_N "(cached) $ECHO_C" >&6
48245 else
48246 if test -n "$WINDRES"; then
48247 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48248 else
48249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48250 for as_dir in $PATH
48251 do
48252 IFS=$as_save_IFS
48253 test -z "$as_dir" && as_dir=.
48254 for ac_exec_ext in '' $ac_executable_extensions; do
48255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48256 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48258 break 2
48259 fi
48260 done
48261 done
48262
48263 fi
48264 fi
48265 WINDRES=$ac_cv_prog_WINDRES
48266 if test -n "$WINDRES"; then
48267 echo "$as_me:$LINENO: result: $WINDRES" >&5
48268 echo "${ECHO_T}$WINDRES" >&6
48269 else
48270 echo "$as_me:$LINENO: result: no" >&5
48271 echo "${ECHO_T}no" >&6
48272 fi
48273
48274 fi
48275 if test -z "$ac_cv_prog_WINDRES"; then
48276 ac_ct_WINDRES=$WINDRES
48277 # Extract the first word of "windres", so it can be a program name with args.
48278 set dummy windres; ac_word=$2
48279 echo "$as_me:$LINENO: checking for $ac_word" >&5
48280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48281 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48282 echo $ECHO_N "(cached) $ECHO_C" >&6
48283 else
48284 if test -n "$ac_ct_WINDRES"; then
48285 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48286 else
48287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48288 for as_dir in $PATH
48289 do
48290 IFS=$as_save_IFS
48291 test -z "$as_dir" && as_dir=.
48292 for ac_exec_ext in '' $ac_executable_extensions; do
48293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48294 ac_cv_prog_ac_ct_WINDRES="windres"
48295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48296 break 2
48297 fi
48298 done
48299 done
48300
48301 fi
48302 fi
48303 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48304 if test -n "$ac_ct_WINDRES"; then
48305 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48306 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48307 else
48308 echo "$as_me:$LINENO: result: no" >&5
48309 echo "${ECHO_T}no" >&6
48310 fi
48311
48312 WINDRES=$ac_ct_WINDRES
48313 else
48314 WINDRES="$ac_cv_prog_WINDRES"
48315 fi
48316
48317 ;;
48318
48319 *-*-darwin* | powerpc-apple-macos* )
48320 # Extract the first word of "Rez", so it can be a program name with args.
48321 set dummy Rez; ac_word=$2
48322 echo "$as_me:$LINENO: checking for $ac_word" >&5
48323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48324 if test "${ac_cv_prog_REZ+set}" = set; then
48325 echo $ECHO_N "(cached) $ECHO_C" >&6
48326 else
48327 if test -n "$REZ"; then
48328 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48329 else
48330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48331 for as_dir in $PATH
48332 do
48333 IFS=$as_save_IFS
48334 test -z "$as_dir" && as_dir=.
48335 for ac_exec_ext in '' $ac_executable_extensions; do
48336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48337 ac_cv_prog_REZ="Rez"
48338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48339 break 2
48340 fi
48341 done
48342 done
48343
48344 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48345 fi
48346 fi
48347 REZ=$ac_cv_prog_REZ
48348 if test -n "$REZ"; then
48349 echo "$as_me:$LINENO: result: $REZ" >&5
48350 echo "${ECHO_T}$REZ" >&6
48351 else
48352 echo "$as_me:$LINENO: result: no" >&5
48353 echo "${ECHO_T}no" >&6
48354 fi
48355
48356 # Extract the first word of "SetFile", so it can be a program name with args.
48357 set dummy SetFile; ac_word=$2
48358 echo "$as_me:$LINENO: checking for $ac_word" >&5
48359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48360 if test "${ac_cv_prog_SETFILE+set}" = set; then
48361 echo $ECHO_N "(cached) $ECHO_C" >&6
48362 else
48363 if test -n "$SETFILE"; then
48364 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48365 else
48366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48367 for as_dir in $PATH
48368 do
48369 IFS=$as_save_IFS
48370 test -z "$as_dir" && as_dir=.
48371 for ac_exec_ext in '' $ac_executable_extensions; do
48372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48373 ac_cv_prog_SETFILE="SetFile"
48374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48375 break 2
48376 fi
48377 done
48378 done
48379
48380 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48381 fi
48382 fi
48383 SETFILE=$ac_cv_prog_SETFILE
48384 if test -n "$SETFILE"; then
48385 echo "$as_me:$LINENO: result: $SETFILE" >&5
48386 echo "${ECHO_T}$SETFILE" >&6
48387 else
48388 echo "$as_me:$LINENO: result: no" >&5
48389 echo "${ECHO_T}no" >&6
48390 fi
48391
48392 ;;
48393 esac
48394
48395
48396
48397
48398
48399
48400 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48401
48402
48403 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48404
48405
48406
48407 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48408 if test "${enable_precomp_headers+set}" = set; then
48409 enableval="$enable_precomp_headers"
48410 bk_use_pch="$enableval"
48411 fi;
48412
48413 GCC_PCH=0
48414 ICC_PCH=0
48415 USE_PCH=0
48416
48417 case ${BAKEFILE_HOST} in
48418 *-*-cygwin* )
48419 bk_use_pch="no"
48420 ;;
48421 esac
48422
48423 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48424 if test "x$GCC" = "xyes"; then
48425 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48426 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48427 cat >conftest.$ac_ext <<_ACEOF
48428 /* confdefs.h. */
48429 _ACEOF
48430 cat confdefs.h >>conftest.$ac_ext
48431 cat >>conftest.$ac_ext <<_ACEOF
48432 /* end confdefs.h. */
48433
48434 int
48435 main ()
48436 {
48437
48438 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48439 There is no PCH support
48440 #endif
48441 #if (__GNUC__ < 3)
48442 There is no PCH support
48443 #endif
48444 #if (__GNUC__ == 3) && \
48445 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48446 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48447 ( defined(__INTEL_COMPILER) )
48448 There is no PCH support
48449 #endif
48450
48451 ;
48452 return 0;
48453 }
48454 _ACEOF
48455 rm -f conftest.$ac_objext
48456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48457 (eval $ac_compile) 2>conftest.er1
48458 ac_status=$?
48459 grep -v '^ *+' conftest.er1 >conftest.err
48460 rm -f conftest.er1
48461 cat conftest.err >&5
48462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463 (exit $ac_status); } &&
48464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48466 (eval $ac_try) 2>&5
48467 ac_status=$?
48468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48469 (exit $ac_status); }; } &&
48470 { ac_try='test -s conftest.$ac_objext'
48471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48472 (eval $ac_try) 2>&5
48473 ac_status=$?
48474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48475 (exit $ac_status); }; }; then
48476
48477 echo "$as_me:$LINENO: result: yes" >&5
48478 echo "${ECHO_T}yes" >&6
48479 GCC_PCH=1
48480
48481 else
48482 echo "$as_me: failed program was:" >&5
48483 sed 's/^/| /' conftest.$ac_ext >&5
48484
48485
48486 cat >conftest.$ac_ext <<_ACEOF
48487 /* confdefs.h. */
48488 _ACEOF
48489 cat confdefs.h >>conftest.$ac_ext
48490 cat >>conftest.$ac_ext <<_ACEOF
48491 /* end confdefs.h. */
48492
48493 int
48494 main ()
48495 {
48496
48497 #if !defined(__INTEL_COMPILER) || \
48498 (__INTEL_COMPILER < 800)
48499 There is no PCH support
48500 #endif
48501
48502 ;
48503 return 0;
48504 }
48505 _ACEOF
48506 rm -f conftest.$ac_objext
48507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48508 (eval $ac_compile) 2>conftest.er1
48509 ac_status=$?
48510 grep -v '^ *+' conftest.er1 >conftest.err
48511 rm -f conftest.er1
48512 cat conftest.err >&5
48513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48514 (exit $ac_status); } &&
48515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48517 (eval $ac_try) 2>&5
48518 ac_status=$?
48519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48520 (exit $ac_status); }; } &&
48521 { ac_try='test -s conftest.$ac_objext'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; }; then
48527
48528 echo "$as_me:$LINENO: result: yes" >&5
48529 echo "${ECHO_T}yes" >&6
48530 ICC_PCH=1
48531
48532 else
48533 echo "$as_me: failed program was:" >&5
48534 sed 's/^/| /' conftest.$ac_ext >&5
48535
48536
48537 echo "$as_me:$LINENO: result: no" >&5
48538 echo "${ECHO_T}no" >&6
48539
48540 fi
48541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48542
48543 fi
48544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48545 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48546 USE_PCH=1
48547
48548 D='$'
48549 cat <<EOF >bk-make-pch
48550 #!/bin/sh
48551
48552 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48553 # script. It is used to generated precompiled headers.
48554 #
48555 # Permission is given to use this file in any way.
48556
48557 outfile="${D}{1}"
48558 header="${D}{2}"
48559 shift
48560 shift
48561
48562 compiler=""
48563 headerfile=""
48564
48565 while test ${D}{#} -gt 0; do
48566 add_to_cmdline=1
48567 case "${D}{1}" in
48568 -I* )
48569 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48570 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48571 headerfile="${D}{incdir}/${D}{header}"
48572 fi
48573 ;;
48574 -use-pch|-use_pch )
48575 shift
48576 add_to_cmdline=0
48577 ;;
48578 esac
48579 if test ${D}add_to_cmdline = 1 ; then
48580 compiler="${D}{compiler} ${D}{1}"
48581 fi
48582 shift
48583 done
48584
48585 if test "x${D}{headerfile}" = "x" ; then
48586 echo "error: can't find header ${D}{header} in include paths" >&2
48587 else
48588 if test -f ${D}{outfile} ; then
48589 rm -f ${D}{outfile}
48590 else
48591 mkdir -p \`dirname ${D}{outfile}\`
48592 fi
48593 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48594 mkdir -p .deps
48595 if test "x${GCC_PCH}" = "x1" ; then
48596 # can do this because gcc is >= 3.4:
48597 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48598 elif test "x${ICC_PCH}" = "x1" ; then
48599 filename=pch_gen-${D}${D}
48600 file=${D}{filename}.c
48601 dfile=${D}{filename}.d
48602 cat > ${D}file <<EOT
48603 #include "${D}header"
48604 EOT
48605 # using -MF icc complains about differing command lines in creation/use
48606 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48607 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48608 rm -f ${D}file ${D}dfile ${D}{filename}.o
48609 fi
48610 exit ${D}{?}
48611 fi
48612 EOF
48613
48614 chmod +x bk-make-pch
48615 fi
48616 fi
48617 fi
48618
48619
48620
48621
48622 COND_BUILD_DEBUG="#"
48623 if test "x$BUILD" = "xdebug" ; then
48624 COND_BUILD_DEBUG=""
48625 fi
48626
48627 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48629 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48630 fi
48631
48632 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48634 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48635 fi
48636
48637 COND_BUILD_DEBUG_UNICODE_0="#"
48638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48639 COND_BUILD_DEBUG_UNICODE_0=""
48640 fi
48641
48642 COND_BUILD_DEBUG_UNICODE_1="#"
48643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48644 COND_BUILD_DEBUG_UNICODE_1=""
48645 fi
48646
48647 COND_BUILD_RELEASE="#"
48648 if test "x$BUILD" = "xrelease" ; then
48649 COND_BUILD_RELEASE=""
48650 fi
48651
48652 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48653 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48655 fi
48656
48657 COND_BUILD_RELEASE_UNICODE_0="#"
48658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48659 COND_BUILD_RELEASE_UNICODE_0=""
48660 fi
48661
48662 COND_BUILD_RELEASE_UNICODE_1="#"
48663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48664 COND_BUILD_RELEASE_UNICODE_1=""
48665 fi
48666
48667 COND_DEBUG_FLAG_1="#"
48668 if test "x$DEBUG_FLAG" = "x1" ; then
48669 COND_DEBUG_FLAG_1=""
48670 fi
48671
48672 COND_DEBUG_INFO_0="#"
48673 if test "x$DEBUG_INFO" = "x0" ; then
48674 COND_DEBUG_INFO_0=""
48675 fi
48676
48677 COND_DEBUG_INFO_1="#"
48678 if test "x$DEBUG_INFO" = "x1" ; then
48679 COND_DEBUG_INFO_1=""
48680 fi
48681
48682 COND_DEPS_TRACKING_0="#"
48683 if test "x$DEPS_TRACKING" = "x0" ; then
48684 COND_DEPS_TRACKING_0=""
48685 fi
48686
48687 COND_DEPS_TRACKING_1="#"
48688 if test "x$DEPS_TRACKING" = "x1" ; then
48689 COND_DEPS_TRACKING_1=""
48690 fi
48691
48692 COND_GCC_PCH_1="#"
48693 if test "x$GCC_PCH" = "x1" ; then
48694 COND_GCC_PCH_1=""
48695 fi
48696
48697 COND_ICC_PCH_1="#"
48698 if test "x$ICC_PCH" = "x1" ; then
48699 COND_ICC_PCH_1=""
48700 fi
48701
48702 COND_MONOLITHIC_0="#"
48703 if test "x$MONOLITHIC" = "x0" ; then
48704 COND_MONOLITHIC_0=""
48705 fi
48706
48707 COND_MONOLITHIC_0_SHARED_0="#"
48708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48709 COND_MONOLITHIC_0_SHARED_0=""
48710 fi
48711
48712 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48714 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48715 fi
48716
48717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48720 fi
48721
48722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48725 fi
48726
48727 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48730 fi
48731
48732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48735 fi
48736
48737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48739 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48740 fi
48741
48742 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48744 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48745 fi
48746
48747 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48749 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48750 fi
48751
48752 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48754 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48755 fi
48756
48757 COND_MONOLITHIC_0_SHARED_1="#"
48758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48759 COND_MONOLITHIC_0_SHARED_1=""
48760 fi
48761
48762 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48764 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48765 fi
48766
48767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48770 fi
48771
48772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48775 fi
48776
48777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48780 fi
48781
48782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48785 fi
48786
48787 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48790 fi
48791
48792 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48794 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48795 fi
48796
48797 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48799 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48800 fi
48801
48802 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48804 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48805 fi
48806
48807 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48808 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48809 COND_MONOLITHIC_0_USE_MEDIA_1=""
48810 fi
48811
48812 COND_MONOLITHIC_0_USE_ODBC_1="#"
48813 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48814 COND_MONOLITHIC_0_USE_ODBC_1=""
48815 fi
48816
48817 COND_MONOLITHIC_1="#"
48818 if test "x$MONOLITHIC" = "x1" ; then
48819 COND_MONOLITHIC_1=""
48820 fi
48821
48822 COND_MONOLITHIC_1_SHARED_0="#"
48823 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48824 COND_MONOLITHIC_1_SHARED_0=""
48825 fi
48826
48827 COND_MONOLITHIC_1_SHARED_1="#"
48828 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48829 COND_MONOLITHIC_1_SHARED_1=""
48830 fi
48831
48832 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48833 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48834 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48835 fi
48836
48837 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48838 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48839 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48840 fi
48841
48842 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48843 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48844 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48845 fi
48846
48847 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48848 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48849 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48850 fi
48851
48852 COND_PLATFORM_MACOSX_1="#"
48853 if test "x$PLATFORM_MACOSX" = "x1" ; then
48854 COND_PLATFORM_MACOSX_1=""
48855 fi
48856
48857 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48859 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48860 fi
48861
48862 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48865 fi
48866
48867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48869 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48870 fi
48871
48872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48875 fi
48876
48877 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48879 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48880 fi
48881
48882 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48884 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48885 fi
48886
48887 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48889 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48890 fi
48891
48892 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48894 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48895 fi
48896
48897 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48898 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48899 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48900 fi
48901
48902 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48903 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48904 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48905 fi
48906
48907 COND_PLATFORM_MACOS_1="#"
48908 if test "x$PLATFORM_MACOS" = "x1" ; then
48909 COND_PLATFORM_MACOS_1=""
48910 fi
48911
48912 COND_PLATFORM_MAC_1="#"
48913 if test "x$PLATFORM_MAC" = "x1" ; then
48914 COND_PLATFORM_MAC_1=""
48915 fi
48916
48917 COND_PLATFORM_MSDOS_0="#"
48918 if test "x$PLATFORM_MSDOS" = "x0" ; then
48919 COND_PLATFORM_MSDOS_0=""
48920 fi
48921
48922 COND_PLATFORM_MSDOS_1="#"
48923 if test "x$PLATFORM_MSDOS" = "x1" ; then
48924 COND_PLATFORM_MSDOS_1=""
48925 fi
48926
48927 COND_PLATFORM_OS2_1="#"
48928 if test "x$PLATFORM_OS2" = "x1" ; then
48929 COND_PLATFORM_OS2_1=""
48930 fi
48931
48932 COND_PLATFORM_UNIX_0="#"
48933 if test "x$PLATFORM_UNIX" = "x0" ; then
48934 COND_PLATFORM_UNIX_0=""
48935 fi
48936
48937 COND_PLATFORM_UNIX_1="#"
48938 if test "x$PLATFORM_UNIX" = "x1" ; then
48939 COND_PLATFORM_UNIX_1=""
48940 fi
48941
48942 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48943 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48944 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48945 fi
48946
48947 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48949 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48950 fi
48951
48952 COND_PLATFORM_WIN32_0="#"
48953 if test "x$PLATFORM_WIN32" = "x0" ; then
48954 COND_PLATFORM_WIN32_0=""
48955 fi
48956
48957 COND_PLATFORM_WIN32_1="#"
48958 if test "x$PLATFORM_WIN32" = "x1" ; then
48959 COND_PLATFORM_WIN32_1=""
48960 fi
48961
48962 COND_SHARED_0="#"
48963 if test "x$SHARED" = "x0" ; then
48964 COND_SHARED_0=""
48965 fi
48966
48967 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48968 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48969 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48970 fi
48971
48972 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48974 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48975 fi
48976
48977 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48979 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48980 fi
48981
48982 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48984 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48985 fi
48986
48987 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48990 fi
48991
48992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48994 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48995 fi
48996
48997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49000 fi
49001
49002 COND_SHARED_0_USE_XRC_1="#"
49003 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49004 COND_SHARED_0_USE_XRC_1=""
49005 fi
49006
49007 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49008 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49009 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49010 fi
49011
49012 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49013 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49014 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49015 fi
49016
49017 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49018 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49019 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49020 fi
49021
49022 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49023 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49024 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49025 fi
49026
49027 COND_SHARED_1="#"
49028 if test "x$SHARED" = "x1" ; then
49029 COND_SHARED_1=""
49030 fi
49031
49032 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49033 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49034 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49035 fi
49036
49037 COND_SHARED_1_USE_XRC_1="#"
49038 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49039 COND_SHARED_1_USE_XRC_1=""
49040 fi
49041
49042 COND_TOOLKIT_="#"
49043 if test "x$TOOLKIT" = "x" ; then
49044 COND_TOOLKIT_=""
49045 fi
49046
49047 COND_TOOLKIT_COCOA="#"
49048 if test "x$TOOLKIT" = "xCOCOA" ; then
49049 COND_TOOLKIT_COCOA=""
49050 fi
49051
49052 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49053 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49054 COND_TOOLKIT_COCOA_USE_GUI_1=""
49055 fi
49056
49057 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49059 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49060 fi
49061
49062 COND_TOOLKIT_DFB="#"
49063 if test "x$TOOLKIT" = "xDFB" ; then
49064 COND_TOOLKIT_DFB=""
49065 fi
49066
49067 COND_TOOLKIT_DFB_USE_GUI_1="#"
49068 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49069 COND_TOOLKIT_DFB_USE_GUI_1=""
49070 fi
49071
49072 COND_TOOLKIT_GTK="#"
49073 if test "x$TOOLKIT" = "xGTK" ; then
49074 COND_TOOLKIT_GTK=""
49075 fi
49076
49077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49080 fi
49081
49082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49085 fi
49086
49087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49090 fi
49091
49092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49095 fi
49096
49097 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49099 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49100 fi
49101
49102 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49103 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49104 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49105 fi
49106
49107 COND_TOOLKIT_GTK_USE_GUI_1="#"
49108 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49109 COND_TOOLKIT_GTK_USE_GUI_1=""
49110 fi
49111
49112 COND_TOOLKIT_MAC="#"
49113 if test "x$TOOLKIT" = "xMAC" ; then
49114 COND_TOOLKIT_MAC=""
49115 fi
49116
49117 COND_TOOLKIT_MAC_USE_GUI_1="#"
49118 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49119 COND_TOOLKIT_MAC_USE_GUI_1=""
49120 fi
49121
49122 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49123 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49124 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49125 fi
49126
49127 COND_TOOLKIT_MGL="#"
49128 if test "x$TOOLKIT" = "xMGL" ; then
49129 COND_TOOLKIT_MGL=""
49130 fi
49131
49132 COND_TOOLKIT_MGL_USE_GUI_1="#"
49133 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49134 COND_TOOLKIT_MGL_USE_GUI_1=""
49135 fi
49136
49137 COND_TOOLKIT_MOTIF="#"
49138 if test "x$TOOLKIT" = "xMOTIF" ; then
49139 COND_TOOLKIT_MOTIF=""
49140 fi
49141
49142 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49143 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49144 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49145 fi
49146
49147 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49148 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49149 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49150 fi
49151
49152 COND_TOOLKIT_MSW="#"
49153 if test "x$TOOLKIT" = "xMSW" ; then
49154 COND_TOOLKIT_MSW=""
49155 fi
49156
49157 COND_TOOLKIT_MSW_USE_GUI_1="#"
49158 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49159 COND_TOOLKIT_MSW_USE_GUI_1=""
49160 fi
49161
49162 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49163 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49164 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49165 fi
49166
49167 COND_TOOLKIT_MSW_WXUNIV_0="#"
49168 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49169 COND_TOOLKIT_MSW_WXUNIV_0=""
49170 fi
49171
49172 COND_TOOLKIT_PM="#"
49173 if test "x$TOOLKIT" = "xPM" ; then
49174 COND_TOOLKIT_PM=""
49175 fi
49176
49177 COND_TOOLKIT_PM_USE_GUI_1="#"
49178 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49179 COND_TOOLKIT_PM_USE_GUI_1=""
49180 fi
49181
49182 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49183 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49184 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49185 fi
49186
49187 COND_TOOLKIT_WINCE="#"
49188 if test "x$TOOLKIT" = "xWINCE" ; then
49189 COND_TOOLKIT_WINCE=""
49190 fi
49191
49192 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49193 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49194 COND_TOOLKIT_WINCE_USE_GUI_1=""
49195 fi
49196
49197 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49198 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49199 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49200 fi
49201
49202 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49203 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49204 COND_TOOLKIT_WINCE_WXUNIV_0=""
49205 fi
49206
49207 COND_TOOLKIT_X11="#"
49208 if test "x$TOOLKIT" = "xX11" ; then
49209 COND_TOOLKIT_X11=""
49210 fi
49211
49212 COND_TOOLKIT_X11_USE_GUI_1="#"
49213 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49214 COND_TOOLKIT_X11_USE_GUI_1=""
49215 fi
49216
49217 COND_UNICODE_1="#"
49218 if test "x$UNICODE" = "x1" ; then
49219 COND_UNICODE_1=""
49220 fi
49221
49222 COND_USE_EXCEPTIONS_0="#"
49223 if test "x$USE_EXCEPTIONS" = "x0" ; then
49224 COND_USE_EXCEPTIONS_0=""
49225 fi
49226
49227 COND_USE_EXCEPTIONS_1="#"
49228 if test "x$USE_EXCEPTIONS" = "x1" ; then
49229 COND_USE_EXCEPTIONS_1=""
49230 fi
49231
49232 COND_USE_GUI_0="#"
49233 if test "x$USE_GUI" = "x0" ; then
49234 COND_USE_GUI_0=""
49235 fi
49236
49237 COND_USE_GUI_1="#"
49238 if test "x$USE_GUI" = "x1" ; then
49239 COND_USE_GUI_1=""
49240 fi
49241
49242 COND_USE_GUI_1_WXUNIV_0="#"
49243 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49244 COND_USE_GUI_1_WXUNIV_0=""
49245 fi
49246
49247 COND_USE_GUI_1_WXUNIV_1="#"
49248 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49249 COND_USE_GUI_1_WXUNIV_1=""
49250 fi
49251
49252 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49253 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49254 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49255 fi
49256
49257 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49258 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49259 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49260 fi
49261
49262 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49263 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49264 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49265 fi
49266
49267 COND_USE_ODBC_1="#"
49268 if test "x$USE_ODBC" = "x1" ; then
49269 COND_USE_ODBC_1=""
49270 fi
49271
49272 COND_USE_OPENGL_1="#"
49273 if test "x$USE_OPENGL" = "x1" ; then
49274 COND_USE_OPENGL_1=""
49275 fi
49276
49277 COND_USE_PCH_1="#"
49278 if test "x$USE_PCH" = "x1" ; then
49279 COND_USE_PCH_1=""
49280 fi
49281
49282 COND_USE_PLUGINS_0="#"
49283 if test "x$USE_PLUGINS" = "x0" ; then
49284 COND_USE_PLUGINS_0=""
49285 fi
49286
49287 COND_USE_RTTI_0="#"
49288 if test "x$USE_RTTI" = "x0" ; then
49289 COND_USE_RTTI_0=""
49290 fi
49291
49292 COND_USE_RTTI_1="#"
49293 if test "x$USE_RTTI" = "x1" ; then
49294 COND_USE_RTTI_1=""
49295 fi
49296
49297 COND_USE_SOSYMLINKS_1="#"
49298 if test "x$USE_SOSYMLINKS" = "x1" ; then
49299 COND_USE_SOSYMLINKS_1=""
49300 fi
49301
49302 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49303 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49304 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49305 fi
49306
49307 COND_USE_SOVERLINUX_1="#"
49308 if test "x$USE_SOVERLINUX" = "x1" ; then
49309 COND_USE_SOVERLINUX_1=""
49310 fi
49311
49312 COND_USE_SOVERSION_0="#"
49313 if test "x$USE_SOVERSION" = "x0" ; then
49314 COND_USE_SOVERSION_0=""
49315 fi
49316
49317 COND_USE_SOVERSOLARIS_1="#"
49318 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49319 COND_USE_SOVERSOLARIS_1=""
49320 fi
49321
49322 COND_USE_THREADS_0="#"
49323 if test "x$USE_THREADS" = "x0" ; then
49324 COND_USE_THREADS_0=""
49325 fi
49326
49327 COND_USE_THREADS_1="#"
49328 if test "x$USE_THREADS" = "x1" ; then
49329 COND_USE_THREADS_1=""
49330 fi
49331
49332 COND_USE_XRC_1="#"
49333 if test "x$USE_XRC" = "x1" ; then
49334 COND_USE_XRC_1=""
49335 fi
49336
49337 COND_WINDOWS_IMPLIB_1="#"
49338 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49339 COND_WINDOWS_IMPLIB_1=""
49340 fi
49341
49342 COND_WITH_PLUGIN_SDL_1="#"
49343 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49344 COND_WITH_PLUGIN_SDL_1=""
49345 fi
49346
49347 COND_WXUNIV_0="#"
49348 if test "x$WXUNIV" = "x0" ; then
49349 COND_WXUNIV_0=""
49350 fi
49351
49352 COND_WXUNIV_1="#"
49353 if test "x$WXUNIV" = "x1" ; then
49354 COND_WXUNIV_1=""
49355 fi
49356
49357 COND_WXUSE_EXPAT_BUILTIN="#"
49358 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49359 COND_WXUSE_EXPAT_BUILTIN=""
49360 fi
49361
49362 COND_WXUSE_LIBJPEG_BUILTIN="#"
49363 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49364 COND_WXUSE_LIBJPEG_BUILTIN=""
49365 fi
49366
49367 COND_WXUSE_LIBPNG_BUILTIN="#"
49368 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49369 COND_WXUSE_LIBPNG_BUILTIN=""
49370 fi
49371
49372 COND_WXUSE_LIBTIFF_BUILTIN="#"
49373 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49374 COND_WXUSE_LIBTIFF_BUILTIN=""
49375 fi
49376
49377 COND_WXUSE_ODBC_BUILTIN="#"
49378 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49379 COND_WXUSE_ODBC_BUILTIN=""
49380 fi
49381
49382 COND_WXUSE_REGEX_BUILTIN="#"
49383 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49384 COND_WXUSE_REGEX_BUILTIN=""
49385 fi
49386
49387 COND_WXUSE_ZLIB_BUILTIN="#"
49388 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49389 COND_WXUSE_ZLIB_BUILTIN=""
49390 fi
49391
49392
49393
49394 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49395 { { 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
49396 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;}
49397 { (exit 1); exit 1; }; }
49398 fi
49399
49400 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49401 { { 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
49402 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;}
49403 { (exit 1); exit 1; }; }
49404 fi
49405
49406
49407
49408 if test "$wxUSE_MAC" = 1 ; then
49409 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49410 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49411 mv temp bk-deps
49412 chmod +x bk-deps
49413 fi
49414 fi
49415
49416 if test "$wxUSE_SHARED" = "yes"; then
49417
49418 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49419 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49420
49421 case "${host}" in
49422 *-pc-os2_emx | *-pc-os2-emx )
49423 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49424 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49425 cp -p ${srcdir}/src/os2/dllnames.sh .
49426 cp -p ${srcdir}/src/os2/dllar.sh .
49427 ;;
49428 esac
49429 else
49430
49431 EXE_LINKER="$CXX -o"
49432
49433 fi
49434 if test "$wxUSE_OMF" = "yes"; then
49435 case "${host}" in
49436 *-pc-os2_emx | *-pc-os2-emx )
49437 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49438 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49439 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49440 ;;
49441 esac
49442 fi
49443
49444 if test $GCC_PCH = 1 ; then
49445 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49446 fi
49447
49448 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49449
49450 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49513 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49514 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49515 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49516 echo $ECHO_N "(cached) $ECHO_C" >&6
49517 else
49518 cat >conftest.make <<\_ACEOF
49519 all:
49520 @echo 'ac_maketemp="$(MAKE)"'
49521 _ACEOF
49522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49523 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49524 if test -n "$ac_maketemp"; then
49525 eval ac_cv_prog_make_${ac_make}_set=yes
49526 else
49527 eval ac_cv_prog_make_${ac_make}_set=no
49528 fi
49529 rm -f conftest.make
49530 fi
49531 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49532 echo "$as_me:$LINENO: result: yes" >&5
49533 echo "${ECHO_T}yes" >&6
49534 SET_MAKE=
49535 else
49536 echo "$as_me:$LINENO: result: no" >&5
49537 echo "${ECHO_T}no" >&6
49538 SET_MAKE="MAKE=${MAKE-make}"
49539 fi
49540
49541
49542
49543 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49544
49545
49546 if test "$USE_WIN32" = 1; then
49547 ac_config_commands="$ac_config_commands
49548 rcdefs.h
49549 "
49550
49551 fi
49552
49553 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49554
49555
49556 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49557
49558
49559 ac_config_files="$ac_config_files version-script Makefile"
49560
49561
49562 ac_config_commands="$ac_config_commands wx-config"
49563
49564
49565
49566 if test "$wxWITH_SUBDIRS" != "no"; then
49567 if test "$wxUSE_GUI" = "yes"; then
49568 SUBDIRS="samples demos utils contrib"
49569 else SUBDIRS="samples utils"
49570 fi
49571
49572
49573
49574 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49575 if test "${with_cppunit_prefix+set}" = set; then
49576 withval="$with_cppunit_prefix"
49577 cppunit_config_prefix="$withval"
49578 else
49579 cppunit_config_prefix=""
49580 fi;
49581
49582 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49583 if test "${with_cppunit_exec_prefix+set}" = set; then
49584 withval="$with_cppunit_exec_prefix"
49585 cppunit_config_exec_prefix="$withval"
49586 else
49587 cppunit_config_exec_prefix=""
49588 fi;
49589
49590 if test x$cppunit_config_exec_prefix != x ; then
49591 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49592 if test x${CPPUNIT_CONFIG+set} != xset ; then
49593 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49594 fi
49595 fi
49596 if test x$cppunit_config_prefix != x ; then
49597 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49598 if test x${CPPUNIT_CONFIG+set} != xset ; then
49599 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49600 fi
49601 fi
49602
49603 # Extract the first word of "cppunit-config", so it can be a program name with args.
49604 set dummy cppunit-config; ac_word=$2
49605 echo "$as_me:$LINENO: checking for $ac_word" >&5
49606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49607 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49608 echo $ECHO_N "(cached) $ECHO_C" >&6
49609 else
49610 case $CPPUNIT_CONFIG in
49611 [\\/]* | ?:[\\/]*)
49612 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49613 ;;
49614 *)
49615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49616 for as_dir in $PATH
49617 do
49618 IFS=$as_save_IFS
49619 test -z "$as_dir" && as_dir=.
49620 for ac_exec_ext in '' $ac_executable_extensions; do
49621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49622 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49624 break 2
49625 fi
49626 done
49627 done
49628
49629 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49630 ;;
49631 esac
49632 fi
49633 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49634
49635 if test -n "$CPPUNIT_CONFIG"; then
49636 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49637 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49638 else
49639 echo "$as_me:$LINENO: result: no" >&5
49640 echo "${ECHO_T}no" >&6
49641 fi
49642
49643 cppunit_version_min=1.8.0
49644
49645 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49646 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49647 no_cppunit=""
49648 if test "$CPPUNIT_CONFIG" = "no" ; then
49649 echo "$as_me:$LINENO: result: no" >&5
49650 echo "${ECHO_T}no" >&6
49651 no_cppunit=yes
49652 else
49653 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49654 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49655 cppunit_version=`$CPPUNIT_CONFIG --version`
49656
49657 cppunit_major_version=`echo $cppunit_version | \
49658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49659 cppunit_minor_version=`echo $cppunit_version | \
49660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49661 cppunit_micro_version=`echo $cppunit_version | \
49662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49663
49664 cppunit_major_min=`echo $cppunit_version_min | \
49665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49666 cppunit_minor_min=`echo $cppunit_version_min | \
49667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49668 cppunit_micro_min=`echo $cppunit_version_min | \
49669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49670
49671 cppunit_version_proper=`expr \
49672 $cppunit_major_version \> $cppunit_major_min \| \
49673 $cppunit_major_version \= $cppunit_major_min \& \
49674 $cppunit_minor_version \> $cppunit_minor_min \| \
49675 $cppunit_major_version \= $cppunit_major_min \& \
49676 $cppunit_minor_version \= $cppunit_minor_min \& \
49677 $cppunit_micro_version \>= $cppunit_micro_min `
49678
49679 if test "$cppunit_version_proper" = "1" ; then
49680 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49681 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49682 else
49683 echo "$as_me:$LINENO: result: no" >&5
49684 echo "${ECHO_T}no" >&6
49685 no_cppunit=yes
49686 fi
49687 fi
49688
49689 if test "x$no_cppunit" = x ; then
49690 SUBDIRS="$SUBDIRS tests"
49691 else
49692 CPPUNIT_CFLAGS=""
49693 CPPUNIT_LIBS=""
49694 :
49695 fi
49696
49697
49698
49699
49700
49701 for subdir in `echo $SUBDIRS`; do
49702 if test -d ${srcdir}/${subdir} ; then
49703 if test "$wxUSE_GUI" = "yes"; then
49704 if test ${subdir} = "samples"; then
49705 makefiles="samples/Makefile.in $makefiles"
49706 for sample in `echo $SAMPLES_SUBDIRS`; do
49707 if test -d $srcdir/samples/$sample; then
49708 makefiles="samples/$sample/Makefile.in $makefiles"
49709 fi
49710 done
49711 else
49712 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49713 eval "disabled=\$$disabled_var"
49714 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49715 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49716 fi
49717 else if test ${subdir} = "samples"; then
49718 makefiles="samples/Makefile.in samples/console/Makefile.in"
49719 elif test ${subdir} = "utils"; then
49720 makefiles=""
49721 for util in HelpGen tex2rtf ; do
49722 if test -d $srcdir/utils/$util ; then
49723 makefiles="utils/$util/Makefile.in \
49724 utils/$util/src/Makefile.in \
49725 $makefiles"
49726 fi
49727 done
49728 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49729 fi
49730 fi
49731
49732 for mkin in $makefiles ; do
49733 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49734 ac_config_files="$ac_config_files $mk"
49735
49736 done
49737 fi
49738 done
49739 fi
49740 cat >confcache <<\_ACEOF
49741 # This file is a shell script that caches the results of configure
49742 # tests run on this system so they can be shared between configure
49743 # scripts and configure runs, see configure's option --config-cache.
49744 # It is not useful on other systems. If it contains results you don't
49745 # want to keep, you may remove or edit it.
49746 #
49747 # config.status only pays attention to the cache file if you give it
49748 # the --recheck option to rerun configure.
49749 #
49750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49752 # following values.
49753
49754 _ACEOF
49755
49756 # The following way of writing the cache mishandles newlines in values,
49757 # but we know of no workaround that is simple, portable, and efficient.
49758 # So, don't put newlines in cache variables' values.
49759 # Ultrix sh set writes to stderr and can't be redirected directly,
49760 # and sets the high bit in the cache file unless we assign to the vars.
49761 {
49762 (set) 2>&1 |
49763 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49764 *ac_space=\ *)
49765 # `set' does not quote correctly, so add quotes (double-quote
49766 # substitution turns \\\\ into \\, and sed turns \\ into \).
49767 sed -n \
49768 "s/'/'\\\\''/g;
49769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49770 ;;
49771 *)
49772 # `set' quotes correctly as required by POSIX, so do not add quotes.
49773 sed -n \
49774 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49775 ;;
49776 esac;
49777 } |
49778 sed '
49779 t clear
49780 : clear
49781 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49782 t end
49783 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49784 : end' >>confcache
49785 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49786 if test -w $cache_file; then
49787 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49788 cat confcache >$cache_file
49789 else
49790 echo "not updating unwritable cache $cache_file"
49791 fi
49792 fi
49793 rm -f confcache
49794
49795 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49796 # Let make expand exec_prefix.
49797 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49798
49799 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49800 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49801 # trailing colons and then remove the whole line if VPATH becomes empty
49802 # (actually we leave an empty line to preserve line numbers).
49803 if test "x$srcdir" = x.; then
49804 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49805 s/:*\$(srcdir):*/:/;
49806 s/:*\${srcdir}:*/:/;
49807 s/:*@srcdir@:*/:/;
49808 s/^\([^=]*=[ ]*\):*/\1/;
49809 s/:*$//;
49810 s/^[^=]*=[ ]*$//;
49811 }'
49812 fi
49813
49814 DEFS=-DHAVE_CONFIG_H
49815
49816 ac_libobjs=
49817 ac_ltlibobjs=
49818 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49819 # 1. Remove the extension, and $U if already installed.
49820 ac_i=`echo "$ac_i" |
49821 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49822 # 2. Add them.
49823 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49824 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49825 done
49826 LIBOBJS=$ac_libobjs
49827
49828 LTLIBOBJS=$ac_ltlibobjs
49829
49830
49831
49832 : ${CONFIG_STATUS=./config.status}
49833 ac_clean_files_save=$ac_clean_files
49834 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49835 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49836 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49837 cat >$CONFIG_STATUS <<_ACEOF
49838 #! $SHELL
49839 # Generated by $as_me.
49840 # Run this file to recreate the current configuration.
49841 # Compiler output produced by configure, useful for debugging
49842 # configure, is in config.log if it exists.
49843
49844 debug=false
49845 ac_cs_recheck=false
49846 ac_cs_silent=false
49847 SHELL=\${CONFIG_SHELL-$SHELL}
49848 _ACEOF
49849
49850 cat >>$CONFIG_STATUS <<\_ACEOF
49851 ## --------------------- ##
49852 ## M4sh Initialization. ##
49853 ## --------------------- ##
49854
49855 # Be Bourne compatible
49856 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49857 emulate sh
49858 NULLCMD=:
49859 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49860 # is contrary to our usage. Disable this feature.
49861 alias -g '${1+"$@"}'='"$@"'
49862 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49863 set -o posix
49864 fi
49865 DUALCASE=1; export DUALCASE # for MKS sh
49866
49867 # Support unset when possible.
49868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49869 as_unset=unset
49870 else
49871 as_unset=false
49872 fi
49873
49874
49875 # Work around bugs in pre-3.0 UWIN ksh.
49876 $as_unset ENV MAIL MAILPATH
49877 PS1='$ '
49878 PS2='> '
49879 PS4='+ '
49880
49881 # NLS nuisances.
49882 for as_var in \
49883 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49884 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49885 LC_TELEPHONE LC_TIME
49886 do
49887 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49888 eval $as_var=C; export $as_var
49889 else
49890 $as_unset $as_var
49891 fi
49892 done
49893
49894 # Required to use basename.
49895 if expr a : '\(a\)' >/dev/null 2>&1; then
49896 as_expr=expr
49897 else
49898 as_expr=false
49899 fi
49900
49901 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49902 as_basename=basename
49903 else
49904 as_basename=false
49905 fi
49906
49907
49908 # Name of the executable.
49909 as_me=`$as_basename "$0" ||
49910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49911 X"$0" : 'X\(//\)$' \| \
49912 X"$0" : 'X\(/\)$' \| \
49913 . : '\(.\)' 2>/dev/null ||
49914 echo X/"$0" |
49915 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49916 /^X\/\(\/\/\)$/{ s//\1/; q; }
49917 /^X\/\(\/\).*/{ s//\1/; q; }
49918 s/.*/./; q'`
49919
49920
49921 # PATH needs CR, and LINENO needs CR and PATH.
49922 # Avoid depending upon Character Ranges.
49923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49926 as_cr_digits='0123456789'
49927 as_cr_alnum=$as_cr_Letters$as_cr_digits
49928
49929 # The user is always right.
49930 if test "${PATH_SEPARATOR+set}" != set; then
49931 echo "#! /bin/sh" >conf$$.sh
49932 echo "exit 0" >>conf$$.sh
49933 chmod +x conf$$.sh
49934 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49935 PATH_SEPARATOR=';'
49936 else
49937 PATH_SEPARATOR=:
49938 fi
49939 rm -f conf$$.sh
49940 fi
49941
49942
49943 as_lineno_1=$LINENO
49944 as_lineno_2=$LINENO
49945 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49946 test "x$as_lineno_1" != "x$as_lineno_2" &&
49947 test "x$as_lineno_3" = "x$as_lineno_2" || {
49948 # Find who we are. Look in the path if we contain no path at all
49949 # relative or not.
49950 case $0 in
49951 *[\\/]* ) as_myself=$0 ;;
49952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49953 for as_dir in $PATH
49954 do
49955 IFS=$as_save_IFS
49956 test -z "$as_dir" && as_dir=.
49957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49958 done
49959
49960 ;;
49961 esac
49962 # We did not find ourselves, most probably we were run as `sh COMMAND'
49963 # in which case we are not to be found in the path.
49964 if test "x$as_myself" = x; then
49965 as_myself=$0
49966 fi
49967 if test ! -f "$as_myself"; then
49968 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49969 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49970 { (exit 1); exit 1; }; }
49971 fi
49972 case $CONFIG_SHELL in
49973 '')
49974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49975 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49976 do
49977 IFS=$as_save_IFS
49978 test -z "$as_dir" && as_dir=.
49979 for as_base in sh bash ksh sh5; do
49980 case $as_dir in
49981 /*)
49982 if ("$as_dir/$as_base" -c '
49983 as_lineno_1=$LINENO
49984 as_lineno_2=$LINENO
49985 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49986 test "x$as_lineno_1" != "x$as_lineno_2" &&
49987 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49988 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49989 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49990 CONFIG_SHELL=$as_dir/$as_base
49991 export CONFIG_SHELL
49992 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49993 fi;;
49994 esac
49995 done
49996 done
49997 ;;
49998 esac
49999
50000 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50001 # uniformly replaced by the line number. The first 'sed' inserts a
50002 # line-number line before each line; the second 'sed' does the real
50003 # work. The second script uses 'N' to pair each line-number line
50004 # with the numbered line, and appends trailing '-' during
50005 # substitution so that $LINENO is not a special case at line end.
50006 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50007 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50008 sed '=' <$as_myself |
50009 sed '
50010 N
50011 s,$,-,
50012 : loop
50013 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50014 t loop
50015 s,-$,,
50016 s,^['$as_cr_digits']*\n,,
50017 ' >$as_me.lineno &&
50018 chmod +x $as_me.lineno ||
50019 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50020 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50021 { (exit 1); exit 1; }; }
50022
50023 # Don't try to exec as it changes $[0], causing all sort of problems
50024 # (the dirname of $[0] is not the place where we might find the
50025 # original and so on. Autoconf is especially sensible to this).
50026 . ./$as_me.lineno
50027 # Exit status is that of the last command.
50028 exit
50029 }
50030
50031
50032 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50033 *c*,-n*) ECHO_N= ECHO_C='
50034 ' ECHO_T=' ' ;;
50035 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50036 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50037 esac
50038
50039 if expr a : '\(a\)' >/dev/null 2>&1; then
50040 as_expr=expr
50041 else
50042 as_expr=false
50043 fi
50044
50045 rm -f conf$$ conf$$.exe conf$$.file
50046 echo >conf$$.file
50047 if ln -s conf$$.file conf$$ 2>/dev/null; then
50048 # We could just check for DJGPP; but this test a) works b) is more generic
50049 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50050 if test -f conf$$.exe; then
50051 # Don't use ln at all; we don't have any links
50052 as_ln_s='cp -p'
50053 else
50054 as_ln_s='ln -s'
50055 fi
50056 elif ln conf$$.file conf$$ 2>/dev/null; then
50057 as_ln_s=ln
50058 else
50059 as_ln_s='cp -p'
50060 fi
50061 rm -f conf$$ conf$$.exe conf$$.file
50062
50063 if mkdir -p . 2>/dev/null; then
50064 as_mkdir_p=:
50065 else
50066 test -d ./-p && rmdir ./-p
50067 as_mkdir_p=false
50068 fi
50069
50070 as_executable_p="test -f"
50071
50072 # Sed expression to map a string onto a valid CPP name.
50073 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50074
50075 # Sed expression to map a string onto a valid variable name.
50076 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50077
50078
50079 # IFS
50080 # We need space, tab and new line, in precisely that order.
50081 as_nl='
50082 '
50083 IFS=" $as_nl"
50084
50085 # CDPATH.
50086 $as_unset CDPATH
50087
50088 exec 6>&1
50089
50090 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50091 # report actual input values of CONFIG_FILES etc. instead of their
50092 # values after options handling. Logging --version etc. is OK.
50093 exec 5>>config.log
50094 {
50095 echo
50096 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50097 ## Running $as_me. ##
50098 _ASBOX
50099 } >&5
50100 cat >&5 <<_CSEOF
50101
50102 This file was extended by wxWidgets $as_me 2.7.0, which was
50103 generated by GNU Autoconf 2.59. Invocation command line was
50104
50105 CONFIG_FILES = $CONFIG_FILES
50106 CONFIG_HEADERS = $CONFIG_HEADERS
50107 CONFIG_LINKS = $CONFIG_LINKS
50108 CONFIG_COMMANDS = $CONFIG_COMMANDS
50109 $ $0 $@
50110
50111 _CSEOF
50112 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50113 echo >&5
50114 _ACEOF
50115
50116 # Files that config.status was made for.
50117 if test -n "$ac_config_files"; then
50118 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50119 fi
50120
50121 if test -n "$ac_config_headers"; then
50122 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50123 fi
50124
50125 if test -n "$ac_config_links"; then
50126 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50127 fi
50128
50129 if test -n "$ac_config_commands"; then
50130 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50131 fi
50132
50133 cat >>$CONFIG_STATUS <<\_ACEOF
50134
50135 ac_cs_usage="\
50136 \`$as_me' instantiates files from templates according to the
50137 current configuration.
50138
50139 Usage: $0 [OPTIONS] [FILE]...
50140
50141 -h, --help print this help, then exit
50142 -V, --version print version number, then exit
50143 -q, --quiet do not print progress messages
50144 -d, --debug don't remove temporary files
50145 --recheck update $as_me by reconfiguring in the same conditions
50146 --file=FILE[:TEMPLATE]
50147 instantiate the configuration file FILE
50148 --header=FILE[:TEMPLATE]
50149 instantiate the configuration header FILE
50150
50151 Configuration files:
50152 $config_files
50153
50154 Configuration headers:
50155 $config_headers
50156
50157 Configuration commands:
50158 $config_commands
50159
50160 Report bugs to <bug-autoconf@gnu.org>."
50161 _ACEOF
50162
50163 cat >>$CONFIG_STATUS <<_ACEOF
50164 ac_cs_version="\\
50165 wxWidgets config.status 2.7.0
50166 configured by $0, generated by GNU Autoconf 2.59,
50167 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50168
50169 Copyright (C) 2003 Free Software Foundation, Inc.
50170 This config.status script is free software; the Free Software Foundation
50171 gives unlimited permission to copy, distribute and modify it."
50172 srcdir=$srcdir
50173 INSTALL="$INSTALL"
50174 _ACEOF
50175
50176 cat >>$CONFIG_STATUS <<\_ACEOF
50177 # If no file are specified by the user, then we need to provide default
50178 # value. By we need to know if files were specified by the user.
50179 ac_need_defaults=:
50180 while test $# != 0
50181 do
50182 case $1 in
50183 --*=*)
50184 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50185 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50186 ac_shift=:
50187 ;;
50188 -*)
50189 ac_option=$1
50190 ac_optarg=$2
50191 ac_shift=shift
50192 ;;
50193 *) # This is not an option, so the user has probably given explicit
50194 # arguments.
50195 ac_option=$1
50196 ac_need_defaults=false;;
50197 esac
50198
50199 case $ac_option in
50200 # Handling of the options.
50201 _ACEOF
50202 cat >>$CONFIG_STATUS <<\_ACEOF
50203 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50204 ac_cs_recheck=: ;;
50205 --version | --vers* | -V )
50206 echo "$ac_cs_version"; exit 0 ;;
50207 --he | --h)
50208 # Conflict between --help and --header
50209 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50210 Try \`$0 --help' for more information." >&5
50211 echo "$as_me: error: ambiguous option: $1
50212 Try \`$0 --help' for more information." >&2;}
50213 { (exit 1); exit 1; }; };;
50214 --help | --hel | -h )
50215 echo "$ac_cs_usage"; exit 0 ;;
50216 --debug | --d* | -d )
50217 debug=: ;;
50218 --file | --fil | --fi | --f )
50219 $ac_shift
50220 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50221 ac_need_defaults=false;;
50222 --header | --heade | --head | --hea )
50223 $ac_shift
50224 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50225 ac_need_defaults=false;;
50226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50227 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50228 ac_cs_silent=: ;;
50229
50230 # This is an error.
50231 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50232 Try \`$0 --help' for more information." >&5
50233 echo "$as_me: error: unrecognized option: $1
50234 Try \`$0 --help' for more information." >&2;}
50235 { (exit 1); exit 1; }; } ;;
50236
50237 *) ac_config_targets="$ac_config_targets $1" ;;
50238
50239 esac
50240 shift
50241 done
50242
50243 ac_configure_extra_args=
50244
50245 if $ac_cs_silent; then
50246 exec 6>/dev/null
50247 ac_configure_extra_args="$ac_configure_extra_args --silent"
50248 fi
50249
50250 _ACEOF
50251 cat >>$CONFIG_STATUS <<_ACEOF
50252 if \$ac_cs_recheck; then
50253 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50254 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50255 fi
50256
50257 _ACEOF
50258
50259 cat >>$CONFIG_STATUS <<_ACEOF
50260 #
50261 # INIT-COMMANDS section.
50262 #
50263
50264
50265 CPP="$CPP"
50266 infile="$srcdir/include/wx/msw/genrcdefs.h"
50267 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50268
50269
50270 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50271 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50272 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50273 LN_S="${LN_S}"
50274
50275
50276 _ACEOF
50277
50278
50279
50280 cat >>$CONFIG_STATUS <<\_ACEOF
50281 for ac_config_target in $ac_config_targets
50282 do
50283 case "$ac_config_target" in
50284 # Handling of arguments.
50285 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50286 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50287 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50288 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50289 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50290 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50291 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50292 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50293 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50294 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50295 { (exit 1); exit 1; }; };;
50296 esac
50297 done
50298
50299 # If the user did not use the arguments to specify the items to instantiate,
50300 # then the envvar interface is used. Set only those that are not.
50301 # We use the long form for the default assignment because of an extremely
50302 # bizarre bug on SunOS 4.1.3.
50303 if $ac_need_defaults; then
50304 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50305 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50306 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50307 fi
50308
50309 # Have a temporary directory for convenience. Make it in the build tree
50310 # simply because there is no reason to put it here, and in addition,
50311 # creating and moving files from /tmp can sometimes cause problems.
50312 # Create a temporary directory, and hook for its removal unless debugging.
50313 $debug ||
50314 {
50315 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50316 trap '{ (exit 1); exit 1; }' 1 2 13 15
50317 }
50318
50319 # Create a (secure) tmp directory for tmp files.
50320
50321 {
50322 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50323 test -n "$tmp" && test -d "$tmp"
50324 } ||
50325 {
50326 tmp=./confstat$$-$RANDOM
50327 (umask 077 && mkdir $tmp)
50328 } ||
50329 {
50330 echo "$me: cannot create a temporary directory in ." >&2
50331 { (exit 1); exit 1; }
50332 }
50333
50334 _ACEOF
50335
50336 cat >>$CONFIG_STATUS <<_ACEOF
50337
50338 #
50339 # CONFIG_FILES section.
50340 #
50341
50342 # No need to generate the scripts if there are no CONFIG_FILES.
50343 # This happens for instance when ./config.status config.h
50344 if test -n "\$CONFIG_FILES"; then
50345 # Protect against being on the right side of a sed subst in config.status.
50346 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50347 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50348 s,@SHELL@,$SHELL,;t t
50349 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50350 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50351 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50352 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50353 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50354 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50355 s,@exec_prefix@,$exec_prefix,;t t
50356 s,@prefix@,$prefix,;t t
50357 s,@program_transform_name@,$program_transform_name,;t t
50358 s,@bindir@,$bindir,;t t
50359 s,@sbindir@,$sbindir,;t t
50360 s,@libexecdir@,$libexecdir,;t t
50361 s,@datadir@,$datadir,;t t
50362 s,@sysconfdir@,$sysconfdir,;t t
50363 s,@sharedstatedir@,$sharedstatedir,;t t
50364 s,@localstatedir@,$localstatedir,;t t
50365 s,@libdir@,$libdir,;t t
50366 s,@includedir@,$includedir,;t t
50367 s,@oldincludedir@,$oldincludedir,;t t
50368 s,@infodir@,$infodir,;t t
50369 s,@mandir@,$mandir,;t t
50370 s,@build_alias@,$build_alias,;t t
50371 s,@host_alias@,$host_alias,;t t
50372 s,@target_alias@,$target_alias,;t t
50373 s,@DEFS@,$DEFS,;t t
50374 s,@ECHO_C@,$ECHO_C,;t t
50375 s,@ECHO_N@,$ECHO_N,;t t
50376 s,@ECHO_T@,$ECHO_T,;t t
50377 s,@LIBS@,$LIBS,;t t
50378 s,@build@,$build,;t t
50379 s,@build_cpu@,$build_cpu,;t t
50380 s,@build_vendor@,$build_vendor,;t t
50381 s,@build_os@,$build_os,;t t
50382 s,@host@,$host,;t t
50383 s,@host_cpu@,$host_cpu,;t t
50384 s,@host_vendor@,$host_vendor,;t t
50385 s,@host_os@,$host_os,;t t
50386 s,@target@,$target,;t t
50387 s,@target_cpu@,$target_cpu,;t t
50388 s,@target_vendor@,$target_vendor,;t t
50389 s,@target_os@,$target_os,;t t
50390 s,@CC@,$CC,;t t
50391 s,@CFLAGS@,$CFLAGS,;t t
50392 s,@LDFLAGS@,$LDFLAGS,;t t
50393 s,@CPPFLAGS@,$CPPFLAGS,;t t
50394 s,@ac_ct_CC@,$ac_ct_CC,;t t
50395 s,@EXEEXT@,$EXEEXT,;t t
50396 s,@OBJEXT@,$OBJEXT,;t t
50397 s,@CPP@,$CPP,;t t
50398 s,@EGREP@,$EGREP,;t t
50399 s,@CXX@,$CXX,;t t
50400 s,@CXXFLAGS@,$CXXFLAGS,;t t
50401 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50402 s,@RANLIB@,$RANLIB,;t t
50403 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50404 s,@AR@,$AR,;t t
50405 s,@ac_ct_AR@,$ac_ct_AR,;t t
50406 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50407 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50408 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50409 s,@STRIP@,$STRIP,;t t
50410 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50411 s,@WINDRES@,$WINDRES,;t t
50412 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50413 s,@DLLTOOL@,$DLLTOOL,;t t
50414 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50415 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50416 s,@LN_S@,$LN_S,;t t
50417 s,@CXXCPP@,$CXXCPP,;t t
50418 s,@subdirs@,$subdirs,;t t
50419 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50420 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50421 s,@GTK_LIBS@,$GTK_LIBS,;t t
50422 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50423 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50424 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50425 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50426 s,@X_CFLAGS@,$X_CFLAGS,;t t
50427 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50428 s,@X_LIBS@,$X_LIBS,;t t
50429 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50430 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50431 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50432 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50433 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50434 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50435 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50436 s,@REZ@,$REZ,;t t
50437 s,@DEREZ@,$DEREZ,;t t
50438 s,@SETFILE@,$SETFILE,;t t
50439 s,@LIBICONV@,$LIBICONV,;t t
50440 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50441 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50442 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50443 s,@SDL_LIBS@,$SDL_LIBS,;t t
50444 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50445 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50446 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50447 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50448 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50449 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50450 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50451 s,@GST_LIBS@,$GST_LIBS,;t t
50452 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50453 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50454 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50455 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50456 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50457 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50458 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50459 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50460 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50461 s,@VENDOR@,$VENDOR,;t t
50462 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50463 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50464 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50465 s,@WXUNIV@,$WXUNIV,;t t
50466 s,@MONOLITHIC@,$MONOLITHIC,;t t
50467 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50468 s,@EXTRALIBS@,$EXTRALIBS,;t t
50469 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50470 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50471 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50472 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50473 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50474 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50475 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50476 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50477 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50478 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50479 s,@UNICODE@,$UNICODE,;t t
50480 s,@BUILD@,$BUILD,;t t
50481 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50482 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50483 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50484 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50485 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50486 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50487 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50488 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50489 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50490 s,@SET_MAKE@,$SET_MAKE,;t t
50491 s,@MAKE_SET@,$MAKE_SET,;t t
50492 s,@NM@,$NM,;t t
50493 s,@ac_ct_NM@,$ac_ct_NM,;t t
50494 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50495 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50496 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50497 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50498 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50499 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50500 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50501 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50502 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50503 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50504 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50505 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50506 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50507 s,@LIBPREFIX@,$LIBPREFIX,;t t
50508 s,@LIBEXT@,$LIBEXT,;t t
50509 s,@DLLPREFIX@,$DLLPREFIX,;t t
50510 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50511 s,@dlldir@,$dlldir,;t t
50512 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50513 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50514 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50515 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50516 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50517 s,@PIC_FLAG@,$PIC_FLAG,;t t
50518 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50519 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50520 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50521 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50522 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50523 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50524 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50525 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50526 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50527 s,@GCC_PCH@,$GCC_PCH,;t t
50528 s,@ICC_PCH@,$ICC_PCH,;t t
50529 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50530 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50531 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50532 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50533 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50534 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50535 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50536 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50537 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50538 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50539 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50540 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50541 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50542 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50543 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50544 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50545 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50546 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50547 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50548 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50549 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
50550 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
50551 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
50552 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
50553 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50554 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50555 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50556 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50557 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50558 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50559 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
50560 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
50561 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
50562 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
50563 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50564 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50565 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50566 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50567 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50568 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50569 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50570 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50571 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50572 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50573 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50574 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50575 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50576 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50577 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50578 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50579 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50580 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50581 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50582 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50583 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50584 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50585 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50586 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50587 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50588 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50589 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50590 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50591 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50592 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50593 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50594 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50595 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50596 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50597 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50598 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50599 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50600 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50601 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50602 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50603 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50604 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50605 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50606 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50607 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50608 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50609 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50610 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50611 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50612 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50613 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50614 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50615 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50616 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50617 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50618 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50619 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50620 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50621 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50622 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50623 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
50624 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50625 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50626 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50627 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50628 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50629 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50630 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50631 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50632 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50633 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50634 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50635 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50636 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50637 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50638 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50639 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50640 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50641 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50642 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50643 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50644 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50645 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50646 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50647 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50648 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50649 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50650 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50651 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50652 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50653 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50654 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50655 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50656 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50657 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50658 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50659 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50660 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50661 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50662 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50663 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50664 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50665 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50666 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50667 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50668 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50669 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50670 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50671 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50672 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50673 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50674 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50675 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50676 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50677 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50678 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50679 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50680 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50681 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50682 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50683 s,@SHARED@,$SHARED,;t t
50684 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50685 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50686 s,@USE_GUI@,$USE_GUI,;t t
50687 s,@AFMINSTALL@,$AFMINSTALL,;t t
50688 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50689 s,@TOOLKIT@,$TOOLKIT,;t t
50690 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50691 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50692 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50693 s,@cross_compiling@,$cross_compiling,;t t
50694 s,@WIDGET_SET@,$WIDGET_SET,;t t
50695 s,@WX_RELEASE@,$WX_RELEASE,;t t
50696 s,@WX_VERSION@,$WX_VERSION,;t t
50697 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50698 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50699 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50700 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50701 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50702 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50703 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50704 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50705 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50706 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50707 s,@EXE_LINKER@,$EXE_LINKER,;t t
50708 s,@GUIDIST@,$GUIDIST,;t t
50709 s,@DISTDIR@,$DISTDIR,;t t
50710 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50711 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50712 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50713 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50714 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50715 s,@RESCOMP@,$RESCOMP,;t t
50716 s,@RESFLAGS@,$RESFLAGS,;t t
50717 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50718 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50719 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50720 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50721 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50722 s,@MACSETFILE@,$MACSETFILE,;t t
50723 s,@GCC@,$GCC,;t t
50724 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50725 s,@LIBOBJS@,$LIBOBJS,;t t
50726 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50727 CEOF
50728
50729 _ACEOF
50730
50731 cat >>$CONFIG_STATUS <<\_ACEOF
50732 # Split the substitutions into bite-sized pieces for seds with
50733 # small command number limits, like on Digital OSF/1 and HP-UX.
50734 ac_max_sed_lines=48
50735 ac_sed_frag=1 # Number of current file.
50736 ac_beg=1 # First line for current file.
50737 ac_end=$ac_max_sed_lines # Line after last line for current file.
50738 ac_more_lines=:
50739 ac_sed_cmds=
50740 while $ac_more_lines; do
50741 if test $ac_beg -gt 1; then
50742 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50743 else
50744 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50745 fi
50746 if test ! -s $tmp/subs.frag; then
50747 ac_more_lines=false
50748 else
50749 # The purpose of the label and of the branching condition is to
50750 # speed up the sed processing (if there are no `@' at all, there
50751 # is no need to browse any of the substitutions).
50752 # These are the two extra sed commands mentioned above.
50753 (echo ':t
50754 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50755 if test -z "$ac_sed_cmds"; then
50756 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50757 else
50758 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50759 fi
50760 ac_sed_frag=`expr $ac_sed_frag + 1`
50761 ac_beg=$ac_end
50762 ac_end=`expr $ac_end + $ac_max_sed_lines`
50763 fi
50764 done
50765 if test -z "$ac_sed_cmds"; then
50766 ac_sed_cmds=cat
50767 fi
50768 fi # test -n "$CONFIG_FILES"
50769
50770 _ACEOF
50771 cat >>$CONFIG_STATUS <<\_ACEOF
50772 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50774 case $ac_file in
50775 - | *:- | *:-:* ) # input from stdin
50776 cat >$tmp/stdin
50777 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50778 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50779 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50780 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50781 * ) ac_file_in=$ac_file.in ;;
50782 esac
50783
50784 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50787 X"$ac_file" : 'X\(//\)[^/]' \| \
50788 X"$ac_file" : 'X\(//\)$' \| \
50789 X"$ac_file" : 'X\(/\)' \| \
50790 . : '\(.\)' 2>/dev/null ||
50791 echo X"$ac_file" |
50792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50794 /^X\(\/\/\)$/{ s//\1/; q; }
50795 /^X\(\/\).*/{ s//\1/; q; }
50796 s/.*/./; q'`
50797 { if $as_mkdir_p; then
50798 mkdir -p "$ac_dir"
50799 else
50800 as_dir="$ac_dir"
50801 as_dirs=
50802 while test ! -d "$as_dir"; do
50803 as_dirs="$as_dir $as_dirs"
50804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50806 X"$as_dir" : 'X\(//\)[^/]' \| \
50807 X"$as_dir" : 'X\(//\)$' \| \
50808 X"$as_dir" : 'X\(/\)' \| \
50809 . : '\(.\)' 2>/dev/null ||
50810 echo X"$as_dir" |
50811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50813 /^X\(\/\/\)$/{ s//\1/; q; }
50814 /^X\(\/\).*/{ s//\1/; q; }
50815 s/.*/./; q'`
50816 done
50817 test ! -n "$as_dirs" || mkdir $as_dirs
50818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50820 { (exit 1); exit 1; }; }; }
50821
50822 ac_builddir=.
50823
50824 if test "$ac_dir" != .; then
50825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50826 # A "../" for each directory in $ac_dir_suffix.
50827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50828 else
50829 ac_dir_suffix= ac_top_builddir=
50830 fi
50831
50832 case $srcdir in
50833 .) # No --srcdir option. We are building in place.
50834 ac_srcdir=.
50835 if test -z "$ac_top_builddir"; then
50836 ac_top_srcdir=.
50837 else
50838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50839 fi ;;
50840 [\\/]* | ?:[\\/]* ) # Absolute path.
50841 ac_srcdir=$srcdir$ac_dir_suffix;
50842 ac_top_srcdir=$srcdir ;;
50843 *) # Relative path.
50844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50846 esac
50847
50848 # Do not use `cd foo && pwd` to compute absolute paths, because
50849 # the directories may not exist.
50850 case `pwd` in
50851 .) ac_abs_builddir="$ac_dir";;
50852 *)
50853 case "$ac_dir" in
50854 .) ac_abs_builddir=`pwd`;;
50855 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50856 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50857 esac;;
50858 esac
50859 case $ac_abs_builddir in
50860 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50861 *)
50862 case ${ac_top_builddir}. in
50863 .) ac_abs_top_builddir=$ac_abs_builddir;;
50864 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50865 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50866 esac;;
50867 esac
50868 case $ac_abs_builddir in
50869 .) ac_abs_srcdir=$ac_srcdir;;
50870 *)
50871 case $ac_srcdir in
50872 .) ac_abs_srcdir=$ac_abs_builddir;;
50873 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50874 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50875 esac;;
50876 esac
50877 case $ac_abs_builddir in
50878 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50879 *)
50880 case $ac_top_srcdir in
50881 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50882 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50883 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50884 esac;;
50885 esac
50886
50887
50888 case $INSTALL in
50889 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50890 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50891 esac
50892
50893 # Let's still pretend it is `configure' which instantiates (i.e., don't
50894 # use $as_me), people would be surprised to read:
50895 # /* config.h. Generated by config.status. */
50896 if test x"$ac_file" = x-; then
50897 configure_input=
50898 else
50899 configure_input="$ac_file. "
50900 fi
50901 configure_input=$configure_input"Generated from `echo $ac_file_in |
50902 sed 's,.*/,,'` by configure."
50903
50904 # First look for the input files in the build tree, otherwise in the
50905 # src tree.
50906 ac_file_inputs=`IFS=:
50907 for f in $ac_file_in; do
50908 case $f in
50909 -) echo $tmp/stdin ;;
50910 [\\/$]*)
50911 # Absolute (can't be DOS-style, as IFS=:)
50912 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50913 echo "$as_me: error: cannot find input file: $f" >&2;}
50914 { (exit 1); exit 1; }; }
50915 echo "$f";;
50916 *) # Relative
50917 if test -f "$f"; then
50918 # Build tree
50919 echo "$f"
50920 elif test -f "$srcdir/$f"; then
50921 # Source tree
50922 echo "$srcdir/$f"
50923 else
50924 # /dev/null tree
50925 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50926 echo "$as_me: error: cannot find input file: $f" >&2;}
50927 { (exit 1); exit 1; }; }
50928 fi;;
50929 esac
50930 done` || { (exit 1); exit 1; }
50931
50932 if test x"$ac_file" != x-; then
50933 { echo "$as_me:$LINENO: creating $ac_file" >&5
50934 echo "$as_me: creating $ac_file" >&6;}
50935 rm -f "$ac_file"
50936 fi
50937 _ACEOF
50938 cat >>$CONFIG_STATUS <<_ACEOF
50939 sed "$ac_vpsub
50940 $extrasub
50941 _ACEOF
50942 cat >>$CONFIG_STATUS <<\_ACEOF
50943 :t
50944 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50945 s,@configure_input@,$configure_input,;t t
50946 s,@srcdir@,$ac_srcdir,;t t
50947 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50948 s,@top_srcdir@,$ac_top_srcdir,;t t
50949 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50950 s,@builddir@,$ac_builddir,;t t
50951 s,@abs_builddir@,$ac_abs_builddir,;t t
50952 s,@top_builddir@,$ac_top_builddir,;t t
50953 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50954 s,@INSTALL@,$ac_INSTALL,;t t
50955 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50956 rm -f $tmp/stdin
50957 if test x"$ac_file" != x-; then
50958 mv $tmp/out $ac_file
50959 else
50960 cat $tmp/out
50961 rm -f $tmp/out
50962 fi
50963
50964 # Run the commands associated with the file.
50965 case $ac_file in
50966 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50967 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50968 esac
50969 done
50970 _ACEOF
50971 cat >>$CONFIG_STATUS <<\_ACEOF
50972
50973 #
50974 # CONFIG_HEADER section.
50975 #
50976
50977 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50978 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50979 #
50980 # ac_d sets the value in "#define NAME VALUE" lines.
50981 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50982 ac_dB='[ ].*$,\1#\2'
50983 ac_dC=' '
50984 ac_dD=',;t'
50985 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50986 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50987 ac_uB='$,\1#\2define\3'
50988 ac_uC=' '
50989 ac_uD=',;t'
50990
50991 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50992 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50993 case $ac_file in
50994 - | *:- | *:-:* ) # input from stdin
50995 cat >$tmp/stdin
50996 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50997 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50998 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50999 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51000 * ) ac_file_in=$ac_file.in ;;
51001 esac
51002
51003 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51004 echo "$as_me: creating $ac_file" >&6;}
51005
51006 # First look for the input files in the build tree, otherwise in the
51007 # src tree.
51008 ac_file_inputs=`IFS=:
51009 for f in $ac_file_in; do
51010 case $f in
51011 -) echo $tmp/stdin ;;
51012 [\\/$]*)
51013 # Absolute (can't be DOS-style, as IFS=:)
51014 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51015 echo "$as_me: error: cannot find input file: $f" >&2;}
51016 { (exit 1); exit 1; }; }
51017 # Do quote $f, to prevent DOS paths from being IFS'd.
51018 echo "$f";;
51019 *) # Relative
51020 if test -f "$f"; then
51021 # Build tree
51022 echo "$f"
51023 elif test -f "$srcdir/$f"; then
51024 # Source tree
51025 echo "$srcdir/$f"
51026 else
51027 # /dev/null tree
51028 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51029 echo "$as_me: error: cannot find input file: $f" >&2;}
51030 { (exit 1); exit 1; }; }
51031 fi;;
51032 esac
51033 done` || { (exit 1); exit 1; }
51034 # Remove the trailing spaces.
51035 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51036
51037 _ACEOF
51038
51039 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51040 # `conftest.undefs', that substitutes the proper values into
51041 # config.h.in to produce config.h. The first handles `#define'
51042 # templates, and the second `#undef' templates.
51043 # And first: Protect against being on the right side of a sed subst in
51044 # config.status. Protect against being in an unquoted here document
51045 # in config.status.
51046 rm -f conftest.defines conftest.undefs
51047 # Using a here document instead of a string reduces the quoting nightmare.
51048 # Putting comments in sed scripts is not portable.
51049 #
51050 # `end' is used to avoid that the second main sed command (meant for
51051 # 0-ary CPP macros) applies to n-ary macro definitions.
51052 # See the Autoconf documentation for `clear'.
51053 cat >confdef2sed.sed <<\_ACEOF
51054 s/[\\&,]/\\&/g
51055 s,[\\$`],\\&,g
51056 t clear
51057 : clear
51058 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51059 t end
51060 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51061 : end
51062 _ACEOF
51063 # If some macros were called several times there might be several times
51064 # the same #defines, which is useless. Nevertheless, we may not want to
51065 # sort them, since we want the *last* AC-DEFINE to be honored.
51066 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51067 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51068 rm -f confdef2sed.sed
51069
51070 # This sed command replaces #undef with comments. This is necessary, for
51071 # example, in the case of _POSIX_SOURCE, which is predefined and required
51072 # on some systems where configure will not decide to define it.
51073 cat >>conftest.undefs <<\_ACEOF
51074 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51075 _ACEOF
51076
51077 # Break up conftest.defines because some shells have a limit on the size
51078 # of here documents, and old seds have small limits too (100 cmds).
51079 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51080 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51081 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51082 echo ' :' >>$CONFIG_STATUS
51083 rm -f conftest.tail
51084 while grep . conftest.defines >/dev/null
51085 do
51086 # Write a limited-size here document to $tmp/defines.sed.
51087 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51088 # Speed up: don't consider the non `#define' lines.
51089 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51090 # Work around the forget-to-reset-the-flag bug.
51091 echo 't clr' >>$CONFIG_STATUS
51092 echo ': clr' >>$CONFIG_STATUS
51093 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51094 echo 'CEOF
51095 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51096 rm -f $tmp/in
51097 mv $tmp/out $tmp/in
51098 ' >>$CONFIG_STATUS
51099 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51100 rm -f conftest.defines
51101 mv conftest.tail conftest.defines
51102 done
51103 rm -f conftest.defines
51104 echo ' fi # grep' >>$CONFIG_STATUS
51105 echo >>$CONFIG_STATUS
51106
51107 # Break up conftest.undefs because some shells have a limit on the size
51108 # of here documents, and old seds have small limits too (100 cmds).
51109 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51110 rm -f conftest.tail
51111 while grep . conftest.undefs >/dev/null
51112 do
51113 # Write a limited-size here document to $tmp/undefs.sed.
51114 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51115 # Speed up: don't consider the non `#undef'
51116 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51117 # Work around the forget-to-reset-the-flag bug.
51118 echo 't clr' >>$CONFIG_STATUS
51119 echo ': clr' >>$CONFIG_STATUS
51120 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51121 echo 'CEOF
51122 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51123 rm -f $tmp/in
51124 mv $tmp/out $tmp/in
51125 ' >>$CONFIG_STATUS
51126 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51127 rm -f conftest.undefs
51128 mv conftest.tail conftest.undefs
51129 done
51130 rm -f conftest.undefs
51131
51132 cat >>$CONFIG_STATUS <<\_ACEOF
51133 # Let's still pretend it is `configure' which instantiates (i.e., don't
51134 # use $as_me), people would be surprised to read:
51135 # /* config.h. Generated by config.status. */
51136 if test x"$ac_file" = x-; then
51137 echo "/* Generated by configure. */" >$tmp/config.h
51138 else
51139 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51140 fi
51141 cat $tmp/in >>$tmp/config.h
51142 rm -f $tmp/in
51143 if test x"$ac_file" != x-; then
51144 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51145 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51146 echo "$as_me: $ac_file is unchanged" >&6;}
51147 else
51148 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51149 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51150 X"$ac_file" : 'X\(//\)[^/]' \| \
51151 X"$ac_file" : 'X\(//\)$' \| \
51152 X"$ac_file" : 'X\(/\)' \| \
51153 . : '\(.\)' 2>/dev/null ||
51154 echo X"$ac_file" |
51155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51157 /^X\(\/\/\)$/{ s//\1/; q; }
51158 /^X\(\/\).*/{ s//\1/; q; }
51159 s/.*/./; q'`
51160 { if $as_mkdir_p; then
51161 mkdir -p "$ac_dir"
51162 else
51163 as_dir="$ac_dir"
51164 as_dirs=
51165 while test ! -d "$as_dir"; do
51166 as_dirs="$as_dir $as_dirs"
51167 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51169 X"$as_dir" : 'X\(//\)[^/]' \| \
51170 X"$as_dir" : 'X\(//\)$' \| \
51171 X"$as_dir" : 'X\(/\)' \| \
51172 . : '\(.\)' 2>/dev/null ||
51173 echo X"$as_dir" |
51174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51176 /^X\(\/\/\)$/{ s//\1/; q; }
51177 /^X\(\/\).*/{ s//\1/; q; }
51178 s/.*/./; q'`
51179 done
51180 test ! -n "$as_dirs" || mkdir $as_dirs
51181 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51183 { (exit 1); exit 1; }; }; }
51184
51185 rm -f $ac_file
51186 mv $tmp/config.h $ac_file
51187 fi
51188 else
51189 cat $tmp/config.h
51190 rm -f $tmp/config.h
51191 fi
51192 done
51193 _ACEOF
51194 cat >>$CONFIG_STATUS <<\_ACEOF
51195
51196 #
51197 # CONFIG_COMMANDS section.
51198 #
51199 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51200 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51201 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51202 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51203 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51204 X"$ac_dest" : 'X\(//\)[^/]' \| \
51205 X"$ac_dest" : 'X\(//\)$' \| \
51206 X"$ac_dest" : 'X\(/\)' \| \
51207 . : '\(.\)' 2>/dev/null ||
51208 echo X"$ac_dest" |
51209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51211 /^X\(\/\/\)$/{ s//\1/; q; }
51212 /^X\(\/\).*/{ s//\1/; q; }
51213 s/.*/./; q'`
51214 { if $as_mkdir_p; then
51215 mkdir -p "$ac_dir"
51216 else
51217 as_dir="$ac_dir"
51218 as_dirs=
51219 while test ! -d "$as_dir"; do
51220 as_dirs="$as_dir $as_dirs"
51221 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51222 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51223 X"$as_dir" : 'X\(//\)[^/]' \| \
51224 X"$as_dir" : 'X\(//\)$' \| \
51225 X"$as_dir" : 'X\(/\)' \| \
51226 . : '\(.\)' 2>/dev/null ||
51227 echo X"$as_dir" |
51228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51230 /^X\(\/\/\)$/{ s//\1/; q; }
51231 /^X\(\/\).*/{ s//\1/; q; }
51232 s/.*/./; q'`
51233 done
51234 test ! -n "$as_dirs" || mkdir $as_dirs
51235 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51236 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51237 { (exit 1); exit 1; }; }; }
51238
51239 ac_builddir=.
51240
51241 if test "$ac_dir" != .; then
51242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51243 # A "../" for each directory in $ac_dir_suffix.
51244 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51245 else
51246 ac_dir_suffix= ac_top_builddir=
51247 fi
51248
51249 case $srcdir in
51250 .) # No --srcdir option. We are building in place.
51251 ac_srcdir=.
51252 if test -z "$ac_top_builddir"; then
51253 ac_top_srcdir=.
51254 else
51255 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51256 fi ;;
51257 [\\/]* | ?:[\\/]* ) # Absolute path.
51258 ac_srcdir=$srcdir$ac_dir_suffix;
51259 ac_top_srcdir=$srcdir ;;
51260 *) # Relative path.
51261 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51262 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51263 esac
51264
51265 # Do not use `cd foo && pwd` to compute absolute paths, because
51266 # the directories may not exist.
51267 case `pwd` in
51268 .) ac_abs_builddir="$ac_dir";;
51269 *)
51270 case "$ac_dir" in
51271 .) ac_abs_builddir=`pwd`;;
51272 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51273 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51274 esac;;
51275 esac
51276 case $ac_abs_builddir in
51277 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51278 *)
51279 case ${ac_top_builddir}. in
51280 .) ac_abs_top_builddir=$ac_abs_builddir;;
51281 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51282 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51283 esac;;
51284 esac
51285 case $ac_abs_builddir in
51286 .) ac_abs_srcdir=$ac_srcdir;;
51287 *)
51288 case $ac_srcdir in
51289 .) ac_abs_srcdir=$ac_abs_builddir;;
51290 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51291 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51292 esac;;
51293 esac
51294 case $ac_abs_builddir in
51295 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51296 *)
51297 case $ac_top_srcdir in
51298 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51299 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51300 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51301 esac;;
51302 esac
51303
51304
51305 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51306 echo "$as_me: executing $ac_dest commands" >&6;}
51307 case $ac_dest in
51308 rcdefs.h )
51309 mkdir -p $outdir &&
51310 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51311 ;;
51312 wx-config ) rm -f wx-config
51313 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51314 ;;
51315 esac
51316 done
51317 _ACEOF
51318
51319 cat >>$CONFIG_STATUS <<\_ACEOF
51320
51321 { (exit 0); exit 0; }
51322 _ACEOF
51323 chmod +x $CONFIG_STATUS
51324 ac_clean_files=$ac_clean_files_save
51325
51326
51327 # configure is writing to config.log, and then calls config.status.
51328 # config.status does its own redirection, appending to config.log.
51329 # Unfortunately, on DOS this fails, as config.log is still kept open
51330 # by configure, so config.status won't be able to write to it; its
51331 # output is simply discarded. So we exec the FD to /dev/null,
51332 # effectively closing config.log, so it can be properly (re)opened and
51333 # appended to by config.status. When coming back to configure, we
51334 # need to make the FD available again.
51335 if test "$no_create" != yes; then
51336 ac_cs_success=:
51337 ac_config_status_args=
51338 test "$silent" = yes &&
51339 ac_config_status_args="$ac_config_status_args --quiet"
51340 exec 5>/dev/null
51341 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51342 exec 5>>config.log
51343 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51344 # would make configure fail if this is the last instruction.
51345 $ac_cs_success || { (exit 1); exit 1; }
51346 fi
51347
51348 #
51349 # CONFIG_SUBDIRS section.
51350 #
51351 if test "$no_recursion" != yes; then
51352
51353 # Remove --cache-file and --srcdir arguments so they do not pile up.
51354 ac_sub_configure_args=
51355 ac_prev=
51356 for ac_arg in $ac_configure_args; do
51357 if test -n "$ac_prev"; then
51358 ac_prev=
51359 continue
51360 fi
51361 case $ac_arg in
51362 -cache-file | --cache-file | --cache-fil | --cache-fi \
51363 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51364 ac_prev=cache_file ;;
51365 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51366 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51367 | --c=*)
51368 ;;
51369 --config-cache | -C)
51370 ;;
51371 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51372 ac_prev=srcdir ;;
51373 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51374 ;;
51375 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51376 ac_prev=prefix ;;
51377 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51378 ;;
51379 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51380 esac
51381 done
51382
51383 # Always prepend --prefix to ensure using the same prefix
51384 # in subdir configurations.
51385 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51386
51387 ac_popdir=`pwd`
51388 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51389
51390 # Do not complain, so a configure script can configure whichever
51391 # parts of a large source tree are present.
51392 test -d $srcdir/$ac_dir || continue
51393
51394 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51395 echo "$as_me: configuring in $ac_dir" >&6;}
51396 { if $as_mkdir_p; then
51397 mkdir -p "$ac_dir"
51398 else
51399 as_dir="$ac_dir"
51400 as_dirs=
51401 while test ! -d "$as_dir"; do
51402 as_dirs="$as_dir $as_dirs"
51403 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51405 X"$as_dir" : 'X\(//\)[^/]' \| \
51406 X"$as_dir" : 'X\(//\)$' \| \
51407 X"$as_dir" : 'X\(/\)' \| \
51408 . : '\(.\)' 2>/dev/null ||
51409 echo X"$as_dir" |
51410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51412 /^X\(\/\/\)$/{ s//\1/; q; }
51413 /^X\(\/\).*/{ s//\1/; q; }
51414 s/.*/./; q'`
51415 done
51416 test ! -n "$as_dirs" || mkdir $as_dirs
51417 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51418 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51419 { (exit 1); exit 1; }; }; }
51420
51421 ac_builddir=.
51422
51423 if test "$ac_dir" != .; then
51424 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51425 # A "../" for each directory in $ac_dir_suffix.
51426 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51427 else
51428 ac_dir_suffix= ac_top_builddir=
51429 fi
51430
51431 case $srcdir in
51432 .) # No --srcdir option. We are building in place.
51433 ac_srcdir=.
51434 if test -z "$ac_top_builddir"; then
51435 ac_top_srcdir=.
51436 else
51437 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51438 fi ;;
51439 [\\/]* | ?:[\\/]* ) # Absolute path.
51440 ac_srcdir=$srcdir$ac_dir_suffix;
51441 ac_top_srcdir=$srcdir ;;
51442 *) # Relative path.
51443 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51444 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51445 esac
51446
51447 # Do not use `cd foo && pwd` to compute absolute paths, because
51448 # the directories may not exist.
51449 case `pwd` in
51450 .) ac_abs_builddir="$ac_dir";;
51451 *)
51452 case "$ac_dir" in
51453 .) ac_abs_builddir=`pwd`;;
51454 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51455 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51456 esac;;
51457 esac
51458 case $ac_abs_builddir in
51459 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51460 *)
51461 case ${ac_top_builddir}. in
51462 .) ac_abs_top_builddir=$ac_abs_builddir;;
51463 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51464 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51465 esac;;
51466 esac
51467 case $ac_abs_builddir in
51468 .) ac_abs_srcdir=$ac_srcdir;;
51469 *)
51470 case $ac_srcdir in
51471 .) ac_abs_srcdir=$ac_abs_builddir;;
51472 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51473 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51474 esac;;
51475 esac
51476 case $ac_abs_builddir in
51477 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51478 *)
51479 case $ac_top_srcdir in
51480 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51481 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51482 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51483 esac;;
51484 esac
51485
51486
51487 cd $ac_dir
51488
51489 # Check for guested configure; otherwise get Cygnus style configure.
51490 if test -f $ac_srcdir/configure.gnu; then
51491 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51492 elif test -f $ac_srcdir/configure; then
51493 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51494 elif test -f $ac_srcdir/configure.in; then
51495 ac_sub_configure=$ac_configure
51496 else
51497 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51498 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51499 ac_sub_configure=
51500 fi
51501
51502 # The recursion is here.
51503 if test -n "$ac_sub_configure"; then
51504 # Make the cache file name correct relative to the subdirectory.
51505 case $cache_file in
51506 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51507 *) # Relative path.
51508 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51509 esac
51510
51511 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51512 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51513 # The eval makes quoting arguments work.
51514 eval $ac_sub_configure $ac_sub_configure_args \
51515 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51516 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51517 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51518 { (exit 1); exit 1; }; }
51519 fi
51520
51521 cd "$ac_popdir"
51522 done
51523 fi
51524
51525
51526 echo
51527 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51528 echo ""
51529 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51530 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51531
51532 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51533 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51534 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51535
51536 echo " What level of wxWidgets compatibility should be enabled?"
51537 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51538 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51539
51540 echo " Which libraries should wxWidgets use?"
51541 echo " jpeg ${wxUSE_LIBJPEG-none}"
51542 echo " png ${wxUSE_LIBPNG-none}"
51543 echo " regex ${wxUSE_REGEX}"
51544 echo " tiff ${wxUSE_LIBTIFF-none}"
51545 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51546 echo " xpm ${wxUSE_LIBXPM-none}"
51547 fi
51548 echo " zlib ${wxUSE_ZLIB}"
51549 echo " odbc ${wxUSE_ODBC}"
51550 echo " expat ${wxUSE_EXPAT}"
51551 echo " libmspack ${wxUSE_LIBMSPACK}"
51552 echo " sdl ${wxUSE_LIBSDL}"
51553
51554 echo ""
51555