]> git.saurik.com Git - wxWidgets.git/blob - configure
added brief installation instructions for wxDFB port
[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.8.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.8.0'
274 PACKAGE_STRING='wxWidgets 2.8.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 wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.8.0:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --disable-vararg_macros don't use vararg macros, even if they are supported
969 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
970 --enable-compat24 enable wxWidgets 2.4 compatibility
971 --disable-compat26 disable wxWidgets 2.6 compatibility
972 --disable-rpath disable use of rpath for uninstalled builds
973 --enable-intl use internationalization system
974 --enable-config use wxConfig (and derived) classes
975 --enable-protocols use wxProtocol and derived classes
976 --enable-ftp use wxFTP (requires wxProtocol
977 --enable-http use wxHTTP (requires wxProtocol
978 --enable-fileproto use wxFileProto class (requires wxProtocol
979 --enable-sockets use socket/network classes
980 --enable-ole use OLE classes (Win32 only)
981 --enable-dataobj use data object classes
982 --enable-ipc use interprocess communication (wxSocket etc.)
983 --enable-apple_ieee use the Apple IEEE codec
984 --enable-arcstream use wxArchive streams
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip now replaced by fs_archive
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-filepicker use wxFilePickerCtrl class
1074 --enable-fontpicker use wxFontPickerCtrl class
1075 --enable-gauge use wxGauge class
1076 --enable-grid use wxGrid class
1077 --enable-dataviewctrl use wxDataViewCtrl class
1078 --enable-hyperlink use wxHyperlinkCtrl class
1079 --enable-imaglist use wxImageList class
1080 --enable-listbook use wxListbook class
1081 --enable-listbox use wxListBox class
1082 --enable-listctrl use wxListCtrl class
1083 --enable-notebook use wxNotebook class
1084 --enable-odcombobox use wxOwnerDrawnComboBox class
1085 --enable-radiobox use wxRadioBox class
1086 --enable-radiobtn use wxRadioButton class
1087 --enable-sash use wxSashWindow class
1088 --enable-scrollbar use wxScrollBar class and scrollable windows
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even if the compiler
1153 can
1154 --disable-precomp-headers
1155 don't use precompiled headers even if compiler can
1156
1157 Optional Packages:
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles for samples/demos/...
1161 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1162 --with-motif use Motif/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS-Windows
1167 --with-pm use OS/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1171 --with-x11 use X11
1172 --with-libpng use libpng (PNG image format)
1173 --with-libjpeg use libjpeg (JPEG file format)
1174 --with-libtiff use libtiff (TIFF file format)
1175 --with-libxpm use libxpm (XPM file format)
1176 --with-libmspack use libmspack (CHM help files loading)
1177 --with-sdl use SDL for audio on Unix
1178 --with-gnomeprint use GNOME print for printing under GNOME
1179 --with-gnomevfs use GNOME VFS for associating MIME types
1180 --with-hildon use Hildon framework for Nokia 770
1181 --with-opengl use OpenGL (or Mesa)
1182 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1184 --with-regex enable support for wxRegEx class
1185 --with-zlib use zlib for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197
1198 Some influential environment variables:
1199 CC C compiler command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1202 nonstandard directory <lib dir>
1203 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1204 headers in a nonstandard directory <include dir>
1205 CPP C preprocessor
1206 CXX C++ compiler command
1207 CXXFLAGS C++ compiler flags
1208 CXXCPP C++ preprocessor
1209 PKG_CONFIG path to pkg-config utility
1210 DIRECTFB_CFLAGS
1211 C compiler flags for DIRECTFB, overriding pkg-config
1212 DIRECTFB_LIBS
1213 linker flags for DIRECTFB, overriding pkg-config
1214 PANGOX_CFLAGS
1215 C compiler flags for PANGOX, overriding pkg-config
1216 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1217 PANGOFT2_CFLAGS
1218 C compiler flags for PANGOFT2, overriding pkg-config
1219 PANGOFT2_LIBS
1220 linker flags for PANGOFT2, overriding pkg-config
1221 PANGOXFT_CFLAGS
1222 C compiler flags for PANGOXFT, overriding pkg-config
1223 PANGOXFT_LIBS
1224 linker flags for PANGOXFT, overriding pkg-config
1225 LIBGNOMEPRINTUI_CFLAGS
1226 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 LIBGNOMEPRINTUI_LIBS
1228 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 GNOMEVFS_CFLAGS
1230 C compiler flags for GNOMEVFS, overriding pkg-config
1231 GNOMEVFS_LIBS
1232 linker flags for GNOMEVFS, overriding pkg-config
1233 HILDON_CFLAGS
1234 C compiler flags for HILDON, overriding pkg-config
1235 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1236 CAIRO_CFLAGS
1237 C compiler flags for CAIRO, overriding pkg-config
1238 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1239 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1240 GST_LIBS linker flags for GST, overriding pkg-config
1241
1242 Use these variables to override the choices made by `configure' or to help
1243 it to find libraries and programs with nonstandard names/locations.
1244
1245 Report bugs to <wx-dev@lists.wxwidgets.org>.
1246 _ACEOF
1247 fi
1248
1249 if test "$ac_init_help" = "recursive"; then
1250 # If there are subdirs, report their specific --help.
1251 ac_popdir=`pwd`
1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253 test -d $ac_dir || continue
1254 ac_builddir=.
1255
1256 if test "$ac_dir" != .; then
1257 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1258 # A "../" for each directory in $ac_dir_suffix.
1259 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 else
1261 ac_dir_suffix= ac_top_builddir=
1262 fi
1263
1264 case $srcdir in
1265 .) # No --srcdir option. We are building in place.
1266 ac_srcdir=.
1267 if test -z "$ac_top_builddir"; then
1268 ac_top_srcdir=.
1269 else
1270 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1271 fi ;;
1272 [\\/]* | ?:[\\/]* ) # Absolute path.
1273 ac_srcdir=$srcdir$ac_dir_suffix;
1274 ac_top_srcdir=$srcdir ;;
1275 *) # Relative path.
1276 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1277 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1278 esac
1279
1280 # Do not use `cd foo && pwd` to compute absolute paths, because
1281 # the directories may not exist.
1282 case `pwd` in
1283 .) ac_abs_builddir="$ac_dir";;
1284 *)
1285 case "$ac_dir" in
1286 .) ac_abs_builddir=`pwd`;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1288 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1289 esac;;
1290 esac
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1293 *)
1294 case ${ac_top_builddir}. in
1295 .) ac_abs_top_builddir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1297 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1298 esac;;
1299 esac
1300 case $ac_abs_builddir in
1301 .) ac_abs_srcdir=$ac_srcdir;;
1302 *)
1303 case $ac_srcdir in
1304 .) ac_abs_srcdir=$ac_abs_builddir;;
1305 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1306 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1307 esac;;
1308 esac
1309 case $ac_abs_builddir in
1310 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1311 *)
1312 case $ac_top_srcdir in
1313 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1314 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1315 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1316 esac;;
1317 esac
1318
1319 cd $ac_dir
1320 # Check for guested configure; otherwise get Cygnus style configure.
1321 if test -f $ac_srcdir/configure.gnu; then
1322 echo
1323 $SHELL $ac_srcdir/configure.gnu --help=recursive
1324 elif test -f $ac_srcdir/configure; then
1325 echo
1326 $SHELL $ac_srcdir/configure --help=recursive
1327 elif test -f $ac_srcdir/configure.ac ||
1328 test -f $ac_srcdir/configure.in; then
1329 echo
1330 $ac_configure --help
1331 else
1332 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 fi
1334 cd "$ac_popdir"
1335 done
1336 fi
1337
1338 test -n "$ac_init_help" && exit 0
1339 if $ac_init_version; then
1340 cat <<\_ACEOF
1341 wxWidgets configure 2.8.0
1342 generated by GNU Autoconf 2.59
1343
1344 Copyright (C) 2003 Free Software Foundation, Inc.
1345 This configure script is free software; the Free Software Foundation
1346 gives unlimited permission to copy, distribute and modify it.
1347 _ACEOF
1348 exit 0
1349 fi
1350 exec 5>config.log
1351 cat >&5 <<_ACEOF
1352 This file contains any messages produced by compilers while
1353 running configure, to aid debugging if configure makes a mistake.
1354
1355 It was created by wxWidgets $as_me 2.8.0, which was
1356 generated by GNU Autoconf 2.59. Invocation command line was
1357
1358 $ $0 $@
1359
1360 _ACEOF
1361 {
1362 cat <<_ASUNAME
1363 ## --------- ##
1364 ## Platform. ##
1365 ## --------- ##
1366
1367 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1368 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1369 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1370 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1371 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372
1373 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1374 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375
1376 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1377 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1378 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1379 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1380 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1381 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1382 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1383
1384 _ASUNAME
1385
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1387 for as_dir in $PATH
1388 do
1389 IFS=$as_save_IFS
1390 test -z "$as_dir" && as_dir=.
1391 echo "PATH: $as_dir"
1392 done
1393
1394 } >&5
1395
1396 cat >&5 <<_ACEOF
1397
1398
1399 ## ----------- ##
1400 ## Core tests. ##
1401 ## ----------- ##
1402
1403 _ACEOF
1404
1405
1406 # Keep a trace of the command line.
1407 # Strip out --no-create and --no-recursion so they do not pile up.
1408 # Strip out --silent because we don't want to record it for future runs.
1409 # Also quote any args containing shell meta-characters.
1410 # Make two passes to allow for proper duplicate-argument suppression.
1411 ac_configure_args=
1412 ac_configure_args0=
1413 ac_configure_args1=
1414 ac_sep=
1415 ac_must_keep_next=false
1416 for ac_pass in 1 2
1417 do
1418 for ac_arg
1419 do
1420 case $ac_arg in
1421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1423 | -silent | --silent | --silen | --sile | --sil)
1424 continue ;;
1425 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 esac
1428 case $ac_pass in
1429 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1430 2)
1431 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1432 if test $ac_must_keep_next = true; then
1433 ac_must_keep_next=false # Got value, back to normal.
1434 else
1435 case $ac_arg in
1436 *=* | --config-cache | -C | -disable-* | --disable-* \
1437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1439 | -with-* | --with-* | -without-* | --without-* | --x)
1440 case "$ac_configure_args0 " in
1441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 esac
1443 ;;
1444 -* ) ac_must_keep_next=true ;;
1445 esac
1446 fi
1447 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1448 # Get rid of the leading space.
1449 ac_sep=" "
1450 ;;
1451 esac
1452 done
1453 done
1454 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1455 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1456
1457 # When interrupted or exit'd, cleanup temporary files, and complete
1458 # config.log. We remove comments because anyway the quotes in there
1459 # would cause problems or look ugly.
1460 # WARNING: Be sure not to use single quotes in there, as some shells,
1461 # such as our DU 5.0 friend, will then `close' the trap.
1462 trap 'exit_status=$?
1463 # Save into config.log some information that might help in debugging.
1464 {
1465 echo
1466
1467 cat <<\_ASBOX
1468 ## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##
1471 _ASBOX
1472 echo
1473 # The following way of writing the cache mishandles newlines in values,
1474 {
1475 (set) 2>&1 |
1476 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1477 *ac_space=\ *)
1478 sed -n \
1479 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1481 ;;
1482 *)
1483 sed -n \
1484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1485 ;;
1486 esac;
1487 }
1488 echo
1489
1490 cat <<\_ASBOX
1491 ## ----------------- ##
1492 ## Output variables. ##
1493 ## ----------------- ##
1494 _ASBOX
1495 echo
1496 for ac_var in $ac_subst_vars
1497 do
1498 eval ac_val=$`echo $ac_var`
1499 echo "$ac_var='"'"'$ac_val'"'"'"
1500 done | sort
1501 echo
1502
1503 if test -n "$ac_subst_files"; then
1504 cat <<\_ASBOX
1505 ## ------------- ##
1506 ## Output files. ##
1507 ## ------------- ##
1508 _ASBOX
1509 echo
1510 for ac_var in $ac_subst_files
1511 do
1512 eval ac_val=$`echo $ac_var`
1513 echo "$ac_var='"'"'$ac_val'"'"'"
1514 done | sort
1515 echo
1516 fi
1517
1518 if test -s confdefs.h; then
1519 cat <<\_ASBOX
1520 ## ----------- ##
1521 ## confdefs.h. ##
1522 ## ----------- ##
1523 _ASBOX
1524 echo
1525 sed "/^$/d" confdefs.h | sort
1526 echo
1527 fi
1528 test "$ac_signal" != 0 &&
1529 echo "$as_me: caught signal $ac_signal"
1530 echo "$as_me: exit $exit_status"
1531 } >&5
1532 rm -f core *.core &&
1533 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1534 exit $exit_status
1535 ' 0
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1538 done
1539 ac_signal=0
1540
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -rf conftest* confdefs.h
1543 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1544 echo >confdefs.h
1545
1546 # Predefined preprocessor variables.
1547
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1550 _ACEOF
1551
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555 _ACEOF
1556
1557
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 _ACEOF
1561
1562
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1565 _ACEOF
1566
1567
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 _ACEOF
1571
1572
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -z "$CONFIG_SITE"; then
1576 if test "x$prefix" != xNONE; then
1577 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1578 else
1579 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 fi
1581 fi
1582 for ac_site_file in $CONFIG_SITE; do
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1587 . "$ac_site_file"
1588 fi
1589 done
1590
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1597 case $cache_file in
1598 [\\/]* | ?:[\\/]* ) . $cache_file;;
1599 *) . ./$cache_file;;
1600 esac
1601 fi
1602 else
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1605 >$cache_file
1606 fi
1607
1608 # Check that the precious variables saved in the cache have kept the same
1609 # value.
1610 ac_cache_corrupted=false
1611 for ac_var in `(set) 2>&1 |
1612 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1616 eval ac_new_val="\$ac_env_${ac_var}_value"
1617 case $ac_old_set,$ac_new_set in
1618 set,)
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,set)
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1626 ,);;
1627 *)
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1630 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1632 echo "$as_me: former value: $ac_old_val" >&2;}
1633 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1634 echo "$as_me: current value: $ac_new_val" >&2;}
1635 ac_cache_corrupted=:
1636 fi;;
1637 esac
1638 # Pass precious variables to config.status.
1639 if test "$ac_new_set" = set; then
1640 case $ac_new_val in
1641 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1642 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1644 esac
1645 case " $ac_configure_args " in
1646 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1647 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1648 esac
1649 fi
1650 done
1651 if $ac_cache_corrupted; then
1652 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1653 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1654 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1655 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1656 { (exit 1); exit 1; }; }
1657 fi
1658
1659 ac_ext=c
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694 ac_aux_dir=
1695 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1696 if test -f $ac_dir/install-sh; then
1697 ac_aux_dir=$ac_dir
1698 ac_install_sh="$ac_aux_dir/install-sh -c"
1699 break
1700 elif test -f $ac_dir/install.sh; then
1701 ac_aux_dir=$ac_dir
1702 ac_install_sh="$ac_aux_dir/install.sh -c"
1703 break
1704 elif test -f $ac_dir/shtool; then
1705 ac_aux_dir=$ac_dir
1706 ac_install_sh="$ac_aux_dir/shtool install -c"
1707 break
1708 fi
1709 done
1710 if test -z "$ac_aux_dir"; then
1711 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1712 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1713 { (exit 1); exit 1; }; }
1714 fi
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1717 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718
1719 # Make sure we can run config.sub.
1720 $ac_config_sub sun4 >/dev/null 2>&1 ||
1721 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1722 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1723 { (exit 1); exit 1; }; }
1724
1725 echo "$as_me:$LINENO: checking build system type" >&5
1726 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1727 if test "${ac_cv_build+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 else
1730 ac_cv_build_alias=$build_alias
1731 test -z "$ac_cv_build_alias" &&
1732 ac_cv_build_alias=`$ac_config_guess`
1733 test -z "$ac_cv_build_alias" &&
1734 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1735 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1736 { (exit 1); exit 1; }; }
1737 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1741
1742 fi
1743 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1744 echo "${ECHO_T}$ac_cv_build" >&6
1745 build=$ac_cv_build
1746 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1749
1750
1751 echo "$as_me:$LINENO: checking host system type" >&5
1752 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1753 if test "${ac_cv_host+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 ac_cv_host_alias=$host_alias
1757 test -z "$ac_cv_host_alias" &&
1758 ac_cv_host_alias=$ac_cv_build_alias
1759 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1763
1764 fi
1765 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766 echo "${ECHO_T}$ac_cv_host" >&6
1767 host=$ac_cv_host
1768 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1771
1772
1773 echo "$as_me:$LINENO: checking target system type" >&5
1774 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1775 if test "${ac_cv_target+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778 ac_cv_target_alias=$target_alias
1779 test "x$ac_cv_target_alias" = "x" &&
1780 ac_cv_target_alias=$ac_cv_host_alias
1781 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1782 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1783 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1784 { (exit 1); exit 1; }; }
1785
1786 fi
1787 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1788 echo "${ECHO_T}$ac_cv_target" >&6
1789 target=$ac_cv_target
1790 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1791 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1792 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1793
1794
1795 # The aliases save the names the user supplied, while $host etc.
1796 # will get canonicalized.
1797 test -n "$target_alias" &&
1798 test "$program_prefix$program_suffix$program_transform_name" = \
1799 NONENONEs,x,x, &&
1800 program_prefix=${target_alias}-
1801
1802
1803
1804 wx_major_version_number=2
1805 wx_minor_version_number=8
1806 wx_release_number=0
1807 wx_subrelease_number=0
1808
1809 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1810 WX_VERSION=$WX_RELEASE.$wx_release_number
1811 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1812
1813 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1814
1815
1816 wx_top_builddir="`pwd`"
1817
1818
1819
1820
1821 USE_UNIX=1
1822 USE_OS2=0
1823 USE_WIN32=0
1824 USE_DOS=0
1825 USE_BEOS=0
1826 USE_MAC=0
1827
1828 USE_AIX=
1829 USE_BSD= USE_DARWIN= USE_FREEBSD=
1830 USE_GNU= USE_HPUX=
1831 USE_LINUX=
1832 USE_NETBSD=
1833 USE_OPENBSD=
1834 USE_OSF= USE_SGI=
1835 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1836 USE_ULTRIX=
1837 USE_UNIXWARE=
1838
1839 USE_ALPHA=
1840
1841 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1842
1843 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1844
1845 DEFAULT_wxUSE_COCOA=0
1846 DEFAULT_wxUSE_GTK=0
1847 DEFAULT_wxUSE_MAC=0
1848 DEFAULT_wxUSE_MGL=0
1849 DEFAULT_wxUSE_MICROWIN=0
1850 DEFAULT_wxUSE_MOTIF=0
1851 DEFAULT_wxUSE_MSW=0
1852 DEFAULT_wxUSE_PM=0
1853 DEFAULT_wxUSE_X11=0
1854 DEFAULT_wxUSE_DFB=0
1855
1856 DEFAULT_DEFAULT_wxUSE_COCOA=0
1857 DEFAULT_DEFAULT_wxUSE_GTK=0
1858 DEFAULT_DEFAULT_wxUSE_MAC=0
1859 DEFAULT_DEFAULT_wxUSE_MGL=0
1860 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1862 DEFAULT_DEFAULT_wxUSE_MSW=0
1863 DEFAULT_DEFAULT_wxUSE_PM=0
1864 DEFAULT_DEFAULT_wxUSE_X11=0
1865 DEFAULT_DEFAULT_wxUSE_DFB=0
1866
1867 PROGRAM_EXT=
1868 SO_SUFFIX=so
1869 SAMPLES_RPATH_FLAG=
1870 SAMPLES_RPATH_POSTLINK=
1871
1872 DEFAULT_STD_FLAG=yes
1873
1874 case "${host}" in
1875 *-hp-hpux* )
1876 USE_HPUX=1
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 SO_SUFFIX=sl
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __HPUX__ 1
1882 _ACEOF
1883
1884
1885 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1886 ;;
1887 *-*-linux* )
1888 USE_LINUX=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __LINUX__ 1
1891 _ACEOF
1892
1893 TMP=`uname -m`
1894 if test "x$TMP" = "xalpha"; then
1895 USE_ALPHA=1
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __ALPHA__ 1
1898 _ACEOF
1899
1900 fi
1901 DEFAULT_DEFAULT_wxUSE_GTK=1
1902 ;;
1903 *-*-gnu* | *-*-k*bsd*-gnu )
1904 USE_GNU=1
1905 TMP=`uname -m`
1906 if test "x$TMP" = "xalpha"; then
1907 USE_ALPHA=1
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __ALPHA__ 1
1910 _ACEOF
1911
1912 fi
1913 DEFAULT_DEFAULT_wxUSE_GTK=1
1914 ;;
1915 *-*-irix5* | *-*-irix6* )
1916 USE_SGI=1
1917 USE_SVR4=1
1918 cat >>confdefs.h <<\_ACEOF
1919 #define __SGI__ 1
1920 _ACEOF
1921
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __SVR4__ 1
1924 _ACEOF
1925
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1927 ;;
1928 *-*-solaris2* )
1929 USE_SUN=1
1930 USE_SOLARIS=1
1931 USE_SVR4=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SUN__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SOLARIS__ 1
1938 _ACEOF
1939
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __SVR4__ 1
1942 _ACEOF
1943
1944 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1945 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1946 ;;
1947 *-*-sunos4* )
1948 USE_SUN=1
1949 USE_SUNOS=1
1950 USE_BSD=1
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __SUN__ 1
1953 _ACEOF
1954
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __SUNOS__ 1
1957 _ACEOF
1958
1959 cat >>confdefs.h <<\_ACEOF
1960 #define __BSD__ 1
1961 _ACEOF
1962
1963 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1964 ;;
1965 *-*-freebsd*)
1966 USE_BSD=1
1967 USE_FREEBSD=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __FREEBSD__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 ;;
1978 *-*-openbsd*|*-*-mirbsd*)
1979 USE_BSD=1
1980 USE_OPENBSD=1
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __OPENBSD__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __BSD__ 1
1987 _ACEOF
1988
1989 DEFAULT_DEFAULT_wxUSE_GTK=1
1990 ;;
1991 *-*-netbsd*)
1992 USE_BSD=1
1993 USE_NETBSD=1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __NETBSD__ 1
1996 _ACEOF
1997
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __BSD__ 1
2000 _ACEOF
2001
2002 DEFAULT_DEFAULT_wxUSE_GTK=1
2003 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2004
2005 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2006 ;;
2007 *-*-osf* )
2008 USE_ALPHA=1
2009 USE_OSF=1
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __ALPHA__ 1
2012 _ACEOF
2013
2014 cat >>confdefs.h <<\_ACEOF
2015 #define __OSF__ 1
2016 _ACEOF
2017
2018 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2019 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2020 ;;
2021 *-*-dgux5* )
2022 USE_ALPHA=1
2023 USE_SVR4=1
2024 cat >>confdefs.h <<\_ACEOF
2025 #define __ALPHA__ 1
2026 _ACEOF
2027
2028 cat >>confdefs.h <<\_ACEOF
2029 #define __SVR4__ 1
2030 _ACEOF
2031
2032 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2033 ;;
2034 *-*-sysv5* )
2035 USE_SYSV=1
2036 USE_SVR4=1
2037 cat >>confdefs.h <<\_ACEOF
2038 #define __SYSV__ 1
2039 _ACEOF
2040
2041 cat >>confdefs.h <<\_ACEOF
2042 #define __SVR4__ 1
2043 _ACEOF
2044
2045 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2046 ;;
2047 *-*-aix* )
2048 USE_AIX=1
2049 USE_SYSV=1
2050 USE_SVR4=1
2051 SO_SUFFIX=a
2052 cat >>confdefs.h <<\_ACEOF
2053 #define __AIX__ 1
2054 _ACEOF
2055
2056 cat >>confdefs.h <<\_ACEOF
2057 #define __SYSV__ 1
2058 _ACEOF
2059
2060 cat >>confdefs.h <<\_ACEOF
2061 #define __SVR4__ 1
2062 _ACEOF
2063
2064 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2065 ;;
2066
2067 *-*-*UnixWare*)
2068 USE_SYSV=1
2069 USE_SVR4=1
2070 USE_UNIXWARE=1
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __UNIXWARE__ 1
2073 _ACEOF
2074
2075 ;;
2076
2077 *-*-cygwin* | *-*-mingw32* )
2078 SO_SUFFIX=dll
2079 PROGRAM_EXT=".exe"
2080 DEFAULT_DEFAULT_wxUSE_MSW=1
2081 ;;
2082
2083 *-pc-msdosdjgpp )
2084 USE_UNIX=0
2085 USE_DOS=1
2086 cat >>confdefs.h <<\_ACEOF
2087 #define __DOS__ 1
2088 _ACEOF
2089
2090 PROGRAM_EXT=".exe"
2091 DEFAULT_DEFAULT_wxUSE_MGL=1
2092 ;;
2093
2094 *-pc-os2_emx | *-pc-os2-emx )
2095 cat >>confdefs.h <<\_ACEOF
2096 #define __EMX__ 1
2097 _ACEOF
2098
2099 USE_OS2=1
2100 cat >>confdefs.h <<\_ACEOF
2101 #define __OS2__ 1
2102 _ACEOF
2103
2104 PROGRAM_EXT=".exe"
2105 DEFAULT_DEFAULT_wxUSE_PM=1
2106 CXX=gcc
2107 LDFLAGS="$LDFLAGS -Zcrtdll"
2108 ac_executable_extensions=".exe"
2109 export ac_executable_extensions
2110 ac_save_IFS="$IFS"
2111 IFS='\\'
2112 ac_TEMP_PATH=
2113 for ac_dir in $PATH; do
2114 IFS=$ac_save_IFS
2115 if test -z "$ac_TEMP_PATH"; then
2116 ac_TEMP_PATH="$ac_dir"
2117 else
2118 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2119 fi
2120 done
2121 export PATH="$ac_TEMP_PATH"
2122 unset ac_TEMP_PATH
2123 DEFAULT_STD_FLAG=no
2124 ;;
2125
2126 *-*-darwin* )
2127 USE_BSD=1
2128 USE_DARWIN=1
2129 SO_SUFFIX=dylib
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __BSD__ 1
2132 _ACEOF
2133
2134 cat >>confdefs.h <<\_ACEOF
2135 #define __DARWIN__ 1
2136 _ACEOF
2137
2138 cat >>confdefs.h <<\_ACEOF
2139 #define TARGET_CARBON 1
2140 _ACEOF
2141
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2143 DEFAULT_STD_FLAG=no
2144 ;;
2145 powerpc-apple-macos* )
2146 USE_UNIX=0
2147 ac_cv_c_bigendian=yes
2148 SO_SUFFIX=shlib
2149 DEFAULT_DEFAULT_wxUSE_MAC=1
2150 DEFAULT_STD_FLAG=no
2151 ;;
2152
2153 *-*-beos* )
2154 USE_BEOS=1
2155 cat >>confdefs.h <<\_ACEOF
2156 #define __BEOS__ 1
2157 _ACEOF
2158
2159 ;;
2160
2161 *)
2162 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2163 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2164 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2165 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2166
2167 DEFAULT_DEFAULT_wxUSE_X11=1
2168 DEFAULT_wxUSE_SHARED=no
2169 esac
2170
2171
2172
2173
2174 wx_arg_cache_file="configarg.cache"
2175 echo "loading argument cache $wx_arg_cache_file"
2176 rm -f ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}
2179
2180
2181 DEBUG_CONFIGURE=0
2182 if test $DEBUG_CONFIGURE = 1; then
2183 DEFAULT_wxUSE_UNIVERSAL=no
2184 DEFAULT_wxUSE_STL=no
2185
2186 DEFAULT_wxUSE_NANOX=no
2187
2188 DEFAULT_wxUSE_THREADS=yes
2189
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2207
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2213
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2216
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2232
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2265
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2269
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2276
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2281
2282 DEFAULT_wxUSE_RESOURCES=no
2283 DEFAULT_wxUSE_CONSTRAINTS=no
2284 DEFAULT_wxUSE_IPC=no
2285 DEFAULT_wxUSE_HELP=no
2286 DEFAULT_wxUSE_MS_HTML_HELP=no
2287 DEFAULT_wxUSE_WXHTML_HELP=no
2288 DEFAULT_wxUSE_TREELAYOUT=no
2289 DEFAULT_wxUSE_METAFILE=no
2290 DEFAULT_wxUSE_MIMETYPE=no
2291 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2292 DEFAULT_wxUSE_PROTOCOL=no
2293 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FILE=no
2296 DEFAULT_wxUSE_URL=no
2297 DEFAULT_wxUSE_VARIANT=no
2298
2299 DEFAULT_wxUSE_ABOUTDLG=no
2300 DEFAULT_wxUSE_COMMONDLGS=no
2301 DEFAULT_wxUSE_CHOICEDLG=no
2302 DEFAULT_wxUSE_COLOURDLG=no
2303 DEFAULT_wxUSE_DIRDLG=no
2304 DEFAULT_wxUSE_FILEDLG=no
2305 DEFAULT_wxUSE_FINDREPLDLG=no
2306 DEFAULT_wxUSE_FONTDLG=no
2307 DEFAULT_wxUSE_MSGDLG=no
2308 DEFAULT_wxUSE_NUMBERDLG=no
2309 DEFAULT_wxUSE_TEXTDLG=no
2310 DEFAULT_wxUSE_SPLASH=no
2311 DEFAULT_wxUSE_STARTUP_TIPS=no
2312 DEFAULT_wxUSE_PROGRESSDLG=no
2313 DEFAULT_wxUSE_WIZARDDLG=no
2314
2315 DEFAULT_wxUSE_MENUS=no
2316 DEFAULT_wxUSE_MINIFRAME=no
2317 DEFAULT_wxUSE_HTML=no
2318 DEFAULT_wxUSE_RICHTEXT=no
2319 DEFAULT_wxUSE_XRC=no
2320 DEFAULT_wxUSE_AUI=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2331
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_FILEPICKERCTRL=no
2352 DEFAULT_wxUSE_FONTPICKERCTRL=no
2353 DEFAULT_wxUSE_GAUGE=no
2354 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2355 DEFAULT_wxUSE_GRID=no
2356 DEFAULT_wxUSE_HYPERLINKCTRL=no
2357 DEFAULT_wxUSE_DATAVIEWCTRL=no
2358 DEFAULT_wxUSE_IMAGLIST=no
2359 DEFAULT_wxUSE_LISTBOOK=no
2360 DEFAULT_wxUSE_LISTBOX=no
2361 DEFAULT_wxUSE_LISTCTRL=no
2362 DEFAULT_wxUSE_NOTEBOOK=no
2363 DEFAULT_wxUSE_ODCOMBOBOX=no
2364 DEFAULT_wxUSE_RADIOBOX=no
2365 DEFAULT_wxUSE_RADIOBTN=no
2366 DEFAULT_wxUSE_SASH=no
2367 DEFAULT_wxUSE_SCROLLBAR=no
2368 DEFAULT_wxUSE_SLIDER=no
2369 DEFAULT_wxUSE_SPINBTN=no
2370 DEFAULT_wxUSE_SPINCTRL=no
2371 DEFAULT_wxUSE_SPLITTER=no
2372 DEFAULT_wxUSE_STATBMP=no
2373 DEFAULT_wxUSE_STATBOX=no
2374 DEFAULT_wxUSE_STATLINE=no
2375 DEFAULT_wxUSE_STATTEXT=no
2376 DEFAULT_wxUSE_STATUSBAR=yes
2377 DEFAULT_wxUSE_TAB_DIALOG=no
2378 DEFAULT_wxUSE_TEXTCTRL=no
2379 DEFAULT_wxUSE_TOGGLEBTN=no
2380 DEFAULT_wxUSE_TOOLBAR=no
2381 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2382 DEFAULT_wxUSE_TREEBOOK=no
2383 DEFAULT_wxUSE_TOOLBOOK=no
2384 DEFAULT_wxUSE_TREECTRL=no
2385 DEFAULT_wxUSE_POPUPWIN=no
2386 DEFAULT_wxUSE_TIPWINDOW=no
2387
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=no
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2391
2392 DEFAULT_wxUSE_PALETTE=no
2393 DEFAULT_wxUSE_IMAGE=no
2394 DEFAULT_wxUSE_GIF=no
2395 DEFAULT_wxUSE_PCX=no
2396 DEFAULT_wxUSE_TGA=no
2397 DEFAULT_wxUSE_PNM=no
2398 DEFAULT_wxUSE_IFF=no
2399 DEFAULT_wxUSE_XPM=no
2400 DEFAULT_wxUSE_ICO_CUR=no
2401 DEFAULT_wxUSE_ACCESSIBILITY=no
2402
2403 DEFAULT_wxUSE_MONOLITHIC=no
2404 DEFAULT_wxUSE_PLUGINS=no
2405 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2406 else
2407 DEFAULT_wxUSE_UNIVERSAL=no
2408 DEFAULT_wxUSE_STL=no
2409
2410 DEFAULT_wxUSE_NANOX=no
2411
2412 DEFAULT_wxUSE_THREADS=yes
2413
2414 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2415 DEFAULT_wxUSE_OPTIMISE=yes
2416 DEFAULT_wxUSE_PROFILE=no
2417 DEFAULT_wxUSE_NO_DEPS=no
2418 DEFAULT_wxUSE_VARARG_MACROS=yes
2419 DEFAULT_wxUSE_NO_RTTI=no
2420 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2421 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2422 DEFAULT_wxUSE_RPATH=yes
2423 DEFAULT_wxUSE_PERMISSIVE=no
2424 DEFAULT_wxUSE_DEBUG_FLAG=no
2425 DEFAULT_wxUSE_DEBUG_INFO=no
2426 DEFAULT_wxUSE_DEBUG_GDB=no
2427 DEFAULT_wxUSE_MEM_TRACING=no
2428 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2429 DEFAULT_wxUSE_DMALLOC=no
2430 DEFAULT_wxUSE_APPLE_IEEE=yes
2431
2432 DEFAULT_wxUSE_EXCEPTIONS=yes
2433 DEFAULT_wxUSE_LOG=yes
2434 DEFAULT_wxUSE_LOGWINDOW=yes
2435 DEFAULT_wxUSE_LOGGUI=yes
2436 DEFAULT_wxUSE_LOGDIALOG=yes
2437
2438 DEFAULT_wxUSE_GUI=yes
2439
2440 DEFAULT_wxUSE_REGEX=yes
2441 DEFAULT_wxUSE_XML=yes
2442 DEFAULT_wxUSE_EXPAT=yes
2443 DEFAULT_wxUSE_ZLIB=yes
2444 DEFAULT_wxUSE_LIBPNG=yes
2445 DEFAULT_wxUSE_LIBJPEG=yes
2446 DEFAULT_wxUSE_LIBTIFF=yes
2447 DEFAULT_wxUSE_LIBXPM=yes
2448 DEFAULT_wxUSE_LIBMSPACK=yes
2449 DEFAULT_wxUSE_LIBSDL=no
2450 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2451 DEFAULT_wxUSE_LIBGNOMEVFS=no
2452 DEFAULT_wxUSE_LIBHILDON=no
2453 DEFAULT_wxUSE_ODBC=no
2454 DEFAULT_wxUSE_OPENGL=no
2455
2456 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2457 DEFAULT_wxUSE_STACKWALKER=yes
2458 DEFAULT_wxUSE_DEBUGREPORT=yes
2459 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2460 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2461 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2462 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2463 DEFAULT_wxUSE_DATETIME=yes
2464 DEFAULT_wxUSE_TIMER=yes
2465 DEFAULT_wxUSE_STOPWATCH=yes
2466 DEFAULT_wxUSE_FILE=yes
2467 DEFAULT_wxUSE_FFILE=yes
2468 DEFAULT_wxUSE_STDPATHS=yes
2469 DEFAULT_wxUSE_TEXTBUFFER=yes
2470 DEFAULT_wxUSE_TEXTFILE=yes
2471 DEFAULT_wxUSE_SOUND=yes
2472 DEFAULT_wxUSE_MEDIACTRL=no
2473 DEFAULT_wxUSE_GSTREAMER8=no
2474 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2475 DEFAULT_wxUSE_INTL=yes
2476 DEFAULT_wxUSE_CONFIG=yes
2477 DEFAULT_wxUSE_FONTMAP=yes
2478 DEFAULT_wxUSE_STREAMS=yes
2479 DEFAULT_wxUSE_SOCKETS=yes
2480 DEFAULT_wxUSE_OLE=yes
2481 DEFAULT_wxUSE_DATAOBJ=yes
2482 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2483 DEFAULT_wxUSE_JOYSTICK=yes
2484 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2485 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2486 DEFAULT_wxUSE_LONGLONG=yes
2487 DEFAULT_wxUSE_GEOMETRY=yes
2488
2489 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2490 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2491 DEFAULT_wxUSE_POSTSCRIPT=yes
2492
2493 DEFAULT_wxUSE_CLIPBOARD=yes
2494 DEFAULT_wxUSE_TOOLTIPS=yes
2495 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2496 DEFAULT_wxUSE_DRAGIMAGE=yes
2497 DEFAULT_wxUSE_SPLINES=yes
2498 DEFAULT_wxUSE_MOUSEWHEEL=yes
2499
2500 DEFAULT_wxUSE_MDI=yes
2501 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2502 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2503 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2504
2505 DEFAULT_wxUSE_RESOURCES=no
2506 DEFAULT_wxUSE_CONSTRAINTS=yes
2507 DEFAULT_wxUSE_IPC=yes
2508 DEFAULT_wxUSE_HELP=yes
2509 DEFAULT_wxUSE_MS_HTML_HELP=yes
2510 DEFAULT_wxUSE_WXHTML_HELP=yes
2511 DEFAULT_wxUSE_TREELAYOUT=yes
2512 DEFAULT_wxUSE_METAFILE=yes
2513 DEFAULT_wxUSE_MIMETYPE=yes
2514 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2515 DEFAULT_wxUSE_PROTOCOL=yes
2516 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2517 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2518 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2519 DEFAULT_wxUSE_URL=yes
2520 DEFAULT_wxUSE_VARIANT=yes
2521
2522 DEFAULT_wxUSE_ABOUTDLG=yes
2523 DEFAULT_wxUSE_COMMONDLGS=yes
2524 DEFAULT_wxUSE_CHOICEDLG=yes
2525 DEFAULT_wxUSE_COLOURDLG=yes
2526 DEFAULT_wxUSE_DIRDLG=yes
2527 DEFAULT_wxUSE_FILEDLG=yes
2528 DEFAULT_wxUSE_FINDREPLDLG=yes
2529 DEFAULT_wxUSE_FONTDLG=yes
2530 DEFAULT_wxUSE_MSGDLG=yes
2531 DEFAULT_wxUSE_NUMBERDLG=yes
2532 DEFAULT_wxUSE_TEXTDLG=yes
2533 DEFAULT_wxUSE_SPLASH=yes
2534 DEFAULT_wxUSE_STARTUP_TIPS=yes
2535 DEFAULT_wxUSE_PROGRESSDLG=yes
2536 DEFAULT_wxUSE_WIZARDDLG=yes
2537
2538 DEFAULT_wxUSE_MENUS=yes
2539 DEFAULT_wxUSE_MINIFRAME=yes
2540 DEFAULT_wxUSE_HTML=yes
2541 DEFAULT_wxUSE_RICHTEXT=yes
2542 DEFAULT_wxUSE_XRC=yes
2543 DEFAULT_wxUSE_AUI=yes
2544 DEFAULT_wxUSE_WEBKIT=yes
2545 DEFAULT_wxUSE_FILESYSTEM=yes
2546 DEFAULT_wxUSE_FS_INET=yes
2547 DEFAULT_wxUSE_FS_ZIP=yes
2548 DEFAULT_wxUSE_FS_ARCHIVE=yes
2549 DEFAULT_wxUSE_BUSYINFO=yes
2550 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2551 DEFAULT_wxUSE_ZIPSTREAM=yes
2552 DEFAULT_wxUSE_TARSTREAM=yes
2553 DEFAULT_wxUSE_VALIDATORS=yes
2554
2555 DEFAULT_wxUSE_ACCEL=yes
2556 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2557 DEFAULT_wxUSE_BUTTON=yes
2558 DEFAULT_wxUSE_BMPBUTTON=yes
2559 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2560 DEFAULT_wxUSE_CALCTRL=yes
2561 DEFAULT_wxUSE_CARET=yes
2562 DEFAULT_wxUSE_CHECKBOX=yes
2563 DEFAULT_wxUSE_CHECKLST=yes
2564 DEFAULT_wxUSE_CHOICE=yes
2565 DEFAULT_wxUSE_CHOICEBOOK=yes
2566 DEFAULT_wxUSE_COLLPANE=yes
2567 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2568 DEFAULT_wxUSE_COMBOBOX=yes
2569 DEFAULT_wxUSE_COMBOCTRL=yes
2570 DEFAULT_wxUSE_DATEPICKCTRL=yes
2571 DEFAULT_wxUSE_DISPLAY=yes
2572 DEFAULT_wxUSE_DETECT_SM=yes
2573 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2574 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2575 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2576 DEFAULT_wxUSE_GAUGE=yes
2577 DEFAULT_wxUSE_GRID=yes
2578 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2579 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2580 DEFAULT_wxUSE_DATAVIEWCTRL=no
2581 DEFAULT_wxUSE_IMAGLIST=yes
2582 DEFAULT_wxUSE_LISTBOOK=yes
2583 DEFAULT_wxUSE_LISTBOX=yes
2584 DEFAULT_wxUSE_LISTCTRL=yes
2585 DEFAULT_wxUSE_NOTEBOOK=yes
2586 DEFAULT_wxUSE_ODCOMBOBOX=yes
2587 DEFAULT_wxUSE_RADIOBOX=yes
2588 DEFAULT_wxUSE_RADIOBTN=yes
2589 DEFAULT_wxUSE_SASH=yes
2590 DEFAULT_wxUSE_SCROLLBAR=yes
2591 DEFAULT_wxUSE_SLIDER=yes
2592 DEFAULT_wxUSE_SPINBTN=yes
2593 DEFAULT_wxUSE_SPINCTRL=yes
2594 DEFAULT_wxUSE_SPLITTER=yes
2595 DEFAULT_wxUSE_STATBMP=yes
2596 DEFAULT_wxUSE_STATBOX=yes
2597 DEFAULT_wxUSE_STATLINE=yes
2598 DEFAULT_wxUSE_STATTEXT=yes
2599 DEFAULT_wxUSE_STATUSBAR=yes
2600 DEFAULT_wxUSE_TAB_DIALOG=no
2601 DEFAULT_wxUSE_TEXTCTRL=yes
2602 DEFAULT_wxUSE_TOGGLEBTN=yes
2603 DEFAULT_wxUSE_TOOLBAR=yes
2604 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2605 DEFAULT_wxUSE_TREEBOOK=yes
2606 DEFAULT_wxUSE_TOOLBOOK=yes
2607 DEFAULT_wxUSE_TREECTRL=yes
2608 DEFAULT_wxUSE_POPUPWIN=yes
2609 DEFAULT_wxUSE_TIPWINDOW=yes
2610
2611 DEFAULT_wxUSE_UNICODE=no
2612 DEFAULT_wxUSE_UNICODE_MSLU=yes
2613 DEFAULT_wxUSE_WCSRTOMBS=no
2614
2615 DEFAULT_wxUSE_PALETTE=yes
2616 DEFAULT_wxUSE_IMAGE=yes
2617 DEFAULT_wxUSE_GIF=yes
2618 DEFAULT_wxUSE_PCX=yes
2619 DEFAULT_wxUSE_TGA=yes
2620 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2621 DEFAULT_wxUSE_XPM=yes
2622 DEFAULT_wxUSE_ICO_CUR=yes
2623 DEFAULT_wxUSE_ACCESSIBILITY=no
2624
2625 DEFAULT_wxUSE_MONOLITHIC=no
2626 DEFAULT_wxUSE_PLUGINS=no
2627 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2628
2629 DEFAULT_wxUSE_GTK2=yes
2630 fi
2631
2632
2633
2634
2635 for toolkit in `echo $ALL_TOOLKITS`; do
2636 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 has_toolkit_in_cache=1
2639 eval "DEFAULT_$LINE"
2640 eval "CACHE_$toolkit=1"
2641
2642 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 eval "DEFAULT_$LINE"
2645 fi
2646 fi
2647 done
2648
2649
2650
2651 enablestring=
2652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2653 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2654 no_cache=0
2655 # Check whether --enable-gui or --disable-gui was given.
2656 if test "${enable_gui+set}" = set; then
2657 enableval="$enable_gui"
2658
2659 if test "$enableval" = yes; then
2660 ac_cv_use_gui='wxUSE_GUI=yes'
2661 else
2662 ac_cv_use_gui='wxUSE_GUI=no'
2663 fi
2664
2665 else
2666
2667 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2670 else
2671 no_cache=1
2672 fi
2673
2674 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2675
2676 fi;
2677
2678 eval "$ac_cv_use_gui"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2681 fi
2682
2683 if test "$wxUSE_GUI" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2686 else
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2689 fi
2690
2691
2692 enablestring=
2693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2694 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2695 no_cache=0
2696 # Check whether --enable-monolithic or --disable-monolithic was given.
2697 if test "${enable_monolithic+set}" = set; then
2698 enableval="$enable_monolithic"
2699
2700 if test "$enableval" = yes; then
2701 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2702 else
2703 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2704 fi
2705
2706 else
2707
2708 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x ; then
2710 eval "DEFAULT_$LINE"
2711 else
2712 no_cache=1
2713 fi
2714
2715 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2716
2717 fi;
2718
2719 eval "$ac_cv_use_monolithic"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2722 fi
2723
2724 if test "$wxUSE_MONOLITHIC" = yes; then
2725 echo "$as_me:$LINENO: result: yes" >&5
2726 echo "${ECHO_T}yes" >&6
2727 else
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2730 fi
2731
2732
2733 enablestring=
2734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2735 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2736 no_cache=0
2737 # Check whether --enable-plugins or --disable-plugins was given.
2738 if test "${enable_plugins+set}" = set; then
2739 enableval="$enable_plugins"
2740
2741 if test "$enableval" = yes; then
2742 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2743 else
2744 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2745 fi
2746
2747 else
2748
2749 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x ; then
2751 eval "DEFAULT_$LINE"
2752 else
2753 no_cache=1
2754 fi
2755
2756 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2757
2758 fi;
2759
2760 eval "$ac_cv_use_plugins"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2763 fi
2764
2765 if test "$wxUSE_PLUGINS" = yes; then
2766 echo "$as_me:$LINENO: result: yes" >&5
2767 echo "${ECHO_T}yes" >&6
2768 else
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2771 fi
2772
2773
2774 withstring=without
2775 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2776 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2777 no_cache=0
2778
2779 # Check whether --with-subdirs or --without-subdirs was given.
2780 if test "${with_subdirs+set}" = set; then
2781 withval="$with_subdirs"
2782
2783 if test "$withval" = yes; then
2784 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2785 else
2786 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2787 fi
2788
2789 else
2790
2791 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2794 else
2795 no_cache=1
2796 fi
2797
2798 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2799
2800 fi;
2801
2802 eval "$ac_cv_use_subdirs"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2805 fi
2806
2807 if test "$wxWITH_SUBDIRS" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2810 else
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2813 fi
2814
2815
2816 if test "$wxUSE_GUI" = "yes"; then
2817
2818
2819 enablestring=
2820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2821 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2822 no_cache=0
2823 # Check whether --enable-universal or --disable-universal was given.
2824 if test "${enable_universal+set}" = set; then
2825 enableval="$enable_universal"
2826
2827 if test "$enableval" = yes; then
2828 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2829 else
2830 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2831 fi
2832
2833 else
2834
2835 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2838 else
2839 no_cache=1
2840 fi
2841
2842 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2843
2844 fi;
2845
2846 eval "$ac_cv_use_universal"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2849 fi
2850
2851 if test "$wxUSE_UNIVERSAL" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2854 else
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2857 fi
2858
2859
2860 # Check whether --with-gtk or --without-gtk was given.
2861 if test "${with_gtk+set}" = set; then
2862 withval="$with_gtk"
2863 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2864 fi;
2865
2866 # Check whether --with-motif or --without-motif was given.
2867 if test "${with_motif+set}" = set; then
2868 withval="$with_motif"
2869 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-mac or --without-mac was given.
2873 if test "${with_mac+set}" = set; then
2874 withval="$with_mac"
2875 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-cocoa or --without-cocoa was given.
2879 if test "${with_cocoa+set}" = set; then
2880 withval="$with_cocoa"
2881 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2882 fi;
2883
2884 # Check whether --with-wine or --without-wine was given.
2885 if test "${with_wine+set}" = set; then
2886 withval="$with_wine"
2887 wxUSE_WINE="$withval" CACHE_WINE=1
2888 fi;
2889
2890 # Check whether --with-msw or --without-msw was given.
2891 if test "${with_msw+set}" = set; then
2892 withval="$with_msw"
2893 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2894 fi;
2895
2896 # Check whether --with-pm or --without-pm was given.
2897 if test "${with_pm+set}" = set; then
2898 withval="$with_pm"
2899 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2900 fi;
2901
2902 # Check whether --with-mgl or --without-mgl was given.
2903 if test "${with_mgl+set}" = set; then
2904 withval="$with_mgl"
2905 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2906 fi;
2907
2908 # Check whether --with-directfb or --without-directfb was given.
2909 if test "${with_directfb+set}" = set; then
2910 withval="$with_directfb"
2911 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2912 fi;
2913
2914 # Check whether --with-microwin or --without-microwin was given.
2915 if test "${with_microwin+set}" = set; then
2916 withval="$with_microwin"
2917 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2918 fi;
2919
2920 # Check whether --with-x11 or --without-x11 was given.
2921 if test "${with_x11+set}" = set; then
2922 withval="$with_x11"
2923 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2924 fi;
2925
2926 enablestring=
2927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2928 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2929 no_cache=0
2930 # Check whether --enable-nanox or --disable-nanox was given.
2931 if test "${enable_nanox+set}" = set; then
2932 enableval="$enable_nanox"
2933
2934 if test "$enableval" = yes; then
2935 ac_cv_use_nanox='wxUSE_NANOX=yes'
2936 else
2937 ac_cv_use_nanox='wxUSE_NANOX=no'
2938 fi
2939
2940 else
2941
2942 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2945 else
2946 no_cache=1
2947 fi
2948
2949 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2950
2951 fi;
2952
2953 eval "$ac_cv_use_nanox"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2956 fi
2957
2958 if test "$wxUSE_NANOX" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2961 else
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2964 fi
2965
2966
2967 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2968 if test "${enable_gtk2+set}" = set; then
2969 enableval="$enable_gtk2"
2970 wxUSE_GTK2="$enableval"
2971 fi;
2972
2973 enablestring=
2974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2976 no_cache=0
2977 # Check whether --enable-gpe or --disable-gpe was given.
2978 if test "${enable_gpe+set}" = set; then
2979 enableval="$enable_gpe"
2980
2981 if test "$enableval" = yes; then
2982 ac_cv_use_gpe='wxUSE_GPE=yes'
2983 else
2984 ac_cv_use_gpe='wxUSE_GPE=no'
2985 fi
2986
2987 else
2988
2989 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x ; then
2991 eval "DEFAULT_$LINE"
2992 else
2993 no_cache=1
2994 fi
2995
2996 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2997
2998 fi;
2999
3000 eval "$ac_cv_use_gpe"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3003 fi
3004
3005 if test "$wxUSE_GPE" = yes; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3008 else
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3011 fi
3012
3013
3014
3015 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3016 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3017 no_cache=0
3018
3019 # Check whether --with-libpng or --without-libpng was given.
3020 if test "${with_libpng+set}" = set; then
3021 withval="$with_libpng"
3022
3023 if test "$withval" = yes; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3025 elif test "$withval" = no; then
3026 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3027 elif test "$withval" = sys; then
3028 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037 else
3038
3039 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3047
3048 fi;
3049
3050 eval "$ac_cv_use_libpng"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3053 fi
3054
3055 if test "$wxUSE_LIBPNG" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_LIBPNG" = no; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_LIBPNG" = sys; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063 echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_LIBPNG" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066 echo "${ECHO_T}builtin version" >&6
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073
3074 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3075 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3076 no_cache=0
3077
3078 # Check whether --with-libjpeg or --without-libjpeg was given.
3079 if test "${with_libjpeg+set}" = set; then
3080 withval="$with_libjpeg"
3081
3082 if test "$withval" = yes; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3084 elif test "$withval" = no; then
3085 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3086 elif test "$withval" = sys; then
3087 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3088 elif test "$withval" = builtin; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3090 else
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3106
3107 fi;
3108
3109 eval "$ac_cv_use_libjpeg"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBJPEG" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 elif test "$wxUSE_LIBJPEG" = no; then
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 elif test "$wxUSE_LIBJPEG" = sys; then
3121 echo "$as_me:$LINENO: result: system version" >&5
3122 echo "${ECHO_T}system version" >&6
3123 elif test "$wxUSE_LIBJPEG" = builtin; then
3124 echo "$as_me:$LINENO: result: builtin version" >&5
3125 echo "${ECHO_T}builtin version" >&6
3126 else
3127 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3128 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3129 { (exit 1); exit 1; }; }
3130 fi
3131
3132
3133 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3134 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3135 no_cache=0
3136
3137 # Check whether --with-libtiff or --without-libtiff was given.
3138 if test "${with_libtiff+set}" = set; then
3139 withval="$with_libtiff"
3140
3141 if test "$withval" = yes; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3143 elif test "$withval" = no; then
3144 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3145 elif test "$withval" = sys; then
3146 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3147 elif test "$withval" = builtin; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3149 else
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3153 fi
3154
3155 else
3156
3157 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3160 else
3161 no_cache=1
3162 fi
3163
3164 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3165
3166 fi;
3167
3168 eval "$ac_cv_use_libtiff"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3171 fi
3172
3173 if test "$wxUSE_LIBTIFF" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3176 elif test "$wxUSE_LIBTIFF" = no; then
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 elif test "$wxUSE_LIBTIFF" = sys; then
3180 echo "$as_me:$LINENO: result: system version" >&5
3181 echo "${ECHO_T}system version" >&6
3182 elif test "$wxUSE_LIBTIFF" = builtin; then
3183 echo "$as_me:$LINENO: result: builtin version" >&5
3184 echo "${ECHO_T}builtin version" >&6
3185 else
3186 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3187 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3188 { (exit 1); exit 1; }; }
3189 fi
3190
3191
3192 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3193 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3194 no_cache=0
3195
3196 # Check whether --with-libxpm or --without-libxpm was given.
3197 if test "${with_libxpm+set}" = set; then
3198 withval="$with_libxpm"
3199
3200 if test "$withval" = yes; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3202 elif test "$withval" = no; then
3203 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3204 elif test "$withval" = sys; then
3205 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3206 elif test "$withval" = builtin; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3208 else
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3212 fi
3213
3214 else
3215
3216 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3219 else
3220 no_cache=1
3221 fi
3222
3223 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3224
3225 fi;
3226
3227 eval "$ac_cv_use_libxpm"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3230 fi
3231
3232 if test "$wxUSE_LIBXPM" = yes; then
3233 echo "$as_me:$LINENO: result: yes" >&5
3234 echo "${ECHO_T}yes" >&6
3235 elif test "$wxUSE_LIBXPM" = no; then
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 elif test "$wxUSE_LIBXPM" = sys; then
3239 echo "$as_me:$LINENO: result: system version" >&5
3240 echo "${ECHO_T}system version" >&6
3241 elif test "$wxUSE_LIBXPM" = builtin; then
3242 echo "$as_me:$LINENO: result: builtin version" >&5
3243 echo "${ECHO_T}builtin version" >&6
3244 else
3245 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3246 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3247 { (exit 1); exit 1; }; }
3248 fi
3249
3250
3251 withstring=
3252 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3253 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3254 no_cache=0
3255
3256 # Check whether --with-libmspack or --without-libmspack was given.
3257 if test "${with_libmspack+set}" = set; then
3258 withval="$with_libmspack"
3259
3260 if test "$withval" = yes; then
3261 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3262 else
3263 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3264 fi
3265
3266 else
3267
3268 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x ; then
3270 eval "DEFAULT_$LINE"
3271 else
3272 no_cache=1
3273 fi
3274
3275 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3276
3277 fi;
3278
3279 eval "$ac_cv_use_libmspack"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3282 fi
3283
3284 if test "$wxUSE_LIBMSPACK" = yes; then
3285 echo "$as_me:$LINENO: result: yes" >&5
3286 echo "${ECHO_T}yes" >&6
3287 else
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3290 fi
3291
3292
3293 withstring=
3294 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3295 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3296 no_cache=0
3297
3298 # Check whether --with-sdl or --without-sdl was given.
3299 if test "${with_sdl+set}" = set; then
3300 withval="$with_sdl"
3301
3302 if test "$withval" = yes; then
3303 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3304 else
3305 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3306 fi
3307
3308 else
3309
3310 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3313 else
3314 no_cache=1
3315 fi
3316
3317 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3318
3319 fi;
3320
3321 eval "$ac_cv_use_sdl"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3324 fi
3325
3326 if test "$wxUSE_LIBSDL" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3329 else
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3332 fi
3333
3334
3335 withstring=
3336 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3337 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3338 no_cache=0
3339
3340 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3341 if test "${with_gnomeprint+set}" = set; then
3342 withval="$with_gnomeprint"
3343
3344 if test "$withval" = yes; then
3345 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3346 else
3347 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3348 fi
3349
3350 else
3351
3352 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3360
3361 fi;
3362
3363 eval "$ac_cv_use_gnomeprint"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 fi
3375
3376
3377 withstring=
3378 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3379 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3380 no_cache=0
3381
3382 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3383 if test "${with_gnomevfs+set}" = set; then
3384 withval="$with_gnomevfs"
3385
3386 if test "$withval" = yes; then
3387 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3388 else
3389 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3390 fi
3391
3392 else
3393
3394 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x ; then
3396 eval "DEFAULT_$LINE"
3397 else
3398 no_cache=1
3399 fi
3400
3401 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3402
3403 fi;
3404
3405 eval "$ac_cv_use_gnomevfs"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3408 fi
3409
3410 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6
3413 else
3414 echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6
3416 fi
3417
3418
3419 withstring=
3420 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3421 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3422 no_cache=0
3423
3424 # Check whether --with-hildon or --without-hildon was given.
3425 if test "${with_hildon+set}" = set; then
3426 withval="$with_hildon"
3427
3428 if test "$withval" = yes; then
3429 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3430 else
3431 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3432 fi
3433
3434 else
3435
3436 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3439 else
3440 no_cache=1
3441 fi
3442
3443 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3444
3445 fi;
3446
3447 eval "$ac_cv_use_hildon"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3450 fi
3451
3452 if test "$wxUSE_LIBHILDON" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3455 else
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3458 fi
3459
3460
3461 withstring=
3462 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3463 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3464 no_cache=0
3465
3466 # Check whether --with-opengl or --without-opengl was given.
3467 if test "${with_opengl+set}" = set; then
3468 withval="$with_opengl"
3469
3470 if test "$withval" = yes; then
3471 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3472 else
3473 ac_cv_use_opengl='wxUSE_OPENGL=no'
3474 fi
3475
3476 else
3477
3478 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3481 else
3482 no_cache=1
3483 fi
3484
3485 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3486
3487 fi;
3488
3489 eval "$ac_cv_use_opengl"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3492 fi
3493
3494 if test "$wxUSE_OPENGL" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3497 else
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 fi
3501
3502
3503 if test "$wxUSE_UNIVERSAL" = "yes"; then
3504
3505 # Check whether --with-themes or --without-themes was given.
3506 if test "${with_themes+set}" = set; then
3507 withval="$with_themes"
3508 wxUNIV_THEMES="$withval"
3509 fi;
3510 fi
3511
3512 fi
3513
3514
3515 withstring=
3516 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3517 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3518 no_cache=0
3519
3520 # Check whether --with-dmalloc or --without-dmalloc was given.
3521 if test "${with_dmalloc+set}" = set; then
3522 withval="$with_dmalloc"
3523
3524 if test "$withval" = yes; then
3525 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3526 else
3527 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3528 fi
3529
3530 else
3531
3532 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3540
3541 fi;
3542
3543 eval "$ac_cv_use_dmalloc"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_DMALLOC" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 else
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 fi
3555
3556
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3559 no_cache=0
3560
3561 # Check whether --with-regex or --without-regex was given.
3562 if test "${with_regex+set}" = set; then
3563 withval="$with_regex"
3564
3565 if test "$withval" = yes; then
3566 ac_cv_use_regex='wxUSE_REGEX=yes'
3567 elif test "$withval" = no; then
3568 ac_cv_use_regex='wxUSE_REGEX=no'
3569 elif test "$withval" = sys; then
3570 ac_cv_use_regex='wxUSE_REGEX=sys'
3571 elif test "$withval" = builtin; then
3572 ac_cv_use_regex='wxUSE_REGEX=builtin'
3573 else
3574 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3575 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3576 { (exit 1); exit 1; }; }
3577 fi
3578
3579 else
3580
3581 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3584 else
3585 no_cache=1
3586 fi
3587
3588 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3589
3590 fi;
3591
3592 eval "$ac_cv_use_regex"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3595 fi
3596
3597 if test "$wxUSE_REGEX" = yes; then
3598 echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6
3600 elif test "$wxUSE_REGEX" = no; then
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3603 elif test "$wxUSE_REGEX" = sys; then
3604 echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6
3606 elif test "$wxUSE_REGEX" = builtin; then
3607 echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615
3616 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3617 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3618 no_cache=0
3619
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3623
3624 if test "$withval" = yes; then
3625 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3626 elif test "$withval" = no; then
3627 ac_cv_use_zlib='wxUSE_ZLIB=no'
3628 elif test "$withval" = sys; then
3629 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3630 elif test "$withval" = builtin; then
3631 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3632 else
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3636 fi
3637
3638 else
3639
3640 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 else
3644 no_cache=1
3645 fi
3646
3647 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3648
3649 fi;
3650
3651 eval "$ac_cv_use_zlib"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test "$wxUSE_ZLIB" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3659 elif test "$wxUSE_ZLIB" = no; then
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3662 elif test "$wxUSE_ZLIB" = sys; then
3663 echo "$as_me:$LINENO: result: system version" >&5
3664 echo "${ECHO_T}system version" >&6
3665 elif test "$wxUSE_ZLIB" = builtin; then
3666 echo "$as_me:$LINENO: result: builtin version" >&5
3667 echo "${ECHO_T}builtin version" >&6
3668 else
3669 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3670 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3671 { (exit 1); exit 1; }; }
3672 fi
3673
3674
3675 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3676 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3677 no_cache=0
3678
3679 # Check whether --with-odbc or --without-odbc was given.
3680 if test "${with_odbc+set}" = set; then
3681 withval="$with_odbc"
3682
3683 if test "$withval" = yes; then
3684 ac_cv_use_odbc='wxUSE_ODBC=yes'
3685 elif test "$withval" = no; then
3686 ac_cv_use_odbc='wxUSE_ODBC=no'
3687 elif test "$withval" = sys; then
3688 ac_cv_use_odbc='wxUSE_ODBC=sys'
3689 elif test "$withval" = builtin; then
3690 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3691 else
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3707
3708 fi;
3709
3710 eval "$ac_cv_use_odbc"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3713 fi
3714
3715 if test "$wxUSE_ODBC" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 elif test "$wxUSE_ODBC" = no; then
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 elif test "$wxUSE_ODBC" = sys; then
3722 echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6
3724 elif test "$wxUSE_ODBC" = builtin; then
3725 echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6
3727 else
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3731 fi
3732
3733
3734 echo "$as_me:$LINENO: checking for --with-expat" >&5
3735 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3736 no_cache=0
3737
3738 # Check whether --with-expat or --without-expat was given.
3739 if test "${with_expat+set}" = set; then
3740 withval="$with_expat"
3741
3742 if test "$withval" = yes; then
3743 ac_cv_use_expat='wxUSE_EXPAT=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_expat='wxUSE_EXPAT=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_expat='wxUSE_EXPAT=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756 else
3757
3758 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3766
3767 fi;
3768
3769 eval "$ac_cv_use_expat"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3772 fi
3773
3774 if test "$wxUSE_EXPAT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 elif test "$wxUSE_EXPAT" = no; then
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3780 elif test "$wxUSE_EXPAT" = sys; then
3781 echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6
3783 elif test "$wxUSE_EXPAT" = builtin; then
3784 echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6
3786 else
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3790 fi
3791
3792
3793
3794
3795 enablestring=
3796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3797 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3798 no_cache=0
3799 # Check whether --enable-shared or --disable-shared was given.
3800 if test "${enable_shared+set}" = set; then
3801 enableval="$enable_shared"
3802
3803 if test "$enableval" = yes; then
3804 ac_cv_use_shared='wxUSE_SHARED=yes'
3805 else
3806 ac_cv_use_shared='wxUSE_SHARED=no'
3807 fi
3808
3809 else
3810
3811 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x ; then
3813 eval "DEFAULT_$LINE"
3814 else
3815 no_cache=1
3816 fi
3817
3818 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3819
3820 fi;
3821
3822 eval "$ac_cv_use_shared"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3825 fi
3826
3827 if test "$wxUSE_SHARED" = yes; then
3828 echo "$as_me:$LINENO: result: yes" >&5
3829 echo "${ECHO_T}yes" >&6
3830 else
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3833 fi
3834
3835
3836 enablestring=
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3839 no_cache=0
3840 # Check whether --enable-optimise or --disable-optimise was given.
3841 if test "${enable_optimise+set}" = set; then
3842 enableval="$enable_optimise"
3843
3844 if test "$enableval" = yes; then
3845 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3846 else
3847 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3848 fi
3849
3850 else
3851
3852 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 else
3856 no_cache=1
3857 fi
3858
3859 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3860
3861 fi;
3862
3863 eval "$ac_cv_use_optimise"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test "$wxUSE_OPTIMISE" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3871 else
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3874 fi
3875
3876
3877 enablestring=
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3880 no_cache=0
3881 # Check whether --enable-debug or --disable-debug was given.
3882 if test "${enable_debug+set}" = set; then
3883 enableval="$enable_debug"
3884
3885 if test "$enableval" = yes; then
3886 ac_cv_use_debug='wxUSE_DEBUG=yes'
3887 else
3888 ac_cv_use_debug='wxUSE_DEBUG=no'
3889 fi
3890
3891 else
3892
3893 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3896 else
3897 no_cache=1
3898 fi
3899
3900 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3901
3902 fi;
3903
3904 eval "$ac_cv_use_debug"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_DEBUG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3912 else
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3915 fi
3916
3917
3918 enablestring=
3919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3920 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3921 no_cache=0
3922 # Check whether --enable-stl or --disable-stl was given.
3923 if test "${enable_stl+set}" = set; then
3924 enableval="$enable_stl"
3925
3926 if test "$enableval" = yes; then
3927 ac_cv_use_stl='wxUSE_STL=yes'
3928 else
3929 ac_cv_use_stl='wxUSE_STL=no'
3930 fi
3931
3932 else
3933
3934 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3937 else
3938 no_cache=1
3939 fi
3940
3941 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3942
3943 fi;
3944
3945 eval "$ac_cv_use_stl"
3946 if test "$no_cache" != 1; then
3947 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3948 fi
3949
3950 if test "$wxUSE_STL" = yes; then
3951 echo "$as_me:$LINENO: result: yes" >&5
3952 echo "${ECHO_T}yes" >&6
3953 else
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3956 fi
3957
3958 if test "$USE_OS2" = "1"; then
3959 DEFAULT_wxUSE_OMF=no
3960
3961 enablestring=
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3964 no_cache=0
3965 # Check whether --enable-omf or --disable-omf was given.
3966 if test "${enable_omf+set}" = set; then
3967 enableval="$enable_omf"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_omf='wxUSE_OMF=yes'
3971 else
3972 ac_cv_use_omf='wxUSE_OMF=no'
3973 fi
3974
3975 else
3976
3977 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3985
3986 fi;
3987
3988 eval "$ac_cv_use_omf"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_OMF" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3996 else
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
3999 fi
4000
4001 fi
4002
4003 if test "$wxUSE_DEBUG" = "yes"; then
4004 DEFAULT_wxUSE_DEBUG_FLAG=yes
4005 DEFAULT_wxUSE_DEBUG_INFO=yes
4006 BUILD=debug
4007 elif test "$wxUSE_DEBUG" = "no"; then
4008 DEFAULT_wxUSE_DEBUG_FLAG=no
4009 DEFAULT_wxUSE_DEBUG_INFO=no
4010 BUILD=release
4011 fi
4012
4013
4014 enablestring=
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4017 no_cache=0
4018 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4019 if test "${enable_debug_flag+set}" = set; then
4020 enableval="$enable_debug_flag"
4021
4022 if test "$enableval" = yes; then
4023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4024 else
4025 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4026 fi
4027
4028 else
4029
4030 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4033 else
4034 no_cache=1
4035 fi
4036
4037 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4038
4039 fi;
4040
4041 eval "$ac_cv_use_debug_flag"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_DEBUG_FLAG" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054
4055 enablestring=
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4058 no_cache=0
4059 # Check whether --enable-debug_info or --disable-debug_info was given.
4060 if test "${enable_debug_info+set}" = set; then
4061 enableval="$enable_debug_info"
4062
4063 if test "$enableval" = yes; then
4064 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4065 else
4066 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4079
4080 fi;
4081
4082 eval "$ac_cv_use_debug_info"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test "$wxUSE_DEBUG_INFO" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4101 if test "${enable_debug_gdb+set}" = set; then
4102 enableval="$enable_debug_gdb"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4106 else
4107 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4120
4121 fi;
4122
4123 eval "$ac_cv_use_debug_gdb"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$wxUSE_DEBUG_GDB" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4142 if test "${enable_debug_cntxt+set}" = set; then
4143 enableval="$enable_debug_cntxt"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4147 else
4148 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4161
4162 fi;
4163
4164 eval "$ac_cv_use_debug_cntxt"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178 enablestring=
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4181 no_cache=0
4182 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4183 if test "${enable_mem_tracing+set}" = set; then
4184 enableval="$enable_mem_tracing"
4185
4186 if test "$enableval" = yes; then
4187 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4188 else
4189 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4190 fi
4191
4192 else
4193
4194 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 else
4198 no_cache=1
4199 fi
4200
4201 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4202
4203 fi;
4204
4205 eval "$ac_cv_use_mem_tracing"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4208 fi
4209
4210 if test "$wxUSE_MEM_TRACING" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4213 else
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4216 fi
4217
4218
4219 enablestring=
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4222 no_cache=0
4223 # Check whether --enable-profile or --disable-profile was given.
4224 if test "${enable_profile+set}" = set; then
4225 enableval="$enable_profile"
4226
4227 if test "$enableval" = yes; then
4228 ac_cv_use_profile='wxUSE_PROFILE=yes'
4229 else
4230 ac_cv_use_profile='wxUSE_PROFILE=no'
4231 fi
4232
4233 else
4234
4235 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4238 else
4239 no_cache=1
4240 fi
4241
4242 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4243
4244 fi;
4245
4246 eval "$ac_cv_use_profile"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4249 fi
4250
4251 if test "$wxUSE_PROFILE" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4254 else
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4257 fi
4258
4259
4260 enablestring=
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4263 no_cache=0
4264 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4265 if test "${enable_no_rtti+set}" = set; then
4266 enableval="$enable_no_rtti"
4267
4268 if test "$enableval" = yes; then
4269 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4270 else
4271 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4272 fi
4273
4274 else
4275
4276 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4279 else
4280 no_cache=1
4281 fi
4282
4283 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4284
4285 fi;
4286
4287 eval "$ac_cv_use_no_rtti"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4290 fi
4291
4292 if test "$wxUSE_NO_RTTI" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4295 else
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4298 fi
4299
4300
4301 enablestring=
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4304 no_cache=0
4305 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4306 if test "${enable_no_exceptions+set}" = set; then
4307 enableval="$enable_no_exceptions"
4308
4309 if test "$enableval" = yes; then
4310 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4311 else
4312 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4313 fi
4314
4315 else
4316
4317 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4320 else
4321 no_cache=1
4322 fi
4323
4324 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4325
4326 fi;
4327
4328 eval "$ac_cv_use_no_exceptions"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4336 else
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4339 fi
4340
4341
4342 enablestring=
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4345 no_cache=0
4346 # Check whether --enable-permissive or --disable-permissive was given.
4347 if test "${enable_permissive+set}" = set; then
4348 enableval="$enable_permissive"
4349
4350 if test "$enableval" = yes; then
4351 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4352 else
4353 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4354 fi
4355
4356 else
4357
4358 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4361 else
4362 no_cache=1
4363 fi
4364
4365 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4366
4367 fi;
4368
4369 eval "$ac_cv_use_permissive"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4372 fi
4373
4374 if test "$wxUSE_PERMISSIVE" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4377 else
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4380 fi
4381
4382
4383 enablestring=
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4386 no_cache=0
4387 # Check whether --enable-no_deps or --disable-no_deps was given.
4388 if test "${enable_no_deps+set}" = set; then
4389 enableval="$enable_no_deps"
4390
4391 if test "$enableval" = yes; then
4392 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4393 else
4394 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4395 fi
4396
4397 else
4398
4399 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4402 else
4403 no_cache=1
4404 fi
4405
4406 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4407
4408 fi;
4409
4410 eval "$ac_cv_use_no_deps"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4413 fi
4414
4415 if test "$wxUSE_NO_DEPS" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4418 else
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4421 fi
4422
4423
4424 enablestring=
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4427 no_cache=0
4428 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4429 if test "${enable_vararg_macros+set}" = set; then
4430 enableval="$enable_vararg_macros"
4431
4432 if test "$enableval" = yes; then
4433 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4434 else
4435 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4436 fi
4437
4438 else
4439
4440 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4443 else
4444 no_cache=1
4445 fi
4446
4447 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4448
4449 fi;
4450
4451 eval "$ac_cv_use_vararg_macros"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4454 fi
4455
4456 if test "$wxUSE_VARARG_MACROS" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459 else
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462 fi
4463
4464
4465 enablestring=
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4468 no_cache=0
4469 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4470 if test "${enable_universal_binary+set}" = set; then
4471 enableval="$enable_universal_binary"
4472
4473 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4474
4475 else
4476
4477 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4481 else
4482 no_cache=1
4483 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4484 fi
4485
4486 fi;
4487
4488 eval "$wx_cv_use_universal_binary"
4489 if test "$no_cache" != 1; then
4490 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4491 fi
4492
4493 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4494 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4495
4496
4497
4498 enablestring=enable
4499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4501 no_cache=0
4502 # Check whether --enable-compat24 or --disable-compat24 was given.
4503 if test "${enable_compat24+set}" = set; then
4504 enableval="$enable_compat24"
4505
4506 if test "$enableval" = yes; then
4507 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4508 else
4509 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4510 fi
4511
4512 else
4513
4514 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x ; then
4516 eval "DEFAULT_$LINE"
4517 else
4518 no_cache=1
4519 fi
4520
4521 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4522
4523 fi;
4524
4525 eval "$ac_cv_use_compat24"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4528 fi
4529
4530 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4531 echo "$as_me:$LINENO: result: yes" >&5
4532 echo "${ECHO_T}yes" >&6
4533 else
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4536 fi
4537
4538
4539 enablestring=disable
4540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4542 no_cache=0
4543 # Check whether --enable-compat26 or --disable-compat26 was given.
4544 if test "${enable_compat26+set}" = set; then
4545 enableval="$enable_compat26"
4546
4547 if test "$enableval" = yes; then
4548 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4549 else
4550 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4551 fi
4552
4553 else
4554
4555 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x ; then
4557 eval "DEFAULT_$LINE"
4558 else
4559 no_cache=1
4560 fi
4561
4562 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4563
4564 fi;
4565
4566 eval "$ac_cv_use_compat26"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4572 echo "$as_me:$LINENO: result: yes" >&5
4573 echo "${ECHO_T}yes" >&6
4574 else
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4577 fi
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-rpath or --disable-rpath was given.
4586 if test "${enable_rpath+set}" = set; then
4587 enableval="$enable_rpath"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_rpath='wxUSE_RPATH=yes'
4591 else
4592 ac_cv_use_rpath='wxUSE_RPATH=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4605
4606 fi;
4607
4608 eval "$ac_cv_use_rpath"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_RPATH" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622
4623
4624
4625 enablestring=
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-intl or --disable-intl was given.
4630 if test "${enable_intl+set}" = set; then
4631 enableval="$enable_intl"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_intl='wxUSE_INTL=yes'
4635 else
4636 ac_cv_use_intl='wxUSE_INTL=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4649
4650 fi;
4651
4652 eval "$ac_cv_use_intl"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_INTL" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665
4666 enablestring=
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4669 no_cache=0
4670 # Check whether --enable-config or --disable-config was given.
4671 if test "${enable_config+set}" = set; then
4672 enableval="$enable_config"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_config='wxUSE_CONFIG=yes'
4676 else
4677 ac_cv_use_config='wxUSE_CONFIG=no'
4678 fi
4679
4680 else
4681
4682 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4690
4691 fi;
4692
4693 eval "$ac_cv_use_config"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_CONFIG" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 fi
4705
4706
4707
4708 enablestring=
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4711 no_cache=0
4712 # Check whether --enable-protocols or --disable-protocols was given.
4713 if test "${enable_protocols+set}" = set; then
4714 enableval="$enable_protocols"
4715
4716 if test "$enableval" = yes; then
4717 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4718 else
4719 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4720 fi
4721
4722 else
4723
4724 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4727 else
4728 no_cache=1
4729 fi
4730
4731 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4732
4733 fi;
4734
4735 eval "$ac_cv_use_protocols"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4738 fi
4739
4740 if test "$wxUSE_PROTOCOL" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4743 else
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4746 fi
4747
4748
4749 enablestring=
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4752 no_cache=0
4753 # Check whether --enable-ftp or --disable-ftp was given.
4754 if test "${enable_ftp+set}" = set; then
4755 enableval="$enable_ftp"
4756
4757 if test "$enableval" = yes; then
4758 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4759 else
4760 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4761 fi
4762
4763 else
4764
4765 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4768 else
4769 no_cache=1
4770 fi
4771
4772 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4773
4774 fi;
4775
4776 eval "$ac_cv_use_ftp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4784 else
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4787 fi
4788
4789
4790 enablestring=
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4793 no_cache=0
4794 # Check whether --enable-http or --disable-http was given.
4795 if test "${enable_http+set}" = set; then
4796 enableval="$enable_http"
4797
4798 if test "$enableval" = yes; then
4799 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4800 else
4801 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4814
4815 fi;
4816
4817 eval "$ac_cv_use_http"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4820 fi
4821
4822 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4825 else
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4828 fi
4829
4830
4831 enablestring=
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4834 no_cache=0
4835 # Check whether --enable-fileproto or --disable-fileproto was given.
4836 if test "${enable_fileproto+set}" = set; then
4837 enableval="$enable_fileproto"
4838
4839 if test "$enableval" = yes; then
4840 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4841 else
4842 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4855
4856 fi;
4857
4858 eval "$ac_cv_use_fileproto"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4866 else
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4869 fi
4870
4871
4872 enablestring=
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4875 no_cache=0
4876 # Check whether --enable-sockets or --disable-sockets was given.
4877 if test "${enable_sockets+set}" = set; then
4878 enableval="$enable_sockets"
4879
4880 if test "$enableval" = yes; then
4881 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4882 else
4883 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4896
4897 fi;
4898
4899 eval "$ac_cv_use_sockets"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4902 fi
4903
4904 if test "$wxUSE_SOCKETS" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4907 else
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4910 fi
4911
4912
4913 enablestring=
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4916 no_cache=0
4917 # Check whether --enable-ole or --disable-ole was given.
4918 if test "${enable_ole+set}" = set; then
4919 enableval="$enable_ole"
4920
4921 if test "$enableval" = yes; then
4922 ac_cv_use_ole='wxUSE_OLE=yes'
4923 else
4924 ac_cv_use_ole='wxUSE_OLE=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4937
4938 fi;
4939
4940 eval "$ac_cv_use_ole"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test "$wxUSE_OLE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4948 else
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4951 fi
4952
4953
4954 enablestring=
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4957 no_cache=0
4958 # Check whether --enable-dataobj or --disable-dataobj was given.
4959 if test "${enable_dataobj+set}" = set; then
4960 enableval="$enable_dataobj"
4961
4962 if test "$enableval" = yes; then
4963 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4964 else
4965 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4978
4979 fi;
4980
4981 eval "$ac_cv_use_dataobj"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4984 fi
4985
4986 if test "$wxUSE_DATAOBJ" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4989 else
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4992 fi
4993
4994
4995
4996 enablestring=
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4999 no_cache=0
5000 # Check whether --enable-ipc or --disable-ipc was given.
5001 if test "${enable_ipc+set}" = set; then
5002 enableval="$enable_ipc"
5003
5004 if test "$enableval" = yes; then
5005 ac_cv_use_ipc='wxUSE_IPC=yes'
5006 else
5007 ac_cv_use_ipc='wxUSE_IPC=no'
5008 fi
5009
5010 else
5011
5012 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5015 else
5016 no_cache=1
5017 fi
5018
5019 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5020
5021 fi;
5022
5023 eval "$ac_cv_use_ipc"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_IPC" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5031 else
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5034 fi
5035
5036
5037
5038 enablestring=
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5043 if test "${enable_apple_ieee+set}" = set; then
5044 enableval="$enable_apple_ieee"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5048 else
5049 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5062
5063 fi;
5064
5065 eval "$ac_cv_use_apple_ieee"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_APPLE_IEEE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5073 else
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5076 fi
5077
5078
5079 enablestring=
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-arcstream or --disable-arcstream was given.
5084 if test "${enable_arcstream+set}" = set; then
5085 enableval="$enable_arcstream"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5089 else
5090 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5103
5104 fi;
5105
5106 eval "$ac_cv_use_arcstream"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5114 else
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 fi
5118
5119
5120 enablestring=
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-backtrace or --disable-backtrace was given.
5125 if test "${enable_backtrace+set}" = set; then
5126 enableval="$enable_backtrace"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5130 else
5131 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5144
5145 fi;
5146
5147 eval "$ac_cv_use_backtrace"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_STACKWALKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5155 else
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5158 fi
5159
5160
5161 enablestring=
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5166 if test "${enable_catch_segvs+set}" = set; then
5167 enableval="$enable_catch_segvs"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5171 else
5172 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5185
5186 fi;
5187
5188 eval "$ac_cv_use_catch_segvs"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201
5202 enablestring=
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-cmdline or --disable-cmdline was given.
5207 if test "${enable_cmdline+set}" = set; then
5208 enableval="$enable_cmdline"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5212 else
5213 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5226
5227 fi;
5228
5229 eval "$ac_cv_use_cmdline"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5240 fi
5241
5242
5243 enablestring=
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-datetime or --disable-datetime was given.
5248 if test "${enable_datetime+set}" = set; then
5249 enableval="$enable_datetime"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5253 else
5254 ac_cv_use_datetime='wxUSE_DATETIME=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5267
5268 fi;
5269
5270 eval "$ac_cv_use_datetime"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_DATETIME" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5278 else
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5281 fi
5282
5283
5284 enablestring=
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5287 no_cache=0
5288 # Check whether --enable-debugreport or --disable-debugreport was given.
5289 if test "${enable_debugreport+set}" = set; then
5290 enableval="$enable_debugreport"
5291
5292 if test "$enableval" = yes; then
5293 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5294 else
5295 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5296 fi
5297
5298 else
5299
5300 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 else
5304 no_cache=1
5305 fi
5306
5307 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5308
5309 fi;
5310
5311 eval "$ac_cv_use_debugreport"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_DEBUGREPORT" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5319 else
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5322 fi
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-dialupman or --disable-dialupman was given.
5330 if test "${enable_dialupman+set}" = set; then
5331 enableval="$enable_dialupman"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5335 else
5336 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 else
5345 no_cache=1
5346 fi
5347
5348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5349
5350 fi;
5351
5352 eval "$ac_cv_use_dialupman"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5360 else
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5363 fi
5364
5365
5366 enablestring=
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-dynlib or --disable-dynlib was given.
5371 if test "${enable_dynlib+set}" = set; then
5372 enableval="$enable_dynlib"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5376 else
5377 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5390
5391 fi;
5392
5393 eval "$ac_cv_use_dynlib"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5401 else
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5404 fi
5405
5406
5407 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5412 if test "${enable_dynamicloader+set}" = set; then
5413 enableval="$enable_dynamicloader"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5417 else
5418 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5431
5432 fi;
5433
5434 eval "$ac_cv_use_dynamicloader"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-exceptions or --disable-exceptions was given.
5453 if test "${enable_exceptions+set}" = set; then
5454 enableval="$enable_exceptions"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5458 else
5459 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5472
5473 fi;
5474
5475 eval "$ac_cv_use_exceptions"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_EXCEPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-ffile or --disable-ffile was given.
5494 if test "${enable_ffile+set}" = set; then
5495 enableval="$enable_ffile"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_ffile='wxUSE_FFILE=yes'
5499 else
5500 ac_cv_use_ffile='wxUSE_FFILE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5513
5514 fi;
5515
5516 eval "$ac_cv_use_ffile"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_FFILE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-file or --disable-file was given.
5535 if test "${enable_file+set}" = set; then
5536 enableval="$enable_file"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_file='wxUSE_FILE=yes'
5540 else
5541 ac_cv_use_file='wxUSE_FILE=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5554
5555 fi;
5556
5557 eval "$ac_cv_use_file"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_FILE" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-filesystem or --disable-filesystem was given.
5576 if test "${enable_filesystem+set}" = set; then
5577 enableval="$enable_filesystem"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5581 else
5582 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5595
5596 fi;
5597
5598 eval "$ac_cv_use_filesystem"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_FILESYSTEM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-fontmap or --disable-fontmap was given.
5617 if test "${enable_fontmap+set}" = set; then
5618 enableval="$enable_fontmap"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5622 else
5623 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5636
5637 fi;
5638
5639 eval "$ac_cv_use_fontmap"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_FONTMAP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653 enablestring=
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5656 no_cache=0
5657 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5658 if test "${enable_fs_archive+set}" = set; then
5659 enableval="$enable_fs_archive"
5660
5661 if test "$enableval" = yes; then
5662 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5663 else
5664 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5665 fi
5666
5667 else
5668
5669 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5677
5678 fi;
5679
5680 eval "$ac_cv_use_fs_archive"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test "$wxUSE_FS_ARCHIVE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5688 else
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5691 fi
5692
5693
5694 enablestring=
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5697 no_cache=0
5698 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5699 if test "${enable_fs_inet+set}" = set; then
5700 enableval="$enable_fs_inet"
5701
5702 if test "$enableval" = yes; then
5703 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5704 else
5705 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5706 fi
5707
5708 else
5709
5710 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5713 else
5714 no_cache=1
5715 fi
5716
5717 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5718
5719 fi;
5720
5721 eval "$ac_cv_use_fs_inet"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5724 fi
5725
5726 if test "$wxUSE_FS_INET" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5729 else
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5732 fi
5733
5734
5735 enablestring=
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5738 no_cache=0
5739 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5740 if test "${enable_fs_zip+set}" = set; then
5741 enableval="$enable_fs_zip"
5742
5743 if test "$enableval" = yes; then
5744 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5745 else
5746 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5747 fi
5748
5749 else
5750
5751 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 else
5755 no_cache=1
5756 fi
5757
5758 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5759
5760 fi;
5761
5762 eval "$ac_cv_use_fs_zip"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5765 fi
5766
5767 if test "$wxUSE_FS_ZIP" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5770 else
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5773 fi
5774
5775
5776 enablestring=
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5779 no_cache=0
5780 # Check whether --enable-geometry or --disable-geometry was given.
5781 if test "${enable_geometry+set}" = set; then
5782 enableval="$enable_geometry"
5783
5784 if test "$enableval" = yes; then
5785 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5786 else
5787 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5788 fi
5789
5790 else
5791
5792 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5795 else
5796 no_cache=1
5797 fi
5798
5799 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5800
5801 fi;
5802
5803 eval "$ac_cv_use_geometry"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5806 fi
5807
5808 if test "$wxUSE_GEOMETRY" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5811 else
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5814 fi
5815
5816
5817 enablestring=
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5820 no_cache=0
5821 # Check whether --enable-log or --disable-log was given.
5822 if test "${enable_log+set}" = set; then
5823 enableval="$enable_log"
5824
5825 if test "$enableval" = yes; then
5826 ac_cv_use_log='wxUSE_LOG=yes'
5827 else
5828 ac_cv_use_log='wxUSE_LOG=no'
5829 fi
5830
5831 else
5832
5833 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5836 else
5837 no_cache=1
5838 fi
5839
5840 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5841
5842 fi;
5843
5844 eval "$ac_cv_use_log"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5847 fi
5848
5849 if test "$wxUSE_LOG" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5852 else
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5855 fi
5856
5857
5858 enablestring=
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5861 no_cache=0
5862 # Check whether --enable-longlong or --disable-longlong was given.
5863 if test "${enable_longlong+set}" = set; then
5864 enableval="$enable_longlong"
5865
5866 if test "$enableval" = yes; then
5867 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5868 else
5869 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5870 fi
5871
5872 else
5873
5874 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5877 else
5878 no_cache=1
5879 fi
5880
5881 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5882
5883 fi;
5884
5885 eval "$ac_cv_use_longlong"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5888 fi
5889
5890 if test "$wxUSE_LONGLONG" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5893 else
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5896 fi
5897
5898
5899 enablestring=
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5902 no_cache=0
5903 # Check whether --enable-mimetype or --disable-mimetype was given.
5904 if test "${enable_mimetype+set}" = set; then
5905 enableval="$enable_mimetype"
5906
5907 if test "$enableval" = yes; then
5908 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5909 else
5910 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5911 fi
5912
5913 else
5914
5915 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 else
5919 no_cache=1
5920 fi
5921
5922 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5923
5924 fi;
5925
5926 eval "$ac_cv_use_mimetype"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test "$wxUSE_MIMETYPE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5934 else
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5937 fi
5938
5939
5940 enablestring=
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5943 no_cache=0
5944 # Check whether --enable-mslu or --disable-mslu was given.
5945 if test "${enable_mslu+set}" = set; then
5946 enableval="$enable_mslu"
5947
5948 if test "$enableval" = yes; then
5949 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5950 else
5951 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5952 fi
5953
5954 else
5955
5956 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5959 else
5960 no_cache=1
5961 fi
5962
5963 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5964
5965 fi;
5966
5967 eval "$ac_cv_use_mslu"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5970 fi
5971
5972 if test "$wxUSE_UNICODE_MSLU" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5975 else
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5978 fi
5979
5980
5981 enablestring=
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5984 no_cache=0
5985 # Check whether --enable-snglinst or --disable-snglinst was given.
5986 if test "${enable_snglinst+set}" = set; then
5987 enableval="$enable_snglinst"
5988
5989 if test "$enableval" = yes; then
5990 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5991 else
5992 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5993 fi
5994
5995 else
5996
5997 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6000 else
6001 no_cache=1
6002 fi
6003
6004 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6005
6006 fi;
6007
6008 eval "$ac_cv_use_snglinst"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6011 fi
6012
6013 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6016 else
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6019 fi
6020
6021
6022 enablestring=
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6025 no_cache=0
6026 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6027 if test "${enable_std_iostreams+set}" = set; then
6028 enableval="$enable_std_iostreams"
6029
6030 if test "$enableval" = yes; then
6031 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6032 else
6033 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6034 fi
6035
6036 else
6037
6038 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6041 else
6042 no_cache=1
6043 fi
6044
6045 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6046
6047 fi;
6048
6049 eval "$ac_cv_use_std_iostreams"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6052 fi
6053
6054 if test "$wxUSE_STD_IOSTREAM" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6057 else
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6060 fi
6061
6062
6063 enablestring=
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6066 no_cache=0
6067 # Check whether --enable-std_string or --disable-std_string was given.
6068 if test "${enable_std_string+set}" = set; then
6069 enableval="$enable_std_string"
6070
6071 if test "$enableval" = yes; then
6072 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6073 else
6074 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6075 fi
6076
6077 else
6078
6079 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 else
6083 no_cache=1
6084 fi
6085
6086 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6087
6088 fi;
6089
6090 eval "$ac_cv_use_std_string"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_STD_STRING" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6098 else
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6101 fi
6102
6103
6104 enablestring=
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6107 no_cache=0
6108 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6109 if test "${enable_stdpaths+set}" = set; then
6110 enableval="$enable_stdpaths"
6111
6112 if test "$enableval" = yes; then
6113 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6114 else
6115 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6116 fi
6117
6118 else
6119
6120 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6123 else
6124 no_cache=1
6125 fi
6126
6127 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6128
6129 fi;
6130
6131 eval "$ac_cv_use_stdpaths"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_STDPATHS" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6139 else
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6142 fi
6143
6144
6145 enablestring=
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6148 no_cache=0
6149 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6150 if test "${enable_stopwatch+set}" = set; then
6151 enableval="$enable_stopwatch"
6152
6153 if test "$enableval" = yes; then
6154 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6155 else
6156 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6157 fi
6158
6159 else
6160
6161 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6164 else
6165 no_cache=1
6166 fi
6167
6168 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6169
6170 fi;
6171
6172 eval "$ac_cv_use_stopwatch"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6175 fi
6176
6177 if test "$wxUSE_STOPWATCH" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6180 else
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6183 fi
6184
6185
6186 enablestring=
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6189 no_cache=0
6190 # Check whether --enable-streams or --disable-streams was given.
6191 if test "${enable_streams+set}" = set; then
6192 enableval="$enable_streams"
6193
6194 if test "$enableval" = yes; then
6195 ac_cv_use_streams='wxUSE_STREAMS=yes'
6196 else
6197 ac_cv_use_streams='wxUSE_STREAMS=no'
6198 fi
6199
6200 else
6201
6202 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6205 else
6206 no_cache=1
6207 fi
6208
6209 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6210
6211 fi;
6212
6213 eval "$ac_cv_use_streams"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_STREAMS" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6221 else
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6224 fi
6225
6226
6227 enablestring=
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6230 no_cache=0
6231 # Check whether --enable-system_options or --disable-system_options was given.
6232 if test "${enable_system_options+set}" = set; then
6233 enableval="$enable_system_options"
6234
6235 if test "$enableval" = yes; then
6236 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6237 else
6238 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6239 fi
6240
6241 else
6242
6243 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6246 else
6247 no_cache=1
6248 fi
6249
6250 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6251
6252 fi;
6253
6254 eval "$ac_cv_use_system_options"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6257 fi
6258
6259 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6262 else
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6265 fi
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-tarstream or --disable-tarstream was given.
6273 if test "${enable_tarstream+set}" = set; then
6274 enableval="$enable_tarstream"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6278 else
6279 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6280 fi
6281
6282 else
6283
6284 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6292
6293 fi;
6294
6295 eval "$ac_cv_use_tarstream"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_TARSTREAM" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-textbuf or --disable-textbuf was given.
6314 if test "${enable_textbuf+set}" = set; then
6315 enableval="$enable_textbuf"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6319 else
6320 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6321 fi
6322
6323 else
6324
6325 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6333
6334 fi;
6335
6336 eval "$ac_cv_use_textbuf"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_TEXTBUFFER" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350 enablestring=
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6353 no_cache=0
6354 # Check whether --enable-textfile or --disable-textfile was given.
6355 if test "${enable_textfile+set}" = set; then
6356 enableval="$enable_textfile"
6357
6358 if test "$enableval" = yes; then
6359 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6360 else
6361 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6362 fi
6363
6364 else
6365
6366 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6369 else
6370 no_cache=1
6371 fi
6372
6373 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6374
6375 fi;
6376
6377 eval "$ac_cv_use_textfile"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6380 fi
6381
6382 if test "$wxUSE_TEXTFILE" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6385 else
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6388 fi
6389
6390
6391 enablestring=
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6394 no_cache=0
6395 # Check whether --enable-timer or --disable-timer was given.
6396 if test "${enable_timer+set}" = set; then
6397 enableval="$enable_timer"
6398
6399 if test "$enableval" = yes; then
6400 ac_cv_use_timer='wxUSE_TIMER=yes'
6401 else
6402 ac_cv_use_timer='wxUSE_TIMER=no'
6403 fi
6404
6405 else
6406
6407 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6410 else
6411 no_cache=1
6412 fi
6413
6414 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6415
6416 fi;
6417
6418 eval "$ac_cv_use_timer"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6421 fi
6422
6423 if test "$wxUSE_TIMER" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6426 else
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6429 fi
6430
6431
6432 enablestring=
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6435 no_cache=0
6436 # Check whether --enable-unicode or --disable-unicode was given.
6437 if test "${enable_unicode+set}" = set; then
6438 enableval="$enable_unicode"
6439
6440 if test "$enableval" = yes; then
6441 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6442 else
6443 ac_cv_use_unicode='wxUSE_UNICODE=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6456
6457 fi;
6458
6459 eval "$ac_cv_use_unicode"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_UNICODE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6467 else
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6470 fi
6471
6472
6473 enablestring=
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6476 no_cache=0
6477 # Check whether --enable-sound or --disable-sound was given.
6478 if test "${enable_sound+set}" = set; then
6479 enableval="$enable_sound"
6480
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sound='wxUSE_SOUND=yes'
6483 else
6484 ac_cv_use_sound='wxUSE_SOUND=no'
6485 fi
6486
6487 else
6488
6489 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6492 else
6493 no_cache=1
6494 fi
6495
6496 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6497
6498 fi;
6499
6500 eval "$ac_cv_use_sound"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_SOUND" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6508 else
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6511 fi
6512
6513
6514 enablestring=
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6517 no_cache=0
6518 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6519 if test "${enable_mediactrl+set}" = set; then
6520 enableval="$enable_mediactrl"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6524 else
6525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6538
6539 fi;
6540
6541 eval "$ac_cv_use_mediactrl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_MEDIACTRL" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6549 else
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6560 if test "${enable_gstreamer8+set}" = set; then
6561 enableval="$enable_gstreamer8"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6565 else
6566 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6579
6580 fi;
6581
6582 eval "$ac_cv_use_gstreamer8"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_GSTREAMER8" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6601 if test "${enable_printfposparam+set}" = set; then
6602 enableval="$enable_printfposparam"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6606 else
6607 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6620
6621 fi;
6622
6623 eval "$ac_cv_use_printfposparam"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-zipstream or --disable-zipstream was given.
6642 if test "${enable_zipstream+set}" = set; then
6643 enableval="$enable_zipstream"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6647 else
6648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6661
6662 fi;
6663
6664 eval "$ac_cv_use_zipstream"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_ZIPSTREAM" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678
6679 enablestring=
6680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6682 no_cache=0
6683 # Check whether --enable-url or --disable-url was given.
6684 if test "${enable_url+set}" = set; then
6685 enableval="$enable_url"
6686
6687 if test "$enableval" = yes; then
6688 ac_cv_use_url='wxUSE_URL=yes'
6689 else
6690 ac_cv_use_url='wxUSE_URL=no'
6691 fi
6692
6693 else
6694
6695 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6696 if test "x$LINE" != x ; then
6697 eval "DEFAULT_$LINE"
6698 else
6699 no_cache=1
6700 fi
6701
6702 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6703
6704 fi;
6705
6706 eval "$ac_cv_use_url"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6709 fi
6710
6711 if test "$wxUSE_URL" = yes; then
6712 echo "$as_me:$LINENO: result: yes" >&5
6713 echo "${ECHO_T}yes" >&6
6714 else
6715 echo "$as_me:$LINENO: result: no" >&5
6716 echo "${ECHO_T}no" >&6
6717 fi
6718
6719
6720 enablestring=
6721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6723 no_cache=0
6724 # Check whether --enable-variant or --disable-variant was given.
6725 if test "${enable_variant+set}" = set; then
6726 enableval="$enable_variant"
6727
6728 if test "$enableval" = yes; then
6729 ac_cv_use_variant='wxUSE_VARIANT=yes'
6730 else
6731 ac_cv_use_variant='wxUSE_VARIANT=no'
6732 fi
6733
6734 else
6735
6736 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x ; then
6738 eval "DEFAULT_$LINE"
6739 else
6740 no_cache=1
6741 fi
6742
6743 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6744
6745 fi;
6746
6747 eval "$ac_cv_use_variant"
6748 if test "$no_cache" != 1; then
6749 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6750 fi
6751
6752 if test "$wxUSE_VARIANT" = yes; then
6753 echo "$as_me:$LINENO: result: yes" >&5
6754 echo "${ECHO_T}yes" >&6
6755 else
6756 echo "$as_me:$LINENO: result: no" >&5
6757 echo "${ECHO_T}no" >&6
6758 fi
6759
6760
6761 enablestring=
6762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6764 no_cache=0
6765 # Check whether --enable-protocol or --disable-protocol was given.
6766 if test "${enable_protocol+set}" = set; then
6767 enableval="$enable_protocol"
6768
6769 if test "$enableval" = yes; then
6770 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6771 else
6772 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6773 fi
6774
6775 else
6776
6777 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6778 if test "x$LINE" != x ; then
6779 eval "DEFAULT_$LINE"
6780 else
6781 no_cache=1
6782 fi
6783
6784 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6785
6786 fi;
6787
6788 eval "$ac_cv_use_protocol"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6791 fi
6792
6793 if test "$wxUSE_PROTOCOL" = yes; then
6794 echo "$as_me:$LINENO: result: yes" >&5
6795 echo "${ECHO_T}yes" >&6
6796 else
6797 echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6
6799 fi
6800
6801
6802 enablestring=
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6805 no_cache=0
6806 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6807 if test "${enable_protocol_http+set}" = set; then
6808 enableval="$enable_protocol_http"
6809
6810 if test "$enableval" = yes; then
6811 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6812 else
6813 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6814 fi
6815
6816 else
6817
6818 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6821 else
6822 no_cache=1
6823 fi
6824
6825 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6826
6827 fi;
6828
6829 eval "$ac_cv_use_protocol_http"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6832 fi
6833
6834 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6837 else
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6840 fi
6841
6842
6843 enablestring=
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6846 no_cache=0
6847 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6848 if test "${enable_protocol_ftp+set}" = set; then
6849 enableval="$enable_protocol_ftp"
6850
6851 if test "$enableval" = yes; then
6852 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6853 else
6854 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6855 fi
6856
6857 else
6858
6859 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6862 else
6863 no_cache=1
6864 fi
6865
6866 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6867
6868 fi;
6869
6870 eval "$ac_cv_use_protocol_ftp"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6873 fi
6874
6875 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6878 else
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6881 fi
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6889 if test "${enable_protocol_file+set}" = set; then
6890 enableval="$enable_protocol_file"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6894 else
6895 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6908
6909 fi;
6910
6911 eval "$ac_cv_use_protocol_file"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925
6926
6927
6928 enablestring=
6929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6931 no_cache=0
6932 # Check whether --enable-threads or --disable-threads was given.
6933 if test "${enable_threads+set}" = set; then
6934 enableval="$enable_threads"
6935
6936 if test "$enableval" = yes; then
6937 ac_cv_use_threads='wxUSE_THREADS=yes'
6938 else
6939 ac_cv_use_threads='wxUSE_THREADS=no'
6940 fi
6941
6942 else
6943
6944 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6947 else
6948 no_cache=1
6949 fi
6950
6951 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6952
6953 fi;
6954
6955 eval "$ac_cv_use_threads"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6958 fi
6959
6960 if test "$wxUSE_THREADS" = yes; then
6961 echo "$as_me:$LINENO: result: yes" >&5
6962 echo "${ECHO_T}yes" >&6
6963 else
6964 echo "$as_me:$LINENO: result: no" >&5
6965 echo "${ECHO_T}no" >&6
6966 fi
6967
6968
6969 if test "$wxUSE_GUI" = "yes"; then
6970
6971
6972
6973 enablestring=
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6976 no_cache=0
6977 # Check whether --enable-docview or --disable-docview was given.
6978 if test "${enable_docview+set}" = set; then
6979 enableval="$enable_docview"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6983 else
6984 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6997
6998 fi;
6999
7000 eval "$ac_cv_use_docview"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7008 else
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7011 fi
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-help or --disable-help was given.
7019 if test "${enable_help+set}" = set; then
7020 enableval="$enable_help"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_help='wxUSE_HELP=yes'
7024 else
7025 ac_cv_use_help='wxUSE_HELP=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7038
7039 fi;
7040
7041 eval "$ac_cv_use_help"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_HELP" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055 enablestring=
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7058 no_cache=0
7059 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7060 if test "${enable_mshtmlhelp+set}" = set; then
7061 enableval="$enable_mshtmlhelp"
7062
7063 if test "$enableval" = yes; then
7064 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7065 else
7066 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7067 fi
7068
7069 else
7070
7071 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7074 else
7075 no_cache=1
7076 fi
7077
7078 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7079
7080 fi;
7081
7082 eval "$ac_cv_use_mshtmlhelp"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7085 fi
7086
7087 if test "$wxUSE_MS_HTML_HELP" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7090 else
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7093 fi
7094
7095
7096 enablestring=
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7099 no_cache=0
7100 # Check whether --enable-html or --disable-html was given.
7101 if test "${enable_html+set}" = set; then
7102 enableval="$enable_html"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_html='wxUSE_HTML=yes'
7106 else
7107 ac_cv_use_html='wxUSE_HTML=no'
7108 fi
7109
7110 else
7111
7112 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7120
7121 fi;
7122
7123 eval "$ac_cv_use_html"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_HTML" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7131 else
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 fi
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7142 if test "${enable_htmlhelp+set}" = set; then
7143 enableval="$enable_htmlhelp"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7147 else
7148 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7161
7162 fi;
7163
7164 eval "$ac_cv_use_htmlhelp"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_WXHTML_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-xrc or --disable-xrc was given.
7183 if test "${enable_xrc+set}" = set; then
7184 enableval="$enable_xrc"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_xrc='wxUSE_XRC=yes'
7188 else
7189 ac_cv_use_xrc='wxUSE_XRC=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7202
7203 fi;
7204
7205 eval "$ac_cv_use_xrc"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_XRC" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-aui or --disable-aui was given.
7224 if test "${enable_aui+set}" = set; then
7225 enableval="$enable_aui"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_aui='wxUSE_AUI=yes'
7229 else
7230 ac_cv_use_aui='wxUSE_AUI=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7243
7244 fi;
7245
7246 eval "$ac_cv_use_aui"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_AUI" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260 enablestring=
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7263 no_cache=0
7264 # Check whether --enable-constraints or --disable-constraints was given.
7265 if test "${enable_constraints+set}" = set; then
7266 enableval="$enable_constraints"
7267
7268 if test "$enableval" = yes; then
7269 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7270 else
7271 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7272 fi
7273
7274 else
7275
7276 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7279 else
7280 no_cache=1
7281 fi
7282
7283 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7284
7285 fi;
7286
7287 eval "$ac_cv_use_constraints"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_CONSTRAINTS" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7295 else
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7298 fi
7299
7300
7301 enablestring=
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7304 no_cache=0
7305 # Check whether --enable-printarch or --disable-printarch was given.
7306 if test "${enable_printarch+set}" = set; then
7307 enableval="$enable_printarch"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7311 else
7312 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7313 fi
7314
7315 else
7316
7317 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7325
7326 fi;
7327
7328 eval "$ac_cv_use_printarch"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7336 else
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-mdi or --disable-mdi was given.
7347 if test "${enable_mdi+set}" = set; then
7348 enableval="$enable_mdi"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_mdi='wxUSE_MDI=yes'
7352 else
7353 ac_cv_use_mdi='wxUSE_MDI=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7366
7367 fi;
7368
7369 eval "$ac_cv_use_mdi"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_MDI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7388 if test "${enable_mdidoc+set}" = set; then
7389 enableval="$enable_mdidoc"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7393 else
7394 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7407
7408 fi;
7409
7410 eval "$ac_cv_use_mdidoc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-loggui or --disable-loggui was given.
7429 if test "${enable_loggui+set}" = set; then
7430 enableval="$enable_loggui"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7434 else
7435 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7448
7449 fi;
7450
7451 eval "$ac_cv_use_loggui"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_LOGGUI" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-logwin or --disable-logwin was given.
7470 if test "${enable_logwin+set}" = set; then
7471 enableval="$enable_logwin"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7475 else
7476 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7489
7490 fi;
7491
7492 eval "$ac_cv_use_logwin"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_LOGWINDOW" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-logdialog or --disable-logdialog was given.
7511 if test "${enable_logdialog+set}" = set; then
7512 enableval="$enable_logdialog"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7516 else
7517 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7530
7531 fi;
7532
7533 eval "$ac_cv_use_logdialog"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_LOGDIALOG" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-webkit or --disable-webkit was given.
7552 if test "${enable_webkit+set}" = set; then
7553 enableval="$enable_webkit"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7557 else
7558 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7571
7572 fi;
7573
7574 eval "$ac_cv_use_webkit"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_WEBKIT" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-richtext or --disable-richtext was given.
7593 if test "${enable_richtext+set}" = set; then
7594 enableval="$enable_richtext"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7598 else
7599 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7612
7613 fi;
7614
7615 eval "$ac_cv_use_richtext"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_RICHTEXT" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7634 if test "${enable_graphics_ctx+set}" = set; then
7635 enableval="$enable_graphics_ctx"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7639 else
7640 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7653
7654 fi;
7655
7656 eval "$ac_cv_use_graphics_ctx"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-postscript or --disable-postscript was given.
7676 if test "${enable_postscript+set}" = set; then
7677 enableval="$enable_postscript"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7681 else
7682 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7695
7696 fi;
7697
7698 eval "$ac_cv_use_postscript"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_POSTSCRIPT" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712
7713
7714
7715 enablestring=
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7718 no_cache=0
7719 # Check whether --enable-prologio or --disable-prologio was given.
7720 if test "${enable_prologio+set}" = set; then
7721 enableval="$enable_prologio"
7722
7723 if test "$enableval" = yes; then
7724 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7725 else
7726 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7727 fi
7728
7729 else
7730
7731 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7734 else
7735 no_cache=1
7736 fi
7737
7738 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7739
7740 fi;
7741
7742 eval "$ac_cv_use_prologio"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7745 fi
7746
7747 if test "$wxUSE_PROLOGIO" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7750 else
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7753 fi
7754
7755
7756 enablestring=
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7759 no_cache=0
7760 # Check whether --enable-resources or --disable-resources was given.
7761 if test "${enable_resources+set}" = set; then
7762 enableval="$enable_resources"
7763
7764 if test "$enableval" = yes; then
7765 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7766 else
7767 ac_cv_use_resources='wxUSE_RESOURCES=no'
7768 fi
7769
7770 else
7771
7772 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 else
7776 no_cache=1
7777 fi
7778
7779 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7780
7781 fi;
7782
7783 eval "$ac_cv_use_resources"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test "$wxUSE_RESOURCES" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7791 else
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7794 fi
7795
7796
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-clipboard or --disable-clipboard was given.
7804 if test "${enable_clipboard+set}" = set; then
7805 enableval="$enable_clipboard"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7809 else
7810 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7823
7824 fi;
7825
7826 eval "$ac_cv_use_clipboard"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_CLIPBOARD" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-dnd or --disable-dnd was given.
7845 if test "${enable_dnd+set}" = set; then
7846 enableval="$enable_dnd"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7850 else
7851 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7864
7865 fi;
7866
7867 eval "$ac_cv_use_dnd"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-metafile or --disable-metafile was given.
7886 if test "${enable_metafile+set}" = set; then
7887 enableval="$enable_metafile"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7891 else
7892 ac_cv_use_metafile='wxUSE_METAFILE=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7905
7906 fi;
7907
7908 eval "$ac_cv_use_metafile"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_METAFILE" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922
7923
7924
7925 enablestring=
7926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7928 no_cache=0
7929 # Check whether --enable-controls or --disable-controls was given.
7930 if test "${enable_controls+set}" = set; then
7931 enableval="$enable_controls"
7932
7933 if test "$enableval" = yes; then
7934 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7935 else
7936 ac_cv_use_controls='wxUSE_CONTROLS=no'
7937 fi
7938
7939 else
7940
7941 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7944 else
7945 no_cache=1
7946 fi
7947
7948 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7949
7950 fi;
7951
7952 eval "$ac_cv_use_controls"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7955 fi
7956
7957 if test "$wxUSE_CONTROLS" = yes; then
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7960 else
7961 echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6
7963 fi
7964
7965
7966 if test "$wxUSE_CONTROLS" = "yes"; then
7967 DEFAULT_wxUSE_ACCEL=yes
7968 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7969 DEFAULT_wxUSE_BMPBUTTON=yes
7970 DEFAULT_wxUSE_BUTTON=yes
7971 DEFAULT_wxUSE_CALCTRL=yes
7972 DEFAULT_wxUSE_CARET=yes
7973 DEFAULT_wxUSE_COMBOBOX=yes
7974 DEFAULT_wxUSE_CHECKBOX=yes
7975 DEFAULT_wxUSE_CHECKLISTBOX=yes
7976 DEFAULT_wxUSE_CHOICE=yes
7977 DEFAULT_wxUSE_CHOICEBOOK=yes
7978 DEFAULT_wxUSE_COLLPANE=yes
7979 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7980 DEFAULT_wxUSE_COMBOBOX=yes
7981 DEFAULT_wxUSE_DATEPICKCTRL=yes
7982 DEFAULT_wxUSE_DISPLAY=yes
7983 DEFAULT_wxUSE_DETECT_SM=yes
7984 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7985 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7986 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7987 DEFAULT_wxUSE_GAUGE=yes
7988 DEFAULT_wxUSE_GRID=yes
7989 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7990 DEFAULT_wxUSE_DATAVIEWCTRL=no
7991 DEFAULT_wxUSE_IMAGLIST=yes
7992 DEFAULT_wxUSE_LISTBOOK=yes
7993 DEFAULT_wxUSE_LISTBOX=yes
7994 DEFAULT_wxUSE_LISTCTRL=yes
7995 DEFAULT_wxUSE_NOTEBOOK=yes
7996 DEFAULT_wxUSE_RADIOBOX=yes
7997 DEFAULT_wxUSE_RADIOBTN=yes
7998 DEFAULT_wxUSE_SASH=yes
7999 DEFAULT_wxUSE_SCROLLBAR=yes
8000 DEFAULT_wxUSE_SLIDER=yes
8001 DEFAULT_wxUSE_SPINBTN=yes
8002 DEFAULT_wxUSE_SPINCTRL=yes
8003 DEFAULT_wxUSE_SPLITTER=yes
8004 DEFAULT_wxUSE_STATBMP=yes
8005 DEFAULT_wxUSE_STATBOX=yes
8006 DEFAULT_wxUSE_STATLINE=yes
8007 DEFAULT_wxUSE_STATUSBAR=yes
8008 DEFAULT_wxUSE_TAB_DIALOG=yes
8009 DEFAULT_wxUSE_TOGGLEBTN=yes
8010 DEFAULT_wxUSE_TOOLBAR=yes
8011 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8012 DEFAULT_wxUSE_TOOLTIPS=yes
8013 DEFAULT_wxUSE_TREEBOOK=yes
8014 DEFAULT_wxUSE_TOOLBOOK=yes
8015 DEFAULT_wxUSE_TREECTRL=yes
8016 DEFAULT_wxUSE_POPUPWIN=yes
8017 DEFAULT_wxUSE_TIPWINDOW=yes
8018 elif test "$wxUSE_CONTROLS" = "no"; then
8019 DEFAULT_wxUSE_ACCEL=no
8020 DEFAULT_wxUSE_ANIMATIONCTRL=no
8021 DEFAULT_wxUSE_BMPBUTTON=no
8022 DEFAULT_wxUSE_BUTTON=no
8023 DEFAULT_wxUSE_CALCTRL=no
8024 DEFAULT_wxUSE_CARET=no
8025 DEFAULT_wxUSE_COLLPANE=no
8026 DEFAULT_wxUSE_COMBOBOX=no
8027 DEFAULT_wxUSE_CHECKBOX=no
8028 DEFAULT_wxUSE_CHECKLISTBOX=no
8029 DEFAULT_wxUSE_CHOICE=no
8030 DEFAULT_wxUSE_CHOICEBOOK=no
8031 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8032 DEFAULT_wxUSE_COMBOBOX=no
8033 DEFAULT_wxUSE_DATEPICKCTRL=no
8034 DEFAULT_wxUSE_DISPLAY=no
8035 DEFAULT_wxUSE_DETECT_SM=no
8036 DEFAULT_wxUSE_DIRPICKERCTRL=no
8037 DEFAULT_wxUSE_FILEPICKERCTRL=no
8038 DEFAULT_wxUSE_FONTPICKERCTRL=no
8039 DEFAULT_wxUSE_GAUGE=no
8040 DEFAULT_wxUSE_GRID=no
8041 DEFAULT_wxUSE_HYPERLINKCTRL=no
8042 DEFAULT_wxUSE_DATAVIEWCTRL=no
8043 DEFAULT_wxUSE_IMAGLIST=no
8044 DEFAULT_wxUSE_LISTBOOK=no
8045 DEFAULT_wxUSE_LISTBOX=no
8046 DEFAULT_wxUSE_LISTCTRL=no
8047 DEFAULT_wxUSE_NOTEBOOK=no
8048 DEFAULT_wxUSE_RADIOBOX=no
8049 DEFAULT_wxUSE_RADIOBTN=no
8050 DEFAULT_wxUSE_SASH=no
8051 DEFAULT_wxUSE_SCROLLBAR=no
8052 DEFAULT_wxUSE_SLIDER=no
8053 DEFAULT_wxUSE_SPINBTN=no
8054 DEFAULT_wxUSE_SPINCTRL=no
8055 DEFAULT_wxUSE_SPLITTER=no
8056 DEFAULT_wxUSE_STATBMP=no
8057 DEFAULT_wxUSE_STATBOX=no
8058 DEFAULT_wxUSE_STATLINE=no
8059 DEFAULT_wxUSE_STATUSBAR=no
8060 DEFAULT_wxUSE_TAB_DIALOG=no
8061 DEFAULT_wxUSE_TOGGLEBTN=no
8062 DEFAULT_wxUSE_TOOLBAR=no
8063 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8064 DEFAULT_wxUSE_TOOLTIPS=no
8065 DEFAULT_wxUSE_TREEBOOK=no
8066 DEFAULT_wxUSE_TOOLBOOK=no
8067 DEFAULT_wxUSE_TREECTRL=no
8068 DEFAULT_wxUSE_POPUPWIN=no
8069 DEFAULT_wxUSE_TIPWINDOW=no
8070 fi
8071
8072
8073 enablestring=
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8076 no_cache=0
8077 # Check whether --enable-accel or --disable-accel was given.
8078 if test "${enable_accel+set}" = set; then
8079 enableval="$enable_accel"
8080
8081 if test "$enableval" = yes; then
8082 ac_cv_use_accel='wxUSE_ACCEL=yes'
8083 else
8084 ac_cv_use_accel='wxUSE_ACCEL=no'
8085 fi
8086
8087 else
8088
8089 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 else
8093 no_cache=1
8094 fi
8095
8096 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8097
8098 fi;
8099
8100 eval "$ac_cv_use_accel"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8103 fi
8104
8105 if test "$wxUSE_ACCEL" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8108 else
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8111 fi
8112
8113
8114 enablestring=
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8117 no_cache=0
8118 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8119 if test "${enable_animatectrl+set}" = set; then
8120 enableval="$enable_animatectrl"
8121
8122 if test "$enableval" = yes; then
8123 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8124 else
8125 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8126 fi
8127
8128 else
8129
8130 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8133 else
8134 no_cache=1
8135 fi
8136
8137 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8138
8139 fi;
8140
8141 eval "$ac_cv_use_animatectrl"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8144 fi
8145
8146 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8149 else
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8152 fi
8153
8154
8155 enablestring=
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8158 no_cache=0
8159 # Check whether --enable-button or --disable-button was given.
8160 if test "${enable_button+set}" = set; then
8161 enableval="$enable_button"
8162
8163 if test "$enableval" = yes; then
8164 ac_cv_use_button='wxUSE_BUTTON=yes'
8165 else
8166 ac_cv_use_button='wxUSE_BUTTON=no'
8167 fi
8168
8169 else
8170
8171 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8174 else
8175 no_cache=1
8176 fi
8177
8178 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8179
8180 fi;
8181
8182 eval "$ac_cv_use_button"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8185 fi
8186
8187 if test "$wxUSE_BUTTON" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8190 else
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8193 fi
8194
8195
8196 enablestring=
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8199 no_cache=0
8200 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8201 if test "${enable_bmpbutton+set}" = set; then
8202 enableval="$enable_bmpbutton"
8203
8204 if test "$enableval" = yes; then
8205 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8206 else
8207 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8208 fi
8209
8210 else
8211
8212 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 else
8216 no_cache=1
8217 fi
8218
8219 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8220
8221 fi;
8222
8223 eval "$ac_cv_use_bmpbutton"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8226 fi
8227
8228 if test "$wxUSE_BMPBUTTON" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8231 else
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8234 fi
8235
8236
8237 enablestring=
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8240 no_cache=0
8241 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8242 if test "${enable_bmpcombobox+set}" = set; then
8243 enableval="$enable_bmpcombobox"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8247 else
8248 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8261
8262 fi;
8263
8264 eval "$ac_cv_use_bmpcombobox"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8267 fi
8268
8269 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8272 else
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8275 fi
8276
8277
8278 enablestring=
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8281 no_cache=0
8282 # Check whether --enable-calendar or --disable-calendar was given.
8283 if test "${enable_calendar+set}" = set; then
8284 enableval="$enable_calendar"
8285
8286 if test "$enableval" = yes; then
8287 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8288 else
8289 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8290 fi
8291
8292 else
8293
8294 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8297 else
8298 no_cache=1
8299 fi
8300
8301 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8302
8303 fi;
8304
8305 eval "$ac_cv_use_calendar"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8308 fi
8309
8310 if test "$wxUSE_CALCTRL" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8313 else
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8316 fi
8317
8318
8319 enablestring=
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8322 no_cache=0
8323 # Check whether --enable-caret or --disable-caret was given.
8324 if test "${enable_caret+set}" = set; then
8325 enableval="$enable_caret"
8326
8327 if test "$enableval" = yes; then
8328 ac_cv_use_caret='wxUSE_CARET=yes'
8329 else
8330 ac_cv_use_caret='wxUSE_CARET=no'
8331 fi
8332
8333 else
8334
8335 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8338 else
8339 no_cache=1
8340 fi
8341
8342 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8343
8344 fi;
8345
8346 eval "$ac_cv_use_caret"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8349 fi
8350
8351 if test "$wxUSE_CARET" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8354 else
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8357 fi
8358
8359
8360 enablestring=
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8363 no_cache=0
8364 # Check whether --enable-checkbox or --disable-checkbox was given.
8365 if test "${enable_checkbox+set}" = set; then
8366 enableval="$enable_checkbox"
8367
8368 if test "$enableval" = yes; then
8369 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8370 else
8371 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8372 fi
8373
8374 else
8375
8376 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8379 else
8380 no_cache=1
8381 fi
8382
8383 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8384
8385 fi;
8386
8387 eval "$ac_cv_use_checkbox"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8390 fi
8391
8392 if test "$wxUSE_CHECKBOX" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8395 else
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8398 fi
8399
8400
8401 enablestring=
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8404 no_cache=0
8405 # Check whether --enable-checklst or --disable-checklst was given.
8406 if test "${enable_checklst+set}" = set; then
8407 enableval="$enable_checklst"
8408
8409 if test "$enableval" = yes; then
8410 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8411 else
8412 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8413 fi
8414
8415 else
8416
8417 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8420 else
8421 no_cache=1
8422 fi
8423
8424 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8425
8426 fi;
8427
8428 eval "$ac_cv_use_checklst"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8431 fi
8432
8433 if test "$wxUSE_CHECKLST" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8436 else
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8439 fi
8440
8441
8442 enablestring=
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8445 no_cache=0
8446 # Check whether --enable-choice or --disable-choice was given.
8447 if test "${enable_choice+set}" = set; then
8448 enableval="$enable_choice"
8449
8450 if test "$enableval" = yes; then
8451 ac_cv_use_choice='wxUSE_CHOICE=yes'
8452 else
8453 ac_cv_use_choice='wxUSE_CHOICE=no'
8454 fi
8455
8456 else
8457
8458 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8461 else
8462 no_cache=1
8463 fi
8464
8465 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8466
8467 fi;
8468
8469 eval "$ac_cv_use_choice"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8472 fi
8473
8474 if test "$wxUSE_CHOICE" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8477 else
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8480 fi
8481
8482
8483 enablestring=
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8486 no_cache=0
8487 # Check whether --enable-choicebook or --disable-choicebook was given.
8488 if test "${enable_choicebook+set}" = set; then
8489 enableval="$enable_choicebook"
8490
8491 if test "$enableval" = yes; then
8492 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8493 else
8494 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8495 fi
8496
8497 else
8498
8499 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 else
8503 no_cache=1
8504 fi
8505
8506 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8507
8508 fi;
8509
8510 eval "$ac_cv_use_choicebook"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8513 fi
8514
8515 if test "$wxUSE_CHOICEBOOK" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8518 else
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8521 fi
8522
8523
8524 enablestring=
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8527 no_cache=0
8528 # Check whether --enable-collpane or --disable-collpane was given.
8529 if test "${enable_collpane+set}" = set; then
8530 enableval="$enable_collpane"
8531
8532 if test "$enableval" = yes; then
8533 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8534 else
8535 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8543 else
8544 no_cache=1
8545 fi
8546
8547 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8548
8549 fi;
8550
8551 eval "$ac_cv_use_collpane"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8554 fi
8555
8556 if test "$wxUSE_COLLPANE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8559 else
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8562 fi
8563
8564
8565 enablestring=
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8568 no_cache=0
8569 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8570 if test "${enable_colourpicker+set}" = set; then
8571 enableval="$enable_colourpicker"
8572
8573 if test "$enableval" = yes; then
8574 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8575 else
8576 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8577 fi
8578
8579 else
8580
8581 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8584 else
8585 no_cache=1
8586 fi
8587
8588 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8589
8590 fi;
8591
8592 eval "$ac_cv_use_colourpicker"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8595 fi
8596
8597 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8600 else
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8603 fi
8604
8605
8606 enablestring=
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8609 no_cache=0
8610 # Check whether --enable-combobox or --disable-combobox was given.
8611 if test "${enable_combobox+set}" = set; then
8612 enableval="$enable_combobox"
8613
8614 if test "$enableval" = yes; then
8615 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8616 else
8617 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8618 fi
8619
8620 else
8621
8622 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 else
8626 no_cache=1
8627 fi
8628
8629 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8630
8631 fi;
8632
8633 eval "$ac_cv_use_combobox"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test "$wxUSE_COMBOBOX" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8641 else
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8644 fi
8645
8646
8647 enablestring=
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8650 no_cache=0
8651 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8652 if test "${enable_comboctrl+set}" = set; then
8653 enableval="$enable_comboctrl"
8654
8655 if test "$enableval" = yes; then
8656 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8657 else
8658 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8659 fi
8660
8661 else
8662
8663 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8666 else
8667 no_cache=1
8668 fi
8669
8670 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8671
8672 fi;
8673
8674 eval "$ac_cv_use_comboctrl"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_COMBOCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8682 else
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8685 fi
8686
8687
8688 enablestring=
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8691 no_cache=0
8692 # Check whether --enable-datepick or --disable-datepick was given.
8693 if test "${enable_datepick+set}" = set; then
8694 enableval="$enable_datepick"
8695
8696 if test "$enableval" = yes; then
8697 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8698 else
8699 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8700 fi
8701
8702 else
8703
8704 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8707 else
8708 no_cache=1
8709 fi
8710
8711 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8712
8713 fi;
8714
8715 eval "$ac_cv_use_datepick"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_DATEPICKCTRL" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8723 else
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8726 fi
8727
8728
8729 enablestring=
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8732 no_cache=0
8733 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8734 if test "${enable_dirpicker+set}" = set; then
8735 enableval="$enable_dirpicker"
8736
8737 if test "$enableval" = yes; then
8738 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8739 else
8740 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8741 fi
8742
8743 else
8744
8745 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8748 else
8749 no_cache=1
8750 fi
8751
8752 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8753
8754 fi;
8755
8756 eval "$ac_cv_use_dirpicker"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8764 else
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8767 fi
8768
8769
8770 enablestring=
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8773 no_cache=0
8774 # Check whether --enable-display or --disable-display was given.
8775 if test "${enable_display+set}" = set; then
8776 enableval="$enable_display"
8777
8778 if test "$enableval" = yes; then
8779 ac_cv_use_display='wxUSE_DISPLAY=yes'
8780 else
8781 ac_cv_use_display='wxUSE_DISPLAY=no'
8782 fi
8783
8784 else
8785
8786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 else
8790 no_cache=1
8791 fi
8792
8793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8794
8795 fi;
8796
8797 eval "$ac_cv_use_display"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8800 fi
8801
8802 if test "$wxUSE_DISPLAY" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8805 else
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8808 fi
8809
8810
8811 enablestring=
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8814 no_cache=0
8815 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8816 if test "${enable_detect_sm+set}" = set; then
8817 enableval="$enable_detect_sm"
8818
8819 if test "$enableval" = yes; then
8820 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8821 else
8822 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8835
8836 fi;
8837
8838 eval "$ac_cv_use_detect_sm"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test "$wxUSE_DETECT_SM" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8846 else
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8849 fi
8850
8851
8852 enablestring=
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8855 no_cache=0
8856 # Check whether --enable-filepicker or --disable-filepicker was given.
8857 if test "${enable_filepicker+set}" = set; then
8858 enableval="$enable_filepicker"
8859
8860 if test "$enableval" = yes; then
8861 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8862 else
8863 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8876
8877 fi;
8878
8879 eval "$ac_cv_use_filepicker"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8882 fi
8883
8884 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8887 else
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8890 fi
8891
8892
8893 enablestring=
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8896 no_cache=0
8897 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8898 if test "${enable_fontpicker+set}" = set; then
8899 enableval="$enable_fontpicker"
8900
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8903 else
8904 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8905 fi
8906
8907 else
8908
8909 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8912 else
8913 no_cache=1
8914 fi
8915
8916 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8917
8918 fi;
8919
8920 eval "$ac_cv_use_fontpicker"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8923 fi
8924
8925 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8928 else
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8931 fi
8932
8933
8934 enablestring=
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8937 no_cache=0
8938 # Check whether --enable-gauge or --disable-gauge was given.
8939 if test "${enable_gauge+set}" = set; then
8940 enableval="$enable_gauge"
8941
8942 if test "$enableval" = yes; then
8943 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8944 else
8945 ac_cv_use_gauge='wxUSE_GAUGE=no'
8946 fi
8947
8948 else
8949
8950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8953 else
8954 no_cache=1
8955 fi
8956
8957 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8958
8959 fi;
8960
8961 eval "$ac_cv_use_gauge"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test "$wxUSE_GAUGE" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8969 else
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8972 fi
8973
8974
8975 enablestring=
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8978 no_cache=0
8979 # Check whether --enable-grid or --disable-grid was given.
8980 if test "${enable_grid+set}" = set; then
8981 enableval="$enable_grid"
8982
8983 if test "$enableval" = yes; then
8984 ac_cv_use_grid='wxUSE_GRID=yes'
8985 else
8986 ac_cv_use_grid='wxUSE_GRID=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8999
9000 fi;
9001
9002 eval "$ac_cv_use_grid"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9005 fi
9006
9007 if test "$wxUSE_GRID" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9010 else
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9013 fi
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9021 if test "${enable_dataviewctrl+set}" = set; then
9022 enableval="$enable_dataviewctrl"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9026 else
9027 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9040
9041 fi;
9042
9043 eval "$ac_cv_use_dataviewctrl"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9062 if test "${enable_hyperlink+set}" = set; then
9063 enableval="$enable_hyperlink"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9067 else
9068 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9081
9082 fi;
9083
9084 eval "$ac_cv_use_hyperlink"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-imaglist or --disable-imaglist was given.
9103 if test "${enable_imaglist+set}" = set; then
9104 enableval="$enable_imaglist"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9108 else
9109 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9122
9123 fi;
9124
9125 eval "$ac_cv_use_imaglist"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_IMAGLIST" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-listbook or --disable-listbook was given.
9144 if test "${enable_listbook+set}" = set; then
9145 enableval="$enable_listbook"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9149 else
9150 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9163
9164 fi;
9165
9166 eval "$ac_cv_use_listbook"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_LISTBOOK" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-listbox or --disable-listbox was given.
9185 if test "${enable_listbox+set}" = set; then
9186 enableval="$enable_listbox"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9190 else
9191 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9204
9205 fi;
9206
9207 eval "$ac_cv_use_listbox"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_LISTBOX" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-listctrl or --disable-listctrl was given.
9226 if test "${enable_listctrl+set}" = set; then
9227 enableval="$enable_listctrl"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9231 else
9232 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9245
9246 fi;
9247
9248 eval "$ac_cv_use_listctrl"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_LISTCTRL" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-notebook or --disable-notebook was given.
9267 if test "${enable_notebook+set}" = set; then
9268 enableval="$enable_notebook"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9272 else
9273 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9286
9287 fi;
9288
9289 eval "$ac_cv_use_notebook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_NOTEBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9308 if test "${enable_odcombobox+set}" = set; then
9309 enableval="$enable_odcombobox"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9313 else
9314 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9327
9328 fi;
9329
9330 eval "$ac_cv_use_odcombobox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_ODCOMBOBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-radiobox or --disable-radiobox was given.
9349 if test "${enable_radiobox+set}" = set; then
9350 enableval="$enable_radiobox"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9354 else
9355 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9368
9369 fi;
9370
9371 eval "$ac_cv_use_radiobox"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_RADIOBOX" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9390 if test "${enable_radiobtn+set}" = set; then
9391 enableval="$enable_radiobtn"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9395 else
9396 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9409
9410 fi;
9411
9412 eval "$ac_cv_use_radiobtn"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_RADIOBTN" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426 enablestring=
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9429 no_cache=0
9430 # Check whether --enable-sash or --disable-sash was given.
9431 if test "${enable_sash+set}" = set; then
9432 enableval="$enable_sash"
9433
9434 if test "$enableval" = yes; then
9435 ac_cv_use_sash='wxUSE_SASH=yes'
9436 else
9437 ac_cv_use_sash='wxUSE_SASH=no'
9438 fi
9439
9440 else
9441
9442 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9445 else
9446 no_cache=1
9447 fi
9448
9449 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9450
9451 fi;
9452
9453 eval "$ac_cv_use_sash"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9456 fi
9457
9458 if test "$wxUSE_SASH" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9461 else
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9464 fi
9465
9466
9467 enablestring=
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9470 no_cache=0
9471 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9472 if test "${enable_scrollbar+set}" = set; then
9473 enableval="$enable_scrollbar"
9474
9475 if test "$enableval" = yes; then
9476 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9477 else
9478 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9479 fi
9480
9481 else
9482
9483 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9486 else
9487 no_cache=1
9488 fi
9489
9490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9491
9492 fi;
9493
9494 eval "$ac_cv_use_scrollbar"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9497 fi
9498
9499 if test "$wxUSE_SCROLLBAR" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9502 else
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9505 fi
9506
9507
9508 enablestring=
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9511 no_cache=0
9512 # Check whether --enable-slider or --disable-slider was given.
9513 if test "${enable_slider+set}" = set; then
9514 enableval="$enable_slider"
9515
9516 if test "$enableval" = yes; then
9517 ac_cv_use_slider='wxUSE_SLIDER=yes'
9518 else
9519 ac_cv_use_slider='wxUSE_SLIDER=no'
9520 fi
9521
9522 else
9523
9524 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9527 else
9528 no_cache=1
9529 fi
9530
9531 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9532
9533 fi;
9534
9535 eval "$ac_cv_use_slider"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9538 fi
9539
9540 if test "$wxUSE_SLIDER" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9543 else
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9546 fi
9547
9548
9549 enablestring=
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9554 if test "${enable_spinbtn+set}" = set; then
9555 enableval="$enable_spinbtn"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9559 else
9560 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9573
9574 fi;
9575
9576 eval "$ac_cv_use_spinbtn"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test "$wxUSE_SPINBTN" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9584 else
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9587 fi
9588
9589
9590 enablestring=
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9593 no_cache=0
9594 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9595 if test "${enable_spinctrl+set}" = set; then
9596 enableval="$enable_spinctrl"
9597
9598 if test "$enableval" = yes; then
9599 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9600 else
9601 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9602 fi
9603
9604 else
9605
9606 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 else
9610 no_cache=1
9611 fi
9612
9613 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9614
9615 fi;
9616
9617 eval "$ac_cv_use_spinctrl"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9620 fi
9621
9622 if test "$wxUSE_SPINCTRL" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9625 else
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9628 fi
9629
9630
9631 enablestring=
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9634 no_cache=0
9635 # Check whether --enable-splitter or --disable-splitter was given.
9636 if test "${enable_splitter+set}" = set; then
9637 enableval="$enable_splitter"
9638
9639 if test "$enableval" = yes; then
9640 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9641 else
9642 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9643 fi
9644
9645 else
9646
9647 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9650 else
9651 no_cache=1
9652 fi
9653
9654 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9655
9656 fi;
9657
9658 eval "$ac_cv_use_splitter"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9661 fi
9662
9663 if test "$wxUSE_SPLITTER" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9666 else
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9669 fi
9670
9671
9672 enablestring=
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9675 no_cache=0
9676 # Check whether --enable-statbmp or --disable-statbmp was given.
9677 if test "${enable_statbmp+set}" = set; then
9678 enableval="$enable_statbmp"
9679
9680 if test "$enableval" = yes; then
9681 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9682 else
9683 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9684 fi
9685
9686 else
9687
9688 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 else
9692 no_cache=1
9693 fi
9694
9695 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9696
9697 fi;
9698
9699 eval "$ac_cv_use_statbmp"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test "$wxUSE_STATBMP" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9707 else
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9710 fi
9711
9712
9713 enablestring=
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9716 no_cache=0
9717 # Check whether --enable-statbox or --disable-statbox was given.
9718 if test "${enable_statbox+set}" = set; then
9719 enableval="$enable_statbox"
9720
9721 if test "$enableval" = yes; then
9722 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9723 else
9724 ac_cv_use_statbox='wxUSE_STATBOX=no'
9725 fi
9726
9727 else
9728
9729 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9732 else
9733 no_cache=1
9734 fi
9735
9736 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9737
9738 fi;
9739
9740 eval "$ac_cv_use_statbox"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test "$wxUSE_STATBOX" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9748 else
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9751 fi
9752
9753
9754 enablestring=
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9757 no_cache=0
9758 # Check whether --enable-statline or --disable-statline was given.
9759 if test "${enable_statline+set}" = set; then
9760 enableval="$enable_statline"
9761
9762 if test "$enableval" = yes; then
9763 ac_cv_use_statline='wxUSE_STATLINE=yes'
9764 else
9765 ac_cv_use_statline='wxUSE_STATLINE=no'
9766 fi
9767
9768 else
9769
9770 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9773 else
9774 no_cache=1
9775 fi
9776
9777 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9778
9779 fi;
9780
9781 eval "$ac_cv_use_statline"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9784 fi
9785
9786 if test "$wxUSE_STATLINE" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9789 else
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9792 fi
9793
9794
9795 enablestring=
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9798 no_cache=0
9799 # Check whether --enable-stattext or --disable-stattext was given.
9800 if test "${enable_stattext+set}" = set; then
9801 enableval="$enable_stattext"
9802
9803 if test "$enableval" = yes; then
9804 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9805 else
9806 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9819
9820 fi;
9821
9822 eval "$ac_cv_use_stattext"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9825 fi
9826
9827 if test "$wxUSE_STATTEXT" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9830 else
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9833 fi
9834
9835
9836 enablestring=
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9839 no_cache=0
9840 # Check whether --enable-statusbar or --disable-statusbar was given.
9841 if test "${enable_statusbar+set}" = set; then
9842 enableval="$enable_statusbar"
9843
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9846 else
9847 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9848 fi
9849
9850 else
9851
9852 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 else
9856 no_cache=1
9857 fi
9858
9859 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9860
9861 fi;
9862
9863 eval "$ac_cv_use_statusbar"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test "$wxUSE_STATUSBAR" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9871 else
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9874 fi
9875
9876
9877 enablestring=
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9880 no_cache=0
9881 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9882 if test "${enable_tabdialog+set}" = set; then
9883 enableval="$enable_tabdialog"
9884
9885 if test "$enableval" = yes; then
9886 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9887 else
9888 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9889 fi
9890
9891 else
9892
9893 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9896 else
9897 no_cache=1
9898 fi
9899
9900 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9901
9902 fi;
9903
9904 eval "$ac_cv_use_tabdialog"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9907 fi
9908
9909 if test "$wxUSE_TAB_DIALOG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9912 else
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9915 fi
9916
9917
9918 enablestring=
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9921 no_cache=0
9922 # Check whether --enable-textctrl or --disable-textctrl was given.
9923 if test "${enable_textctrl+set}" = set; then
9924 enableval="$enable_textctrl"
9925
9926 if test "$enableval" = yes; then
9927 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9928 else
9929 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9930 fi
9931
9932 else
9933
9934 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9937 else
9938 no_cache=1
9939 fi
9940
9941 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9942
9943 fi;
9944
9945 eval "$ac_cv_use_textctrl"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9948 fi
9949
9950 if test "$wxUSE_TEXTCTRL" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9953 else
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9956 fi
9957
9958
9959 enablestring=
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9962 no_cache=0
9963 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9964 if test "${enable_togglebtn+set}" = set; then
9965 enableval="$enable_togglebtn"
9966
9967 if test "$enableval" = yes; then
9968 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9969 else
9970 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9971 fi
9972
9973 else
9974
9975 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9978 else
9979 no_cache=1
9980 fi
9981
9982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9983
9984 fi;
9985
9986 eval "$ac_cv_use_togglebtn"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9989 fi
9990
9991 if test "$wxUSE_TOGGLEBTN" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9994 else
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
9997 fi
9998
9999
10000 enablestring=
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10003 no_cache=0
10004 # Check whether --enable-toolbar or --disable-toolbar was given.
10005 if test "${enable_toolbar+set}" = set; then
10006 enableval="$enable_toolbar"
10007
10008 if test "$enableval" = yes; then
10009 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10010 else
10011 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10012 fi
10013
10014 else
10015
10016 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10019 else
10020 no_cache=1
10021 fi
10022
10023 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10024
10025 fi;
10026
10027 eval "$ac_cv_use_toolbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10030 fi
10031
10032 if test "$wxUSE_TOOLBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10035 else
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10038 fi
10039
10040
10041 enablestring=
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10044 no_cache=0
10045 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10046 if test "${enable_tbarnative+set}" = set; then
10047 enableval="$enable_tbarnative"
10048
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10051 else
10052 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10053 fi
10054
10055 else
10056
10057 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10060 else
10061 no_cache=1
10062 fi
10063
10064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10065
10066 fi;
10067
10068 eval "$ac_cv_use_tbarnative"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10071 fi
10072
10073 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10076 else
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10079 fi
10080
10081
10082 enablestring=
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10085 no_cache=0
10086 # Check whether --enable-treebook or --disable-treebook was given.
10087 if test "${enable_treebook+set}" = set; then
10088 enableval="$enable_treebook"
10089
10090 if test "$enableval" = yes; then
10091 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10092 else
10093 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10094 fi
10095
10096 else
10097
10098 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10101 else
10102 no_cache=1
10103 fi
10104
10105 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10106
10107 fi;
10108
10109 eval "$ac_cv_use_treebook"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10112 fi
10113
10114 if test "$wxUSE_TREEBOOK" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10117 else
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10120 fi
10121
10122
10123 enablestring=
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10126 no_cache=0
10127 # Check whether --enable-toolbook or --disable-toolbook was given.
10128 if test "${enable_toolbook+set}" = set; then
10129 enableval="$enable_toolbook"
10130
10131 if test "$enableval" = yes; then
10132 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10133 else
10134 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10147
10148 fi;
10149
10150 eval "$ac_cv_use_toolbook"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10153 fi
10154
10155 if test "$wxUSE_TOOLBOOK" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10158 else
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10161 fi
10162
10163
10164 enablestring=
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10167 no_cache=0
10168 # Check whether --enable-treectrl or --disable-treectrl was given.
10169 if test "${enable_treectrl+set}" = set; then
10170 enableval="$enable_treectrl"
10171
10172 if test "$enableval" = yes; then
10173 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10174 else
10175 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10176 fi
10177
10178 else
10179
10180 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10183 else
10184 no_cache=1
10185 fi
10186
10187 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10188
10189 fi;
10190
10191 eval "$ac_cv_use_treectrl"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10194 fi
10195
10196 if test "$wxUSE_TREECTRL" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10199 else
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10202 fi
10203
10204
10205 enablestring=
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10208 no_cache=0
10209 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10210 if test "${enable_tipwindow+set}" = set; then
10211 enableval="$enable_tipwindow"
10212
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10215 else
10216 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10217 fi
10218
10219 else
10220
10221 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10224 else
10225 no_cache=1
10226 fi
10227
10228 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10229
10230 fi;
10231
10232 eval "$ac_cv_use_tipwindow"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10235 fi
10236
10237 if test "$wxUSE_TIPWINDOW" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10240 else
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10243 fi
10244
10245
10246 enablestring=
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10249 no_cache=0
10250 # Check whether --enable-popupwin or --disable-popupwin was given.
10251 if test "${enable_popupwin+set}" = set; then
10252 enableval="$enable_popupwin"
10253
10254 if test "$enableval" = yes; then
10255 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10256 else
10257 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10258 fi
10259
10260 else
10261
10262 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10265 else
10266 no_cache=1
10267 fi
10268
10269 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10270
10271 fi;
10272
10273 eval "$ac_cv_use_popupwin"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10276 fi
10277
10278 if test "$wxUSE_POPUPWIN" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10281 else
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10284 fi
10285
10286
10287
10288
10289 enablestring=
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10292 no_cache=0
10293 # Check whether --enable-commondlg or --disable-commondlg was given.
10294 if test "${enable_commondlg+set}" = set; then
10295 enableval="$enable_commondlg"
10296
10297 if test "$enableval" = yes; then
10298 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10299 else
10300 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10301 fi
10302
10303 else
10304
10305 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10308 else
10309 no_cache=1
10310 fi
10311
10312 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10313
10314 fi;
10315
10316 eval "$ac_cv_use_commondlg"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10319 fi
10320
10321 if test "$wxUSE_COMMONDLGS" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10324 else
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10327 fi
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10335 if test "${enable_aboutdlg+set}" = set; then
10336 enableval="$enable_aboutdlg"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10340 else
10341 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10354
10355 fi;
10356
10357 eval "$ac_cv_use_aboutdlg"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_ABOUTDLG" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370
10371 enablestring=
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10374 no_cache=0
10375 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10376 if test "${enable_choicedlg+set}" = set; then
10377 enableval="$enable_choicedlg"
10378
10379 if test "$enableval" = yes; then
10380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10381 else
10382 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10383 fi
10384
10385 else
10386
10387 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 else
10391 no_cache=1
10392 fi
10393
10394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10395
10396 fi;
10397
10398 eval "$ac_cv_use_choicedlg"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10401 fi
10402
10403 if test "$wxUSE_CHOICEDLG" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10406 else
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10409 fi
10410
10411
10412 enablestring=
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10415 no_cache=0
10416 # Check whether --enable-coldlg or --disable-coldlg was given.
10417 if test "${enable_coldlg+set}" = set; then
10418 enableval="$enable_coldlg"
10419
10420 if test "$enableval" = yes; then
10421 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10422 else
10423 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10424 fi
10425
10426 else
10427
10428 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10431 else
10432 no_cache=1
10433 fi
10434
10435 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10436
10437 fi;
10438
10439 eval "$ac_cv_use_coldlg"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10442 fi
10443
10444 if test "$wxUSE_COLOURDLG" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10447 else
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10450 fi
10451
10452
10453 enablestring=
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10456 no_cache=0
10457 # Check whether --enable-filedlg or --disable-filedlg was given.
10458 if test "${enable_filedlg+set}" = set; then
10459 enableval="$enable_filedlg"
10460
10461 if test "$enableval" = yes; then
10462 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10463 else
10464 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10465 fi
10466
10467 else
10468
10469 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10472 else
10473 no_cache=1
10474 fi
10475
10476 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10477
10478 fi;
10479
10480 eval "$ac_cv_use_filedlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test "$wxUSE_FILEDLG" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10488 else
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10491 fi
10492
10493
10494 enablestring=
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10497 no_cache=0
10498 # Check whether --enable-finddlg or --disable-finddlg was given.
10499 if test "${enable_finddlg+set}" = set; then
10500 enableval="$enable_finddlg"
10501
10502 if test "$enableval" = yes; then
10503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10504 else
10505 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10506 fi
10507
10508 else
10509
10510 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10513 else
10514 no_cache=1
10515 fi
10516
10517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10518
10519 fi;
10520
10521 eval "$ac_cv_use_finddlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10524 fi
10525
10526 if test "$wxUSE_FINDREPLDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10529 else
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10532 fi
10533
10534
10535 enablestring=
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10538 no_cache=0
10539 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10540 if test "${enable_fontdlg+set}" = set; then
10541 enableval="$enable_fontdlg"
10542
10543 if test "$enableval" = yes; then
10544 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10545 else
10546 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10547 fi
10548
10549 else
10550
10551 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10554 else
10555 no_cache=1
10556 fi
10557
10558 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10559
10560 fi;
10561
10562 eval "$ac_cv_use_fontdlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10565 fi
10566
10567 if test "$wxUSE_FONTDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10570 else
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10573 fi
10574
10575
10576 enablestring=
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10579 no_cache=0
10580 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10581 if test "${enable_dirdlg+set}" = set; then
10582 enableval="$enable_dirdlg"
10583
10584 if test "$enableval" = yes; then
10585 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10586 else
10587 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10588 fi
10589
10590 else
10591
10592 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10595 else
10596 no_cache=1
10597 fi
10598
10599 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10600
10601 fi;
10602
10603 eval "$ac_cv_use_dirdlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10606 fi
10607
10608 if test "$wxUSE_DIRDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10611 else
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10614 fi
10615
10616
10617 enablestring=
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10620 no_cache=0
10621 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10622 if test "${enable_msgdlg+set}" = set; then
10623 enableval="$enable_msgdlg"
10624
10625 if test "$enableval" = yes; then
10626 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10627 else
10628 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10641
10642 fi;
10643
10644 eval "$ac_cv_use_msgdlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10647 fi
10648
10649 if test "$wxUSE_MSGDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10652 else
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10655 fi
10656
10657
10658 enablestring=
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10661 no_cache=0
10662 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10663 if test "${enable_numberdlg+set}" = set; then
10664 enableval="$enable_numberdlg"
10665
10666 if test "$enableval" = yes; then
10667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10668 else
10669 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10670 fi
10671
10672 else
10673
10674 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 else
10678 no_cache=1
10679 fi
10680
10681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10682
10683 fi;
10684
10685 eval "$ac_cv_use_numberdlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10688 fi
10689
10690 if test "$wxUSE_NUMBERDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10693 else
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10696 fi
10697
10698
10699 enablestring=
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10702 no_cache=0
10703 # Check whether --enable-splash or --disable-splash was given.
10704 if test "${enable_splash+set}" = set; then
10705 enableval="$enable_splash"
10706
10707 if test "$enableval" = yes; then
10708 ac_cv_use_splash='wxUSE_SPLASH=yes'
10709 else
10710 ac_cv_use_splash='wxUSE_SPLASH=no'
10711 fi
10712
10713 else
10714
10715 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10718 else
10719 no_cache=1
10720 fi
10721
10722 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10723
10724 fi;
10725
10726 eval "$ac_cv_use_splash"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10729 fi
10730
10731 if test "$wxUSE_SPLASH" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10734 else
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10737 fi
10738
10739
10740 enablestring=
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10743 no_cache=0
10744 # Check whether --enable-textdlg or --disable-textdlg was given.
10745 if test "${enable_textdlg+set}" = set; then
10746 enableval="$enable_textdlg"
10747
10748 if test "$enableval" = yes; then
10749 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10750 else
10751 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10752 fi
10753
10754 else
10755
10756 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10759 else
10760 no_cache=1
10761 fi
10762
10763 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10764
10765 fi;
10766
10767 eval "$ac_cv_use_textdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10770 fi
10771
10772 if test "$wxUSE_TEXTDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10775 else
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10778 fi
10779
10780
10781 enablestring=
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10784 no_cache=0
10785 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10786 if test "${enable_tipdlg+set}" = set; then
10787 enableval="$enable_tipdlg"
10788
10789 if test "$enableval" = yes; then
10790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10791 else
10792 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10793 fi
10794
10795 else
10796
10797 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 else
10801 no_cache=1
10802 fi
10803
10804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10805
10806 fi;
10807
10808 eval "$ac_cv_use_tipdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10811 fi
10812
10813 if test "$wxUSE_STARTUP_TIPS" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10816 else
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10819 fi
10820
10821
10822 enablestring=
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10825 no_cache=0
10826 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10827 if test "${enable_progressdlg+set}" = set; then
10828 enableval="$enable_progressdlg"
10829
10830 if test "$enableval" = yes; then
10831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10832 else
10833 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10834 fi
10835
10836 else
10837
10838 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10841 else
10842 no_cache=1
10843 fi
10844
10845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10846
10847 fi;
10848
10849 eval "$ac_cv_use_progressdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10852 fi
10853
10854 if test "$wxUSE_PROGRESSDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10857 else
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10860 fi
10861
10862
10863 enablestring=
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10866 no_cache=0
10867 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10868 if test "${enable_wizarddlg+set}" = set; then
10869 enableval="$enable_wizarddlg"
10870
10871 if test "$enableval" = yes; then
10872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10873 else
10874 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10875 fi
10876
10877 else
10878
10879 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10882 else
10883 no_cache=1
10884 fi
10885
10886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10887
10888 fi;
10889
10890 eval "$ac_cv_use_wizarddlg"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10893 fi
10894
10895 if test "$wxUSE_WIZARDDLG" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10898 else
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10901 fi
10902
10903
10904
10905
10906 enablestring=
10907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10909 no_cache=0
10910 # Check whether --enable-menus or --disable-menus was given.
10911 if test "${enable_menus+set}" = set; then
10912 enableval="$enable_menus"
10913
10914 if test "$enableval" = yes; then
10915 ac_cv_use_menus='wxUSE_MENUS=yes'
10916 else
10917 ac_cv_use_menus='wxUSE_MENUS=no'
10918 fi
10919
10920 else
10921
10922 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10923 if test "x$LINE" != x ; then
10924 eval "DEFAULT_$LINE"
10925 else
10926 no_cache=1
10927 fi
10928
10929 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10930
10931 fi;
10932
10933 eval "$ac_cv_use_menus"
10934 if test "$no_cache" != 1; then
10935 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10936 fi
10937
10938 if test "$wxUSE_MENUS" = yes; then
10939 echo "$as_me:$LINENO: result: yes" >&5
10940 echo "${ECHO_T}yes" >&6
10941 else
10942 echo "$as_me:$LINENO: result: no" >&5
10943 echo "${ECHO_T}no" >&6
10944 fi
10945
10946
10947 enablestring=
10948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10950 no_cache=0
10951 # Check whether --enable-miniframe or --disable-miniframe was given.
10952 if test "${enable_miniframe+set}" = set; then
10953 enableval="$enable_miniframe"
10954
10955 if test "$enableval" = yes; then
10956 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10957 else
10958 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10959 fi
10960
10961 else
10962
10963 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10964 if test "x$LINE" != x ; then
10965 eval "DEFAULT_$LINE"
10966 else
10967 no_cache=1
10968 fi
10969
10970 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10971
10972 fi;
10973
10974 eval "$ac_cv_use_miniframe"
10975 if test "$no_cache" != 1; then
10976 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10977 fi
10978
10979 if test "$wxUSE_MINIFRAME" = yes; then
10980 echo "$as_me:$LINENO: result: yes" >&5
10981 echo "${ECHO_T}yes" >&6
10982 else
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10985 fi
10986
10987
10988 enablestring=
10989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10991 no_cache=0
10992 # Check whether --enable-tooltips or --disable-tooltips was given.
10993 if test "${enable_tooltips+set}" = set; then
10994 enableval="$enable_tooltips"
10995
10996 if test "$enableval" = yes; then
10997 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10998 else
10999 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11000 fi
11001
11002 else
11003
11004 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11007 else
11008 no_cache=1
11009 fi
11010
11011 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11012
11013 fi;
11014
11015 eval "$ac_cv_use_tooltips"
11016 if test "$no_cache" != 1; then
11017 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11018 fi
11019
11020 if test "$wxUSE_TOOLTIPS" = yes; then
11021 echo "$as_me:$LINENO: result: yes" >&5
11022 echo "${ECHO_T}yes" >&6
11023 else
11024 echo "$as_me:$LINENO: result: no" >&5
11025 echo "${ECHO_T}no" >&6
11026 fi
11027
11028
11029 enablestring=
11030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11032 no_cache=0
11033 # Check whether --enable-splines or --disable-splines was given.
11034 if test "${enable_splines+set}" = set; then
11035 enableval="$enable_splines"
11036
11037 if test "$enableval" = yes; then
11038 ac_cv_use_splines='wxUSE_SPLINES=yes'
11039 else
11040 ac_cv_use_splines='wxUSE_SPLINES=no'
11041 fi
11042
11043 else
11044
11045 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11048 else
11049 no_cache=1
11050 fi
11051
11052 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11053
11054 fi;
11055
11056 eval "$ac_cv_use_splines"
11057 if test "$no_cache" != 1; then
11058 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11059 fi
11060
11061 if test "$wxUSE_SPLINES" = yes; then
11062 echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6
11064 else
11065 echo "$as_me:$LINENO: result: no" >&5
11066 echo "${ECHO_T}no" >&6
11067 fi
11068
11069
11070 enablestring=
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11073 no_cache=0
11074 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11075 if test "${enable_mousewheel+set}" = set; then
11076 enableval="$enable_mousewheel"
11077
11078 if test "$enableval" = yes; then
11079 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11080 else
11081 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11082 fi
11083
11084 else
11085
11086 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11089 else
11090 no_cache=1
11091 fi
11092
11093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11094
11095 fi;
11096
11097 eval "$ac_cv_use_mousewheel"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11100 fi
11101
11102 if test "$wxUSE_MOUSEWHEEL" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11105 else
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11108 fi
11109
11110
11111 enablestring=
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11114 no_cache=0
11115 # Check whether --enable-validators or --disable-validators was given.
11116 if test "${enable_validators+set}" = set; then
11117 enableval="$enable_validators"
11118
11119 if test "$enableval" = yes; then
11120 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11121 else
11122 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11123 fi
11124
11125 else
11126
11127 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11130 else
11131 no_cache=1
11132 fi
11133
11134 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11135
11136 fi;
11137
11138 eval "$ac_cv_use_validators"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11141 fi
11142
11143 if test "$wxUSE_VALIDATORS" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11146 else
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11149 fi
11150
11151
11152 enablestring=
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11155 no_cache=0
11156 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11157 if test "${enable_busyinfo+set}" = set; then
11158 enableval="$enable_busyinfo"
11159
11160 if test "$enableval" = yes; then
11161 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11162 else
11163 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11164 fi
11165
11166 else
11167
11168 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11171 else
11172 no_cache=1
11173 fi
11174
11175 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11176
11177 fi;
11178
11179 eval "$ac_cv_use_busyinfo"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11182 fi
11183
11184 if test "$wxUSE_BUSYINFO" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11187 else
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11190 fi
11191
11192
11193 enablestring=
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11196 no_cache=0
11197 # Check whether --enable-joystick or --disable-joystick was given.
11198 if test "${enable_joystick+set}" = set; then
11199 enableval="$enable_joystick"
11200
11201 if test "$enableval" = yes; then
11202 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11203 else
11204 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11205 fi
11206
11207 else
11208
11209 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11212 else
11213 no_cache=1
11214 fi
11215
11216 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11217
11218 fi;
11219
11220 eval "$ac_cv_use_joystick"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11223 fi
11224
11225 if test "$wxUSE_JOYSTICK" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11228 else
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11231 fi
11232
11233
11234 enablestring=
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11237 no_cache=0
11238 # Check whether --enable-metafile or --disable-metafile was given.
11239 if test "${enable_metafile+set}" = set; then
11240 enableval="$enable_metafile"
11241
11242 if test "$enableval" = yes; then
11243 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11244 else
11245 ac_cv_use_metafile='wxUSE_METAFILE=no'
11246 fi
11247
11248 else
11249
11250 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11253 else
11254 no_cache=1
11255 fi
11256
11257 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11258
11259 fi;
11260
11261 eval "$ac_cv_use_metafile"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11264 fi
11265
11266 if test "$wxUSE_METAFILE" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11269 else
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11272 fi
11273
11274
11275 enablestring=
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11278 no_cache=0
11279 # Check whether --enable-dragimage or --disable-dragimage was given.
11280 if test "${enable_dragimage+set}" = set; then
11281 enableval="$enable_dragimage"
11282
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11285 else
11286 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11287 fi
11288
11289 else
11290
11291 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11294 else
11295 no_cache=1
11296 fi
11297
11298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11299
11300 fi;
11301
11302 eval "$ac_cv_use_dragimage"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11305 fi
11306
11307 if test "$wxUSE_DRAGIMAGE" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11310 else
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11313 fi
11314
11315
11316 enablestring=
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11319 no_cache=0
11320 # Check whether --enable-accessibility or --disable-accessibility was given.
11321 if test "${enable_accessibility+set}" = set; then
11322 enableval="$enable_accessibility"
11323
11324 if test "$enableval" = yes; then
11325 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11326 else
11327 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11328 fi
11329
11330 else
11331
11332 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 else
11336 no_cache=1
11337 fi
11338
11339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11340
11341 fi;
11342
11343 eval "$ac_cv_use_accessibility"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11346 fi
11347
11348 if test "$wxUSE_ACCESSIBILITY" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11351 else
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11354 fi
11355
11356
11357 if test "$wxUSE_MSW" = "1"; then
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-dccache or --disable-dccache was given.
11364 if test "${enable_dccache+set}" = set; then
11365 enableval="$enable_dccache"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11369 else
11370 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11383
11384 fi;
11385
11386 eval "$ac_cv_use_dccache"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_DC_CACHEING" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399 fi
11400
11401
11402
11403 enablestring=
11404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11406 no_cache=0
11407 # Check whether --enable-palette or --disable-palette was given.
11408 if test "${enable_palette+set}" = set; then
11409 enableval="$enable_palette"
11410
11411 if test "$enableval" = yes; then
11412 ac_cv_use_palette='wxUSE_PALETTE=yes'
11413 else
11414 ac_cv_use_palette='wxUSE_PALETTE=no'
11415 fi
11416
11417 else
11418
11419 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11420 if test "x$LINE" != x ; then
11421 eval "DEFAULT_$LINE"
11422 else
11423 no_cache=1
11424 fi
11425
11426 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11427
11428 fi;
11429
11430 eval "$ac_cv_use_palette"
11431 if test "$no_cache" != 1; then
11432 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11433 fi
11434
11435 if test "$wxUSE_PALETTE" = yes; then
11436 echo "$as_me:$LINENO: result: yes" >&5
11437 echo "${ECHO_T}yes" >&6
11438 else
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11441 fi
11442
11443
11444 enablestring=
11445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11446 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11447 no_cache=0
11448 # Check whether --enable-image or --disable-image was given.
11449 if test "${enable_image+set}" = set; then
11450 enableval="$enable_image"
11451
11452 if test "$enableval" = yes; then
11453 ac_cv_use_image='wxUSE_IMAGE=yes'
11454 else
11455 ac_cv_use_image='wxUSE_IMAGE=no'
11456 fi
11457
11458 else
11459
11460 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11463 else
11464 no_cache=1
11465 fi
11466
11467 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11468
11469 fi;
11470
11471 eval "$ac_cv_use_image"
11472 if test "$no_cache" != 1; then
11473 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11474 fi
11475
11476 if test "$wxUSE_IMAGE" = yes; then
11477 echo "$as_me:$LINENO: result: yes" >&5
11478 echo "${ECHO_T}yes" >&6
11479 else
11480 echo "$as_me:$LINENO: result: no" >&5
11481 echo "${ECHO_T}no" >&6
11482 fi
11483
11484
11485 enablestring=
11486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11487 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11488 no_cache=0
11489 # Check whether --enable-gif or --disable-gif was given.
11490 if test "${enable_gif+set}" = set; then
11491 enableval="$enable_gif"
11492
11493 if test "$enableval" = yes; then
11494 ac_cv_use_gif='wxUSE_GIF=yes'
11495 else
11496 ac_cv_use_gif='wxUSE_GIF=no'
11497 fi
11498
11499 else
11500
11501 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11502 if test "x$LINE" != x ; then
11503 eval "DEFAULT_$LINE"
11504 else
11505 no_cache=1
11506 fi
11507
11508 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11509
11510 fi;
11511
11512 eval "$ac_cv_use_gif"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11515 fi
11516
11517 if test "$wxUSE_GIF" = yes; then
11518 echo "$as_me:$LINENO: result: yes" >&5
11519 echo "${ECHO_T}yes" >&6
11520 else
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11523 fi
11524
11525
11526 enablestring=
11527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11528 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11529 no_cache=0
11530 # Check whether --enable-pcx or --disable-pcx was given.
11531 if test "${enable_pcx+set}" = set; then
11532 enableval="$enable_pcx"
11533
11534 if test "$enableval" = yes; then
11535 ac_cv_use_pcx='wxUSE_PCX=yes'
11536 else
11537 ac_cv_use_pcx='wxUSE_PCX=no'
11538 fi
11539
11540 else
11541
11542 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11543 if test "x$LINE" != x ; then
11544 eval "DEFAULT_$LINE"
11545 else
11546 no_cache=1
11547 fi
11548
11549 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11550
11551 fi;
11552
11553 eval "$ac_cv_use_pcx"
11554 if test "$no_cache" != 1; then
11555 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11556 fi
11557
11558 if test "$wxUSE_PCX" = yes; then
11559 echo "$as_me:$LINENO: result: yes" >&5
11560 echo "${ECHO_T}yes" >&6
11561 else
11562 echo "$as_me:$LINENO: result: no" >&5
11563 echo "${ECHO_T}no" >&6
11564 fi
11565
11566
11567 enablestring=
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11570 no_cache=0
11571 # Check whether --enable-tga or --disable-tga was given.
11572 if test "${enable_tga+set}" = set; then
11573 enableval="$enable_tga"
11574
11575 if test "$enableval" = yes; then
11576 ac_cv_use_tga='wxUSE_TGA=yes'
11577 else
11578 ac_cv_use_tga='wxUSE_TGA=no'
11579 fi
11580
11581 else
11582
11583 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11586 else
11587 no_cache=1
11588 fi
11589
11590 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11591
11592 fi;
11593
11594 eval "$ac_cv_use_tga"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11597 fi
11598
11599 if test "$wxUSE_TGA" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11602 else
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11605 fi
11606
11607
11608 enablestring=
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11611 no_cache=0
11612 # Check whether --enable-iff or --disable-iff was given.
11613 if test "${enable_iff+set}" = set; then
11614 enableval="$enable_iff"
11615
11616 if test "$enableval" = yes; then
11617 ac_cv_use_iff='wxUSE_IFF=yes'
11618 else
11619 ac_cv_use_iff='wxUSE_IFF=no'
11620 fi
11621
11622 else
11623
11624 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11627 else
11628 no_cache=1
11629 fi
11630
11631 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11632
11633 fi;
11634
11635 eval "$ac_cv_use_iff"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11638 fi
11639
11640 if test "$wxUSE_IFF" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11643 else
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11646 fi
11647
11648
11649 enablestring=
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11652 no_cache=0
11653 # Check whether --enable-pnm or --disable-pnm was given.
11654 if test "${enable_pnm+set}" = set; then
11655 enableval="$enable_pnm"
11656
11657 if test "$enableval" = yes; then
11658 ac_cv_use_pnm='wxUSE_PNM=yes'
11659 else
11660 ac_cv_use_pnm='wxUSE_PNM=no'
11661 fi
11662
11663 else
11664
11665 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11668 else
11669 no_cache=1
11670 fi
11671
11672 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11673
11674 fi;
11675
11676 eval "$ac_cv_use_pnm"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11679 fi
11680
11681 if test "$wxUSE_PNM" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11684 else
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11687 fi
11688
11689
11690 enablestring=
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11693 no_cache=0
11694 # Check whether --enable-xpm or --disable-xpm was given.
11695 if test "${enable_xpm+set}" = set; then
11696 enableval="$enable_xpm"
11697
11698 if test "$enableval" = yes; then
11699 ac_cv_use_xpm='wxUSE_XPM=yes'
11700 else
11701 ac_cv_use_xpm='wxUSE_XPM=no'
11702 fi
11703
11704 else
11705
11706 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11709 else
11710 no_cache=1
11711 fi
11712
11713 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11714
11715 fi;
11716
11717 eval "$ac_cv_use_xpm"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11720 fi
11721
11722 if test "$wxUSE_XPM" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730
11731 enablestring=
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11734 no_cache=0
11735 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11736 if test "${enable_ico_cur+set}" = set; then
11737 enableval="$enable_ico_cur"
11738
11739 if test "$enableval" = yes; then
11740 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11741 else
11742 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11743 fi
11744
11745 else
11746
11747 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11750 else
11751 no_cache=1
11752 fi
11753
11754 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11755
11756 fi;
11757
11758 eval "$ac_cv_use_ico_cur"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11761 fi
11762
11763 if test "$wxUSE_ICO_CUR" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11766 else
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11769 fi
11770
11771
11772 fi
11773
11774
11775
11776 # Check whether --with-flavour or --without-flavour was given.
11777 if test "${with_flavour+set}" = set; then
11778 withval="$with_flavour"
11779 WX_FLAVOUR="$withval"
11780 fi;
11781
11782
11783
11784 enablestring=
11785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11787 no_cache=0
11788 # Check whether --enable-official_build or --disable-official_build was given.
11789 if test "${enable_official_build+set}" = set; then
11790 enableval="$enable_official_build"
11791
11792 if test "$enableval" = yes; then
11793 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11794 else
11795 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11796 fi
11797
11798 else
11799
11800 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11801 if test "x$LINE" != x ; then
11802 eval "DEFAULT_$LINE"
11803 else
11804 no_cache=1
11805 fi
11806
11807 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11808
11809 fi;
11810
11811 eval "$ac_cv_use_official_build"
11812 if test "$no_cache" != 1; then
11813 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11814 fi
11815
11816 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11817 echo "$as_me:$LINENO: result: yes" >&5
11818 echo "${ECHO_T}yes" >&6
11819 else
11820 echo "$as_me:$LINENO: result: no" >&5
11821 echo "${ECHO_T}no" >&6
11822 fi
11823
11824 # Check whether --enable-vendor or --disable-vendor was given.
11825 if test "${enable_vendor+set}" = set; then
11826 enableval="$enable_vendor"
11827 VENDOR="$enableval"
11828 fi;
11829 if test "x$VENDOR" = "x"; then
11830 VENDOR="custom"
11831 fi
11832
11833
11834
11835
11836 echo "saving argument cache $wx_arg_cache_file"
11837 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11838
11839
11840
11841 echo "$as_me:$LINENO: checking for toolkit" >&5
11842 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11843
11844 # In Wine, we need to default to MSW, not GTK or MOTIF
11845 if test "$wxUSE_WINE" = "yes"; then
11846 DEFAULT_DEFAULT_wxUSE_GTK=0
11847 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11848 DEFAULT_DEFAULT_wxUSE_MSW=1
11849 wxUSE_SHARED=no
11850 CC=${CC:-winegcc}
11851 CXX=${CXX:-wineg++}
11852 fi
11853
11854
11855 if test "$wxUSE_GUI" = "yes"; then
11856
11857 if test "$USE_BEOS" = 1; then
11858 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11859 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11860 { (exit 1); exit 1; }; }
11861 fi
11862
11863 if test "$TOOLKIT_GIVEN" = 1; then
11864 for toolkit in `echo $ALL_TOOLKITS`; do
11865 var=wxUSE_$toolkit
11866 eval "value=\$${var}"
11867 if test "x$value" = "xno"; then
11868 eval "$var=0"
11869 elif test "x$value" != "x"; then
11870 eval "$var=1"
11871 fi
11872
11873 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11874 eval "wx${toolkit}_VERSION=$value"
11875 fi
11876 done
11877 else
11878 for toolkit in `echo $ALL_TOOLKITS`; do
11879 if test "$has_toolkit_in_cache" != 1; then
11880 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11881 else
11882 var=DEFAULT_wxUSE_$toolkit
11883
11884 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11885 if test "x$version" != "x"; then
11886 eval "wx${toolkit}_VERSION=$version"
11887 fi
11888 fi
11889 eval "wxUSE_$toolkit=\$${var}"
11890 done
11891 fi
11892
11893 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11894 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11895 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11896
11897 case "${host}" in
11898 *-pc-os2_emx | *-pc-os2-emx )
11899 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11900 esac
11901
11902 case "$NUM_TOOLKITS" in
11903 1)
11904 ;;
11905 0)
11906 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11907 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11908 { (exit 1); exit 1; }; }
11909 ;;
11910 *)
11911 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11912 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11913 { (exit 1); exit 1; }; }
11914 esac
11915
11916 # to be removed when --disable-gtk2 isn't needed
11917 if test "x$wxUSE_GTK2" = "xyes"; then
11918 wxGTK_VERSION=2
11919 elif test "x$wxUSE_GTK2" = "xno"; then
11920 wxGTK_VERSION=1
11921 fi
11922
11923 for toolkit in `echo $ALL_TOOLKITS`; do
11924 var=wxUSE_$toolkit
11925 eval "value=\$${var}"
11926 if test "x$value" != x; then
11927 cache_var=CACHE_$toolkit
11928 eval "cache=\$${cache_var}"
11929 if test "$cache" = 1; then
11930 echo "$var=$value" >> ${wx_arg_cache_file}
11931 eval "version=\$wx${toolkit}_VERSION"
11932 if test "x$version" != "x"; then
11933 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11934 fi
11935 fi
11936 if test "$value" = 1; then
11937 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11938 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11939 echo "${ECHO_T}$toolkit_echo" >&6
11940 fi
11941 fi
11942 done
11943 else
11944 if test "x$host_alias" != "x"; then
11945 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11946 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11947 else
11948 echo "$as_me:$LINENO: result: base only" >&5
11949 echo "${ECHO_T}base only" >&6
11950 fi
11951 fi
11952
11953
11954 cat >confcache <<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11960 #
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11963 #
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11967
11968 _ACEOF
11969
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, don't put newlines in cache variables' values.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11975 {
11976 (set) 2>&1 |
11977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11978 *ac_space=\ *)
11979 # `set' does not quote correctly, so add quotes (double-quote
11980 # substitution turns \\\\ into \\, and sed turns \\ into \).
11981 sed -n \
11982 "s/'/'\\\\''/g;
11983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11984 ;;
11985 *)
11986 # `set' quotes correctly as required by POSIX, so do not add quotes.
11987 sed -n \
11988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11989 ;;
11990 esac;
11991 } |
11992 sed '
11993 t clear
11994 : clear
11995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11996 t end
11997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11998 : end' >>confcache
11999 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12000 if test -w $cache_file; then
12001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12002 cat confcache >$cache_file
12003 else
12004 echo "not updating unwritable cache $cache_file"
12005 fi
12006 fi
12007 rm -f confcache
12008
12009 CFLAGS=${CFLAGS:=}
12010
12011
12012
12013 ac_ext=c
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018 if test -n "$ac_tool_prefix"; then
12019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12020 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026 if test -n "$CC"; then
12027 ac_cv_prog_CC="$CC" # Let the user override the test.
12028 else
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12031 do
12032 IFS=$as_save_IFS
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 break 2
12039 fi
12040 done
12041 done
12042
12043 fi
12044 fi
12045 CC=$ac_cv_prog_CC
12046 if test -n "$CC"; then
12047 echo "$as_me:$LINENO: result: $CC" >&5
12048 echo "${ECHO_T}$CC" >&6
12049 else
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12052 fi
12053
12054 fi
12055 if test -z "$ac_cv_prog_CC"; then
12056 ac_ct_CC=$CC
12057 # Extract the first word of "gcc", so it can be a program name with args.
12058 set dummy gcc; ac_word=$2
12059 echo "$as_me:$LINENO: checking for $ac_word" >&5
12060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 else
12064 if test -n "$ac_ct_CC"; then
12065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12066 else
12067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12068 for as_dir in $PATH
12069 do
12070 IFS=$as_save_IFS
12071 test -z "$as_dir" && as_dir=.
12072 for ac_exec_ext in '' $ac_executable_extensions; do
12073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12074 ac_cv_prog_ac_ct_CC="gcc"
12075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 break 2
12077 fi
12078 done
12079 done
12080
12081 fi
12082 fi
12083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12084 if test -n "$ac_ct_CC"; then
12085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12086 echo "${ECHO_T}$ac_ct_CC" >&6
12087 else
12088 echo "$as_me:$LINENO: result: no" >&5
12089 echo "${ECHO_T}no" >&6
12090 fi
12091
12092 CC=$ac_ct_CC
12093 else
12094 CC="$ac_cv_prog_CC"
12095 fi
12096
12097 if test -z "$CC"; then
12098 if test -n "$ac_tool_prefix"; then
12099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12100 set dummy ${ac_tool_prefix}cc; ac_word=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_prog_CC+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 else
12106 if test -n "$CC"; then
12107 ac_cv_prog_CC="$CC" # Let the user override the test.
12108 else
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12111 do
12112 IFS=$as_save_IFS
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_CC="${ac_tool_prefix}cc"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 break 2
12119 fi
12120 done
12121 done
12122
12123 fi
12124 fi
12125 CC=$ac_cv_prog_CC
12126 if test -n "$CC"; then
12127 echo "$as_me:$LINENO: result: $CC" >&5
12128 echo "${ECHO_T}$CC" >&6
12129 else
12130 echo "$as_me:$LINENO: result: no" >&5
12131 echo "${ECHO_T}no" >&6
12132 fi
12133
12134 fi
12135 if test -z "$ac_cv_prog_CC"; then
12136 ac_ct_CC=$CC
12137 # Extract the first word of "cc", so it can be a program name with args.
12138 set dummy cc; ac_word=$2
12139 echo "$as_me:$LINENO: checking for $ac_word" >&5
12140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 else
12144 if test -n "$ac_ct_CC"; then
12145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12146 else
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12149 do
12150 IFS=$as_save_IFS
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_ac_ct_CC="cc"
12155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12156 break 2
12157 fi
12158 done
12159 done
12160
12161 fi
12162 fi
12163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12164 if test -n "$ac_ct_CC"; then
12165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12166 echo "${ECHO_T}$ac_ct_CC" >&6
12167 else
12168 echo "$as_me:$LINENO: result: no" >&5
12169 echo "${ECHO_T}no" >&6
12170 fi
12171
12172 CC=$ac_ct_CC
12173 else
12174 CC="$ac_cv_prog_CC"
12175 fi
12176
12177 fi
12178 if test -z "$CC"; then
12179 # Extract the first word of "cc", so it can be a program name with args.
12180 set dummy cc; ac_word=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_CC+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 if test -n "$CC"; then
12187 ac_cv_prog_CC="$CC" # Let the user override the test.
12188 else
12189 ac_prog_rejected=no
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12192 do
12193 IFS=$as_save_IFS
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12198 ac_prog_rejected=yes
12199 continue
12200 fi
12201 ac_cv_prog_CC="cc"
12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12203 break 2
12204 fi
12205 done
12206 done
12207
12208 if test $ac_prog_rejected = yes; then
12209 # We found a bogon in the path, so make sure we never use it.
12210 set dummy $ac_cv_prog_CC
12211 shift
12212 if test $# != 0; then
12213 # We chose a different compiler from the bogus one.
12214 # However, it has the same basename, so the bogon will be chosen
12215 # first if we set CC to just the basename; use the full file name.
12216 shift
12217 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12218 fi
12219 fi
12220 fi
12221 fi
12222 CC=$ac_cv_prog_CC
12223 if test -n "$CC"; then
12224 echo "$as_me:$LINENO: result: $CC" >&5
12225 echo "${ECHO_T}$CC" >&6
12226 else
12227 echo "$as_me:$LINENO: result: no" >&5
12228 echo "${ECHO_T}no" >&6
12229 fi
12230
12231 fi
12232 if test -z "$CC"; then
12233 if test -n "$ac_tool_prefix"; then
12234 for ac_prog in cl
12235 do
12236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12238 echo "$as_me:$LINENO: checking for $ac_word" >&5
12239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12240 if test "${ac_cv_prog_CC+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 else
12243 if test -n "$CC"; then
12244 ac_cv_prog_CC="$CC" # Let the user override the test.
12245 else
12246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12247 for as_dir in $PATH
12248 do
12249 IFS=$as_save_IFS
12250 test -z "$as_dir" && as_dir=.
12251 for ac_exec_ext in '' $ac_executable_extensions; do
12252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 break 2
12256 fi
12257 done
12258 done
12259
12260 fi
12261 fi
12262 CC=$ac_cv_prog_CC
12263 if test -n "$CC"; then
12264 echo "$as_me:$LINENO: result: $CC" >&5
12265 echo "${ECHO_T}$CC" >&6
12266 else
12267 echo "$as_me:$LINENO: result: no" >&5
12268 echo "${ECHO_T}no" >&6
12269 fi
12270
12271 test -n "$CC" && break
12272 done
12273 fi
12274 if test -z "$CC"; then
12275 ac_ct_CC=$CC
12276 for ac_prog in cl
12277 do
12278 # Extract the first word of "$ac_prog", so it can be a program name with args.
12279 set dummy $ac_prog; ac_word=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 else
12285 if test -n "$ac_ct_CC"; then
12286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12287 else
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12290 do
12291 IFS=$as_save_IFS
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_prog_ac_ct_CC="$ac_prog"
12296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 break 2
12298 fi
12299 done
12300 done
12301
12302 fi
12303 fi
12304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12305 if test -n "$ac_ct_CC"; then
12306 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12307 echo "${ECHO_T}$ac_ct_CC" >&6
12308 else
12309 echo "$as_me:$LINENO: result: no" >&5
12310 echo "${ECHO_T}no" >&6
12311 fi
12312
12313 test -n "$ac_ct_CC" && break
12314 done
12315
12316 CC=$ac_ct_CC
12317 fi
12318
12319 fi
12320
12321
12322 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12323 See \`config.log' for more details." >&5
12324 echo "$as_me: error: no acceptable C compiler found in \$PATH
12325 See \`config.log' for more details." >&2;}
12326 { (exit 1); exit 1; }; }
12327
12328 # Provide some information about the compiler.
12329 echo "$as_me:$LINENO:" \
12330 "checking for C compiler version" >&5
12331 ac_compiler=`set X $ac_compile; echo $2`
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12333 (eval $ac_compiler --version </dev/null >&5) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12338 (eval $ac_compiler -v </dev/null >&5) 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }
12342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12343 (eval $ac_compiler -V </dev/null >&5) 2>&5
12344 ac_status=$?
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }
12347
12348 cat >conftest.$ac_ext <<_ACEOF
12349 /* confdefs.h. */
12350 _ACEOF
12351 cat confdefs.h >>conftest.$ac_ext
12352 cat >>conftest.$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12354
12355 int
12356 main ()
12357 {
12358
12359 ;
12360 return 0;
12361 }
12362 _ACEOF
12363 ac_clean_files_save=$ac_clean_files
12364 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12365 # Try to create an executable without -o first, disregard a.out.
12366 # It will help us diagnose broken compilers, and finding out an intuition
12367 # of exeext.
12368 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12369 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12370 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12371 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12372 (eval $ac_link_default) 2>&5
12373 ac_status=$?
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; then
12376 # Find the output, starting from the most likely. This scheme is
12377 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12378 # resort.
12379
12380 # Be careful to initialize this variable, since it used to be cached.
12381 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12382 ac_cv_exeext=
12383 # b.out is created by i960 compilers.
12384 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12385 do
12386 test -f "$ac_file" || continue
12387 case $ac_file in
12388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12389 ;;
12390 conftest.$ac_ext )
12391 # This is the source file.
12392 ;;
12393 [ab].out )
12394 # We found the default executable, but exeext='' is most
12395 # certainly right.
12396 break;;
12397 *.* )
12398 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12399 # FIXME: I believe we export ac_cv_exeext for Libtool,
12400 # but it would be cool to find out if it's true. Does anybody
12401 # maintain Libtool? --akim.
12402 export ac_cv_exeext
12403 break;;
12404 * )
12405 break;;
12406 esac
12407 done
12408 else
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12411
12412 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: C compiler cannot create executables
12415 See \`config.log' for more details." >&2;}
12416 { (exit 77); exit 77; }; }
12417 fi
12418
12419 ac_exeext=$ac_cv_exeext
12420 echo "$as_me:$LINENO: result: $ac_file" >&5
12421 echo "${ECHO_T}$ac_file" >&6
12422
12423 # Check the compiler produces executables we can run. If not, either
12424 # the compiler is broken, or we cross compile.
12425 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12428 # If not cross compiling, check that we can run a simple program.
12429 if test "$cross_compiling" != yes; then
12430 if { ac_try='./$ac_file'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12433 ac_status=$?
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12436 cross_compiling=no
12437 else
12438 if test "$cross_compiling" = maybe; then
12439 cross_compiling=yes
12440 else
12441 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12442 If you meant to cross compile, use \`--host'.
12443 See \`config.log' for more details." >&5
12444 echo "$as_me: error: cannot run C compiled programs.
12445 If you meant to cross compile, use \`--host'.
12446 See \`config.log' for more details." >&2;}
12447 { (exit 1); exit 1; }; }
12448 fi
12449 fi
12450 fi
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12453
12454 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12455 ac_clean_files=$ac_clean_files_save
12456 # Check the compiler produces executables we can run. If not, either
12457 # the compiler is broken, or we cross compile.
12458 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12459 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12460 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12461 echo "${ECHO_T}$cross_compiling" >&6
12462
12463 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12464 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12466 (eval $ac_link) 2>&5
12467 ac_status=$?
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; then
12470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12472 # work properly (i.e., refer to `conftest.exe'), while it won't with
12473 # `rm'.
12474 for ac_file in conftest.exe conftest conftest.*; do
12475 test -f "$ac_file" || continue
12476 case $ac_file in
12477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12479 export ac_cv_exeext
12480 break;;
12481 * ) break;;
12482 esac
12483 done
12484 else
12485 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12486 See \`config.log' for more details." >&5
12487 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12488 See \`config.log' for more details." >&2;}
12489 { (exit 1); exit 1; }; }
12490 fi
12491
12492 rm -f conftest$ac_cv_exeext
12493 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12494 echo "${ECHO_T}$ac_cv_exeext" >&6
12495
12496 rm -f conftest.$ac_ext
12497 EXEEXT=$ac_cv_exeext
12498 ac_exeext=$EXEEXT
12499 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12500 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12501 if test "${ac_cv_objext+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 else
12504 cat >conftest.$ac_ext <<_ACEOF
12505 /* confdefs.h. */
12506 _ACEOF
12507 cat confdefs.h >>conftest.$ac_ext
12508 cat >>conftest.$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12510
12511 int
12512 main ()
12513 {
12514
12515 ;
12516 return 0;
12517 }
12518 _ACEOF
12519 rm -f conftest.o conftest.obj
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; then
12525 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12526 case $ac_file in
12527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12529 break;;
12530 esac
12531 done
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12535
12536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12537 See \`config.log' for more details." >&5
12538 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12539 See \`config.log' for more details." >&2;}
12540 { (exit 1); exit 1; }; }
12541 fi
12542
12543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12544 fi
12545 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12546 echo "${ECHO_T}$ac_cv_objext" >&6
12547 OBJEXT=$ac_cv_objext
12548 ac_objext=$OBJEXT
12549 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 cat >conftest.$ac_ext <<_ACEOF
12555 /* confdefs.h. */
12556 _ACEOF
12557 cat confdefs.h >>conftest.$ac_ext
12558 cat >>conftest.$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560
12561 int
12562 main ()
12563 {
12564 #ifndef __GNUC__
12565 choke me
12566 #endif
12567
12568 ;
12569 return 0;
12570 }
12571 _ACEOF
12572 rm -f conftest.$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12590 ac_status=$?
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_compiler_gnu=yes
12594 else
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 ac_compiler_gnu=no
12599 fi
12600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12601 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12602
12603 fi
12604 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12605 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12606 GCC=`test $ac_compiler_gnu = yes && echo yes`
12607 ac_test_CFLAGS=${CFLAGS+set}
12608 ac_save_CFLAGS=$CFLAGS
12609 CFLAGS="-g"
12610 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12612 if test "${ac_cv_prog_cc_g+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 else
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621
12622 int
12623 main ()
12624 {
12625
12626 ;
12627 return 0;
12628 }
12629 _ACEOF
12630 rm -f conftest.$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12633 ac_status=$?
12634 grep -v '^ *+' conftest.er1 >conftest.err
12635 rm -f conftest.er1
12636 cat conftest.err >&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12642 ac_status=$?
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try='test -s conftest.$ac_objext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12648 ac_status=$?
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_prog_cc_g=yes
12652 else
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.$ac_ext >&5
12655
12656 ac_cv_prog_cc_g=no
12657 fi
12658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12659 fi
12660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12661 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12662 if test "$ac_test_CFLAGS" = set; then
12663 CFLAGS=$ac_save_CFLAGS
12664 elif test $ac_cv_prog_cc_g = yes; then
12665 if test "$GCC" = yes; then
12666 CFLAGS="-g -O2"
12667 else
12668 CFLAGS="-g"
12669 fi
12670 else
12671 if test "$GCC" = yes; then
12672 CFLAGS="-O2"
12673 else
12674 CFLAGS=
12675 fi
12676 fi
12677 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12678 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12679 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 else
12682 ac_cv_prog_cc_stdc=no
12683 ac_save_CC=$CC
12684 cat >conftest.$ac_ext <<_ACEOF
12685 /* confdefs.h. */
12686 _ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 #include <stdarg.h>
12691 #include <stdio.h>
12692 #include <sys/types.h>
12693 #include <sys/stat.h>
12694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12695 struct buf { int x; };
12696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12697 static char *e (p, i)
12698 char **p;
12699 int i;
12700 {
12701 return p[i];
12702 }
12703 static char *f (char * (*g) (char **, int), char **p, ...)
12704 {
12705 char *s;
12706 va_list v;
12707 va_start (v,p);
12708 s = g (p, va_arg (v,int));
12709 va_end (v);
12710 return s;
12711 }
12712
12713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12714 function prototypes and stuff, but not '\xHH' hex character constants.
12715 These don't provoke an error unfortunately, instead are silently treated
12716 as 'x'. The following induces an error, until -std1 is added to get
12717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12718 array size at least. It's necessary to write '\x00'==0 to get something
12719 that's true only with -std1. */
12720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12721
12722 int test (int i, double x);
12723 struct s1 {int (*f) (int a);};
12724 struct s2 {int (*f) (double a);};
12725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12726 int argc;
12727 char **argv;
12728 int
12729 main ()
12730 {
12731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12732 ;
12733 return 0;
12734 }
12735 _ACEOF
12736 # Don't try gcc -ansi; that turns off useful extensions and
12737 # breaks some systems' header files.
12738 # AIX -qlanglvl=ansi
12739 # Ultrix and OSF/1 -std1
12740 # HP-UX 10.20 and later -Ae
12741 # HP-UX older versions -Aa -D_HPUX_SOURCE
12742 # SVR4 -Xc -D__EXTENSIONS__
12743 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12744 do
12745 CC="$ac_save_CC $ac_arg"
12746 rm -f conftest.$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12749 ac_status=$?
12750 grep -v '^ *+' conftest.er1 >conftest.err
12751 rm -f conftest.er1
12752 cat conftest.err >&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_cv_prog_cc_stdc=$ac_arg
12768 break
12769 else
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5
12772
12773 fi
12774 rm -f conftest.err conftest.$ac_objext
12775 done
12776 rm -f conftest.$ac_ext conftest.$ac_objext
12777 CC=$ac_save_CC
12778
12779 fi
12780
12781 case "x$ac_cv_prog_cc_stdc" in
12782 x|xno)
12783 echo "$as_me:$LINENO: result: none needed" >&5
12784 echo "${ECHO_T}none needed" >&6 ;;
12785 *)
12786 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12787 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12788 CC="$CC $ac_cv_prog_cc_stdc" ;;
12789 esac
12790
12791 # Some people use a C++ compiler to compile C. Since we use `exit',
12792 # in C++ we need to declare it. In case someone uses the same compiler
12793 # for both compiling C and C++ we need to have the C++ compiler decide
12794 # the declaration of exit, since it's the most demanding environment.
12795 cat >conftest.$ac_ext <<_ACEOF
12796 #ifndef __cplusplus
12797 choke me
12798 #endif
12799 _ACEOF
12800 rm -f conftest.$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12812 ac_status=$?
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12818 ac_status=$?
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 for ac_declaration in \
12822 '' \
12823 'extern "C" void std::exit (int) throw (); using std::exit;' \
12824 'extern "C" void std::exit (int); using std::exit;' \
12825 'extern "C" void exit (int) throw ();' \
12826 'extern "C" void exit (int);' \
12827 'void exit (int);'
12828 do
12829 cat >conftest.$ac_ext <<_ACEOF
12830 /* confdefs.h. */
12831 _ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835 $ac_declaration
12836 #include <stdlib.h>
12837 int
12838 main ()
12839 {
12840 exit (42);
12841 ;
12842 return 0;
12843 }
12844 _ACEOF
12845 rm -f conftest.$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12848 ac_status=$?
12849 grep -v '^ *+' conftest.er1 >conftest.err
12850 rm -f conftest.er1
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try='test -s conftest.$ac_objext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 :
12867 else
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12870
12871 continue
12872 fi
12873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12874 cat >conftest.$ac_ext <<_ACEOF
12875 /* confdefs.h. */
12876 _ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 $ac_declaration
12881 int
12882 main ()
12883 {
12884 exit (42);
12885 ;
12886 return 0;
12887 }
12888 _ACEOF
12889 rm -f conftest.$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12892 ac_status=$?
12893 grep -v '^ *+' conftest.er1 >conftest.err
12894 rm -f conftest.er1
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest.$ac_objext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 break
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12914
12915 fi
12916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12917 done
12918 rm -f conftest*
12919 if test -n "$ac_declaration"; then
12920 echo '#ifdef __cplusplus' >>confdefs.h
12921 echo $ac_declaration >>confdefs.h
12922 echo '#endif' >>confdefs.h
12923 fi
12924
12925 else
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12928
12929 fi
12930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12931 ac_ext=c
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12936
12937
12938
12939 ac_ext=c
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944
12945 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960
12961 #ifndef __INTEL_COMPILER
12962 choke me
12963 #endif
12964
12965 ;
12966 return 0;
12967 }
12968 _ACEOF
12969 rm -f conftest.$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12972 ac_status=$?
12973 grep -v '^ *+' conftest.er1 >conftest.err
12974 rm -f conftest.er1
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12981 ac_status=$?
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try='test -s conftest.$ac_objext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12987 ac_status=$?
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12991 else
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 bakefile_cv_c_compiler___INTEL_COMPILER=no
12996
12997 fi
12998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12999
13000
13001 fi
13002 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13004 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13005 :; INTELCC=yes
13006 else
13007 :;
13008 fi
13009 ac_ext=c
13010 ac_cpp='$CPP $CPPFLAGS'
13011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13014
13015
13016
13017 if test "x$GCC" != "xyes"; then
13018 if test "xCC" = "xC"; then
13019 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13020 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13021 if test "${bakefile_cv_c_exto+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 else
13024 cat >conftest.$ac_ext <<_ACEOF
13025 /* confdefs.h. */
13026 _ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030
13031 int
13032 main ()
13033 {
13034
13035 ;
13036 return 0;
13037 }
13038 _ACEOF
13039 rm -f conftest.$ac_objext conftest.$ac_ext.o
13040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13041 (eval $ac_compile) 2>&5
13042 ac_status=$?
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; then
13045 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13046 case $ac_file in
13047 conftest.$ac_ext.o)
13048 bakefile_cv_c_exto="-ext o"
13049 ;;
13050 *)
13051 ;;
13052 esac
13053 done
13054 else
13055 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13060
13061 fi
13062
13063 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13064
13065 fi
13066 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13067 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13068 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13069 if test "c" = "c"; then
13070 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13071 fi
13072 if test "c" = "cxx"; then
13073 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13074 fi
13075 fi
13076
13077 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13078 unset ac_cv_prog_cc_g
13079 ac_test_CFLAGS=${CFLAGS+set}
13080 ac_save_CFLAGS=$CFLAGS
13081 CFLAGS="-g"
13082 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13084 if test "${ac_cv_prog_cc_g+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 else
13087 cat >conftest.$ac_ext <<_ACEOF
13088 /* confdefs.h. */
13089 _ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093
13094 int
13095 main ()
13096 {
13097
13098 ;
13099 return 0;
13100 }
13101 _ACEOF
13102 rm -f conftest.$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13114 ac_status=$?
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; } &&
13117 { ac_try='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13120 ac_status=$?
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_cv_prog_cc_g=yes
13124 else
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.$ac_ext >&5
13127
13128 ac_cv_prog_cc_g=no
13129 fi
13130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13131 fi
13132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13134 if test "$ac_test_CFLAGS" = set; then
13135 CFLAGS=$ac_save_CFLAGS
13136 elif test $ac_cv_prog_cc_g = yes; then
13137 if test "$GCC" = yes; then
13138 CFLAGS="-g -O2"
13139 else
13140 CFLAGS="-g"
13141 fi
13142 else
13143 if test "$GCC" = yes; then
13144 CFLAGS="-O2"
13145 else
13146 CFLAGS=
13147 fi
13148 fi
13149 fi
13150 fi
13151
13152 case `uname -s` in
13153 AIX*)
13154 ac_ext=c
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13159
13160 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13162 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 else
13165 cat >conftest.$ac_ext <<_ACEOF
13166 /* confdefs.h. */
13167 _ACEOF
13168 cat confdefs.h >>conftest.$ac_ext
13169 cat >>conftest.$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171
13172 int
13173 main ()
13174 {
13175 #ifndef __xlC__
13176 choke me
13177 #endif
13178
13179 ;
13180 return 0;
13181 }
13182 _ACEOF
13183 rm -f conftest.$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13186 ac_status=$?
13187 grep -v '^ *+' conftest.er1 >conftest.err
13188 rm -f conftest.er1
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13195 ac_status=$?
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13201 ac_status=$?
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 bakefile_compiler_xlc=yes
13205 else
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.$ac_ext >&5
13208
13209 bakefile_compiler_xlc=no
13210 fi
13211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13212 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13213
13214 fi
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13217
13218 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13219 ac_ext=c
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13224
13225
13226 ;;
13227
13228 Darwin)
13229 ac_ext=c
13230 ac_cpp='$CPP $CPPFLAGS'
13231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13234
13235 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13236 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13237 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 else
13240 cat >conftest.$ac_ext <<_ACEOF
13241 /* confdefs.h. */
13242 _ACEOF
13243 cat confdefs.h >>conftest.$ac_ext
13244 cat >>conftest.$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246
13247 int
13248 main ()
13249 {
13250 #ifndef __MWERKS__
13251 choke me
13252 #endif
13253
13254 ;
13255 return 0;
13256 }
13257 _ACEOF
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 bakefile_compiler_mwerks=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13283
13284 bakefile_compiler_mwerks=no
13285 fi
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13288
13289 fi
13290 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13291 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13292
13293 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13294 ac_ext=c
13295 ac_cpp='$CPP $CPPFLAGS'
13296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13299
13300
13301 ac_ext=c
13302 ac_cpp='$CPP $CPPFLAGS'
13303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13306
13307 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13308 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13309 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13312 cat >conftest.$ac_ext <<_ACEOF
13313 /* confdefs.h. */
13314 _ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318
13319 int
13320 main ()
13321 {
13322 #ifndef __xlC__
13323 choke me
13324 #endif
13325
13326 ;
13327 return 0;
13328 }
13329 _ACEOF
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13333 ac_status=$?
13334 grep -v '^ *+' conftest.er1 >conftest.err
13335 rm -f conftest.er1
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13342 ac_status=$?
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_compiler_xlc=yes
13352 else
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13355
13356 bakefile_compiler_xlc=no
13357 fi
13358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13359 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13360
13361 fi
13362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13364
13365 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13366 ac_ext=c
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13371
13372
13373 ;;
13374
13375 IRIX*)
13376
13377
13378 ac_ext=c
13379 ac_cpp='$CPP $CPPFLAGS'
13380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13383
13384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 cat >conftest.$ac_ext <<_ACEOF
13390 /* confdefs.h. */
13391 _ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395
13396 int
13397 main ()
13398 {
13399
13400 #ifndef _SGI_COMPILER_VERSION
13401 choke me
13402 #endif
13403
13404 ;
13405 return 0;
13406 }
13407 _ACEOF
13408 rm -f conftest.$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13411 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13426 ac_status=$?
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13430 else
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13433
13434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13435
13436 fi
13437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13438
13439
13440 fi
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13443 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13444 :; SGICC=yes
13445 else
13446 :;
13447 fi
13448 ac_ext=c
13449 ac_cpp='$CPP $CPPFLAGS'
13450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13453
13454
13455
13456 ;;
13457
13458 HP-UX*)
13459
13460
13461 ac_ext=c
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13466
13467 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13472 cat >conftest.$ac_ext <<_ACEOF
13473 /* confdefs.h. */
13474 _ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478
13479 int
13480 main ()
13481 {
13482
13483 #ifndef __HP_cc
13484 choke me
13485 #endif
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 bakefile_cv_c_compiler___HP_cc=yes
13513 else
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13516
13517 bakefile_cv_c_compiler___HP_cc=no
13518
13519 fi
13520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13521
13522
13523 fi
13524 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13525 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13526 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13527 :; HPCC=yes
13528 else
13529 :;
13530 fi
13531 ac_ext=c
13532 ac_cpp='$CPP $CPPFLAGS'
13533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13536
13537
13538
13539 ;;
13540
13541 OSF1)
13542
13543
13544 ac_ext=c
13545 ac_cpp='$CPP $CPPFLAGS'
13546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13549
13550 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13551 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13552 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 else
13555 cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h. */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561
13562 int
13563 main ()
13564 {
13565
13566 #ifndef __DECC
13567 choke me
13568 #endif
13569
13570 ;
13571 return 0;
13572 }
13573 _ACEOF
13574 rm -f conftest.$ac_objext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 (eval $ac_compile) 2>conftest.er1
13577 ac_status=$?
13578 grep -v '^ *+' conftest.er1 >conftest.err
13579 rm -f conftest.er1
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest.$ac_objext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 bakefile_cv_c_compiler___DECC=yes
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 bakefile_cv_c_compiler___DECC=no
13601
13602 fi
13603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13604
13605
13606 fi
13607 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13608 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13609 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13610 :; COMPAQCC=yes
13611 else
13612 :;
13613 fi
13614 ac_ext=c
13615 ac_cpp='$CPP $CPPFLAGS'
13616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13619
13620
13621
13622 ;;
13623
13624 SunOS)
13625
13626
13627 ac_ext=c
13628 ac_cpp='$CPP $CPPFLAGS'
13629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13632
13633 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13634 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13635 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644
13645 int
13646 main ()
13647 {
13648
13649 #ifndef __SUNPRO_C
13650 choke me
13651 #endif
13652
13653 ;
13654 return 0;
13655 }
13656 _ACEOF
13657 rm -f conftest.$ac_objext
13658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13659 (eval $ac_compile) 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13669 ac_status=$?
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; } &&
13672 { ac_try='test -s conftest.$ac_objext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 bakefile_cv_c_compiler___SUNPRO_C=yes
13679 else
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13682
13683 bakefile_cv_c_compiler___SUNPRO_C=no
13684
13685 fi
13686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13687
13688
13689 fi
13690 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13691 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13692 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13693 :; SUNCC=yes
13694 else
13695 :;
13696 fi
13697 ac_ext=c
13698 ac_cpp='$CPP $CPPFLAGS'
13699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13702
13703
13704
13705 ;;
13706 esac
13707 fi
13708
13709
13710
13711 ac_ext=c
13712 ac_cpp='$CPP $CPPFLAGS'
13713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13716 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13717 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13718 # On Suns, sometimes $CPP names a directory.
13719 if test -n "$CPP" && test -d "$CPP"; then
13720 CPP=
13721 fi
13722 if test -z "$CPP"; then
13723 if test "${ac_cv_prog_CPP+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 else
13726 # Double quotes because CPP needs to be expanded
13727 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13728 do
13729 ac_preproc_ok=false
13730 for ac_c_preproc_warn_flag in '' yes
13731 do
13732 # Use a header file that comes with gcc, so configuring glibc
13733 # with a fresh cross-compiler works.
13734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13735 # <limits.h> exists even on freestanding compilers.
13736 # On the NeXT, cc -E runs the code through the compiler's parser,
13737 # not just through cpp. "Syntax error" is here to catch this case.
13738 cat >conftest.$ac_ext <<_ACEOF
13739 /* confdefs.h. */
13740 _ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 #ifdef __STDC__
13745 # include <limits.h>
13746 #else
13747 # include <assert.h>
13748 #endif
13749 Syntax error
13750 _ACEOF
13751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } >/dev/null; then
13759 if test -s conftest.err; then
13760 ac_cpp_err=$ac_c_preproc_warn_flag
13761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13762 else
13763 ac_cpp_err=
13764 fi
13765 else
13766 ac_cpp_err=yes
13767 fi
13768 if test -z "$ac_cpp_err"; then
13769 :
13770 else
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13773
13774 # Broken: fails on valid input.
13775 continue
13776 fi
13777 rm -f conftest.err conftest.$ac_ext
13778
13779 # OK, works on sane cases. Now check whether non-existent headers
13780 # can be detected and how.
13781 cat >conftest.$ac_ext <<_ACEOF
13782 /* confdefs.h. */
13783 _ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 #include <ac_nonexistent.h>
13788 _ACEOF
13789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13791 ac_status=$?
13792 grep -v '^ *+' conftest.er1 >conftest.err
13793 rm -f conftest.er1
13794 cat conftest.err >&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } >/dev/null; then
13797 if test -s conftest.err; then
13798 ac_cpp_err=$ac_c_preproc_warn_flag
13799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13800 else
13801 ac_cpp_err=
13802 fi
13803 else
13804 ac_cpp_err=yes
13805 fi
13806 if test -z "$ac_cpp_err"; then
13807 # Broken: success on invalid input.
13808 continue
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13812
13813 # Passes both tests.
13814 ac_preproc_ok=:
13815 break
13816 fi
13817 rm -f conftest.err conftest.$ac_ext
13818
13819 done
13820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13821 rm -f conftest.err conftest.$ac_ext
13822 if $ac_preproc_ok; then
13823 break
13824 fi
13825
13826 done
13827 ac_cv_prog_CPP=$CPP
13828
13829 fi
13830 CPP=$ac_cv_prog_CPP
13831 else
13832 ac_cv_prog_CPP=$CPP
13833 fi
13834 echo "$as_me:$LINENO: result: $CPP" >&5
13835 echo "${ECHO_T}$CPP" >&6
13836 ac_preproc_ok=false
13837 for ac_c_preproc_warn_flag in '' yes
13838 do
13839 # Use a header file that comes with gcc, so configuring glibc
13840 # with a fresh cross-compiler works.
13841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13842 # <limits.h> exists even on freestanding compilers.
13843 # On the NeXT, cc -E runs the code through the compiler's parser,
13844 # not just through cpp. "Syntax error" is here to catch this case.
13845 cat >conftest.$ac_ext <<_ACEOF
13846 /* confdefs.h. */
13847 _ACEOF
13848 cat confdefs.h >>conftest.$ac_ext
13849 cat >>conftest.$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13851 #ifdef __STDC__
13852 # include <limits.h>
13853 #else
13854 # include <assert.h>
13855 #endif
13856 Syntax error
13857 _ACEOF
13858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } >/dev/null; then
13866 if test -s conftest.err; then
13867 ac_cpp_err=$ac_c_preproc_warn_flag
13868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13869 else
13870 ac_cpp_err=
13871 fi
13872 else
13873 ac_cpp_err=yes
13874 fi
13875 if test -z "$ac_cpp_err"; then
13876 :
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13880
13881 # Broken: fails on valid input.
13882 continue
13883 fi
13884 rm -f conftest.err conftest.$ac_ext
13885
13886 # OK, works on sane cases. Now check whether non-existent headers
13887 # can be detected and how.
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h. */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 #include <ac_nonexistent.h>
13895 _ACEOF
13896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } >/dev/null; then
13904 if test -s conftest.err; then
13905 ac_cpp_err=$ac_c_preproc_warn_flag
13906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13907 else
13908 ac_cpp_err=
13909 fi
13910 else
13911 ac_cpp_err=yes
13912 fi
13913 if test -z "$ac_cpp_err"; then
13914 # Broken: success on invalid input.
13915 continue
13916 else
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13919
13920 # Passes both tests.
13921 ac_preproc_ok=:
13922 break
13923 fi
13924 rm -f conftest.err conftest.$ac_ext
13925
13926 done
13927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13928 rm -f conftest.err conftest.$ac_ext
13929 if $ac_preproc_ok; then
13930 :
13931 else
13932 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13933 See \`config.log' for more details." >&5
13934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13935 See \`config.log' for more details." >&2;}
13936 { (exit 1); exit 1; }; }
13937 fi
13938
13939 ac_ext=c
13940 ac_cpp='$CPP $CPPFLAGS'
13941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13944
13945
13946 echo "$as_me:$LINENO: checking for egrep" >&5
13947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13948 if test "${ac_cv_prog_egrep+set}" = set; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 else
13951 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13952 then ac_cv_prog_egrep='grep -E'
13953 else ac_cv_prog_egrep='egrep'
13954 fi
13955 fi
13956 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13957 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13958 EGREP=$ac_cv_prog_egrep
13959
13960
13961 if test $ac_cv_c_compiler_gnu = yes; then
13962 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 else
13967 ac_pattern="Autoconf.*'x'"
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 #include <sgtty.h>
13975 Autoconf TIOCGETP
13976 _ACEOF
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13979 ac_cv_prog_gcc_traditional=yes
13980 else
13981 ac_cv_prog_gcc_traditional=no
13982 fi
13983 rm -f conftest*
13984
13985
13986 if test $ac_cv_prog_gcc_traditional = no; then
13987 cat >conftest.$ac_ext <<_ACEOF
13988 /* confdefs.h. */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 #include <termio.h>
13994 Autoconf TCGETA
13995 _ACEOF
13996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13997 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13998 ac_cv_prog_gcc_traditional=yes
13999 fi
14000 rm -f conftest*
14001
14002 fi
14003 fi
14004 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14006 if test $ac_cv_prog_gcc_traditional = yes; then
14007 CC="$CC -traditional"
14008 fi
14009 fi
14010
14011
14012 CXXFLAGS=${CXXFLAGS:=}
14013
14014
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 if test -n "$ac_tool_prefix"; then
14022 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14023 do
14024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 if test -n "$CXX"; then
14032 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14033 else
14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 for as_dir in $PATH
14036 do
14037 IFS=$as_save_IFS
14038 test -z "$as_dir" && as_dir=.
14039 for ac_exec_ext in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14043 break 2
14044 fi
14045 done
14046 done
14047
14048 fi
14049 fi
14050 CXX=$ac_cv_prog_CXX
14051 if test -n "$CXX"; then
14052 echo "$as_me:$LINENO: result: $CXX" >&5
14053 echo "${ECHO_T}$CXX" >&6
14054 else
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14057 fi
14058
14059 test -n "$CXX" && break
14060 done
14061 fi
14062 if test -z "$CXX"; then
14063 ac_ct_CXX=$CXX
14064 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14065 do
14066 # Extract the first word of "$ac_prog", so it can be a program name with args.
14067 set dummy $ac_prog; ac_word=$2
14068 echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 else
14073 if test -n "$ac_ct_CXX"; then
14074 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14075 else
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14078 do
14079 IFS=$as_save_IFS
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_ac_ct_CXX="$ac_prog"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14085 break 2
14086 fi
14087 done
14088 done
14089
14090 fi
14091 fi
14092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14093 if test -n "$ac_ct_CXX"; then
14094 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14095 echo "${ECHO_T}$ac_ct_CXX" >&6
14096 else
14097 echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6
14099 fi
14100
14101 test -n "$ac_ct_CXX" && break
14102 done
14103 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14104
14105 CXX=$ac_ct_CXX
14106 fi
14107
14108
14109 # Provide some information about the compiler.
14110 echo "$as_me:$LINENO:" \
14111 "checking for C++ compiler version" >&5
14112 ac_compiler=`set X $ac_compile; echo $2`
14113 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14114 (eval $ac_compiler --version </dev/null >&5) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }
14118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14119 (eval $ac_compiler -v </dev/null >&5) 2>&5
14120 ac_status=$?
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }
14123 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14124 (eval $ac_compiler -V </dev/null >&5) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }
14128
14129 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14130 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134 cat >conftest.$ac_ext <<_ACEOF
14135 /* confdefs.h. */
14136 _ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14140
14141 int
14142 main ()
14143 {
14144 #ifndef __GNUC__
14145 choke me
14146 #endif
14147
14148 ;
14149 return 0;
14150 }
14151 _ACEOF
14152 rm -f conftest.$ac_objext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14154 (eval $ac_compile) 2>conftest.er1
14155 ac_status=$?
14156 grep -v '^ *+' conftest.er1 >conftest.err
14157 rm -f conftest.er1
14158 cat conftest.err >&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14164 ac_status=$?
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14170 ac_status=$?
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_compiler_gnu=yes
14174 else
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14177
14178 ac_compiler_gnu=no
14179 fi
14180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14181 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14182
14183 fi
14184 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14185 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14186 GXX=`test $ac_compiler_gnu = yes && echo yes`
14187 ac_test_CXXFLAGS=${CXXFLAGS+set}
14188 ac_save_CXXFLAGS=$CXXFLAGS
14189 CXXFLAGS="-g"
14190 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14192 if test "${ac_cv_prog_cxx_g+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201
14202 int
14203 main ()
14204 {
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14222 ac_status=$?
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14228 ac_status=$?
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14231 ac_cv_prog_cxx_g=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 ac_cv_prog_cxx_g=no
14237 fi
14238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 fi
14240 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14242 if test "$ac_test_CXXFLAGS" = set; then
14243 CXXFLAGS=$ac_save_CXXFLAGS
14244 elif test $ac_cv_prog_cxx_g = yes; then
14245 if test "$GXX" = yes; then
14246 CXXFLAGS="-g -O2"
14247 else
14248 CXXFLAGS="-g"
14249 fi
14250 else
14251 if test "$GXX" = yes; then
14252 CXXFLAGS="-O2"
14253 else
14254 CXXFLAGS=
14255 fi
14256 fi
14257 for ac_declaration in \
14258 '' \
14259 'extern "C" void std::exit (int) throw (); using std::exit;' \
14260 'extern "C" void std::exit (int); using std::exit;' \
14261 'extern "C" void exit (int) throw ();' \
14262 'extern "C" void exit (int);' \
14263 'void exit (int);'
14264 do
14265 cat >conftest.$ac_ext <<_ACEOF
14266 /* confdefs.h. */
14267 _ACEOF
14268 cat confdefs.h >>conftest.$ac_ext
14269 cat >>conftest.$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 $ac_declaration
14272 #include <stdlib.h>
14273 int
14274 main ()
14275 {
14276 exit (42);
14277 ;
14278 return 0;
14279 }
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 :
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14306
14307 continue
14308 fi
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14310 cat >conftest.$ac_ext <<_ACEOF
14311 /* confdefs.h. */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_declaration
14317 int
14318 main ()
14319 {
14320 exit (42);
14321 ;
14322 return 0;
14323 }
14324 _ACEOF
14325 rm -f conftest.$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14328 ac_status=$?
14329 grep -v '^ *+' conftest.er1 >conftest.err
14330 rm -f conftest.er1
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14343 ac_status=$?
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 break
14347 else
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14350
14351 fi
14352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14353 done
14354 rm -f conftest*
14355 if test -n "$ac_declaration"; then
14356 echo '#ifdef __cplusplus' >>confdefs.h
14357 echo $ac_declaration >>confdefs.h
14358 echo '#endif' >>confdefs.h
14359 fi
14360
14361 ac_ext=c
14362 ac_cpp='$CPP $CPPFLAGS'
14363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14366
14367
14368
14369 ac_ext=cc
14370 ac_cpp='$CXXCPP $CPPFLAGS'
14371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14374
14375 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14376 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14377 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 else
14380 cat >conftest.$ac_ext <<_ACEOF
14381 /* confdefs.h. */
14382 _ACEOF
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386
14387 int
14388 main ()
14389 {
14390
14391 #ifndef __INTEL_COMPILER
14392 choke me
14393 #endif
14394
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 rm -f conftest.$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14417 ac_status=$?
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14421 else
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14424
14425 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14426
14427 fi
14428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14429
14430
14431 fi
14432 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14433 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14434 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14435 :; INTELCXX=yes
14436 else
14437 :;
14438 fi
14439 ac_ext=c
14440 ac_cpp='$CPP $CPPFLAGS'
14441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14444
14445
14446
14447 if test "x$GCXX" != "xyes"; then
14448 if test "xCXX" = "xC"; then
14449 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14450 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14451 if test "${bakefile_cv_c_exto+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 else
14454 cat >conftest.$ac_ext <<_ACEOF
14455 /* confdefs.h. */
14456 _ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460
14461 int
14462 main ()
14463 {
14464
14465 ;
14466 return 0;
14467 }
14468 _ACEOF
14469 rm -f conftest.$ac_objext conftest.$ac_ext.o
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>&5
14472 ac_status=$?
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; then
14475 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14476 case $ac_file in
14477 conftest.$ac_ext.o)
14478 bakefile_cv_c_exto="-ext o"
14479 ;;
14480 *)
14481 ;;
14482 esac
14483 done
14484 else
14485 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14486 See \`config.log' for more details." >&5
14487 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14488 See \`config.log' for more details." >&2;}
14489 { (exit 1); exit 1; }; }
14490
14491 fi
14492
14493 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14494
14495 fi
14496 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14497 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14498 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14499 if test "c" = "c"; then
14500 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14501 fi
14502 if test "c" = "cxx"; then
14503 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14504 fi
14505 fi
14506
14507 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14508 unset ac_cv_prog_cc_g
14509 ac_test_CFLAGS=${CFLAGS+set}
14510 ac_save_CFLAGS=$CFLAGS
14511 CFLAGS="-g"
14512 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14513 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14514 if test "${ac_cv_prog_cc_g+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 cat >conftest.$ac_ext <<_ACEOF
14518 /* confdefs.h. */
14519 _ACEOF
14520 cat confdefs.h >>conftest.$ac_ext
14521 cat >>conftest.$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523
14524 int
14525 main ()
14526 {
14527
14528 ;
14529 return 0;
14530 }
14531 _ACEOF
14532 rm -f conftest.$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>conftest.er1
14535 ac_status=$?
14536 grep -v '^ *+' conftest.er1 >conftest.err
14537 rm -f conftest.er1
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14550 ac_status=$?
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_cv_prog_cc_g=yes
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 ac_cv_prog_cc_g=no
14559 fi
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14561 fi
14562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14568 CFLAGS="-g -O2"
14569 else
14570 CFLAGS="-g"
14571 fi
14572 else
14573 if test "$GCC" = yes; then
14574 CFLAGS="-O2"
14575 else
14576 CFLAGS=
14577 fi
14578 fi
14579 fi
14580 fi
14581
14582 case `uname -s` in
14583 AIX*)
14584 ac_ext=cc
14585 ac_cpp='$CXXCPP $CPPFLAGS'
14586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14589
14590 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601
14602 int
14603 main ()
14604 {
14605 #ifndef __xlC__
14606 choke me
14607 #endif
14608
14609 ;
14610 return 0;
14611 }
14612 _ACEOF
14613 rm -f conftest.$ac_objext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14615 (eval $ac_compile) 2>conftest.er1
14616 ac_status=$?
14617 grep -v '^ *+' conftest.er1 >conftest.err
14618 rm -f conftest.er1
14619 cat conftest.err >&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 bakefile_compiler_xlc=yes
14635 else
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14638
14639 bakefile_compiler_xlc=no
14640 fi
14641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14642 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14643
14644 fi
14645 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14646 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14647
14648 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14649 ac_ext=c
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14654
14655
14656 ;;
14657
14658 Darwin)
14659 ac_ext=cc
14660 ac_cpp='$CXXCPP $CPPFLAGS'
14661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14664
14665 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 else
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676
14677 int
14678 main ()
14679 {
14680 #ifndef __MWERKS__
14681 choke me
14682 #endif
14683
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 rm -f conftest.$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690 (eval $ac_compile) 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } &&
14697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; } &&
14703 { ac_try='test -s conftest.$ac_objext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 bakefile_compiler_mwerks=yes
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 bakefile_compiler_mwerks=no
14715 fi
14716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14717 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14718
14719 fi
14720 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14721 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14722
14723 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14724 ac_ext=c
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14729
14730
14731 ac_ext=cc
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14736
14737 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14738 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14739 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748
14749 int
14750 main ()
14751 {
14752 #ifndef __xlC__
14753 choke me
14754 #endif
14755
14756 ;
14757 return 0;
14758 }
14759 _ACEOF
14760 rm -f conftest.$ac_objext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14762 (eval $ac_compile) 2>conftest.er1
14763 ac_status=$?
14764 grep -v '^ *+' conftest.er1 >conftest.err
14765 rm -f conftest.er1
14766 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 bakefile_compiler_xlc=yes
14782 else
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14785
14786 bakefile_compiler_xlc=no
14787 fi
14788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14789 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14790
14791 fi
14792 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14793 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14794
14795 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14796 ac_ext=c
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14801
14802
14803 ;;
14804
14805 IRIX*)
14806
14807
14808 ac_ext=cc
14809 ac_cpp='$CXXCPP $CPPFLAGS'
14810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14813
14814 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14815 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14816 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 else
14819 cat >conftest.$ac_ext <<_ACEOF
14820 /* confdefs.h. */
14821 _ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14825
14826 int
14827 main ()
14828 {
14829
14830 #ifndef _SGI_COMPILER_VERSION
14831 choke me
14832 #endif
14833
14834 ;
14835 return 0;
14836 }
14837 _ACEOF
14838 rm -f conftest.$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>conftest.er1
14841 ac_status=$?
14842 grep -v '^ *+' conftest.er1 >conftest.err
14843 rm -f conftest.er1
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14860 else
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14863
14864 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14865
14866 fi
14867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14868
14869
14870 fi
14871 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14872 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14873 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14874 :; SGICXX=yes
14875 else
14876 :;
14877 fi
14878 ac_ext=c
14879 ac_cpp='$CPP $CPPFLAGS'
14880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14883
14884
14885
14886 ;;
14887
14888 HP-UX*)
14889
14890
14891 ac_ext=cc
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14896
14897 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14898 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14899 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908
14909 int
14910 main ()
14911 {
14912
14913 #ifndef __HP_aCC
14914 choke me
14915 #endif
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 bakefile_cv_cxx_compiler___HP_aCC=yes
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14946
14947 bakefile_cv_cxx_compiler___HP_aCC=no
14948
14949 fi
14950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14951
14952
14953 fi
14954 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14956 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14957 :; HPCXX=yes
14958 else
14959 :;
14960 fi
14961 ac_ext=c
14962 ac_cpp='$CPP $CPPFLAGS'
14963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14966
14967
14968
14969 ;;
14970
14971 OSF1)
14972
14973
14974 ac_ext=cc
14975 ac_cpp='$CXXCPP $CPPFLAGS'
14976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14979
14980 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14981 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14982 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991
14992 int
14993 main ()
14994 {
14995
14996 #ifndef __DECCXX
14997 choke me
14998 #endif
14999
15000 ;
15001 return 0;
15002 }
15003 _ACEOF
15004 rm -f conftest.$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15007 ac_status=$?
15008 grep -v '^ *+' conftest.er1 >conftest.err
15009 rm -f conftest.er1
15010 cat conftest.err >&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15022 ac_status=$?
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 bakefile_cv_cxx_compiler___DECCXX=yes
15026 else
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 bakefile_cv_cxx_compiler___DECCXX=no
15031
15032 fi
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15034
15035
15036 fi
15037 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15039 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15040 :; COMPAQCXX=yes
15041 else
15042 :;
15043 fi
15044 ac_ext=c
15045 ac_cpp='$CPP $CPPFLAGS'
15046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15049
15050
15051
15052 ;;
15053
15054 SunOS)
15055
15056
15057 ac_ext=cc
15058 ac_cpp='$CXXCPP $CPPFLAGS'
15059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15062
15063 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15064 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15065 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068 cat >conftest.$ac_ext <<_ACEOF
15069 /* confdefs.h. */
15070 _ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074
15075 int
15076 main ()
15077 {
15078
15079 #ifndef __SUNPRO_CC
15080 choke me
15081 #endif
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15090 ac_status=$?
15091 grep -v '^ *+' conftest.er1 >conftest.err
15092 rm -f conftest.er1
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15109 else
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15112
15113 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15114
15115 fi
15116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15117
15118
15119 fi
15120 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15122 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15123 :; SUNCXX=yes
15124 else
15125 :;
15126 fi
15127 ac_ext=c
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15132
15133
15134
15135 ;;
15136 esac
15137 fi
15138
15139
15140
15141 if test -n "$ac_tool_prefix"; then
15142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15144 echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15146 if test "${ac_cv_prog_RANLIB+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 if test -n "$RANLIB"; then
15150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15151 else
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15154 do
15155 IFS=$as_save_IFS
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 break 2
15162 fi
15163 done
15164 done
15165
15166 fi
15167 fi
15168 RANLIB=$ac_cv_prog_RANLIB
15169 if test -n "$RANLIB"; then
15170 echo "$as_me:$LINENO: result: $RANLIB" >&5
15171 echo "${ECHO_T}$RANLIB" >&6
15172 else
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15175 fi
15176
15177 fi
15178 if test -z "$ac_cv_prog_RANLIB"; then
15179 ac_ct_RANLIB=$RANLIB
15180 # Extract the first word of "ranlib", so it can be a program name with args.
15181 set dummy ranlib; ac_word=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 else
15187 if test -n "$ac_ct_RANLIB"; then
15188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15189 else
15190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15191 for as_dir in $PATH
15192 do
15193 IFS=$as_save_IFS
15194 test -z "$as_dir" && as_dir=.
15195 for ac_exec_ext in '' $ac_executable_extensions; do
15196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15197 ac_cv_prog_ac_ct_RANLIB="ranlib"
15198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15199 break 2
15200 fi
15201 done
15202 done
15203
15204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15205 fi
15206 fi
15207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15208 if test -n "$ac_ct_RANLIB"; then
15209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15211 else
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15214 fi
15215
15216 RANLIB=$ac_ct_RANLIB
15217 else
15218 RANLIB="$ac_cv_prog_RANLIB"
15219 fi
15220
15221
15222 if test "x$SUNCXX" != xyes; then
15223 if test -n "$ac_tool_prefix"; then
15224 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15225 set dummy ${ac_tool_prefix}ar; ac_word=$2
15226 echo "$as_me:$LINENO: checking for $ac_word" >&5
15227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15228 if test "${ac_cv_prog_AR+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 else
15231 if test -n "$AR"; then
15232 ac_cv_prog_AR="$AR" # Let the user override the test.
15233 else
15234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15235 for as_dir in $PATH
15236 do
15237 IFS=$as_save_IFS
15238 test -z "$as_dir" && as_dir=.
15239 for ac_exec_ext in '' $ac_executable_extensions; do
15240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15241 ac_cv_prog_AR="${ac_tool_prefix}ar"
15242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15243 break 2
15244 fi
15245 done
15246 done
15247
15248 fi
15249 fi
15250 AR=$ac_cv_prog_AR
15251 if test -n "$AR"; then
15252 echo "$as_me:$LINENO: result: $AR" >&5
15253 echo "${ECHO_T}$AR" >&6
15254 else
15255 echo "$as_me:$LINENO: result: no" >&5
15256 echo "${ECHO_T}no" >&6
15257 fi
15258
15259 fi
15260 if test -z "$ac_cv_prog_AR"; then
15261 ac_ct_AR=$AR
15262 # Extract the first word of "ar", so it can be a program name with args.
15263 set dummy ar; ac_word=$2
15264 echo "$as_me:$LINENO: checking for $ac_word" >&5
15265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15266 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269 if test -n "$ac_ct_AR"; then
15270 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15271 else
15272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15273 for as_dir in $PATH
15274 do
15275 IFS=$as_save_IFS
15276 test -z "$as_dir" && as_dir=.
15277 for ac_exec_ext in '' $ac_executable_extensions; do
15278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15279 ac_cv_prog_ac_ct_AR="ar"
15280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15281 break 2
15282 fi
15283 done
15284 done
15285
15286 fi
15287 fi
15288 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15289 if test -n "$ac_ct_AR"; then
15290 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15291 echo "${ECHO_T}$ac_ct_AR" >&6
15292 else
15293 echo "$as_me:$LINENO: result: no" >&5
15294 echo "${ECHO_T}no" >&6
15295 fi
15296
15297 AR=$ac_ct_AR
15298 else
15299 AR="$ac_cv_prog_AR"
15300 fi
15301
15302 if test "x$AR" = "x" ; then
15303 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15304 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15305 { (exit 1); exit 1; }; }
15306 fi
15307 fi
15308
15309 # Find a good install program. We prefer a C program (faster),
15310 # so one script is as good as another. But avoid the broken or
15311 # incompatible versions:
15312 # SysV /etc/install, /usr/sbin/install
15313 # SunOS /usr/etc/install
15314 # IRIX /sbin/install
15315 # AIX /bin/install
15316 # AmigaOS /C/install, which installs bootblocks on floppy discs
15317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15320 # OS/2's system install, which has a completely different semantic
15321 # ./install, which can be erroneously created by make from ./install.sh.
15322 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15323 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15324 if test -z "$INSTALL"; then
15325 if test "${ac_cv_path_install+set}" = set; then
15326 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 else
15328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15329 for as_dir in $PATH
15330 do
15331 IFS=$as_save_IFS
15332 test -z "$as_dir" && as_dir=.
15333 # Account for people who put trailing slashes in PATH elements.
15334 case $as_dir/ in
15335 ./ | .// | /cC/* | \
15336 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15337 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15338 /usr/ucb/* ) ;;
15339 *)
15340 # OSF1 and SCO ODT 3.0 have their own names for install.
15341 # Don't use installbsd from OSF since it installs stuff as root
15342 # by default.
15343 for ac_prog in ginstall scoinst install; do
15344 for ac_exec_ext in '' $ac_executable_extensions; do
15345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15346 if test $ac_prog = install &&
15347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15348 # AIX install. It has an incompatible calling convention.
15349 :
15350 elif test $ac_prog = install &&
15351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15352 # program-specific install script used by HP pwplus--don't use.
15353 :
15354 else
15355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15356 break 3
15357 fi
15358 fi
15359 done
15360 done
15361 ;;
15362 esac
15363 done
15364
15365
15366 fi
15367 if test "${ac_cv_path_install+set}" = set; then
15368 INSTALL=$ac_cv_path_install
15369 else
15370 # As a last resort, use the slow shell script. We don't cache a
15371 # path for INSTALL within a source directory, because that will
15372 # break other packages using the cache if that directory is
15373 # removed, or if the path is relative.
15374 INSTALL=$ac_install_sh
15375 fi
15376 fi
15377 echo "$as_me:$LINENO: result: $INSTALL" >&5
15378 echo "${ECHO_T}$INSTALL" >&6
15379
15380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15381 # It thinks the first close brace ends the variable substitution.
15382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15383
15384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15385
15386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15387
15388
15389 case ${INSTALL} in
15390 /* ) # Absolute
15391 ;;
15392 ?:* ) # Drive letter, considered as absolute.
15393 ;;
15394 *)
15395 INSTALL=`pwd`/${INSTALL} ;;
15396 esac
15397
15398
15399 case "${host}" in
15400
15401 *-*-darwin* )
15402 INSTALL_PROGRAM="cp -fp"
15403 INSTALL_DATA="cp -fp"
15404 ;;
15405 *)
15406 ;;
15407 esac
15408
15409 if test -n "$ac_tool_prefix"; then
15410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15411 set dummy ${ac_tool_prefix}strip; ac_word=$2
15412 echo "$as_me:$LINENO: checking for $ac_word" >&5
15413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15414 if test "${ac_cv_prog_STRIP+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 else
15417 if test -n "$STRIP"; then
15418 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15419 else
15420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15421 for as_dir in $PATH
15422 do
15423 IFS=$as_save_IFS
15424 test -z "$as_dir" && as_dir=.
15425 for ac_exec_ext in '' $ac_executable_extensions; do
15426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15427 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15429 break 2
15430 fi
15431 done
15432 done
15433
15434 fi
15435 fi
15436 STRIP=$ac_cv_prog_STRIP
15437 if test -n "$STRIP"; then
15438 echo "$as_me:$LINENO: result: $STRIP" >&5
15439 echo "${ECHO_T}$STRIP" >&6
15440 else
15441 echo "$as_me:$LINENO: result: no" >&5
15442 echo "${ECHO_T}no" >&6
15443 fi
15444
15445 fi
15446 if test -z "$ac_cv_prog_STRIP"; then
15447 ac_ct_STRIP=$STRIP
15448 # Extract the first word of "strip", so it can be a program name with args.
15449 set dummy strip; ac_word=$2
15450 echo "$as_me:$LINENO: checking for $ac_word" >&5
15451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 if test -n "$ac_ct_STRIP"; then
15456 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15457 else
15458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15459 for as_dir in $PATH
15460 do
15461 IFS=$as_save_IFS
15462 test -z "$as_dir" && as_dir=.
15463 for ac_exec_ext in '' $ac_executable_extensions; do
15464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15465 ac_cv_prog_ac_ct_STRIP="strip"
15466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15467 break 2
15468 fi
15469 done
15470 done
15471
15472 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15473 fi
15474 fi
15475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15476 if test -n "$ac_ct_STRIP"; then
15477 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15478 echo "${ECHO_T}$ac_ct_STRIP" >&6
15479 else
15480 echo "$as_me:$LINENO: result: no" >&5
15481 echo "${ECHO_T}no" >&6
15482 fi
15483
15484 STRIP=$ac_ct_STRIP
15485 else
15486 STRIP="$ac_cv_prog_STRIP"
15487 fi
15488
15489
15490 if test "$wxUSE_WINE" = "yes"; then
15491 if test -n "$ac_tool_prefix"; then
15492 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15493 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15494 echo "$as_me:$LINENO: checking for $ac_word" >&5
15495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15496 if test "${ac_cv_prog_WINDRES+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 else
15499 if test -n "$WINDRES"; then
15500 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15501 else
15502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15503 for as_dir in $PATH
15504 do
15505 IFS=$as_save_IFS
15506 test -z "$as_dir" && as_dir=.
15507 for ac_exec_ext in '' $ac_executable_extensions; do
15508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15509 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15511 break 2
15512 fi
15513 done
15514 done
15515
15516 fi
15517 fi
15518 WINDRES=$ac_cv_prog_WINDRES
15519 if test -n "$WINDRES"; then
15520 echo "$as_me:$LINENO: result: $WINDRES" >&5
15521 echo "${ECHO_T}$WINDRES" >&6
15522 else
15523 echo "$as_me:$LINENO: result: no" >&5
15524 echo "${ECHO_T}no" >&6
15525 fi
15526
15527 fi
15528 if test -z "$ac_cv_prog_WINDRES"; then
15529 ac_ct_WINDRES=$WINDRES
15530 # Extract the first word of "wrc", so it can be a program name with args.
15531 set dummy wrc; ac_word=$2
15532 echo "$as_me:$LINENO: checking for $ac_word" >&5
15533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15534 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 if test -n "$ac_ct_WINDRES"; then
15538 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15539 else
15540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15541 for as_dir in $PATH
15542 do
15543 IFS=$as_save_IFS
15544 test -z "$as_dir" && as_dir=.
15545 for ac_exec_ext in '' $ac_executable_extensions; do
15546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15547 ac_cv_prog_ac_ct_WINDRES="wrc"
15548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15549 break 2
15550 fi
15551 done
15552 done
15553
15554 fi
15555 fi
15556 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15557 if test -n "$ac_ct_WINDRES"; then
15558 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15559 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15560 else
15561 echo "$as_me:$LINENO: result: no" >&5
15562 echo "${ECHO_T}no" >&6
15563 fi
15564
15565 WINDRES=$ac_ct_WINDRES
15566 else
15567 WINDRES="$ac_cv_prog_WINDRES"
15568 fi
15569
15570 RESCOMP="$WINDRES"
15571 else
15572 case "${host}" in
15573 *-*-cygwin* | *-*-mingw32* )
15574 if test -n "$ac_tool_prefix"; then
15575 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15576 set dummy ${ac_tool_prefix}windres; ac_word=$2
15577 echo "$as_me:$LINENO: checking for $ac_word" >&5
15578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15579 if test "${ac_cv_prog_WINDRES+set}" = set; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15581 else
15582 if test -n "$WINDRES"; then
15583 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15584 else
15585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15586 for as_dir in $PATH
15587 do
15588 IFS=$as_save_IFS
15589 test -z "$as_dir" && as_dir=.
15590 for ac_exec_ext in '' $ac_executable_extensions; do
15591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15592 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15594 break 2
15595 fi
15596 done
15597 done
15598
15599 fi
15600 fi
15601 WINDRES=$ac_cv_prog_WINDRES
15602 if test -n "$WINDRES"; then
15603 echo "$as_me:$LINENO: result: $WINDRES" >&5
15604 echo "${ECHO_T}$WINDRES" >&6
15605 else
15606 echo "$as_me:$LINENO: result: no" >&5
15607 echo "${ECHO_T}no" >&6
15608 fi
15609
15610 fi
15611 if test -z "$ac_cv_prog_WINDRES"; then
15612 ac_ct_WINDRES=$WINDRES
15613 # Extract the first word of "windres", so it can be a program name with args.
15614 set dummy windres; ac_word=$2
15615 echo "$as_me:$LINENO: checking for $ac_word" >&5
15616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15617 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 else
15620 if test -n "$ac_ct_WINDRES"; then
15621 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15622 else
15623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15624 for as_dir in $PATH
15625 do
15626 IFS=$as_save_IFS
15627 test -z "$as_dir" && as_dir=.
15628 for ac_exec_ext in '' $ac_executable_extensions; do
15629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15630 ac_cv_prog_ac_ct_WINDRES="windres"
15631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15632 break 2
15633 fi
15634 done
15635 done
15636
15637 fi
15638 fi
15639 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15640 if test -n "$ac_ct_WINDRES"; then
15641 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15642 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15643 else
15644 echo "$as_me:$LINENO: result: no" >&5
15645 echo "${ECHO_T}no" >&6
15646 fi
15647
15648 WINDRES=$ac_ct_WINDRES
15649 else
15650 WINDRES="$ac_cv_prog_WINDRES"
15651 fi
15652
15653 RESCOMP="$WINDRES"
15654 if test -n "$ac_tool_prefix"; then
15655 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15656 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15657 echo "$as_me:$LINENO: checking for $ac_word" >&5
15658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15659 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15660 echo $ECHO_N "(cached) $ECHO_C" >&6
15661 else
15662 if test -n "$DLLTOOL"; then
15663 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15664 else
15665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15666 for as_dir in $PATH
15667 do
15668 IFS=$as_save_IFS
15669 test -z "$as_dir" && as_dir=.
15670 for ac_exec_ext in '' $ac_executable_extensions; do
15671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15672 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15674 break 2
15675 fi
15676 done
15677 done
15678
15679 fi
15680 fi
15681 DLLTOOL=$ac_cv_prog_DLLTOOL
15682 if test -n "$DLLTOOL"; then
15683 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15684 echo "${ECHO_T}$DLLTOOL" >&6
15685 else
15686 echo "$as_me:$LINENO: result: no" >&5
15687 echo "${ECHO_T}no" >&6
15688 fi
15689
15690 fi
15691 if test -z "$ac_cv_prog_DLLTOOL"; then
15692 ac_ct_DLLTOOL=$DLLTOOL
15693 # Extract the first word of "dlltool", so it can be a program name with args.
15694 set dummy dlltool; ac_word=$2
15695 echo "$as_me:$LINENO: checking for $ac_word" >&5
15696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15697 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 if test -n "$ac_ct_DLLTOOL"; then
15701 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15702 else
15703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15704 for as_dir in $PATH
15705 do
15706 IFS=$as_save_IFS
15707 test -z "$as_dir" && as_dir=.
15708 for ac_exec_ext in '' $ac_executable_extensions; do
15709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15710 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15712 break 2
15713 fi
15714 done
15715 done
15716
15717 fi
15718 fi
15719 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15720 if test -n "$ac_ct_DLLTOOL"; then
15721 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15722 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15723 else
15724 echo "$as_me:$LINENO: result: no" >&5
15725 echo "${ECHO_T}no" >&6
15726 fi
15727
15728 DLLTOOL=$ac_ct_DLLTOOL
15729 else
15730 DLLTOOL="$ac_cv_prog_DLLTOOL"
15731 fi
15732
15733 ;;
15734 esac
15735 fi
15736
15737 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15738 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15739 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15740 echo $ECHO_N "(cached) $ECHO_C" >&6
15741 else
15742
15743 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15744 $EGREP -s GNU > /dev/null); then
15745 wx_cv_prog_makeisgnu="yes"
15746 else
15747 wx_cv_prog_makeisgnu="no"
15748 fi
15749
15750 fi
15751 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15752 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15753
15754 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15755 IF_GNU_MAKE=""
15756 else
15757 IF_GNU_MAKE="#"
15758 fi
15759
15760
15761
15762 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15763 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15764 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15765 if test "${wx_cv_prog_makevpath+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 else
15768
15769 cat - << EOF > confMake
15770 check : file
15771 cp \$? \$@
15772 cp \$? final_file
15773 EOF
15774
15775 if test ! -d sub ; then
15776 mkdir sub
15777 fi
15778 echo dummy > sub/file
15779 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15780 RESULT=$?
15781 rm -f sub/file check final_file confMake
15782 rmdir sub
15783 if test "$RESULT" = 0; then
15784 wx_cv_prog_makevpath="yes"
15785 else
15786 wx_cv_prog_makevpath="no"
15787 fi
15788
15789 fi
15790 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15791 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15792
15793 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15794 { { echo "$as_me:$LINENO: error:
15795 You need a make-utility that is able to use the variable
15796 VPATH correctly.
15797 If your version of make does not support VPATH correctly,
15798 please install GNU-make (possibly as gmake), and start
15799 configure with the following command:
15800 export MAKE=gmake; ./configure for sh-type shells
15801 setenv MAKE gmake; ./configure for csh-type shells
15802 Also please do remember to use gmake in this case every time
15803 you are trying to compile.
15804 " >&5
15805 echo "$as_me: error:
15806 You need a make-utility that is able to use the variable
15807 VPATH correctly.
15808 If your version of make does not support VPATH correctly,
15809 please install GNU-make (possibly as gmake), and start
15810 configure with the following command:
15811 export MAKE=gmake; ./configure for sh-type shells
15812 setenv MAKE gmake; ./configure for csh-type shells
15813 Also please do remember to use gmake in this case every time
15814 you are trying to compile.
15815 " >&2;}
15816 { (exit 1); exit 1; }; }
15817 fi fi
15818 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15819 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15820 LN_S=$as_ln_s
15821 if test "$LN_S" = "ln -s"; then
15822 echo "$as_me:$LINENO: result: yes" >&5
15823 echo "${ECHO_T}yes" >&6
15824 else
15825 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15826 echo "${ECHO_T}no, using $LN_S" >&6
15827 fi
15828
15829
15830
15831
15832 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15833 CXXFLAGS="-qunique $CXXFLAGS"
15834 fi
15835
15836 case "${host}" in
15837 powerpc-*-darwin* )
15838 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15839 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15840 cat >conftest.$ac_ext <<_ACEOF
15841 /* confdefs.h. */
15842 _ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846
15847 int
15848 main ()
15849 {
15850 #ifndef __POWERPC__
15851 choke me for lack of PowerPC
15852 #endif
15853
15854 ;
15855 return 0;
15856 }
15857 _ACEOF
15858 rm -f conftest.$ac_objext
15859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15860 (eval $ac_compile) 2>conftest.er1
15861 ac_status=$?
15862 grep -v '^ *+' conftest.er1 >conftest.err
15863 rm -f conftest.er1
15864 cat conftest.err >&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 echo "$as_me:$LINENO: result: yes" >&5
15880 echo "${ECHO_T}yes" >&6
15881 else
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15884
15885 echo "$as_me:$LINENO: result: no" >&5
15886 echo "${ECHO_T}no" >&6
15887 cat >>confdefs.h <<\_ACEOF
15888 #define __POWERPC__ 1
15889 _ACEOF
15890
15891
15892 fi
15893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15894 ;;
15895 esac
15896
15897 case "${host}" in
15898 *-*-darwin* )
15899 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15900 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h. */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h. */
15907 #include <CoreFoundation/CFBase.h>
15908
15909 int
15910 main ()
15911 {
15912
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>conftest.er1
15920 ac_status=$?
15921 grep -v '^ *+' conftest.er1 >conftest.err
15922 rm -f conftest.er1
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } &&
15926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15928 (eval $ac_try) 2>&5
15929 ac_status=$?
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); }; } &&
15932 { ac_try='test -s conftest.$ac_objext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 echo "$as_me:$LINENO: result: yes" >&5
15939 echo "${ECHO_T}yes" >&6
15940 else
15941 echo "$as_me: failed program was:" >&5
15942 sed 's/^/| /' conftest.$ac_ext >&5
15943
15944 echo "$as_me:$LINENO: result: no" >&5
15945 echo "${ECHO_T}no" >&6
15946 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15947 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #define __CF_USE_FRAMEWORK_INCLUDES__
15955 #include <CoreFoundation/CFBase.h>
15956
15957 int
15958 main ()
15959 {
15960
15961 ;
15962 return 0;
15963 }
15964 _ACEOF
15965 rm -f conftest.$ac_objext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967 (eval $ac_compile) 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15976 (eval $ac_try) 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; } &&
15980 { ac_try='test -s conftest.$ac_objext'
15981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15982 (eval $ac_try) 2>&5
15983 ac_status=$?
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); }; }; then
15986 echo "$as_me:$LINENO: result: yes" >&5
15987 echo "${ECHO_T}yes" >&6
15988 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15994 See \`config.log' for more details." >&5
15995 echo "$as_me: error: no. CoreFoundation not available.
15996 See \`config.log' for more details." >&2;}
15997 { (exit 1); exit 1; }; }
15998
15999 fi
16000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16001
16002
16003 fi
16004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16005 ;;
16006 esac
16007
16008 wants_win32=0
16009 doesnt_want_win32=0
16010 case "${host}" in
16011 *-*-cygwin*)
16012 if test "$wxUSE_MSW" = 1 ; then
16013 wants_win32=1
16014 else
16015 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16016 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16017 if test "${wx_cv_nocygwin+set}" = set; then
16018 echo $ECHO_N "(cached) $ECHO_C" >&6
16019 else
16020
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027
16028 int
16029 main ()
16030 {
16031
16032 #ifdef __MINGW32__
16033 choke me
16034 #endif
16035
16036 ;
16037 return 0;
16038 }
16039 _ACEOF
16040 rm -f conftest.$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>conftest.er1
16043 ac_status=$?
16044 grep -v '^ *+' conftest.er1 >conftest.err
16045 rm -f conftest.er1
16046 cat conftest.err >&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; } &&
16055 { ac_try='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16058 ac_status=$?
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 wx_cv_nocygwin=no
16062 else
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16065
16066 wx_cv_nocygwin=yes
16067
16068 fi
16069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16070
16071
16072 fi
16073 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16074 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16075
16076 if test "$wx_cv_nocygwin" = "yes"; then
16077 wants_win32=1
16078 else
16079 doesnt_want_win32=1
16080 fi
16081 fi
16082 if test "$wants_win32" = 1 ; then
16083 BAKEFILE_FORCE_PLATFORM=win32
16084 fi
16085 ;;
16086 *-*-mingw*)
16087 wants_win32=1
16088 ;;
16089 esac
16090
16091 if test "$wxUSE_WINE" = "yes"; then
16092 wants_win32=1
16093 LDFLAGS_GUI="-mwindows"
16094 fi
16095
16096 if test "$wants_win32" = 1 ; then
16097 USE_UNIX=0
16098 USE_WIN32=1
16099 cat >>confdefs.h <<\_ACEOF
16100 #define __WIN32__ 1
16101 _ACEOF
16102
16103 cat >>confdefs.h <<\_ACEOF
16104 #define __WIN95__ 1
16105 _ACEOF
16106
16107 cat >>confdefs.h <<\_ACEOF
16108 #define __WINDOWS__ 1
16109 _ACEOF
16110
16111 cat >>confdefs.h <<\_ACEOF
16112 #define __GNUWIN32__ 1
16113 _ACEOF
16114
16115 cat >>confdefs.h <<\_ACEOF
16116 #define STRICT 1
16117 _ACEOF
16118
16119 fi
16120 if test "$doesnt_want_win32" = 1 ; then
16121 USE_UNIX=1
16122 USE_WIN32=0
16123 fi
16124
16125 if test "$USE_UNIX" = 1 ; then
16126 wxUSE_UNIX=yes
16127 cat >>confdefs.h <<\_ACEOF
16128 #define __UNIX__ 1
16129 _ACEOF
16130
16131 fi
16132
16133 case "${host}" in
16134 *-pc-os2_emx | *-pc-os2-emx )
16135 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16136 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16137 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16138 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 ac_check_lib_save_LIBS=$LIBS
16142 LIBS="-lcExt $LIBS"
16143 cat >conftest.$ac_ext <<_ACEOF
16144 /* confdefs.h. */
16145 _ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16149
16150 /* Override any gcc2 internal prototype to avoid an error. */
16151 #ifdef __cplusplus
16152 extern "C"
16153 #endif
16154 /* We use char because int might match the return type of a gcc2
16155 builtin and then its argument prototype would still apply. */
16156 char drand48 ();
16157 int
16158 main ()
16159 {
16160 drand48 ();
16161 ;
16162 return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16167 (eval $ac_link) 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16177 ac_status=$?
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; } &&
16180 { ac_try='test -s conftest$ac_exeext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16183 ac_status=$?
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_cv_lib_cExt_drand48=yes
16187 else
16188 echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.$ac_ext >&5
16190
16191 ac_cv_lib_cExt_drand48=no
16192 fi
16193 rm -f conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16196 fi
16197 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16198 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16199 if test $ac_cv_lib_cExt_drand48 = yes; then
16200 LIBS="$LIBS -lcExt"
16201 fi
16202
16203 else
16204 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16205 fi
16206 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16207 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16208 if test "${wx_cv_gccversion+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211
16212 if test "$cross_compiling" = yes; then
16213 wx_cv_gccversion="EMX2"
16214
16215 else
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222
16223 #include <stdio.h>
16224
16225 int main()
16226 {
16227 FILE *f=fopen("conftestval", "w");
16228 if (!f) exit(1);
16229 fprintf(f,
16230 #if (__GNUC__ < 3)
16231 "EMX2"
16232 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16233 "EMX3"
16234 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16235 "Innotek5"
16236 #else
16237 "Innotek6"
16238 #endif
16239 );
16240 exit(0);
16241 }
16242
16243 _ACEOF
16244 rm -f conftest$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>&5
16247 ac_status=$?
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 wx_cv_gccversion=`cat conftestval`
16256 else
16257 echo "$as_me: program exited with status $ac_status" >&5
16258 echo "$as_me: failed program was:" >&5
16259 sed 's/^/| /' conftest.$ac_ext >&5
16260
16261 ( exit $ac_status )
16262 wx_cv_gccversion="EMX2"
16263 fi
16264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16265 fi
16266
16267 fi
16268 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16269 echo "${ECHO_T}$wx_cv_gccversion" >&6
16270 if test "$wx_cv_gccversion" = "EMX2"; then
16271 LIBS="$LIBS -lstdcpp"
16272 LDFLAGS="$LDFLAGS -Zsysv-signals"
16273 else
16274 if test "$wx_cv_gccversion" = "EMX3"; then
16275 LIBS="$LIBS -lstdcxx -lgcc"
16276 LDFLAGS="$LDFLAGS -Zsysv-signals"
16277 else
16278 LIBS="$LIBS -lstdc++"
16279 fi
16280 fi
16281 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16282 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16283 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16284 wxUSE_OMF=yes
16285 enable_omf=yes
16286 fi
16287 ;;
16288 *)
16289
16290 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16291 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16292 if test "${ac_cv_string_strcasecmp+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 else
16295
16296 cat >conftest.$ac_ext <<_ACEOF
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302
16303 #include <string.h>
16304
16305 int
16306 main ()
16307 {
16308
16309 strcasecmp("foo", "bar");
16310
16311 ;
16312 return 0;
16313 }
16314 _ACEOF
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16317 (eval $ac_link) 2>conftest.er1
16318 ac_status=$?
16319 grep -v '^ *+' conftest.er1 >conftest.err
16320 rm -f conftest.er1
16321 cat conftest.err >&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); } &&
16324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16326 (eval $ac_try) 2>&5
16327 ac_status=$?
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; } &&
16330 { ac_try='test -s conftest$ac_exeext'
16331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16332 (eval $ac_try) 2>&5
16333 ac_status=$?
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); }; }; then
16336 ac_cv_string_strcasecmp=yes
16337 else
16338 echo "$as_me: failed program was:" >&5
16339 sed 's/^/| /' conftest.$ac_ext >&5
16340
16341 ac_cv_string_strcasecmp=no
16342
16343 fi
16344 rm -f conftest.err conftest.$ac_objext \
16345 conftest$ac_exeext conftest.$ac_ext
16346
16347 fi
16348 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16349 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16350
16351 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16352 cat >>confdefs.h <<\_ACEOF
16353 #define HAVE_STRCASECMP_IN_STRING_H 1
16354 _ACEOF
16355
16356 else
16357 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16358 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16359 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16361 else
16362
16363 cat >conftest.$ac_ext <<_ACEOF
16364 /* confdefs.h. */
16365 _ACEOF
16366 cat confdefs.h >>conftest.$ac_ext
16367 cat >>conftest.$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369
16370 #include <strings.h>
16371
16372 int
16373 main ()
16374 {
16375
16376 strcasecmp("foo", "bar");
16377
16378 ;
16379 return 0;
16380 }
16381 _ACEOF
16382 rm -f conftest.$ac_objext conftest$ac_exeext
16383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16384 (eval $ac_link) 2>conftest.er1
16385 ac_status=$?
16386 grep -v '^ *+' conftest.er1 >conftest.err
16387 rm -f conftest.er1
16388 cat conftest.err >&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); } &&
16391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16394 ac_status=$?
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; } &&
16397 { ac_try='test -s conftest$ac_exeext'
16398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399 (eval $ac_try) 2>&5
16400 ac_status=$?
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; }; then
16403 ac_cv_strings_strcasecmp=yes
16404 else
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 ac_cv_strings_strcasecmp=no
16409
16410 fi
16411 rm -f conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16413
16414 fi
16415 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16416 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16417
16418 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16419 cat >>confdefs.h <<\_ACEOF
16420 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16421 _ACEOF
16422
16423 else
16424 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16425 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16426 { (exit 1); exit 1; }; }
16427 fi
16428 fi
16429
16430 ;;
16431 esac
16432
16433
16434 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16435 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16436 if test "${ac_cv_header_stdc+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 else
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 #include <stdlib.h>
16446 #include <stdarg.h>
16447 #include <string.h>
16448 #include <float.h>
16449
16450 int
16451 main ()
16452 {
16453
16454 ;
16455 return 0;
16456 }
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); }; } &&
16473 { ac_try='test -s conftest.$ac_objext'
16474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16475 (eval $ac_try) 2>&5
16476 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; }; then
16479 ac_cv_header_stdc=yes
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16483
16484 ac_cv_header_stdc=no
16485 fi
16486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16487
16488 if test $ac_cv_header_stdc = yes; then
16489 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h. */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 #include <string.h>
16497
16498 _ACEOF
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "memchr" >/dev/null 2>&1; then
16501 :
16502 else
16503 ac_cv_header_stdc=no
16504 fi
16505 rm -f conftest*
16506
16507 fi
16508
16509 if test $ac_cv_header_stdc = yes; then
16510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16511 cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h. */
16513 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517 #include <stdlib.h>
16518
16519 _ACEOF
16520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16521 $EGREP "free" >/dev/null 2>&1; then
16522 :
16523 else
16524 ac_cv_header_stdc=no
16525 fi
16526 rm -f conftest*
16527
16528 fi
16529
16530 if test $ac_cv_header_stdc = yes; then
16531 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16532 if test "$cross_compiling" = yes; then
16533 :
16534 else
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 #include <ctype.h>
16542 #if ((' ' & 0x0FF) == 0x020)
16543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16545 #else
16546 # define ISLOWER(c) \
16547 (('a' <= (c) && (c) <= 'i') \
16548 || ('j' <= (c) && (c) <= 'r') \
16549 || ('s' <= (c) && (c) <= 'z'))
16550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16551 #endif
16552
16553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16554 int
16555 main ()
16556 {
16557 int i;
16558 for (i = 0; i < 256; i++)
16559 if (XOR (islower (i), ISLOWER (i))
16560 || toupper (i) != TOUPPER (i))
16561 exit(2);
16562 exit (0);
16563 }
16564 _ACEOF
16565 rm -f conftest$ac_exeext
16566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16567 (eval $ac_link) 2>&5
16568 ac_status=$?
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 :
16577 else
16578 echo "$as_me: program exited with status $ac_status" >&5
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16581
16582 ( exit $ac_status )
16583 ac_cv_header_stdc=no
16584 fi
16585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16586 fi
16587 fi
16588 fi
16589 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16590 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16591 if test $ac_cv_header_stdc = yes; then
16592
16593 cat >>confdefs.h <<\_ACEOF
16594 #define STDC_HEADERS 1
16595 _ACEOF
16596
16597 fi
16598
16599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16610 inttypes.h stdint.h unistd.h
16611 do
16612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16613 echo "$as_me:$LINENO: checking for $ac_header" >&5
16614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16616 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 else
16618 cat >conftest.$ac_ext <<_ACEOF
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 $ac_includes_default
16625
16626 #include <$ac_header>
16627 _ACEOF
16628 rm -f conftest.$ac_objext
16629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 (eval $ac_compile) 2>conftest.er1
16631 ac_status=$?
16632 grep -v '^ *+' conftest.er1 >conftest.err
16633 rm -f conftest.er1
16634 cat conftest.err >&5
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } &&
16637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 eval "$as_ac_Header=yes"
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16653
16654 eval "$as_ac_Header=no"
16655 fi
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 fi
16658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16661 cat >>confdefs.h <<_ACEOF
16662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16663 _ACEOF
16664
16665 fi
16666
16667 done
16668
16669
16670
16671
16672
16673
16674
16675
16676 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16677 do
16678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16680 echo "$as_me:$LINENO: checking for $ac_header" >&5
16681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 fi
16685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16687 else
16688 # Is the header compilable?
16689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16698 #include <$ac_header>
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_header_compiler=yes
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ac_header_compiler=no
16727 fi
16728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16730 echo "${ECHO_T}$ac_header_compiler" >&6
16731
16732 # Is the header present?
16733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 #include <$ac_header>
16742 _ACEOF
16743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } >/dev/null; then
16751 if test -s conftest.err; then
16752 ac_cpp_err=$ac_c_preproc_warn_flag
16753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16754 else
16755 ac_cpp_err=
16756 fi
16757 else
16758 ac_cpp_err=yes
16759 fi
16760 if test -z "$ac_cpp_err"; then
16761 ac_header_preproc=yes
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 ac_header_preproc=no
16767 fi
16768 rm -f conftest.err conftest.$ac_ext
16769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16770 echo "${ECHO_T}$ac_header_preproc" >&6
16771
16772 # So? What about this header?
16773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16774 yes:no: )
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16779 ac_header_preproc=yes
16780 ;;
16781 no:yes:* )
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16794 (
16795 cat <<\_ASBOX
16796 ## ----------------------------------------- ##
16797 ## Report this to wx-dev@lists.wxwidgets.org ##
16798 ## ----------------------------------------- ##
16799 _ASBOX
16800 ) |
16801 sed "s/^/$as_me: WARNING: /" >&2
16802 ;;
16803 esac
16804 echo "$as_me:$LINENO: checking for $ac_header" >&5
16805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809 eval "$as_ac_Header=\$ac_header_preproc"
16810 fi
16811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16813
16814 fi
16815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16818 _ACEOF
16819
16820 fi
16821
16822 done
16823
16824
16825 if test "$ac_cv_header_wchar_h" != "yes"; then
16826
16827 for ac_header in wcstr.h
16828 do
16829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16831 echo "$as_me:$LINENO: checking for $ac_header" >&5
16832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 fi
16836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16838 else
16839 # Is the header compilable?
16840 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16842 cat >conftest.$ac_ext <<_ACEOF
16843 /* confdefs.h. */
16844 _ACEOF
16845 cat confdefs.h >>conftest.$ac_ext
16846 cat >>conftest.$ac_ext <<_ACEOF
16847 /* end confdefs.h. */
16848 $ac_includes_default
16849 #include <$ac_header>
16850 _ACEOF
16851 rm -f conftest.$ac_objext
16852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16853 (eval $ac_compile) 2>conftest.er1
16854 ac_status=$?
16855 grep -v '^ *+' conftest.er1 >conftest.err
16856 rm -f conftest.er1
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } &&
16860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16863 ac_status=$?
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; } &&
16866 { ac_try='test -s conftest.$ac_objext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16869 ac_status=$?
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 ac_header_compiler=yes
16873 else
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16876
16877 ac_header_compiler=no
16878 fi
16879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16881 echo "${ECHO_T}$ac_header_compiler" >&6
16882
16883 # Is the header present?
16884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16886 cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h. */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 #include <$ac_header>
16893 _ACEOF
16894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } >/dev/null; then
16902 if test -s conftest.err; then
16903 ac_cpp_err=$ac_c_preproc_warn_flag
16904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16905 else
16906 ac_cpp_err=
16907 fi
16908 else
16909 ac_cpp_err=yes
16910 fi
16911 if test -z "$ac_cpp_err"; then
16912 ac_header_preproc=yes
16913 else
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16916
16917 ac_header_preproc=no
16918 fi
16919 rm -f conftest.err conftest.$ac_ext
16920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16921 echo "${ECHO_T}$ac_header_preproc" >&6
16922
16923 # So? What about this header?
16924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16925 yes:no: )
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16930 ac_header_preproc=yes
16931 ;;
16932 no:yes:* )
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16945 (
16946 cat <<\_ASBOX
16947 ## ----------------------------------------- ##
16948 ## Report this to wx-dev@lists.wxwidgets.org ##
16949 ## ----------------------------------------- ##
16950 _ASBOX
16951 ) |
16952 sed "s/^/$as_me: WARNING: /" >&2
16953 ;;
16954 esac
16955 echo "$as_me:$LINENO: checking for $ac_header" >&5
16956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16958 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 else
16960 eval "$as_ac_Header=\$ac_header_preproc"
16961 fi
16962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16964
16965 fi
16966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16967 cat >>confdefs.h <<_ACEOF
16968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16969 _ACEOF
16970
16971 fi
16972
16973 done
16974
16975 fi
16976
16977 case "${host}" in
16978 *-pc-os2_emx | *-pc-os2-emx )
16979 if test $ac_cv_header_langinfo_h = "yes" \
16980 -a \( "$wx_cv_gccversion" = "EMX2" \
16981 -o "$wx_cv_gccversion" = "EMX3" \
16982 -o "$wx_cv_gccversion" = "Innotek5" \); then
16983 LIBS="$LIBS -lintl"
16984 fi
16985 ;;
16986 esac
16987
16988 if test "$USE_UNIX" = 1 ; then
16989
16990 for ac_header in sys/select.h
16991 do
16992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16994 echo "$as_me:$LINENO: checking for $ac_header" >&5
16995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 fi
16999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17001 else
17002 # Is the header compilable?
17003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 #include <$ac_header>
17013 _ACEOF
17014 rm -f conftest.$ac_objext
17015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17016 (eval $ac_compile) 2>conftest.er1
17017 ac_status=$?
17018 grep -v '^ *+' conftest.er1 >conftest.err
17019 rm -f conftest.er1
17020 cat conftest.err >&5
17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17022 (exit $ac_status); } &&
17023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17025 (eval $ac_try) 2>&5
17026 ac_status=$?
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); }; } &&
17029 { ac_try='test -s conftest.$ac_objext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17032 ac_status=$?
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_header_compiler=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040 ac_header_compiler=no
17041 fi
17042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17044 echo "${ECHO_T}$ac_header_compiler" >&6
17045
17046 # Is the header present?
17047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 #include <$ac_header>
17056 _ACEOF
17057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } >/dev/null; then
17065 if test -s conftest.err; then
17066 ac_cpp_err=$ac_c_preproc_warn_flag
17067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17068 else
17069 ac_cpp_err=
17070 fi
17071 else
17072 ac_cpp_err=yes
17073 fi
17074 if test -z "$ac_cpp_err"; then
17075 ac_header_preproc=yes
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 ac_header_preproc=no
17081 fi
17082 rm -f conftest.err conftest.$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17084 echo "${ECHO_T}$ac_header_preproc" >&6
17085
17086 # So? What about this header?
17087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17088 yes:no: )
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17093 ac_header_preproc=yes
17094 ;;
17095 no:yes:* )
17096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17108 (
17109 cat <<\_ASBOX
17110 ## ----------------------------------------- ##
17111 ## Report this to wx-dev@lists.wxwidgets.org ##
17112 ## ----------------------------------------- ##
17113 _ASBOX
17114 ) |
17115 sed "s/^/$as_me: WARNING: /" >&2
17116 ;;
17117 esac
17118 echo "$as_me:$LINENO: checking for $ac_header" >&5
17119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 else
17123 eval "$as_ac_Header=\$ac_header_preproc"
17124 fi
17125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17127
17128 fi
17129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17130 cat >>confdefs.h <<_ACEOF
17131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17132 _ACEOF
17133
17134 fi
17135
17136 done
17137
17138 fi
17139
17140
17141 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17142 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17143 if test "${ac_cv_c_const+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 cat >conftest.$ac_ext <<_ACEOF
17147 /* confdefs.h. */
17148 _ACEOF
17149 cat confdefs.h >>conftest.$ac_ext
17150 cat >>conftest.$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17152
17153 int
17154 main ()
17155 {
17156 /* FIXME: Include the comments suggested by Paul. */
17157 #ifndef __cplusplus
17158 /* Ultrix mips cc rejects this. */
17159 typedef int charset[2];
17160 const charset x;
17161 /* SunOS 4.1.1 cc rejects this. */
17162 char const *const *ccp;
17163 char **p;
17164 /* NEC SVR4.0.2 mips cc rejects this. */
17165 struct point {int x, y;};
17166 static struct point const zero = {0,0};
17167 /* AIX XL C 1.02.0.0 rejects this.
17168 It does not let you subtract one const X* pointer from another in
17169 an arm of an if-expression whose if-part is not a constant
17170 expression */
17171 const char *g = "string";
17172 ccp = &g + (g ? g-g : 0);
17173 /* HPUX 7.0 cc rejects these. */
17174 ++ccp;
17175 p = (char**) ccp;
17176 ccp = (char const *const *) p;
17177 { /* SCO 3.2v4 cc rejects this. */
17178 char *t;
17179 char const *s = 0 ? (char *) 0 : (char const *) 0;
17180
17181 *t++ = 0;
17182 }
17183 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17184 int x[] = {25, 17};
17185 const int *foo = &x[0];
17186 ++foo;
17187 }
17188 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17189 typedef const int *iptr;
17190 iptr p = 0;
17191 ++p;
17192 }
17193 { /* AIX XL C 1.02.0.0 rejects this saying
17194 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17195 struct s { int j; const int *ap[3]; };
17196 struct s *b; b->j = 5;
17197 }
17198 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17199 const int foo = 10;
17200 }
17201 #endif
17202
17203 ;
17204 return 0;
17205 }
17206 _ACEOF
17207 rm -f conftest.$ac_objext
17208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17209 (eval $ac_compile) 2>conftest.er1
17210 ac_status=$?
17211 grep -v '^ *+' conftest.er1 >conftest.err
17212 rm -f conftest.er1
17213 cat conftest.err >&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try='test -s conftest.$ac_objext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17228 ac_cv_c_const=yes
17229 else
17230 echo "$as_me: failed program was:" >&5
17231 sed 's/^/| /' conftest.$ac_ext >&5
17232
17233 ac_cv_c_const=no
17234 fi
17235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17236 fi
17237 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17238 echo "${ECHO_T}$ac_cv_c_const" >&6
17239 if test $ac_cv_c_const = no; then
17240
17241 cat >>confdefs.h <<\_ACEOF
17242 #define const
17243 _ACEOF
17244
17245 fi
17246
17247 echo "$as_me:$LINENO: checking for inline" >&5
17248 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17249 if test "${ac_cv_c_inline+set}" = set; then
17250 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 else
17252 ac_cv_c_inline=no
17253 for ac_kw in inline __inline__ __inline; do
17254 cat >conftest.$ac_ext <<_ACEOF
17255 /* confdefs.h. */
17256 _ACEOF
17257 cat confdefs.h >>conftest.$ac_ext
17258 cat >>conftest.$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 #ifndef __cplusplus
17261 typedef int foo_t;
17262 static $ac_kw foo_t static_foo () {return 0; }
17263 $ac_kw foo_t foo () {return 0; }
17264 #endif
17265
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17270 ac_status=$?
17271 grep -v '^ *+' conftest.er1 >conftest.err
17272 rm -f conftest.er1
17273 cat conftest.err >&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_cv_c_inline=$ac_kw; break
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293 fi
17294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17295 done
17296
17297 fi
17298 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17299 echo "${ECHO_T}$ac_cv_c_inline" >&6
17300
17301
17302 case $ac_cv_c_inline in
17303 inline | yes) ;;
17304 *)
17305 case $ac_cv_c_inline in
17306 no) ac_val=;;
17307 *) ac_val=$ac_cv_c_inline;;
17308 esac
17309 cat >>confdefs.h <<_ACEOF
17310 #ifndef __cplusplus
17311 #define inline $ac_val
17312 #endif
17313 _ACEOF
17314 ;;
17315 esac
17316
17317
17318 echo "$as_me:$LINENO: checking for char" >&5
17319 echo $ECHO_N "checking for char... $ECHO_C" >&6
17320 if test "${ac_cv_type_char+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 $ac_includes_default
17330 int
17331 main ()
17332 {
17333 if ((char *) 0)
17334 return 0;
17335 if (sizeof (char))
17336 return 0;
17337 ;
17338 return 0;
17339 }
17340 _ACEOF
17341 rm -f conftest.$ac_objext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17343 (eval $ac_compile) 2>conftest.er1
17344 ac_status=$?
17345 grep -v '^ *+' conftest.er1 >conftest.err
17346 rm -f conftest.er1
17347 cat conftest.err >&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17353 ac_status=$?
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; } &&
17356 { ac_try='test -s conftest.$ac_objext'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; }; then
17362 ac_cv_type_char=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 ac_cv_type_char=no
17368 fi
17369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17370 fi
17371 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17372 echo "${ECHO_T}$ac_cv_type_char" >&6
17373
17374 echo "$as_me:$LINENO: checking size of char" >&5
17375 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17376 if test "${ac_cv_sizeof_char+set}" = set; then
17377 echo $ECHO_N "(cached) $ECHO_C" >&6
17378 else
17379 if test "$ac_cv_type_char" = yes; then
17380 # The cast to unsigned long works around a bug in the HP C Compiler
17381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17382 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17383 # This bug is HP SR number 8606223364.
17384 if test "$cross_compiling" = yes; then
17385 # Depending upon the size, compute the lo and hi bounds.
17386 cat >conftest.$ac_ext <<_ACEOF
17387 /* confdefs.h. */
17388 _ACEOF
17389 cat confdefs.h >>conftest.$ac_ext
17390 cat >>conftest.$ac_ext <<_ACEOF
17391 /* end confdefs.h. */
17392 $ac_includes_default
17393 int
17394 main ()
17395 {
17396 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17397 test_array [0] = 0
17398
17399 ;
17400 return 0;
17401 }
17402 _ACEOF
17403 rm -f conftest.$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17421 ac_status=$?
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 ac_lo=0 ac_mid=0
17425 while :; do
17426 cat >conftest.$ac_ext <<_ACEOF
17427 /* confdefs.h. */
17428 _ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 $ac_includes_default
17433 int
17434 main ()
17435 {
17436 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17437 test_array [0] = 0
17438
17439 ;
17440 return 0;
17441 }
17442 _ACEOF
17443 rm -f conftest.$ac_objext
17444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17445 (eval $ac_compile) 2>conftest.er1
17446 ac_status=$?
17447 grep -v '^ *+' conftest.er1 >conftest.err
17448 rm -f conftest.er1
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } &&
17452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17455 ac_status=$?
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; } &&
17458 { ac_try='test -s conftest.$ac_objext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 ac_hi=$ac_mid; break
17465 else
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17468
17469 ac_lo=`expr $ac_mid + 1`
17470 if test $ac_lo -le $ac_mid; then
17471 ac_lo= ac_hi=
17472 break
17473 fi
17474 ac_mid=`expr 2 '*' $ac_mid + 1`
17475 fi
17476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17477 done
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17481
17482 cat >conftest.$ac_ext <<_ACEOF
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488 $ac_includes_default
17489 int
17490 main ()
17491 {
17492 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17493 test_array [0] = 0
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; } &&
17514 { ac_try='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520 ac_hi=-1 ac_mid=-1
17521 while :; do
17522 cat >conftest.$ac_ext <<_ACEOF
17523 /* confdefs.h. */
17524 _ACEOF
17525 cat confdefs.h >>conftest.$ac_ext
17526 cat >>conftest.$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17528 $ac_includes_default
17529 int
17530 main ()
17531 {
17532 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17533 test_array [0] = 0
17534
17535 ;
17536 return 0;
17537 }
17538 _ACEOF
17539 rm -f conftest.$ac_objext
17540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17541 (eval $ac_compile) 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17551 ac_status=$?
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; } &&
17554 { ac_try='test -s conftest.$ac_objext'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17557 ac_status=$?
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; }; then
17560 ac_lo=$ac_mid; break
17561 else
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.$ac_ext >&5
17564
17565 ac_hi=`expr '(' $ac_mid ')' - 1`
17566 if test $ac_mid -le $ac_hi; then
17567 ac_lo= ac_hi=
17568 break
17569 fi
17570 ac_mid=`expr 2 '*' $ac_mid`
17571 fi
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 done
17574 else
17575 echo "$as_me: failed program was:" >&5
17576 sed 's/^/| /' conftest.$ac_ext >&5
17577
17578 ac_lo= ac_hi=
17579 fi
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 fi
17582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17583 # Binary search between lo and hi bounds.
17584 while test "x$ac_lo" != "x$ac_hi"; do
17585 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17586 cat >conftest.$ac_ext <<_ACEOF
17587 /* confdefs.h. */
17588 _ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 $ac_includes_default
17593 int
17594 main ()
17595 {
17596 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17597 test_array [0] = 0
17598
17599 ;
17600 return 0;
17601 }
17602 _ACEOF
17603 rm -f conftest.$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>conftest.er1
17606 ac_status=$?
17607 grep -v '^ *+' conftest.er1 >conftest.err
17608 rm -f conftest.er1
17609 cat conftest.err >&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; } &&
17618 { ac_try='test -s conftest.$ac_objext'
17619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17620 (eval $ac_try) 2>&5
17621 ac_status=$?
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17624 ac_hi=$ac_mid
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 ac_lo=`expr '(' $ac_mid ')' + 1`
17630 fi
17631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17632 done
17633 case $ac_lo in
17634 ?*) ac_cv_sizeof_char=$ac_lo;;
17635 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17636 See \`config.log' for more details." >&5
17637 echo "$as_me: error: cannot compute sizeof (char), 77
17638 See \`config.log' for more details." >&2;}
17639 { (exit 1); exit 1; }; } ;;
17640 esac
17641 else
17642 if test "$cross_compiling" = yes; then
17643 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17644 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17645 { (exit 1); exit 1; }; }
17646 else
17647 cat >conftest.$ac_ext <<_ACEOF
17648 /* confdefs.h. */
17649 _ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17653 $ac_includes_default
17654 long longval () { return (long) (sizeof (char)); }
17655 unsigned long ulongval () { return (long) (sizeof (char)); }
17656 #include <stdio.h>
17657 #include <stdlib.h>
17658 int
17659 main ()
17660 {
17661
17662 FILE *f = fopen ("conftest.val", "w");
17663 if (! f)
17664 exit (1);
17665 if (((long) (sizeof (char))) < 0)
17666 {
17667 long i = longval ();
17668 if (i != ((long) (sizeof (char))))
17669 exit (1);
17670 fprintf (f, "%ld\n", i);
17671 }
17672 else
17673 {
17674 unsigned long i = ulongval ();
17675 if (i != ((long) (sizeof (char))))
17676 exit (1);
17677 fprintf (f, "%lu\n", i);
17678 }
17679 exit (ferror (f) || fclose (f) != 0);
17680
17681 ;
17682 return 0;
17683 }
17684 _ACEOF
17685 rm -f conftest$ac_exeext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17687 (eval $ac_link) 2>&5
17688 ac_status=$?
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_sizeof_char=`cat conftest.val`
17697 else
17698 echo "$as_me: program exited with status $ac_status" >&5
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17701
17702 ( exit $ac_status )
17703 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17704 See \`config.log' for more details." >&5
17705 echo "$as_me: error: cannot compute sizeof (char), 77
17706 See \`config.log' for more details." >&2;}
17707 { (exit 1); exit 1; }; }
17708 fi
17709 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17710 fi
17711 fi
17712 rm -f conftest.val
17713 else
17714 ac_cv_sizeof_char=0
17715 fi
17716 fi
17717 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17718 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17719 cat >>confdefs.h <<_ACEOF
17720 #define SIZEOF_CHAR $ac_cv_sizeof_char
17721 _ACEOF
17722
17723
17724 echo "$as_me:$LINENO: checking for short" >&5
17725 echo $ECHO_N "checking for short... $ECHO_C" >&6
17726 if test "${ac_cv_type_short+set}" = set; then
17727 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 else
17729 cat >conftest.$ac_ext <<_ACEOF
17730 /* confdefs.h. */
17731 _ACEOF
17732 cat confdefs.h >>conftest.$ac_ext
17733 cat >>conftest.$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 $ac_includes_default
17736 int
17737 main ()
17738 {
17739 if ((short *) 0)
17740 return 0;
17741 if (sizeof (short))
17742 return 0;
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 ac_cv_type_short=yes
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 ac_cv_type_short=no
17774 fi
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17776 fi
17777 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17778 echo "${ECHO_T}$ac_cv_type_short" >&6
17779
17780 echo "$as_me:$LINENO: checking size of short" >&5
17781 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17782 if test "${ac_cv_sizeof_short+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 else
17785 if test "$ac_cv_type_short" = yes; then
17786 # The cast to unsigned long works around a bug in the HP C Compiler
17787 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17788 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17789 # This bug is HP SR number 8606223364.
17790 if test "$cross_compiling" = yes; then
17791 # Depending upon the size, compute the lo and hi bounds.
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 $ac_includes_default
17799 int
17800 main ()
17801 {
17802 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17803 test_array [0] = 0
17804
17805 ;
17806 return 0;
17807 }
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; } &&
17824 { ac_try='test -s conftest.$ac_objext'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17827 ac_status=$?
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; }; then
17830 ac_lo=0 ac_mid=0
17831 while :; do
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 $ac_includes_default
17839 int
17840 main ()
17841 {
17842 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17843 test_array [0] = 0
17844
17845 ;
17846 return 0;
17847 }
17848 _ACEOF
17849 rm -f conftest.$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } &&
17864 { ac_try='test -s conftest.$ac_objext'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17870 ac_hi=$ac_mid; break
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 ac_lo=`expr $ac_mid + 1`
17876 if test $ac_lo -le $ac_mid; then
17877 ac_lo= ac_hi=
17878 break
17879 fi
17880 ac_mid=`expr 2 '*' $ac_mid + 1`
17881 fi
17882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 done
17884 else
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17887
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 $ac_includes_default
17895 int
17896 main ()
17897 {
17898 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17899 test_array [0] = 0
17900
17901 ;
17902 return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17907 (eval $ac_compile) 2>conftest.er1
17908 ac_status=$?
17909 grep -v '^ *+' conftest.er1 >conftest.err
17910 rm -f conftest.er1
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } &&
17914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17926 ac_hi=-1 ac_mid=-1
17927 while :; do
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17935 int
17936 main ()
17937 {
17938 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17939 test_array [0] = 0
17940
17941 ;
17942 return 0;
17943 }
17944 _ACEOF
17945 rm -f conftest.$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17957 ac_status=$?
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17966 ac_lo=$ac_mid; break
17967 else
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17970
17971 ac_hi=`expr '(' $ac_mid ')' - 1`
17972 if test $ac_mid -le $ac_hi; then
17973 ac_lo= ac_hi=
17974 break
17975 fi
17976 ac_mid=`expr 2 '*' $ac_mid`
17977 fi
17978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17979 done
17980 else
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17983
17984 ac_lo= ac_hi=
17985 fi
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17987 fi
17988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 # Binary search between lo and hi bounds.
17990 while test "x$ac_lo" != "x$ac_hi"; do
17991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 int
18000 main ()
18001 {
18002 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18003 test_array [0] = 0
18004
18005 ;
18006 return 0;
18007 }
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18012 ac_status=$?
18013 grep -v '^ *+' conftest.er1 >conftest.err
18014 rm -f conftest.er1
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18021 ac_status=$?
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 ac_hi=$ac_mid
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18034
18035 ac_lo=`expr '(' $ac_mid ')' + 1`
18036 fi
18037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18038 done
18039 case $ac_lo in
18040 ?*) ac_cv_sizeof_short=$ac_lo;;
18041 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18042 See \`config.log' for more details." >&5
18043 echo "$as_me: error: cannot compute sizeof (short), 77
18044 See \`config.log' for more details." >&2;}
18045 { (exit 1); exit 1; }; } ;;
18046 esac
18047 else
18048 if test "$cross_compiling" = yes; then
18049 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18050 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18051 { (exit 1); exit 1; }; }
18052 else
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 $ac_includes_default
18060 long longval () { return (long) (sizeof (short)); }
18061 unsigned long ulongval () { return (long) (sizeof (short)); }
18062 #include <stdio.h>
18063 #include <stdlib.h>
18064 int
18065 main ()
18066 {
18067
18068 FILE *f = fopen ("conftest.val", "w");
18069 if (! f)
18070 exit (1);
18071 if (((long) (sizeof (short))) < 0)
18072 {
18073 long i = longval ();
18074 if (i != ((long) (sizeof (short))))
18075 exit (1);
18076 fprintf (f, "%ld\n", i);
18077 }
18078 else
18079 {
18080 unsigned long i = ulongval ();
18081 if (i != ((long) (sizeof (short))))
18082 exit (1);
18083 fprintf (f, "%lu\n", i);
18084 }
18085 exit (ferror (f) || fclose (f) != 0);
18086
18087 ;
18088 return 0;
18089 }
18090 _ACEOF
18091 rm -f conftest$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>&5
18094 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_sizeof_short=`cat conftest.val`
18103 else
18104 echo "$as_me: program exited with status $ac_status" >&5
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18107
18108 ( exit $ac_status )
18109 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18110 See \`config.log' for more details." >&5
18111 echo "$as_me: error: cannot compute sizeof (short), 77
18112 See \`config.log' for more details." >&2;}
18113 { (exit 1); exit 1; }; }
18114 fi
18115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18116 fi
18117 fi
18118 rm -f conftest.val
18119 else
18120 ac_cv_sizeof_short=0
18121 fi
18122 fi
18123 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18124 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18125 cat >>confdefs.h <<_ACEOF
18126 #define SIZEOF_SHORT $ac_cv_sizeof_short
18127 _ACEOF
18128
18129
18130 echo "$as_me:$LINENO: checking for void *" >&5
18131 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18132 if test "${ac_cv_type_void_p+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 $ac_includes_default
18142 int
18143 main ()
18144 {
18145 if ((void * *) 0)
18146 return 0;
18147 if (sizeof (void *))
18148 return 0;
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 rm -f conftest.$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_cv_type_void_p=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_cv_type_void_p=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 fi
18183 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18184 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18185
18186 echo "$as_me:$LINENO: checking size of void *" >&5
18187 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18188 if test "${ac_cv_sizeof_void_p+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191 if test "$ac_cv_type_void_p" = yes; then
18192 # The cast to unsigned long works around a bug in the HP C Compiler
18193 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18194 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18195 # This bug is HP SR number 8606223364.
18196 if test "$cross_compiling" = yes; then
18197 # Depending upon the size, compute the lo and hi bounds.
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18205 int
18206 main ()
18207 {
18208 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18209 test_array [0] = 0
18210
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18233 ac_status=$?
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_lo=0 ac_mid=0
18237 while :; do
18238 cat >conftest.$ac_ext <<_ACEOF
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 $ac_includes_default
18245 int
18246 main ()
18247 {
18248 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18249 test_array [0] = 0
18250
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18257 (eval $ac_compile) 2>conftest.er1
18258 ac_status=$?
18259 grep -v '^ *+' conftest.er1 >conftest.err
18260 rm -f conftest.er1
18261 cat conftest.err >&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } &&
18264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest.$ac_objext'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; }; then
18276 ac_hi=$ac_mid; break
18277 else
18278 echo "$as_me: failed program was:" >&5
18279 sed 's/^/| /' conftest.$ac_ext >&5
18280
18281 ac_lo=`expr $ac_mid + 1`
18282 if test $ac_lo -le $ac_mid; then
18283 ac_lo= ac_hi=
18284 break
18285 fi
18286 ac_mid=`expr 2 '*' $ac_mid + 1`
18287 fi
18288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18289 done
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18293
18294 cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h. */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h. */
18300 $ac_includes_default
18301 int
18302 main ()
18303 {
18304 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18305 test_array [0] = 0
18306
18307 ;
18308 return 0;
18309 }
18310 _ACEOF
18311 rm -f conftest.$ac_objext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18313 (eval $ac_compile) 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; } &&
18326 { ac_try='test -s conftest.$ac_objext'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18329 ac_status=$?
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 ac_hi=-1 ac_mid=-1
18333 while :; do
18334 cat >conftest.$ac_ext <<_ACEOF
18335 /* confdefs.h. */
18336 _ACEOF
18337 cat confdefs.h >>conftest.$ac_ext
18338 cat >>conftest.$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18340 $ac_includes_default
18341 int
18342 main ()
18343 {
18344 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18345 test_array [0] = 0
18346
18347 ;
18348 return 0;
18349 }
18350 _ACEOF
18351 rm -f conftest.$ac_objext
18352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18353 (eval $ac_compile) 2>conftest.er1
18354 ac_status=$?
18355 grep -v '^ *+' conftest.er1 >conftest.err
18356 rm -f conftest.er1
18357 cat conftest.err >&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); } &&
18360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18363 ac_status=$?
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_lo=$ac_mid; break
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18376
18377 ac_hi=`expr '(' $ac_mid ')' - 1`
18378 if test $ac_mid -le $ac_hi; then
18379 ac_lo= ac_hi=
18380 break
18381 fi
18382 ac_mid=`expr 2 '*' $ac_mid`
18383 fi
18384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18385 done
18386 else
18387 echo "$as_me: failed program was:" >&5
18388 sed 's/^/| /' conftest.$ac_ext >&5
18389
18390 ac_lo= ac_hi=
18391 fi
18392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18393 fi
18394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18395 # Binary search between lo and hi bounds.
18396 while test "x$ac_lo" != "x$ac_hi"; do
18397 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18398 cat >conftest.$ac_ext <<_ACEOF
18399 /* confdefs.h. */
18400 _ACEOF
18401 cat confdefs.h >>conftest.$ac_ext
18402 cat >>conftest.$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 $ac_includes_default
18405 int
18406 main ()
18407 {
18408 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18409 test_array [0] = 0
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_hi=$ac_mid
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_lo=`expr '(' $ac_mid ')' + 1`
18442 fi
18443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18444 done
18445 case $ac_lo in
18446 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18447 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18448 See \`config.log' for more details." >&5
18449 echo "$as_me: error: cannot compute sizeof (void *), 77
18450 See \`config.log' for more details." >&2;}
18451 { (exit 1); exit 1; }; } ;;
18452 esac
18453 else
18454 if test "$cross_compiling" = yes; then
18455 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18456 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18457 { (exit 1); exit 1; }; }
18458 else
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 $ac_includes_default
18466 long longval () { return (long) (sizeof (void *)); }
18467 unsigned long ulongval () { return (long) (sizeof (void *)); }
18468 #include <stdio.h>
18469 #include <stdlib.h>
18470 int
18471 main ()
18472 {
18473
18474 FILE *f = fopen ("conftest.val", "w");
18475 if (! f)
18476 exit (1);
18477 if (((long) (sizeof (void *))) < 0)
18478 {
18479 long i = longval ();
18480 if (i != ((long) (sizeof (void *))))
18481 exit (1);
18482 fprintf (f, "%ld\n", i);
18483 }
18484 else
18485 {
18486 unsigned long i = ulongval ();
18487 if (i != ((long) (sizeof (void *))))
18488 exit (1);
18489 fprintf (f, "%lu\n", i);
18490 }
18491 exit (ferror (f) || fclose (f) != 0);
18492
18493 ;
18494 return 0;
18495 }
18496 _ACEOF
18497 rm -f conftest$ac_exeext
18498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18499 (eval $ac_link) 2>&5
18500 ac_status=$?
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18504 (eval $ac_try) 2>&5
18505 ac_status=$?
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); }; }; then
18508 ac_cv_sizeof_void_p=`cat conftest.val`
18509 else
18510 echo "$as_me: program exited with status $ac_status" >&5
18511 echo "$as_me: failed program was:" >&5
18512 sed 's/^/| /' conftest.$ac_ext >&5
18513
18514 ( exit $ac_status )
18515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18516 See \`config.log' for more details." >&5
18517 echo "$as_me: error: cannot compute sizeof (void *), 77
18518 See \`config.log' for more details." >&2;}
18519 { (exit 1); exit 1; }; }
18520 fi
18521 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18522 fi
18523 fi
18524 rm -f conftest.val
18525 else
18526 ac_cv_sizeof_void_p=0
18527 fi
18528 fi
18529 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18530 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18531 cat >>confdefs.h <<_ACEOF
18532 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18533 _ACEOF
18534
18535
18536 echo "$as_me:$LINENO: checking for int" >&5
18537 echo $ECHO_N "checking for int... $ECHO_C" >&6
18538 if test "${ac_cv_type_int+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18548 int
18549 main ()
18550 {
18551 if ((int *) 0)
18552 return 0;
18553 if (sizeof (int))
18554 return 0;
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18561 (eval $ac_compile) 2>conftest.er1
18562 ac_status=$?
18563 grep -v '^ *+' conftest.er1 >conftest.err
18564 rm -f conftest.er1
18565 cat conftest.err >&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; } &&
18574 { ac_try='test -s conftest.$ac_objext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_type_int=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ac_cv_type_int=no
18586 fi
18587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18588 fi
18589 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18590 echo "${ECHO_T}$ac_cv_type_int" >&6
18591
18592 echo "$as_me:$LINENO: checking size of int" >&5
18593 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18594 if test "${ac_cv_sizeof_int+set}" = set; then
18595 echo $ECHO_N "(cached) $ECHO_C" >&6
18596 else
18597 if test "$ac_cv_type_int" = yes; then
18598 # The cast to unsigned long works around a bug in the HP C Compiler
18599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18601 # This bug is HP SR number 8606223364.
18602 if test "$cross_compiling" = yes; then
18603 # Depending upon the size, compute the lo and hi bounds.
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610 $ac_includes_default
18611 int
18612 main ()
18613 {
18614 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18615 test_array [0] = 0
18616
18617 ;
18618 return 0;
18619 }
18620 _ACEOF
18621 rm -f conftest.$ac_objext
18622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18623 (eval $ac_compile) 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } &&
18630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18633 ac_status=$?
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; } &&
18636 { ac_try='test -s conftest.$ac_objext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_lo=0 ac_mid=0
18643 while :; do
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651 int
18652 main ()
18653 {
18654 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18655 test_array [0] = 0
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; } &&
18676 { ac_try='test -s conftest.$ac_objext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_hi=$ac_mid; break
18683 else
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18686
18687 ac_lo=`expr $ac_mid + 1`
18688 if test $ac_lo -le $ac_mid; then
18689 ac_lo= ac_hi=
18690 break
18691 fi
18692 ac_mid=`expr 2 '*' $ac_mid + 1`
18693 fi
18694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 done
18696 else
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18699
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18707 int
18708 main ()
18709 {
18710 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18711 test_array [0] = 0
18712
18713 ;
18714 return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18729 ac_status=$?
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; } &&
18732 { ac_try='test -s conftest.$ac_objext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18735 ac_status=$?
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18738 ac_hi=-1 ac_mid=-1
18739 while :; do
18740 cat >conftest.$ac_ext <<_ACEOF
18741 /* confdefs.h. */
18742 _ACEOF
18743 cat confdefs.h >>conftest.$ac_ext
18744 cat >>conftest.$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18746 $ac_includes_default
18747 int
18748 main ()
18749 {
18750 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18751 test_array [0] = 0
18752
18753 ;
18754 return 0;
18755 }
18756 _ACEOF
18757 rm -f conftest.$ac_objext
18758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18759 (eval $ac_compile) 2>conftest.er1
18760 ac_status=$?
18761 grep -v '^ *+' conftest.er1 >conftest.err
18762 rm -f conftest.er1
18763 cat conftest.err >&5
18764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18765 (exit $ac_status); } &&
18766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18768 (eval $ac_try) 2>&5
18769 ac_status=$?
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); }; } &&
18772 { ac_try='test -s conftest.$ac_objext'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; }; then
18778 ac_lo=$ac_mid; break
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 ac_hi=`expr '(' $ac_mid ')' - 1`
18784 if test $ac_mid -le $ac_hi; then
18785 ac_lo= ac_hi=
18786 break
18787 fi
18788 ac_mid=`expr 2 '*' $ac_mid`
18789 fi
18790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18791 done
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 ac_lo= ac_hi=
18797 fi
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 fi
18800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18801 # Binary search between lo and hi bounds.
18802 while test "x$ac_lo" != "x$ac_hi"; do
18803 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 $ac_includes_default
18811 int
18812 main ()
18813 {
18814 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18815 test_array [0] = 0
18816
18817 ;
18818 return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18833 ac_status=$?
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_hi=$ac_mid
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_lo=`expr '(' $ac_mid ')' + 1`
18848 fi
18849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 done
18851 case $ac_lo in
18852 ?*) ac_cv_sizeof_int=$ac_lo;;
18853 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18854 See \`config.log' for more details." >&5
18855 echo "$as_me: error: cannot compute sizeof (int), 77
18856 See \`config.log' for more details." >&2;}
18857 { (exit 1); exit 1; }; } ;;
18858 esac
18859 else
18860 if test "$cross_compiling" = yes; then
18861 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18862 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18863 { (exit 1); exit 1; }; }
18864 else
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 $ac_includes_default
18872 long longval () { return (long) (sizeof (int)); }
18873 unsigned long ulongval () { return (long) (sizeof (int)); }
18874 #include <stdio.h>
18875 #include <stdlib.h>
18876 int
18877 main ()
18878 {
18879
18880 FILE *f = fopen ("conftest.val", "w");
18881 if (! f)
18882 exit (1);
18883 if (((long) (sizeof (int))) < 0)
18884 {
18885 long i = longval ();
18886 if (i != ((long) (sizeof (int))))
18887 exit (1);
18888 fprintf (f, "%ld\n", i);
18889 }
18890 else
18891 {
18892 unsigned long i = ulongval ();
18893 if (i != ((long) (sizeof (int))))
18894 exit (1);
18895 fprintf (f, "%lu\n", i);
18896 }
18897 exit (ferror (f) || fclose (f) != 0);
18898
18899 ;
18900 return 0;
18901 }
18902 _ACEOF
18903 rm -f conftest$ac_exeext
18904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18905 (eval $ac_link) 2>&5
18906 ac_status=$?
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18910 (eval $ac_try) 2>&5
18911 ac_status=$?
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); }; }; then
18914 ac_cv_sizeof_int=`cat conftest.val`
18915 else
18916 echo "$as_me: program exited with status $ac_status" >&5
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18919
18920 ( exit $ac_status )
18921 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18922 See \`config.log' for more details." >&5
18923 echo "$as_me: error: cannot compute sizeof (int), 77
18924 See \`config.log' for more details." >&2;}
18925 { (exit 1); exit 1; }; }
18926 fi
18927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18928 fi
18929 fi
18930 rm -f conftest.val
18931 else
18932 ac_cv_sizeof_int=0
18933 fi
18934 fi
18935 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18936 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18937 cat >>confdefs.h <<_ACEOF
18938 #define SIZEOF_INT $ac_cv_sizeof_int
18939 _ACEOF
18940
18941
18942 echo "$as_me:$LINENO: checking for long" >&5
18943 echo $ECHO_N "checking for long... $ECHO_C" >&6
18944 if test "${ac_cv_type_long+set}" = set; then
18945 echo $ECHO_N "(cached) $ECHO_C" >&6
18946 else
18947 cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h. */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18953 $ac_includes_default
18954 int
18955 main ()
18956 {
18957 if ((long *) 0)
18958 return 0;
18959 if (sizeof (long))
18960 return 0;
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18967 (eval $ac_compile) 2>conftest.er1
18968 ac_status=$?
18969 grep -v '^ *+' conftest.er1 >conftest.err
18970 rm -f conftest.er1
18971 cat conftest.err >&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18977 ac_status=$?
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; } &&
18980 { ac_try='test -s conftest.$ac_objext'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18983 ac_status=$?
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; }; then
18986 ac_cv_type_long=yes
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18990
18991 ac_cv_type_long=no
18992 fi
18993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18994 fi
18995 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18996 echo "${ECHO_T}$ac_cv_type_long" >&6
18997
18998 echo "$as_me:$LINENO: checking size of long" >&5
18999 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19000 if test "${ac_cv_sizeof_long+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 else
19003 if test "$ac_cv_type_long" = yes; then
19004 # The cast to unsigned long works around a bug in the HP C Compiler
19005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19007 # This bug is HP SR number 8606223364.
19008 if test "$cross_compiling" = yes; then
19009 # Depending upon the size, compute the lo and hi bounds.
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 $ac_includes_default
19017 int
19018 main ()
19019 {
19020 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19021 test_array [0] = 0
19022
19023 ;
19024 return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19029 (eval $ac_compile) 2>conftest.er1
19030 ac_status=$?
19031 grep -v '^ *+' conftest.er1 >conftest.err
19032 rm -f conftest.er1
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19039 ac_status=$?
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; } &&
19042 { ac_try='test -s conftest.$ac_objext'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; }; then
19048 ac_lo=0 ac_mid=0
19049 while :; do
19050 cat >conftest.$ac_ext <<_ACEOF
19051 /* confdefs.h. */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 $ac_includes_default
19057 int
19058 main ()
19059 {
19060 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19061 test_array [0] = 0
19062
19063 ;
19064 return 0;
19065 }
19066 _ACEOF
19067 rm -f conftest.$ac_objext
19068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19069 (eval $ac_compile) 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } &&
19076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19078 (eval $ac_try) 2>&5
19079 ac_status=$?
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; } &&
19082 { ac_try='test -s conftest.$ac_objext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_hi=$ac_mid; break
19089 else
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19092
19093 ac_lo=`expr $ac_mid + 1`
19094 if test $ac_lo -le $ac_mid; then
19095 ac_lo= ac_hi=
19096 break
19097 fi
19098 ac_mid=`expr 2 '*' $ac_mid + 1`
19099 fi
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 done
19102 else
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19105
19106 cat >conftest.$ac_ext <<_ACEOF
19107 /* confdefs.h. */
19108 _ACEOF
19109 cat confdefs.h >>conftest.$ac_ext
19110 cat >>conftest.$ac_ext <<_ACEOF
19111 /* end confdefs.h. */
19112 $ac_includes_default
19113 int
19114 main ()
19115 {
19116 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19117 test_array [0] = 0
19118
19119 ;
19120 return 0;
19121 }
19122 _ACEOF
19123 rm -f conftest.$ac_objext
19124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19125 (eval $ac_compile) 2>conftest.er1
19126 ac_status=$?
19127 grep -v '^ *+' conftest.er1 >conftest.err
19128 rm -f conftest.er1
19129 cat conftest.err >&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } &&
19132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; } &&
19138 { ac_try='test -s conftest.$ac_objext'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; }; then
19144 ac_hi=-1 ac_mid=-1
19145 while :; do
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h. */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19152 $ac_includes_default
19153 int
19154 main ()
19155 {
19156 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19157 test_array [0] = 0
19158
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19165 (eval $ac_compile) 2>conftest.er1
19166 ac_status=$?
19167 grep -v '^ *+' conftest.er1 >conftest.err
19168 rm -f conftest.er1
19169 cat conftest.err >&5
19170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19171 (exit $ac_status); } &&
19172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19174 (eval $ac_try) 2>&5
19175 ac_status=$?
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; } &&
19178 { ac_try='test -s conftest.$ac_objext'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19181 ac_status=$?
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; }; then
19184 ac_lo=$ac_mid; break
19185 else
19186 echo "$as_me: failed program was:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19188
19189 ac_hi=`expr '(' $ac_mid ')' - 1`
19190 if test $ac_mid -le $ac_hi; then
19191 ac_lo= ac_hi=
19192 break
19193 fi
19194 ac_mid=`expr 2 '*' $ac_mid`
19195 fi
19196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19197 done
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19201
19202 ac_lo= ac_hi=
19203 fi
19204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19205 fi
19206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19207 # Binary search between lo and hi bounds.
19208 while test "x$ac_lo" != "x$ac_hi"; do
19209 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 $ac_includes_default
19217 int
19218 main ()
19219 {
19220 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19221 test_array [0] = 0
19222
19223 ;
19224 return 0;
19225 }
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19245 ac_status=$?
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_hi=$ac_mid
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 ac_lo=`expr '(' $ac_mid ')' + 1`
19254 fi
19255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19256 done
19257 case $ac_lo in
19258 ?*) ac_cv_sizeof_long=$ac_lo;;
19259 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19260 See \`config.log' for more details." >&5
19261 echo "$as_me: error: cannot compute sizeof (long), 77
19262 See \`config.log' for more details." >&2;}
19263 { (exit 1); exit 1; }; } ;;
19264 esac
19265 else
19266 if test "$cross_compiling" = yes; then
19267 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19268 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19269 { (exit 1); exit 1; }; }
19270 else
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 long longval () { return (long) (sizeof (long)); }
19279 unsigned long ulongval () { return (long) (sizeof (long)); }
19280 #include <stdio.h>
19281 #include <stdlib.h>
19282 int
19283 main ()
19284 {
19285
19286 FILE *f = fopen ("conftest.val", "w");
19287 if (! f)
19288 exit (1);
19289 if (((long) (sizeof (long))) < 0)
19290 {
19291 long i = longval ();
19292 if (i != ((long) (sizeof (long))))
19293 exit (1);
19294 fprintf (f, "%ld\n", i);
19295 }
19296 else
19297 {
19298 unsigned long i = ulongval ();
19299 if (i != ((long) (sizeof (long))))
19300 exit (1);
19301 fprintf (f, "%lu\n", i);
19302 }
19303 exit (ferror (f) || fclose (f) != 0);
19304
19305 ;
19306 return 0;
19307 }
19308 _ACEOF
19309 rm -f conftest$ac_exeext
19310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19311 (eval $ac_link) 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19316 (eval $ac_try) 2>&5
19317 ac_status=$?
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); }; }; then
19320 ac_cv_sizeof_long=`cat conftest.val`
19321 else
19322 echo "$as_me: program exited with status $ac_status" >&5
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 ( exit $ac_status )
19327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19328 See \`config.log' for more details." >&5
19329 echo "$as_me: error: cannot compute sizeof (long), 77
19330 See \`config.log' for more details." >&2;}
19331 { (exit 1); exit 1; }; }
19332 fi
19333 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19334 fi
19335 fi
19336 rm -f conftest.val
19337 else
19338 ac_cv_sizeof_long=0
19339 fi
19340 fi
19341 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19342 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19343 cat >>confdefs.h <<_ACEOF
19344 #define SIZEOF_LONG $ac_cv_sizeof_long
19345 _ACEOF
19346
19347
19348 echo "$as_me:$LINENO: checking for size_t" >&5
19349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19350 if test "${ac_cv_type_size_t+set}" = set; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19352 else
19353 cat >conftest.$ac_ext <<_ACEOF
19354 /* confdefs.h. */
19355 _ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 $ac_includes_default
19360 int
19361 main ()
19362 {
19363 if ((size_t *) 0)
19364 return 0;
19365 if (sizeof (size_t))
19366 return 0;
19367 ;
19368 return 0;
19369 }
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19373 (eval $ac_compile) 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19382 (eval $ac_try) 2>&5
19383 ac_status=$?
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); }; } &&
19386 { ac_try='test -s conftest.$ac_objext'
19387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388 (eval $ac_try) 2>&5
19389 ac_status=$?
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); }; }; then
19392 ac_cv_type_size_t=yes
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19396
19397 ac_cv_type_size_t=no
19398 fi
19399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19400 fi
19401 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19402 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19403
19404 echo "$as_me:$LINENO: checking size of size_t" >&5
19405 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19406 if test "${ac_cv_sizeof_size_t+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 else
19409 if test "$ac_cv_type_size_t" = yes; then
19410 # The cast to unsigned long works around a bug in the HP C Compiler
19411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19413 # This bug is HP SR number 8606223364.
19414 if test "$cross_compiling" = yes; then
19415 # Depending upon the size, compute the lo and hi bounds.
19416 cat >conftest.$ac_ext <<_ACEOF
19417 /* confdefs.h. */
19418 _ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 $ac_includes_default
19423 int
19424 main ()
19425 {
19426 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19427 test_array [0] = 0
19428
19429 ;
19430 return 0;
19431 }
19432 _ACEOF
19433 rm -f conftest.$ac_objext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19435 (eval $ac_compile) 2>conftest.er1
19436 ac_status=$?
19437 grep -v '^ *+' conftest.er1 >conftest.err
19438 rm -f conftest.er1
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } &&
19442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; } &&
19448 { ac_try='test -s conftest.$ac_objext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_lo=0 ac_mid=0
19455 while :; do
19456 cat >conftest.$ac_ext <<_ACEOF
19457 /* confdefs.h. */
19458 _ACEOF
19459 cat confdefs.h >>conftest.$ac_ext
19460 cat >>conftest.$ac_ext <<_ACEOF
19461 /* end confdefs.h. */
19462 $ac_includes_default
19463 int
19464 main ()
19465 {
19466 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19467 test_array [0] = 0
19468
19469 ;
19470 return 0;
19471 }
19472 _ACEOF
19473 rm -f conftest.$ac_objext
19474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19475 (eval $ac_compile) 2>conftest.er1
19476 ac_status=$?
19477 grep -v '^ *+' conftest.er1 >conftest.err
19478 rm -f conftest.er1
19479 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } &&
19482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19485 ac_status=$?
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try='test -s conftest.$ac_objext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_hi=$ac_mid; break
19495 else
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19498
19499 ac_lo=`expr $ac_mid + 1`
19500 if test $ac_lo -le $ac_mid; then
19501 ac_lo= ac_hi=
19502 break
19503 fi
19504 ac_mid=`expr 2 '*' $ac_mid + 1`
19505 fi
19506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19507 done
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19511
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 int
19520 main ()
19521 {
19522 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19523 test_array [0] = 0
19524
19525 ;
19526 return 0;
19527 }
19528 _ACEOF
19529 rm -f conftest.$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>conftest.er1
19532 ac_status=$?
19533 grep -v '^ *+' conftest.er1 >conftest.err
19534 rm -f conftest.er1
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try='test -s conftest.$ac_objext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19547 ac_status=$?
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_hi=-1 ac_mid=-1
19551 while :; do
19552 cat >conftest.$ac_ext <<_ACEOF
19553 /* confdefs.h. */
19554 _ACEOF
19555 cat confdefs.h >>conftest.$ac_ext
19556 cat >>conftest.$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19558 $ac_includes_default
19559 int
19560 main ()
19561 {
19562 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19563 test_array [0] = 0
19564
19565 ;
19566 return 0;
19567 }
19568 _ACEOF
19569 rm -f conftest.$ac_objext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19571 (eval $ac_compile) 2>conftest.er1
19572 ac_status=$?
19573 grep -v '^ *+' conftest.er1 >conftest.err
19574 rm -f conftest.er1
19575 cat conftest.err >&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); } &&
19578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19581 ac_status=$?
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; } &&
19584 { ac_try='test -s conftest.$ac_objext'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19587 ac_status=$?
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 ac_lo=$ac_mid; break
19591 else
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.$ac_ext >&5
19594
19595 ac_hi=`expr '(' $ac_mid ')' - 1`
19596 if test $ac_mid -le $ac_hi; then
19597 ac_lo= ac_hi=
19598 break
19599 fi
19600 ac_mid=`expr 2 '*' $ac_mid`
19601 fi
19602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19603 done
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19607
19608 ac_lo= ac_hi=
19609 fi
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611 fi
19612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19613 # Binary search between lo and hi bounds.
19614 while test "x$ac_lo" != "x$ac_hi"; do
19615 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 int
19624 main ()
19625 {
19626 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19627 test_array [0] = 0
19628
19629 ;
19630 return 0;
19631 }
19632 _ACEOF
19633 rm -f conftest.$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19645 ac_status=$?
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; } &&
19648 { ac_try='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_hi=$ac_mid
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_lo=`expr '(' $ac_mid ')' + 1`
19660 fi
19661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19662 done
19663 case $ac_lo in
19664 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19665 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19666 See \`config.log' for more details." >&5
19667 echo "$as_me: error: cannot compute sizeof (size_t), 77
19668 See \`config.log' for more details." >&2;}
19669 { (exit 1); exit 1; }; } ;;
19670 esac
19671 else
19672 if test "$cross_compiling" = yes; then
19673 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19674 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19675 { (exit 1); exit 1; }; }
19676 else
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19684 long longval () { return (long) (sizeof (size_t)); }
19685 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19686 #include <stdio.h>
19687 #include <stdlib.h>
19688 int
19689 main ()
19690 {
19691
19692 FILE *f = fopen ("conftest.val", "w");
19693 if (! f)
19694 exit (1);
19695 if (((long) (sizeof (size_t))) < 0)
19696 {
19697 long i = longval ();
19698 if (i != ((long) (sizeof (size_t))))
19699 exit (1);
19700 fprintf (f, "%ld\n", i);
19701 }
19702 else
19703 {
19704 unsigned long i = ulongval ();
19705 if (i != ((long) (sizeof (size_t))))
19706 exit (1);
19707 fprintf (f, "%lu\n", i);
19708 }
19709 exit (ferror (f) || fclose (f) != 0);
19710
19711 ;
19712 return 0;
19713 }
19714 _ACEOF
19715 rm -f conftest$ac_exeext
19716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19717 (eval $ac_link) 2>&5
19718 ac_status=$?
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19723 ac_status=$?
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_cv_sizeof_size_t=`cat conftest.val`
19727 else
19728 echo "$as_me: program exited with status $ac_status" >&5
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 ( exit $ac_status )
19733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19734 See \`config.log' for more details." >&5
19735 echo "$as_me: error: cannot compute sizeof (size_t), 77
19736 See \`config.log' for more details." >&2;}
19737 { (exit 1); exit 1; }; }
19738 fi
19739 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19740 fi
19741 fi
19742 rm -f conftest.val
19743 else
19744 ac_cv_sizeof_size_t=0
19745 fi
19746 fi
19747 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19748 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19749 cat >>confdefs.h <<_ACEOF
19750 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19751 _ACEOF
19752
19753
19754
19755 case "${host}" in
19756 arm-*-linux* )
19757 echo "$as_me:$LINENO: checking for long long" >&5
19758 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19759 if test "${ac_cv_type_long_long+set}" = set; then
19760 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 else
19762 cat >conftest.$ac_ext <<_ACEOF
19763 /* confdefs.h. */
19764 _ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 $ac_includes_default
19769 int
19770 main ()
19771 {
19772 if ((long long *) 0)
19773 return 0;
19774 if (sizeof (long long))
19775 return 0;
19776 ;
19777 return 0;
19778 }
19779 _ACEOF
19780 rm -f conftest.$ac_objext
19781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19782 (eval $ac_compile) 2>conftest.er1
19783 ac_status=$?
19784 grep -v '^ *+' conftest.er1 >conftest.err
19785 rm -f conftest.er1
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } &&
19789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19792 ac_status=$?
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; } &&
19795 { ac_try='test -s conftest.$ac_objext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19798 ac_status=$?
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 ac_cv_type_long_long=yes
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19805
19806 ac_cv_type_long_long=no
19807 fi
19808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19809 fi
19810 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19811 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19812
19813 echo "$as_me:$LINENO: checking size of long long" >&5
19814 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19815 if test "${ac_cv_sizeof_long_long+set}" = set; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 else
19818 if test "$ac_cv_type_long_long" = yes; then
19819 # The cast to unsigned long works around a bug in the HP C Compiler
19820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19822 # This bug is HP SR number 8606223364.
19823 if test "$cross_compiling" = yes; then
19824 # Depending upon the size, compute the lo and hi bounds.
19825 cat >conftest.$ac_ext <<_ACEOF
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 $ac_includes_default
19832 int
19833 main ()
19834 {
19835 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19836 test_array [0] = 0
19837
19838 ;
19839 return 0;
19840 }
19841 _ACEOF
19842 rm -f conftest.$ac_objext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19844 (eval $ac_compile) 2>conftest.er1
19845 ac_status=$?
19846 grep -v '^ *+' conftest.er1 >conftest.err
19847 rm -f conftest.er1
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } &&
19851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; } &&
19857 { ac_try='test -s conftest.$ac_objext'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19860 ac_status=$?
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; }; then
19863 ac_lo=0 ac_mid=0
19864 while :; do
19865 cat >conftest.$ac_ext <<_ACEOF
19866 /* confdefs.h. */
19867 _ACEOF
19868 cat confdefs.h >>conftest.$ac_ext
19869 cat >>conftest.$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19871 $ac_includes_default
19872 int
19873 main ()
19874 {
19875 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19876 test_array [0] = 0
19877
19878 ;
19879 return 0;
19880 }
19881 _ACEOF
19882 rm -f conftest.$ac_objext
19883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19884 (eval $ac_compile) 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } &&
19891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19893 (eval $ac_try) 2>&5
19894 ac_status=$?
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; } &&
19897 { ac_try='test -s conftest.$ac_objext'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; }; then
19903 ac_hi=$ac_mid; break
19904 else
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19907
19908 ac_lo=`expr $ac_mid + 1`
19909 if test $ac_lo -le $ac_mid; then
19910 ac_lo= ac_hi=
19911 break
19912 fi
19913 ac_mid=`expr 2 '*' $ac_mid + 1`
19914 fi
19915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916 done
19917 else
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.$ac_ext >&5
19920
19921 cat >conftest.$ac_ext <<_ACEOF
19922 /* confdefs.h. */
19923 _ACEOF
19924 cat confdefs.h >>conftest.$ac_ext
19925 cat >>conftest.$ac_ext <<_ACEOF
19926 /* end confdefs.h. */
19927 $ac_includes_default
19928 int
19929 main ()
19930 {
19931 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19932 test_array [0] = 0
19933
19934 ;
19935 return 0;
19936 }
19937 _ACEOF
19938 rm -f conftest.$ac_objext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19940 (eval $ac_compile) 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } &&
19947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; } &&
19953 { ac_try='test -s conftest.$ac_objext'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19956 ac_status=$?
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_hi=-1 ac_mid=-1
19960 while :; do
19961 cat >conftest.$ac_ext <<_ACEOF
19962 /* confdefs.h. */
19963 _ACEOF
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 $ac_includes_default
19968 int
19969 main ()
19970 {
19971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19972 test_array [0] = 0
19973
19974 ;
19975 return 0;
19976 }
19977 _ACEOF
19978 rm -f conftest.$ac_objext
19979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19980 (eval $ac_compile) 2>conftest.er1
19981 ac_status=$?
19982 grep -v '^ *+' conftest.er1 >conftest.err
19983 rm -f conftest.er1
19984 cat conftest.err >&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19990 ac_status=$?
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; } &&
19993 { ac_try='test -s conftest.$ac_objext'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 ac_lo=$ac_mid; break
20000 else
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.$ac_ext >&5
20003
20004 ac_hi=`expr '(' $ac_mid ')' - 1`
20005 if test $ac_mid -le $ac_hi; then
20006 ac_lo= ac_hi=
20007 break
20008 fi
20009 ac_mid=`expr 2 '*' $ac_mid`
20010 fi
20011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20012 done
20013 else
20014 echo "$as_me: failed program was:" >&5
20015 sed 's/^/| /' conftest.$ac_ext >&5
20016
20017 ac_lo= ac_hi=
20018 fi
20019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20020 fi
20021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20022 # Binary search between lo and hi bounds.
20023 while test "x$ac_lo" != "x$ac_hi"; do
20024 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 (long long))) <= $ac_mid)];
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_c_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=$ac_mid
20064 else
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20067
20068 ac_lo=`expr '(' $ac_mid ')' + 1`
20069 fi
20070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20071 done
20072 case $ac_lo in
20073 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20074 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&5
20076 echo "$as_me: error: cannot compute sizeof (long long), 77
20077 See \`config.log' for more details." >&2;}
20078 { (exit 1); exit 1; }; } ;;
20079 esac
20080 else
20081 if test "$cross_compiling" = yes; then
20082 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20083 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20084 { (exit 1); exit 1; }; }
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 long longval () { return (long) (sizeof (long long)); }
20094 unsigned long ulongval () { return (long) (sizeof (long long)); }
20095 #include <stdio.h>
20096 #include <stdlib.h>
20097 int
20098 main ()
20099 {
20100
20101 FILE *f = fopen ("conftest.val", "w");
20102 if (! f)
20103 exit (1);
20104 if (((long) (sizeof (long long))) < 0)
20105 {
20106 long i = longval ();
20107 if (i != ((long) (sizeof (long long))))
20108 exit (1);
20109 fprintf (f, "%ld\n", i);
20110 }
20111 else
20112 {
20113 unsigned long i = ulongval ();
20114 if (i != ((long) (sizeof (long long))))
20115 exit (1);
20116 fprintf (f, "%lu\n", i);
20117 }
20118 exit (ferror (f) || fclose (f) != 0);
20119
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126 (eval $ac_link) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_sizeof_long_long=`cat conftest.val`
20136 else
20137 echo "$as_me: program exited with status $ac_status" >&5
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ( exit $ac_status )
20142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&5
20144 echo "$as_me: error: cannot compute sizeof (long long), 77
20145 See \`config.log' for more details." >&2;}
20146 { (exit 1); exit 1; }; }
20147 fi
20148 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20149 fi
20150 fi
20151 rm -f conftest.val
20152 else
20153 ac_cv_sizeof_long_long=0
20154 fi
20155 fi
20156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20157 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20158 cat >>confdefs.h <<_ACEOF
20159 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20160 _ACEOF
20161
20162
20163 ;;
20164 *-hp-hpux* )
20165 echo "$as_me:$LINENO: checking for long long" >&5
20166 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20167 if test "${ac_cv_type_long_long+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 cat >conftest.$ac_ext <<_ACEOF
20171 /* confdefs.h. */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20176 $ac_includes_default
20177 int
20178 main ()
20179 {
20180 if ((long long *) 0)
20181 return 0;
20182 if (sizeof (long long))
20183 return 0;
20184 ;
20185 return 0;
20186 }
20187 _ACEOF
20188 rm -f conftest.$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20200 ac_status=$?
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try='test -s conftest.$ac_objext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20206 ac_status=$?
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20209 ac_cv_type_long_long=yes
20210 else
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20213
20214 ac_cv_type_long_long=no
20215 fi
20216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20217 fi
20218 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20219 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20220
20221 echo "$as_me:$LINENO: checking size of long long" >&5
20222 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20223 if test "${ac_cv_sizeof_long_long+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 else
20226 if test "$ac_cv_type_long_long" = yes; then
20227 # The cast to unsigned long works around a bug in the HP C Compiler
20228 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20229 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20230 # This bug is HP SR number 8606223364.
20231 if test "$cross_compiling" = yes; then
20232 # Depending upon the size, compute the lo and hi bounds.
20233 cat >conftest.$ac_ext <<_ACEOF
20234 /* confdefs.h. */
20235 _ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 $ac_includes_default
20240 int
20241 main ()
20242 {
20243 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20244 test_array [0] = 0
20245
20246 ;
20247 return 0;
20248 }
20249 _ACEOF
20250 rm -f conftest.$ac_objext
20251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20252 (eval $ac_compile) 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; } &&
20265 { ac_try='test -s conftest.$ac_objext'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20268 ac_status=$?
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; }; then
20271 ac_lo=0 ac_mid=0
20272 while :; do
20273 cat >conftest.$ac_ext <<_ACEOF
20274 /* confdefs.h. */
20275 _ACEOF
20276 cat confdefs.h >>conftest.$ac_ext
20277 cat >>conftest.$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 $ac_includes_default
20280 int
20281 main ()
20282 {
20283 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20284 test_array [0] = 0
20285
20286 ;
20287 return 0;
20288 }
20289 _ACEOF
20290 rm -f conftest.$ac_objext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20292 (eval $ac_compile) 2>conftest.er1
20293 ac_status=$?
20294 grep -v '^ *+' conftest.er1 >conftest.err
20295 rm -f conftest.er1
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20302 ac_status=$?
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 ac_hi=$ac_mid; break
20312 else
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20315
20316 ac_lo=`expr $ac_mid + 1`
20317 if test $ac_lo -le $ac_mid; then
20318 ac_lo= ac_hi=
20319 break
20320 fi
20321 ac_mid=`expr 2 '*' $ac_mid + 1`
20322 fi
20323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20324 done
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 cat >conftest.$ac_ext <<_ACEOF
20330 /* confdefs.h. */
20331 _ACEOF
20332 cat confdefs.h >>conftest.$ac_ext
20333 cat >>conftest.$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20336 int
20337 main ()
20338 {
20339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20340 test_array [0] = 0
20341
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20348 (eval $ac_compile) 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest.$ac_objext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20364 ac_status=$?
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 ac_hi=-1 ac_mid=-1
20368 while :; do
20369 cat >conftest.$ac_ext <<_ACEOF
20370 /* confdefs.h. */
20371 _ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 $ac_includes_default
20376 int
20377 main ()
20378 {
20379 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20380 test_array [0] = 0
20381
20382 ;
20383 return 0;
20384 }
20385 _ACEOF
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>conftest.er1
20389 ac_status=$?
20390 grep -v '^ *+' conftest.er1 >conftest.err
20391 rm -f conftest.er1
20392 cat conftest.err >&5
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); } &&
20395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20398 ac_status=$?
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; } &&
20401 { ac_try='test -s conftest.$ac_objext'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20404 ac_status=$?
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; }; then
20407 ac_lo=$ac_mid; break
20408 else
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.$ac_ext >&5
20411
20412 ac_hi=`expr '(' $ac_mid ')' - 1`
20413 if test $ac_mid -le $ac_hi; then
20414 ac_lo= ac_hi=
20415 break
20416 fi
20417 ac_mid=`expr 2 '*' $ac_mid`
20418 fi
20419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20420 done
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ac_lo= ac_hi=
20426 fi
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 fi
20429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20430 # Binary search between lo and hi bounds.
20431 while test "x$ac_lo" != "x$ac_hi"; do
20432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 int
20441 main ()
20442 {
20443 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20444 test_array [0] = 0
20445
20446 ;
20447 return 0;
20448 }
20449 _ACEOF
20450 rm -f conftest.$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461 (eval $ac_try) 2>&5
20462 ac_status=$?
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; } &&
20465 { ac_try='test -s conftest.$ac_objext'
20466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20467 (eval $ac_try) 2>&5
20468 ac_status=$?
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; }; then
20471 ac_hi=$ac_mid
20472 else
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20475
20476 ac_lo=`expr '(' $ac_mid ')' + 1`
20477 fi
20478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20479 done
20480 case $ac_lo in
20481 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20482 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20483 See \`config.log' for more details." >&5
20484 echo "$as_me: error: cannot compute sizeof (long long), 77
20485 See \`config.log' for more details." >&2;}
20486 { (exit 1); exit 1; }; } ;;
20487 esac
20488 else
20489 if test "$cross_compiling" = yes; then
20490 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20491 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20492 { (exit 1); exit 1; }; }
20493 else
20494 cat >conftest.$ac_ext <<_ACEOF
20495 /* confdefs.h. */
20496 _ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 $ac_includes_default
20501 long longval () { return (long) (sizeof (long long)); }
20502 unsigned long ulongval () { return (long) (sizeof (long long)); }
20503 #include <stdio.h>
20504 #include <stdlib.h>
20505 int
20506 main ()
20507 {
20508
20509 FILE *f = fopen ("conftest.val", "w");
20510 if (! f)
20511 exit (1);
20512 if (((long) (sizeof (long long))) < 0)
20513 {
20514 long i = longval ();
20515 if (i != ((long) (sizeof (long long))))
20516 exit (1);
20517 fprintf (f, "%ld\n", i);
20518 }
20519 else
20520 {
20521 unsigned long i = ulongval ();
20522 if (i != ((long) (sizeof (long long))))
20523 exit (1);
20524 fprintf (f, "%lu\n", i);
20525 }
20526 exit (ferror (f) || fclose (f) != 0);
20527
20528 ;
20529 return 0;
20530 }
20531 _ACEOF
20532 rm -f conftest$ac_exeext
20533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20534 (eval $ac_link) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 ac_cv_sizeof_long_long=`cat conftest.val`
20544 else
20545 echo "$as_me: program exited with status $ac_status" >&5
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20548
20549 ( exit $ac_status )
20550 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20551 See \`config.log' for more details." >&5
20552 echo "$as_me: error: cannot compute sizeof (long long), 77
20553 See \`config.log' for more details." >&2;}
20554 { (exit 1); exit 1; }; }
20555 fi
20556 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20557 fi
20558 fi
20559 rm -f conftest.val
20560 else
20561 ac_cv_sizeof_long_long=0
20562 fi
20563 fi
20564 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20565 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20566 cat >>confdefs.h <<_ACEOF
20567 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20568 _ACEOF
20569
20570
20571 if test "$ac_cv_sizeof_long_long" != "0"; then
20572 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20573 fi
20574 ;;
20575 * )
20576 echo "$as_me:$LINENO: checking for long long" >&5
20577 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20578 if test "${ac_cv_type_long_long+set}" = set; then
20579 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 else
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 int
20589 main ()
20590 {
20591 if ((long long *) 0)
20592 return 0;
20593 if (sizeof (long long))
20594 return 0;
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20610 (eval $ac_try) 2>&5
20611 ac_status=$?
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); }; } &&
20614 { ac_try='test -s conftest.$ac_objext'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20617 ac_status=$?
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; }; then
20620 ac_cv_type_long_long=yes
20621 else
20622 echo "$as_me: failed program was:" >&5
20623 sed 's/^/| /' conftest.$ac_ext >&5
20624
20625 ac_cv_type_long_long=no
20626 fi
20627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20628 fi
20629 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20630 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20631
20632 echo "$as_me:$LINENO: checking size of long long" >&5
20633 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20634 if test "${ac_cv_sizeof_long_long+set}" = set; then
20635 echo $ECHO_N "(cached) $ECHO_C" >&6
20636 else
20637 if test "$ac_cv_type_long_long" = yes; then
20638 # The cast to unsigned long works around a bug in the HP C Compiler
20639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20641 # This bug is HP SR number 8606223364.
20642 if test "$cross_compiling" = yes; then
20643 # Depending upon the size, compute the lo and hi bounds.
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 int
20652 main ()
20653 {
20654 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20655 test_array [0] = 0
20656
20657 ;
20658 return 0;
20659 }
20660 _ACEOF
20661 rm -f conftest.$ac_objext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20663 (eval $ac_compile) 2>conftest.er1
20664 ac_status=$?
20665 grep -v '^ *+' conftest.er1 >conftest.err
20666 rm -f conftest.er1
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } &&
20670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20673 ac_status=$?
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; } &&
20676 { ac_try='test -s conftest.$ac_objext'
20677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20678 (eval $ac_try) 2>&5
20679 ac_status=$?
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; }; then
20682 ac_lo=0 ac_mid=0
20683 while :; do
20684 cat >conftest.$ac_ext <<_ACEOF
20685 /* confdefs.h. */
20686 _ACEOF
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20690 $ac_includes_default
20691 int
20692 main ()
20693 {
20694 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20695 test_array [0] = 0
20696
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_c_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_hi=$ac_mid; break
20723 else
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20726
20727 ac_lo=`expr $ac_mid + 1`
20728 if test $ac_lo -le $ac_mid; then
20729 ac_lo= ac_hi=
20730 break
20731 fi
20732 ac_mid=`expr 2 '*' $ac_mid + 1`
20733 fi
20734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20735 done
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20739
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 int
20748 main ()
20749 {
20750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20751 test_array [0] = 0
20752
20753 ;
20754 return 0;
20755 }
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20759 (eval $ac_compile) 2>conftest.er1
20760 ac_status=$?
20761 grep -v '^ *+' conftest.er1 >conftest.err
20762 rm -f conftest.er1
20763 cat conftest.err >&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20768 (eval $ac_try) 2>&5
20769 ac_status=$?
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); }; } &&
20772 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20778 ac_hi=-1 ac_mid=-1
20779 while :; do
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 int
20788 main ()
20789 {
20790 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20791 test_array [0] = 0
20792
20793 ;
20794 return 0;
20795 }
20796 _ACEOF
20797 rm -f conftest.$ac_objext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20799 (eval $ac_compile) 2>conftest.er1
20800 ac_status=$?
20801 grep -v '^ *+' conftest.er1 >conftest.err
20802 rm -f conftest.er1
20803 cat conftest.err >&5
20804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20805 (exit $ac_status); } &&
20806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20818 ac_lo=$ac_mid; break
20819 else
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20822
20823 ac_hi=`expr '(' $ac_mid ')' - 1`
20824 if test $ac_mid -le $ac_hi; then
20825 ac_lo= ac_hi=
20826 break
20827 fi
20828 ac_mid=`expr 2 '*' $ac_mid`
20829 fi
20830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20831 done
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_lo= ac_hi=
20837 fi
20838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20839 fi
20840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20841 # Binary search between lo and hi bounds.
20842 while test "x$ac_lo" != "x$ac_hi"; do
20843 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20844 cat >conftest.$ac_ext <<_ACEOF
20845 /* confdefs.h. */
20846 _ACEOF
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20850 $ac_includes_default
20851 int
20852 main ()
20853 {
20854 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20855 test_array [0] = 0
20856
20857 ;
20858 return 0;
20859 }
20860 _ACEOF
20861 rm -f conftest.$ac_objext
20862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20863 (eval $ac_compile) 2>conftest.er1
20864 ac_status=$?
20865 grep -v '^ *+' conftest.er1 >conftest.err
20866 rm -f conftest.er1
20867 cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } &&
20870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20873 ac_status=$?
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; } &&
20876 { ac_try='test -s conftest.$ac_objext'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20879 ac_status=$?
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20882 ac_hi=$ac_mid
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20886
20887 ac_lo=`expr '(' $ac_mid ')' + 1`
20888 fi
20889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20890 done
20891 case $ac_lo in
20892 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&5
20895 echo "$as_me: error: cannot compute sizeof (long long), 77
20896 See \`config.log' for more details." >&2;}
20897 { (exit 1); exit 1; }; } ;;
20898 esac
20899 else
20900 if test "$cross_compiling" = yes; then
20901 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20902 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20903 { (exit 1); exit 1; }; }
20904 else
20905 cat >conftest.$ac_ext <<_ACEOF
20906 /* confdefs.h. */
20907 _ACEOF
20908 cat confdefs.h >>conftest.$ac_ext
20909 cat >>conftest.$ac_ext <<_ACEOF
20910 /* end confdefs.h. */
20911 $ac_includes_default
20912 long longval () { return (long) (sizeof (long long)); }
20913 unsigned long ulongval () { return (long) (sizeof (long long)); }
20914 #include <stdio.h>
20915 #include <stdlib.h>
20916 int
20917 main ()
20918 {
20919
20920 FILE *f = fopen ("conftest.val", "w");
20921 if (! f)
20922 exit (1);
20923 if (((long) (sizeof (long long))) < 0)
20924 {
20925 long i = longval ();
20926 if (i != ((long) (sizeof (long long))))
20927 exit (1);
20928 fprintf (f, "%ld\n", i);
20929 }
20930 else
20931 {
20932 unsigned long i = ulongval ();
20933 if (i != ((long) (sizeof (long long))))
20934 exit (1);
20935 fprintf (f, "%lu\n", i);
20936 }
20937 exit (ferror (f) || fclose (f) != 0);
20938
20939 ;
20940 return 0;
20941 }
20942 _ACEOF
20943 rm -f conftest$ac_exeext
20944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20945 (eval $ac_link) 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20951 ac_status=$?
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20954 ac_cv_sizeof_long_long=`cat conftest.val`
20955 else
20956 echo "$as_me: program exited with status $ac_status" >&5
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ( exit $ac_status )
20961 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20962 See \`config.log' for more details." >&5
20963 echo "$as_me: error: cannot compute sizeof (long long), 77
20964 See \`config.log' for more details." >&2;}
20965 { (exit 1); exit 1; }; }
20966 fi
20967 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20968 fi
20969 fi
20970 rm -f conftest.val
20971 else
20972 ac_cv_sizeof_long_long=0
20973 fi
20974 fi
20975 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20976 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20977 cat >>confdefs.h <<_ACEOF
20978 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20979 _ACEOF
20980
20981
20982 esac
20983
20984 echo "$as_me:$LINENO: checking for wchar_t" >&5
20985 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20986 if test "${ac_cv_type_wchar_t+set}" = set; then
20987 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 else
20989 cat >conftest.$ac_ext <<_ACEOF
20990 /* confdefs.h. */
20991 _ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995
20996 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20997 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20998 # error "fake wchar_t"
20999 #endif
21000 #ifdef HAVE_WCHAR_H
21001 # ifdef __CYGWIN__
21002 # include <stddef.h>
21003 # endif
21004 # include <wchar.h>
21005 #endif
21006 #ifdef HAVE_STDLIB_H
21007 # include <stdlib.h>
21008 #endif
21009 #include <stdio.h>
21010
21011
21012
21013 int
21014 main ()
21015 {
21016 if ((wchar_t *) 0)
21017 return 0;
21018 if (sizeof (wchar_t))
21019 return 0;
21020 ;
21021 return 0;
21022 }
21023 _ACEOF
21024 rm -f conftest.$ac_objext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21026 (eval $ac_compile) 2>conftest.er1
21027 ac_status=$?
21028 grep -v '^ *+' conftest.er1 >conftest.err
21029 rm -f conftest.er1
21030 cat conftest.err >&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } &&
21033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21036 ac_status=$?
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; } &&
21039 { ac_try='test -s conftest.$ac_objext'
21040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041 (eval $ac_try) 2>&5
21042 ac_status=$?
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); }; }; then
21045 ac_cv_type_wchar_t=yes
21046 else
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 ac_cv_type_wchar_t=no
21051 fi
21052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21053 fi
21054 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21055 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21056
21057 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21058 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21059 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21060 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 else
21062 if test "$ac_cv_type_wchar_t" = yes; then
21063 # The cast to unsigned long works around a bug in the HP C Compiler
21064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21066 # This bug is HP SR number 8606223364.
21067 if test "$cross_compiling" = yes; then
21068 # Depending upon the size, compute the lo and hi bounds.
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075
21076 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21077 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21078 # error "fake wchar_t"
21079 #endif
21080 #ifdef HAVE_WCHAR_H
21081 # ifdef __CYGWIN__
21082 # include <stddef.h>
21083 # endif
21084 # include <wchar.h>
21085 #endif
21086 #ifdef HAVE_STDLIB_H
21087 # include <stdlib.h>
21088 #endif
21089 #include <stdio.h>
21090
21091
21092
21093 int
21094 main ()
21095 {
21096 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21097 test_array [0] = 0
21098
21099 ;
21100 return 0;
21101 }
21102 _ACEOF
21103 rm -f conftest.$ac_objext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21105 (eval $ac_compile) 2>conftest.er1
21106 ac_status=$?
21107 grep -v '^ *+' conftest.er1 >conftest.err
21108 rm -f conftest.er1
21109 cat conftest.err >&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } &&
21112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; } &&
21118 { ac_try='test -s conftest.$ac_objext'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; }; then
21124 ac_lo=0 ac_mid=0
21125 while :; do
21126 cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h. */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h. */
21132
21133 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21134 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21135 # error "fake wchar_t"
21136 #endif
21137 #ifdef HAVE_WCHAR_H
21138 # ifdef __CYGWIN__
21139 # include <stddef.h>
21140 # endif
21141 # include <wchar.h>
21142 #endif
21143 #ifdef HAVE_STDLIB_H
21144 # include <stdlib.h>
21145 #endif
21146 #include <stdio.h>
21147
21148
21149
21150 int
21151 main ()
21152 {
21153 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21154 test_array [0] = 0
21155
21156 ;
21157 return 0;
21158 }
21159 _ACEOF
21160 rm -f conftest.$ac_objext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21162 (eval $ac_compile) 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } &&
21169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; } &&
21175 { ac_try='test -s conftest.$ac_objext'
21176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21177 (eval $ac_try) 2>&5
21178 ac_status=$?
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); }; }; then
21181 ac_hi=$ac_mid; break
21182 else
21183 echo "$as_me: failed program was:" >&5
21184 sed 's/^/| /' conftest.$ac_ext >&5
21185
21186 ac_lo=`expr $ac_mid + 1`
21187 if test $ac_lo -le $ac_mid; then
21188 ac_lo= ac_hi=
21189 break
21190 fi
21191 ac_mid=`expr 2 '*' $ac_mid + 1`
21192 fi
21193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21194 done
21195 else
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.$ac_ext >&5
21198
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205
21206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21208 # error "fake wchar_t"
21209 #endif
21210 #ifdef HAVE_WCHAR_H
21211 # ifdef __CYGWIN__
21212 # include <stddef.h>
21213 # endif
21214 # include <wchar.h>
21215 #endif
21216 #ifdef HAVE_STDLIB_H
21217 # include <stdlib.h>
21218 #endif
21219 #include <stdio.h>
21220
21221
21222
21223 int
21224 main ()
21225 {
21226 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21227 test_array [0] = 0
21228
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21235 (eval $ac_compile) 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21244 (eval $ac_try) 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); }; } &&
21248 { ac_try='test -s conftest.$ac_objext'
21249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21250 (eval $ac_try) 2>&5
21251 ac_status=$?
21252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253 (exit $ac_status); }; }; then
21254 ac_hi=-1 ac_mid=-1
21255 while :; do
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262
21263 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21264 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21265 # error "fake wchar_t"
21266 #endif
21267 #ifdef HAVE_WCHAR_H
21268 # ifdef __CYGWIN__
21269 # include <stddef.h>
21270 # endif
21271 # include <wchar.h>
21272 #endif
21273 #ifdef HAVE_STDLIB_H
21274 # include <stdlib.h>
21275 #endif
21276 #include <stdio.h>
21277
21278
21279
21280 int
21281 main ()
21282 {
21283 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21284 test_array [0] = 0
21285
21286 ;
21287 return 0;
21288 }
21289 _ACEOF
21290 rm -f conftest.$ac_objext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21292 (eval $ac_compile) 2>conftest.er1
21293 ac_status=$?
21294 grep -v '^ *+' conftest.er1 >conftest.err
21295 rm -f conftest.er1
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21302 ac_status=$?
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; } &&
21305 { ac_try='test -s conftest.$ac_objext'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21308 ac_status=$?
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_lo=$ac_mid; break
21312 else
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21315
21316 ac_hi=`expr '(' $ac_mid ')' - 1`
21317 if test $ac_mid -le $ac_hi; then
21318 ac_lo= ac_hi=
21319 break
21320 fi
21321 ac_mid=`expr 2 '*' $ac_mid`
21322 fi
21323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21324 done
21325 else
21326 echo "$as_me: failed program was:" >&5
21327 sed 's/^/| /' conftest.$ac_ext >&5
21328
21329 ac_lo= ac_hi=
21330 fi
21331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 fi
21333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21334 # Binary search between lo and hi bounds.
21335 while test "x$ac_lo" != "x$ac_hi"; do
21336 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343
21344 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21345 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21346 # error "fake wchar_t"
21347 #endif
21348 #ifdef HAVE_WCHAR_H
21349 # ifdef __CYGWIN__
21350 # include <stddef.h>
21351 # endif
21352 # include <wchar.h>
21353 #endif
21354 #ifdef HAVE_STDLIB_H
21355 # include <stdlib.h>
21356 #endif
21357 #include <stdio.h>
21358
21359
21360
21361 int
21362 main ()
21363 {
21364 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21365 test_array [0] = 0
21366
21367 ;
21368 return 0;
21369 }
21370 _ACEOF
21371 rm -f conftest.$ac_objext
21372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21373 (eval $ac_compile) 2>conftest.er1
21374 ac_status=$?
21375 grep -v '^ *+' conftest.er1 >conftest.err
21376 rm -f conftest.er1
21377 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } &&
21380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21382 (eval $ac_try) 2>&5
21383 ac_status=$?
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); }; } &&
21386 { ac_try='test -s conftest.$ac_objext'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21389 ac_status=$?
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_hi=$ac_mid
21393 else
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21396
21397 ac_lo=`expr '(' $ac_mid ')' + 1`
21398 fi
21399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21400 done
21401 case $ac_lo in
21402 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21404 See \`config.log' for more details." >&5
21405 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21406 See \`config.log' for more details." >&2;}
21407 { (exit 1); exit 1; }; } ;;
21408 esac
21409 else
21410 if test "$cross_compiling" = yes; then
21411 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21412 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21413 { (exit 1); exit 1; }; }
21414 else
21415 cat >conftest.$ac_ext <<_ACEOF
21416 /* confdefs.h. */
21417 _ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421
21422 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21423 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21424 # error "fake wchar_t"
21425 #endif
21426 #ifdef HAVE_WCHAR_H
21427 # ifdef __CYGWIN__
21428 # include <stddef.h>
21429 # endif
21430 # include <wchar.h>
21431 #endif
21432 #ifdef HAVE_STDLIB_H
21433 # include <stdlib.h>
21434 #endif
21435 #include <stdio.h>
21436
21437
21438
21439 long longval () { return (long) (sizeof (wchar_t)); }
21440 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21441 #include <stdio.h>
21442 #include <stdlib.h>
21443 int
21444 main ()
21445 {
21446
21447 FILE *f = fopen ("conftest.val", "w");
21448 if (! f)
21449 exit (1);
21450 if (((long) (sizeof (wchar_t))) < 0)
21451 {
21452 long i = longval ();
21453 if (i != ((long) (sizeof (wchar_t))))
21454 exit (1);
21455 fprintf (f, "%ld\n", i);
21456 }
21457 else
21458 {
21459 unsigned long i = ulongval ();
21460 if (i != ((long) (sizeof (wchar_t))))
21461 exit (1);
21462 fprintf (f, "%lu\n", i);
21463 }
21464 exit (ferror (f) || fclose (f) != 0);
21465
21466 ;
21467 return 0;
21468 }
21469 _ACEOF
21470 rm -f conftest$ac_exeext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21472 (eval $ac_link) 2>&5
21473 ac_status=$?
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21478 ac_status=$?
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; }; then
21481 ac_cv_sizeof_wchar_t=`cat conftest.val`
21482 else
21483 echo "$as_me: program exited with status $ac_status" >&5
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 ( exit $ac_status )
21488 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21489 See \`config.log' for more details." >&5
21490 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21491 See \`config.log' for more details." >&2;}
21492 { (exit 1); exit 1; }; }
21493 fi
21494 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21495 fi
21496 fi
21497 rm -f conftest.val
21498 else
21499 ac_cv_sizeof_wchar_t=0
21500 fi
21501 fi
21502 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21503 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21504 cat >>confdefs.h <<_ACEOF
21505 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21506 _ACEOF
21507
21508
21509 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21510 wxUSE_WCHAR_T=yes
21511 else
21512 wxUSE_WCHAR_T=no
21513 fi
21514
21515 echo "$as_me:$LINENO: checking for va_copy" >&5
21516 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21517 if test "${wx_cv_func_va_copy+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 else
21520
21521 cat >conftest.$ac_ext <<_ACEOF
21522
21523 #include <stdarg.h>
21524 void foo(char *f, ...)
21525 {
21526 va_list ap1, ap2;
21527 va_start(ap1, f);
21528 va_copy(ap2, ap1);
21529 va_end(ap2);
21530 va_end(ap1);
21531 }
21532 int main()
21533 {
21534 foo("hi", 17);
21535 return 0;
21536 }
21537 _ACEOF
21538 rm -f conftest.$ac_objext conftest$ac_exeext
21539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21540 (eval $ac_link) 2>conftest.er1
21541 ac_status=$?
21542 grep -v '^ *+' conftest.er1 >conftest.err
21543 rm -f conftest.er1
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } &&
21547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21549 (eval $ac_try) 2>&5
21550 ac_status=$?
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); }; } &&
21553 { ac_try='test -s conftest$ac_exeext'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; }; then
21559 wx_cv_func_va_copy=yes
21560 else
21561 echo "$as_me: failed program was:" >&5
21562 sed 's/^/| /' conftest.$ac_ext >&5
21563
21564 wx_cv_func_va_copy=no
21565
21566 fi
21567 rm -f conftest.err conftest.$ac_objext \
21568 conftest$ac_exeext conftest.$ac_ext
21569
21570
21571 fi
21572 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21573 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21574
21575 if test $wx_cv_func_va_copy = "yes"; then
21576 cat >>confdefs.h <<\_ACEOF
21577 #define HAVE_VA_COPY 1
21578 _ACEOF
21579
21580 else
21581 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21582 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21583 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 else
21586
21587 if test "$cross_compiling" = yes; then
21588 wx_cv_type_va_list_lvalue=yes
21589
21590 else
21591 cat >conftest.$ac_ext <<_ACEOF
21592
21593 #include <stdarg.h>
21594 int foo(char *f, ...)
21595 {
21596 va_list ap1, ap2;
21597 va_start(ap1, f);
21598 ap2 = ap1;
21599 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21600 return 1;
21601 va_end(ap2);
21602 va_end(ap1);
21603 return 0;
21604 }
21605 int main()
21606 {
21607 return foo("hi", 17);
21608 }
21609 _ACEOF
21610 rm -f conftest$ac_exeext
21611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21612 (eval $ac_link) 2>&5
21613 ac_status=$?
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21618 ac_status=$?
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; }; then
21621 wx_cv_type_va_list_lvalue=yes
21622 else
21623 echo "$as_me: program exited with status $ac_status" >&5
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21626
21627 ( exit $ac_status )
21628 wx_cv_type_va_list_lvalue=no
21629 fi
21630 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21631 fi
21632
21633
21634 fi
21635 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21636 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21637
21638 if test $wx_cv_type_va_list_lvalue != "yes"; then
21639 cat >>confdefs.h <<\_ACEOF
21640 #define VA_LIST_IS_ARRAY 1
21641 _ACEOF
21642
21643 fi
21644 fi
21645
21646 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21647
21648 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21649 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21650 if test "${wx_cv_have_variadic_macros+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653
21654 ac_ext=cc
21655 ac_cpp='$CXXCPP $CPPFLAGS'
21656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21659
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666
21667 #include <stdio.h>
21668 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21669
21670 int
21671 main ()
21672 {
21673
21674 test("%s %d %p", "test", 1, 0);
21675
21676
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 rm -f conftest.$ac_objext
21682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21683 (eval $ac_compile) 2>conftest.er1
21684 ac_status=$?
21685 grep -v '^ *+' conftest.er1 >conftest.err
21686 rm -f conftest.er1
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; } &&
21696 { ac_try='test -s conftest.$ac_objext'
21697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21698 (eval $ac_try) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); }; }; then
21702 wx_cv_have_variadic_macros=yes
21703 else
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21706
21707 wx_cv_have_variadic_macros=no
21708
21709 fi
21710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21711 ac_ext=c
21712 ac_cpp='$CPP $CPPFLAGS'
21713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21716
21717
21718
21719 fi
21720 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21721 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21722
21723 if test $wx_cv_have_variadic_macros = "yes"; then
21724 cat >>confdefs.h <<\_ACEOF
21725 #define HAVE_VARIADIC_MACROS 1
21726 _ACEOF
21727
21728 fi
21729
21730 fi
21731 # Check whether --enable-largefile or --disable-largefile was given.
21732 if test "${enable_largefile+set}" = set; then
21733 enableval="$enable_largefile"
21734
21735 fi;
21736 if test "$enable_largefile" != no; then
21737 wx_largefile=no
21738
21739 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21740 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21741 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 else
21744
21745 cat >conftest.$ac_ext <<_ACEOF
21746 /* confdefs.h. */
21747 _ACEOF
21748 cat confdefs.h >>conftest.$ac_ext
21749 cat >>conftest.$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21751 #define _FILE_OFFSET_BITS 64
21752 #include <sys/types.h>
21753 int
21754 main ()
21755 {
21756 typedef struct {
21757 unsigned int field: sizeof(off_t) == 8;
21758 } wxlf;
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21766 (eval $ac_compile) 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } &&
21773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775 (eval $ac_try) 2>&5
21776 ac_status=$?
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; } &&
21779 { ac_try='test -s conftest.$ac_objext'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21782 ac_status=$?
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; }; then
21785 ac_cv_sys_file_offset_bits=64
21786 else
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.$ac_ext >&5
21789
21790 ac_cv_sys_file_offset_bits=no
21791 fi
21792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21793
21794
21795 fi
21796 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21797 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21798
21799 if test "$ac_cv_sys_file_offset_bits" != no; then
21800 wx_largefile=yes
21801 cat >>confdefs.h <<_ACEOF
21802 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21803 _ACEOF
21804
21805 fi
21806
21807 if test "x$wx_largefile" != "xyes"; then
21808
21809 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21810 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21811 if test "${ac_cv_sys_large_files+set}" = set; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21813 else
21814
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 #define _LARGE_FILES 1
21822 #include <sys/types.h>
21823 int
21824 main ()
21825 {
21826 typedef struct {
21827 unsigned int field: sizeof(off_t) == 8;
21828 } wxlf;
21829
21830 ;
21831 return 0;
21832 }
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest.$ac_objext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 ac_cv_sys_large_files=1
21856 else
21857 echo "$as_me: failed program was:" >&5
21858 sed 's/^/| /' conftest.$ac_ext >&5
21859
21860 ac_cv_sys_large_files=no
21861 fi
21862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21863
21864
21865 fi
21866 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21867 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21868
21869 if test "$ac_cv_sys_large_files" != no; then
21870 wx_largefile=yes
21871 cat >>confdefs.h <<_ACEOF
21872 #define _LARGE_FILES $ac_cv_sys_large_files
21873 _ACEOF
21874
21875 fi
21876
21877 fi
21878
21879 echo "$as_me:$LINENO: checking if large file support is available" >&5
21880 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21881 if test "x$wx_largefile" = "xyes"; then
21882 cat >>confdefs.h <<\_ACEOF
21883 #define HAVE_LARGEFILE_SUPPORT 1
21884 _ACEOF
21885
21886 fi
21887 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21888 echo "${ECHO_T}$wx_largefile" >&6
21889 fi
21890
21891
21892 if test "x$wx_largefile" = "xyes"; then
21893 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21894 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21895
21896 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21897 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21898 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21899 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21900 echo $ECHO_N "(cached) $ECHO_C" >&6
21901 else
21902
21903 ac_ext=cc
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21908
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915
21916 int
21917 main ()
21918 {
21919
21920 #ifndef __STDC_EXT__
21921 choke me
21922 #endif
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21940 ac_status=$?
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21946 ac_status=$?
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 wx_cv_STDC_EXT_required=no
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 wx_cv_STDC_EXT_required=yes
21955
21956 fi
21957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21963
21964
21965
21966 fi
21967 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21968 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21969 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21970 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21971 fi
21972 fi
21973 else
21974 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21975 fi
21976 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21977 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21978 if test "${ac_cv_sys_largefile_source+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 while :; do
21982 ac_cv_sys_largefile_source=no
21983 cat >conftest.$ac_ext <<_ACEOF
21984 /* confdefs.h. */
21985 _ACEOF
21986 cat confdefs.h >>conftest.$ac_ext
21987 cat >>conftest.$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 #include <stdio.h>
21990 int
21991 main ()
21992 {
21993 return !fseeko;
21994 ;
21995 return 0;
21996 }
21997 _ACEOF
21998 rm -f conftest.$ac_objext
21999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22000 (eval $ac_compile) 2>conftest.er1
22001 ac_status=$?
22002 grep -v '^ *+' conftest.er1 >conftest.err
22003 rm -f conftest.er1
22004 cat conftest.err >&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; } &&
22013 { ac_try='test -s conftest.$ac_objext'
22014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22015 (eval $ac_try) 2>&5
22016 ac_status=$?
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); }; }; then
22019 break
22020 else
22021 echo "$as_me: failed program was:" >&5
22022 sed 's/^/| /' conftest.$ac_ext >&5
22023
22024 fi
22025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22026 cat >conftest.$ac_ext <<_ACEOF
22027 /* confdefs.h. */
22028 _ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 #define _LARGEFILE_SOURCE 1
22033 #include <stdio.h>
22034 int
22035 main ()
22036 {
22037 return !fseeko;
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; } &&
22057 { ac_try='test -s conftest.$ac_objext'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22060 ac_status=$?
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; }; then
22063 ac_cv_sys_largefile_source=1; break
22064 else
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22067
22068 fi
22069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22070 break
22071 done
22072 fi
22073 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22074 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22075 if test "$ac_cv_sys_largefile_source" != no; then
22076
22077 cat >>confdefs.h <<_ACEOF
22078 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22079 _ACEOF
22080
22081 fi
22082 rm -f conftest*
22083
22084 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22085 # in glibc 2.1.3, but that breaks too many other things.
22086 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22087 echo "$as_me:$LINENO: checking for fseeko" >&5
22088 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22089 if test "${ac_cv_func_fseeko+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 else
22092 cat >conftest.$ac_ext <<_ACEOF
22093 /* confdefs.h. */
22094 _ACEOF
22095 cat confdefs.h >>conftest.$ac_ext
22096 cat >>conftest.$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22098 #include <stdio.h>
22099 int
22100 main ()
22101 {
22102 return fseeko && fseeko (stdin, 0, 0);
22103 ;
22104 return 0;
22105 }
22106 _ACEOF
22107 rm -f conftest.$ac_objext conftest$ac_exeext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22109 (eval $ac_link) 2>conftest.er1
22110 ac_status=$?
22111 grep -v '^ *+' conftest.er1 >conftest.err
22112 rm -f conftest.er1
22113 cat conftest.err >&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22119 ac_status=$?
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; } &&
22122 { ac_try='test -s conftest$ac_exeext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_func_fseeko=yes
22129 else
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.$ac_ext >&5
22132
22133 ac_cv_func_fseeko=no
22134 fi
22135 rm -f conftest.err conftest.$ac_objext \
22136 conftest$ac_exeext conftest.$ac_ext
22137 fi
22138 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22139 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22140 if test $ac_cv_func_fseeko = yes; then
22141
22142 cat >>confdefs.h <<\_ACEOF
22143 #define HAVE_FSEEKO 1
22144 _ACEOF
22145
22146 fi
22147
22148 if test "$ac_cv_sys_largefile_source" != no; then
22149 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22150 fi
22151 fi
22152
22153 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22154 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22155 if test "${ac_cv_c_bigendian+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22157 else
22158 ac_cv_c_bigendian=unknown
22159 # See if sys/param.h defines the BYTE_ORDER macro.
22160 cat >conftest.$ac_ext <<_ACEOF
22161 /* confdefs.h. */
22162 _ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22166 #include <sys/types.h>
22167 #include <sys/param.h>
22168 int
22169 main ()
22170 {
22171
22172 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22173 bogus endian macros
22174 #endif
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 rm -f conftest.$ac_objext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22181 (eval $ac_compile) 2>conftest.er1
22182 ac_status=$?
22183 grep -v '^ *+' conftest.er1 >conftest.err
22184 rm -f conftest.er1
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } &&
22188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 # It does; now see whether it defined to BIG_ENDIAN or not.
22201 cat >conftest.$ac_ext <<_ACEOF
22202 /* confdefs.h. */
22203 _ACEOF
22204 cat confdefs.h >>conftest.$ac_ext
22205 cat >>conftest.$ac_ext <<_ACEOF
22206 /* end confdefs.h. */
22207 #include <sys/types.h>
22208 #include <sys/param.h>
22209 int
22210 main ()
22211 {
22212
22213 #if BYTE_ORDER != BIG_ENDIAN
22214 not big endian
22215 #endif
22216 ;
22217 return 0;
22218 }
22219 _ACEOF
22220 rm -f conftest.$ac_objext
22221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22222 (eval $ac_compile) 2>conftest.er1
22223 ac_status=$?
22224 grep -v '^ *+' conftest.er1 >conftest.err
22225 rm -f conftest.er1
22226 cat conftest.err >&5
22227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22228 (exit $ac_status); } &&
22229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231 (eval $ac_try) 2>&5
22232 ac_status=$?
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); }; } &&
22235 { ac_try='test -s conftest.$ac_objext'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 ac_cv_c_bigendian=yes
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ac_cv_c_bigendian=no
22247 fi
22248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22249 else
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22252
22253 fi
22254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22255 if test $ac_cv_c_bigendian = unknown; then
22256 if test "$cross_compiling" = yes; then
22257 ac_cv_c_bigendian=unknown
22258 else
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 main () {
22266 /* Are we little or big endian? From Harbison&Steele. */
22267 union
22268 {
22269 long l;
22270 char c[sizeof (long)];
22271 } u;
22272 u.l = 1;
22273 exit (u.c[sizeof (long) - 1] == 1);
22274 }
22275 _ACEOF
22276 rm -f conftest$ac_exeext
22277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278 (eval $ac_link) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 ac_cv_c_bigendian=no
22288 else
22289 echo "$as_me: program exited with status $ac_status" >&5
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ( exit $ac_status )
22294 ac_cv_c_bigendian=yes
22295 fi
22296 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22297 fi
22298 fi
22299 fi
22300 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22301 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22302 if test $ac_cv_c_bigendian = unknown; then
22303 { 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
22304 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;}
22305 fi
22306 if test $ac_cv_c_bigendian = yes; then
22307 cat >>confdefs.h <<\_ACEOF
22308 #define WORDS_BIGENDIAN 1
22309 _ACEOF
22310
22311 fi
22312
22313
22314 ac_ext=cc
22315 ac_cpp='$CXXCPP $CPPFLAGS'
22316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22319 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22320 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22321 if test -z "$CXXCPP"; then
22322 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22323 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 else
22325 # Double quotes because CXXCPP needs to be expanded
22326 for CXXCPP in "$CXX -E" "/lib/cpp"
22327 do
22328 ac_preproc_ok=false
22329 for ac_cxx_preproc_warn_flag in '' yes
22330 do
22331 # Use a header file that comes with gcc, so configuring glibc
22332 # with a fresh cross-compiler works.
22333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22334 # <limits.h> exists even on freestanding compilers.
22335 # On the NeXT, cc -E runs the code through the compiler's parser,
22336 # not just through cpp. "Syntax error" is here to catch this case.
22337 cat >conftest.$ac_ext <<_ACEOF
22338 /* confdefs.h. */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 #ifdef __STDC__
22344 # include <limits.h>
22345 #else
22346 # include <assert.h>
22347 #endif
22348 Syntax error
22349 _ACEOF
22350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22352 ac_status=$?
22353 grep -v '^ *+' conftest.er1 >conftest.err
22354 rm -f conftest.er1
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } >/dev/null; then
22358 if test -s conftest.err; then
22359 ac_cpp_err=$ac_cxx_preproc_warn_flag
22360 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22361 else
22362 ac_cpp_err=
22363 fi
22364 else
22365 ac_cpp_err=yes
22366 fi
22367 if test -z "$ac_cpp_err"; then
22368 :
22369 else
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22372
22373 # Broken: fails on valid input.
22374 continue
22375 fi
22376 rm -f conftest.err conftest.$ac_ext
22377
22378 # OK, works on sane cases. Now check whether non-existent headers
22379 # can be detected and how.
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 #include <ac_nonexistent.h>
22387 _ACEOF
22388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22390 ac_status=$?
22391 grep -v '^ *+' conftest.er1 >conftest.err
22392 rm -f conftest.er1
22393 cat conftest.err >&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } >/dev/null; then
22396 if test -s conftest.err; then
22397 ac_cpp_err=$ac_cxx_preproc_warn_flag
22398 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22399 else
22400 ac_cpp_err=
22401 fi
22402 else
22403 ac_cpp_err=yes
22404 fi
22405 if test -z "$ac_cpp_err"; then
22406 # Broken: success on invalid input.
22407 continue
22408 else
22409 echo "$as_me: failed program was:" >&5
22410 sed 's/^/| /' conftest.$ac_ext >&5
22411
22412 # Passes both tests.
22413 ac_preproc_ok=:
22414 break
22415 fi
22416 rm -f conftest.err conftest.$ac_ext
22417
22418 done
22419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22420 rm -f conftest.err conftest.$ac_ext
22421 if $ac_preproc_ok; then
22422 break
22423 fi
22424
22425 done
22426 ac_cv_prog_CXXCPP=$CXXCPP
22427
22428 fi
22429 CXXCPP=$ac_cv_prog_CXXCPP
22430 else
22431 ac_cv_prog_CXXCPP=$CXXCPP
22432 fi
22433 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22434 echo "${ECHO_T}$CXXCPP" >&6
22435 ac_preproc_ok=false
22436 for ac_cxx_preproc_warn_flag in '' yes
22437 do
22438 # Use a header file that comes with gcc, so configuring glibc
22439 # with a fresh cross-compiler works.
22440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22441 # <limits.h> exists even on freestanding compilers.
22442 # On the NeXT, cc -E runs the code through the compiler's parser,
22443 # not just through cpp. "Syntax error" is here to catch this case.
22444 cat >conftest.$ac_ext <<_ACEOF
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 #ifdef __STDC__
22451 # include <limits.h>
22452 #else
22453 # include <assert.h>
22454 #endif
22455 Syntax error
22456 _ACEOF
22457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22459 ac_status=$?
22460 grep -v '^ *+' conftest.er1 >conftest.err
22461 rm -f conftest.er1
22462 cat conftest.err >&5
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); } >/dev/null; then
22465 if test -s conftest.err; then
22466 ac_cpp_err=$ac_cxx_preproc_warn_flag
22467 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22468 else
22469 ac_cpp_err=
22470 fi
22471 else
22472 ac_cpp_err=yes
22473 fi
22474 if test -z "$ac_cpp_err"; then
22475 :
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 # Broken: fails on valid input.
22481 continue
22482 fi
22483 rm -f conftest.err conftest.$ac_ext
22484
22485 # OK, works on sane cases. Now check whether non-existent headers
22486 # can be detected and how.
22487 cat >conftest.$ac_ext <<_ACEOF
22488 /* confdefs.h. */
22489 _ACEOF
22490 cat confdefs.h >>conftest.$ac_ext
22491 cat >>conftest.$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493 #include <ac_nonexistent.h>
22494 _ACEOF
22495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22497 ac_status=$?
22498 grep -v '^ *+' conftest.er1 >conftest.err
22499 rm -f conftest.er1
22500 cat conftest.err >&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } >/dev/null; then
22503 if test -s conftest.err; then
22504 ac_cpp_err=$ac_cxx_preproc_warn_flag
22505 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22506 else
22507 ac_cpp_err=
22508 fi
22509 else
22510 ac_cpp_err=yes
22511 fi
22512 if test -z "$ac_cpp_err"; then
22513 # Broken: success on invalid input.
22514 continue
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22518
22519 # Passes both tests.
22520 ac_preproc_ok=:
22521 break
22522 fi
22523 rm -f conftest.err conftest.$ac_ext
22524
22525 done
22526 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22527 rm -f conftest.err conftest.$ac_ext
22528 if $ac_preproc_ok; then
22529 :
22530 else
22531 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22532 See \`config.log' for more details." >&5
22533 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22534 See \`config.log' for more details." >&2;}
22535 { (exit 1); exit 1; }; }
22536 fi
22537
22538 ac_ext=cc
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544
22545
22546
22547
22548 ac_ext=cc
22549 ac_cpp='$CXXCPP $CPPFLAGS'
22550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22553
22554
22555
22556 for ac_header in iostream
22557 do
22558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22560 echo "$as_me:$LINENO: checking for $ac_header" >&5
22561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22563 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 fi
22565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22567 else
22568 # Is the header compilable?
22569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22571 cat >conftest.$ac_ext <<_ACEOF
22572 /* confdefs.h. */
22573 _ACEOF
22574 cat confdefs.h >>conftest.$ac_ext
22575 cat >>conftest.$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 $ac_includes_default
22578 #include <$ac_header>
22579 _ACEOF
22580 rm -f conftest.$ac_objext
22581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22582 (eval $ac_compile) 2>conftest.er1
22583 ac_status=$?
22584 grep -v '^ *+' conftest.er1 >conftest.err
22585 rm -f conftest.er1
22586 cat conftest.err >&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } &&
22589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try='test -s conftest.$ac_objext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_header_compiler=yes
22602 else
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 ac_header_compiler=no
22607 fi
22608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22610 echo "${ECHO_T}$ac_header_compiler" >&6
22611
22612 # Is the header present?
22613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22615 cat >conftest.$ac_ext <<_ACEOF
22616 /* confdefs.h. */
22617 _ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 #include <$ac_header>
22622 _ACEOF
22623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22625 ac_status=$?
22626 grep -v '^ *+' conftest.er1 >conftest.err
22627 rm -f conftest.er1
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } >/dev/null; then
22631 if test -s conftest.err; then
22632 ac_cpp_err=$ac_cxx_preproc_warn_flag
22633 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22634 else
22635 ac_cpp_err=
22636 fi
22637 else
22638 ac_cpp_err=yes
22639 fi
22640 if test -z "$ac_cpp_err"; then
22641 ac_header_preproc=yes
22642 else
22643 echo "$as_me: failed program was:" >&5
22644 sed 's/^/| /' conftest.$ac_ext >&5
22645
22646 ac_header_preproc=no
22647 fi
22648 rm -f conftest.err conftest.$ac_ext
22649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22650 echo "${ECHO_T}$ac_header_preproc" >&6
22651
22652 # So? What about this header?
22653 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22654 yes:no: )
22655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22659 ac_header_preproc=yes
22660 ;;
22661 no:yes:* )
22662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22674 (
22675 cat <<\_ASBOX
22676 ## ----------------------------------------- ##
22677 ## Report this to wx-dev@lists.wxwidgets.org ##
22678 ## ----------------------------------------- ##
22679 _ASBOX
22680 ) |
22681 sed "s/^/$as_me: WARNING: /" >&2
22682 ;;
22683 esac
22684 echo "$as_me:$LINENO: checking for $ac_header" >&5
22685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 else
22689 eval "$as_ac_Header=\$ac_header_preproc"
22690 fi
22691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22693
22694 fi
22695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22696 cat >>confdefs.h <<_ACEOF
22697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22698 _ACEOF
22699
22700 fi
22701
22702 done
22703
22704
22705 if test "$ac_cv_header_iostream" = "yes" ; then
22706 :
22707 else
22708 cat >>confdefs.h <<\_ACEOF
22709 #define wxUSE_IOSTREAMH 1
22710 _ACEOF
22711
22712 fi
22713
22714 ac_ext=c
22715 ac_cpp='$CPP $CPPFLAGS'
22716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22719
22720
22721
22722
22723 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22724 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22725 if test "${wx_cv_cpp_bool+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 else
22728
22729
22730
22731 ac_ext=cc
22732 ac_cpp='$CXXCPP $CPPFLAGS'
22733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22736
22737
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744
22745
22746 int
22747 main ()
22748 {
22749
22750 bool b = true;
22751
22752 return 0;
22753
22754 ;
22755 return 0;
22756 }
22757 _ACEOF
22758 rm -f conftest.$ac_objext
22759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22760 (eval $ac_compile) 2>conftest.er1
22761 ac_status=$?
22762 grep -v '^ *+' conftest.er1 >conftest.err
22763 rm -f conftest.er1
22764 cat conftest.err >&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); } &&
22767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22773 { ac_try='test -s conftest.$ac_objext'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22776 ac_status=$?
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; }; then
22779
22780 wx_cv_cpp_bool=yes
22781
22782 else
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22785
22786
22787 wx_cv_cpp_bool=no
22788
22789
22790 fi
22791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22792
22793 ac_ext=c
22794 ac_cpp='$CPP $CPPFLAGS'
22795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22798
22799
22800 fi
22801 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22802 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22803
22804 if test "$wx_cv_cpp_bool" = "yes"; then
22805 cat >>confdefs.h <<\_ACEOF
22806 #define HAVE_BOOL 1
22807 _ACEOF
22808
22809 fi
22810
22811
22812
22813 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22814 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22815 if test "${wx_cv_explicit+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 else
22818
22819
22820
22821 ac_ext=cc
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22826
22827
22828 cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h. */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834
22835 class Foo { public: explicit Foo(int) {} };
22836
22837 int
22838 main ()
22839 {
22840
22841 return 0;
22842
22843 ;
22844 return 0;
22845 }
22846 _ACEOF
22847 rm -f conftest.$ac_objext
22848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22849 (eval $ac_compile) 2>conftest.er1
22850 ac_status=$?
22851 grep -v '^ *+' conftest.er1 >conftest.err
22852 rm -f conftest.er1
22853 cat conftest.err >&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } &&
22856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try='test -s conftest.$ac_objext'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868
22869 cat >conftest.$ac_ext <<_ACEOF
22870 /* confdefs.h. */
22871 _ACEOF
22872 cat confdefs.h >>conftest.$ac_ext
22873 cat >>conftest.$ac_ext <<_ACEOF
22874 /* end confdefs.h. */
22875
22876 class Foo { public: explicit Foo(int) {} };
22877 static void TakeFoo(const Foo& foo) { }
22878
22879 int
22880 main ()
22881 {
22882
22883 TakeFoo(17);
22884 return 0;
22885
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest.$ac_objext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22892 (eval $ac_compile) 2>conftest.er1
22893 ac_status=$?
22894 grep -v '^ *+' conftest.er1 >conftest.err
22895 rm -f conftest.er1
22896 cat conftest.err >&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } &&
22899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901 (eval $ac_try) 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); }; } &&
22905 { ac_try='test -s conftest.$ac_objext'
22906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22907 (eval $ac_try) 2>&5
22908 ac_status=$?
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); }; }; then
22911 wx_cv_explicit=no
22912 else
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22915
22916 wx_cv_explicit=yes
22917
22918 fi
22919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22920
22921 else
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925 wx_cv_explicit=no
22926
22927 fi
22928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22929
22930 ac_ext=c
22931 ac_cpp='$CPP $CPPFLAGS'
22932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935
22936
22937 fi
22938 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22939 echo "${ECHO_T}$wx_cv_explicit" >&6
22940
22941 if test "$wx_cv_explicit" = "yes"; then
22942 cat >>confdefs.h <<\_ACEOF
22943 #define HAVE_EXPLICIT 1
22944 _ACEOF
22945
22946 fi
22947
22948
22949 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22950 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22951 if test "${ac_cv_cxx_const_cast+set}" = set; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 else
22954
22955
22956 ac_ext=cc
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961
22962 cat >conftest.$ac_ext <<_ACEOF
22963 /* confdefs.h. */
22964 _ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22968
22969 int
22970 main ()
22971 {
22972 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 rm -f conftest.$ac_objext
22978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22979 (eval $ac_compile) 2>conftest.er1
22980 ac_status=$?
22981 grep -v '^ *+' conftest.er1 >conftest.err
22982 rm -f conftest.er1
22983 cat conftest.err >&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); } &&
22986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_cv_cxx_const_cast=yes
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 ac_cv_cxx_const_cast=no
23004 fi
23005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23006 ac_ext=c
23007 ac_cpp='$CPP $CPPFLAGS'
23008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011
23012
23013 fi
23014 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23015 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23016 if test "$ac_cv_cxx_const_cast" = yes; then
23017
23018 cat >>confdefs.h <<\_ACEOF
23019 #define HAVE_CONST_CAST
23020 _ACEOF
23021
23022 fi
23023
23024 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23025 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23026 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23028 else
23029
23030
23031 ac_ext=cc
23032 ac_cpp='$CXXCPP $CPPFLAGS'
23033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #include <typeinfo>
23044 class Base { public : Base () {} virtual void f () = 0;};
23045 class Derived : public Base { public : Derived () {} virtual void f () {} };
23046 class Unrelated { public : Unrelated () {} };
23047 int g (Unrelated&) { return 0; }
23048 int
23049 main ()
23050 {
23051
23052 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23053 ;
23054 return 0;
23055 }
23056 _ACEOF
23057 rm -f conftest.$ac_objext
23058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23059 (eval $ac_compile) 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23069 ac_status=$?
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; } &&
23072 { ac_try='test -s conftest.$ac_objext'
23073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23074 (eval $ac_try) 2>&5
23075 ac_status=$?
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; }; then
23078 ac_cv_cxx_reinterpret_cast=yes
23079 else
23080 echo "$as_me: failed program was:" >&5
23081 sed 's/^/| /' conftest.$ac_ext >&5
23082
23083 ac_cv_cxx_reinterpret_cast=no
23084 fi
23085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23086 ac_ext=c
23087 ac_cpp='$CPP $CPPFLAGS'
23088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23091
23092
23093 fi
23094 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23095 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23096 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23097
23098 cat >>confdefs.h <<\_ACEOF
23099 #define HAVE_REINTERPRET_CAST
23100 _ACEOF
23101
23102 fi
23103
23104 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23105 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23106 if test "${ac_cv_cxx_static_cast+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 else
23109
23110
23111 ac_ext=cc
23112 ac_cpp='$CXXCPP $CPPFLAGS'
23113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23116
23117 cat >conftest.$ac_ext <<_ACEOF
23118 /* confdefs.h. */
23119 _ACEOF
23120 cat confdefs.h >>conftest.$ac_ext
23121 cat >>conftest.$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123 #include <typeinfo>
23124 class Base { public : Base () {} virtual void f () = 0; };
23125 class Derived : public Base { public : Derived () {} virtual void f () {} };
23126 int g (Derived&) { return 0; }
23127 int
23128 main ()
23129 {
23130
23131 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23132 ;
23133 return 0;
23134 }
23135 _ACEOF
23136 rm -f conftest.$ac_objext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23138 (eval $ac_compile) 2>conftest.er1
23139 ac_status=$?
23140 grep -v '^ *+' conftest.er1 >conftest.err
23141 rm -f conftest.er1
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147 (eval $ac_try) 2>&5
23148 ac_status=$?
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); }; } &&
23151 { ac_try='test -s conftest.$ac_objext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_cxx_static_cast=yes
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 ac_cv_cxx_static_cast=no
23163 fi
23164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ac_ext=c
23166 ac_cpp='$CPP $CPPFLAGS'
23167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23170
23171
23172 fi
23173 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23174 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23175 if test "$ac_cv_cxx_static_cast" = yes; then
23176
23177 cat >>confdefs.h <<\_ACEOF
23178 #define HAVE_STATIC_CAST
23179 _ACEOF
23180
23181 fi
23182
23183
23184 if test "x$SUNCXX" = xyes; then
23185 CXXFLAGS="-features=tmplife $CXXFLAGS"
23186 fi
23187
23188 if test "x$SUNCC" = xyes; then
23189 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23190 fi
23191
23192 if test "x$SGICC" = "xyes"; then
23193 CFLAGS="-woff 3970 $CFLAGS"
23194 fi
23195 if test "x$SGICXX" = "xyes"; then
23196 CXXFLAGS="-woff 3970 $CXXFLAGS"
23197 fi
23198
23199 if test "x$HPCC" = "xyes"; then
23200 CFLAGS="+W 2011,2450 $CFLAGS"
23201 fi
23202 if test "x$HPCXX" = "xyes"; then
23203 CXXFLAGS="+W 2340 $CXXFLAGS"
23204 fi
23205
23206 if test "x$COMPAQCXX" = "xyes"; then
23207 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23208 fi
23209
23210 ac_ext=cc
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215
23216
23217 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23218 if test "$wxUSE_UNICODE" = "yes"; then
23219 std_string="std::wstring"
23220 char_type="wchar_t"
23221 else
23222 std_string="std::string"
23223 char_type="char"
23224 fi
23225
23226 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23227 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23228 if test "${wx_cv_class_stdstring+set}" = set; then
23229 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 else
23231
23232 cat >conftest.$ac_ext <<_ACEOF
23233 /* confdefs.h. */
23234 _ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 #include <string>
23239 int
23240 main ()
23241 {
23242 $std_string foo;
23243 ;
23244 return 0;
23245 }
23246 _ACEOF
23247 rm -f conftest.$ac_objext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23249 (eval $ac_compile) 2>conftest.er1
23250 ac_status=$?
23251 grep -v '^ *+' conftest.er1 >conftest.err
23252 rm -f conftest.er1
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; } &&
23262 { ac_try='test -s conftest.$ac_objext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23268 wx_cv_class_stdstring=yes
23269 else
23270 echo "$as_me: failed program was:" >&5
23271 sed 's/^/| /' conftest.$ac_ext >&5
23272
23273 wx_cv_class_stdstring=no
23274
23275 fi
23276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23277
23278
23279 fi
23280 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23281 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23282
23283 if test "$wx_cv_class_stdstring" = yes; then
23284 if test "$wxUSE_UNICODE" = "yes"; then
23285 cat >>confdefs.h <<\_ACEOF
23286 #define HAVE_STD_WSTRING 1
23287 _ACEOF
23288
23289 fi
23290 else
23291 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23292 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23293 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 else
23296
23297 cat >conftest.$ac_ext <<_ACEOF
23298 /* confdefs.h. */
23299 _ACEOF
23300 cat confdefs.h >>conftest.$ac_ext
23301 cat >>conftest.$ac_ext <<_ACEOF
23302 /* end confdefs.h. */
23303
23304 #ifdef HAVE_WCHAR_H
23305 # ifdef __CYGWIN__
23306 # include <stddef.h>
23307 # endif
23308 # include <wchar.h>
23309 #endif
23310 #ifdef HAVE_STDLIB_H
23311 # include <stdlib.h>
23312 #endif
23313 #include <stdio.h>
23314 #include <string>
23315
23316 int
23317 main ()
23318 {
23319 std::basic_string<$char_type> foo;
23320 const $char_type* dummy = foo.c_str();
23321 ;
23322 return 0;
23323 }
23324 _ACEOF
23325 rm -f conftest.$ac_objext
23326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23327 (eval $ac_compile) 2>conftest.er1
23328 ac_status=$?
23329 grep -v '^ *+' conftest.er1 >conftest.err
23330 rm -f conftest.er1
23331 cat conftest.err >&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; } &&
23340 { ac_try='test -s conftest.$ac_objext'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23343 ac_status=$?
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; }; then
23346 wx_cv_class_stdbasicstring=yes
23347 else
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351 wx_cv_class_stdbasicstring=no
23352
23353 fi
23354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23355
23356
23357 fi
23358 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23359 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23360
23361 if test "$wx_cv_class_stdbasicstring" != yes; then
23362 if test "$wxUSE_STL" = "yes"; then
23363 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23364 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23365 { (exit 1); exit 1; }; }
23366 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23367 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23368 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23369 { (exit 1); exit 1; }; }
23370 else
23371 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23372 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23373 wxUSE_STD_STRING=no
23374 fi
23375 fi
23376 fi
23377 fi
23378
23379 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23380 echo "$as_me:$LINENO: checking for std::istream" >&5
23381 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23382 if test "${ac_cv_type_std__istream+set}" = set; then
23383 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 else
23385 cat >conftest.$ac_ext <<_ACEOF
23386 /* confdefs.h. */
23387 _ACEOF
23388 cat confdefs.h >>conftest.$ac_ext
23389 cat >>conftest.$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 #include <iostream>
23392
23393 int
23394 main ()
23395 {
23396 if ((std::istream *) 0)
23397 return 0;
23398 if (sizeof (std::istream))
23399 return 0;
23400 ;
23401 return 0;
23402 }
23403 _ACEOF
23404 rm -f conftest.$ac_objext
23405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23406 (eval $ac_compile) 2>conftest.er1
23407 ac_status=$?
23408 grep -v '^ *+' conftest.er1 >conftest.err
23409 rm -f conftest.er1
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } &&
23413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415 (eval $ac_try) 2>&5
23416 ac_status=$?
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; } &&
23419 { ac_try='test -s conftest.$ac_objext'
23420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421 (eval $ac_try) 2>&5
23422 ac_status=$?
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); }; }; then
23425 ac_cv_type_std__istream=yes
23426 else
23427 echo "$as_me: failed program was:" >&5
23428 sed 's/^/| /' conftest.$ac_ext >&5
23429
23430 ac_cv_type_std__istream=no
23431 fi
23432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23433 fi
23434 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23435 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23436 if test $ac_cv_type_std__istream = yes; then
23437
23438 cat >>confdefs.h <<_ACEOF
23439 #define HAVE_STD__ISTREAM 1
23440 _ACEOF
23441
23442
23443 else
23444 wxUSE_STD_IOSTREAM=no
23445 fi
23446 echo "$as_me:$LINENO: checking for std::ostream" >&5
23447 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23448 if test "${ac_cv_type_std__ostream+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 else
23451 cat >conftest.$ac_ext <<_ACEOF
23452 /* confdefs.h. */
23453 _ACEOF
23454 cat confdefs.h >>conftest.$ac_ext
23455 cat >>conftest.$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23457 #include <iostream>
23458
23459 int
23460 main ()
23461 {
23462 if ((std::ostream *) 0)
23463 return 0;
23464 if (sizeof (std::ostream))
23465 return 0;
23466 ;
23467 return 0;
23468 }
23469 _ACEOF
23470 rm -f conftest.$ac_objext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23472 (eval $ac_compile) 2>conftest.er1
23473 ac_status=$?
23474 grep -v '^ *+' conftest.er1 >conftest.err
23475 rm -f conftest.er1
23476 cat conftest.err >&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } &&
23479 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; } &&
23485 { ac_try='test -s conftest.$ac_objext'
23486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487 (eval $ac_try) 2>&5
23488 ac_status=$?
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; }; then
23491 ac_cv_type_std__ostream=yes
23492 else
23493 echo "$as_me: failed program was:" >&5
23494 sed 's/^/| /' conftest.$ac_ext >&5
23495
23496 ac_cv_type_std__ostream=no
23497 fi
23498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23499 fi
23500 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23501 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23502 if test $ac_cv_type_std__ostream = yes; then
23503
23504 cat >>confdefs.h <<_ACEOF
23505 #define HAVE_STD__OSTREAM 1
23506 _ACEOF
23507
23508
23509 else
23510 wxUSE_STD_IOSTREAM=no
23511 fi
23512
23513
23514 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23515 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23516 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23517 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23518 { (exit 1); exit 1; }; }
23519 else
23520 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23521 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23522 fi
23523 fi
23524 fi
23525
23526 if test "$wxUSE_STL" = "yes"; then
23527 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23528 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23529 if test "${wx_cv_lib_stl+set}" = set; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 else
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 #include <string>
23539 #include <functional>
23540 #include <algorithm>
23541 #include <vector>
23542 #include <list>
23543 int
23544 main ()
23545 {
23546 std::vector<int> moo;
23547 std::list<int> foo;
23548 std::vector<int>::iterator it =
23549 std::find_if(moo.begin(), moo.end(),
23550 std::bind2nd(std::less<int>(), 3));
23551 ;
23552 return 0;
23553 }
23554 _ACEOF
23555 rm -f conftest.$ac_objext
23556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23557 (eval $ac_compile) 2>conftest.er1
23558 ac_status=$?
23559 grep -v '^ *+' conftest.er1 >conftest.err
23560 rm -f conftest.er1
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } &&
23564 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; } &&
23570 { ac_try='test -s conftest.$ac_objext'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; }; then
23576 wx_cv_lib_stl=yes
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23580
23581 wx_cv_lib_stl=no
23582
23583 fi
23584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23585
23586 fi
23587 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23588 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23589
23590 if test "$wx_cv_lib_stl" != yes; then
23591 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23592 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23593 { (exit 1); exit 1; }; }
23594 fi
23595
23596 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23597 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23598 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601 cat >conftest.$ac_ext <<_ACEOF
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #include <string>
23608 int
23609 main ()
23610 {
23611 std::string foo, bar;
23612 foo.compare(bar);
23613 foo.compare(1, 1, bar);
23614 foo.compare(1, 1, bar, 1, 1);
23615 foo.compare("");
23616 foo.compare(1, 1, "");
23617 foo.compare(1, 1, "", 2);
23618 ;
23619 return 0;
23620 }
23621 _ACEOF
23622 rm -f conftest.$ac_objext
23623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23624 (eval $ac_compile) 2>conftest.er1
23625 ac_status=$?
23626 grep -v '^ *+' conftest.er1 >conftest.err
23627 rm -f conftest.er1
23628 cat conftest.err >&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); } &&
23631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633 (eval $ac_try) 2>&5
23634 ac_status=$?
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; } &&
23637 { ac_try='test -s conftest.$ac_objext'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; }; then
23643 wx_cv_func_stdstring_compare=yes
23644 else
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.$ac_ext >&5
23647
23648 wx_cv_func_stdstring_compare=no
23649
23650 fi
23651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23652
23653 fi
23654 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23655 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23656
23657 if test "$wx_cv_func_stdstring_compare" = yes; then
23658 cat >>confdefs.h <<\_ACEOF
23659 #define HAVE_STD_STRING_COMPARE 1
23660 _ACEOF
23661
23662 fi
23663
23664 if test "${ac_cv_header_hash_map+set}" = set; then
23665 echo "$as_me:$LINENO: checking for hash_map" >&5
23666 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23667 if test "${ac_cv_header_hash_map+set}" = set; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 fi
23670 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23671 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23672 else
23673 # Is the header compilable?
23674 echo "$as_me:$LINENO: checking hash_map usability" >&5
23675 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23676 cat >conftest.$ac_ext <<_ACEOF
23677 /* confdefs.h. */
23678 _ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 $ac_includes_default
23683 #include <hash_map>
23684 _ACEOF
23685 rm -f conftest.$ac_objext
23686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23687 (eval $ac_compile) 2>conftest.er1
23688 ac_status=$?
23689 grep -v '^ *+' conftest.er1 >conftest.err
23690 rm -f conftest.er1
23691 cat conftest.err >&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; } &&
23700 { ac_try='test -s conftest.$ac_objext'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; }; then
23706 ac_header_compiler=yes
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23710
23711 ac_header_compiler=no
23712 fi
23713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23715 echo "${ECHO_T}$ac_header_compiler" >&6
23716
23717 # Is the header present?
23718 echo "$as_me:$LINENO: checking hash_map presence" >&5
23719 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23720 cat >conftest.$ac_ext <<_ACEOF
23721 /* confdefs.h. */
23722 _ACEOF
23723 cat confdefs.h >>conftest.$ac_ext
23724 cat >>conftest.$ac_ext <<_ACEOF
23725 /* end confdefs.h. */
23726 #include <hash_map>
23727 _ACEOF
23728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23730 ac_status=$?
23731 grep -v '^ *+' conftest.er1 >conftest.err
23732 rm -f conftest.er1
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } >/dev/null; then
23736 if test -s conftest.err; then
23737 ac_cpp_err=$ac_cxx_preproc_warn_flag
23738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23739 else
23740 ac_cpp_err=
23741 fi
23742 else
23743 ac_cpp_err=yes
23744 fi
23745 if test -z "$ac_cpp_err"; then
23746 ac_header_preproc=yes
23747 else
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.$ac_ext >&5
23750
23751 ac_header_preproc=no
23752 fi
23753 rm -f conftest.err conftest.$ac_ext
23754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23755 echo "${ECHO_T}$ac_header_preproc" >&6
23756
23757 # So? What about this header?
23758 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23759 yes:no: )
23760 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23761 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23762 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23763 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23764 ac_header_preproc=yes
23765 ;;
23766 no:yes:* )
23767 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23768 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23770 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23771 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23772 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23774 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23775 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23776 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23777 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23778 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23779 (
23780 cat <<\_ASBOX
23781 ## ----------------------------------------- ##
23782 ## Report this to wx-dev@lists.wxwidgets.org ##
23783 ## ----------------------------------------- ##
23784 _ASBOX
23785 ) |
23786 sed "s/^/$as_me: WARNING: /" >&2
23787 ;;
23788 esac
23789 echo "$as_me:$LINENO: checking for hash_map" >&5
23790 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23791 if test "${ac_cv_header_hash_map+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 else
23794 ac_cv_header_hash_map=$ac_header_preproc
23795 fi
23796 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23797 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23798
23799 fi
23800 if test $ac_cv_header_hash_map = yes; then
23801 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23802 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23803 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 else
23806 cat >conftest.$ac_ext <<_ACEOF
23807 /* confdefs.h. */
23808 _ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 #include <hash_map>
23813 #include <hash_set>
23814 int
23815 main ()
23816 {
23817 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23818 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23819 ;
23820 return 0;
23821 }
23822 _ACEOF
23823 rm -f conftest.$ac_objext
23824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23825 (eval $ac_compile) 2>conftest.er1
23826 ac_status=$?
23827 grep -v '^ *+' conftest.er1 >conftest.err
23828 rm -f conftest.er1
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } &&
23832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23834 (eval $ac_try) 2>&5
23835 ac_status=$?
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); }; } &&
23838 { ac_try='test -s conftest.$ac_objext'
23839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23840 (eval $ac_try) 2>&5
23841 ac_status=$?
23842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23843 (exit $ac_status); }; }; then
23844 wx_cv_class_stdhashmapset=yes
23845 else
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23848
23849 wx_cv_class_stdhashmapset=no
23850 fi
23851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23852
23853
23854 fi
23855 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23856 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23857
23858 fi
23859
23860
23861
23862 if test "$wx_cv_class_stdhashmapset" = yes; then
23863 cat >>confdefs.h <<\_ACEOF
23864 #define HAVE_HASH_MAP 1
23865 _ACEOF
23866
23867 cat >>confdefs.h <<\_ACEOF
23868 #define HAVE_STD_HASH_MAP 1
23869 _ACEOF
23870
23871 fi
23872
23873 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23874 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23875 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23876 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 fi
23879 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23880 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23881 else
23882 # Is the header compilable?
23883 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23884 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 #include <ext/hash_map>
23893 _ACEOF
23894 rm -f conftest.$ac_objext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23896 (eval $ac_compile) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23906 ac_status=$?
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; } &&
23909 { ac_try='test -s conftest.$ac_objext'
23910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23911 (eval $ac_try) 2>&5
23912 ac_status=$?
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); }; }; then
23915 ac_header_compiler=yes
23916 else
23917 echo "$as_me: failed program was:" >&5
23918 sed 's/^/| /' conftest.$ac_ext >&5
23919
23920 ac_header_compiler=no
23921 fi
23922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23924 echo "${ECHO_T}$ac_header_compiler" >&6
23925
23926 # Is the header present?
23927 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23928 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23929 cat >conftest.$ac_ext <<_ACEOF
23930 /* confdefs.h. */
23931 _ACEOF
23932 cat confdefs.h >>conftest.$ac_ext
23933 cat >>conftest.$ac_ext <<_ACEOF
23934 /* end confdefs.h. */
23935 #include <ext/hash_map>
23936 _ACEOF
23937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23939 ac_status=$?
23940 grep -v '^ *+' conftest.er1 >conftest.err
23941 rm -f conftest.er1
23942 cat conftest.err >&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); } >/dev/null; then
23945 if test -s conftest.err; then
23946 ac_cpp_err=$ac_cxx_preproc_warn_flag
23947 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23948 else
23949 ac_cpp_err=
23950 fi
23951 else
23952 ac_cpp_err=yes
23953 fi
23954 if test -z "$ac_cpp_err"; then
23955 ac_header_preproc=yes
23956 else
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23959
23960 ac_header_preproc=no
23961 fi
23962 rm -f conftest.err conftest.$ac_ext
23963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23964 echo "${ECHO_T}$ac_header_preproc" >&6
23965
23966 # So? What about this header?
23967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23968 yes:no: )
23969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23970 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23972 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23973 ac_header_preproc=yes
23974 ;;
23975 no:yes:* )
23976 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23977 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23979 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23981 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23983 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23985 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23986 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23987 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23988 (
23989 cat <<\_ASBOX
23990 ## ----------------------------------------- ##
23991 ## Report this to wx-dev@lists.wxwidgets.org ##
23992 ## ----------------------------------------- ##
23993 _ASBOX
23994 ) |
23995 sed "s/^/$as_me: WARNING: /" >&2
23996 ;;
23997 esac
23998 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23999 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24000 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24002 else
24003 ac_cv_header_ext_hash_map=$ac_header_preproc
24004 fi
24005 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24006 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24007
24008 fi
24009 if test $ac_cv_header_ext_hash_map = yes; then
24010 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24011 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24012 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 else
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <ext/hash_map>
24022 #include <ext/hash_set>
24023 int
24024 main ()
24025 {
24026 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24027 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24028 ;
24029 return 0;
24030 }
24031 _ACEOF
24032 rm -f conftest.$ac_objext
24033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24034 (eval $ac_compile) 2>conftest.er1
24035 ac_status=$?
24036 grep -v '^ *+' conftest.er1 >conftest.err
24037 rm -f conftest.er1
24038 cat conftest.err >&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); } &&
24041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24044 ac_status=$?
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; } &&
24047 { ac_try='test -s conftest.$ac_objext'
24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24049 (eval $ac_try) 2>&5
24050 ac_status=$?
24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24052 (exit $ac_status); }; }; then
24053 wx_cv_class_gnuhashmapset=yes
24054 else
24055 echo "$as_me: failed program was:" >&5
24056 sed 's/^/| /' conftest.$ac_ext >&5
24057
24058 wx_cv_class_gnuhashmapset=no
24059 fi
24060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24061
24062
24063 fi
24064 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24065 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24066
24067 fi
24068
24069
24070
24071 if test "$wx_cv_class_gnuhashmapset" = yes; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_EXT_HASH_MAP 1
24074 _ACEOF
24075
24076 cat >>confdefs.h <<\_ACEOF
24077 #define HAVE_GNU_CXX_HASH_MAP 1
24078 _ACEOF
24079
24080 fi
24081 fi
24082
24083 ac_ext=c
24084 ac_cpp='$CPP $CPPFLAGS'
24085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088
24089
24090
24091 SEARCH_INCLUDE="\
24092 /usr/local/include \
24093 \
24094 /usr/Motif-2.1/include \
24095 /usr/Motif-1.2/include \
24096 /usr/include/Motif1.2 \
24097 \
24098 /usr/dt/include \
24099 /usr/openwin/include \
24100 \
24101 /usr/include/Xm \
24102 \
24103 /usr/X11R6/include \
24104 /usr/X11R6.4/include \
24105 /usr/X11R5/include \
24106 /usr/X11R4/include \
24107 \
24108 /usr/include/X11R6 \
24109 /usr/include/X11R5 \
24110 /usr/include/X11R4 \
24111 \
24112 /usr/local/X11R6/include \
24113 /usr/local/X11R5/include \
24114 /usr/local/X11R4/include \
24115 \
24116 /usr/local/include/X11R6 \
24117 /usr/local/include/X11R5 \
24118 /usr/local/include/X11R4 \
24119 \
24120 /usr/X11/include \
24121 /usr/include/X11 \
24122 /usr/local/X11/include \
24123 /usr/local/include/X11 \
24124 \
24125 /usr/XFree86/include/X11 \
24126 /usr/pkg/include \
24127 \
24128 /usr/openwin/share/include"
24129
24130 echo "$as_me:$LINENO: checking for libraries directory" >&5
24131 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24132
24133 case "${host}" in
24134 *-*-irix6* )
24135 if test "${wx_cv_std_libpath+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138
24139 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24140 for e in a so sl dylib dll.a; do
24141 libc="$d/libc.$e"
24142 if test -f $libc; then
24143 save_LIBS="$LIBS"
24144 LIBS="$libc"
24145 cat >conftest.$ac_ext <<_ACEOF
24146 int main() { return 0; }
24147 _ACEOF
24148 rm -f conftest.$ac_objext conftest$ac_exeext
24149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24150 (eval $ac_link) 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } &&
24157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24160 ac_status=$?
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; } &&
24163 { ac_try='test -s conftest$ac_exeext'
24164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165 (eval $ac_try) 2>&5
24166 ac_status=$?
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174 fi
24175 rm -f conftest.err conftest.$ac_objext \
24176 conftest$ac_exeext conftest.$ac_ext
24177 LIBS="$save_LIBS"
24178 if test "x$wx_cv_std_libpath" != "x"; then
24179 break 2
24180 fi
24181 fi
24182 done
24183 done
24184 if test "x$wx_cv_std_libpath" = "x"; then
24185 wx_cv_std_libpath="lib"
24186 fi
24187
24188
24189 fi
24190
24191 ;;
24192
24193 *-*-solaris2* )
24194 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24195 wx_cv_std_libpath="lib/64"
24196 else
24197 wx_cv_std_libpath="lib"
24198 fi
24199 ;;
24200
24201 *-*-linux* )
24202 if test "$ac_cv_sizeof_void_p" = 8 -a \
24203 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24204 wx_cv_std_libpath="lib64"
24205 else
24206 wx_cv_std_libpath="lib"
24207 fi
24208 ;;
24209
24210 *)
24211 wx_cv_std_libpath="lib";
24212 ;;
24213 esac
24214
24215 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24216 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24217
24218 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24219
24220 if test "$build" != "$host" -a "$GCC" = yes; then
24221 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24222 cross_root=`dirname $cross_root`
24223 cross_root=`dirname $cross_root`
24224
24225 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24226 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24227 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24228
24229 if test -z "$PKG_CONFIG_PATH"; then
24230 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24231 export PKG_CONFIG_PATH
24232 fi
24233
24234 if test -z "$x_includes" -o "$x_includes" = NONE; then
24235
24236 ac_find_includes=
24237 for ac_dir in $SEARCH_INCLUDE /usr/include;
24238 do
24239 if test -f "$ac_dir/X11/Intrinsic.h"; then
24240 ac_find_includes=$ac_dir
24241 break
24242 fi
24243 done
24244
24245 x_includes=$ac_find_includes
24246 fi
24247 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24248
24249 ac_find_libraries=
24250 for ac_dir in $SEARCH_LIB;
24251 do
24252 for ac_extension in a so sl dylib dll.a; do
24253 if test -f "$ac_dir/libXt.$ac_extension"; then
24254 ac_find_libraries=$ac_dir
24255 break 2
24256 fi
24257 done
24258 done
24259
24260 x_libraries=$ac_find_libraries
24261 fi
24262 fi
24263 fi
24264
24265
24266 cat >confcache <<\_ACEOF
24267 # This file is a shell script that caches the results of configure
24268 # tests run on this system so they can be shared between configure
24269 # scripts and configure runs, see configure's option --config-cache.
24270 # It is not useful on other systems. If it contains results you don't
24271 # want to keep, you may remove or edit it.
24272 #
24273 # config.status only pays attention to the cache file if you give it
24274 # the --recheck option to rerun configure.
24275 #
24276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24278 # following values.
24279
24280 _ACEOF
24281
24282 # The following way of writing the cache mishandles newlines in values,
24283 # but we know of no workaround that is simple, portable, and efficient.
24284 # So, don't put newlines in cache variables' values.
24285 # Ultrix sh set writes to stderr and can't be redirected directly,
24286 # and sets the high bit in the cache file unless we assign to the vars.
24287 {
24288 (set) 2>&1 |
24289 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24290 *ac_space=\ *)
24291 # `set' does not quote correctly, so add quotes (double-quote
24292 # substitution turns \\\\ into \\, and sed turns \\ into \).
24293 sed -n \
24294 "s/'/'\\\\''/g;
24295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24296 ;;
24297 *)
24298 # `set' quotes correctly as required by POSIX, so do not add quotes.
24299 sed -n \
24300 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24301 ;;
24302 esac;
24303 } |
24304 sed '
24305 t clear
24306 : clear
24307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24308 t end
24309 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24310 : end' >>confcache
24311 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24312 if test -w $cache_file; then
24313 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24314 cat confcache >$cache_file
24315 else
24316 echo "not updating unwritable cache $cache_file"
24317 fi
24318 fi
24319 rm -f confcache
24320
24321 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24322 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24323 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24324 if test "${wx_cv_lib_glibc21+set}" = set; then
24325 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 else
24327
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334 #include <features.h>
24335 int
24336 main ()
24337 {
24338
24339 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24340 not glibc 2.1
24341 #endif
24342
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 rm -f conftest.$ac_objext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24349 (eval $ac_compile) 2>conftest.er1
24350 ac_status=$?
24351 grep -v '^ *+' conftest.er1 >conftest.err
24352 rm -f conftest.er1
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } &&
24356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24358 (eval $ac_try) 2>&5
24359 ac_status=$?
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); }; } &&
24362 { ac_try='test -s conftest.$ac_objext'
24363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24364 (eval $ac_try) 2>&5
24365 ac_status=$?
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); }; }; then
24368
24369 wx_cv_lib_glibc21=yes
24370
24371 else
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24374
24375
24376 wx_cv_lib_glibc21=no
24377
24378
24379 fi
24380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24381
24382 fi
24383 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24384 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24385 if test "$wx_cv_lib_glibc21" = "yes"; then
24386 cat >>confdefs.h <<\_ACEOF
24387 #define wxHAVE_GLIBC2 1
24388 _ACEOF
24389
24390 fi
24391 fi
24392
24393 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24394 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24395 cat >>confdefs.h <<\_ACEOF
24396 #define _GNU_SOURCE 1
24397 _ACEOF
24398
24399 fi
24400 fi
24401
24402 have_cos=0
24403 have_floor=0
24404
24405 for ac_func in cos
24406 do
24407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24408 echo "$as_me:$LINENO: checking for $ac_func" >&5
24409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24410 if eval "test \"\${$as_ac_var+set}\" = set"; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 else
24413 cat >conftest.$ac_ext <<_ACEOF
24414 /* confdefs.h. */
24415 _ACEOF
24416 cat confdefs.h >>conftest.$ac_ext
24417 cat >>conftest.$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24421 #define $ac_func innocuous_$ac_func
24422
24423 /* System header to define __stub macros and hopefully few prototypes,
24424 which can conflict with char $ac_func (); below.
24425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24426 <limits.h> exists even on freestanding compilers. */
24427
24428 #ifdef __STDC__
24429 # include <limits.h>
24430 #else
24431 # include <assert.h>
24432 #endif
24433
24434 #undef $ac_func
24435
24436 /* Override any gcc2 internal prototype to avoid an error. */
24437 #ifdef __cplusplus
24438 extern "C"
24439 {
24440 #endif
24441 /* We use char because int might match the return type of a gcc2
24442 builtin and then its argument prototype would still apply. */
24443 char $ac_func ();
24444 /* The GNU C library defines this for functions which it implements
24445 to always fail with ENOSYS. Some functions are actually named
24446 something starting with __ and the normal name is an alias. */
24447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24448 choke me
24449 #else
24450 char (*f) () = $ac_func;
24451 #endif
24452 #ifdef __cplusplus
24453 }
24454 #endif
24455
24456 int
24457 main ()
24458 {
24459 return f != $ac_func;
24460 ;
24461 return 0;
24462 }
24463 _ACEOF
24464 rm -f conftest.$ac_objext conftest$ac_exeext
24465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24466 (eval $ac_link) 2>conftest.er1
24467 ac_status=$?
24468 grep -v '^ *+' conftest.er1 >conftest.err
24469 rm -f conftest.er1
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } &&
24473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24482 ac_status=$?
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 eval "$as_ac_var=yes"
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24489
24490 eval "$as_ac_var=no"
24491 fi
24492 rm -f conftest.err conftest.$ac_objext \
24493 conftest$ac_exeext conftest.$ac_ext
24494 fi
24495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24497 if test `eval echo '${'$as_ac_var'}'` = yes; then
24498 cat >>confdefs.h <<_ACEOF
24499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 _ACEOF
24501 have_cos=1
24502 fi
24503 done
24504
24505
24506 for ac_func in floor
24507 do
24508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 echo "$as_me:$LINENO: checking for $ac_func" >&5
24510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24511 if eval "test \"\${$as_ac_var+set}\" = set"; then
24512 echo $ECHO_N "(cached) $ECHO_C" >&6
24513 else
24514 cat >conftest.$ac_ext <<_ACEOF
24515 /* confdefs.h. */
24516 _ACEOF
24517 cat confdefs.h >>conftest.$ac_ext
24518 cat >>conftest.$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24522 #define $ac_func innocuous_$ac_func
24523
24524 /* System header to define __stub macros and hopefully few prototypes,
24525 which can conflict with char $ac_func (); below.
24526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24527 <limits.h> exists even on freestanding compilers. */
24528
24529 #ifdef __STDC__
24530 # include <limits.h>
24531 #else
24532 # include <assert.h>
24533 #endif
24534
24535 #undef $ac_func
24536
24537 /* Override any gcc2 internal prototype to avoid an error. */
24538 #ifdef __cplusplus
24539 extern "C"
24540 {
24541 #endif
24542 /* We use char because int might match the return type of a gcc2
24543 builtin and then its argument prototype would still apply. */
24544 char $ac_func ();
24545 /* The GNU C library defines this for functions which it implements
24546 to always fail with ENOSYS. Some functions are actually named
24547 something starting with __ and the normal name is an alias. */
24548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24549 choke me
24550 #else
24551 char (*f) () = $ac_func;
24552 #endif
24553 #ifdef __cplusplus
24554 }
24555 #endif
24556
24557 int
24558 main ()
24559 {
24560 return f != $ac_func;
24561 ;
24562 return 0;
24563 }
24564 _ACEOF
24565 rm -f conftest.$ac_objext conftest$ac_exeext
24566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24567 (eval $ac_link) 2>conftest.er1
24568 ac_status=$?
24569 grep -v '^ *+' conftest.er1 >conftest.err
24570 rm -f conftest.er1
24571 cat conftest.err >&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } &&
24574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24577 ac_status=$?
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; } &&
24580 { ac_try='test -s conftest$ac_exeext'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; }; then
24586 eval "$as_ac_var=yes"
24587 else
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24590
24591 eval "$as_ac_var=no"
24592 fi
24593 rm -f conftest.err conftest.$ac_objext \
24594 conftest$ac_exeext conftest.$ac_ext
24595 fi
24596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24598 if test `eval echo '${'$as_ac_var'}'` = yes; then
24599 cat >>confdefs.h <<_ACEOF
24600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24601 _ACEOF
24602 have_floor=1
24603 fi
24604 done
24605
24606 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24607 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24608 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24609 echo "$as_me:$LINENO: result: yes" >&5
24610 echo "${ECHO_T}yes" >&6
24611 else
24612 echo "$as_me:$LINENO: result: no" >&5
24613 echo "${ECHO_T}no" >&6
24614 LIBS="$LIBS -lm"
24615 # use different functions to avoid configure caching
24616 have_sin=0
24617 have_ceil=0
24618
24619 for ac_func in sin
24620 do
24621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24622 echo "$as_me:$LINENO: checking for $ac_func" >&5
24623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24624 if eval "test \"\${$as_ac_var+set}\" = set"; then
24625 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 else
24627 cat >conftest.$ac_ext <<_ACEOF
24628 /* confdefs.h. */
24629 _ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24635 #define $ac_func innocuous_$ac_func
24636
24637 /* System header to define __stub macros and hopefully few prototypes,
24638 which can conflict with char $ac_func (); below.
24639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24640 <limits.h> exists even on freestanding compilers. */
24641
24642 #ifdef __STDC__
24643 # include <limits.h>
24644 #else
24645 # include <assert.h>
24646 #endif
24647
24648 #undef $ac_func
24649
24650 /* Override any gcc2 internal prototype to avoid an error. */
24651 #ifdef __cplusplus
24652 extern "C"
24653 {
24654 #endif
24655 /* We use char because int might match the return type of a gcc2
24656 builtin and then its argument prototype would still apply. */
24657 char $ac_func ();
24658 /* The GNU C library defines this for functions which it implements
24659 to always fail with ENOSYS. Some functions are actually named
24660 something starting with __ and the normal name is an alias. */
24661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24662 choke me
24663 #else
24664 char (*f) () = $ac_func;
24665 #endif
24666 #ifdef __cplusplus
24667 }
24668 #endif
24669
24670 int
24671 main ()
24672 {
24673 return f != $ac_func;
24674 ;
24675 return 0;
24676 }
24677 _ACEOF
24678 rm -f conftest.$ac_objext conftest$ac_exeext
24679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24680 (eval $ac_link) 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } &&
24687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24690 ac_status=$?
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; } &&
24693 { ac_try='test -s conftest$ac_exeext'
24694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24695 (eval $ac_try) 2>&5
24696 ac_status=$?
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; }; then
24699 eval "$as_ac_var=yes"
24700 else
24701 echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24703
24704 eval "$as_ac_var=no"
24705 fi
24706 rm -f conftest.err conftest.$ac_objext \
24707 conftest$ac_exeext conftest.$ac_ext
24708 fi
24709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24711 if test `eval echo '${'$as_ac_var'}'` = yes; then
24712 cat >>confdefs.h <<_ACEOF
24713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24714 _ACEOF
24715 have_sin=1
24716 fi
24717 done
24718
24719
24720 for ac_func in ceil
24721 do
24722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24723 echo "$as_me:$LINENO: checking for $ac_func" >&5
24724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24725 if eval "test \"\${$as_ac_var+set}\" = set"; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 else
24728 cat >conftest.$ac_ext <<_ACEOF
24729 /* confdefs.h. */
24730 _ACEOF
24731 cat confdefs.h >>conftest.$ac_ext
24732 cat >>conftest.$ac_ext <<_ACEOF
24733 /* end confdefs.h. */
24734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24736 #define $ac_func innocuous_$ac_func
24737
24738 /* System header to define __stub macros and hopefully few prototypes,
24739 which can conflict with char $ac_func (); below.
24740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24741 <limits.h> exists even on freestanding compilers. */
24742
24743 #ifdef __STDC__
24744 # include <limits.h>
24745 #else
24746 # include <assert.h>
24747 #endif
24748
24749 #undef $ac_func
24750
24751 /* Override any gcc2 internal prototype to avoid an error. */
24752 #ifdef __cplusplus
24753 extern "C"
24754 {
24755 #endif
24756 /* We use char because int might match the return type of a gcc2
24757 builtin and then its argument prototype would still apply. */
24758 char $ac_func ();
24759 /* The GNU C library defines this for functions which it implements
24760 to always fail with ENOSYS. Some functions are actually named
24761 something starting with __ and the normal name is an alias. */
24762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24763 choke me
24764 #else
24765 char (*f) () = $ac_func;
24766 #endif
24767 #ifdef __cplusplus
24768 }
24769 #endif
24770
24771 int
24772 main ()
24773 {
24774 return f != $ac_func;
24775 ;
24776 return 0;
24777 }
24778 _ACEOF
24779 rm -f conftest.$ac_objext conftest$ac_exeext
24780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24781 (eval $ac_link) 2>conftest.er1
24782 ac_status=$?
24783 grep -v '^ *+' conftest.er1 >conftest.err
24784 rm -f conftest.er1
24785 cat conftest.err >&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } &&
24788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24791 ac_status=$?
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; } &&
24794 { ac_try='test -s conftest$ac_exeext'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24797 ac_status=$?
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; }; then
24800 eval "$as_ac_var=yes"
24801 else
24802 echo "$as_me: failed program was:" >&5
24803 sed 's/^/| /' conftest.$ac_ext >&5
24804
24805 eval "$as_ac_var=no"
24806 fi
24807 rm -f conftest.err conftest.$ac_objext \
24808 conftest$ac_exeext conftest.$ac_ext
24809 fi
24810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24812 if test `eval echo '${'$as_ac_var'}'` = yes; then
24813 cat >>confdefs.h <<_ACEOF
24814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24815 _ACEOF
24816 have_ceil=1
24817 fi
24818 done
24819
24820 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24821 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24822 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24823 echo "$as_me:$LINENO: result: yes" >&5
24824 echo "${ECHO_T}yes" >&6
24825 else
24826 echo "$as_me:$LINENO: result: no" >&5
24827 echo "${ECHO_T}no" >&6
24828 # not sure we should warn the user, crash, etc.
24829 fi
24830 fi
24831
24832 if test "wxUSE_UNICODE" = "yes"; then
24833
24834 for wx_func in wcstoull
24835 do
24836 echo "$as_me:$LINENO: checking for $wx_func" >&5
24837 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24838 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 else
24841
24842 cat >conftest.$ac_ext <<_ACEOF
24843
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850
24851 $ac_includes_default
24852
24853 int
24854 main ()
24855 {
24856
24857 #ifndef $wx_func
24858 &$wx_func;
24859 #endif
24860
24861
24862 ;
24863 return 0;
24864 }
24865
24866 _ACEOF
24867 rm -f conftest.$ac_objext conftest$ac_exeext
24868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24869 (eval $ac_link) 2>conftest.er1
24870 ac_status=$?
24871 grep -v '^ *+' conftest.er1 >conftest.err
24872 rm -f conftest.er1
24873 cat conftest.err >&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } &&
24876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
24882 { ac_try='test -s conftest$ac_exeext'
24883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24884 (eval $ac_try) 2>&5
24885 ac_status=$?
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); }; }; then
24888 eval wx_cv_func_$wx_func=yes
24889 else
24890 echo "$as_me: failed program was:" >&5
24891 sed 's/^/| /' conftest.$ac_ext >&5
24892
24893 eval wx_cv_func_$wx_func=no
24894 fi
24895 rm -f conftest.err conftest.$ac_objext \
24896 conftest$ac_exeext conftest.$ac_ext
24897
24898 fi
24899 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24900 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24901
24902 if eval test \$wx_cv_func_$wx_func = yes
24903 then
24904 cat >>confdefs.h <<_ACEOF
24905 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24906 _ACEOF
24907
24908
24909 else
24910 :
24911
24912 fi
24913 done
24914
24915 else
24916
24917 for wx_func in strtoull
24918 do
24919 echo "$as_me:$LINENO: checking for $wx_func" >&5
24920 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24921 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24922 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 else
24924
24925 cat >conftest.$ac_ext <<_ACEOF
24926
24927 /* confdefs.h. */
24928 _ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932
24933
24934 $ac_includes_default
24935
24936 int
24937 main ()
24938 {
24939
24940 #ifndef $wx_func
24941 &$wx_func;
24942 #endif
24943
24944
24945 ;
24946 return 0;
24947 }
24948
24949 _ACEOF
24950 rm -f conftest.$ac_objext conftest$ac_exeext
24951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24952 (eval $ac_link) 2>conftest.er1
24953 ac_status=$?
24954 grep -v '^ *+' conftest.er1 >conftest.err
24955 rm -f conftest.er1
24956 cat conftest.err >&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); } &&
24959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24962 ac_status=$?
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try='test -s conftest$ac_exeext'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24968 ac_status=$?
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 eval wx_cv_func_$wx_func=yes
24972 else
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.$ac_ext >&5
24975
24976 eval wx_cv_func_$wx_func=no
24977 fi
24978 rm -f conftest.err conftest.$ac_objext \
24979 conftest$ac_exeext conftest.$ac_ext
24980
24981 fi
24982 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24983 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24984
24985 if eval test \$wx_cv_func_$wx_func = yes
24986 then
24987 cat >>confdefs.h <<_ACEOF
24988 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24989 _ACEOF
24990
24991
24992 else
24993 :
24994
24995 fi
24996 done
24997
24998 fi
24999
25000
25001
25002 if test "$wxUSE_REGEX" != "no"; then
25003 cat >>confdefs.h <<\_ACEOF
25004 #define wxUSE_REGEX 1
25005 _ACEOF
25006
25007
25008 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25009 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25010 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25011 wxUSE_REGEX=builtin
25012 fi
25013
25014 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25015 if test "${ac_cv_header_regex_h+set}" = set; then
25016 echo "$as_me:$LINENO: checking for regex.h" >&5
25017 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25018 if test "${ac_cv_header_regex_h+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 fi
25021 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25022 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25023 else
25024 # Is the header compilable?
25025 echo "$as_me:$LINENO: checking regex.h usability" >&5
25026 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25027 cat >conftest.$ac_ext <<_ACEOF
25028 /* confdefs.h. */
25029 _ACEOF
25030 cat confdefs.h >>conftest.$ac_ext
25031 cat >>conftest.$ac_ext <<_ACEOF
25032 /* end confdefs.h. */
25033 $ac_includes_default
25034 #include <regex.h>
25035 _ACEOF
25036 rm -f conftest.$ac_objext
25037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25038 (eval $ac_compile) 2>conftest.er1
25039 ac_status=$?
25040 grep -v '^ *+' conftest.er1 >conftest.err
25041 rm -f conftest.er1
25042 cat conftest.err >&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); } &&
25045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25047 (eval $ac_try) 2>&5
25048 ac_status=$?
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); }; } &&
25051 { ac_try='test -s conftest.$ac_objext'
25052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25053 (eval $ac_try) 2>&5
25054 ac_status=$?
25055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25056 (exit $ac_status); }; }; then
25057 ac_header_compiler=yes
25058 else
25059 echo "$as_me: failed program was:" >&5
25060 sed 's/^/| /' conftest.$ac_ext >&5
25061
25062 ac_header_compiler=no
25063 fi
25064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25066 echo "${ECHO_T}$ac_header_compiler" >&6
25067
25068 # Is the header present?
25069 echo "$as_me:$LINENO: checking regex.h presence" >&5
25070 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077 #include <regex.h>
25078 _ACEOF
25079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25081 ac_status=$?
25082 grep -v '^ *+' conftest.er1 >conftest.err
25083 rm -f conftest.er1
25084 cat conftest.err >&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } >/dev/null; then
25087 if test -s conftest.err; then
25088 ac_cpp_err=$ac_c_preproc_warn_flag
25089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25090 else
25091 ac_cpp_err=
25092 fi
25093 else
25094 ac_cpp_err=yes
25095 fi
25096 if test -z "$ac_cpp_err"; then
25097 ac_header_preproc=yes
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25101
25102 ac_header_preproc=no
25103 fi
25104 rm -f conftest.err conftest.$ac_ext
25105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25106 echo "${ECHO_T}$ac_header_preproc" >&6
25107
25108 # So? What about this header?
25109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25110 yes:no: )
25111 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25112 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25113 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25114 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25115 ac_header_preproc=yes
25116 ;;
25117 no:yes:* )
25118 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25119 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25120 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25121 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25123 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25125 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25127 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25128 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25129 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25130 (
25131 cat <<\_ASBOX
25132 ## ----------------------------------------- ##
25133 ## Report this to wx-dev@lists.wxwidgets.org ##
25134 ## ----------------------------------------- ##
25135 _ASBOX
25136 ) |
25137 sed "s/^/$as_me: WARNING: /" >&2
25138 ;;
25139 esac
25140 echo "$as_me:$LINENO: checking for regex.h" >&5
25141 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25142 if test "${ac_cv_header_regex_h+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25144 else
25145 ac_cv_header_regex_h=$ac_header_preproc
25146 fi
25147 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25148 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25149
25150 fi
25151 if test $ac_cv_header_regex_h = yes; then
25152
25153
25154 for ac_func in regcomp re_search
25155 do
25156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25157 echo "$as_me:$LINENO: checking for $ac_func" >&5
25158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25159 if eval "test \"\${$as_ac_var+set}\" = set"; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25161 else
25162 cat >conftest.$ac_ext <<_ACEOF
25163 /* confdefs.h. */
25164 _ACEOF
25165 cat confdefs.h >>conftest.$ac_ext
25166 cat >>conftest.$ac_ext <<_ACEOF
25167 /* end confdefs.h. */
25168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25170 #define $ac_func innocuous_$ac_func
25171
25172 /* System header to define __stub macros and hopefully few prototypes,
25173 which can conflict with char $ac_func (); below.
25174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25175 <limits.h> exists even on freestanding compilers. */
25176
25177 #ifdef __STDC__
25178 # include <limits.h>
25179 #else
25180 # include <assert.h>
25181 #endif
25182
25183 #undef $ac_func
25184
25185 /* Override any gcc2 internal prototype to avoid an error. */
25186 #ifdef __cplusplus
25187 extern "C"
25188 {
25189 #endif
25190 /* We use char because int might match the return type of a gcc2
25191 builtin and then its argument prototype would still apply. */
25192 char $ac_func ();
25193 /* The GNU C library defines this for functions which it implements
25194 to always fail with ENOSYS. Some functions are actually named
25195 something starting with __ and the normal name is an alias. */
25196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25197 choke me
25198 #else
25199 char (*f) () = $ac_func;
25200 #endif
25201 #ifdef __cplusplus
25202 }
25203 #endif
25204
25205 int
25206 main ()
25207 {
25208 return f != $ac_func;
25209 ;
25210 return 0;
25211 }
25212 _ACEOF
25213 rm -f conftest.$ac_objext conftest$ac_exeext
25214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25215 (eval $ac_link) 2>conftest.er1
25216 ac_status=$?
25217 grep -v '^ *+' conftest.er1 >conftest.err
25218 rm -f conftest.er1
25219 cat conftest.err >&5
25220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25221 (exit $ac_status); } &&
25222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25224 (eval $ac_try) 2>&5
25225 ac_status=$?
25226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25227 (exit $ac_status); }; } &&
25228 { ac_try='test -s conftest$ac_exeext'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25231 ac_status=$?
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; }; then
25234 eval "$as_ac_var=yes"
25235 else
25236 echo "$as_me: failed program was:" >&5
25237 sed 's/^/| /' conftest.$ac_ext >&5
25238
25239 eval "$as_ac_var=no"
25240 fi
25241 rm -f conftest.err conftest.$ac_objext \
25242 conftest$ac_exeext conftest.$ac_ext
25243 fi
25244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25246 if test `eval echo '${'$as_ac_var'}'` = yes; then
25247 cat >>confdefs.h <<_ACEOF
25248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25249 _ACEOF
25250
25251 fi
25252 done
25253
25254 fi
25255
25256
25257
25258 if test "x$ac_cv_func_regcomp" != "xyes"; then
25259 if test "$wxUSE_REGEX" = "sys" ; then
25260 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25261 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25262 { (exit 1); exit 1; }; }
25263 else
25264 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25265 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25266 wxUSE_REGEX=builtin
25267 fi
25268 else
25269 wxUSE_REGEX=sys
25270 cat >>confdefs.h <<\_ACEOF
25271 #define WX_NO_REGEX_ADVANCED 1
25272 _ACEOF
25273
25274 fi
25275 fi
25276 fi
25277
25278
25279 ZLIB_LINK=
25280 if test "$wxUSE_ZLIB" != "no" ; then
25281 cat >>confdefs.h <<\_ACEOF
25282 #define wxUSE_ZLIB 1
25283 _ACEOF
25284
25285
25286 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25287 if test "$USE_DARWIN" = 1; then
25288 system_zlib_h_ok="yes"
25289 else
25290 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25291 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25292 if test "${ac_cv_header_zlib_h+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 else
25295 if test "$cross_compiling" = yes; then
25296 unset ac_cv_header_zlib_h
25297
25298 else
25299 cat >conftest.$ac_ext <<_ACEOF
25300 /* confdefs.h. */
25301 _ACEOF
25302 cat confdefs.h >>conftest.$ac_ext
25303 cat >>conftest.$ac_ext <<_ACEOF
25304 /* end confdefs.h. */
25305
25306 #include <zlib.h>
25307 #include <stdio.h>
25308
25309 int main()
25310 {
25311 FILE *f=fopen("conftestval", "w");
25312 if (!f) exit(1);
25313 fprintf(f, "%s",
25314 ZLIB_VERSION[0] == '1' &&
25315 (ZLIB_VERSION[2] > '1' ||
25316 (ZLIB_VERSION[2] == '1' &&
25317 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25318 exit(0);
25319 }
25320
25321 _ACEOF
25322 rm -f conftest$ac_exeext
25323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25324 (eval $ac_link) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; }; then
25333 ac_cv_header_zlib_h=`cat conftestval`
25334 else
25335 echo "$as_me: program exited with status $ac_status" >&5
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 ( exit $ac_status )
25340 ac_cv_header_zlib_h=no
25341 fi
25342 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25343 fi
25344
25345 fi
25346 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25347 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25348 if test "${ac_cv_header_zlib_h+set}" = set; then
25349 echo "$as_me:$LINENO: checking for zlib.h" >&5
25350 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25351 if test "${ac_cv_header_zlib_h+set}" = set; then
25352 echo $ECHO_N "(cached) $ECHO_C" >&6
25353 fi
25354 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25355 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25356 else
25357 # Is the header compilable?
25358 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25359 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25360 cat >conftest.$ac_ext <<_ACEOF
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 $ac_includes_default
25367 #include <zlib.h>
25368 _ACEOF
25369 rm -f conftest.$ac_objext
25370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25371 (eval $ac_compile) 2>conftest.er1
25372 ac_status=$?
25373 grep -v '^ *+' conftest.er1 >conftest.err
25374 rm -f conftest.er1
25375 cat conftest.err >&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); } &&
25378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25380 (eval $ac_try) 2>&5
25381 ac_status=$?
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; } &&
25384 { ac_try='test -s conftest.$ac_objext'
25385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386 (eval $ac_try) 2>&5
25387 ac_status=$?
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); }; }; then
25390 ac_header_compiler=yes
25391 else
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25394
25395 ac_header_compiler=no
25396 fi
25397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25398 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25399 echo "${ECHO_T}$ac_header_compiler" >&6
25400
25401 # Is the header present?
25402 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25403 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25404 cat >conftest.$ac_ext <<_ACEOF
25405 /* confdefs.h. */
25406 _ACEOF
25407 cat confdefs.h >>conftest.$ac_ext
25408 cat >>conftest.$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410 #include <zlib.h>
25411 _ACEOF
25412 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25413 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25414 ac_status=$?
25415 grep -v '^ *+' conftest.er1 >conftest.err
25416 rm -f conftest.er1
25417 cat conftest.err >&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } >/dev/null; then
25420 if test -s conftest.err; then
25421 ac_cpp_err=$ac_c_preproc_warn_flag
25422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25423 else
25424 ac_cpp_err=
25425 fi
25426 else
25427 ac_cpp_err=yes
25428 fi
25429 if test -z "$ac_cpp_err"; then
25430 ac_header_preproc=yes
25431 else
25432 echo "$as_me: failed program was:" >&5
25433 sed 's/^/| /' conftest.$ac_ext >&5
25434
25435 ac_header_preproc=no
25436 fi
25437 rm -f conftest.err conftest.$ac_ext
25438 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25439 echo "${ECHO_T}$ac_header_preproc" >&6
25440
25441 # So? What about this header?
25442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25443 yes:no: )
25444 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25445 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25446 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25447 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25448 ac_header_preproc=yes
25449 ;;
25450 no:yes:* )
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25452 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25453 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25454 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25455 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25456 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25458 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25460 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25462 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25463 (
25464 cat <<\_ASBOX
25465 ## ----------------------------------------- ##
25466 ## Report this to wx-dev@lists.wxwidgets.org ##
25467 ## ----------------------------------------- ##
25468 _ASBOX
25469 ) |
25470 sed "s/^/$as_me: WARNING: /" >&2
25471 ;;
25472 esac
25473 echo "$as_me:$LINENO: checking for zlib.h" >&5
25474 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25475 if test "${ac_cv_header_zlib_h+set}" = set; then
25476 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 else
25478 ac_cv_header_zlib_h=$ac_header_preproc
25479 fi
25480 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25481 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25482
25483 fi
25484
25485
25486
25487 system_zlib_h_ok=$ac_cv_header_zlib_h
25488 fi
25489
25490 if test "$system_zlib_h_ok" = "yes"; then
25491 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25492 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25493 if test "${ac_cv_lib_z_deflate+set}" = set; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496 ac_check_lib_save_LIBS=$LIBS
25497 LIBS="-lz $LIBS"
25498 cat >conftest.$ac_ext <<_ACEOF
25499 /* confdefs.h. */
25500 _ACEOF
25501 cat confdefs.h >>conftest.$ac_ext
25502 cat >>conftest.$ac_ext <<_ACEOF
25503 /* end confdefs.h. */
25504
25505 /* Override any gcc2 internal prototype to avoid an error. */
25506 #ifdef __cplusplus
25507 extern "C"
25508 #endif
25509 /* We use char because int might match the return type of a gcc2
25510 builtin and then its argument prototype would still apply. */
25511 char deflate ();
25512 int
25513 main ()
25514 {
25515 deflate ();
25516 ;
25517 return 0;
25518 }
25519 _ACEOF
25520 rm -f conftest.$ac_objext conftest$ac_exeext
25521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25522 (eval $ac_link) 2>conftest.er1
25523 ac_status=$?
25524 grep -v '^ *+' conftest.er1 >conftest.err
25525 rm -f conftest.er1
25526 cat conftest.err >&5
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); } &&
25529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25531 (eval $ac_try) 2>&5
25532 ac_status=$?
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); }; } &&
25535 { ac_try='test -s conftest$ac_exeext'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25538 ac_status=$?
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; }; then
25541 ac_cv_lib_z_deflate=yes
25542 else
25543 echo "$as_me: failed program was:" >&5
25544 sed 's/^/| /' conftest.$ac_ext >&5
25545
25546 ac_cv_lib_z_deflate=no
25547 fi
25548 rm -f conftest.err conftest.$ac_objext \
25549 conftest$ac_exeext conftest.$ac_ext
25550 LIBS=$ac_check_lib_save_LIBS
25551 fi
25552 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25553 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25554 if test $ac_cv_lib_z_deflate = yes; then
25555 ZLIB_LINK=" -lz"
25556 fi
25557
25558 fi
25559
25560 if test "x$ZLIB_LINK" = "x" ; then
25561 if test "$wxUSE_ZLIB" = "sys" ; then
25562 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25563 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25564 { (exit 1); exit 1; }; }
25565 else
25566 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25567 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25568 wxUSE_ZLIB=builtin
25569 fi
25570 else
25571 wxUSE_ZLIB=sys
25572 fi
25573 fi
25574 fi
25575
25576
25577 PNG_LINK=
25578 if test "$wxUSE_LIBPNG" != "no" ; then
25579 cat >>confdefs.h <<\_ACEOF
25580 #define wxUSE_LIBPNG 1
25581 _ACEOF
25582
25583
25584 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25585 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25586 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25587 wxUSE_LIBPNG=sys
25588 fi
25589
25590 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25591 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25592 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25593 wxUSE_LIBPNG=builtin
25594 fi
25595
25596 if test "$wxUSE_MGL" != 1 ; then
25597 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25598 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25599 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25600 if test "${ac_cv_header_png_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 else
25603 if test "$cross_compiling" = yes; then
25604 unset ac_cv_header_png_h
25605
25606 else
25607 cat >conftest.$ac_ext <<_ACEOF
25608 /* confdefs.h. */
25609 _ACEOF
25610 cat confdefs.h >>conftest.$ac_ext
25611 cat >>conftest.$ac_ext <<_ACEOF
25612 /* end confdefs.h. */
25613
25614 #include <png.h>
25615 #include <stdio.h>
25616
25617 int main()
25618 {
25619 FILE *f=fopen("conftestval", "w");
25620 if (!f) exit(1);
25621 fprintf(f, "%s",
25622 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25623 exit(0);
25624 }
25625
25626 _ACEOF
25627 rm -f conftest$ac_exeext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25629 (eval $ac_link) 2>&5
25630 ac_status=$?
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; }; then
25638 ac_cv_header_png_h=`cat conftestval`
25639 else
25640 echo "$as_me: program exited with status $ac_status" >&5
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.$ac_ext >&5
25643
25644 ( exit $ac_status )
25645 ac_cv_header_png_h=no
25646 fi
25647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25648 fi
25649
25650 fi
25651 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25652 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25653 if test "${ac_cv_header_png_h+set}" = set; then
25654 echo "$as_me:$LINENO: checking for png.h" >&5
25655 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25656 if test "${ac_cv_header_png_h+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 fi
25659 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25660 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25661 else
25662 # Is the header compilable?
25663 echo "$as_me:$LINENO: checking png.h usability" >&5
25664 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25665 cat >conftest.$ac_ext <<_ACEOF
25666 /* confdefs.h. */
25667 _ACEOF
25668 cat confdefs.h >>conftest.$ac_ext
25669 cat >>conftest.$ac_ext <<_ACEOF
25670 /* end confdefs.h. */
25671 $ac_includes_default
25672 #include <png.h>
25673 _ACEOF
25674 rm -f conftest.$ac_objext
25675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25676 (eval $ac_compile) 2>conftest.er1
25677 ac_status=$?
25678 grep -v '^ *+' conftest.er1 >conftest.err
25679 rm -f conftest.er1
25680 cat conftest.err >&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); } &&
25683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25685 (eval $ac_try) 2>&5
25686 ac_status=$?
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); }; } &&
25689 { ac_try='test -s conftest.$ac_objext'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25692 ac_status=$?
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; }; then
25695 ac_header_compiler=yes
25696 else
25697 echo "$as_me: failed program was:" >&5
25698 sed 's/^/| /' conftest.$ac_ext >&5
25699
25700 ac_header_compiler=no
25701 fi
25702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25704 echo "${ECHO_T}$ac_header_compiler" >&6
25705
25706 # Is the header present?
25707 echo "$as_me:$LINENO: checking png.h presence" >&5
25708 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25709 cat >conftest.$ac_ext <<_ACEOF
25710 /* confdefs.h. */
25711 _ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25715 #include <png.h>
25716 _ACEOF
25717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25719 ac_status=$?
25720 grep -v '^ *+' conftest.er1 >conftest.err
25721 rm -f conftest.er1
25722 cat conftest.err >&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } >/dev/null; then
25725 if test -s conftest.err; then
25726 ac_cpp_err=$ac_c_preproc_warn_flag
25727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25728 else
25729 ac_cpp_err=
25730 fi
25731 else
25732 ac_cpp_err=yes
25733 fi
25734 if test -z "$ac_cpp_err"; then
25735 ac_header_preproc=yes
25736 else
25737 echo "$as_me: failed program was:" >&5
25738 sed 's/^/| /' conftest.$ac_ext >&5
25739
25740 ac_header_preproc=no
25741 fi
25742 rm -f conftest.err conftest.$ac_ext
25743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25744 echo "${ECHO_T}$ac_header_preproc" >&6
25745
25746 # So? What about this header?
25747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25748 yes:no: )
25749 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25750 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25751 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25752 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25753 ac_header_preproc=yes
25754 ;;
25755 no:yes:* )
25756 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25757 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25758 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25759 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25760 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25761 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25762 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25763 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25765 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25766 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25767 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25768 (
25769 cat <<\_ASBOX
25770 ## ----------------------------------------- ##
25771 ## Report this to wx-dev@lists.wxwidgets.org ##
25772 ## ----------------------------------------- ##
25773 _ASBOX
25774 ) |
25775 sed "s/^/$as_me: WARNING: /" >&2
25776 ;;
25777 esac
25778 echo "$as_me:$LINENO: checking for png.h" >&5
25779 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25780 if test "${ac_cv_header_png_h+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25782 else
25783 ac_cv_header_png_h=$ac_header_preproc
25784 fi
25785 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25786 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25787
25788 fi
25789
25790
25791
25792 if test "$ac_cv_header_png_h" = "yes"; then
25793 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25794 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25795 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798 ac_check_lib_save_LIBS=$LIBS
25799 LIBS="-lpng -lz -lm $LIBS"
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806
25807 /* Override any gcc2 internal prototype to avoid an error. */
25808 #ifdef __cplusplus
25809 extern "C"
25810 #endif
25811 /* We use char because int might match the return type of a gcc2
25812 builtin and then its argument prototype would still apply. */
25813 char png_check_sig ();
25814 int
25815 main ()
25816 {
25817 png_check_sig ();
25818 ;
25819 return 0;
25820 }
25821 _ACEOF
25822 rm -f conftest.$ac_objext conftest$ac_exeext
25823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25824 (eval $ac_link) 2>conftest.er1
25825 ac_status=$?
25826 grep -v '^ *+' conftest.er1 >conftest.err
25827 rm -f conftest.er1
25828 cat conftest.err >&5
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25834 ac_status=$?
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; } &&
25837 { ac_try='test -s conftest$ac_exeext'
25838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25839 (eval $ac_try) 2>&5
25840 ac_status=$?
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); }; }; then
25843 ac_cv_lib_png_png_check_sig=yes
25844 else
25845 echo "$as_me: failed program was:" >&5
25846 sed 's/^/| /' conftest.$ac_ext >&5
25847
25848 ac_cv_lib_png_png_check_sig=no
25849 fi
25850 rm -f conftest.err conftest.$ac_objext \
25851 conftest$ac_exeext conftest.$ac_ext
25852 LIBS=$ac_check_lib_save_LIBS
25853 fi
25854 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25855 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25856 if test $ac_cv_lib_png_png_check_sig = yes; then
25857 PNG_LINK=" -lpng -lz"
25858 fi
25859
25860 fi
25861
25862 if test "x$PNG_LINK" = "x" ; then
25863 if test "$wxUSE_LIBPNG" = "sys" ; then
25864 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25865 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25866 { (exit 1); exit 1; }; }
25867 else
25868 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25869 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25870 wxUSE_LIBPNG=builtin
25871 fi
25872 else
25873 wxUSE_LIBPNG=sys
25874 fi
25875 fi
25876 fi
25877
25878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25879 fi
25880
25881
25882 JPEG_LINK=
25883 if test "$wxUSE_LIBJPEG" != "no" ; then
25884 cat >>confdefs.h <<\_ACEOF
25885 #define wxUSE_LIBJPEG 1
25886 _ACEOF
25887
25888
25889 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25890 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25891 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25892 wxUSE_LIBJPEG=sys
25893 fi
25894
25895 if test "$wxUSE_MGL" != 1 ; then
25896 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25897 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25898 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25899 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902 cat >conftest.$ac_ext <<_ACEOF
25903 /* confdefs.h. */
25904 _ACEOF
25905 cat confdefs.h >>conftest.$ac_ext
25906 cat >>conftest.$ac_ext <<_ACEOF
25907 /* end confdefs.h. */
25908
25909 #undef HAVE_STDLIB_H
25910 #include <stdio.h>
25911 #include <jpeglib.h>
25912
25913 int
25914 main ()
25915 {
25916
25917
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext
25923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25924 (eval $ac_compile) 2>conftest.er1
25925 ac_status=$?
25926 grep -v '^ *+' conftest.er1 >conftest.err
25927 rm -f conftest.er1
25928 cat conftest.err >&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); } &&
25931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25933 (eval $ac_try) 2>&5
25934 ac_status=$?
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); }; } &&
25937 { ac_try='test -s conftest.$ac_objext'
25938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25939 (eval $ac_try) 2>&5
25940 ac_status=$?
25941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942 (exit $ac_status); }; }; then
25943 ac_cv_header_jpeglib_h=yes
25944 else
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25947
25948 ac_cv_header_jpeglib_h=no
25949
25950 fi
25951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25952
25953 fi
25954
25955 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25956 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25957
25958 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25959 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25960 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25961 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 else
25964 ac_check_lib_save_LIBS=$LIBS
25965 LIBS="-ljpeg $LIBS"
25966 cat >conftest.$ac_ext <<_ACEOF
25967 /* confdefs.h. */
25968 _ACEOF
25969 cat confdefs.h >>conftest.$ac_ext
25970 cat >>conftest.$ac_ext <<_ACEOF
25971 /* end confdefs.h. */
25972
25973 /* Override any gcc2 internal prototype to avoid an error. */
25974 #ifdef __cplusplus
25975 extern "C"
25976 #endif
25977 /* We use char because int might match the return type of a gcc2
25978 builtin and then its argument prototype would still apply. */
25979 char jpeg_read_header ();
25980 int
25981 main ()
25982 {
25983 jpeg_read_header ();
25984 ;
25985 return 0;
25986 }
25987 _ACEOF
25988 rm -f conftest.$ac_objext conftest$ac_exeext
25989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25990 (eval $ac_link) 2>conftest.er1
25991 ac_status=$?
25992 grep -v '^ *+' conftest.er1 >conftest.err
25993 rm -f conftest.er1
25994 cat conftest.err >&5
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); } &&
25997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26000 ac_status=$?
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; } &&
26003 { ac_try='test -s conftest$ac_exeext'
26004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005 (eval $ac_try) 2>&5
26006 ac_status=$?
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 ac_cv_lib_jpeg_jpeg_read_header=yes
26010 else
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26013
26014 ac_cv_lib_jpeg_jpeg_read_header=no
26015 fi
26016 rm -f conftest.err conftest.$ac_objext \
26017 conftest$ac_exeext conftest.$ac_ext
26018 LIBS=$ac_check_lib_save_LIBS
26019 fi
26020 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26021 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26022 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26023 JPEG_LINK=" -ljpeg"
26024 fi
26025
26026 fi
26027
26028 if test "x$JPEG_LINK" = "x" ; then
26029 if test "$wxUSE_LIBJPEG" = "sys" ; then
26030 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26031 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26032 { (exit 1); exit 1; }; }
26033 else
26034 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26035 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26036 wxUSE_LIBJPEG=builtin
26037 fi
26038 else
26039 wxUSE_LIBJPEG=sys
26040
26041 if test "$wxUSE_MSW" = 1; then
26042 echo "$as_me:$LINENO: checking for boolean" >&5
26043 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26044 if test "${ac_cv_type_boolean+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 cat >conftest.$ac_ext <<_ACEOF
26048 /* confdefs.h. */
26049 _ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053 #include <windows.h>
26054
26055 int
26056 main ()
26057 {
26058 if ((boolean *) 0)
26059 return 0;
26060 if (sizeof (boolean))
26061 return 0;
26062 ;
26063 return 0;
26064 }
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26068 (eval $ac_compile) 2>conftest.er1
26069 ac_status=$?
26070 grep -v '^ *+' conftest.er1 >conftest.err
26071 rm -f conftest.er1
26072 cat conftest.err >&5
26073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074 (exit $ac_status); } &&
26075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26077 (eval $ac_try) 2>&5
26078 ac_status=$?
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); }; } &&
26081 { ac_try='test -s conftest.$ac_objext'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; }; then
26087 ac_cv_type_boolean=yes
26088 else
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.$ac_ext >&5
26091
26092 ac_cv_type_boolean=no
26093 fi
26094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26095 fi
26096 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26097 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26098 if test $ac_cv_type_boolean = yes; then
26099
26100 cat >>confdefs.h <<_ACEOF
26101 #define HAVE_BOOLEAN 1
26102 _ACEOF
26103
26104
26105 echo "$as_me:$LINENO: checking for boolean" >&5
26106 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26107 if test "${ac_cv_type_boolean+set}" = set; then
26108 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 else
26110 cat >conftest.$ac_ext <<_ACEOF
26111 /* confdefs.h. */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116
26117 #undef HAVE_BOOLEAN
26118 #include <stdio.h>
26119 #include <jpeglib.h>
26120
26121
26122 int
26123 main ()
26124 {
26125 if ((boolean *) 0)
26126 return 0;
26127 if (sizeof (boolean))
26128 return 0;
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext
26134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26135 (eval $ac_compile) 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } &&
26142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26144 (eval $ac_try) 2>&5
26145 ac_status=$?
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); }; } &&
26148 { ac_try='test -s conftest.$ac_objext'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26151 ac_status=$?
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; }; then
26154 ac_cv_type_boolean=yes
26155 else
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.$ac_ext >&5
26158
26159 ac_cv_type_boolean=no
26160 fi
26161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26162 fi
26163 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26164 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26165
26166 echo "$as_me:$LINENO: checking size of boolean" >&5
26167 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
26168 if test "${ac_cv_sizeof_boolean+set}" = set; then
26169 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 else
26171 if test "$ac_cv_type_boolean" = yes; then
26172 # The cast to unsigned long works around a bug in the HP C Compiler
26173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26175 # This bug is HP SR number 8606223364.
26176 if test "$cross_compiling" = yes; then
26177 # Depending upon the size, compute the lo and hi bounds.
26178 cat >conftest.$ac_ext <<_ACEOF
26179 /* confdefs.h. */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184
26185 #undef HAVE_BOOLEAN
26186 #include <stdio.h>
26187 #include <jpeglib.h>
26188
26189
26190 int
26191 main ()
26192 {
26193 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
26194 test_array [0] = 0
26195
26196 ;
26197 return 0;
26198 }
26199 _ACEOF
26200 rm -f conftest.$ac_objext
26201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26202 (eval $ac_compile) 2>conftest.er1
26203 ac_status=$?
26204 grep -v '^ *+' conftest.er1 >conftest.err
26205 rm -f conftest.er1
26206 cat conftest.err >&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; } &&
26215 { ac_try='test -s conftest.$ac_objext'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26218 ac_status=$?
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 ac_lo=0 ac_mid=0
26222 while :; do
26223 cat >conftest.$ac_ext <<_ACEOF
26224 /* confdefs.h. */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26229
26230 #undef HAVE_BOOLEAN
26231 #include <stdio.h>
26232 #include <jpeglib.h>
26233
26234
26235 int
26236 main ()
26237 {
26238 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26239 test_array [0] = 0
26240
26241 ;
26242 return 0;
26243 }
26244 _ACEOF
26245 rm -f conftest.$ac_objext
26246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26247 (eval $ac_compile) 2>conftest.er1
26248 ac_status=$?
26249 grep -v '^ *+' conftest.er1 >conftest.err
26250 rm -f conftest.er1
26251 cat conftest.err >&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); } &&
26254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; } &&
26260 { ac_try='test -s conftest.$ac_objext'
26261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262 (eval $ac_try) 2>&5
26263 ac_status=$?
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); }; }; then
26266 ac_hi=$ac_mid; break
26267 else
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26270
26271 ac_lo=`expr $ac_mid + 1`
26272 if test $ac_lo -le $ac_mid; then
26273 ac_lo= ac_hi=
26274 break
26275 fi
26276 ac_mid=`expr 2 '*' $ac_mid + 1`
26277 fi
26278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26279 done
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290
26291 #undef HAVE_BOOLEAN
26292 #include <stdio.h>
26293 #include <jpeglib.h>
26294
26295
26296 int
26297 main ()
26298 {
26299 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
26300 test_array [0] = 0
26301
26302 ;
26303 return 0;
26304 }
26305 _ACEOF
26306 rm -f conftest.$ac_objext
26307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26308 (eval $ac_compile) 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } &&
26315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; } &&
26321 { ac_try='test -s conftest.$ac_objext'
26322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26323 (eval $ac_try) 2>&5
26324 ac_status=$?
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); }; }; then
26327 ac_hi=-1 ac_mid=-1
26328 while :; do
26329 cat >conftest.$ac_ext <<_ACEOF
26330 /* confdefs.h. */
26331 _ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26335
26336 #undef HAVE_BOOLEAN
26337 #include <stdio.h>
26338 #include <jpeglib.h>
26339
26340
26341 int
26342 main ()
26343 {
26344 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
26345 test_array [0] = 0
26346
26347 ;
26348 return 0;
26349 }
26350 _ACEOF
26351 rm -f conftest.$ac_objext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26353 (eval $ac_compile) 2>conftest.er1
26354 ac_status=$?
26355 grep -v '^ *+' conftest.er1 >conftest.err
26356 rm -f conftest.er1
26357 cat conftest.err >&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } &&
26360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26362 (eval $ac_try) 2>&5
26363 ac_status=$?
26364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365 (exit $ac_status); }; } &&
26366 { ac_try='test -s conftest.$ac_objext'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26369 ac_status=$?
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; }; then
26372 ac_lo=$ac_mid; break
26373 else
26374 echo "$as_me: failed program was:" >&5
26375 sed 's/^/| /' conftest.$ac_ext >&5
26376
26377 ac_hi=`expr '(' $ac_mid ')' - 1`
26378 if test $ac_mid -le $ac_hi; then
26379 ac_lo= ac_hi=
26380 break
26381 fi
26382 ac_mid=`expr 2 '*' $ac_mid`
26383 fi
26384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26385 done
26386 else
26387 echo "$as_me: failed program was:" >&5
26388 sed 's/^/| /' conftest.$ac_ext >&5
26389
26390 ac_lo= ac_hi=
26391 fi
26392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26393 fi
26394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26395 # Binary search between lo and hi bounds.
26396 while test "x$ac_lo" != "x$ac_hi"; do
26397 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26398 cat >conftest.$ac_ext <<_ACEOF
26399 /* confdefs.h. */
26400 _ACEOF
26401 cat confdefs.h >>conftest.$ac_ext
26402 cat >>conftest.$ac_ext <<_ACEOF
26403 /* end confdefs.h. */
26404
26405 #undef HAVE_BOOLEAN
26406 #include <stdio.h>
26407 #include <jpeglib.h>
26408
26409
26410 int
26411 main ()
26412 {
26413 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26414 test_array [0] = 0
26415
26416 ;
26417 return 0;
26418 }
26419 _ACEOF
26420 rm -f conftest.$ac_objext
26421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26422 (eval $ac_compile) 2>conftest.er1
26423 ac_status=$?
26424 grep -v '^ *+' conftest.er1 >conftest.err
26425 rm -f conftest.er1
26426 cat conftest.err >&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); } &&
26429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431 (eval $ac_try) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); }; } &&
26435 { ac_try='test -s conftest.$ac_objext'
26436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437 (eval $ac_try) 2>&5
26438 ac_status=$?
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); }; }; then
26441 ac_hi=$ac_mid
26442 else
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 ac_lo=`expr '(' $ac_mid ')' + 1`
26447 fi
26448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26449 done
26450 case $ac_lo in
26451 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26452 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26453 See \`config.log' for more details." >&5
26454 echo "$as_me: error: cannot compute sizeof (boolean), 77
26455 See \`config.log' for more details." >&2;}
26456 { (exit 1); exit 1; }; } ;;
26457 esac
26458 else
26459 if test "$cross_compiling" = yes; then
26460 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26461 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26462 { (exit 1); exit 1; }; }
26463 else
26464 cat >conftest.$ac_ext <<_ACEOF
26465 /* confdefs.h. */
26466 _ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26470
26471 #undef HAVE_BOOLEAN
26472 #include <stdio.h>
26473 #include <jpeglib.h>
26474
26475
26476 long longval () { return (long) (sizeof (boolean)); }
26477 unsigned long ulongval () { return (long) (sizeof (boolean)); }
26478 #include <stdio.h>
26479 #include <stdlib.h>
26480 int
26481 main ()
26482 {
26483
26484 FILE *f = fopen ("conftest.val", "w");
26485 if (! f)
26486 exit (1);
26487 if (((long) (sizeof (boolean))) < 0)
26488 {
26489 long i = longval ();
26490 if (i != ((long) (sizeof (boolean))))
26491 exit (1);
26492 fprintf (f, "%ld\n", i);
26493 }
26494 else
26495 {
26496 unsigned long i = ulongval ();
26497 if (i != ((long) (sizeof (boolean))))
26498 exit (1);
26499 fprintf (f, "%lu\n", i);
26500 }
26501 exit (ferror (f) || fclose (f) != 0);
26502
26503 ;
26504 return 0;
26505 }
26506 _ACEOF
26507 rm -f conftest$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509 (eval $ac_link) 2>&5
26510 ac_status=$?
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_sizeof_boolean=`cat conftest.val`
26519 else
26520 echo "$as_me: program exited with status $ac_status" >&5
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ( exit $ac_status )
26525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26526 See \`config.log' for more details." >&5
26527 echo "$as_me: error: cannot compute sizeof (boolean), 77
26528 See \`config.log' for more details." >&2;}
26529 { (exit 1); exit 1; }; }
26530 fi
26531 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26532 fi
26533 fi
26534 rm -f conftest.val
26535 else
26536 ac_cv_sizeof_boolean=0
26537 fi
26538 fi
26539 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26540 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
26541 cat >>confdefs.h <<_ACEOF
26542 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26543 _ACEOF
26544
26545
26546 cat >>confdefs.h <<_ACEOF
26547 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26548 _ACEOF
26549
26550
26551 fi
26552
26553 fi
26554 fi
26555 fi
26556 fi
26557 fi
26558
26559
26560 TIFF_LINK=
26561 TIFF_PREREQ_LINKS=-lm
26562 if test "$wxUSE_LIBTIFF" != "no" ; then
26563 cat >>confdefs.h <<\_ACEOF
26564 #define wxUSE_LIBTIFF 1
26565 _ACEOF
26566
26567
26568 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26569 if test "$wxUSE_LIBJPEG" = "sys"; then
26570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26571 fi
26572 if test "$wxUSE_ZLIB" = "sys"; then
26573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26574 fi
26575 if test "${ac_cv_header_tiffio_h+set}" = set; then
26576 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26577 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26578 if test "${ac_cv_header_tiffio_h+set}" = set; then
26579 echo $ECHO_N "(cached) $ECHO_C" >&6
26580 fi
26581 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26582 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26583 else
26584 # Is the header compilable?
26585 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26586 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 $ac_includes_default
26594 #include <tiffio.h>
26595 _ACEOF
26596 rm -f conftest.$ac_objext
26597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26598 (eval $ac_compile) 2>conftest.er1
26599 ac_status=$?
26600 grep -v '^ *+' conftest.er1 >conftest.err
26601 rm -f conftest.er1
26602 cat conftest.err >&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); } &&
26605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26608 ac_status=$?
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; } &&
26611 { ac_try='test -s conftest.$ac_objext'
26612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613 (eval $ac_try) 2>&5
26614 ac_status=$?
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); }; }; then
26617 ac_header_compiler=yes
26618 else
26619 echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26621
26622 ac_header_compiler=no
26623 fi
26624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26626 echo "${ECHO_T}$ac_header_compiler" >&6
26627
26628 # Is the header present?
26629 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26630 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26631 cat >conftest.$ac_ext <<_ACEOF
26632 /* confdefs.h. */
26633 _ACEOF
26634 cat confdefs.h >>conftest.$ac_ext
26635 cat >>conftest.$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26637 #include <tiffio.h>
26638 _ACEOF
26639 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26640 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26641 ac_status=$?
26642 grep -v '^ *+' conftest.er1 >conftest.err
26643 rm -f conftest.er1
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } >/dev/null; then
26647 if test -s conftest.err; then
26648 ac_cpp_err=$ac_c_preproc_warn_flag
26649 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26650 else
26651 ac_cpp_err=
26652 fi
26653 else
26654 ac_cpp_err=yes
26655 fi
26656 if test -z "$ac_cpp_err"; then
26657 ac_header_preproc=yes
26658 else
26659 echo "$as_me: failed program was:" >&5
26660 sed 's/^/| /' conftest.$ac_ext >&5
26661
26662 ac_header_preproc=no
26663 fi
26664 rm -f conftest.err conftest.$ac_ext
26665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26666 echo "${ECHO_T}$ac_header_preproc" >&6
26667
26668 # So? What about this header?
26669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26670 yes:no: )
26671 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26672 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26673 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26674 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26675 ac_header_preproc=yes
26676 ;;
26677 no:yes:* )
26678 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26679 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26680 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26681 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26682 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26683 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26684 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26685 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26686 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26687 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26688 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26689 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26690 (
26691 cat <<\_ASBOX
26692 ## ----------------------------------------- ##
26693 ## Report this to wx-dev@lists.wxwidgets.org ##
26694 ## ----------------------------------------- ##
26695 _ASBOX
26696 ) |
26697 sed "s/^/$as_me: WARNING: /" >&2
26698 ;;
26699 esac
26700 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26701 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26702 if test "${ac_cv_header_tiffio_h+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 else
26705 ac_cv_header_tiffio_h=$ac_header_preproc
26706 fi
26707 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26708 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26709
26710 fi
26711 if test $ac_cv_header_tiffio_h = yes; then
26712
26713 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26714 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26715 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26716 echo $ECHO_N "(cached) $ECHO_C" >&6
26717 else
26718 ac_check_lib_save_LIBS=$LIBS
26719 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26720 cat >conftest.$ac_ext <<_ACEOF
26721 /* confdefs.h. */
26722 _ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h. */
26726
26727 /* Override any gcc2 internal prototype to avoid an error. */
26728 #ifdef __cplusplus
26729 extern "C"
26730 #endif
26731 /* We use char because int might match the return type of a gcc2
26732 builtin and then its argument prototype would still apply. */
26733 char TIFFError ();
26734 int
26735 main ()
26736 {
26737 TIFFError ();
26738 ;
26739 return 0;
26740 }
26741 _ACEOF
26742 rm -f conftest.$ac_objext conftest$ac_exeext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26744 (eval $ac_link) 2>conftest.er1
26745 ac_status=$?
26746 grep -v '^ *+' conftest.er1 >conftest.err
26747 rm -f conftest.er1
26748 cat conftest.err >&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); } &&
26751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; } &&
26757 { ac_try='test -s conftest$ac_exeext'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; }; then
26763 ac_cv_lib_tiff_TIFFError=yes
26764 else
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 ac_cv_lib_tiff_TIFFError=no
26769 fi
26770 rm -f conftest.err conftest.$ac_objext \
26771 conftest$ac_exeext conftest.$ac_ext
26772 LIBS=$ac_check_lib_save_LIBS
26773 fi
26774 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26775 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26776 if test $ac_cv_lib_tiff_TIFFError = yes; then
26777 TIFF_LINK=" -ltiff"
26778 fi
26779
26780
26781
26782 fi
26783
26784
26785
26786 if test "x$TIFF_LINK" = "x" ; then
26787 if test "$wxUSE_LIBTIFF" = "sys" ; then
26788 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26789 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26790 { (exit 1); exit 1; }; }
26791 else
26792 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26793 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26794 wxUSE_LIBTIFF=builtin
26795 fi
26796 else
26797 wxUSE_LIBTIFF=sys
26798 fi
26799 fi
26800 fi
26801
26802
26803 if test "$wxUSE_WCHAR_T" != "yes"; then
26804 if test "$wxUSE_EXPAT" != "no"; then
26805 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26806 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26807 wxUSE_EXPAT=no
26808 fi
26809 if test "$wxUSE_XML" != "no"; then
26810 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26811 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26812 wxUSE_XML=no
26813 fi
26814 fi
26815
26816 if test "$wxUSE_EXPAT" != "no"; then
26817 wxUSE_XML=yes
26818 cat >>confdefs.h <<\_ACEOF
26819 #define wxUSE_EXPAT 1
26820 _ACEOF
26821
26822 cat >>confdefs.h <<\_ACEOF
26823 #define wxUSE_XML 1
26824 _ACEOF
26825
26826
26827 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26828 if test "${ac_cv_header_expat_h+set}" = set; then
26829 echo "$as_me:$LINENO: checking for expat.h" >&5
26830 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26831 if test "${ac_cv_header_expat_h+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 fi
26834 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26835 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26836 else
26837 # Is the header compilable?
26838 echo "$as_me:$LINENO: checking expat.h usability" >&5
26839 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26840 cat >conftest.$ac_ext <<_ACEOF
26841 /* confdefs.h. */
26842 _ACEOF
26843 cat confdefs.h >>conftest.$ac_ext
26844 cat >>conftest.$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26846 $ac_includes_default
26847 #include <expat.h>
26848 _ACEOF
26849 rm -f conftest.$ac_objext
26850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26851 (eval $ac_compile) 2>conftest.er1
26852 ac_status=$?
26853 grep -v '^ *+' conftest.er1 >conftest.err
26854 rm -f conftest.er1
26855 cat conftest.err >&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } &&
26858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26860 (eval $ac_try) 2>&5
26861 ac_status=$?
26862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26863 (exit $ac_status); }; } &&
26864 { ac_try='test -s conftest.$ac_objext'
26865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26866 (eval $ac_try) 2>&5
26867 ac_status=$?
26868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869 (exit $ac_status); }; }; then
26870 ac_header_compiler=yes
26871 else
26872 echo "$as_me: failed program was:" >&5
26873 sed 's/^/| /' conftest.$ac_ext >&5
26874
26875 ac_header_compiler=no
26876 fi
26877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26879 echo "${ECHO_T}$ac_header_compiler" >&6
26880
26881 # Is the header present?
26882 echo "$as_me:$LINENO: checking expat.h presence" >&5
26883 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26884 cat >conftest.$ac_ext <<_ACEOF
26885 /* confdefs.h. */
26886 _ACEOF
26887 cat confdefs.h >>conftest.$ac_ext
26888 cat >>conftest.$ac_ext <<_ACEOF
26889 /* end confdefs.h. */
26890 #include <expat.h>
26891 _ACEOF
26892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26894 ac_status=$?
26895 grep -v '^ *+' conftest.er1 >conftest.err
26896 rm -f conftest.er1
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } >/dev/null; then
26900 if test -s conftest.err; then
26901 ac_cpp_err=$ac_c_preproc_warn_flag
26902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26903 else
26904 ac_cpp_err=
26905 fi
26906 else
26907 ac_cpp_err=yes
26908 fi
26909 if test -z "$ac_cpp_err"; then
26910 ac_header_preproc=yes
26911 else
26912 echo "$as_me: failed program was:" >&5
26913 sed 's/^/| /' conftest.$ac_ext >&5
26914
26915 ac_header_preproc=no
26916 fi
26917 rm -f conftest.err conftest.$ac_ext
26918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26919 echo "${ECHO_T}$ac_header_preproc" >&6
26920
26921 # So? What about this header?
26922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26923 yes:no: )
26924 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26925 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26927 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26928 ac_header_preproc=yes
26929 ;;
26930 no:yes:* )
26931 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26932 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26933 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26934 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26935 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26936 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26937 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26938 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26939 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26940 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26941 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26942 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26943 (
26944 cat <<\_ASBOX
26945 ## ----------------------------------------- ##
26946 ## Report this to wx-dev@lists.wxwidgets.org ##
26947 ## ----------------------------------------- ##
26948 _ASBOX
26949 ) |
26950 sed "s/^/$as_me: WARNING: /" >&2
26951 ;;
26952 esac
26953 echo "$as_me:$LINENO: checking for expat.h" >&5
26954 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26955 if test "${ac_cv_header_expat_h+set}" = set; then
26956 echo $ECHO_N "(cached) $ECHO_C" >&6
26957 else
26958 ac_cv_header_expat_h=$ac_header_preproc
26959 fi
26960 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26961 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26962
26963 fi
26964 if test $ac_cv_header_expat_h = yes; then
26965 found_expat_h=1
26966 fi
26967
26968
26969 if test "x$found_expat_h" = "x1"; then
26970 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26971 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26972 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975
26976 ac_ext=cc
26977 ac_cpp='$CXXCPP $CPPFLAGS'
26978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26981
26982 cat >conftest.$ac_ext <<_ACEOF
26983 /* confdefs.h. */
26984 _ACEOF
26985 cat confdefs.h >>conftest.$ac_ext
26986 cat >>conftest.$ac_ext <<_ACEOF
26987 /* end confdefs.h. */
26988 #include <expat.h>
26989 int
26990 main ()
26991 {
26992
26993 ;
26994 return 0;
26995 }
26996 _ACEOF
26997 rm -f conftest.$ac_objext
26998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26999 (eval $ac_compile) 2>conftest.er1
27000 ac_status=$?
27001 grep -v '^ *+' conftest.er1 >conftest.err
27002 rm -f conftest.er1
27003 cat conftest.err >&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); } &&
27006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27009 ac_status=$?
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; } &&
27012 { ac_try='test -s conftest.$ac_objext'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27015 ac_status=$?
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; }; then
27018 wx_cv_expat_is_not_broken=yes
27019 else
27020 echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.$ac_ext >&5
27022
27023 wx_cv_expat_is_not_broken=no
27024
27025 fi
27026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27032
27033
27034
27035 fi
27036 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27037 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27038 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27039 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27040 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27041 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 else
27044 ac_check_lib_save_LIBS=$LIBS
27045 LIBS="-lexpat $LIBS"
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052
27053 /* Override any gcc2 internal prototype to avoid an error. */
27054 #ifdef __cplusplus
27055 extern "C"
27056 #endif
27057 /* We use char because int might match the return type of a gcc2
27058 builtin and then its argument prototype would still apply. */
27059 char XML_ParserCreate ();
27060 int
27061 main ()
27062 {
27063 XML_ParserCreate ();
27064 ;
27065 return 0;
27066 }
27067 _ACEOF
27068 rm -f conftest.$ac_objext conftest$ac_exeext
27069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27070 (eval $ac_link) 2>conftest.er1
27071 ac_status=$?
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } &&
27077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27079 (eval $ac_try) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); }; } &&
27083 { ac_try='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 ac_cv_lib_expat_XML_ParserCreate=yes
27090 else
27091 echo "$as_me: failed program was:" >&5
27092 sed 's/^/| /' conftest.$ac_ext >&5
27093
27094 ac_cv_lib_expat_XML_ParserCreate=no
27095 fi
27096 rm -f conftest.err conftest.$ac_objext \
27097 conftest$ac_exeext conftest.$ac_ext
27098 LIBS=$ac_check_lib_save_LIBS
27099 fi
27100 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27101 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27102 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27103 EXPAT_LINK=" -lexpat"
27104 fi
27105
27106 fi
27107 fi
27108 if test "x$EXPAT_LINK" = "x" ; then
27109 if test "$wxUSE_EXPAT" = "sys" ; then
27110 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27111 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27112 { (exit 1); exit 1; }; }
27113 else
27114 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27115 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27116 wxUSE_EXPAT=builtin
27117 fi
27118 else
27119 wxUSE_EXPAT=sys
27120 fi
27121 fi
27122 if test "$wxUSE_EXPAT" = "builtin" ; then
27123
27124
27125 subdirs="$subdirs src/expat"
27126
27127 fi
27128 fi
27129
27130
27131
27132 if test "$wxUSE_LIBMSPACK" != "no"; then
27133 if test "${ac_cv_header_mspack_h+set}" = set; then
27134 echo "$as_me:$LINENO: checking for mspack.h" >&5
27135 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27136 if test "${ac_cv_header_mspack_h+set}" = set; then
27137 echo $ECHO_N "(cached) $ECHO_C" >&6
27138 fi
27139 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27140 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27141 else
27142 # Is the header compilable?
27143 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27144 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27145 cat >conftest.$ac_ext <<_ACEOF
27146 /* confdefs.h. */
27147 _ACEOF
27148 cat confdefs.h >>conftest.$ac_ext
27149 cat >>conftest.$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27151 $ac_includes_default
27152 #include <mspack.h>
27153 _ACEOF
27154 rm -f conftest.$ac_objext
27155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27156 (eval $ac_compile) 2>conftest.er1
27157 ac_status=$?
27158 grep -v '^ *+' conftest.er1 >conftest.err
27159 rm -f conftest.er1
27160 cat conftest.err >&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } &&
27163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27165 (eval $ac_try) 2>&5
27166 ac_status=$?
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); }; } &&
27169 { ac_try='test -s conftest.$ac_objext'
27170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171 (eval $ac_try) 2>&5
27172 ac_status=$?
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; }; then
27175 ac_header_compiler=yes
27176 else
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.$ac_ext >&5
27179
27180 ac_header_compiler=no
27181 fi
27182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27184 echo "${ECHO_T}$ac_header_compiler" >&6
27185
27186 # Is the header present?
27187 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27188 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27189 cat >conftest.$ac_ext <<_ACEOF
27190 /* confdefs.h. */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27195 #include <mspack.h>
27196 _ACEOF
27197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } >/dev/null; then
27205 if test -s conftest.err; then
27206 ac_cpp_err=$ac_c_preproc_warn_flag
27207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27208 else
27209 ac_cpp_err=
27210 fi
27211 else
27212 ac_cpp_err=yes
27213 fi
27214 if test -z "$ac_cpp_err"; then
27215 ac_header_preproc=yes
27216 else
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27219
27220 ac_header_preproc=no
27221 fi
27222 rm -f conftest.err conftest.$ac_ext
27223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27224 echo "${ECHO_T}$ac_header_preproc" >&6
27225
27226 # So? What about this header?
27227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27228 yes:no: )
27229 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27230 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27231 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27232 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27233 ac_header_preproc=yes
27234 ;;
27235 no:yes:* )
27236 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27237 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27238 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27239 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27240 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27241 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27242 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27243 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27244 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27245 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27246 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27247 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27248 (
27249 cat <<\_ASBOX
27250 ## ----------------------------------------- ##
27251 ## Report this to wx-dev@lists.wxwidgets.org ##
27252 ## ----------------------------------------- ##
27253 _ASBOX
27254 ) |
27255 sed "s/^/$as_me: WARNING: /" >&2
27256 ;;
27257 esac
27258 echo "$as_me:$LINENO: checking for mspack.h" >&5
27259 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27260 if test "${ac_cv_header_mspack_h+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263 ac_cv_header_mspack_h=$ac_header_preproc
27264 fi
27265 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27266 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27267
27268 fi
27269 if test $ac_cv_header_mspack_h = yes; then
27270 found_mspack_h=1
27271 fi
27272
27273
27274 if test "x$found_mspack_h" = "x1"; then
27275 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27276 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27277 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 else
27280 ac_check_lib_save_LIBS=$LIBS
27281 LIBS="-lmspack $LIBS"
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288
27289 /* Override any gcc2 internal prototype to avoid an error. */
27290 #ifdef __cplusplus
27291 extern "C"
27292 #endif
27293 /* We use char because int might match the return type of a gcc2
27294 builtin and then its argument prototype would still apply. */
27295 char mspack_create_chm_decompressor ();
27296 int
27297 main ()
27298 {
27299 mspack_create_chm_decompressor ();
27300 ;
27301 return 0;
27302 }
27303 _ACEOF
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306 (eval $ac_link) 2>conftest.er1
27307 ac_status=$?
27308 grep -v '^ *+' conftest.er1 >conftest.err
27309 rm -f conftest.er1
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } &&
27313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27315 (eval $ac_try) 2>&5
27316 ac_status=$?
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); }; } &&
27319 { ac_try='test -s conftest$ac_exeext'
27320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27321 (eval $ac_try) 2>&5
27322 ac_status=$?
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); }; }; then
27325 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27326 else
27327 echo "$as_me: failed program was:" >&5
27328 sed 's/^/| /' conftest.$ac_ext >&5
27329
27330 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27331 fi
27332 rm -f conftest.err conftest.$ac_objext \
27333 conftest$ac_exeext conftest.$ac_ext
27334 LIBS=$ac_check_lib_save_LIBS
27335 fi
27336 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27337 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27338 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27339 MSPACK_LINK=" -lmspack"
27340 fi
27341
27342 fi
27343 if test "x$MSPACK_LINK" = "x" ; then
27344 wxUSE_LIBMSPACK=no
27345 fi
27346 fi
27347
27348 if test "$wxUSE_LIBMSPACK" != "no"; then
27349 cat >>confdefs.h <<\_ACEOF
27350 #define wxUSE_LIBMSPACK 1
27351 _ACEOF
27352
27353 fi
27354
27355
27356
27357 AFMINSTALL=
27358 WIN32INSTALL=
27359
27360 TOOLKIT=
27361 TOOLKIT_INCLUDE=
27362 WIDGET_SET=
27363
27364 if test "$USE_WIN32" = 1 ; then
27365
27366 for ac_header in w32api.h
27367 do
27368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27370 echo "$as_me:$LINENO: checking for $ac_header" >&5
27371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 fi
27375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27377 else
27378 # Is the header compilable?
27379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 $ac_includes_default
27388 #include <$ac_header>
27389 _ACEOF
27390 rm -f conftest.$ac_objext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27392 (eval $ac_compile) 2>conftest.er1
27393 ac_status=$?
27394 grep -v '^ *+' conftest.er1 >conftest.err
27395 rm -f conftest.er1
27396 cat conftest.err >&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27402 ac_status=$?
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; } &&
27405 { ac_try='test -s conftest.$ac_objext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27408 ac_status=$?
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 ac_header_compiler=yes
27412 else
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27415
27416 ac_header_compiler=no
27417 fi
27418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27420 echo "${ECHO_T}$ac_header_compiler" >&6
27421
27422 # Is the header present?
27423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27425 cat >conftest.$ac_ext <<_ACEOF
27426 /* confdefs.h. */
27427 _ACEOF
27428 cat confdefs.h >>conftest.$ac_ext
27429 cat >>conftest.$ac_ext <<_ACEOF
27430 /* end confdefs.h. */
27431 #include <$ac_header>
27432 _ACEOF
27433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } >/dev/null; then
27441 if test -s conftest.err; then
27442 ac_cpp_err=$ac_c_preproc_warn_flag
27443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27444 else
27445 ac_cpp_err=
27446 fi
27447 else
27448 ac_cpp_err=yes
27449 fi
27450 if test -z "$ac_cpp_err"; then
27451 ac_header_preproc=yes
27452 else
27453 echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27455
27456 ac_header_preproc=no
27457 fi
27458 rm -f conftest.err conftest.$ac_ext
27459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27460 echo "${ECHO_T}$ac_header_preproc" >&6
27461
27462 # So? What about this header?
27463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27464 yes:no: )
27465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27469 ac_header_preproc=yes
27470 ;;
27471 no:yes:* )
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27484 (
27485 cat <<\_ASBOX
27486 ## ----------------------------------------- ##
27487 ## Report this to wx-dev@lists.wxwidgets.org ##
27488 ## ----------------------------------------- ##
27489 _ASBOX
27490 ) |
27491 sed "s/^/$as_me: WARNING: /" >&2
27492 ;;
27493 esac
27494 echo "$as_me:$LINENO: checking for $ac_header" >&5
27495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27497 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 else
27499 eval "$as_ac_Header=\$ac_header_preproc"
27500 fi
27501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27503
27504 fi
27505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27506 cat >>confdefs.h <<_ACEOF
27507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27508 _ACEOF
27509
27510 fi
27511
27512 done
27513
27514 if test "${ac_cv_header_windows_h+set}" = set; then
27515 echo "$as_me:$LINENO: checking for windows.h" >&5
27516 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27517 if test "${ac_cv_header_windows_h+set}" = set; then
27518 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 fi
27520 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27521 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27522 else
27523 # Is the header compilable?
27524 echo "$as_me:$LINENO: checking windows.h usability" >&5
27525 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27526 cat >conftest.$ac_ext <<_ACEOF
27527 /* confdefs.h. */
27528 _ACEOF
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27532 $ac_includes_default
27533 #include <windows.h>
27534 _ACEOF
27535 rm -f conftest.$ac_objext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27537 (eval $ac_compile) 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } &&
27544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27546 (eval $ac_try) 2>&5
27547 ac_status=$?
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); }; } &&
27550 { ac_try='test -s conftest.$ac_objext'
27551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27552 (eval $ac_try) 2>&5
27553 ac_status=$?
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); }; }; then
27556 ac_header_compiler=yes
27557 else
27558 echo "$as_me: failed program was:" >&5
27559 sed 's/^/| /' conftest.$ac_ext >&5
27560
27561 ac_header_compiler=no
27562 fi
27563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27565 echo "${ECHO_T}$ac_header_compiler" >&6
27566
27567 # Is the header present?
27568 echo "$as_me:$LINENO: checking windows.h presence" >&5
27569 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27570 cat >conftest.$ac_ext <<_ACEOF
27571 /* confdefs.h. */
27572 _ACEOF
27573 cat confdefs.h >>conftest.$ac_ext
27574 cat >>conftest.$ac_ext <<_ACEOF
27575 /* end confdefs.h. */
27576 #include <windows.h>
27577 _ACEOF
27578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27580 ac_status=$?
27581 grep -v '^ *+' conftest.er1 >conftest.err
27582 rm -f conftest.er1
27583 cat conftest.err >&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } >/dev/null; then
27586 if test -s conftest.err; then
27587 ac_cpp_err=$ac_c_preproc_warn_flag
27588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27589 else
27590 ac_cpp_err=
27591 fi
27592 else
27593 ac_cpp_err=yes
27594 fi
27595 if test -z "$ac_cpp_err"; then
27596 ac_header_preproc=yes
27597 else
27598 echo "$as_me: failed program was:" >&5
27599 sed 's/^/| /' conftest.$ac_ext >&5
27600
27601 ac_header_preproc=no
27602 fi
27603 rm -f conftest.err conftest.$ac_ext
27604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27605 echo "${ECHO_T}$ac_header_preproc" >&6
27606
27607 # So? What about this header?
27608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27609 yes:no: )
27610 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27611 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27612 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27613 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27614 ac_header_preproc=yes
27615 ;;
27616 no:yes:* )
27617 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27618 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27620 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27621 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27622 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27624 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27626 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27627 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27628 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27629 (
27630 cat <<\_ASBOX
27631 ## ----------------------------------------- ##
27632 ## Report this to wx-dev@lists.wxwidgets.org ##
27633 ## ----------------------------------------- ##
27634 _ASBOX
27635 ) |
27636 sed "s/^/$as_me: WARNING: /" >&2
27637 ;;
27638 esac
27639 echo "$as_me:$LINENO: checking for windows.h" >&5
27640 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27641 if test "${ac_cv_header_windows_h+set}" = set; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 else
27644 ac_cv_header_windows_h=$ac_header_preproc
27645 fi
27646 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27647 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27648
27649 fi
27650 if test $ac_cv_header_windows_h = yes; then
27651 :
27652 else
27653
27654 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27655 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27656 { (exit 1); exit 1; }; }
27657
27658 fi
27659
27660
27661
27662 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27663
27664 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27665 LIBS="$LIBS -loleacc"
27666 fi
27667
27668 case "${host}" in
27669 *-*-cygwin* )
27670 LIBS="$LIBS -lkernel32 -luser32"
27671 esac
27672
27673 if test "$wxUSE_ODBC" = "sys" ; then
27674 wxUSE_ODBC = "yes"
27675 fi
27676 if test "$wxUSE_ODBC" = "yes" ; then
27677 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27678 cat >>confdefs.h <<\_ACEOF
27679 #define wxUSE_ODBC 1
27680 _ACEOF
27681
27682 fi
27683
27684 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27685 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27686
27687 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27688
27689 WIN32INSTALL=win32install
27690
27691
27692 for ac_header in pbt.h
27693 do
27694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27696 echo "$as_me:$LINENO: checking for $ac_header" >&5
27697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27699 echo $ECHO_N "(cached) $ECHO_C" >&6
27700 fi
27701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27703 else
27704 # Is the header compilable?
27705 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713 $ac_includes_default
27714 #include <$ac_header>
27715 _ACEOF
27716 rm -f conftest.$ac_objext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27718 (eval $ac_compile) 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest.$ac_objext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 ac_header_compiler=yes
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742 ac_header_compiler=no
27743 fi
27744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27746 echo "${ECHO_T}$ac_header_compiler" >&6
27747
27748 # Is the header present?
27749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27751 cat >conftest.$ac_ext <<_ACEOF
27752 /* confdefs.h. */
27753 _ACEOF
27754 cat confdefs.h >>conftest.$ac_ext
27755 cat >>conftest.$ac_ext <<_ACEOF
27756 /* end confdefs.h. */
27757 #include <$ac_header>
27758 _ACEOF
27759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27761 ac_status=$?
27762 grep -v '^ *+' conftest.er1 >conftest.err
27763 rm -f conftest.er1
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } >/dev/null; then
27767 if test -s conftest.err; then
27768 ac_cpp_err=$ac_c_preproc_warn_flag
27769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27770 else
27771 ac_cpp_err=
27772 fi
27773 else
27774 ac_cpp_err=yes
27775 fi
27776 if test -z "$ac_cpp_err"; then
27777 ac_header_preproc=yes
27778 else
27779 echo "$as_me: failed program was:" >&5
27780 sed 's/^/| /' conftest.$ac_ext >&5
27781
27782 ac_header_preproc=no
27783 fi
27784 rm -f conftest.err conftest.$ac_ext
27785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27786 echo "${ECHO_T}$ac_header_preproc" >&6
27787
27788 # So? What about this header?
27789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27790 yes:no: )
27791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27795 ac_header_preproc=yes
27796 ;;
27797 no:yes:* )
27798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27810 (
27811 cat <<\_ASBOX
27812 ## ----------------------------------------- ##
27813 ## Report this to wx-dev@lists.wxwidgets.org ##
27814 ## ----------------------------------------- ##
27815 _ASBOX
27816 ) |
27817 sed "s/^/$as_me: WARNING: /" >&2
27818 ;;
27819 esac
27820 echo "$as_me:$LINENO: checking for $ac_header" >&5
27821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 else
27825 eval "$as_ac_Header=\$ac_header_preproc"
27826 fi
27827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27829
27830 fi
27831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27832 cat >>confdefs.h <<_ACEOF
27833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27834 _ACEOF
27835
27836 else
27837 cat >>confdefs.h <<\_ACEOF
27838 #define NEED_PBT_H 1
27839 _ACEOF
27840
27841 fi
27842
27843 done
27844
27845 fi
27846
27847 if test "$wxUSE_GUI" = "yes"; then
27848 USE_GUI=1
27849
27850 GUI_TK_LIBRARY=
27851
27852 WXGTK12=
27853 WXGTK127=
27854 WXGTK20=
27855 WXGPE=
27856
27857 if test "$wxUSE_COCOA" = 1 ; then
27858 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27859 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27860 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27861 wxUSE_PRINTING_ARCHITECTURE=no
27862 fi
27863 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27864 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27865 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27866 wxUSE_DRAG_AND_DROP=no
27867 fi
27868 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27869 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27870 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27871 wxUSE_DRAGIMAGE=no
27872 fi
27873 fi
27874
27875 if test "$wxUSE_MSW" = 1 ; then
27876 TOOLKIT=MSW
27877 GUIDIST=MSW_DIST
27878
27879 case "${host}" in
27880 *-*-mingw32* )
27881 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27882 esac
27883 fi
27884
27885 if test "$wxUSE_GTK" = 1; then
27886 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27887 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27888
27889 gtk_version_cached=1
27890 if test "${wx_cv_lib_gtk+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 else
27893
27894 gtk_version_cached=0
27895 echo "$as_me:$LINENO: result: " >&5
27896 echo "${ECHO_T}" >&6
27897
27898 GTK_MODULES=
27899 if test "$wxUSE_THREADS" = "yes"; then
27900 GTK_MODULES=gthread
27901 fi
27902
27903 wx_cv_lib_gtk=
27904 if test "x$wxGTK_VERSION" != "x1"
27905 then
27906 case "${host}" in
27907 *-*-solaris2* )
27908 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27909 enable_gtktest=no
27910 fi
27911 esac
27912
27913 # Check whether --enable-gtktest or --disable-gtktest was given.
27914 if test "${enable_gtktest+set}" = set; then
27915 enableval="$enable_gtktest"
27916
27917 else
27918 enable_gtktest=yes
27919 fi;
27920
27921 pkg_config_args=gtk+-2.0
27922 for module in . $GTK_MODULES
27923 do
27924 case "$module" in
27925 gthread)
27926 pkg_config_args="$pkg_config_args gthread-2.0"
27927 ;;
27928 esac
27929 done
27930
27931 no_gtk=""
27932
27933 # Extract the first word of "pkg-config", so it can be a program name with args.
27934 set dummy pkg-config; ac_word=$2
27935 echo "$as_me:$LINENO: checking for $ac_word" >&5
27936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27938 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 else
27940 case $PKG_CONFIG in
27941 [\\/]* | ?:[\\/]*)
27942 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27943 ;;
27944 *)
27945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27946 for as_dir in $PATH
27947 do
27948 IFS=$as_save_IFS
27949 test -z "$as_dir" && as_dir=.
27950 for ac_exec_ext in '' $ac_executable_extensions; do
27951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27952 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27954 break 2
27955 fi
27956 done
27957 done
27958
27959 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27960 ;;
27961 esac
27962 fi
27963 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27964
27965 if test -n "$PKG_CONFIG"; then
27966 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27967 echo "${ECHO_T}$PKG_CONFIG" >&6
27968 else
27969 echo "$as_me:$LINENO: result: no" >&5
27970 echo "${ECHO_T}no" >&6
27971 fi
27972
27973
27974 if test x$PKG_CONFIG != xno ; then
27975 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27976 :
27977 else
27978 echo "*** pkg-config too old; version 0.7 or better required."
27979 no_gtk=yes
27980 PKG_CONFIG=no
27981 fi
27982 else
27983 no_gtk=yes
27984 fi
27985
27986 min_gtk_version=2.0.0
27987 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27988 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27989
27990 if test x$PKG_CONFIG != xno ; then
27991 ## don't try to run the test against uninstalled libtool libs
27992 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27993 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27994 enable_gtktest=no
27995 fi
27996
27997 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27998 :
27999 else
28000 no_gtk=yes
28001 fi
28002 fi
28003
28004 if test x"$no_gtk" = x ; then
28005 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28006 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28007 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28009 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28011 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28013 if test "x$enable_gtktest" = "xyes" ; then
28014 ac_save_CFLAGS="$CFLAGS"
28015 ac_save_LIBS="$LIBS"
28016 CFLAGS="$CFLAGS $GTK_CFLAGS"
28017 LIBS="$GTK_LIBS $LIBS"
28018 rm -f conf.gtktest
28019 if test "$cross_compiling" = yes; then
28020 echo $ac_n "cross compiling; assumed OK... $ac_c"
28021 else
28022 cat >conftest.$ac_ext <<_ACEOF
28023 /* confdefs.h. */
28024 _ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28028
28029 #include <gtk/gtk.h>
28030 #include <stdio.h>
28031 #include <stdlib.h>
28032
28033 int
28034 main ()
28035 {
28036 int major, minor, micro;
28037 char *tmp_version;
28038
28039 system ("touch conf.gtktest");
28040
28041 /* HP/UX 9 (%@#!) writes to sscanf strings */
28042 tmp_version = g_strdup("$min_gtk_version");
28043 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28044 printf("%s, bad version string\n", "$min_gtk_version");
28045 exit(1);
28046 }
28047
28048 if ((gtk_major_version != $gtk_config_major_version) ||
28049 (gtk_minor_version != $gtk_config_minor_version) ||
28050 (gtk_micro_version != $gtk_config_micro_version))
28051 {
28052 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28053 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28054 gtk_major_version, gtk_minor_version, gtk_micro_version);
28055 printf ("*** was found! If pkg-config was correct, then it is best\n");
28056 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28057 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28058 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28059 printf("*** required on your system.\n");
28060 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28061 printf("*** to point to the correct configuration files\n");
28062 }
28063 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28064 (gtk_minor_version != GTK_MINOR_VERSION) ||
28065 (gtk_micro_version != GTK_MICRO_VERSION))
28066 {
28067 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28068 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28069 printf("*** library (version %d.%d.%d)\n",
28070 gtk_major_version, gtk_minor_version, gtk_micro_version);
28071 }
28072 else
28073 {
28074 if ((gtk_major_version > major) ||
28075 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28076 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28077 {
28078 return 0;
28079 }
28080 else
28081 {
28082 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28083 gtk_major_version, gtk_minor_version, gtk_micro_version);
28084 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28085 major, minor, micro);
28086 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28087 printf("***\n");
28088 printf("*** If you have already installed a sufficiently new version, this error\n");
28089 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28090 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28091 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28092 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28093 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28094 printf("*** so that the correct libraries are found at run-time))\n");
28095 }
28096 }
28097 return 1;
28098 }
28099
28100 _ACEOF
28101 rm -f conftest$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>&5
28104 ac_status=$?
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28108 (eval $ac_try) 2>&5
28109 ac_status=$?
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; }; then
28112 :
28113 else
28114 echo "$as_me: program exited with status $ac_status" >&5
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.$ac_ext >&5
28117
28118 ( exit $ac_status )
28119 no_gtk=yes
28120 fi
28121 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28122 fi
28123 CFLAGS="$ac_save_CFLAGS"
28124 LIBS="$ac_save_LIBS"
28125 fi
28126 fi
28127 if test "x$no_gtk" = x ; then
28128 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28129 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28130 wx_cv_lib_gtk=2.0
28131 else
28132 echo "$as_me:$LINENO: result: no" >&5
28133 echo "${ECHO_T}no" >&6
28134 if test "$PKG_CONFIG" = "no" ; then
28135 echo "*** A new enough version of pkg-config was not found."
28136 echo "*** See http://pkgconfig.sourceforge.net"
28137 else
28138 if test -f conf.gtktest ; then
28139 :
28140 else
28141 echo "*** Could not run GTK+ test program, checking why..."
28142 ac_save_CFLAGS="$CFLAGS"
28143 ac_save_LIBS="$LIBS"
28144 CFLAGS="$CFLAGS $GTK_CFLAGS"
28145 LIBS="$LIBS $GTK_LIBS"
28146 cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h. */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152
28153 #include <gtk/gtk.h>
28154 #include <stdio.h>
28155
28156 int
28157 main ()
28158 {
28159 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28160 ;
28161 return 0;
28162 }
28163 _ACEOF
28164 rm -f conftest.$ac_objext conftest$ac_exeext
28165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>conftest.er1
28167 ac_status=$?
28168 grep -v '^ *+' conftest.er1 >conftest.err
28169 rm -f conftest.er1
28170 cat conftest.err >&5
28171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28172 (exit $ac_status); } &&
28173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28175 (eval $ac_try) 2>&5
28176 ac_status=$?
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); }; } &&
28179 { ac_try='test -s conftest$ac_exeext'
28180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28181 (eval $ac_try) 2>&5
28182 ac_status=$?
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); }; }; then
28185 echo "*** The test program compiled, but did not run. This usually means"
28186 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28187 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28188 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28189 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28190 echo "*** is required on your system"
28191 echo "***"
28192 echo "*** If you have an old version installed, it is best to remove it, although"
28193 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28194 else
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.$ac_ext >&5
28197
28198 echo "*** The test program failed to compile or link. See the file config.log for the"
28199 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28200 fi
28201 rm -f conftest.err conftest.$ac_objext \
28202 conftest$ac_exeext conftest.$ac_ext
28203 CFLAGS="$ac_save_CFLAGS"
28204 LIBS="$ac_save_LIBS"
28205 fi
28206 fi
28207 GTK_CFLAGS=""
28208 GTK_LIBS=""
28209 :
28210 fi
28211
28212
28213 rm -f conf.gtktest
28214
28215
28216 case "${host}" in
28217 *-*-solaris2* )
28218 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28219 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28220 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28221 fi
28222 if test "$wxUSE_SHARED" != "yes"; then
28223 GTK_LIBS="$GTK_LIBS -lX11"
28224 fi
28225 esac
28226 fi
28227
28228 if test -z "$wx_cv_lib_gtk"; then
28229 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28230
28231 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28232 if test "${with_gtk_prefix+set}" = set; then
28233 withval="$with_gtk_prefix"
28234 gtk_config_prefix="$withval"
28235 else
28236 gtk_config_prefix=""
28237 fi;
28238
28239 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28240 if test "${with_gtk_exec_prefix+set}" = set; then
28241 withval="$with_gtk_exec_prefix"
28242 gtk_config_exec_prefix="$withval"
28243 else
28244 gtk_config_exec_prefix=""
28245 fi;
28246 # Check whether --enable-gtktest or --disable-gtktest was given.
28247 if test "${enable_gtktest+set}" = set; then
28248 enableval="$enable_gtktest"
28249
28250 else
28251 enable_gtktest=yes
28252 fi;
28253
28254 for module in . $GTK_MODULES
28255 do
28256 case "$module" in
28257 gthread)
28258 gtk_config_args="$gtk_config_args gthread"
28259 ;;
28260 esac
28261 done
28262
28263 if test x$gtk_config_exec_prefix != x ; then
28264 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28265 if test x${GTK_CONFIG+set} != xset ; then
28266 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28267 fi
28268 fi
28269 if test x$gtk_config_prefix != x ; then
28270 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28271 if test x${GTK_CONFIG+set} != xset ; then
28272 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28273 fi
28274 fi
28275
28276 # Extract the first word of "gtk-config", so it can be a program name with args.
28277 set dummy gtk-config; ac_word=$2
28278 echo "$as_me:$LINENO: checking for $ac_word" >&5
28279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28280 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 else
28283 case $GTK_CONFIG in
28284 [\\/]* | ?:[\\/]*)
28285 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28286 ;;
28287 *)
28288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28289 for as_dir in $PATH
28290 do
28291 IFS=$as_save_IFS
28292 test -z "$as_dir" && as_dir=.
28293 for ac_exec_ext in '' $ac_executable_extensions; do
28294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28295 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28297 break 2
28298 fi
28299 done
28300 done
28301
28302 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28303 ;;
28304 esac
28305 fi
28306 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28307
28308 if test -n "$GTK_CONFIG"; then
28309 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28310 echo "${ECHO_T}$GTK_CONFIG" >&6
28311 else
28312 echo "$as_me:$LINENO: result: no" >&5
28313 echo "${ECHO_T}no" >&6
28314 fi
28315
28316 min_gtk_version=1.2.7
28317 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28318 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28319 no_gtk=""
28320 if test "$GTK_CONFIG" = "no" ; then
28321 no_gtk=yes
28322 else
28323 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28324 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28325 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28327 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28329 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28331 if test "x$enable_gtktest" = "xyes" ; then
28332 ac_save_CFLAGS="$CFLAGS"
28333 ac_save_LIBS="$LIBS"
28334 CFLAGS="$CFLAGS $GTK_CFLAGS"
28335 LIBS="$GTK_LIBS $LIBS"
28336 rm -f conf.gtktest
28337 if test "$cross_compiling" = yes; then
28338 echo $ac_n "cross compiling; assumed OK... $ac_c"
28339 else
28340 cat >conftest.$ac_ext <<_ACEOF
28341 /* confdefs.h. */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346
28347 #include <gtk/gtk.h>
28348 #include <stdio.h>
28349 #include <stdlib.h>
28350
28351 int
28352 main ()
28353 {
28354 int major, minor, micro;
28355 char *tmp_version;
28356
28357 system ("touch conf.gtktest");
28358
28359 /* HP/UX 9 (%@#!) writes to sscanf strings */
28360 tmp_version = g_strdup("$min_gtk_version");
28361 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28362 printf("%s, bad version string\n", "$min_gtk_version");
28363 exit(1);
28364 }
28365
28366 if ((gtk_major_version != $gtk_config_major_version) ||
28367 (gtk_minor_version != $gtk_config_minor_version) ||
28368 (gtk_micro_version != $gtk_config_micro_version))
28369 {
28370 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28371 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28372 gtk_major_version, gtk_minor_version, gtk_micro_version);
28373 printf ("*** was found! If gtk-config was correct, then it is best\n");
28374 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28375 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28376 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28377 printf("*** required on your system.\n");
28378 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28379 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28380 printf("*** before re-running configure\n");
28381 }
28382 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28383 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28384 (gtk_minor_version != GTK_MINOR_VERSION) ||
28385 (gtk_micro_version != GTK_MICRO_VERSION))
28386 {
28387 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28388 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28389 printf("*** library (version %d.%d.%d)\n",
28390 gtk_major_version, gtk_minor_version, gtk_micro_version);
28391 }
28392 #endif /* defined (GTK_MAJOR_VERSION) ... */
28393 else
28394 {
28395 if ((gtk_major_version > major) ||
28396 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28397 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28398 {
28399 return 0;
28400 }
28401 else
28402 {
28403 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28404 gtk_major_version, gtk_minor_version, gtk_micro_version);
28405 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28406 major, minor, micro);
28407 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28408 printf("***\n");
28409 printf("*** If you have already installed a sufficiently new version, this error\n");
28410 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28411 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28412 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28413 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28414 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28415 printf("*** so that the correct libraries are found at run-time))\n");
28416 }
28417 }
28418 return 1;
28419 }
28420
28421 _ACEOF
28422 rm -f conftest$ac_exeext
28423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28424 (eval $ac_link) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28429 (eval $ac_try) 2>&5
28430 ac_status=$?
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; }; then
28433 :
28434 else
28435 echo "$as_me: program exited with status $ac_status" >&5
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 ( exit $ac_status )
28440 no_gtk=yes
28441 fi
28442 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28443 fi
28444 CFLAGS="$ac_save_CFLAGS"
28445 LIBS="$ac_save_LIBS"
28446 fi
28447 fi
28448 if test "x$no_gtk" = x ; then
28449 echo "$as_me:$LINENO: result: yes" >&5
28450 echo "${ECHO_T}yes" >&6
28451 wx_cv_lib_gtk=1.2.7
28452 else
28453 echo "$as_me:$LINENO: result: no" >&5
28454 echo "${ECHO_T}no" >&6
28455 if test "$GTK_CONFIG" = "no" ; then
28456 echo "*** The gtk-config script installed by GTK could not be found"
28457 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28458 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28459 echo "*** full path to gtk-config."
28460 else
28461 if test -f conf.gtktest ; then
28462 :
28463 else
28464 echo "*** Could not run GTK test program, checking why..."
28465 CFLAGS="$CFLAGS $GTK_CFLAGS"
28466 LIBS="$LIBS $GTK_LIBS"
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h. */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h. */
28473
28474 #include <gtk/gtk.h>
28475 #include <stdio.h>
28476
28477 int
28478 main ()
28479 {
28480 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28481 ;
28482 return 0;
28483 }
28484 _ACEOF
28485 rm -f conftest.$ac_objext conftest$ac_exeext
28486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28487 (eval $ac_link) 2>conftest.er1
28488 ac_status=$?
28489 grep -v '^ *+' conftest.er1 >conftest.err
28490 rm -f conftest.er1
28491 cat conftest.err >&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); } &&
28494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; } &&
28500 { ac_try='test -s conftest$ac_exeext'
28501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28502 (eval $ac_try) 2>&5
28503 ac_status=$?
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); }; }; then
28506 echo "*** The test program compiled, but did not run. This usually means"
28507 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28508 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28509 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28510 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28511 echo "*** is required on your system"
28512 echo "***"
28513 echo "*** If you have an old version installed, it is best to remove it, although"
28514 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28515 echo "***"
28516 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28517 echo "*** came with the system with the command"
28518 echo "***"
28519 echo "*** rpm --erase --nodeps gtk gtk-devel"
28520 else
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.$ac_ext >&5
28523
28524 echo "*** The test program failed to compile or link. See the file config.log for the"
28525 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28526 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28527 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28528 fi
28529 rm -f conftest.err conftest.$ac_objext \
28530 conftest$ac_exeext conftest.$ac_ext
28531 CFLAGS="$ac_save_CFLAGS"
28532 LIBS="$ac_save_LIBS"
28533 fi
28534 fi
28535 GTK_CFLAGS=""
28536 GTK_LIBS=""
28537 :
28538 fi
28539
28540
28541 rm -f conf.gtktest
28542
28543
28544 if test -z "$wx_cv_lib_gtk"; then
28545
28546 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28547 if test "${with_gtk_prefix+set}" = set; then
28548 withval="$with_gtk_prefix"
28549 gtk_config_prefix="$withval"
28550 else
28551 gtk_config_prefix=""
28552 fi;
28553
28554 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28555 if test "${with_gtk_exec_prefix+set}" = set; then
28556 withval="$with_gtk_exec_prefix"
28557 gtk_config_exec_prefix="$withval"
28558 else
28559 gtk_config_exec_prefix=""
28560 fi;
28561 # Check whether --enable-gtktest or --disable-gtktest was given.
28562 if test "${enable_gtktest+set}" = set; then
28563 enableval="$enable_gtktest"
28564
28565 else
28566 enable_gtktest=yes
28567 fi;
28568
28569 for module in . $GTK_MODULES
28570 do
28571 case "$module" in
28572 gthread)
28573 gtk_config_args="$gtk_config_args gthread"
28574 ;;
28575 esac
28576 done
28577
28578 if test x$gtk_config_exec_prefix != x ; then
28579 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28580 if test x${GTK_CONFIG+set} != xset ; then
28581 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28582 fi
28583 fi
28584 if test x$gtk_config_prefix != x ; then
28585 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28586 if test x${GTK_CONFIG+set} != xset ; then
28587 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28588 fi
28589 fi
28590
28591 # Extract the first word of "gtk-config", so it can be a program name with args.
28592 set dummy gtk-config; ac_word=$2
28593 echo "$as_me:$LINENO: checking for $ac_word" >&5
28594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28595 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 else
28598 case $GTK_CONFIG in
28599 [\\/]* | ?:[\\/]*)
28600 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28601 ;;
28602 *)
28603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28604 for as_dir in $PATH
28605 do
28606 IFS=$as_save_IFS
28607 test -z "$as_dir" && as_dir=.
28608 for ac_exec_ext in '' $ac_executable_extensions; do
28609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28610 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28612 break 2
28613 fi
28614 done
28615 done
28616
28617 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28618 ;;
28619 esac
28620 fi
28621 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28622
28623 if test -n "$GTK_CONFIG"; then
28624 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28625 echo "${ECHO_T}$GTK_CONFIG" >&6
28626 else
28627 echo "$as_me:$LINENO: result: no" >&5
28628 echo "${ECHO_T}no" >&6
28629 fi
28630
28631 min_gtk_version=1.2.3
28632 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28633 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28634 no_gtk=""
28635 if test "$GTK_CONFIG" = "no" ; then
28636 no_gtk=yes
28637 else
28638 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28639 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28640 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28642 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28644 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28645 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28646 if test "x$enable_gtktest" = "xyes" ; then
28647 ac_save_CFLAGS="$CFLAGS"
28648 ac_save_LIBS="$LIBS"
28649 CFLAGS="$CFLAGS $GTK_CFLAGS"
28650 LIBS="$GTK_LIBS $LIBS"
28651 rm -f conf.gtktest
28652 if test "$cross_compiling" = yes; then
28653 echo $ac_n "cross compiling; assumed OK... $ac_c"
28654 else
28655 cat >conftest.$ac_ext <<_ACEOF
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661
28662 #include <gtk/gtk.h>
28663 #include <stdio.h>
28664 #include <stdlib.h>
28665
28666 int
28667 main ()
28668 {
28669 int major, minor, micro;
28670 char *tmp_version;
28671
28672 system ("touch conf.gtktest");
28673
28674 /* HP/UX 9 (%@#!) writes to sscanf strings */
28675 tmp_version = g_strdup("$min_gtk_version");
28676 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28677 printf("%s, bad version string\n", "$min_gtk_version");
28678 exit(1);
28679 }
28680
28681 if ((gtk_major_version != $gtk_config_major_version) ||
28682 (gtk_minor_version != $gtk_config_minor_version) ||
28683 (gtk_micro_version != $gtk_config_micro_version))
28684 {
28685 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28686 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28687 gtk_major_version, gtk_minor_version, gtk_micro_version);
28688 printf ("*** was found! If gtk-config was correct, then it is best\n");
28689 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28690 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28691 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28692 printf("*** required on your system.\n");
28693 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28694 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28695 printf("*** before re-running configure\n");
28696 }
28697 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28698 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28699 (gtk_minor_version != GTK_MINOR_VERSION) ||
28700 (gtk_micro_version != GTK_MICRO_VERSION))
28701 {
28702 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28703 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28704 printf("*** library (version %d.%d.%d)\n",
28705 gtk_major_version, gtk_minor_version, gtk_micro_version);
28706 }
28707 #endif /* defined (GTK_MAJOR_VERSION) ... */
28708 else
28709 {
28710 if ((gtk_major_version > major) ||
28711 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28712 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28713 {
28714 return 0;
28715 }
28716 else
28717 {
28718 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28719 gtk_major_version, gtk_minor_version, gtk_micro_version);
28720 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28721 major, minor, micro);
28722 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28723 printf("***\n");
28724 printf("*** If you have already installed a sufficiently new version, this error\n");
28725 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28726 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28727 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28728 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28729 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28730 printf("*** so that the correct libraries are found at run-time))\n");
28731 }
28732 }
28733 return 1;
28734 }
28735
28736 _ACEOF
28737 rm -f conftest$ac_exeext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28739 (eval $ac_link) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28745 ac_status=$?
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; }; then
28748 :
28749 else
28750 echo "$as_me: program exited with status $ac_status" >&5
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28753
28754 ( exit $ac_status )
28755 no_gtk=yes
28756 fi
28757 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28758 fi
28759 CFLAGS="$ac_save_CFLAGS"
28760 LIBS="$ac_save_LIBS"
28761 fi
28762 fi
28763 if test "x$no_gtk" = x ; then
28764 echo "$as_me:$LINENO: result: yes" >&5
28765 echo "${ECHO_T}yes" >&6
28766 wx_cv_lib_gtk=1.2.3
28767 else
28768 echo "$as_me:$LINENO: result: no" >&5
28769 echo "${ECHO_T}no" >&6
28770 if test "$GTK_CONFIG" = "no" ; then
28771 echo "*** The gtk-config script installed by GTK could not be found"
28772 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28773 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28774 echo "*** full path to gtk-config."
28775 else
28776 if test -f conf.gtktest ; then
28777 :
28778 else
28779 echo "*** Could not run GTK test program, checking why..."
28780 CFLAGS="$CFLAGS $GTK_CFLAGS"
28781 LIBS="$LIBS $GTK_LIBS"
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788
28789 #include <gtk/gtk.h>
28790 #include <stdio.h>
28791
28792 int
28793 main ()
28794 {
28795 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28796 ;
28797 return 0;
28798 }
28799 _ACEOF
28800 rm -f conftest.$ac_objext conftest$ac_exeext
28801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28802 (eval $ac_link) 2>conftest.er1
28803 ac_status=$?
28804 grep -v '^ *+' conftest.er1 >conftest.err
28805 rm -f conftest.er1
28806 cat conftest.err >&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } &&
28809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; } &&
28815 { ac_try='test -s conftest$ac_exeext'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28818 ac_status=$?
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; }; then
28821 echo "*** The test program compiled, but did not run. This usually means"
28822 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28823 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28824 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28825 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28826 echo "*** is required on your system"
28827 echo "***"
28828 echo "*** If you have an old version installed, it is best to remove it, although"
28829 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28830 echo "***"
28831 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28832 echo "*** came with the system with the command"
28833 echo "***"
28834 echo "*** rpm --erase --nodeps gtk gtk-devel"
28835 else
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28838
28839 echo "*** The test program failed to compile or link. See the file config.log for the"
28840 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28841 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28842 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28843 fi
28844 rm -f conftest.err conftest.$ac_objext \
28845 conftest$ac_exeext conftest.$ac_ext
28846 CFLAGS="$ac_save_CFLAGS"
28847 LIBS="$ac_save_LIBS"
28848 fi
28849 fi
28850 GTK_CFLAGS=""
28851 GTK_LIBS=""
28852 :
28853 fi
28854
28855
28856 rm -f conf.gtktest
28857
28858 fi
28859 fi
28860 fi
28861
28862 if test -z "$wx_cv_lib_gtk"; then
28863 wx_cv_lib_gtk=none
28864 else
28865 wx_cv_cflags_gtk=$GTK_CFLAGS
28866 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28867 fi
28868
28869
28870 fi
28871
28872
28873 if test "$gtk_version_cached" = 1; then
28874 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28875 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28876 fi
28877
28878 case "$wx_cv_lib_gtk" in
28879 2.0) WXGTK20=1
28880 TOOLKIT_VERSION=2
28881 ;;
28882 1.2.7) WXGTK127=1
28883 WXGTK12=1
28884 ;;
28885 1.2.3) WXGTK12=1
28886 ;;
28887 *) { { echo "$as_me:$LINENO: error:
28888 The development files for GTK+ were not found. For GTK+ 2, please
28889 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28890 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28891 and that the version is 1.2.3 or above. Also check that the
28892 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28893 --libs' are in the LD_LIBRARY_PATH or equivalent.
28894 " >&5
28895 echo "$as_me: error:
28896 The development files for GTK+ were not found. For GTK+ 2, please
28897 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28898 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28899 and that the version is 1.2.3 or above. Also check that the
28900 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28901 --libs' are in the LD_LIBRARY_PATH or equivalent.
28902 " >&2;}
28903 { (exit 1); exit 1; }; }
28904 ;;
28905 esac
28906
28907 if test "$WXGTK20" = 1; then
28908 save_CFLAGS="$CFLAGS"
28909 save_LIBS="$LIBS"
28910 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28911 LIBS="$LIBS $wx_cv_libs_gtk"
28912
28913 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28914 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28915 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28917 else
28918 cat >conftest.$ac_ext <<_ACEOF
28919 /* confdefs.h. */
28920 _ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28924 #include <gtk/gtk.h>
28925
28926 int
28927 main ()
28928 {
28929 #ifndef gtk_icon_size_lookup
28930 char *p = (char *) gtk_icon_size_lookup;
28931 #endif
28932
28933 ;
28934 return 0;
28935 }
28936 _ACEOF
28937 rm -f conftest.$ac_objext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28939 (eval $ac_compile) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; } &&
28952 { ac_try='test -s conftest.$ac_objext'
28953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954 (eval $ac_try) 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); }; }; then
28958 ac_cv_have_decl_gtk_icon_size_lookup=yes
28959 else
28960 echo "$as_me: failed program was:" >&5
28961 sed 's/^/| /' conftest.$ac_ext >&5
28962
28963 ac_cv_have_decl_gtk_icon_size_lookup=no
28964 fi
28965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28966 fi
28967 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28968 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28969 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28970
28971 cat >>confdefs.h <<_ACEOF
28972 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28973 _ACEOF
28974
28975
28976 else
28977 cat >>confdefs.h <<_ACEOF
28978 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28979 _ACEOF
28980
28981 cat >>confdefs.h <<\_ACEOF
28982 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28983 _ACEOF
28984
28985 fi
28986
28987
28988
28989 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28990 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 #include <gtk/gtk.h>
28999
29000 int
29001 main ()
29002 {
29003
29004 #if !GTK_CHECK_VERSION(2,6,0)
29005 Not GTK+ 2.6
29006 #endif
29007
29008 ;
29009 return 0;
29010 }
29011 _ACEOF
29012 rm -f conftest.$ac_objext
29013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29014 (eval $ac_compile) 2>conftest.er1
29015 ac_status=$?
29016 grep -v '^ *+' conftest.er1 >conftest.err
29017 rm -f conftest.er1
29018 cat conftest.err >&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); } &&
29021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29024 ac_status=$?
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; } &&
29027 { ac_try='test -s conftest.$ac_objext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29030 ac_status=$?
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033
29034 cat >>confdefs.h <<\_ACEOF
29035 #define __WXGTK26__ 1
29036 _ACEOF
29037
29038 cat >>confdefs.h <<\_ACEOF
29039 #define __WXGTK24__ 1
29040 _ACEOF
29041
29042 echo "$as_me:$LINENO: result: yes" >&5
29043 echo "${ECHO_T}yes" >&6
29044 ac_wxgtk26=1
29045
29046 else
29047 echo "$as_me: failed program was:" >&5
29048 sed 's/^/| /' conftest.$ac_ext >&5
29049
29050
29051 echo "$as_me:$LINENO: result: no" >&5
29052 echo "${ECHO_T}no" >&6
29053 ac_wxgtk26=0
29054
29055 fi
29056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29057
29058 if test "$ac_wxgtk26" = 0; then
29059 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29060 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29061 cat >conftest.$ac_ext <<_ACEOF
29062 /* confdefs.h. */
29063 _ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29067
29068 #include <gtk/gtk.h>
29069
29070 int
29071 main ()
29072 {
29073
29074 #if !GTK_CHECK_VERSION(2,4,0)
29075 Not GTK+ 2.4
29076 #endif
29077
29078 ;
29079 return 0;
29080 }
29081 _ACEOF
29082 rm -f conftest.$ac_objext
29083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29084 (eval $ac_compile) 2>conftest.er1
29085 ac_status=$?
29086 grep -v '^ *+' conftest.er1 >conftest.err
29087 rm -f conftest.er1
29088 cat conftest.err >&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; } &&
29097 { ac_try='test -s conftest.$ac_objext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29100 ac_status=$?
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103
29104 cat >>confdefs.h <<\_ACEOF
29105 #define __WXGTK24__ 1
29106 _ACEOF
29107
29108 echo "$as_me:$LINENO: result: yes" >&5
29109 echo "${ECHO_T}yes" >&6
29110
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115
29116 echo "$as_me:$LINENO: result: no" >&5
29117 echo "${ECHO_T}no" >&6
29118
29119 fi
29120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29121 fi
29122
29123 CFLAGS="$save_CFLAGS"
29124 LIBS="$save_LIBS"
29125 else
29126 if test "$wxUSE_UNICODE" = "yes"; then
29127 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29128 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29129 wxUSE_UNICODE=no
29130 fi
29131
29132 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29133 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29134 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 else
29137 ac_check_lib_save_LIBS=$LIBS
29138 LIBS="-lgdk $LIBS"
29139 cat >conftest.$ac_ext <<_ACEOF
29140 /* confdefs.h. */
29141 _ACEOF
29142 cat confdefs.h >>conftest.$ac_ext
29143 cat >>conftest.$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29145
29146 /* Override any gcc2 internal prototype to avoid an error. */
29147 #ifdef __cplusplus
29148 extern "C"
29149 #endif
29150 /* We use char because int might match the return type of a gcc2
29151 builtin and then its argument prototype would still apply. */
29152 char gdk_im_open ();
29153 int
29154 main ()
29155 {
29156 gdk_im_open ();
29157 ;
29158 return 0;
29159 }
29160 _ACEOF
29161 rm -f conftest.$ac_objext conftest$ac_exeext
29162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29163 (eval $ac_link) 2>conftest.er1
29164 ac_status=$?
29165 grep -v '^ *+' conftest.er1 >conftest.err
29166 rm -f conftest.er1
29167 cat conftest.err >&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); } &&
29170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29172 (eval $ac_try) 2>&5
29173 ac_status=$?
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); }; } &&
29176 { ac_try='test -s conftest$ac_exeext'
29177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178 (eval $ac_try) 2>&5
29179 ac_status=$?
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; }; then
29182 ac_cv_lib_gdk_gdk_im_open=yes
29183 else
29184 echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29186
29187 ac_cv_lib_gdk_gdk_im_open=no
29188 fi
29189 rm -f conftest.err conftest.$ac_objext \
29190 conftest$ac_exeext conftest.$ac_ext
29191 LIBS=$ac_check_lib_save_LIBS
29192 fi
29193 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29194 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29195 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29196 cat >>confdefs.h <<\_ACEOF
29197 #define HAVE_XIM 1
29198 _ACEOF
29199
29200 fi
29201
29202 fi
29203
29204 if test "$USE_DARWIN" != 1; then
29205
29206 for ac_func in poll
29207 do
29208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29209 echo "$as_me:$LINENO: checking for $ac_func" >&5
29210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29211 if eval "test \"\${$as_ac_var+set}\" = set"; then
29212 echo $ECHO_N "(cached) $ECHO_C" >&6
29213 else
29214 cat >conftest.$ac_ext <<_ACEOF
29215 /* confdefs.h. */
29216 _ACEOF
29217 cat confdefs.h >>conftest.$ac_ext
29218 cat >>conftest.$ac_ext <<_ACEOF
29219 /* end confdefs.h. */
29220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29222 #define $ac_func innocuous_$ac_func
29223
29224 /* System header to define __stub macros and hopefully few prototypes,
29225 which can conflict with char $ac_func (); below.
29226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29227 <limits.h> exists even on freestanding compilers. */
29228
29229 #ifdef __STDC__
29230 # include <limits.h>
29231 #else
29232 # include <assert.h>
29233 #endif
29234
29235 #undef $ac_func
29236
29237 /* Override any gcc2 internal prototype to avoid an error. */
29238 #ifdef __cplusplus
29239 extern "C"
29240 {
29241 #endif
29242 /* We use char because int might match the return type of a gcc2
29243 builtin and then its argument prototype would still apply. */
29244 char $ac_func ();
29245 /* The GNU C library defines this for functions which it implements
29246 to always fail with ENOSYS. Some functions are actually named
29247 something starting with __ and the normal name is an alias. */
29248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29249 choke me
29250 #else
29251 char (*f) () = $ac_func;
29252 #endif
29253 #ifdef __cplusplus
29254 }
29255 #endif
29256
29257 int
29258 main ()
29259 {
29260 return f != $ac_func;
29261 ;
29262 return 0;
29263 }
29264 _ACEOF
29265 rm -f conftest.$ac_objext conftest$ac_exeext
29266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29267 (eval $ac_link) 2>conftest.er1
29268 ac_status=$?
29269 grep -v '^ *+' conftest.er1 >conftest.err
29270 rm -f conftest.er1
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } &&
29274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29276 (eval $ac_try) 2>&5
29277 ac_status=$?
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; } &&
29280 { ac_try='test -s conftest$ac_exeext'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; }; then
29286 eval "$as_ac_var=yes"
29287 else
29288 echo "$as_me: failed program was:" >&5
29289 sed 's/^/| /' conftest.$ac_ext >&5
29290
29291 eval "$as_ac_var=no"
29292 fi
29293 rm -f conftest.err conftest.$ac_objext \
29294 conftest$ac_exeext conftest.$ac_ext
29295 fi
29296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29298 if test `eval echo '${'$as_ac_var'}'` = yes; then
29299 cat >>confdefs.h <<_ACEOF
29300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29301 _ACEOF
29302
29303 fi
29304 done
29305
29306 fi
29307
29308 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29309 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29310
29311 AFMINSTALL=afminstall
29312 TOOLKIT=GTK
29313 GUIDIST=GTK_DIST
29314
29315 if test "$wxUSE_GPE" = "yes"; then
29316 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29317 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29318
29319 ac_find_libraries=
29320 for ac_dir in $SEARCH_LIB;
29321 do
29322 for ac_extension in a so sl dylib dll.a; do
29323 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29324 ac_find_libraries=$ac_dir
29325 break 2
29326 fi
29327 done
29328 done
29329
29330 if test "$ac_find_libraries" != "" ; then
29331
29332 if test "$ac_find_libraries" = "default location"; then
29333 ac_path_to_link=""
29334 else
29335 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29336 result=$?
29337 if test $result = 0; then
29338 ac_path_to_link=""
29339 else
29340 ac_path_to_link=" -L$ac_find_libraries"
29341 fi
29342 fi
29343
29344 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29345 WXGPE=1
29346 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29347 echo "${ECHO_T}found in $ac_find_libraries" >&6
29348 else
29349 echo "$as_me:$LINENO: result: not found" >&5
29350 echo "${ECHO_T}not found" >&6
29351 fi
29352
29353 fi
29354 fi
29355
29356 if test "$wxUSE_MGL" = 1; then
29357 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29358 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29359 if test "x$MGL_ROOT" = x ; then
29360 echo "$as_me:$LINENO: result: not found" >&5
29361 echo "${ECHO_T}not found" >&6
29362 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29363 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29364 { (exit 1); exit 1; }; }
29365 else
29366 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29367 echo "${ECHO_T}$MGL_ROOT" >&6
29368 fi
29369
29370 echo "$as_me:$LINENO: checking for libmgl location" >&5
29371 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29372 case "${host}" in
29373 *-*-linux* )
29374 if test "x$wxUSE_SHARED" = xyes ; then
29375 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29376 else
29377 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29378 fi
29379 ;;
29380 *-pc-msdosdjgpp )
29381 mgl_os_candidates="dos32/dj2"
29382 ;;
29383 *)
29384 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29385 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29386 { (exit 1); exit 1; }; }
29387 esac
29388
29389 mgl_lib_type=""
29390 mgl_os=""
29391
29392 for mgl_os_i in $mgl_os_candidates ; do
29393 if test "x$mgl_os" = x ; then
29394 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29395 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29396 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29397 mgl_lib_type=debug
29398 mgl_os=$mgl_os_i
29399 fi
29400 fi
29401 if test "x$mgl_lib_type" = x ; then
29402 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29403 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29404 mgl_lib_type=release
29405 mgl_os=$mgl_os_i
29406 fi
29407 fi
29408 fi
29409 done
29410
29411 if test "x$mgl_os" = x ; then
29412 echo "$as_me:$LINENO: result: not found" >&5
29413 echo "${ECHO_T}not found" >&6
29414 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29415 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29416 { (exit 1); exit 1; }; }
29417 fi
29418 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29419 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29420
29421 wxUSE_UNIVERSAL="yes"
29422
29423 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29424 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29425
29426 AFMINSTALL=afminstall
29427 TOOLKIT=MGL
29428 GUIDIST=MGL_DIST
29429 fi
29430
29431 if test "$wxUSE_DFB" = 1; then
29432
29433
29434 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29435 if test -n "$ac_tool_prefix"; then
29436 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29437 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29438 echo "$as_me:$LINENO: checking for $ac_word" >&5
29439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29440 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29441 echo $ECHO_N "(cached) $ECHO_C" >&6
29442 else
29443 case $PKG_CONFIG in
29444 [\\/]* | ?:[\\/]*)
29445 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29446 ;;
29447 *)
29448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29449 for as_dir in $PATH
29450 do
29451 IFS=$as_save_IFS
29452 test -z "$as_dir" && as_dir=.
29453 for ac_exec_ext in '' $ac_executable_extensions; do
29454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29455 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29457 break 2
29458 fi
29459 done
29460 done
29461
29462 ;;
29463 esac
29464 fi
29465 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29466
29467 if test -n "$PKG_CONFIG"; then
29468 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29469 echo "${ECHO_T}$PKG_CONFIG" >&6
29470 else
29471 echo "$as_me:$LINENO: result: no" >&5
29472 echo "${ECHO_T}no" >&6
29473 fi
29474
29475 fi
29476 if test -z "$ac_cv_path_PKG_CONFIG"; then
29477 ac_pt_PKG_CONFIG=$PKG_CONFIG
29478 # Extract the first word of "pkg-config", so it can be a program name with args.
29479 set dummy pkg-config; ac_word=$2
29480 echo "$as_me:$LINENO: checking for $ac_word" >&5
29481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29482 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29484 else
29485 case $ac_pt_PKG_CONFIG in
29486 [\\/]* | ?:[\\/]*)
29487 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29488 ;;
29489 *)
29490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29491 for as_dir in $PATH
29492 do
29493 IFS=$as_save_IFS
29494 test -z "$as_dir" && as_dir=.
29495 for ac_exec_ext in '' $ac_executable_extensions; do
29496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29497 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29499 break 2
29500 fi
29501 done
29502 done
29503
29504 ;;
29505 esac
29506 fi
29507 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29508
29509 if test -n "$ac_pt_PKG_CONFIG"; then
29510 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29511 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29512 else
29513 echo "$as_me:$LINENO: result: no" >&5
29514 echo "${ECHO_T}no" >&6
29515 fi
29516
29517 PKG_CONFIG=$ac_pt_PKG_CONFIG
29518 else
29519 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29520 fi
29521
29522 fi
29523 if test -n "$PKG_CONFIG"; then
29524 _pkg_min_version=0.9.0
29525 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29528 echo "$as_me:$LINENO: result: yes" >&5
29529 echo "${ECHO_T}yes" >&6
29530 else
29531 echo "$as_me:$LINENO: result: no" >&5
29532 echo "${ECHO_T}no" >&6
29533 PKG_CONFIG=""
29534 fi
29535
29536 fi
29537
29538
29539 pkg_failed=no
29540 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29541 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29542
29543 if test -n "$PKG_CONFIG"; then
29544 if test -n "$DIRECTFB_CFLAGS"; then
29545 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29546 else
29547 if test -n "$PKG_CONFIG" && \
29548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29549 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29550 ac_status=$?
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); }; then
29553 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29554 else
29555 pkg_failed=yes
29556 fi
29557 fi
29558 else
29559 pkg_failed=untried
29560 fi
29561 if test -n "$PKG_CONFIG"; then
29562 if test -n "$DIRECTFB_LIBS"; then
29563 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29564 else
29565 if test -n "$PKG_CONFIG" && \
29566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29567 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; then
29571 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29572 else
29573 pkg_failed=yes
29574 fi
29575 fi
29576 else
29577 pkg_failed=untried
29578 fi
29579
29580
29581
29582 if test $pkg_failed = yes; then
29583
29584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29585 _pkg_short_errors_supported=yes
29586 else
29587 _pkg_short_errors_supported=no
29588 fi
29589 if test $_pkg_short_errors_supported = yes; then
29590 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29591 else
29592 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29593 fi
29594 # Put the nasty error message in config.log where it belongs
29595 echo "$DIRECTFB_PKG_ERRORS" >&5
29596
29597
29598 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29599 echo "$as_me: error: DirectFB not found." >&2;}
29600 { (exit 1); exit 1; }; }
29601
29602
29603 elif test $pkg_failed = untried; then
29604
29605 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29606 echo "$as_me: error: DirectFB not found." >&2;}
29607 { (exit 1); exit 1; }; }
29608
29609
29610 else
29611 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29612 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29613 echo "$as_me:$LINENO: result: yes" >&5
29614 echo "${ECHO_T}yes" >&6
29615
29616 wxUSE_UNIVERSAL="yes"
29617 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29618 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29619 TOOLKIT=DFB
29620 GUIDIST=DFB_DIST
29621
29622 fi
29623 fi
29624
29625 if test "$wxUSE_MICROWIN" = 1; then
29626 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29627 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29628 if test "x$MICROWINDOWS" = x ; then
29629 echo "$as_me:$LINENO: result: not found" >&5
29630 echo "${ECHO_T}not found" >&6
29631 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29632 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29633 { (exit 1); exit 1; }; }
29634 else
29635 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29636 echo "${ECHO_T}$MICROWINDOWS" >&6
29637 fi
29638
29639 if test -f $MICROWINDOWS/lib/libmwin.a; then
29640 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29641 echo "${ECHO_T}MicroWindows' libraries found." >&6
29642 else
29643 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29644 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29645 { (exit 1); exit 1; }; }
29646 fi
29647
29648 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29649 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29650
29651 wxUSE_UNIVERSAL="yes"
29652
29653 AFMINSTALL=afminstall
29654 TOOLKIT=MICROWIN
29655 GUIDIST=MICROWIN_DIST
29656
29657 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29658 fi
29659
29660 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29661
29662 if test "x$ac_path_x_has_been_run" != xyes; then
29663 echo "$as_me:$LINENO: checking for X" >&5
29664 echo $ECHO_N "checking for X... $ECHO_C" >&6
29665
29666 ac_path_x_has_been_run=yes
29667
29668 # Check whether --with-x or --without-x was given.
29669 if test "${with_x+set}" = set; then
29670 withval="$with_x"
29671
29672 fi;
29673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29674 if test "x$with_x" = xno; then
29675 # The user explicitly disabled X.
29676 have_x=disabled
29677 else
29678 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29679 # Both variables are already set.
29680 have_x=yes
29681 else
29682 if test "${ac_cv_have_x+set}" = set; then
29683 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 else
29685 # One or both of the vars are not set, and there is no cached value.
29686 ac_x_includes=no ac_x_libraries=no
29687 rm -fr conftest.dir
29688 if mkdir conftest.dir; then
29689 cd conftest.dir
29690 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29691 cat >Imakefile <<'_ACEOF'
29692 acfindx:
29693 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29694 _ACEOF
29695 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29697 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29699 for ac_extension in a so sl; do
29700 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29701 test -f $ac_im_libdir/libX11.$ac_extension; then
29702 ac_im_usrlibdir=$ac_im_libdir; break
29703 fi
29704 done
29705 # Screen out bogus values from the imake configuration. They are
29706 # bogus both because they are the default anyway, and because
29707 # using them would break gcc on systems where it needs fixed includes.
29708 case $ac_im_incroot in
29709 /usr/include) ;;
29710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29711 esac
29712 case $ac_im_usrlibdir in
29713 /usr/lib | /lib) ;;
29714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29715 esac
29716 fi
29717 cd ..
29718 rm -fr conftest.dir
29719 fi
29720
29721 # Standard set of common directories for X headers.
29722 # Check X11 before X11Rn because it is often a symlink to the current release.
29723 ac_x_header_dirs='
29724 /usr/X11/include
29725 /usr/X11R6/include
29726 /usr/X11R5/include
29727 /usr/X11R4/include
29728
29729 /usr/include/X11
29730 /usr/include/X11R6
29731 /usr/include/X11R5
29732 /usr/include/X11R4
29733
29734 /usr/local/X11/include
29735 /usr/local/X11R6/include
29736 /usr/local/X11R5/include
29737 /usr/local/X11R4/include
29738
29739 /usr/local/include/X11
29740 /usr/local/include/X11R6
29741 /usr/local/include/X11R5
29742 /usr/local/include/X11R4
29743
29744 /usr/X386/include
29745 /usr/x386/include
29746 /usr/XFree86/include/X11
29747
29748 /usr/include
29749 /usr/local/include
29750 /usr/unsupported/include
29751 /usr/athena/include
29752 /usr/local/x11r5/include
29753 /usr/lpp/Xamples/include
29754
29755 /usr/openwin/include
29756 /usr/openwin/share/include'
29757
29758 if test "$ac_x_includes" = no; then
29759 # Guess where to find include files, by looking for a specified header file.
29760 # First, try using that file with no special directory specified.
29761 cat >conftest.$ac_ext <<_ACEOF
29762 /* confdefs.h. */
29763 _ACEOF
29764 cat confdefs.h >>conftest.$ac_ext
29765 cat >>conftest.$ac_ext <<_ACEOF
29766 /* end confdefs.h. */
29767 #include <X11/Intrinsic.h>
29768 _ACEOF
29769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29771 ac_status=$?
29772 grep -v '^ *+' conftest.er1 >conftest.err
29773 rm -f conftest.er1
29774 cat conftest.err >&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } >/dev/null; then
29777 if test -s conftest.err; then
29778 ac_cpp_err=$ac_c_preproc_warn_flag
29779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29780 else
29781 ac_cpp_err=
29782 fi
29783 else
29784 ac_cpp_err=yes
29785 fi
29786 if test -z "$ac_cpp_err"; then
29787 # We can compile using X headers with no special include directory.
29788 ac_x_includes=
29789 else
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29792
29793 for ac_dir in $ac_x_header_dirs; do
29794 if test -r "$ac_dir/X11/Intrinsic.h"; then
29795 ac_x_includes=$ac_dir
29796 break
29797 fi
29798 done
29799 fi
29800 rm -f conftest.err conftest.$ac_ext
29801 fi # $ac_x_includes = no
29802
29803 if test "$ac_x_libraries" = no; then
29804 # Check for the libraries.
29805 # See if we find them without any special options.
29806 # Don't add to $LIBS permanently.
29807 ac_save_LIBS=$LIBS
29808 LIBS="-lXt $LIBS"
29809 cat >conftest.$ac_ext <<_ACEOF
29810 /* confdefs.h. */
29811 _ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 #include <X11/Intrinsic.h>
29816 int
29817 main ()
29818 {
29819 XtMalloc (0)
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>conftest.er1
29827 ac_status=$?
29828 grep -v '^ *+' conftest.er1 >conftest.err
29829 rm -f conftest.er1
29830 cat conftest.err >&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); } &&
29833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29835 (eval $ac_try) 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); }; } &&
29839 { ac_try='test -s conftest$ac_exeext'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; }; then
29845 LIBS=$ac_save_LIBS
29846 # We can link X programs with no special library path.
29847 ac_x_libraries=
29848 else
29849 echo "$as_me: failed program was:" >&5
29850 sed 's/^/| /' conftest.$ac_ext >&5
29851
29852 LIBS=$ac_save_LIBS
29853 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29854 do
29855 # Don't even attempt the hair of trying to link an X program!
29856 for ac_extension in a so sl; do
29857 if test -r $ac_dir/libXt.$ac_extension; then
29858 ac_x_libraries=$ac_dir
29859 break 2
29860 fi
29861 done
29862 done
29863 fi
29864 rm -f conftest.err conftest.$ac_objext \
29865 conftest$ac_exeext conftest.$ac_ext
29866 fi # $ac_x_libraries = no
29867
29868 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29869 # Didn't find X anywhere. Cache the known absence of X.
29870 ac_cv_have_x="have_x=no"
29871 else
29872 # Record where we found X for the cache.
29873 ac_cv_have_x="have_x=yes \
29874 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29875 fi
29876 fi
29877
29878 fi
29879 eval "$ac_cv_have_x"
29880 fi # $with_x != no
29881
29882 if test "$have_x" != yes; then
29883 echo "$as_me:$LINENO: result: $have_x" >&5
29884 echo "${ECHO_T}$have_x" >&6
29885 no_x=yes
29886 else
29887 # If each of the values was on the command line, it overrides each guess.
29888 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29889 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29890 # Update the cache value to reflect the command line values.
29891 ac_cv_have_x="have_x=yes \
29892 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29893 # It might be that x_includes is empty (headers are found in the
29894 # standard search path. Then output the corresponding message
29895 ac_out_x_includes=$x_includes
29896 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29897 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29898 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29899 fi
29900
29901 fi
29902 if test "$no_x" = yes; then
29903 # Not all programs may use this symbol, but it does not hurt to define it.
29904
29905 cat >>confdefs.h <<\_ACEOF
29906 #define X_DISPLAY_MISSING 1
29907 _ACEOF
29908
29909 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29910 else
29911 if test -n "$x_includes"; then
29912 X_CFLAGS="$X_CFLAGS -I$x_includes"
29913 fi
29914
29915 # It would also be nice to do this for all -L options, not just this one.
29916 if test -n "$x_libraries"; then
29917 X_LIBS="$X_LIBS -L$x_libraries"
29918 # For Solaris; some versions of Sun CC require a space after -R and
29919 # others require no space. Words are not sufficient . . . .
29920 case `(uname -sr) 2>/dev/null` in
29921 "SunOS 5"*)
29922 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29923 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29924 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29925 cat >conftest.$ac_ext <<_ACEOF
29926 /* confdefs.h. */
29927 _ACEOF
29928 cat confdefs.h >>conftest.$ac_ext
29929 cat >>conftest.$ac_ext <<_ACEOF
29930 /* end confdefs.h. */
29931
29932 int
29933 main ()
29934 {
29935
29936 ;
29937 return 0;
29938 }
29939 _ACEOF
29940 rm -f conftest.$ac_objext conftest$ac_exeext
29941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29942 (eval $ac_link) 2>conftest.er1
29943 ac_status=$?
29944 grep -v '^ *+' conftest.er1 >conftest.err
29945 rm -f conftest.er1
29946 cat conftest.err >&5
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); } &&
29949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; } &&
29955 { ac_try='test -s conftest$ac_exeext'
29956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957 (eval $ac_try) 2>&5
29958 ac_status=$?
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; }; then
29961 ac_R_nospace=yes
29962 else
29963 echo "$as_me: failed program was:" >&5
29964 sed 's/^/| /' conftest.$ac_ext >&5
29965
29966 ac_R_nospace=no
29967 fi
29968 rm -f conftest.err conftest.$ac_objext \
29969 conftest$ac_exeext conftest.$ac_ext
29970 if test $ac_R_nospace = yes; then
29971 echo "$as_me:$LINENO: result: no" >&5
29972 echo "${ECHO_T}no" >&6
29973 X_LIBS="$X_LIBS -R$x_libraries"
29974 else
29975 LIBS="$ac_xsave_LIBS -R $x_libraries"
29976 cat >conftest.$ac_ext <<_ACEOF
29977 /* confdefs.h. */
29978 _ACEOF
29979 cat confdefs.h >>conftest.$ac_ext
29980 cat >>conftest.$ac_ext <<_ACEOF
29981 /* end confdefs.h. */
29982
29983 int
29984 main ()
29985 {
29986
29987 ;
29988 return 0;
29989 }
29990 _ACEOF
29991 rm -f conftest.$ac_objext conftest$ac_exeext
29992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29993 (eval $ac_link) 2>conftest.er1
29994 ac_status=$?
29995 grep -v '^ *+' conftest.er1 >conftest.err
29996 rm -f conftest.er1
29997 cat conftest.err >&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30003 ac_status=$?
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; } &&
30006 { ac_try='test -s conftest$ac_exeext'
30007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30008 (eval $ac_try) 2>&5
30009 ac_status=$?
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); }; }; then
30012 ac_R_space=yes
30013 else
30014 echo "$as_me: failed program was:" >&5
30015 sed 's/^/| /' conftest.$ac_ext >&5
30016
30017 ac_R_space=no
30018 fi
30019 rm -f conftest.err conftest.$ac_objext \
30020 conftest$ac_exeext conftest.$ac_ext
30021 if test $ac_R_space = yes; then
30022 echo "$as_me:$LINENO: result: yes" >&5
30023 echo "${ECHO_T}yes" >&6
30024 X_LIBS="$X_LIBS -R $x_libraries"
30025 else
30026 echo "$as_me:$LINENO: result: neither works" >&5
30027 echo "${ECHO_T}neither works" >&6
30028 fi
30029 fi
30030 LIBS=$ac_xsave_LIBS
30031 esac
30032 fi
30033
30034 # Check for system-dependent libraries X programs must link with.
30035 # Do this before checking for the system-independent R6 libraries
30036 # (-lICE), since we may need -lsocket or whatever for X linking.
30037
30038 if test "$ISC" = yes; then
30039 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30040 else
30041 # Martyn Johnson says this is needed for Ultrix, if the X
30042 # libraries were built with DECnet support. And Karl Berry says
30043 # the Alpha needs dnet_stub (dnet does not exist).
30044 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30045 cat >conftest.$ac_ext <<_ACEOF
30046 /* confdefs.h. */
30047 _ACEOF
30048 cat confdefs.h >>conftest.$ac_ext
30049 cat >>conftest.$ac_ext <<_ACEOF
30050 /* end confdefs.h. */
30051
30052 /* Override any gcc2 internal prototype to avoid an error. */
30053 #ifdef __cplusplus
30054 extern "C"
30055 #endif
30056 /* We use char because int might match the return type of a gcc2
30057 builtin and then its argument prototype would still apply. */
30058 char XOpenDisplay ();
30059 int
30060 main ()
30061 {
30062 XOpenDisplay ();
30063 ;
30064 return 0;
30065 }
30066 _ACEOF
30067 rm -f conftest.$ac_objext conftest$ac_exeext
30068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30069 (eval $ac_link) 2>conftest.er1
30070 ac_status=$?
30071 grep -v '^ *+' conftest.er1 >conftest.err
30072 rm -f conftest.er1
30073 cat conftest.err >&5
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); } &&
30076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078 (eval $ac_try) 2>&5
30079 ac_status=$?
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); }; } &&
30082 { ac_try='test -s conftest$ac_exeext'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; }; then
30088 :
30089 else
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30092
30093 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30096 echo $ECHO_N "(cached) $ECHO_C" >&6
30097 else
30098 ac_check_lib_save_LIBS=$LIBS
30099 LIBS="-ldnet $LIBS"
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106
30107 /* Override any gcc2 internal prototype to avoid an error. */
30108 #ifdef __cplusplus
30109 extern "C"
30110 #endif
30111 /* We use char because int might match the return type of a gcc2
30112 builtin and then its argument prototype would still apply. */
30113 char dnet_ntoa ();
30114 int
30115 main ()
30116 {
30117 dnet_ntoa ();
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 rm -f conftest.$ac_objext conftest$ac_exeext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30124 (eval $ac_link) 2>conftest.er1
30125 ac_status=$?
30126 grep -v '^ *+' conftest.er1 >conftest.err
30127 rm -f conftest.er1
30128 cat conftest.err >&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30134 ac_status=$?
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; } &&
30137 { ac_try='test -s conftest$ac_exeext'
30138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30139 (eval $ac_try) 2>&5
30140 ac_status=$?
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30143 ac_cv_lib_dnet_dnet_ntoa=yes
30144 else
30145 echo "$as_me: failed program was:" >&5
30146 sed 's/^/| /' conftest.$ac_ext >&5
30147
30148 ac_cv_lib_dnet_dnet_ntoa=no
30149 fi
30150 rm -f conftest.err conftest.$ac_objext \
30151 conftest$ac_exeext conftest.$ac_ext
30152 LIBS=$ac_check_lib_save_LIBS
30153 fi
30154 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30158 fi
30159
30160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30161 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166 ac_check_lib_save_LIBS=$LIBS
30167 LIBS="-ldnet_stub $LIBS"
30168 cat >conftest.$ac_ext <<_ACEOF
30169 /* confdefs.h. */
30170 _ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30174
30175 /* Override any gcc2 internal prototype to avoid an error. */
30176 #ifdef __cplusplus
30177 extern "C"
30178 #endif
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30181 char dnet_ntoa ();
30182 int
30183 main ()
30184 {
30185 dnet_ntoa ();
30186 ;
30187 return 0;
30188 }
30189 _ACEOF
30190 rm -f conftest.$ac_objext conftest$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30193 ac_status=$?
30194 grep -v '^ *+' conftest.er1 >conftest.err
30195 rm -f conftest.er1
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30212 else
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.$ac_ext >&5
30215
30216 ac_cv_lib_dnet_stub_dnet_ntoa=no
30217 fi
30218 rm -f conftest.err conftest.$ac_objext \
30219 conftest$ac_exeext conftest.$ac_ext
30220 LIBS=$ac_check_lib_save_LIBS
30221 fi
30222 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30223 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30224 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30225 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30226 fi
30227
30228 fi
30229 fi
30230 rm -f conftest.err conftest.$ac_objext \
30231 conftest$ac_exeext conftest.$ac_ext
30232 LIBS="$ac_xsave_LIBS"
30233
30234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30235 # to get the SysV transport functions.
30236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30237 # needs -lnsl.
30238 # The nsl library prevents programs from opening the X display
30239 # on Irix 5.2, according to T.E. Dickey.
30240 # The functions gethostbyname, getservbyname, and inet_addr are
30241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30242 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30243 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30244 if test "${ac_cv_func_gethostbyname+set}" = set; then
30245 echo $ECHO_N "(cached) $ECHO_C" >&6
30246 else
30247 cat >conftest.$ac_ext <<_ACEOF
30248 /* confdefs.h. */
30249 _ACEOF
30250 cat confdefs.h >>conftest.$ac_ext
30251 cat >>conftest.$ac_ext <<_ACEOF
30252 /* end confdefs.h. */
30253 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30255 #define gethostbyname innocuous_gethostbyname
30256
30257 /* System header to define __stub macros and hopefully few prototypes,
30258 which can conflict with char gethostbyname (); below.
30259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30260 <limits.h> exists even on freestanding compilers. */
30261
30262 #ifdef __STDC__
30263 # include <limits.h>
30264 #else
30265 # include <assert.h>
30266 #endif
30267
30268 #undef gethostbyname
30269
30270 /* Override any gcc2 internal prototype to avoid an error. */
30271 #ifdef __cplusplus
30272 extern "C"
30273 {
30274 #endif
30275 /* We use char because int might match the return type of a gcc2
30276 builtin and then its argument prototype would still apply. */
30277 char gethostbyname ();
30278 /* The GNU C library defines this for functions which it implements
30279 to always fail with ENOSYS. Some functions are actually named
30280 something starting with __ and the normal name is an alias. */
30281 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30282 choke me
30283 #else
30284 char (*f) () = gethostbyname;
30285 #endif
30286 #ifdef __cplusplus
30287 }
30288 #endif
30289
30290 int
30291 main ()
30292 {
30293 return f != gethostbyname;
30294 ;
30295 return 0;
30296 }
30297 _ACEOF
30298 rm -f conftest.$ac_objext conftest$ac_exeext
30299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30300 (eval $ac_link) 2>conftest.er1
30301 ac_status=$?
30302 grep -v '^ *+' conftest.er1 >conftest.err
30303 rm -f conftest.er1
30304 cat conftest.err >&5
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } &&
30307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30309 (eval $ac_try) 2>&5
30310 ac_status=$?
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); }; } &&
30313 { ac_try='test -s conftest$ac_exeext'
30314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315 (eval $ac_try) 2>&5
30316 ac_status=$?
30317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318 (exit $ac_status); }; }; then
30319 ac_cv_func_gethostbyname=yes
30320 else
30321 echo "$as_me: failed program was:" >&5
30322 sed 's/^/| /' conftest.$ac_ext >&5
30323
30324 ac_cv_func_gethostbyname=no
30325 fi
30326 rm -f conftest.err conftest.$ac_objext \
30327 conftest$ac_exeext conftest.$ac_ext
30328 fi
30329 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30330 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30331
30332 if test $ac_cv_func_gethostbyname = no; then
30333 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30334 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30335 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 else
30338 ac_check_lib_save_LIBS=$LIBS
30339 LIBS="-lnsl $LIBS"
30340 cat >conftest.$ac_ext <<_ACEOF
30341 /* confdefs.h. */
30342 _ACEOF
30343 cat confdefs.h >>conftest.$ac_ext
30344 cat >>conftest.$ac_ext <<_ACEOF
30345 /* end confdefs.h. */
30346
30347 /* Override any gcc2 internal prototype to avoid an error. */
30348 #ifdef __cplusplus
30349 extern "C"
30350 #endif
30351 /* We use char because int might match the return type of a gcc2
30352 builtin and then its argument prototype would still apply. */
30353 char gethostbyname ();
30354 int
30355 main ()
30356 {
30357 gethostbyname ();
30358 ;
30359 return 0;
30360 }
30361 _ACEOF
30362 rm -f conftest.$ac_objext conftest$ac_exeext
30363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30364 (eval $ac_link) 2>conftest.er1
30365 ac_status=$?
30366 grep -v '^ *+' conftest.er1 >conftest.err
30367 rm -f conftest.er1
30368 cat conftest.err >&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } &&
30371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30374 ac_status=$?
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; } &&
30377 { ac_try='test -s conftest$ac_exeext'
30378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30379 (eval $ac_try) 2>&5
30380 ac_status=$?
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); }; }; then
30383 ac_cv_lib_nsl_gethostbyname=yes
30384 else
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30387
30388 ac_cv_lib_nsl_gethostbyname=no
30389 fi
30390 rm -f conftest.err conftest.$ac_objext \
30391 conftest$ac_exeext conftest.$ac_ext
30392 LIBS=$ac_check_lib_save_LIBS
30393 fi
30394 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30395 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30396 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30397 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30398 fi
30399
30400 if test $ac_cv_lib_nsl_gethostbyname = no; then
30401 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30402 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30403 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30404 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 else
30406 ac_check_lib_save_LIBS=$LIBS
30407 LIBS="-lbsd $LIBS"
30408 cat >conftest.$ac_ext <<_ACEOF
30409 /* confdefs.h. */
30410 _ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414
30415 /* Override any gcc2 internal prototype to avoid an error. */
30416 #ifdef __cplusplus
30417 extern "C"
30418 #endif
30419 /* We use char because int might match the return type of a gcc2
30420 builtin and then its argument prototype would still apply. */
30421 char gethostbyname ();
30422 int
30423 main ()
30424 {
30425 gethostbyname ();
30426 ;
30427 return 0;
30428 }
30429 _ACEOF
30430 rm -f conftest.$ac_objext conftest$ac_exeext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30432 (eval $ac_link) 2>conftest.er1
30433 ac_status=$?
30434 grep -v '^ *+' conftest.er1 >conftest.err
30435 rm -f conftest.er1
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441 (eval $ac_try) 2>&5
30442 ac_status=$?
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); }; } &&
30445 { ac_try='test -s conftest$ac_exeext'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30448 ac_status=$?
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; }; then
30451 ac_cv_lib_bsd_gethostbyname=yes
30452 else
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30455
30456 ac_cv_lib_bsd_gethostbyname=no
30457 fi
30458 rm -f conftest.err conftest.$ac_objext \
30459 conftest$ac_exeext conftest.$ac_ext
30460 LIBS=$ac_check_lib_save_LIBS
30461 fi
30462 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30463 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30464 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30465 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30466 fi
30467
30468 fi
30469 fi
30470
30471 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30472 # socket/setsockopt and other routines are undefined under SCO ODT
30473 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30474 # on later versions), says Simon Leinen: it contains gethostby*
30475 # variants that don't use the name server (or something). -lsocket
30476 # must be given before -lnsl if both are needed. We assume that
30477 # if connect needs -lnsl, so does gethostbyname.
30478 echo "$as_me:$LINENO: checking for connect" >&5
30479 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30480 if test "${ac_cv_func_connect+set}" = set; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 else
30483 cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h. */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30491 #define connect innocuous_connect
30492
30493 /* System header to define __stub macros and hopefully few prototypes,
30494 which can conflict with char connect (); below.
30495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30496 <limits.h> exists even on freestanding compilers. */
30497
30498 #ifdef __STDC__
30499 # include <limits.h>
30500 #else
30501 # include <assert.h>
30502 #endif
30503
30504 #undef connect
30505
30506 /* Override any gcc2 internal prototype to avoid an error. */
30507 #ifdef __cplusplus
30508 extern "C"
30509 {
30510 #endif
30511 /* We use char because int might match the return type of a gcc2
30512 builtin and then its argument prototype would still apply. */
30513 char connect ();
30514 /* The GNU C library defines this for functions which it implements
30515 to always fail with ENOSYS. Some functions are actually named
30516 something starting with __ and the normal name is an alias. */
30517 #if defined (__stub_connect) || defined (__stub___connect)
30518 choke me
30519 #else
30520 char (*f) () = connect;
30521 #endif
30522 #ifdef __cplusplus
30523 }
30524 #endif
30525
30526 int
30527 main ()
30528 {
30529 return f != connect;
30530 ;
30531 return 0;
30532 }
30533 _ACEOF
30534 rm -f conftest.$ac_objext conftest$ac_exeext
30535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30536 (eval $ac_link) 2>conftest.er1
30537 ac_status=$?
30538 grep -v '^ *+' conftest.er1 >conftest.err
30539 rm -f conftest.er1
30540 cat conftest.err >&5
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); } &&
30543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30546 ac_status=$?
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; } &&
30549 { ac_try='test -s conftest$ac_exeext'
30550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30551 (eval $ac_try) 2>&5
30552 ac_status=$?
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); }; }; then
30555 ac_cv_func_connect=yes
30556 else
30557 echo "$as_me: failed program was:" >&5
30558 sed 's/^/| /' conftest.$ac_ext >&5
30559
30560 ac_cv_func_connect=no
30561 fi
30562 rm -f conftest.err conftest.$ac_objext \
30563 conftest$ac_exeext conftest.$ac_ext
30564 fi
30565 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30566 echo "${ECHO_T}$ac_cv_func_connect" >&6
30567
30568 if test $ac_cv_func_connect = no; then
30569 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30570 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30571 if test "${ac_cv_lib_socket_connect+set}" = set; then
30572 echo $ECHO_N "(cached) $ECHO_C" >&6
30573 else
30574 ac_check_lib_save_LIBS=$LIBS
30575 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30576 cat >conftest.$ac_ext <<_ACEOF
30577 /* confdefs.h. */
30578 _ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582
30583 /* Override any gcc2 internal prototype to avoid an error. */
30584 #ifdef __cplusplus
30585 extern "C"
30586 #endif
30587 /* We use char because int might match the return type of a gcc2
30588 builtin and then its argument prototype would still apply. */
30589 char connect ();
30590 int
30591 main ()
30592 {
30593 connect ();
30594 ;
30595 return 0;
30596 }
30597 _ACEOF
30598 rm -f conftest.$ac_objext conftest$ac_exeext
30599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30600 (eval $ac_link) 2>conftest.er1
30601 ac_status=$?
30602 grep -v '^ *+' conftest.er1 >conftest.err
30603 rm -f conftest.er1
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } &&
30607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 (eval $ac_try) 2>&5
30610 ac_status=$?
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); }; } &&
30613 { ac_try='test -s conftest$ac_exeext'
30614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615 (eval $ac_try) 2>&5
30616 ac_status=$?
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); }; }; then
30619 ac_cv_lib_socket_connect=yes
30620 else
30621 echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.$ac_ext >&5
30623
30624 ac_cv_lib_socket_connect=no
30625 fi
30626 rm -f conftest.err conftest.$ac_objext \
30627 conftest$ac_exeext conftest.$ac_ext
30628 LIBS=$ac_check_lib_save_LIBS
30629 fi
30630 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30631 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30632 if test $ac_cv_lib_socket_connect = yes; then
30633 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30634 fi
30635
30636 fi
30637
30638 # Guillermo Gomez says -lposix is necessary on A/UX.
30639 echo "$as_me:$LINENO: checking for remove" >&5
30640 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30641 if test "${ac_cv_func_remove+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 else
30644 cat >conftest.$ac_ext <<_ACEOF
30645 /* confdefs.h. */
30646 _ACEOF
30647 cat confdefs.h >>conftest.$ac_ext
30648 cat >>conftest.$ac_ext <<_ACEOF
30649 /* end confdefs.h. */
30650 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30652 #define remove innocuous_remove
30653
30654 /* System header to define __stub macros and hopefully few prototypes,
30655 which can conflict with char remove (); below.
30656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30657 <limits.h> exists even on freestanding compilers. */
30658
30659 #ifdef __STDC__
30660 # include <limits.h>
30661 #else
30662 # include <assert.h>
30663 #endif
30664
30665 #undef remove
30666
30667 /* Override any gcc2 internal prototype to avoid an error. */
30668 #ifdef __cplusplus
30669 extern "C"
30670 {
30671 #endif
30672 /* We use char because int might match the return type of a gcc2
30673 builtin and then its argument prototype would still apply. */
30674 char remove ();
30675 /* The GNU C library defines this for functions which it implements
30676 to always fail with ENOSYS. Some functions are actually named
30677 something starting with __ and the normal name is an alias. */
30678 #if defined (__stub_remove) || defined (__stub___remove)
30679 choke me
30680 #else
30681 char (*f) () = remove;
30682 #endif
30683 #ifdef __cplusplus
30684 }
30685 #endif
30686
30687 int
30688 main ()
30689 {
30690 return f != remove;
30691 ;
30692 return 0;
30693 }
30694 _ACEOF
30695 rm -f conftest.$ac_objext conftest$ac_exeext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30697 (eval $ac_link) 2>conftest.er1
30698 ac_status=$?
30699 grep -v '^ *+' conftest.er1 >conftest.err
30700 rm -f conftest.er1
30701 cat conftest.err >&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30706 (eval $ac_try) 2>&5
30707 ac_status=$?
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; } &&
30710 { ac_try='test -s conftest$ac_exeext'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30713 ac_status=$?
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; }; then
30716 ac_cv_func_remove=yes
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721 ac_cv_func_remove=no
30722 fi
30723 rm -f conftest.err conftest.$ac_objext \
30724 conftest$ac_exeext conftest.$ac_ext
30725 fi
30726 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30727 echo "${ECHO_T}$ac_cv_func_remove" >&6
30728
30729 if test $ac_cv_func_remove = no; then
30730 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30731 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30732 if test "${ac_cv_lib_posix_remove+set}" = set; then
30733 echo $ECHO_N "(cached) $ECHO_C" >&6
30734 else
30735 ac_check_lib_save_LIBS=$LIBS
30736 LIBS="-lposix $LIBS"
30737 cat >conftest.$ac_ext <<_ACEOF
30738 /* confdefs.h. */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743
30744 /* Override any gcc2 internal prototype to avoid an error. */
30745 #ifdef __cplusplus
30746 extern "C"
30747 #endif
30748 /* We use char because int might match the return type of a gcc2
30749 builtin and then its argument prototype would still apply. */
30750 char remove ();
30751 int
30752 main ()
30753 {
30754 remove ();
30755 ;
30756 return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext conftest$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try='test -s conftest$ac_exeext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 ac_cv_lib_posix_remove=yes
30781 else
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 ac_cv_lib_posix_remove=no
30786 fi
30787 rm -f conftest.err conftest.$ac_objext \
30788 conftest$ac_exeext conftest.$ac_ext
30789 LIBS=$ac_check_lib_save_LIBS
30790 fi
30791 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30792 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30793 if test $ac_cv_lib_posix_remove = yes; then
30794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30795 fi
30796
30797 fi
30798
30799 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30800 echo "$as_me:$LINENO: checking for shmat" >&5
30801 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30802 if test "${ac_cv_func_shmat+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 else
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30813 #define shmat innocuous_shmat
30814
30815 /* System header to define __stub macros and hopefully few prototypes,
30816 which can conflict with char shmat (); below.
30817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30818 <limits.h> exists even on freestanding compilers. */
30819
30820 #ifdef __STDC__
30821 # include <limits.h>
30822 #else
30823 # include <assert.h>
30824 #endif
30825
30826 #undef shmat
30827
30828 /* Override any gcc2 internal prototype to avoid an error. */
30829 #ifdef __cplusplus
30830 extern "C"
30831 {
30832 #endif
30833 /* We use char because int might match the return type of a gcc2
30834 builtin and then its argument prototype would still apply. */
30835 char shmat ();
30836 /* The GNU C library defines this for functions which it implements
30837 to always fail with ENOSYS. Some functions are actually named
30838 something starting with __ and the normal name is an alias. */
30839 #if defined (__stub_shmat) || defined (__stub___shmat)
30840 choke me
30841 #else
30842 char (*f) () = shmat;
30843 #endif
30844 #ifdef __cplusplus
30845 }
30846 #endif
30847
30848 int
30849 main ()
30850 {
30851 return f != shmat;
30852 ;
30853 return 0;
30854 }
30855 _ACEOF
30856 rm -f conftest.$ac_objext conftest$ac_exeext
30857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30858 (eval $ac_link) 2>conftest.er1
30859 ac_status=$?
30860 grep -v '^ *+' conftest.er1 >conftest.err
30861 rm -f conftest.er1
30862 cat conftest.err >&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } &&
30865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; } &&
30871 { ac_try='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 ac_cv_func_shmat=yes
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 ac_cv_func_shmat=no
30883 fi
30884 rm -f conftest.err conftest.$ac_objext \
30885 conftest$ac_exeext conftest.$ac_ext
30886 fi
30887 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30888 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30889
30890 if test $ac_cv_func_shmat = no; then
30891 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30892 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30893 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30894 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 else
30896 ac_check_lib_save_LIBS=$LIBS
30897 LIBS="-lipc $LIBS"
30898 cat >conftest.$ac_ext <<_ACEOF
30899 /* confdefs.h. */
30900 _ACEOF
30901 cat confdefs.h >>conftest.$ac_ext
30902 cat >>conftest.$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30904
30905 /* Override any gcc2 internal prototype to avoid an error. */
30906 #ifdef __cplusplus
30907 extern "C"
30908 #endif
30909 /* We use char because int might match the return type of a gcc2
30910 builtin and then its argument prototype would still apply. */
30911 char shmat ();
30912 int
30913 main ()
30914 {
30915 shmat ();
30916 ;
30917 return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922 (eval $ac_link) 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30932 ac_status=$?
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try='test -s conftest$ac_exeext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30938 ac_status=$?
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 ac_cv_lib_ipc_shmat=yes
30942 else
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 ac_cv_lib_ipc_shmat=no
30947 fi
30948 rm -f conftest.err conftest.$ac_objext \
30949 conftest$ac_exeext conftest.$ac_ext
30950 LIBS=$ac_check_lib_save_LIBS
30951 fi
30952 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30953 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30954 if test $ac_cv_lib_ipc_shmat = yes; then
30955 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30956 fi
30957
30958 fi
30959 fi
30960
30961 # Check for libraries that X11R6 Xt/Xaw programs need.
30962 ac_save_LDFLAGS=$LDFLAGS
30963 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30964 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30965 # check for ICE first), but we must link in the order -lSM -lICE or
30966 # we get undefined symbols. So assume we have SM if we have ICE.
30967 # These have to be linked with before -lX11, unlike the other
30968 # libraries we check for below, so use a different variable.
30969 # John Interrante, Karl Berry
30970 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30971 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30972 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30973 echo $ECHO_N "(cached) $ECHO_C" >&6
30974 else
30975 ac_check_lib_save_LIBS=$LIBS
30976 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30977 cat >conftest.$ac_ext <<_ACEOF
30978 /* confdefs.h. */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983
30984 /* Override any gcc2 internal prototype to avoid an error. */
30985 #ifdef __cplusplus
30986 extern "C"
30987 #endif
30988 /* We use char because int might match the return type of a gcc2
30989 builtin and then its argument prototype would still apply. */
30990 char IceConnectionNumber ();
30991 int
30992 main ()
30993 {
30994 IceConnectionNumber ();
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 rm -f conftest.$ac_objext conftest$ac_exeext
31000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31001 (eval $ac_link) 2>conftest.er1
31002 ac_status=$?
31003 grep -v '^ *+' conftest.er1 >conftest.err
31004 rm -f conftest.er1
31005 cat conftest.err >&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); } &&
31008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try='test -s conftest$ac_exeext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31017 ac_status=$?
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 ac_cv_lib_ICE_IceConnectionNumber=yes
31021 else
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31024
31025 ac_cv_lib_ICE_IceConnectionNumber=no
31026 fi
31027 rm -f conftest.err conftest.$ac_objext \
31028 conftest$ac_exeext conftest.$ac_ext
31029 LIBS=$ac_check_lib_save_LIBS
31030 fi
31031 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31032 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31033 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31034 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31035 fi
31036
31037 LDFLAGS=$ac_save_LDFLAGS
31038
31039 fi
31040
31041
31042 if test "$no_x" = "yes"; then
31043 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31044 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31045 { (exit 1); exit 1; }; }
31046 fi
31047
31048 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31049 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31050 AFMINSTALL=afminstall
31051 COMPILED_X_PROGRAM=0
31052
31053 fi
31054
31055 if test "$wxUSE_X11" = 1; then
31056 if test "$wxUSE_NANOX" = "yes"; then
31057 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31058 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31059 if test "x$MICROWIN" = x ; then
31060 echo "$as_me:$LINENO: result: not found" >&5
31061 echo "${ECHO_T}not found" >&6
31062 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31063 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31064 { (exit 1); exit 1; }; }
31065 else
31066 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31067 echo "${ECHO_T}$MICROWIN" >&6
31068 cat >>confdefs.h <<\_ACEOF
31069 #define wxUSE_NANOX 1
31070 _ACEOF
31071
31072 fi
31073 fi
31074
31075 if test "$wxUSE_UNICODE" = "yes"; then
31076
31077
31078 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31079 if test -n "$ac_tool_prefix"; then
31080 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31081 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31082 echo "$as_me:$LINENO: checking for $ac_word" >&5
31083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31084 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 else
31087 case $PKG_CONFIG in
31088 [\\/]* | ?:[\\/]*)
31089 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31090 ;;
31091 *)
31092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31093 for as_dir in $PATH
31094 do
31095 IFS=$as_save_IFS
31096 test -z "$as_dir" && as_dir=.
31097 for ac_exec_ext in '' $ac_executable_extensions; do
31098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31099 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31101 break 2
31102 fi
31103 done
31104 done
31105
31106 ;;
31107 esac
31108 fi
31109 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31110
31111 if test -n "$PKG_CONFIG"; then
31112 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31113 echo "${ECHO_T}$PKG_CONFIG" >&6
31114 else
31115 echo "$as_me:$LINENO: result: no" >&5
31116 echo "${ECHO_T}no" >&6
31117 fi
31118
31119 fi
31120 if test -z "$ac_cv_path_PKG_CONFIG"; then
31121 ac_pt_PKG_CONFIG=$PKG_CONFIG
31122 # Extract the first word of "pkg-config", so it can be a program name with args.
31123 set dummy pkg-config; ac_word=$2
31124 echo "$as_me:$LINENO: checking for $ac_word" >&5
31125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31126 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 else
31129 case $ac_pt_PKG_CONFIG in
31130 [\\/]* | ?:[\\/]*)
31131 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31132 ;;
31133 *)
31134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31135 for as_dir in $PATH
31136 do
31137 IFS=$as_save_IFS
31138 test -z "$as_dir" && as_dir=.
31139 for ac_exec_ext in '' $ac_executable_extensions; do
31140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31141 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31143 break 2
31144 fi
31145 done
31146 done
31147
31148 ;;
31149 esac
31150 fi
31151 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31152
31153 if test -n "$ac_pt_PKG_CONFIG"; then
31154 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31155 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31156 else
31157 echo "$as_me:$LINENO: result: no" >&5
31158 echo "${ECHO_T}no" >&6
31159 fi
31160
31161 PKG_CONFIG=$ac_pt_PKG_CONFIG
31162 else
31163 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31164 fi
31165
31166 fi
31167 if test -n "$PKG_CONFIG"; then
31168 _pkg_min_version=0.9.0
31169 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31170 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31171 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31172 echo "$as_me:$LINENO: result: yes" >&5
31173 echo "${ECHO_T}yes" >&6
31174 else
31175 echo "$as_me:$LINENO: result: no" >&5
31176 echo "${ECHO_T}no" >&6
31177 PKG_CONFIG=""
31178 fi
31179
31180 fi
31181
31182
31183 pkg_failed=no
31184 echo "$as_me:$LINENO: checking for PANGOX" >&5
31185 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31186
31187 if test -n "$PKG_CONFIG"; then
31188 if test -n "$PANGOX_CFLAGS"; then
31189 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31190 else
31191 if test -n "$PKG_CONFIG" && \
31192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31193 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; then
31197 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31198 else
31199 pkg_failed=yes
31200 fi
31201 fi
31202 else
31203 pkg_failed=untried
31204 fi
31205 if test -n "$PKG_CONFIG"; then
31206 if test -n "$PANGOX_LIBS"; then
31207 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31208 else
31209 if test -n "$PKG_CONFIG" && \
31210 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31211 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); }; then
31215 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31216 else
31217 pkg_failed=yes
31218 fi
31219 fi
31220 else
31221 pkg_failed=untried
31222 fi
31223
31224
31225
31226 if test $pkg_failed = yes; then
31227
31228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31229 _pkg_short_errors_supported=yes
31230 else
31231 _pkg_short_errors_supported=no
31232 fi
31233 if test $_pkg_short_errors_supported = yes; then
31234 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31235 else
31236 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31237 fi
31238 # Put the nasty error message in config.log where it belongs
31239 echo "$PANGOX_PKG_ERRORS" >&5
31240
31241
31242 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31243 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31244 { (exit 1); exit 1; }; }
31245
31246
31247 elif test $pkg_failed = untried; then
31248
31249 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31250 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31251 { (exit 1); exit 1; }; }
31252
31253
31254 else
31255 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31256 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31257 echo "$as_me:$LINENO: result: yes" >&5
31258 echo "${ECHO_T}yes" >&6
31259
31260 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31261 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31262 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31263
31264 fi
31265
31266 pkg_failed=no
31267 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31268 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31269
31270 if test -n "$PKG_CONFIG"; then
31271 if test -n "$PANGOFT2_CFLAGS"; then
31272 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31273 else
31274 if test -n "$PKG_CONFIG" && \
31275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31276 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31277 ac_status=$?
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); }; then
31280 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31281 else
31282 pkg_failed=yes
31283 fi
31284 fi
31285 else
31286 pkg_failed=untried
31287 fi
31288 if test -n "$PKG_CONFIG"; then
31289 if test -n "$PANGOFT2_LIBS"; then
31290 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31291 else
31292 if test -n "$PKG_CONFIG" && \
31293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31294 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); }; then
31298 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31299 else
31300 pkg_failed=yes
31301 fi
31302 fi
31303 else
31304 pkg_failed=untried
31305 fi
31306
31307
31308
31309 if test $pkg_failed = yes; then
31310
31311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31312 _pkg_short_errors_supported=yes
31313 else
31314 _pkg_short_errors_supported=no
31315 fi
31316 if test $_pkg_short_errors_supported = yes; then
31317 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31318 else
31319 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31320 fi
31321 # Put the nasty error message in config.log where it belongs
31322 echo "$PANGOFT2_PKG_ERRORS" >&5
31323
31324
31325 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31326 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31327 wxUSE_PRINTING_ARCHITECTURE="no"
31328
31329
31330 elif test $pkg_failed = untried; then
31331
31332 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31333 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31334 wxUSE_PRINTING_ARCHITECTURE="no"
31335
31336
31337 else
31338 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31339 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31340 echo "$as_me:$LINENO: result: yes" >&5
31341 echo "${ECHO_T}yes" >&6
31342
31343 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31344 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31346
31347 fi
31348
31349 pkg_failed=no
31350 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31351 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31352
31353 if test -n "$PKG_CONFIG"; then
31354 if test -n "$PANGOXFT_CFLAGS"; then
31355 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31356 else
31357 if test -n "$PKG_CONFIG" && \
31358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31359 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31360 ac_status=$?
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; then
31363 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31364 else
31365 pkg_failed=yes
31366 fi
31367 fi
31368 else
31369 pkg_failed=untried
31370 fi
31371 if test -n "$PKG_CONFIG"; then
31372 if test -n "$PANGOXFT_LIBS"; then
31373 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31374 else
31375 if test -n "$PKG_CONFIG" && \
31376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31377 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31378 ac_status=$?
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); }; then
31381 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31382 else
31383 pkg_failed=yes
31384 fi
31385 fi
31386 else
31387 pkg_failed=untried
31388 fi
31389
31390
31391
31392 if test $pkg_failed = yes; then
31393
31394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31395 _pkg_short_errors_supported=yes
31396 else
31397 _pkg_short_errors_supported=no
31398 fi
31399 if test $_pkg_short_errors_supported = yes; then
31400 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31401 else
31402 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31403 fi
31404 # Put the nasty error message in config.log where it belongs
31405 echo "$PANGOXFT_PKG_ERRORS" >&5
31406
31407
31408 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31409 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31410
31411
31412 elif test $pkg_failed = untried; then
31413
31414 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31415 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31416
31417
31418 else
31419 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31420 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31421 echo "$as_me:$LINENO: result: yes" >&5
31422 echo "${ECHO_T}yes" >&6
31423
31424 cat >>confdefs.h <<\_ACEOF
31425 #define HAVE_PANGO_XFT 1
31426 _ACEOF
31427
31428 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31429 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31431
31432 fi
31433 save_LIBS="$LIBS"
31434 LIBS="$LIBS $PANGOX_LIBS"
31435
31436 for ac_func in pango_font_family_is_monospace
31437 do
31438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31439 echo "$as_me:$LINENO: checking for $ac_func" >&5
31440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31441 if eval "test \"\${$as_ac_var+set}\" = set"; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31444 cat >conftest.$ac_ext <<_ACEOF
31445 /* confdefs.h. */
31446 _ACEOF
31447 cat confdefs.h >>conftest.$ac_ext
31448 cat >>conftest.$ac_ext <<_ACEOF
31449 /* end confdefs.h. */
31450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31452 #define $ac_func innocuous_$ac_func
31453
31454 /* System header to define __stub macros and hopefully few prototypes,
31455 which can conflict with char $ac_func (); below.
31456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31457 <limits.h> exists even on freestanding compilers. */
31458
31459 #ifdef __STDC__
31460 # include <limits.h>
31461 #else
31462 # include <assert.h>
31463 #endif
31464
31465 #undef $ac_func
31466
31467 /* Override any gcc2 internal prototype to avoid an error. */
31468 #ifdef __cplusplus
31469 extern "C"
31470 {
31471 #endif
31472 /* We use char because int might match the return type of a gcc2
31473 builtin and then its argument prototype would still apply. */
31474 char $ac_func ();
31475 /* The GNU C library defines this for functions which it implements
31476 to always fail with ENOSYS. Some functions are actually named
31477 something starting with __ and the normal name is an alias. */
31478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31479 choke me
31480 #else
31481 char (*f) () = $ac_func;
31482 #endif
31483 #ifdef __cplusplus
31484 }
31485 #endif
31486
31487 int
31488 main ()
31489 {
31490 return f != $ac_func;
31491 ;
31492 return 0;
31493 }
31494 _ACEOF
31495 rm -f conftest.$ac_objext conftest$ac_exeext
31496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31497 (eval $ac_link) 2>conftest.er1
31498 ac_status=$?
31499 grep -v '^ *+' conftest.er1 >conftest.err
31500 rm -f conftest.er1
31501 cat conftest.err >&5
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); } &&
31504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31507 ac_status=$?
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; } &&
31510 { ac_try='test -s conftest$ac_exeext'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; }; then
31516 eval "$as_ac_var=yes"
31517 else
31518 echo "$as_me: failed program was:" >&5
31519 sed 's/^/| /' conftest.$ac_ext >&5
31520
31521 eval "$as_ac_var=no"
31522 fi
31523 rm -f conftest.err conftest.$ac_objext \
31524 conftest$ac_exeext conftest.$ac_ext
31525 fi
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31528 if test `eval echo '${'$as_ac_var'}'` = yes; then
31529 cat >>confdefs.h <<_ACEOF
31530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31531 _ACEOF
31532
31533 fi
31534 done
31535
31536 LIBS="$save_LIBS"
31537 fi
31538
31539 wxUSE_UNIVERSAL="yes"
31540
31541 if test "$wxUSE_NANOX" = "yes"; then
31542 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31543 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"
31544 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31545 else
31546 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31547 fi
31548
31549 TOOLKIT=X11
31550 GUIDIST=X11_DIST
31551 fi
31552
31553 if test "$wxUSE_MOTIF" = 1; then
31554 if test "$wxUSE_UNICODE" = "yes"; then
31555 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31556 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31557 { (exit 1); exit 1; }; }
31558 fi
31559
31560 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31561 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31562
31563 ac_find_includes=
31564 for ac_dir in $SEARCH_INCLUDE /usr/include;
31565 do
31566 if test -f "$ac_dir/Xm/Xm.h"; then
31567 ac_find_includes=$ac_dir
31568 break
31569 fi
31570 done
31571
31572 if test "$ac_find_includes" != "" ; then
31573 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31574 echo "${ECHO_T}found in $ac_find_includes" >&6
31575
31576 if test "x$ac_find_includes" = "x/usr/include"; then
31577 ac_path_to_include=""
31578 else
31579 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31580 result=$?
31581 if test $result = 0; then
31582 ac_path_to_include=""
31583 else
31584 ac_path_to_include=" -I$ac_find_includes"
31585 fi
31586 fi
31587
31588 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31589 else
31590 save_CFLAGS=$CFLAGS
31591 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31592
31593 cat >conftest.$ac_ext <<_ACEOF
31594 /* confdefs.h. */
31595 _ACEOF
31596 cat confdefs.h >>conftest.$ac_ext
31597 cat >>conftest.$ac_ext <<_ACEOF
31598 /* end confdefs.h. */
31599
31600 #include <Xm/Xm.h>
31601
31602 int
31603 main ()
31604 {
31605
31606 int version;
31607 version = xmUseVersion;
31608
31609 ;
31610 return 0;
31611 }
31612 _ACEOF
31613 rm -f conftest.$ac_objext
31614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31615 (eval $ac_compile) 2>conftest.er1
31616 ac_status=$?
31617 grep -v '^ *+' conftest.er1 >conftest.err
31618 rm -f conftest.er1
31619 cat conftest.err >&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); } &&
31622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } &&
31628 { ac_try='test -s conftest.$ac_objext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31631 ac_status=$?
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634
31635 echo "$as_me:$LINENO: result: found in default search path" >&5
31636 echo "${ECHO_T}found in default search path" >&6
31637 COMPILED_X_PROGRAM=1
31638
31639 else
31640 echo "$as_me: failed program was:" >&5
31641 sed 's/^/| /' conftest.$ac_ext >&5
31642
31643
31644 echo "$as_me:$LINENO: result: no" >&5
31645 echo "${ECHO_T}no" >&6
31646 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31647 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31648 { (exit 1); exit 1; }; }
31649
31650
31651 fi
31652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31653
31654 CFLAGS=$save_CFLAGS
31655 fi
31656
31657
31658 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31659 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31660
31661 ac_find_libraries=
31662 for ac_dir in $SEARCH_LIB;
31663 do
31664 for ac_extension in a so sl dylib dll.a; do
31665 if test -f "$ac_dir/libXm.$ac_extension"; then
31666 ac_find_libraries=$ac_dir
31667 break 2
31668 fi
31669 done
31670 done
31671
31672
31673 if test "x$ac_find_libraries" != "x" ; then
31674 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31675 echo "${ECHO_T}found in $ac_find_libraries" >&6
31676
31677
31678 if test "$ac_find_libraries" = "default location"; then
31679 ac_path_to_link=""
31680 else
31681 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31682 result=$?
31683 if test $result = 0; then
31684 ac_path_to_link=""
31685 else
31686 ac_path_to_link=" -L$ac_find_libraries"
31687 fi
31688 fi
31689
31690 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31691 else
31692 save_CFLAGS=$CFLAGS
31693 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31694 save_LIBS="$LIBS"
31695 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31696
31697 cat >conftest.$ac_ext <<_ACEOF
31698 /* confdefs.h. */
31699 _ACEOF
31700 cat confdefs.h >>conftest.$ac_ext
31701 cat >>conftest.$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703
31704 #include <Xm/Xm.h>
31705
31706 int
31707 main ()
31708 {
31709
31710 int version;
31711 version = xmUseVersion;
31712
31713 ;
31714 return 0;
31715 }
31716 _ACEOF
31717 rm -f conftest.$ac_objext conftest$ac_exeext
31718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31719 (eval $ac_link) 2>conftest.er1
31720 ac_status=$?
31721 grep -v '^ *+' conftest.er1 >conftest.err
31722 rm -f conftest.er1
31723 cat conftest.err >&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } &&
31726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31729 ac_status=$?
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; } &&
31732 { ac_try='test -s conftest$ac_exeext'
31733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31734 (eval $ac_try) 2>&5
31735 ac_status=$?
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); }; }; then
31738
31739 echo "$as_me:$LINENO: result: found in default search path" >&5
31740 echo "${ECHO_T}found in default search path" >&6
31741 COMPILED_X_PROGRAM=1
31742
31743 else
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31746
31747
31748 echo "$as_me:$LINENO: result: no" >&5
31749 echo "${ECHO_T}no" >&6
31750 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31751 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31752 { (exit 1); exit 1; }; }
31753
31754
31755 fi
31756 rm -f conftest.err conftest.$ac_objext \
31757 conftest$ac_exeext conftest.$ac_ext
31758
31759 CFLAGS=$save_CFLAGS
31760 LIBS="$save_LIBS"
31761 fi
31762
31763 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31764 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31765 libp_link=""
31766 libsm_ice_link=""
31767 libs_found=0
31768 for libp in "" " -lXp"; do
31769 if test "$libs_found" = "0"; then
31770 for libsm_ice in "" " -lSM -lICE"; do
31771 if test "$libs_found" = "0"; then
31772 save_LIBS="$LIBS"
31773 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31774 save_CFLAGS=$CFLAGS
31775 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31776
31777 cat >conftest.$ac_ext <<_ACEOF
31778 /* confdefs.h. */
31779 _ACEOF
31780 cat confdefs.h >>conftest.$ac_ext
31781 cat >>conftest.$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31783
31784 #include <Xm/Xm.h>
31785 #include <Xm/List.h>
31786
31787 int
31788 main ()
31789 {
31790
31791 XmString string = NULL;
31792 Widget w = NULL;
31793 int position = 0;
31794 XmListAddItem(w, string, position);
31795
31796 ;
31797 return 0;
31798 }
31799 _ACEOF
31800 rm -f conftest.$ac_objext conftest$ac_exeext
31801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31802 (eval $ac_link) 2>conftest.er1
31803 ac_status=$?
31804 grep -v '^ *+' conftest.er1 >conftest.err
31805 rm -f conftest.er1
31806 cat conftest.err >&5
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); } &&
31809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31811 (eval $ac_try) 2>&5
31812 ac_status=$?
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); }; } &&
31815 { ac_try='test -s conftest$ac_exeext'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; }; then
31821
31822 libp_link="$libp"
31823 libsm_ice_link="$libsm_ice"
31824 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31825 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31826 libs_found=1
31827
31828 else
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832
31833
31834 fi
31835 rm -f conftest.err conftest.$ac_objext \
31836 conftest$ac_exeext conftest.$ac_ext
31837
31838 LIBS="$save_LIBS"
31839 CFLAGS=$save_CFLAGS
31840 fi
31841 done
31842 fi
31843 done
31844
31845 if test "$libs_found" = "0"; then
31846 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31847 echo "${ECHO_T}can't find the right libraries" >&6
31848 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31849 echo "$as_me: error: can't link a simple motif program" >&2;}
31850 { (exit 1); exit 1; }; }
31851 fi
31852
31853 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31854 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31855 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31857 else
31858 ac_check_lib_save_LIBS=$LIBS
31859 LIBS="-lSgm $LIBS"
31860 cat >conftest.$ac_ext <<_ACEOF
31861 /* confdefs.h. */
31862 _ACEOF
31863 cat confdefs.h >>conftest.$ac_ext
31864 cat >>conftest.$ac_ext <<_ACEOF
31865 /* end confdefs.h. */
31866
31867 /* Override any gcc2 internal prototype to avoid an error. */
31868 #ifdef __cplusplus
31869 extern "C"
31870 #endif
31871 /* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31873 char SgCreateList ();
31874 int
31875 main ()
31876 {
31877 SgCreateList ();
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext conftest$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31893 (eval $ac_try) 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; } &&
31897 { ac_try='test -s conftest$ac_exeext'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31900 ac_status=$?
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; }; then
31903 ac_cv_lib_Sgm_SgCreateList=yes
31904 else
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.$ac_ext >&5
31907
31908 ac_cv_lib_Sgm_SgCreateList=no
31909 fi
31910 rm -f conftest.err conftest.$ac_objext \
31911 conftest$ac_exeext conftest.$ac_ext
31912 LIBS=$ac_check_lib_save_LIBS
31913 fi
31914 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31915 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31916 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31917 libsgm_link=" -lSgm"
31918 fi
31919
31920
31921 save_CFLAGS=$CFLAGS
31922 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31923
31924 echo "$as_me:$LINENO: checking for Motif 2" >&5
31925 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31926 if test "${wx_cv_lib_motif2+set}" = set; then
31927 echo $ECHO_N "(cached) $ECHO_C" >&6
31928 else
31929 cat >conftest.$ac_ext <<_ACEOF
31930 /* confdefs.h. */
31931 _ACEOF
31932 cat confdefs.h >>conftest.$ac_ext
31933 cat >>conftest.$ac_ext <<_ACEOF
31934 /* end confdefs.h. */
31935
31936 #include <Xm/Xm.h>
31937
31938 int
31939 main ()
31940 {
31941
31942 #if XmVersion < 2000
31943 Not Motif 2
31944 #endif
31945
31946 ;
31947 return 0;
31948 }
31949 _ACEOF
31950 rm -f conftest.$ac_objext
31951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31952 (eval $ac_compile) 2>conftest.er1
31953 ac_status=$?
31954 grep -v '^ *+' conftest.er1 >conftest.err
31955 rm -f conftest.er1
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } &&
31959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31961 (eval $ac_try) 2>&5
31962 ac_status=$?
31963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31964 (exit $ac_status); }; } &&
31965 { ac_try='test -s conftest.$ac_objext'
31966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967 (eval $ac_try) 2>&5
31968 ac_status=$?
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); }; }; then
31971 wx_cv_lib_motif2="yes"
31972 else
31973 echo "$as_me: failed program was:" >&5
31974 sed 's/^/| /' conftest.$ac_ext >&5
31975
31976 wx_cv_lib_motif2="no"
31977 fi
31978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31979 fi
31980 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31981 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31982 if test "$wx_cv_lib_motif2" = "yes"; then
31983 cat >>confdefs.h <<\_ACEOF
31984 #define __WXMOTIF20__ 1
31985 _ACEOF
31986
31987 else
31988 cat >>confdefs.h <<\_ACEOF
31989 #define __WXMOTIF20__ 0
31990 _ACEOF
31991
31992 fi
31993
31994 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31995 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31996 if test "${wx_cv_lib_lesstif+set}" = set; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 else
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005
32006 #include <Xm/Xm.h>
32007
32008 int
32009 main ()
32010 {
32011
32012 #if !defined(LesstifVersion) || LesstifVersion <= 0
32013 Not Lesstif
32014 #endif
32015
32016 ;
32017 return 0;
32018 }
32019 _ACEOF
32020 rm -f conftest.$ac_objext
32021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32022 (eval $ac_compile) 2>conftest.er1
32023 ac_status=$?
32024 grep -v '^ *+' conftest.er1 >conftest.err
32025 rm -f conftest.er1
32026 cat conftest.err >&5
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); } &&
32029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32032 ac_status=$?
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try='test -s conftest.$ac_objext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32038 ac_status=$?
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 wx_cv_lib_lesstif="yes"
32042 else
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32045
32046 wx_cv_lib_lesstif="no"
32047 fi
32048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32049
32050 fi
32051 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32052 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32053 if test "$wx_cv_lib_lesstif" = "yes"; then
32054 cat >>confdefs.h <<\_ACEOF
32055 #define __WXLESSTIF__ 1
32056 _ACEOF
32057
32058 else
32059 cat >>confdefs.h <<\_ACEOF
32060 #define __WXLESSTIF__ 0
32061 _ACEOF
32062
32063 fi
32064
32065 CFLAGS=$save_CFLAGS
32066
32067 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32068 TOOLKIT=MOTIF
32069 GUIDIST=MOTIF_DIST
32070 fi
32071
32072 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32073 if test "$wxUSE_LIBXPM" = "sys"; then
32074 echo "$as_me:$LINENO: checking for Xpm library" >&5
32075 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32076
32077 ac_find_libraries=
32078 for ac_dir in $SEARCH_LIB;
32079 do
32080 for ac_extension in a so sl dylib dll.a; do
32081 if test -f "$ac_dir/libXpm.$ac_extension"; then
32082 ac_find_libraries=$ac_dir
32083 break 2
32084 fi
32085 done
32086 done
32087
32088 if test "$ac_find_libraries" != "" ; then
32089
32090 if test "$ac_find_libraries" = "default location"; then
32091 ac_path_to_link=""
32092 else
32093 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32094 result=$?
32095 if test $result = 0; then
32096 ac_path_to_link=""
32097 else
32098 ac_path_to_link=" -L$ac_find_libraries"
32099 fi
32100 fi
32101
32102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32103 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32104 echo "${ECHO_T}found in $ac_find_libraries" >&6
32105
32106 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32107 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32108 if test "${wx_cv_x11_xpm_h+set}" = set; then
32109 echo $ECHO_N "(cached) $ECHO_C" >&6
32110 else
32111
32112 save_CFLAGS=$CFLAGS
32113 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32114
32115 cat >conftest.$ac_ext <<_ACEOF
32116 /* confdefs.h. */
32117 _ACEOF
32118 cat confdefs.h >>conftest.$ac_ext
32119 cat >>conftest.$ac_ext <<_ACEOF
32120 /* end confdefs.h. */
32121
32122 #include <X11/xpm.h>
32123
32124 int
32125 main ()
32126 {
32127
32128 int version;
32129 version = XpmLibraryVersion();
32130
32131 ;
32132 return 0;
32133 }
32134 _ACEOF
32135 rm -f conftest.$ac_objext
32136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32137 (eval $ac_compile) 2>conftest.er1
32138 ac_status=$?
32139 grep -v '^ *+' conftest.er1 >conftest.err
32140 rm -f conftest.er1
32141 cat conftest.err >&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); } &&
32144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; } &&
32150 { ac_try='test -s conftest.$ac_objext'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32153 ac_status=$?
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; }; then
32156 wx_cv_x11_xpm_h=yes
32157 else
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32160
32161 wx_cv_x11_xpm_h=no
32162
32163 fi
32164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32165
32166 CFLAGS=$save_CFLAGS
32167
32168
32169 fi
32170 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32171 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32172
32173 if test $wx_cv_x11_xpm_h = "yes"; then
32174 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32175 cat >>confdefs.h <<\_ACEOF
32176 #define wxHAVE_LIB_XPM 1
32177 _ACEOF
32178
32179 else
32180 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32181 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32182 fi
32183 fi
32184
32185 fi
32186
32187 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32188 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32189 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 else
32192 ac_check_lib_save_LIBS=$LIBS
32193 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32194 cat >conftest.$ac_ext <<_ACEOF
32195 /* confdefs.h. */
32196 _ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200
32201 /* Override any gcc2 internal prototype to avoid an error. */
32202 #ifdef __cplusplus
32203 extern "C"
32204 #endif
32205 /* We use char because int might match the return type of a gcc2
32206 builtin and then its argument prototype would still apply. */
32207 char XShapeQueryExtension ();
32208 int
32209 main ()
32210 {
32211 XShapeQueryExtension ();
32212 ;
32213 return 0;
32214 }
32215 _ACEOF
32216 rm -f conftest.$ac_objext conftest$ac_exeext
32217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32218 (eval $ac_link) 2>conftest.er1
32219 ac_status=$?
32220 grep -v '^ *+' conftest.er1 >conftest.err
32221 rm -f conftest.er1
32222 cat conftest.err >&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); } &&
32225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32228 ac_status=$?
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; } &&
32231 { ac_try='test -s conftest$ac_exeext'
32232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32233 (eval $ac_try) 2>&5
32234 ac_status=$?
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); }; }; then
32237 ac_cv_lib_Xext_XShapeQueryExtension=yes
32238 else
32239 echo "$as_me: failed program was:" >&5
32240 sed 's/^/| /' conftest.$ac_ext >&5
32241
32242 ac_cv_lib_Xext_XShapeQueryExtension=no
32243 fi
32244 rm -f conftest.err conftest.$ac_objext \
32245 conftest$ac_exeext conftest.$ac_ext
32246 LIBS=$ac_check_lib_save_LIBS
32247 fi
32248 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32249 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32250 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32251
32252 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32253 wxHAVE_XEXT_LIB=1
32254
32255 fi
32256
32257
32258 if test "$wxHAVE_XEXT_LIB" = 1; then
32259 save_CFLAGS="$CFLAGS"
32260 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32261
32262 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32263 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32264 cat >conftest.$ac_ext <<_ACEOF
32265 /* confdefs.h. */
32266 _ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270
32271 #include <X11/Xlib.h>
32272 #include <X11/extensions/shape.h>
32273
32274 int
32275 main ()
32276 {
32277
32278 int dummy1, dummy2;
32279 XShapeQueryExtension((Display*)NULL,
32280 (int*)NULL, (int*)NULL);
32281
32282 ;
32283 return 0;
32284 }
32285 _ACEOF
32286 rm -f conftest.$ac_objext
32287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32288 (eval $ac_compile) 2>conftest.er1
32289 ac_status=$?
32290 grep -v '^ *+' conftest.er1 >conftest.err
32291 rm -f conftest.er1
32292 cat conftest.err >&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); } &&
32295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; } &&
32301 { ac_try='test -s conftest.$ac_objext'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; }; then
32307
32308 cat >>confdefs.h <<\_ACEOF
32309 #define HAVE_XSHAPE 1
32310 _ACEOF
32311
32312 echo "$as_me:$LINENO: result: found" >&5
32313 echo "${ECHO_T}found" >&6
32314
32315 else
32316 echo "$as_me: failed program was:" >&5
32317 sed 's/^/| /' conftest.$ac_ext >&5
32318
32319
32320 echo "$as_me:$LINENO: result: not found" >&5
32321 echo "${ECHO_T}not found" >&6
32322
32323 fi
32324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32325 CFLAGS="$save_CFLAGS"
32326
32327 fi
32328 fi
32329
32330 if test "$wxUSE_MAC" = 1; then
32331 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32332 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32333 if test "$GCC" = yes; then
32334 echo "$as_me:$LINENO: result: gcc" >&5
32335 echo "${ECHO_T}gcc" >&6
32336 CPPFLAGS_PASCAL="-fpascal-strings"
32337 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32338 echo "$as_me:$LINENO: result: xlc" >&5
32339 echo "${ECHO_T}xlc" >&6
32340 CPPFLAGS_PASCAL="-qmacpstr"
32341 else
32342 echo "$as_me:$LINENO: result: none" >&5
32343 echo "${ECHO_T}none" >&6
32344 fi
32345
32346 if test "x$wxUSE_UNIX" = "xyes"; then
32347 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32348 else
32349 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32350 fi
32351
32352 TOOLKIT=MAC
32353 GUIDIST=MACX_DIST
32354 WXBASEPORT="_carbon"
32355 fi
32356
32357 if test "$wxUSE_COCOA" = 1; then
32358 TOOLKIT=COCOA
32359 GUIDIST=COCOA_DIST
32360 fi
32361
32362 if test "$wxUSE_PM" = 1; then
32363 TOOLKIT=PM
32364 GUIDIST=PM_DIST
32365 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32366 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32367 if test "${wx_cv_spbcdata+set}" = set; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377
32378 #define INCL_PM
32379 #include <os2.h>
32380
32381 int
32382 main ()
32383 {
32384
32385 SPBCDATA test;
32386
32387 ;
32388 return 0;
32389 }
32390 _ACEOF
32391 rm -f conftest.$ac_objext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32393 (eval $ac_compile) 2>conftest.er1
32394 ac_status=$?
32395 grep -v '^ *+' conftest.er1 >conftest.err
32396 rm -f conftest.er1
32397 cat conftest.err >&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32403 ac_status=$?
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try='test -s conftest.$ac_objext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32409 ac_status=$?
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 wx_cv_spbcdata=yes
32413 else
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.$ac_ext >&5
32416
32417 wx_cv_spbcdata=no
32418
32419 fi
32420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32421
32422
32423 fi
32424 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32425 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32426
32427 if test $wx_cv_spbcdata = "yes"; then
32428 cat >>confdefs.h <<\_ACEOF
32429 #define HAVE_SPBCDATA 1
32430 _ACEOF
32431
32432 fi
32433 fi
32434
32435 if test "$TOOLKIT" = "PM" ; then
32436 TOOLKIT_DIR="os2"
32437 else
32438 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32439 fi
32440
32441 if test "$wxUSE_UNIVERSAL" = "yes"; then
32442 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32443 WIDGET_SET=univ
32444 fi
32445
32446 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32447 DISTDIR="wx\$(TOOLKIT)"
32448 else
32449 USE_GUI=0
32450
32451 TOOLKIT_DIR="base"
32452
32453 if test "$USE_WIN32" = 1 ; then
32454 TOOLKIT="MSW"
32455 fi
32456
32457 GUIDIST="BASE_DIST"
32458 DISTDIR="wxBase"
32459 fi
32460
32461
32462 if test "$wxUSE_GUI" = "yes"; then
32463 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32464
32465 for ac_header in X11/Xlib.h
32466 do
32467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32469 echo "$as_me:$LINENO: checking for $ac_header" >&5
32470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32472 echo $ECHO_N "(cached) $ECHO_C" >&6
32473 fi
32474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32476 else
32477 # Is the header compilable?
32478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32480 cat >conftest.$ac_ext <<_ACEOF
32481 /* confdefs.h. */
32482 _ACEOF
32483 cat confdefs.h >>conftest.$ac_ext
32484 cat >>conftest.$ac_ext <<_ACEOF
32485 /* end confdefs.h. */
32486 $ac_includes_default
32487 #include <$ac_header>
32488 _ACEOF
32489 rm -f conftest.$ac_objext
32490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32491 (eval $ac_compile) 2>conftest.er1
32492 ac_status=$?
32493 grep -v '^ *+' conftest.er1 >conftest.err
32494 rm -f conftest.er1
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } &&
32498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32500 (eval $ac_try) 2>&5
32501 ac_status=$?
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); }; } &&
32504 { ac_try='test -s conftest.$ac_objext'
32505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32506 (eval $ac_try) 2>&5
32507 ac_status=$?
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); }; }; then
32510 ac_header_compiler=yes
32511 else
32512 echo "$as_me: failed program was:" >&5
32513 sed 's/^/| /' conftest.$ac_ext >&5
32514
32515 ac_header_compiler=no
32516 fi
32517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32519 echo "${ECHO_T}$ac_header_compiler" >&6
32520
32521 # Is the header present?
32522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32524 cat >conftest.$ac_ext <<_ACEOF
32525 /* confdefs.h. */
32526 _ACEOF
32527 cat confdefs.h >>conftest.$ac_ext
32528 cat >>conftest.$ac_ext <<_ACEOF
32529 /* end confdefs.h. */
32530 #include <$ac_header>
32531 _ACEOF
32532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } >/dev/null; then
32540 if test -s conftest.err; then
32541 ac_cpp_err=$ac_c_preproc_warn_flag
32542 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32543 else
32544 ac_cpp_err=
32545 fi
32546 else
32547 ac_cpp_err=yes
32548 fi
32549 if test -z "$ac_cpp_err"; then
32550 ac_header_preproc=yes
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32554
32555 ac_header_preproc=no
32556 fi
32557 rm -f conftest.err conftest.$ac_ext
32558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32559 echo "${ECHO_T}$ac_header_preproc" >&6
32560
32561 # So? What about this header?
32562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32563 yes:no: )
32564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32568 ac_header_preproc=yes
32569 ;;
32570 no:yes:* )
32571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32583 (
32584 cat <<\_ASBOX
32585 ## ----------------------------------------- ##
32586 ## Report this to wx-dev@lists.wxwidgets.org ##
32587 ## ----------------------------------------- ##
32588 _ASBOX
32589 ) |
32590 sed "s/^/$as_me: WARNING: /" >&2
32591 ;;
32592 esac
32593 echo "$as_me:$LINENO: checking for $ac_header" >&5
32594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32596 echo $ECHO_N "(cached) $ECHO_C" >&6
32597 else
32598 eval "$as_ac_Header=\$ac_header_preproc"
32599 fi
32600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32602
32603 fi
32604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32605 cat >>confdefs.h <<_ACEOF
32606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32607 _ACEOF
32608
32609 fi
32610
32611 done
32612
32613
32614 for ac_header in X11/XKBlib.h
32615 do
32616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32617 echo "$as_me:$LINENO: checking for $ac_header" >&5
32618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32620 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 else
32622 cat >conftest.$ac_ext <<_ACEOF
32623 /* confdefs.h. */
32624 _ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628
32629 #if HAVE_X11_XLIB_H
32630 #include <X11/Xlib.h>
32631 #endif
32632
32633
32634 #include <$ac_header>
32635 _ACEOF
32636 rm -f conftest.$ac_objext
32637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32638 (eval $ac_compile) 2>conftest.er1
32639 ac_status=$?
32640 grep -v '^ *+' conftest.er1 >conftest.err
32641 rm -f conftest.er1
32642 cat conftest.err >&5
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); } &&
32645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; } &&
32651 { ac_try='test -s conftest.$ac_objext'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; }; then
32657 eval "$as_ac_Header=yes"
32658 else
32659 echo "$as_me: failed program was:" >&5
32660 sed 's/^/| /' conftest.$ac_ext >&5
32661
32662 eval "$as_ac_Header=no"
32663 fi
32664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32665 fi
32666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32669 cat >>confdefs.h <<_ACEOF
32670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32671 _ACEOF
32672
32673 fi
32674
32675 done
32676
32677 fi
32678 fi
32679
32680
32681
32682 IODBC_C_SRC=""
32683
32684
32685 if test "$TOOLKIT" != "MSW" ; then
32686
32687 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32688
32689 if test "${ac_cv_header_sql_h+set}" = set; then
32690 echo "$as_me:$LINENO: checking for sql.h" >&5
32691 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32692 if test "${ac_cv_header_sql_h+set}" = set; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 fi
32695 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32696 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32697 else
32698 # Is the header compilable?
32699 echo "$as_me:$LINENO: checking sql.h usability" >&5
32700 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32701 cat >conftest.$ac_ext <<_ACEOF
32702 /* confdefs.h. */
32703 _ACEOF
32704 cat confdefs.h >>conftest.$ac_ext
32705 cat >>conftest.$ac_ext <<_ACEOF
32706 /* end confdefs.h. */
32707 $ac_includes_default
32708 #include <sql.h>
32709 _ACEOF
32710 rm -f conftest.$ac_objext
32711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32712 (eval $ac_compile) 2>conftest.er1
32713 ac_status=$?
32714 grep -v '^ *+' conftest.er1 >conftest.err
32715 rm -f conftest.er1
32716 cat conftest.err >&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32722 ac_status=$?
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; } &&
32725 { ac_try='test -s conftest.$ac_objext'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32728 ac_status=$?
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; }; then
32731 ac_header_compiler=yes
32732 else
32733 echo "$as_me: failed program was:" >&5
32734 sed 's/^/| /' conftest.$ac_ext >&5
32735
32736 ac_header_compiler=no
32737 fi
32738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32740 echo "${ECHO_T}$ac_header_compiler" >&6
32741
32742 # Is the header present?
32743 echo "$as_me:$LINENO: checking sql.h presence" >&5
32744 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32745 cat >conftest.$ac_ext <<_ACEOF
32746 /* confdefs.h. */
32747 _ACEOF
32748 cat confdefs.h >>conftest.$ac_ext
32749 cat >>conftest.$ac_ext <<_ACEOF
32750 /* end confdefs.h. */
32751 #include <sql.h>
32752 _ACEOF
32753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32755 ac_status=$?
32756 grep -v '^ *+' conftest.er1 >conftest.err
32757 rm -f conftest.er1
32758 cat conftest.err >&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); } >/dev/null; then
32761 if test -s conftest.err; then
32762 ac_cpp_err=$ac_c_preproc_warn_flag
32763 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32764 else
32765 ac_cpp_err=
32766 fi
32767 else
32768 ac_cpp_err=yes
32769 fi
32770 if test -z "$ac_cpp_err"; then
32771 ac_header_preproc=yes
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776 ac_header_preproc=no
32777 fi
32778 rm -f conftest.err conftest.$ac_ext
32779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32780 echo "${ECHO_T}$ac_header_preproc" >&6
32781
32782 # So? What about this header?
32783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32784 yes:no: )
32785 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32786 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32787 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32788 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32789 ac_header_preproc=yes
32790 ;;
32791 no:yes:* )
32792 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32793 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32794 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32795 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32796 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32797 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32798 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32799 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32800 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32801 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32802 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32803 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32804 (
32805 cat <<\_ASBOX
32806 ## ----------------------------------------- ##
32807 ## Report this to wx-dev@lists.wxwidgets.org ##
32808 ## ----------------------------------------- ##
32809 _ASBOX
32810 ) |
32811 sed "s/^/$as_me: WARNING: /" >&2
32812 ;;
32813 esac
32814 echo "$as_me:$LINENO: checking for sql.h" >&5
32815 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32816 if test "${ac_cv_header_sql_h+set}" = set; then
32817 echo $ECHO_N "(cached) $ECHO_C" >&6
32818 else
32819 ac_cv_header_sql_h=$ac_header_preproc
32820 fi
32821 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32822 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32823
32824 fi
32825 if test $ac_cv_header_sql_h = yes; then
32826 found_sql_h=1
32827 fi
32828
32829
32830 if test "x$found_sql_h" = "x1" ; then
32831 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32832 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32833 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32834 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 else
32836 ac_check_lib_save_LIBS=$LIBS
32837 LIBS="-liodbc $LIBS"
32838 cat >conftest.$ac_ext <<_ACEOF
32839 /* confdefs.h. */
32840 _ACEOF
32841 cat confdefs.h >>conftest.$ac_ext
32842 cat >>conftest.$ac_ext <<_ACEOF
32843 /* end confdefs.h. */
32844
32845 /* Override any gcc2 internal prototype to avoid an error. */
32846 #ifdef __cplusplus
32847 extern "C"
32848 #endif
32849 /* We use char because int might match the return type of a gcc2
32850 builtin and then its argument prototype would still apply. */
32851 char SQLAllocEnv ();
32852 int
32853 main ()
32854 {
32855 SQLAllocEnv ();
32856 ;
32857 return 0;
32858 }
32859 _ACEOF
32860 rm -f conftest.$ac_objext conftest$ac_exeext
32861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32862 (eval $ac_link) 2>conftest.er1
32863 ac_status=$?
32864 grep -v '^ *+' conftest.er1 >conftest.err
32865 rm -f conftest.er1
32866 cat conftest.err >&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); } &&
32869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } &&
32875 { ac_try='test -s conftest$ac_exeext'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32878 ac_status=$?
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; }; then
32881 ac_cv_lib_iodbc_SQLAllocEnv=yes
32882 else
32883 echo "$as_me: failed program was:" >&5
32884 sed 's/^/| /' conftest.$ac_ext >&5
32885
32886 ac_cv_lib_iodbc_SQLAllocEnv=no
32887 fi
32888 rm -f conftest.err conftest.$ac_objext \
32889 conftest$ac_exeext conftest.$ac_ext
32890 LIBS=$ac_check_lib_save_LIBS
32891 fi
32892 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32893 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32894 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32895 ODBC_LINK=" -liodbc"
32896 else
32897
32898 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32899 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32900 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 else
32903 ac_check_lib_save_LIBS=$LIBS
32904 LIBS="-lunixodbc $LIBS"
32905 cat >conftest.$ac_ext <<_ACEOF
32906 /* confdefs.h. */
32907 _ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911
32912 /* Override any gcc2 internal prototype to avoid an error. */
32913 #ifdef __cplusplus
32914 extern "C"
32915 #endif
32916 /* We use char because int might match the return type of a gcc2
32917 builtin and then its argument prototype would still apply. */
32918 char SQLAllocEnv ();
32919 int
32920 main ()
32921 {
32922 SQLAllocEnv ();
32923 ;
32924 return 0;
32925 }
32926 _ACEOF
32927 rm -f conftest.$ac_objext conftest$ac_exeext
32928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32929 (eval $ac_link) 2>conftest.er1
32930 ac_status=$?
32931 grep -v '^ *+' conftest.er1 >conftest.err
32932 rm -f conftest.er1
32933 cat conftest.err >&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); } &&
32936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32945 ac_status=$?
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32949 else
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.$ac_ext >&5
32952
32953 ac_cv_lib_unixodbc_SQLAllocEnv=no
32954 fi
32955 rm -f conftest.err conftest.$ac_objext \
32956 conftest$ac_exeext conftest.$ac_ext
32957 LIBS=$ac_check_lib_save_LIBS
32958 fi
32959 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32960 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32961 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32962 ODBC_LINK=" -lunixodbc"
32963 else
32964
32965 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32966 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32967 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32970 ac_check_lib_save_LIBS=$LIBS
32971 LIBS="-lodbc $LIBS"
32972 cat >conftest.$ac_ext <<_ACEOF
32973 /* confdefs.h. */
32974 _ACEOF
32975 cat confdefs.h >>conftest.$ac_ext
32976 cat >>conftest.$ac_ext <<_ACEOF
32977 /* end confdefs.h. */
32978
32979 /* Override any gcc2 internal prototype to avoid an error. */
32980 #ifdef __cplusplus
32981 extern "C"
32982 #endif
32983 /* We use char because int might match the return type of a gcc2
32984 builtin and then its argument prototype would still apply. */
32985 char SQLAllocEnv ();
32986 int
32987 main ()
32988 {
32989 SQLAllocEnv ();
32990 ;
32991 return 0;
32992 }
32993 _ACEOF
32994 rm -f conftest.$ac_objext conftest$ac_exeext
32995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32996 (eval $ac_link) 2>conftest.er1
32997 ac_status=$?
32998 grep -v '^ *+' conftest.er1 >conftest.err
32999 rm -f conftest.er1
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } &&
33003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33005 (eval $ac_try) 2>&5
33006 ac_status=$?
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); }; } &&
33009 { ac_try='test -s conftest$ac_exeext'
33010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33011 (eval $ac_try) 2>&5
33012 ac_status=$?
33013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33014 (exit $ac_status); }; }; then
33015 ac_cv_lib_odbc_SQLAllocEnv=yes
33016 else
33017 echo "$as_me: failed program was:" >&5
33018 sed 's/^/| /' conftest.$ac_ext >&5
33019
33020 ac_cv_lib_odbc_SQLAllocEnv=no
33021 fi
33022 rm -f conftest.err conftest.$ac_objext \
33023 conftest$ac_exeext conftest.$ac_ext
33024 LIBS=$ac_check_lib_save_LIBS
33025 fi
33026 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33027 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33028 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33029 ODBC_LINK=" -lodbc"
33030 fi
33031
33032
33033 fi
33034
33035
33036 fi
33037
33038 fi
33039 if test "x$ODBC_LINK" = "x" ; then
33040 if test "$wxUSE_ODBC" = "sys" ; then
33041 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33042 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33043 { (exit 1); exit 1; }; }
33044 else
33045 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33046 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33047 wxUSE_ODBC=builtin
33048 fi
33049 else
33050 wxUSE_ODBC=sys
33051 fi
33052 fi
33053
33054 if test "$wxUSE_ODBC" = "builtin" ; then
33055 cat >>confdefs.h <<\_ACEOF
33056 #define wxUSE_BUILTIN_IODBC 1
33057 _ACEOF
33058
33059 fi
33060 fi
33061
33062 if test "$wxUSE_ODBC" != "no" ; then
33063 cat >>confdefs.h <<\_ACEOF
33064 #define wxUSE_ODBC 1
33065 _ACEOF
33066
33067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33068
33069 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33070 fi
33071
33072
33073 if test "$wxUSE_DISPLAY" = "yes"; then
33074 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33075 echo "$as_me:$LINENO: checking for Xinerama" >&5
33076 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33077
33078 ac_find_libraries=
33079 for ac_dir in $SEARCH_LIB;
33080 do
33081 for ac_extension in a so sl dylib dll.a; do
33082 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33083 ac_find_libraries=$ac_dir
33084 break 2
33085 fi
33086 done
33087 done
33088
33089 if test "$ac_find_libraries" != "" ; then
33090
33091 if test "$ac_find_libraries" = "default location"; then
33092 ac_path_to_link=""
33093 else
33094 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33095 result=$?
33096 if test $result = 0; then
33097 ac_path_to_link=""
33098 else
33099 ac_path_to_link=" -L$ac_find_libraries"
33100 fi
33101 fi
33102
33103 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33104 LDFLAGS="$LDFLAGS $ac_path_to_link"
33105 fi
33106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33107 echo "$as_me:$LINENO: result: yes" >&5
33108 echo "${ECHO_T}yes" >&6
33109
33110 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33111 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33112
33113 ac_find_libraries=
33114 for ac_dir in $SEARCH_LIB;
33115 do
33116 for ac_extension in a so sl dylib dll.a; do
33117 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33118 ac_find_libraries=$ac_dir
33119 break 2
33120 fi
33121 done
33122 done
33123
33124 if test "$ac_find_libraries" != "" ; then
33125 echo "$as_me:$LINENO: result: yes" >&5
33126 echo "${ECHO_T}yes" >&6
33127
33128 for ac_header in X11/extensions/xf86vmode.h
33129 do
33130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33131 echo "$as_me:$LINENO: checking for $ac_header" >&5
33132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33136 cat >conftest.$ac_ext <<_ACEOF
33137 /* confdefs.h. */
33138 _ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33142
33143 #if HAVE_X11_XLIB_H
33144 #include <X11/Xlib.h>
33145 #endif
33146
33147
33148 #include <$ac_header>
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33161 (eval $ac_try) 2>&5
33162 ac_status=$?
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); }; } &&
33165 { ac_try='test -s conftest.$ac_objext'
33166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33167 (eval $ac_try) 2>&5
33168 ac_status=$?
33169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33170 (exit $ac_status); }; }; then
33171 eval "$as_ac_Header=yes"
33172 else
33173 echo "$as_me: failed program was:" >&5
33174 sed 's/^/| /' conftest.$ac_ext >&5
33175
33176 eval "$as_ac_Header=no"
33177 fi
33178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33179 fi
33180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33183 cat >>confdefs.h <<_ACEOF
33184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33185 _ACEOF
33186
33187 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33188
33189 fi
33190
33191 done
33192
33193 else
33194 echo "$as_me:$LINENO: result: no" >&5
33195 echo "${ECHO_T}no" >&6
33196 fi
33197
33198 else
33199 echo "$as_me:$LINENO: result: no" >&5
33200 echo "${ECHO_T}no" >&6
33201 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33202 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33203 wxUSE_DISPLAY="no"
33204 fi
33205 elif test "$wxUSE_MSW" = 1; then
33206
33207 for ac_header in ddraw.h
33208 do
33209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33210 echo "$as_me:$LINENO: checking for $ac_header" >&5
33211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33213 echo $ECHO_N "(cached) $ECHO_C" >&6
33214 else
33215 cat >conftest.$ac_ext <<_ACEOF
33216 /* confdefs.h. */
33217 _ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33221 #include <windows.h>
33222
33223 #include <$ac_header>
33224 _ACEOF
33225 rm -f conftest.$ac_objext
33226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33227 (eval $ac_compile) 2>conftest.er1
33228 ac_status=$?
33229 grep -v '^ *+' conftest.er1 >conftest.err
33230 rm -f conftest.er1
33231 cat conftest.err >&5
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); } &&
33234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; } &&
33240 { ac_try='test -s conftest.$ac_objext'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33243 ac_status=$?
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; }; then
33246 eval "$as_ac_Header=yes"
33247 else
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.$ac_ext >&5
33250
33251 eval "$as_ac_Header=no"
33252 fi
33253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33254 fi
33255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33258 cat >>confdefs.h <<_ACEOF
33259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33260 _ACEOF
33261
33262 fi
33263
33264 done
33265
33266 fi
33267 fi
33268
33269 if test "$wxUSE_DETECT_SM" = "yes"; then
33270 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33271 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33272 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33273
33274 ac_find_libraries=
33275 for ac_dir in $SEARCH_LIB;
33276 do
33277 for ac_extension in a so sl dylib dll.a; do
33278 if test -f "$ac_dir/libSM.$ac_extension"; then
33279 ac_find_libraries=$ac_dir
33280 break 2
33281 fi
33282 done
33283 done
33284
33285 if test "$ac_find_libraries" != "" ; then
33286
33287 if test "$ac_find_libraries" = "default location"; then
33288 ac_path_to_link=""
33289 else
33290 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33291 result=$?
33292 if test $result = 0; then
33293 ac_path_to_link=""
33294 else
33295 ac_path_to_link=" -L$ac_find_libraries"
33296 fi
33297 fi
33298
33299 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33300 LDFLAGS="$LDFLAGS $ac_path_to_link"
33301 fi
33302 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33303 echo "$as_me:$LINENO: result: yes" >&5
33304 echo "${ECHO_T}yes" >&6
33305 else
33306 echo "$as_me:$LINENO: result: no" >&5
33307 echo "${ECHO_T}no" >&6
33308 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33309 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33310 wxUSE_DETECT_SM="no"
33311 fi
33312 else
33313 wxUSE_DETECT_SM="no"
33314 fi
33315 fi
33316
33317
33318
33319 USE_OPENGL=0
33320 if test "$wxUSE_OPENGL" = "yes"; then
33321 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
33322 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33323 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33324 wxUSE_OPENGL="no"
33325 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33326 OPENGL_LIBS="-framework OpenGL -framework AGL"
33327 elif test "$wxUSE_MSW" = 1; then
33328 OPENGL_LIBS="-lopengl32 -lglu32"
33329 else
33330 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33331 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33332
33333 ac_find_includes=
33334 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33335 do
33336 if test -f "$ac_dir/GL/gl.h"; then
33337 ac_find_includes=$ac_dir
33338 break
33339 fi
33340 done
33341
33342 if test "$ac_find_includes" != "" ; then
33343 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33344 echo "${ECHO_T}found in $ac_find_includes" >&6
33345
33346 if test "x$ac_find_includes" = "x/usr/include"; then
33347 ac_path_to_include=""
33348 else
33349 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33350 result=$?
33351 if test $result = 0; then
33352 ac_path_to_include=""
33353 else
33354 ac_path_to_include=" -I$ac_find_includes"
33355 fi
33356 fi
33357
33358 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33359 else
33360 echo "$as_me:$LINENO: result: not found" >&5
33361 echo "${ECHO_T}not found" >&6
33362 fi
33363
33364 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33365 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33366 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33367 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 fi
33370 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33371 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33372 else
33373 # Is the header compilable?
33374 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33375 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33376 cat >conftest.$ac_ext <<_ACEOF
33377 /* confdefs.h. */
33378 _ACEOF
33379 cat confdefs.h >>conftest.$ac_ext
33380 cat >>conftest.$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33382 $ac_includes_default
33383 #include <GL/gl.h>
33384 _ACEOF
33385 rm -f conftest.$ac_objext
33386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33387 (eval $ac_compile) 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } &&
33394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33396 (eval $ac_try) 2>&5
33397 ac_status=$?
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); }; } &&
33400 { ac_try='test -s conftest.$ac_objext'
33401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402 (eval $ac_try) 2>&5
33403 ac_status=$?
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); }; }; then
33406 ac_header_compiler=yes
33407 else
33408 echo "$as_me: failed program was:" >&5
33409 sed 's/^/| /' conftest.$ac_ext >&5
33410
33411 ac_header_compiler=no
33412 fi
33413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33415 echo "${ECHO_T}$ac_header_compiler" >&6
33416
33417 # Is the header present?
33418 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33419 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33420 cat >conftest.$ac_ext <<_ACEOF
33421 /* confdefs.h. */
33422 _ACEOF
33423 cat confdefs.h >>conftest.$ac_ext
33424 cat >>conftest.$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33426 #include <GL/gl.h>
33427 _ACEOF
33428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33430 ac_status=$?
33431 grep -v '^ *+' conftest.er1 >conftest.err
33432 rm -f conftest.er1
33433 cat conftest.err >&5
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); } >/dev/null; then
33436 if test -s conftest.err; then
33437 ac_cpp_err=$ac_c_preproc_warn_flag
33438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33439 else
33440 ac_cpp_err=
33441 fi
33442 else
33443 ac_cpp_err=yes
33444 fi
33445 if test -z "$ac_cpp_err"; then
33446 ac_header_preproc=yes
33447 else
33448 echo "$as_me: failed program was:" >&5
33449 sed 's/^/| /' conftest.$ac_ext >&5
33450
33451 ac_header_preproc=no
33452 fi
33453 rm -f conftest.err conftest.$ac_ext
33454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33455 echo "${ECHO_T}$ac_header_preproc" >&6
33456
33457 # So? What about this header?
33458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33459 yes:no: )
33460 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33461 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33462 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33463 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33464 ac_header_preproc=yes
33465 ;;
33466 no:yes:* )
33467 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33468 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33469 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33470 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33471 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33472 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33473 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33474 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33475 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33476 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33477 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33478 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33479 (
33480 cat <<\_ASBOX
33481 ## ----------------------------------------- ##
33482 ## Report this to wx-dev@lists.wxwidgets.org ##
33483 ## ----------------------------------------- ##
33484 _ASBOX
33485 ) |
33486 sed "s/^/$as_me: WARNING: /" >&2
33487 ;;
33488 esac
33489 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33490 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33491 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494 ac_cv_header_GL_gl_h=$ac_header_preproc
33495 fi
33496 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33497 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33498
33499 fi
33500 if test $ac_cv_header_GL_gl_h = yes; then
33501
33502 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33503 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33504 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33505 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33506 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 fi
33508 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33509 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33510 else
33511 # Is the header compilable?
33512 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33513 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33514 cat >conftest.$ac_ext <<_ACEOF
33515 /* confdefs.h. */
33516 _ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520 $ac_includes_default
33521 #include <GL/glu.h>
33522 _ACEOF
33523 rm -f conftest.$ac_objext
33524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33525 (eval $ac_compile) 2>conftest.er1
33526 ac_status=$?
33527 grep -v '^ *+' conftest.er1 >conftest.err
33528 rm -f conftest.er1
33529 cat conftest.err >&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); } &&
33532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33534 (eval $ac_try) 2>&5
33535 ac_status=$?
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); }; } &&
33538 { ac_try='test -s conftest.$ac_objext'
33539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33540 (eval $ac_try) 2>&5
33541 ac_status=$?
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); }; }; then
33544 ac_header_compiler=yes
33545 else
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33548
33549 ac_header_compiler=no
33550 fi
33551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33553 echo "${ECHO_T}$ac_header_compiler" >&6
33554
33555 # Is the header present?
33556 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33557 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33558 cat >conftest.$ac_ext <<_ACEOF
33559 /* confdefs.h. */
33560 _ACEOF
33561 cat confdefs.h >>conftest.$ac_ext
33562 cat >>conftest.$ac_ext <<_ACEOF
33563 /* end confdefs.h. */
33564 #include <GL/glu.h>
33565 _ACEOF
33566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33568 ac_status=$?
33569 grep -v '^ *+' conftest.er1 >conftest.err
33570 rm -f conftest.er1
33571 cat conftest.err >&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } >/dev/null; then
33574 if test -s conftest.err; then
33575 ac_cpp_err=$ac_c_preproc_warn_flag
33576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33577 else
33578 ac_cpp_err=
33579 fi
33580 else
33581 ac_cpp_err=yes
33582 fi
33583 if test -z "$ac_cpp_err"; then
33584 ac_header_preproc=yes
33585 else
33586 echo "$as_me: failed program was:" >&5
33587 sed 's/^/| /' conftest.$ac_ext >&5
33588
33589 ac_header_preproc=no
33590 fi
33591 rm -f conftest.err conftest.$ac_ext
33592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33593 echo "${ECHO_T}$ac_header_preproc" >&6
33594
33595 # So? What about this header?
33596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33597 yes:no: )
33598 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33599 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33600 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33601 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33602 ac_header_preproc=yes
33603 ;;
33604 no:yes:* )
33605 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33606 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33608 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33609 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33610 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33611 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33612 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33613 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33614 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33615 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33616 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33617 (
33618 cat <<\_ASBOX
33619 ## ----------------------------------------- ##
33620 ## Report this to wx-dev@lists.wxwidgets.org ##
33621 ## ----------------------------------------- ##
33622 _ASBOX
33623 ) |
33624 sed "s/^/$as_me: WARNING: /" >&2
33625 ;;
33626 esac
33627 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33628 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33629 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 else
33632 ac_cv_header_GL_glu_h=$ac_header_preproc
33633 fi
33634 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33635 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33636
33637 fi
33638 if test $ac_cv_header_GL_glu_h = yes; then
33639
33640 found_gl=0
33641
33642 echo "$as_me:$LINENO: checking for -lGL" >&5
33643 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33644
33645 ac_find_libraries=
33646 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33647 do
33648 for ac_extension in a so sl dylib dll.a; do
33649 if test -f "$ac_dir/libGL.$ac_extension"; then
33650 ac_find_libraries=$ac_dir
33651 break 2
33652 fi
33653 done
33654 done
33655
33656 if test "$ac_find_libraries" != "" ; then
33657 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33658 echo "${ECHO_T}found in $ac_find_libraries" >&6
33659
33660
33661 if test "$ac_find_libraries" = "default location"; then
33662 ac_path_to_link=""
33663 else
33664 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33665 result=$?
33666 if test $result = 0; then
33667 ac_path_to_link=""
33668 else
33669 ac_path_to_link=" -L$ac_find_libraries"
33670 fi
33671 fi
33672
33673 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33674 LDFLAGS_GL="$ac_path_to_link"
33675 fi
33676
33677 echo "$as_me:$LINENO: checking for -lGLU" >&5
33678 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33679
33680 ac_find_libraries=
33681 for ac_dir in $SEARCH_LIB;
33682 do
33683 for ac_extension in a so sl dylib dll.a; do
33684 if test -f "$ac_dir/libGLU.$ac_extension"; then
33685 ac_find_libraries=$ac_dir
33686 break 2
33687 fi
33688 done
33689 done
33690
33691 if test "$ac_find_libraries" != "" ; then
33692
33693 if test "$ac_find_libraries" = "default location"; then
33694 ac_path_to_link=""
33695 else
33696 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33697 result=$?
33698 if test $result = 0; then
33699 ac_path_to_link=""
33700 else
33701 ac_path_to_link=" -L$ac_find_libraries"
33702 fi
33703 fi
33704
33705 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33706 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33707 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33708 fi
33709
33710 found_gl=1
33711 OPENGL_LIBS="-lGL -lGLU"
33712 echo "$as_me:$LINENO: result: yes" >&5
33713 echo "${ECHO_T}yes" >&6
33714 else
33715 echo "$as_me:$LINENO: result: no" >&5
33716 echo "${ECHO_T}no" >&6
33717 fi
33718 else
33719 echo "$as_me:$LINENO: result: no" >&5
33720 echo "${ECHO_T}no" >&6
33721 fi
33722
33723 if test "$found_gl" != 1; then
33724 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33725 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33726
33727 ac_find_libraries=
33728 for ac_dir in $SEARCH_LIB;
33729 do
33730 for ac_extension in a so sl dylib dll.a; do
33731 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33732 ac_find_libraries=$ac_dir
33733 break 2
33734 fi
33735 done
33736 done
33737
33738 if test "$ac_find_libraries" != "" ; then
33739
33740 if test "$ac_find_libraries" = "default location"; then
33741 ac_path_to_link=""
33742 else
33743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33744 result=$?
33745 if test $result = 0; then
33746 ac_path_to_link=""
33747 else
33748 ac_path_to_link=" -L$ac_find_libraries"
33749 fi
33750 fi
33751
33752 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33753 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33754 echo "$as_me:$LINENO: result: yes" >&5
33755 echo "${ECHO_T}yes" >&6
33756 else
33757 echo "$as_me:$LINENO: result: no" >&5
33758 echo "${ECHO_T}no" >&6
33759 fi
33760 fi
33761
33762 fi
33763
33764
33765
33766 fi
33767
33768
33769
33770 if test "x$OPENGL_LIBS" = "x"; then
33771 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33772 echo "$as_me: error: OpenGL libraries not available" >&2;}
33773 { (exit 1); exit 1; }; }
33774 fi
33775 fi
33776
33777 if test "$wxUSE_OPENGL" = "yes"; then
33778 USE_OPENGL=1
33779 cat >>confdefs.h <<\_ACEOF
33780 #define wxUSE_OPENGL 1
33781 _ACEOF
33782
33783 cat >>confdefs.h <<\_ACEOF
33784 #define wxUSE_GLCANVAS 1
33785 _ACEOF
33786
33787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33788 fi
33789 fi
33790
33791
33792 if test -n "$TOOLKIT" ; then
33793 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33794 fi
33795
33796
33797
33798 if test "$wxUSE_SHARED" = "yes"; then
33799 case "${host}" in
33800 *-pc-msdosdjgpp )
33801 wxUSE_SHARED=no
33802 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33803 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33804 ;;
33805 esac
33806 fi
33807
33808 if test "$wxUSE_SHARED" = "yes"; then
33809
33810
33811 case "${host}" in
33812 *-*-cygwin* | *-*-mingw* )
33813 wx_cv_version_script=no
33814 ;;
33815
33816 *)
33817 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33818 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33819 if test "${wx_cv_version_script+set}" = set; then
33820 echo $ECHO_N "(cached) $ECHO_C" >&6
33821 else
33822
33823 echo "VER_1 { *; };" >conftest.sym
33824 echo "int main() { return 0; }" >conftest.cpp
33825
33826 if { ac_try='
33827 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33828 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33830 (eval $ac_try) 2>&5
33831 ac_status=$?
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); }; } ; then
33834 if test -s conftest.stderr ; then
33835 wx_cv_version_script=no
33836 else
33837 wx_cv_version_script=yes
33838 fi
33839 else
33840 wx_cv_version_script=no
33841 fi
33842
33843 if test $wx_cv_version_script = yes
33844 then
33845 echo "struct B { virtual ~B() { } }; \
33846 struct D : public B { }; \
33847 void F() { D d; }" > conftest.cpp
33848
33849 if { ac_try='
33850 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33851 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33854 ac_status=$?
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; } &&
33857 { ac_try='
33858 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33859 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; }
33865 then
33866 if { ac_try='
33867 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33868 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33871 ac_status=$?
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; }
33874 then
33875 wx_cv_version_script=yes
33876 else
33877 wx_cv_version_script=no
33878 fi
33879 fi
33880 fi
33881
33882 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33883 rm -f conftest1.output conftest2.output conftest3.output
33884
33885 fi
33886 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33887 echo "${ECHO_T}$wx_cv_version_script" >&6
33888
33889 if test $wx_cv_version_script = yes ; then
33890 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33891 fi
33892 ;;
33893 esac
33894
33895
33896 case "${host}" in
33897 *-*-linux* | *-*-gnu* )
33898 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33899 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33900 ;;
33901
33902 *-*-solaris2* )
33903 if test "$GCC" = yes ; then
33904 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33905
33906 saveLdflags="$LDFLAGS"
33907 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33908 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33909 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33910 cat >conftest.$ac_ext <<_ACEOF
33911 /* confdefs.h. */
33912 _ACEOF
33913 cat confdefs.h >>conftest.$ac_ext
33914 cat >>conftest.$ac_ext <<_ACEOF
33915 /* end confdefs.h. */
33916
33917 int
33918 main ()
33919 {
33920
33921 ;
33922 return 0;
33923 }
33924 _ACEOF
33925 rm -f conftest.$ac_objext conftest$ac_exeext
33926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33927 (eval $ac_link) 2>conftest.er1
33928 ac_status=$?
33929 grep -v '^ *+' conftest.er1 >conftest.err
33930 rm -f conftest.er1
33931 cat conftest.err >&5
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); } &&
33934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33937 ac_status=$?
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; } &&
33940 { ac_try='test -s conftest$ac_exeext'
33941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 (eval $ac_try) 2>&5
33943 ac_status=$?
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); }; }; then
33946
33947 echo "$as_me:$LINENO: result: yes" >&5
33948 echo "${ECHO_T}yes" >&6
33949 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33950 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33951
33952 else
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33955
33956
33957 echo "$as_me:$LINENO: result: no" >&5
33958 echo "${ECHO_T}no" >&6
33959 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33960 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33961 LDFLAGS="$saveLdflags -Wl,-R,/"
33962 cat >conftest.$ac_ext <<_ACEOF
33963 /* confdefs.h. */
33964 _ACEOF
33965 cat confdefs.h >>conftest.$ac_ext
33966 cat >>conftest.$ac_ext <<_ACEOF
33967 /* end confdefs.h. */
33968
33969 int
33970 main ()
33971 {
33972
33973 ;
33974 return 0;
33975 }
33976 _ACEOF
33977 rm -f conftest.$ac_objext conftest$ac_exeext
33978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33979 (eval $ac_link) 2>conftest.er1
33980 ac_status=$?
33981 grep -v '^ *+' conftest.er1 >conftest.err
33982 rm -f conftest.er1
33983 cat conftest.err >&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); } &&
33986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33989 ac_status=$?
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; } &&
33992 { ac_try='test -s conftest$ac_exeext'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33995 ac_status=$?
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; }; then
33998
33999 echo "$as_me:$LINENO: result: yes" >&5
34000 echo "${ECHO_T}yes" >&6
34001 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34002 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34003
34004 else
34005 echo "$as_me: failed program was:" >&5
34006 sed 's/^/| /' conftest.$ac_ext >&5
34007
34008
34009 echo "$as_me:$LINENO: result: no" >&5
34010 echo "${ECHO_T}no" >&6
34011
34012 fi
34013 rm -f conftest.err conftest.$ac_objext \
34014 conftest$ac_exeext conftest.$ac_ext
34015
34016 fi
34017 rm -f conftest.err conftest.$ac_objext \
34018 conftest$ac_exeext conftest.$ac_ext
34019 LDFLAGS="$saveLdflags"
34020 else
34021 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34022 WXCONFIG_RPATH="-R\$libdir"
34023 fi
34024 ;;
34025
34026 *-*-darwin* )
34027 install_name_tool=`which install_name_tool`
34028 if test "$install_name_tool" -a -x "$install_name_tool"; then
34029 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34030 cat <<EOF >change-install-names
34031 #!/bin/sh
34032 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34033 inst_cmd="install_name_tool "
34034 for i in \${libnames} ; do
34035 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34036 done
34037 \${inst_cmd} \${3}
34038 EOF
34039 chmod +x change-install-names
34040 fi
34041 ;;
34042
34043 *-*-cygwin* | *-*-mingw32* )
34044 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34045 ;;
34046
34047 *-*-hpux* )
34048 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34049 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34050 ;;
34051
34052 esac
34053
34054 if test $wxUSE_RPATH = "no"; then
34055 SAMPLES_RPATH_FLAG=''
34056 SAMPLES_RPATH_POSTLINK=''
34057 WXCONFIG_RPATH=''
34058 fi
34059
34060 SHARED=1
34061
34062 else
34063
34064 config_linkage_component="-static"
34065 SHARED=0
34066
34067 fi
34068
34069
34070 UNICODE=0
34071 lib_unicode_suffix=
34072 WX_CHARTYPE="ansi"
34073 if test "$wxUSE_UNICODE" = "yes"; then
34074 lib_unicode_suffix=u
34075 WX_CHARTYPE="unicode"
34076 UNICODE=1
34077 fi
34078
34079 lib_debug_suffix=
34080 WX_DEBUGTYPE="release"
34081 DEBUG_FLAG=0
34082 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34083 lib_debug_suffix=d
34084 WX_DEBUGTYPE="debug"
34085 DEBUG_FLAG=1
34086 fi
34087
34088 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34089 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34090
34091 DEBUG_INFO=0
34092 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34093 DEBUG_INFO=1
34094 fi
34095
34096 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34097
34098 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34099
34100 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34101
34102 if test "$cross_compiling" = "yes"; then
34103 HOST_SUFFIX="-$host_alias"
34104 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34105 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34106 fi
34107
34108 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34109 if test "${TOOLKIT_DIR}" = "os2"; then
34110 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34111 else
34112 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34113 fi
34114
34115
34116
34117 if test "$wxUSE_COCOA" = 1; then
34118
34119
34120 ac_ext=c
34121 ac_cpp='$CPP $CPPFLAGS'
34122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34125
34126 ac_ext=m
34127
34128 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34129 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 #include <AppKit/NSEvent.h>
34137 #include <CoreFoundation/CoreFoundation.h>
34138
34139 int
34140 main ()
34141 {
34142
34143 ;
34144 return 0;
34145 }
34146 _ACEOF
34147 rm -f conftest.$ac_objext
34148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34149 (eval $ac_compile) 2>conftest.er1
34150 ac_status=$?
34151 grep -v '^ *+' conftest.er1 >conftest.err
34152 rm -f conftest.er1
34153 cat conftest.err >&5
34154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34155 (exit $ac_status); } &&
34156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158 (eval $ac_try) 2>&5
34159 ac_status=$?
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); }; } &&
34162 { ac_try='test -s conftest.$ac_objext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34165 ac_status=$?
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34168 echo "$as_me:$LINENO: result: no" >&5
34169 echo "${ECHO_T}no" >&6
34170 else
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.$ac_ext >&5
34173
34174 echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6
34176 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34177 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34178 cat >conftest.$ac_ext <<_ACEOF
34179 /* confdefs.h. */
34180 _ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34184 #define __Point__ 1
34185 #include <AppKit/NSEvent.h>
34186 #include <CoreFoundation/CoreFoundation.h>
34187
34188 int
34189 main ()
34190 {
34191
34192 ;
34193 return 0;
34194 }
34195 _ACEOF
34196 rm -f conftest.$ac_objext
34197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34198 (eval $ac_compile) 2>conftest.er1
34199 ac_status=$?
34200 grep -v '^ *+' conftest.er1 >conftest.err
34201 rm -f conftest.er1
34202 cat conftest.err >&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); } &&
34205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34208 ac_status=$?
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; } &&
34211 { ac_try='test -s conftest.$ac_objext'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34214 ac_status=$?
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; }; then
34217 echo "$as_me:$LINENO: result: yes" >&5
34218 echo "${ECHO_T}yes" >&6
34219 cat >>confdefs.h <<\_ACEOF
34220 #define __Point__ 1
34221 _ACEOF
34222
34223
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228 { { echo "$as_me:$LINENO: error: no
34229 See \`config.log' for more details." >&5
34230 echo "$as_me: error: no
34231 See \`config.log' for more details." >&2;}
34232 { (exit 1); exit 1; }; }
34233
34234 fi
34235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34236
34237 fi
34238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34239 ac_ext=c
34240 ac_cpp='$CPP $CPPFLAGS'
34241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34244
34245 fi
34246
34247 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34248 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34249 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34250
34251 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34252
34253 # Extract the first word of "Rez", so it can be a program name with args.
34254 set dummy Rez; ac_word=$2
34255 echo "$as_me:$LINENO: checking for $ac_word" >&5
34256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34257 if test "${ac_cv_prog_REZ+set}" = set; then
34258 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 else
34260 if test -n "$REZ"; then
34261 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34262 else
34263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34264 for as_dir in $PATH
34265 do
34266 IFS=$as_save_IFS
34267 test -z "$as_dir" && as_dir=.
34268 for ac_exec_ext in '' $ac_executable_extensions; do
34269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34270 ac_cv_prog_REZ="Rez"
34271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34272 break 2
34273 fi
34274 done
34275 done
34276
34277 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34278 fi
34279 fi
34280 REZ=$ac_cv_prog_REZ
34281 if test -n "$REZ"; then
34282 echo "$as_me:$LINENO: result: $REZ" >&5
34283 echo "${ECHO_T}$REZ" >&6
34284 else
34285 echo "$as_me:$LINENO: result: no" >&5
34286 echo "${ECHO_T}no" >&6
34287 fi
34288
34289 # Extract the first word of "DeRez", so it can be a program name with args.
34290 set dummy DeRez; ac_word=$2
34291 echo "$as_me:$LINENO: checking for $ac_word" >&5
34292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34293 if test "${ac_cv_prog_DEREZ+set}" = set; then
34294 echo $ECHO_N "(cached) $ECHO_C" >&6
34295 else
34296 if test -n "$DEREZ"; then
34297 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34298 else
34299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34300 for as_dir in $PATH
34301 do
34302 IFS=$as_save_IFS
34303 test -z "$as_dir" && as_dir=.
34304 for ac_exec_ext in '' $ac_executable_extensions; do
34305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34306 ac_cv_prog_DEREZ="DeRez"
34307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34308 break 2
34309 fi
34310 done
34311 done
34312
34313 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34314 fi
34315 fi
34316 DEREZ=$ac_cv_prog_DEREZ
34317 if test -n "$DEREZ"; then
34318 echo "$as_me:$LINENO: result: $DEREZ" >&5
34319 echo "${ECHO_T}$DEREZ" >&6
34320 else
34321 echo "$as_me:$LINENO: result: no" >&5
34322 echo "${ECHO_T}no" >&6
34323 fi
34324
34325 # Extract the first word of "SetFile", so it can be a program name with args.
34326 set dummy SetFile; ac_word=$2
34327 echo "$as_me:$LINENO: checking for $ac_word" >&5
34328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34329 if test "${ac_cv_prog_SETFILE+set}" = set; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 else
34332 if test -n "$SETFILE"; then
34333 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34334 else
34335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34336 for as_dir in $PATH
34337 do
34338 IFS=$as_save_IFS
34339 test -z "$as_dir" && as_dir=.
34340 for ac_exec_ext in '' $ac_executable_extensions; do
34341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34342 ac_cv_prog_SETFILE="SetFile"
34343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34344 break 2
34345 fi
34346 done
34347 done
34348
34349 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34350 fi
34351 fi
34352 SETFILE=$ac_cv_prog_SETFILE
34353 if test -n "$SETFILE"; then
34354 echo "$as_me:$LINENO: result: $SETFILE" >&5
34355 echo "${ECHO_T}$SETFILE" >&6
34356 else
34357 echo "$as_me:$LINENO: result: no" >&5
34358 echo "${ECHO_T}no" >&6
34359 fi
34360
34361
34362 MACSETFILE="\$(SETFILE)"
34363
34364 if test "$wxUSE_MAC" = 1; then
34365 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34366 RESCOMP="$REZ"
34367 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34368 else
34369 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34370 RESCOMP="echo -n \| $REZ"
34371 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34372 fi
34373
34374 else
34375 MACSETFILE="@true"
34376
34377 if test "$wxUSE_PM" = 1; then
34378 RESCOMP="emxbind"
34379 WXCONFIG_RESFLAGS="-ep"
34380
34381 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34382 else
34383 POSTLINK_COMMAND="@true"
34384 fi
34385
34386 fi
34387
34388
34389
34390 echo "$as_me:$LINENO: checking for mode_t" >&5
34391 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34392 if test "${ac_cv_type_mode_t+set}" = set; then
34393 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 else
34395 cat >conftest.$ac_ext <<_ACEOF
34396 /* confdefs.h. */
34397 _ACEOF
34398 cat confdefs.h >>conftest.$ac_ext
34399 cat >>conftest.$ac_ext <<_ACEOF
34400 /* end confdefs.h. */
34401 $ac_includes_default
34402 int
34403 main ()
34404 {
34405 if ((mode_t *) 0)
34406 return 0;
34407 if (sizeof (mode_t))
34408 return 0;
34409 ;
34410 return 0;
34411 }
34412 _ACEOF
34413 rm -f conftest.$ac_objext
34414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34415 (eval $ac_compile) 2>conftest.er1
34416 ac_status=$?
34417 grep -v '^ *+' conftest.er1 >conftest.err
34418 rm -f conftest.er1
34419 cat conftest.err >&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); } &&
34422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34425 ac_status=$?
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; } &&
34428 { ac_try='test -s conftest.$ac_objext'
34429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430 (eval $ac_try) 2>&5
34431 ac_status=$?
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); }; }; then
34434 ac_cv_type_mode_t=yes
34435 else
34436 echo "$as_me: failed program was:" >&5
34437 sed 's/^/| /' conftest.$ac_ext >&5
34438
34439 ac_cv_type_mode_t=no
34440 fi
34441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34442 fi
34443 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34444 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34445 if test $ac_cv_type_mode_t = yes; then
34446 :
34447 else
34448
34449 cat >>confdefs.h <<_ACEOF
34450 #define mode_t int
34451 _ACEOF
34452
34453 fi
34454
34455 echo "$as_me:$LINENO: checking for off_t" >&5
34456 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34457 if test "${ac_cv_type_off_t+set}" = set; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460 cat >conftest.$ac_ext <<_ACEOF
34461 /* confdefs.h. */
34462 _ACEOF
34463 cat confdefs.h >>conftest.$ac_ext
34464 cat >>conftest.$ac_ext <<_ACEOF
34465 /* end confdefs.h. */
34466 $ac_includes_default
34467 int
34468 main ()
34469 {
34470 if ((off_t *) 0)
34471 return 0;
34472 if (sizeof (off_t))
34473 return 0;
34474 ;
34475 return 0;
34476 }
34477 _ACEOF
34478 rm -f conftest.$ac_objext
34479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34480 (eval $ac_compile) 2>conftest.er1
34481 ac_status=$?
34482 grep -v '^ *+' conftest.er1 >conftest.err
34483 rm -f conftest.er1
34484 cat conftest.err >&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } &&
34487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; } &&
34493 { ac_try='test -s conftest.$ac_objext'
34494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34495 (eval $ac_try) 2>&5
34496 ac_status=$?
34497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34498 (exit $ac_status); }; }; then
34499 ac_cv_type_off_t=yes
34500 else
34501 echo "$as_me: failed program was:" >&5
34502 sed 's/^/| /' conftest.$ac_ext >&5
34503
34504 ac_cv_type_off_t=no
34505 fi
34506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34507 fi
34508 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34509 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34510 if test $ac_cv_type_off_t = yes; then
34511 :
34512 else
34513
34514 cat >>confdefs.h <<_ACEOF
34515 #define off_t long
34516 _ACEOF
34517
34518 fi
34519
34520 echo "$as_me:$LINENO: checking for pid_t" >&5
34521 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34522 if test "${ac_cv_type_pid_t+set}" = set; then
34523 echo $ECHO_N "(cached) $ECHO_C" >&6
34524 else
34525 cat >conftest.$ac_ext <<_ACEOF
34526 /* confdefs.h. */
34527 _ACEOF
34528 cat confdefs.h >>conftest.$ac_ext
34529 cat >>conftest.$ac_ext <<_ACEOF
34530 /* end confdefs.h. */
34531 $ac_includes_default
34532 int
34533 main ()
34534 {
34535 if ((pid_t *) 0)
34536 return 0;
34537 if (sizeof (pid_t))
34538 return 0;
34539 ;
34540 return 0;
34541 }
34542 _ACEOF
34543 rm -f conftest.$ac_objext
34544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34545 (eval $ac_compile) 2>conftest.er1
34546 ac_status=$?
34547 grep -v '^ *+' conftest.er1 >conftest.err
34548 rm -f conftest.er1
34549 cat conftest.err >&5
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); } &&
34552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34555 ac_status=$?
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; } &&
34558 { ac_try='test -s conftest.$ac_objext'
34559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34560 (eval $ac_try) 2>&5
34561 ac_status=$?
34562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34563 (exit $ac_status); }; }; then
34564 ac_cv_type_pid_t=yes
34565 else
34566 echo "$as_me: failed program was:" >&5
34567 sed 's/^/| /' conftest.$ac_ext >&5
34568
34569 ac_cv_type_pid_t=no
34570 fi
34571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34572 fi
34573 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34574 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34575 if test $ac_cv_type_pid_t = yes; then
34576 :
34577 else
34578
34579 cat >>confdefs.h <<_ACEOF
34580 #define pid_t int
34581 _ACEOF
34582
34583 fi
34584
34585 echo "$as_me:$LINENO: checking for size_t" >&5
34586 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34587 if test "${ac_cv_type_size_t+set}" = set; then
34588 echo $ECHO_N "(cached) $ECHO_C" >&6
34589 else
34590 cat >conftest.$ac_ext <<_ACEOF
34591 /* confdefs.h. */
34592 _ACEOF
34593 cat confdefs.h >>conftest.$ac_ext
34594 cat >>conftest.$ac_ext <<_ACEOF
34595 /* end confdefs.h. */
34596 $ac_includes_default
34597 int
34598 main ()
34599 {
34600 if ((size_t *) 0)
34601 return 0;
34602 if (sizeof (size_t))
34603 return 0;
34604 ;
34605 return 0;
34606 }
34607 _ACEOF
34608 rm -f conftest.$ac_objext
34609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34610 (eval $ac_compile) 2>conftest.er1
34611 ac_status=$?
34612 grep -v '^ *+' conftest.er1 >conftest.err
34613 rm -f conftest.er1
34614 cat conftest.err >&5
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); } &&
34617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; } &&
34623 { ac_try='test -s conftest.$ac_objext'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34626 ac_status=$?
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; }; then
34629 ac_cv_type_size_t=yes
34630 else
34631 echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.$ac_ext >&5
34633
34634 ac_cv_type_size_t=no
34635 fi
34636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34637 fi
34638 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34639 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34640 if test $ac_cv_type_size_t = yes; then
34641 :
34642 else
34643
34644 cat >>confdefs.h <<_ACEOF
34645 #define size_t unsigned
34646 _ACEOF
34647
34648 fi
34649
34650 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34651 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34652 if test "${ac_cv_type_uid_t+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 else
34655 cat >conftest.$ac_ext <<_ACEOF
34656 /* confdefs.h. */
34657 _ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661 #include <sys/types.h>
34662
34663 _ACEOF
34664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34665 $EGREP "uid_t" >/dev/null 2>&1; then
34666 ac_cv_type_uid_t=yes
34667 else
34668 ac_cv_type_uid_t=no
34669 fi
34670 rm -f conftest*
34671
34672 fi
34673 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34674 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34675 if test $ac_cv_type_uid_t = no; then
34676
34677 cat >>confdefs.h <<\_ACEOF
34678 #define uid_t int
34679 _ACEOF
34680
34681
34682 cat >>confdefs.h <<\_ACEOF
34683 #define gid_t int
34684 _ACEOF
34685
34686 fi
34687
34688
34689 echo "$as_me:$LINENO: checking for ssize_t" >&5
34690 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34691 if test "${ac_cv_type_ssize_t+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34693 else
34694 cat >conftest.$ac_ext <<_ACEOF
34695 /* confdefs.h. */
34696 _ACEOF
34697 cat confdefs.h >>conftest.$ac_ext
34698 cat >>conftest.$ac_ext <<_ACEOF
34699 /* end confdefs.h. */
34700 $ac_includes_default
34701 int
34702 main ()
34703 {
34704 if ((ssize_t *) 0)
34705 return 0;
34706 if (sizeof (ssize_t))
34707 return 0;
34708 ;
34709 return 0;
34710 }
34711 _ACEOF
34712 rm -f conftest.$ac_objext
34713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34714 (eval $ac_compile) 2>conftest.er1
34715 ac_status=$?
34716 grep -v '^ *+' conftest.er1 >conftest.err
34717 rm -f conftest.er1
34718 cat conftest.err >&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); } &&
34721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34723 (eval $ac_try) 2>&5
34724 ac_status=$?
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); }; } &&
34727 { ac_try='test -s conftest.$ac_objext'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34730 ac_status=$?
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; }; then
34733 ac_cv_type_ssize_t=yes
34734 else
34735 echo "$as_me: failed program was:" >&5
34736 sed 's/^/| /' conftest.$ac_ext >&5
34737
34738 ac_cv_type_ssize_t=no
34739 fi
34740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34741 fi
34742 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34743 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34744 if test $ac_cv_type_ssize_t = yes; then
34745
34746 cat >>confdefs.h <<_ACEOF
34747 #define HAVE_SSIZE_T 1
34748 _ACEOF
34749
34750
34751 fi
34752
34753
34754 ac_ext=cc
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34760 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34761 if test "${wx_cv_size_t_is_uint+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34763 else
34764
34765 cat >conftest.$ac_ext <<_ACEOF
34766 /* confdefs.h. */
34767 _ACEOF
34768 cat confdefs.h >>conftest.$ac_ext
34769 cat >>conftest.$ac_ext <<_ACEOF
34770 /* end confdefs.h. */
34771 #include <stddef.h>
34772 int
34773 main ()
34774 {
34775
34776 return 0; }
34777
34778 struct Foo { void foo(size_t); void foo(unsigned int); };
34779
34780 int bar() {
34781
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 rm -f conftest.$ac_objext
34787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34788 (eval $ac_compile) 2>conftest.er1
34789 ac_status=$?
34790 grep -v '^ *+' conftest.er1 >conftest.err
34791 rm -f conftest.er1
34792 cat conftest.err >&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } &&
34795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; } &&
34801 { ac_try='test -s conftest.$ac_objext'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34804 ac_status=$?
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; }; then
34807 wx_cv_size_t_is_uint=no
34808 else
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34811
34812 wx_cv_size_t_is_uint=yes
34813
34814 fi
34815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34816
34817
34818 fi
34819 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34820 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34821
34822 if test "$wx_cv_size_t_is_uint" = "yes"; then
34823 cat >>confdefs.h <<\_ACEOF
34824 #define wxSIZE_T_IS_UINT 1
34825 _ACEOF
34826
34827 else
34828 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34829 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34830 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34831 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 else
34833 cat >conftest.$ac_ext <<_ACEOF
34834 /* confdefs.h. */
34835 _ACEOF
34836 cat confdefs.h >>conftest.$ac_ext
34837 cat >>conftest.$ac_ext <<_ACEOF
34838 /* end confdefs.h. */
34839 #include <stddef.h>
34840 int
34841 main ()
34842 {
34843
34844 return 0; }
34845
34846 struct Foo { void foo(size_t); void foo(unsigned long); };
34847
34848 int bar() {
34849
34850 ;
34851 return 0;
34852 }
34853 _ACEOF
34854 rm -f conftest.$ac_objext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34856 (eval $ac_compile) 2>conftest.er1
34857 ac_status=$?
34858 grep -v '^ *+' conftest.er1 >conftest.err
34859 rm -f conftest.er1
34860 cat conftest.err >&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34866 ac_status=$?
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try='test -s conftest.$ac_objext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34872 ac_status=$?
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 wx_cv_size_t_is_ulong=no
34876 else
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.$ac_ext >&5
34879
34880 wx_cv_size_t_is_ulong=yes
34881
34882 fi
34883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34884
34885 fi
34886 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34887 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34888
34889 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34890 cat >>confdefs.h <<\_ACEOF
34891 #define wxSIZE_T_IS_ULONG 1
34892 _ACEOF
34893
34894 fi
34895 fi
34896
34897 ac_ext=c
34898 ac_cpp='$CPP $CPPFLAGS'
34899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902
34903
34904 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34905 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34906 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34908 else
34909
34910 cat >conftest.$ac_ext <<_ACEOF
34911 /* confdefs.h. */
34912 _ACEOF
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34916 #include <pwd.h>
34917 int
34918 main ()
34919 {
34920
34921 char *p;
34922 struct passwd *pw;
34923 p = pw->pw_gecos;
34924
34925 ;
34926 return 0;
34927 }
34928 _ACEOF
34929 rm -f conftest.$ac_objext
34930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34931 (eval $ac_compile) 2>conftest.er1
34932 ac_status=$?
34933 grep -v '^ *+' conftest.er1 >conftest.err
34934 rm -f conftest.er1
34935 cat conftest.err >&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } &&
34938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34940 (eval $ac_try) 2>&5
34941 ac_status=$?
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); }; } &&
34944 { ac_try='test -s conftest.$ac_objext'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; }; then
34950
34951 wx_cv_struct_pw_gecos=yes
34952
34953 else
34954 echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.$ac_ext >&5
34956
34957
34958 wx_cv_struct_pw_gecos=no
34959
34960
34961 fi
34962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34963
34964
34965 fi
34966 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34967 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34968
34969 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34970 cat >>confdefs.h <<\_ACEOF
34971 #define HAVE_PW_GECOS 1
34972 _ACEOF
34973
34974 fi
34975
34976
34977 if test "$wxUSE_WCHAR_T" = "yes"; then
34978 cat >>confdefs.h <<\_ACEOF
34979 #define wxUSE_WCHAR_T 1
34980 _ACEOF
34981
34982
34983 WCSLEN_FOUND=0
34984 WCHAR_LINK=
34985
34986 for ac_func in wcslen
34987 do
34988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34989 echo "$as_me:$LINENO: checking for $ac_func" >&5
34990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34991 if eval "test \"\${$as_ac_var+set}\" = set"; then
34992 echo $ECHO_N "(cached) $ECHO_C" >&6
34993 else
34994 cat >conftest.$ac_ext <<_ACEOF
34995 /* confdefs.h. */
34996 _ACEOF
34997 cat confdefs.h >>conftest.$ac_ext
34998 cat >>conftest.$ac_ext <<_ACEOF
34999 /* end confdefs.h. */
35000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35002 #define $ac_func innocuous_$ac_func
35003
35004 /* System header to define __stub macros and hopefully few prototypes,
35005 which can conflict with char $ac_func (); below.
35006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35007 <limits.h> exists even on freestanding compilers. */
35008
35009 #ifdef __STDC__
35010 # include <limits.h>
35011 #else
35012 # include <assert.h>
35013 #endif
35014
35015 #undef $ac_func
35016
35017 /* Override any gcc2 internal prototype to avoid an error. */
35018 #ifdef __cplusplus
35019 extern "C"
35020 {
35021 #endif
35022 /* We use char because int might match the return type of a gcc2
35023 builtin and then its argument prototype would still apply. */
35024 char $ac_func ();
35025 /* The GNU C library defines this for functions which it implements
35026 to always fail with ENOSYS. Some functions are actually named
35027 something starting with __ and the normal name is an alias. */
35028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35029 choke me
35030 #else
35031 char (*f) () = $ac_func;
35032 #endif
35033 #ifdef __cplusplus
35034 }
35035 #endif
35036
35037 int
35038 main ()
35039 {
35040 return f != $ac_func;
35041 ;
35042 return 0;
35043 }
35044 _ACEOF
35045 rm -f conftest.$ac_objext conftest$ac_exeext
35046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35047 (eval $ac_link) 2>conftest.er1
35048 ac_status=$?
35049 grep -v '^ *+' conftest.er1 >conftest.err
35050 rm -f conftest.er1
35051 cat conftest.err >&5
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); } &&
35054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35057 ac_status=$?
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; } &&
35060 { ac_try='test -s conftest$ac_exeext'
35061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35062 (eval $ac_try) 2>&5
35063 ac_status=$?
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); }; }; then
35066 eval "$as_ac_var=yes"
35067 else
35068 echo "$as_me: failed program was:" >&5
35069 sed 's/^/| /' conftest.$ac_ext >&5
35070
35071 eval "$as_ac_var=no"
35072 fi
35073 rm -f conftest.err conftest.$ac_objext \
35074 conftest$ac_exeext conftest.$ac_ext
35075 fi
35076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35078 if test `eval echo '${'$as_ac_var'}'` = yes; then
35079 cat >>confdefs.h <<_ACEOF
35080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35081 _ACEOF
35082 WCSLEN_FOUND=1
35083 fi
35084 done
35085
35086
35087 if test "$WCSLEN_FOUND" = 0; then
35088 if test "$TOOLKIT" = "MSW"; then
35089 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35090 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35091 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 else
35094 ac_check_lib_save_LIBS=$LIBS
35095 LIBS="-lmsvcrt $LIBS"
35096 cat >conftest.$ac_ext <<_ACEOF
35097 /* confdefs.h. */
35098 _ACEOF
35099 cat confdefs.h >>conftest.$ac_ext
35100 cat >>conftest.$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35102
35103 /* Override any gcc2 internal prototype to avoid an error. */
35104 #ifdef __cplusplus
35105 extern "C"
35106 #endif
35107 /* We use char because int might match the return type of a gcc2
35108 builtin and then its argument prototype would still apply. */
35109 char wcslen ();
35110 int
35111 main ()
35112 {
35113 wcslen ();
35114 ;
35115 return 0;
35116 }
35117 _ACEOF
35118 rm -f conftest.$ac_objext conftest$ac_exeext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35120 (eval $ac_link) 2>conftest.er1
35121 ac_status=$?
35122 grep -v '^ *+' conftest.er1 >conftest.err
35123 rm -f conftest.er1
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35130 ac_status=$?
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try='test -s conftest$ac_exeext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35136 ac_status=$?
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35139 ac_cv_lib_msvcrt_wcslen=yes
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35143
35144 ac_cv_lib_msvcrt_wcslen=no
35145 fi
35146 rm -f conftest.err conftest.$ac_objext \
35147 conftest$ac_exeext conftest.$ac_ext
35148 LIBS=$ac_check_lib_save_LIBS
35149 fi
35150 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35151 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35152 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35153 WCHAR_OK=1
35154 fi
35155
35156 else
35157 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35158 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35159 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 else
35162 ac_check_lib_save_LIBS=$LIBS
35163 LIBS="-lw $LIBS"
35164 cat >conftest.$ac_ext <<_ACEOF
35165 /* confdefs.h. */
35166 _ACEOF
35167 cat confdefs.h >>conftest.$ac_ext
35168 cat >>conftest.$ac_ext <<_ACEOF
35169 /* end confdefs.h. */
35170
35171 /* Override any gcc2 internal prototype to avoid an error. */
35172 #ifdef __cplusplus
35173 extern "C"
35174 #endif
35175 /* We use char because int might match the return type of a gcc2
35176 builtin and then its argument prototype would still apply. */
35177 char wcslen ();
35178 int
35179 main ()
35180 {
35181 wcslen ();
35182 ;
35183 return 0;
35184 }
35185 _ACEOF
35186 rm -f conftest.$ac_objext conftest$ac_exeext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35188 (eval $ac_link) 2>conftest.er1
35189 ac_status=$?
35190 grep -v '^ *+' conftest.er1 >conftest.err
35191 rm -f conftest.er1
35192 cat conftest.err >&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; } &&
35201 { ac_try='test -s conftest$ac_exeext'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 ac_cv_lib_w_wcslen=yes
35208 else
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35211
35212 ac_cv_lib_w_wcslen=no
35213 fi
35214 rm -f conftest.err conftest.$ac_objext \
35215 conftest$ac_exeext conftest.$ac_ext
35216 LIBS=$ac_check_lib_save_LIBS
35217 fi
35218 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35219 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35220 if test $ac_cv_lib_w_wcslen = yes; then
35221
35222 WCHAR_LINK=" -lw"
35223 WCSLEN_FOUND=1
35224
35225 fi
35226
35227 fi
35228 fi
35229
35230 if test "$WCSLEN_FOUND" = 1; then
35231 cat >>confdefs.h <<\_ACEOF
35232 #define HAVE_WCSLEN 1
35233 _ACEOF
35234
35235 fi
35236
35237 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35238 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35239 fi
35240
35241 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35242 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35243 if test "${ac_cv_type_mbstate_t+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 else
35246 cat >conftest.$ac_ext <<_ACEOF
35247 /* confdefs.h. */
35248 _ACEOF
35249 cat confdefs.h >>conftest.$ac_ext
35250 cat >>conftest.$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35252 #include <wchar.h>
35253
35254 int
35255 main ()
35256 {
35257 if ((mbstate_t *) 0)
35258 return 0;
35259 if (sizeof (mbstate_t))
35260 return 0;
35261 ;
35262 return 0;
35263 }
35264 _ACEOF
35265 rm -f conftest.$ac_objext
35266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35267 (eval $ac_compile) 2>conftest.er1
35268 ac_status=$?
35269 grep -v '^ *+' conftest.er1 >conftest.err
35270 rm -f conftest.er1
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } &&
35274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35276 (eval $ac_try) 2>&5
35277 ac_status=$?
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; } &&
35280 { ac_try='test -s conftest.$ac_objext'
35281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35282 (eval $ac_try) 2>&5
35283 ac_status=$?
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); }; }; then
35286 ac_cv_type_mbstate_t=yes
35287 else
35288 echo "$as_me: failed program was:" >&5
35289 sed 's/^/| /' conftest.$ac_ext >&5
35290
35291 ac_cv_type_mbstate_t=no
35292 fi
35293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35294 fi
35295 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35296 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35297 if test $ac_cv_type_mbstate_t = yes; then
35298
35299 cat >>confdefs.h <<_ACEOF
35300 #define HAVE_MBSTATE_T 1
35301 _ACEOF
35302
35303
35304 for ac_func in wcsrtombs
35305 do
35306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35307 echo "$as_me:$LINENO: checking for $ac_func" >&5
35308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35309 if eval "test \"\${$as_ac_var+set}\" = set"; then
35310 echo $ECHO_N "(cached) $ECHO_C" >&6
35311 else
35312 cat >conftest.$ac_ext <<_ACEOF
35313 /* confdefs.h. */
35314 _ACEOF
35315 cat confdefs.h >>conftest.$ac_ext
35316 cat >>conftest.$ac_ext <<_ACEOF
35317 /* end confdefs.h. */
35318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35320 #define $ac_func innocuous_$ac_func
35321
35322 /* System header to define __stub macros and hopefully few prototypes,
35323 which can conflict with char $ac_func (); below.
35324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35325 <limits.h> exists even on freestanding compilers. */
35326
35327 #ifdef __STDC__
35328 # include <limits.h>
35329 #else
35330 # include <assert.h>
35331 #endif
35332
35333 #undef $ac_func
35334
35335 /* Override any gcc2 internal prototype to avoid an error. */
35336 #ifdef __cplusplus
35337 extern "C"
35338 {
35339 #endif
35340 /* We use char because int might match the return type of a gcc2
35341 builtin and then its argument prototype would still apply. */
35342 char $ac_func ();
35343 /* The GNU C library defines this for functions which it implements
35344 to always fail with ENOSYS. Some functions are actually named
35345 something starting with __ and the normal name is an alias. */
35346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35347 choke me
35348 #else
35349 char (*f) () = $ac_func;
35350 #endif
35351 #ifdef __cplusplus
35352 }
35353 #endif
35354
35355 int
35356 main ()
35357 {
35358 return f != $ac_func;
35359 ;
35360 return 0;
35361 }
35362 _ACEOF
35363 rm -f conftest.$ac_objext conftest$ac_exeext
35364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35365 (eval $ac_link) 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } &&
35372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35375 ac_status=$?
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; } &&
35378 { ac_try='test -s conftest$ac_exeext'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; }; then
35384 eval "$as_ac_var=yes"
35385 else
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35388
35389 eval "$as_ac_var=no"
35390 fi
35391 rm -f conftest.err conftest.$ac_objext \
35392 conftest$ac_exeext conftest.$ac_ext
35393 fi
35394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35396 if test `eval echo '${'$as_ac_var'}'` = yes; then
35397 cat >>confdefs.h <<_ACEOF
35398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35399 _ACEOF
35400
35401 fi
35402 done
35403
35404 fi
35405
35406 else
35407 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35408 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35409 fi
35410
35411
35412
35413 for ac_func in snprintf vsnprintf
35414 do
35415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35416 echo "$as_me:$LINENO: checking for $ac_func" >&5
35417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35418 if eval "test \"\${$as_ac_var+set}\" = set"; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421 cat >conftest.$ac_ext <<_ACEOF
35422 /* confdefs.h. */
35423 _ACEOF
35424 cat confdefs.h >>conftest.$ac_ext
35425 cat >>conftest.$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35429 #define $ac_func innocuous_$ac_func
35430
35431 /* System header to define __stub macros and hopefully few prototypes,
35432 which can conflict with char $ac_func (); below.
35433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35434 <limits.h> exists even on freestanding compilers. */
35435
35436 #ifdef __STDC__
35437 # include <limits.h>
35438 #else
35439 # include <assert.h>
35440 #endif
35441
35442 #undef $ac_func
35443
35444 /* Override any gcc2 internal prototype to avoid an error. */
35445 #ifdef __cplusplus
35446 extern "C"
35447 {
35448 #endif
35449 /* We use char because int might match the return type of a gcc2
35450 builtin and then its argument prototype would still apply. */
35451 char $ac_func ();
35452 /* The GNU C library defines this for functions which it implements
35453 to always fail with ENOSYS. Some functions are actually named
35454 something starting with __ and the normal name is an alias. */
35455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35456 choke me
35457 #else
35458 char (*f) () = $ac_func;
35459 #endif
35460 #ifdef __cplusplus
35461 }
35462 #endif
35463
35464 int
35465 main ()
35466 {
35467 return f != $ac_func;
35468 ;
35469 return 0;
35470 }
35471 _ACEOF
35472 rm -f conftest.$ac_objext conftest$ac_exeext
35473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35474 (eval $ac_link) 2>conftest.er1
35475 ac_status=$?
35476 grep -v '^ *+' conftest.er1 >conftest.err
35477 rm -f conftest.er1
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); } &&
35481 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35484 ac_status=$?
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; } &&
35487 { ac_try='test -s conftest$ac_exeext'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; }; then
35493 eval "$as_ac_var=yes"
35494 else
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35497
35498 eval "$as_ac_var=no"
35499 fi
35500 rm -f conftest.err conftest.$ac_objext \
35501 conftest$ac_exeext conftest.$ac_ext
35502 fi
35503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35505 if test `eval echo '${'$as_ac_var'}'` = yes; then
35506 cat >>confdefs.h <<_ACEOF
35507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35508 _ACEOF
35509
35510 fi
35511 done
35512
35513
35514 if test "$ac_cv_func_vsnprintf" = "yes"; then
35515 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35516 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35517 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35518 echo $ECHO_N "(cached) $ECHO_C" >&6
35519 else
35520
35521 cat >conftest.$ac_ext <<_ACEOF
35522 /* confdefs.h. */
35523 _ACEOF
35524 cat confdefs.h >>conftest.$ac_ext
35525 cat >>conftest.$ac_ext <<_ACEOF
35526 /* end confdefs.h. */
35527
35528 #include <stdio.h>
35529 #include <stdarg.h>
35530 #ifdef __MSL__
35531 #if __MSL__ >= 0x6000
35532 namespace std {}
35533 using namespace std;
35534 #endif
35535 #endif
35536
35537 int
35538 main ()
35539 {
35540
35541 char *buf;
35542 va_list ap;
35543 vsnprintf(buf, 10u, "%s", ap);
35544
35545 ;
35546 return 0;
35547 }
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35551 (eval $ac_compile) 2>conftest.er1
35552 ac_status=$?
35553 grep -v '^ *+' conftest.er1 >conftest.err
35554 rm -f conftest.er1
35555 cat conftest.err >&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); } &&
35558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560 (eval $ac_try) 2>&5
35561 ac_status=$?
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); }; } &&
35564 { ac_try='test -s conftest.$ac_objext'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35567 ac_status=$?
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; }; then
35570 wx_cv_func_vsnprintf_decl=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575 wx_cv_func_vsnprintf_decl=no
35576
35577 fi
35578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35579
35580
35581 fi
35582 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35583 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35584
35585 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35586 cat >>confdefs.h <<\_ACEOF
35587 #define HAVE_VSNPRINTF_DECL 1
35588 _ACEOF
35589
35590
35591 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35592 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35593 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35594 echo $ECHO_N "(cached) $ECHO_C" >&6
35595 else
35596
35597 cat >conftest.$ac_ext <<_ACEOF
35598 /* confdefs.h. */
35599 _ACEOF
35600 cat confdefs.h >>conftest.$ac_ext
35601 cat >>conftest.$ac_ext <<_ACEOF
35602 /* end confdefs.h. */
35603
35604 #include <stdio.h>
35605 #include <stdarg.h>
35606 #ifdef __MSL__
35607 #if __MSL__ >= 0x6000
35608 namespace std {}
35609 using namespace std;
35610 #endif
35611 #endif
35612
35613 int
35614 main ()
35615 {
35616
35617 char *buf;
35618 va_list ap;
35619 const char *fmt = "%s";
35620 vsnprintf(buf, 10u, fmt, ap);
35621
35622 ;
35623 return 0;
35624 }
35625 _ACEOF
35626 rm -f conftest.$ac_objext
35627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35628 (eval $ac_compile) 2>conftest.er1
35629 ac_status=$?
35630 grep -v '^ *+' conftest.er1 >conftest.err
35631 rm -f conftest.er1
35632 cat conftest.err >&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } &&
35635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; } &&
35641 { ac_try='test -s conftest.$ac_objext'
35642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35643 (eval $ac_try) 2>&5
35644 ac_status=$?
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); }; }; then
35647 wx_cv_func_broken_vsnprintf_decl=no
35648 else
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35651
35652 wx_cv_func_broken_vsnprintf_decl=yes
35653
35654 fi
35655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35656
35657
35658 fi
35659 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35660 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35661
35662 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35663 cat >>confdefs.h <<\_ACEOF
35664 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35665 _ACEOF
35666
35667 fi
35668 fi
35669 fi
35670
35671 if test "$ac_cv_func_snprintf" = "yes"; then
35672 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35673 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35674 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35675 echo $ECHO_N "(cached) $ECHO_C" >&6
35676 else
35677
35678 cat >conftest.$ac_ext <<_ACEOF
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684
35685 #include <stdio.h>
35686 #include <stdarg.h>
35687 #ifdef __MSL__
35688 #if __MSL__ >= 0x6000
35689 namespace std {}
35690 using namespace std;
35691 #endif
35692 #endif
35693
35694 int
35695 main ()
35696 {
35697
35698 char *buf;
35699 snprintf(buf, 10u, "%s", "wx");
35700
35701 ;
35702 return 0;
35703 }
35704 _ACEOF
35705 rm -f conftest.$ac_objext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35707 (eval $ac_compile) 2>conftest.er1
35708 ac_status=$?
35709 grep -v '^ *+' conftest.er1 >conftest.err
35710 rm -f conftest.er1
35711 cat conftest.err >&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try='test -s conftest.$ac_objext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35723 ac_status=$?
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 wx_cv_func_snprintf_decl=yes
35727 else
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731 wx_cv_func_snprintf_decl=no
35732
35733 fi
35734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35735
35736
35737 fi
35738 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35739 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35740
35741 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35742 cat >>confdefs.h <<\_ACEOF
35743 #define HAVE_SNPRINTF_DECL 1
35744 _ACEOF
35745
35746
35747 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35748 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35749 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35750 echo $ECHO_N "(cached) $ECHO_C" >&6
35751 else
35752
35753 cat >conftest.$ac_ext <<_ACEOF
35754 /* confdefs.h. */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h. */
35759
35760 #include <stdio.h>
35761 #include <stdarg.h>
35762 #ifdef __MSL__
35763 #if __MSL__ >= 0x6000
35764 namespace std {}
35765 using namespace std;
35766 #endif
35767 #endif
35768
35769 int
35770 main ()
35771 {
35772
35773 char *buf;
35774 const char *fmt = "%s";
35775 snprintf(buf, 10u, fmt, "wx");
35776
35777 ;
35778 return 0;
35779 }
35780 _ACEOF
35781 rm -f conftest.$ac_objext
35782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35783 (eval $ac_compile) 2>conftest.er1
35784 ac_status=$?
35785 grep -v '^ *+' conftest.er1 >conftest.err
35786 rm -f conftest.er1
35787 cat conftest.err >&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try='test -s conftest.$ac_objext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 wx_cv_func_broken_snprintf_decl=no
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35806
35807 wx_cv_func_broken_snprintf_decl=yes
35808
35809 fi
35810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35811
35812
35813 fi
35814 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35815 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35816
35817 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35818 cat >>confdefs.h <<\_ACEOF
35819 #define HAVE_BROKEN_SNPRINTF_DECL 1
35820 _ACEOF
35821
35822 fi
35823 fi
35824
35825 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35826
35827 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35828 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35829 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35832
35833 if test "$cross_compiling" = yes; then
35834
35835 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35836 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35837 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35838 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35839 wx_cv_func_snprintf_pos_params=no
35840
35841
35842 else
35843 cat >conftest.$ac_ext <<_ACEOF
35844 /* confdefs.h. */
35845 _ACEOF
35846 cat confdefs.h >>conftest.$ac_ext
35847 cat >>conftest.$ac_ext <<_ACEOF
35848 /* end confdefs.h. */
35849
35850 #include <stdio.h>
35851
35852 int main (void)
35853 {
35854 char buffer[128];
35855 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35856 if (strcmp ("2 3 1", buffer) == 0)
35857 exit (0);
35858 exit (1);
35859 }
35860
35861 _ACEOF
35862 rm -f conftest$ac_exeext
35863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35864 (eval $ac_link) 2>&5
35865 ac_status=$?
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35869 (eval $ac_try) 2>&5
35870 ac_status=$?
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; }; then
35873 wx_cv_func_snprintf_pos_params=no
35874 else
35875 echo "$as_me: program exited with status $ac_status" >&5
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35878
35879 ( exit $ac_status )
35880 wx_cv_func_snprintf_pos_params=yes
35881 fi
35882 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35883 fi
35884
35885
35886 fi
35887 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35888 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35889
35890 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35891 cat >>confdefs.h <<\_ACEOF
35892 #define HAVE_UNIX98_PRINTF 1
35893 _ACEOF
35894
35895 fi
35896 fi
35897 fi
35898
35899 if test "$wxUSE_UNICODE" = yes; then
35900
35901
35902 for ac_func in swprintf
35903 do
35904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35905 echo "$as_me:$LINENO: checking for $ac_func" >&5
35906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35907 if eval "test \"\${$as_ac_var+set}\" = set"; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 else
35910 cat >conftest.$ac_ext <<_ACEOF
35911 /* confdefs.h. */
35912 _ACEOF
35913 cat confdefs.h >>conftest.$ac_ext
35914 cat >>conftest.$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35918 #define $ac_func innocuous_$ac_func
35919
35920 /* System header to define __stub macros and hopefully few prototypes,
35921 which can conflict with char $ac_func (); below.
35922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35923 <limits.h> exists even on freestanding compilers. */
35924
35925 #ifdef __STDC__
35926 # include <limits.h>
35927 #else
35928 # include <assert.h>
35929 #endif
35930
35931 #undef $ac_func
35932
35933 /* Override any gcc2 internal prototype to avoid an error. */
35934 #ifdef __cplusplus
35935 extern "C"
35936 {
35937 #endif
35938 /* We use char because int might match the return type of a gcc2
35939 builtin and then its argument prototype would still apply. */
35940 char $ac_func ();
35941 /* The GNU C library defines this for functions which it implements
35942 to always fail with ENOSYS. Some functions are actually named
35943 something starting with __ and the normal name is an alias. */
35944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35945 choke me
35946 #else
35947 char (*f) () = $ac_func;
35948 #endif
35949 #ifdef __cplusplus
35950 }
35951 #endif
35952
35953 int
35954 main ()
35955 {
35956 return f != $ac_func;
35957 ;
35958 return 0;
35959 }
35960 _ACEOF
35961 rm -f conftest.$ac_objext conftest$ac_exeext
35962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35963 (eval $ac_link) 2>conftest.er1
35964 ac_status=$?
35965 grep -v '^ *+' conftest.er1 >conftest.err
35966 rm -f conftest.er1
35967 cat conftest.err >&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); } &&
35970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35973 ac_status=$?
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; } &&
35976 { ac_try='test -s conftest$ac_exeext'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35979 ac_status=$?
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; }; then
35982 eval "$as_ac_var=yes"
35983 else
35984 echo "$as_me: failed program was:" >&5
35985 sed 's/^/| /' conftest.$ac_ext >&5
35986
35987 eval "$as_ac_var=no"
35988 fi
35989 rm -f conftest.err conftest.$ac_objext \
35990 conftest$ac_exeext conftest.$ac_ext
35991 fi
35992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35994 if test `eval echo '${'$as_ac_var'}'` = yes; then
35995 cat >>confdefs.h <<_ACEOF
35996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35997 _ACEOF
35998
35999 fi
36000 done
36001
36002
36003 if test "$ac_cv_func_swprintf" = "yes"; then
36004 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36005 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36006 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36008 else
36009
36010 cat >conftest.$ac_ext <<_ACEOF
36011 /* confdefs.h. */
36012 _ACEOF
36013 cat confdefs.h >>conftest.$ac_ext
36014 cat >>conftest.$ac_ext <<_ACEOF
36015 /* end confdefs.h. */
36016
36017 #include <stdio.h>
36018 #include <stdarg.h>
36019 #include <wchar.h>
36020
36021 int
36022 main ()
36023 {
36024
36025 wchar_t *buf;
36026 const wchar_t *fmt = L"test";
36027 swprintf(buf, 10u, fmt);
36028
36029 ;
36030 return 0;
36031 }
36032 _ACEOF
36033 rm -f conftest.$ac_objext
36034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36035 (eval $ac_compile) 2>conftest.er1
36036 ac_status=$?
36037 grep -v '^ *+' conftest.er1 >conftest.err
36038 rm -f conftest.er1
36039 cat conftest.err >&5
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); } &&
36042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36044 (eval $ac_try) 2>&5
36045 ac_status=$?
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); }; } &&
36048 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
36054 wx_cv_func_broken_swprintf_decl=no
36055 else
36056 echo "$as_me: failed program was:" >&5
36057 sed 's/^/| /' conftest.$ac_ext >&5
36058
36059 wx_cv_func_broken_swprintf_decl=yes
36060
36061 fi
36062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36063
36064
36065 fi
36066 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36067 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36068
36069 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36070 cat >>confdefs.h <<\_ACEOF
36071 #define HAVE_BROKEN_SWPRINTF_DECL 1
36072 _ACEOF
36073
36074 fi
36075 fi
36076
36077 wchar_headers="#include <stdio.h>
36078 #include <wchar.h>"
36079 case "${host}" in
36080 *-*-solaris2* )
36081
36082 for ac_header in widec.h
36083 do
36084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36086 echo "$as_me:$LINENO: checking for $ac_header" >&5
36087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 fi
36091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36093 else
36094 # Is the header compilable?
36095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36097 cat >conftest.$ac_ext <<_ACEOF
36098 /* confdefs.h. */
36099 _ACEOF
36100 cat confdefs.h >>conftest.$ac_ext
36101 cat >>conftest.$ac_ext <<_ACEOF
36102 /* end confdefs.h. */
36103 $ac_includes_default
36104 #include <$ac_header>
36105 _ACEOF
36106 rm -f conftest.$ac_objext
36107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36108 (eval $ac_compile) 2>conftest.er1
36109 ac_status=$?
36110 grep -v '^ *+' conftest.er1 >conftest.err
36111 rm -f conftest.er1
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } &&
36115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36118 ac_status=$?
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; } &&
36121 { ac_try='test -s conftest.$ac_objext'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36124 ac_status=$?
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; }; then
36127 ac_header_compiler=yes
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 ac_header_compiler=no
36133 fi
36134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36136 echo "${ECHO_T}$ac_header_compiler" >&6
36137
36138 # Is the header present?
36139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36141 cat >conftest.$ac_ext <<_ACEOF
36142 /* confdefs.h. */
36143 _ACEOF
36144 cat confdefs.h >>conftest.$ac_ext
36145 cat >>conftest.$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36147 #include <$ac_header>
36148 _ACEOF
36149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36151 ac_status=$?
36152 grep -v '^ *+' conftest.er1 >conftest.err
36153 rm -f conftest.er1
36154 cat conftest.err >&5
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); } >/dev/null; then
36157 if test -s conftest.err; then
36158 ac_cpp_err=$ac_c_preproc_warn_flag
36159 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36160 else
36161 ac_cpp_err=
36162 fi
36163 else
36164 ac_cpp_err=yes
36165 fi
36166 if test -z "$ac_cpp_err"; then
36167 ac_header_preproc=yes
36168 else
36169 echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.$ac_ext >&5
36171
36172 ac_header_preproc=no
36173 fi
36174 rm -f conftest.err conftest.$ac_ext
36175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36176 echo "${ECHO_T}$ac_header_preproc" >&6
36177
36178 # So? What about this header?
36179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36180 yes:no: )
36181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36185 ac_header_preproc=yes
36186 ;;
36187 no:yes:* )
36188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36200 (
36201 cat <<\_ASBOX
36202 ## ----------------------------------------- ##
36203 ## Report this to wx-dev@lists.wxwidgets.org ##
36204 ## ----------------------------------------- ##
36205 _ASBOX
36206 ) |
36207 sed "s/^/$as_me: WARNING: /" >&2
36208 ;;
36209 esac
36210 echo "$as_me:$LINENO: checking for $ac_header" >&5
36211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36213 echo $ECHO_N "(cached) $ECHO_C" >&6
36214 else
36215 eval "$as_ac_Header=\$ac_header_preproc"
36216 fi
36217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36219
36220 fi
36221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36222 cat >>confdefs.h <<_ACEOF
36223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36224 _ACEOF
36225
36226 fi
36227
36228 done
36229
36230 if test "$ac_cv_header_widec_h" = "yes"; then
36231 wchar_headers="$wchar_headers
36232 #include <widec.h>"
36233 fi
36234 esac
36235
36236
36237 for wx_func in wputc wputchar putws fputws wprintf vswprintf
36238 do
36239 echo "$as_me:$LINENO: checking for $wx_func" >&5
36240 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36241 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244
36245 cat >conftest.$ac_ext <<_ACEOF
36246
36247 /* confdefs.h. */
36248 _ACEOF
36249 cat confdefs.h >>conftest.$ac_ext
36250 cat >>conftest.$ac_ext <<_ACEOF
36251 /* end confdefs.h. */
36252
36253 $wchar_headers
36254 $ac_includes_default
36255
36256 int
36257 main ()
36258 {
36259
36260 #ifndef $wx_func
36261 &$wx_func;
36262 #endif
36263
36264
36265 ;
36266 return 0;
36267 }
36268
36269 _ACEOF
36270 rm -f conftest.$ac_objext conftest$ac_exeext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36272 (eval $ac_link) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36281 (eval $ac_try) 2>&5
36282 ac_status=$?
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); }; } &&
36285 { ac_try='test -s conftest$ac_exeext'
36286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36287 (eval $ac_try) 2>&5
36288 ac_status=$?
36289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290 (exit $ac_status); }; }; then
36291 eval wx_cv_func_$wx_func=yes
36292 else
36293 echo "$as_me: failed program was:" >&5
36294 sed 's/^/| /' conftest.$ac_ext >&5
36295
36296 eval wx_cv_func_$wx_func=no
36297 fi
36298 rm -f conftest.err conftest.$ac_objext \
36299 conftest$ac_exeext conftest.$ac_ext
36300
36301 fi
36302 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36303 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36304
36305 if eval test \$wx_cv_func_$wx_func = yes
36306 then
36307 cat >>confdefs.h <<_ACEOF
36308 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36309 _ACEOF
36310
36311
36312 else
36313 :
36314
36315 fi
36316 done
36317
36318
36319 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36320 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36321 cat >conftest.$ac_ext <<_ACEOF
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 #include <wchar.h>
36328 int
36329 main ()
36330 {
36331 &_vsnwprintf;
36332 ;
36333 return 0;
36334 }
36335 _ACEOF
36336 rm -f conftest.$ac_objext
36337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36338 (eval $ac_compile) 2>conftest.er1
36339 ac_status=$?
36340 grep -v '^ *+' conftest.er1 >conftest.err
36341 rm -f conftest.er1
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } &&
36345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36347 (eval $ac_try) 2>&5
36348 ac_status=$?
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); }; } &&
36351 { ac_try='test -s conftest.$ac_objext'
36352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353 (eval $ac_try) 2>&5
36354 ac_status=$?
36355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356 (exit $ac_status); }; }; then
36357 echo "$as_me:$LINENO: result: yes" >&5
36358 echo "${ECHO_T}yes" >&6
36359 cat >>confdefs.h <<\_ACEOF
36360 #define HAVE__VSNWPRINTF 1
36361 _ACEOF
36362
36363 else
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36366
36367 echo "$as_me:$LINENO: result: no" >&5
36368 echo "${ECHO_T}no" >&6
36369 fi
36370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36371 fi
36372
36373 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36374
36375 for wx_func in fnmatch
36376 do
36377 echo "$as_me:$LINENO: checking for $wx_func" >&5
36378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36379 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36380 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 else
36382
36383 cat >conftest.$ac_ext <<_ACEOF
36384
36385 /* confdefs.h. */
36386 _ACEOF
36387 cat confdefs.h >>conftest.$ac_ext
36388 cat >>conftest.$ac_ext <<_ACEOF
36389 /* end confdefs.h. */
36390
36391 #include <fnmatch.h>
36392 $ac_includes_default
36393
36394 int
36395 main ()
36396 {
36397
36398 #ifndef $wx_func
36399 &$wx_func;
36400 #endif
36401
36402
36403 ;
36404 return 0;
36405 }
36406
36407 _ACEOF
36408 rm -f conftest.$ac_objext conftest$ac_exeext
36409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36410 (eval $ac_link) 2>conftest.er1
36411 ac_status=$?
36412 grep -v '^ *+' conftest.er1 >conftest.err
36413 rm -f conftest.er1
36414 cat conftest.err >&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); } &&
36417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36420 ac_status=$?
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; } &&
36423 { ac_try='test -s conftest$ac_exeext'
36424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36425 (eval $ac_try) 2>&5
36426 ac_status=$?
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); }; }; then
36429 eval wx_cv_func_$wx_func=yes
36430 else
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.$ac_ext >&5
36433
36434 eval wx_cv_func_$wx_func=no
36435 fi
36436 rm -f conftest.err conftest.$ac_objext \
36437 conftest$ac_exeext conftest.$ac_ext
36438
36439 fi
36440 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36441 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36442
36443 if eval test \$wx_cv_func_$wx_func = yes
36444 then
36445 cat >>confdefs.h <<_ACEOF
36446 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36447 _ACEOF
36448
36449
36450 else
36451 :
36452
36453 fi
36454 done
36455
36456 fi
36457
36458 if test "$wxUSE_FILE" = "yes"; then
36459
36460 for wx_func in fsync
36461 do
36462 echo "$as_me:$LINENO: checking for $wx_func" >&5
36463 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36464 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36466 else
36467
36468 cat >conftest.$ac_ext <<_ACEOF
36469
36470 /* confdefs.h. */
36471 _ACEOF
36472 cat confdefs.h >>conftest.$ac_ext
36473 cat >>conftest.$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36475
36476
36477 $ac_includes_default
36478
36479 int
36480 main ()
36481 {
36482
36483 #ifndef $wx_func
36484 &$wx_func;
36485 #endif
36486
36487
36488 ;
36489 return 0;
36490 }
36491
36492 _ACEOF
36493 rm -f conftest.$ac_objext conftest$ac_exeext
36494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36495 (eval $ac_link) 2>conftest.er1
36496 ac_status=$?
36497 grep -v '^ *+' conftest.er1 >conftest.err
36498 rm -f conftest.er1
36499 cat conftest.err >&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); } &&
36502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504 (eval $ac_try) 2>&5
36505 ac_status=$?
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); }; } &&
36508 { ac_try='test -s conftest$ac_exeext'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36511 ac_status=$?
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; }; then
36514 eval wx_cv_func_$wx_func=yes
36515 else
36516 echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36518
36519 eval wx_cv_func_$wx_func=no
36520 fi
36521 rm -f conftest.err conftest.$ac_objext \
36522 conftest$ac_exeext conftest.$ac_ext
36523
36524 fi
36525 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36526 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36527
36528 if eval test \$wx_cv_func_$wx_func = yes
36529 then
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36532 _ACEOF
36533
36534
36535 else
36536 :
36537
36538 fi
36539 done
36540
36541 fi
36542
36543
36544 for wx_func in round
36545 do
36546 echo "$as_me:$LINENO: checking for $wx_func" >&5
36547 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36548 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36549 echo $ECHO_N "(cached) $ECHO_C" >&6
36550 else
36551
36552 cat >conftest.$ac_ext <<_ACEOF
36553
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559
36560 #include <math.h>
36561 $ac_includes_default
36562
36563 int
36564 main ()
36565 {
36566
36567 #ifndef $wx_func
36568 &$wx_func;
36569 #endif
36570
36571
36572 ;
36573 return 0;
36574 }
36575
36576 _ACEOF
36577 rm -f conftest.$ac_objext conftest$ac_exeext
36578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36579 (eval $ac_link) 2>conftest.er1
36580 ac_status=$?
36581 grep -v '^ *+' conftest.er1 >conftest.err
36582 rm -f conftest.er1
36583 cat conftest.err >&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); } &&
36586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36588 (eval $ac_try) 2>&5
36589 ac_status=$?
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); }; } &&
36592 { ac_try='test -s conftest$ac_exeext'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36595 ac_status=$?
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; }; then
36598 eval wx_cv_func_$wx_func=yes
36599 else
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36602
36603 eval wx_cv_func_$wx_func=no
36604 fi
36605 rm -f conftest.err conftest.$ac_objext \
36606 conftest$ac_exeext conftest.$ac_ext
36607
36608 fi
36609 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36610 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36611
36612 if eval test \$wx_cv_func_$wx_func = yes
36613 then
36614 cat >>confdefs.h <<_ACEOF
36615 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36616 _ACEOF
36617
36618
36619 else
36620 :
36621
36622 fi
36623 done
36624
36625
36626 if test "$TOOLKIT" != "MSW"; then
36627
36628
36629
36630
36631
36632 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36633 if test "${with_libiconv_prefix+set}" = set; then
36634 withval="$with_libiconv_prefix"
36635
36636 for dir in `echo "$withval" | tr : ' '`; do
36637 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36638 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36639 done
36640
36641 fi;
36642
36643 echo "$as_me:$LINENO: checking for iconv" >&5
36644 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36645 if test "${am_cv_func_iconv+set}" = set; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648
36649 am_cv_func_iconv="no, consider installing GNU libiconv"
36650 am_cv_lib_iconv=no
36651 cat >conftest.$ac_ext <<_ACEOF
36652 /* confdefs.h. */
36653 _ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657 #include <stdlib.h>
36658 #include <iconv.h>
36659 int
36660 main ()
36661 {
36662 iconv_t cd = iconv_open("","");
36663 iconv(cd,NULL,NULL,NULL,NULL);
36664 iconv_close(cd);
36665 ;
36666 return 0;
36667 }
36668 _ACEOF
36669 rm -f conftest.$ac_objext conftest$ac_exeext
36670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36671 (eval $ac_link) 2>conftest.er1
36672 ac_status=$?
36673 grep -v '^ *+' conftest.er1 >conftest.err
36674 rm -f conftest.er1
36675 cat conftest.err >&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); } &&
36678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36680 (eval $ac_try) 2>&5
36681 ac_status=$?
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); }; } &&
36684 { ac_try='test -s conftest$ac_exeext'
36685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36686 (eval $ac_try) 2>&5
36687 ac_status=$?
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); }; }; then
36690 am_cv_func_iconv=yes
36691 else
36692 echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36694
36695 fi
36696 rm -f conftest.err conftest.$ac_objext \
36697 conftest$ac_exeext conftest.$ac_ext
36698 if test "$am_cv_func_iconv" != yes; then
36699 am_save_LIBS="$LIBS"
36700 LIBS="$LIBS -liconv"
36701 cat >conftest.$ac_ext <<_ACEOF
36702 /* confdefs.h. */
36703 _ACEOF
36704 cat confdefs.h >>conftest.$ac_ext
36705 cat >>conftest.$ac_ext <<_ACEOF
36706 /* end confdefs.h. */
36707 #include <stdlib.h>
36708 #include <iconv.h>
36709 int
36710 main ()
36711 {
36712 iconv_t cd = iconv_open("","");
36713 iconv(cd,NULL,NULL,NULL,NULL);
36714 iconv_close(cd);
36715 ;
36716 return 0;
36717 }
36718 _ACEOF
36719 rm -f conftest.$ac_objext conftest$ac_exeext
36720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36721 (eval $ac_link) 2>conftest.er1
36722 ac_status=$?
36723 grep -v '^ *+' conftest.er1 >conftest.err
36724 rm -f conftest.er1
36725 cat conftest.err >&5
36726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36727 (exit $ac_status); } &&
36728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36731 ac_status=$?
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; } &&
36734 { ac_try='test -s conftest$ac_exeext'
36735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36736 (eval $ac_try) 2>&5
36737 ac_status=$?
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); }; }; then
36740 am_cv_lib_iconv=yes
36741 am_cv_func_iconv=yes
36742 else
36743 echo "$as_me: failed program was:" >&5
36744 sed 's/^/| /' conftest.$ac_ext >&5
36745
36746 fi
36747 rm -f conftest.err conftest.$ac_objext \
36748 conftest$ac_exeext conftest.$ac_ext
36749 LIBS="$am_save_LIBS"
36750 fi
36751
36752 fi
36753 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36754 echo "${ECHO_T}$am_cv_func_iconv" >&6
36755 if test "$am_cv_func_iconv" = yes; then
36756
36757 cat >>confdefs.h <<\_ACEOF
36758 #define HAVE_ICONV 1
36759 _ACEOF
36760
36761 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36762 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36763 if test "${wx_cv_func_iconv_const+set}" = set; then
36764 echo $ECHO_N "(cached) $ECHO_C" >&6
36765 else
36766 cat >conftest.$ac_ext <<_ACEOF
36767 /* confdefs.h. */
36768 _ACEOF
36769 cat confdefs.h >>conftest.$ac_ext
36770 cat >>conftest.$ac_ext <<_ACEOF
36771 /* end confdefs.h. */
36772
36773 #include <stdlib.h>
36774 #include <iconv.h>
36775 extern
36776 #ifdef __cplusplus
36777 "C"
36778 #endif
36779 #if defined(__STDC__) || defined(__cplusplus)
36780 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36781 #else
36782 size_t iconv();
36783 #endif
36784
36785 int
36786 main ()
36787 {
36788
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 rm -f conftest.$ac_objext
36794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36795 (eval $ac_compile) 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } &&
36802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36804 (eval $ac_try) 2>&5
36805 ac_status=$?
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); }; } &&
36808 { ac_try='test -s conftest.$ac_objext'
36809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810 (eval $ac_try) 2>&5
36811 ac_status=$?
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; }; then
36814 wx_cv_func_iconv_const="no"
36815 else
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36818
36819 wx_cv_func_iconv_const="yes"
36820
36821 fi
36822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36823
36824 fi
36825 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36826 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36827
36828 iconv_const=
36829 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36830 iconv_const="const"
36831 fi
36832
36833
36834 cat >>confdefs.h <<_ACEOF
36835 #define ICONV_CONST $iconv_const
36836 _ACEOF
36837
36838 fi
36839 LIBICONV=
36840 if test "$am_cv_lib_iconv" = yes; then
36841 LIBICONV="-liconv"
36842 fi
36843
36844
36845 LIBS="$LIBICONV $LIBS"
36846
36847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36848
36849 for ac_func in sigaction
36850 do
36851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36852 echo "$as_me:$LINENO: checking for $ac_func" >&5
36853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36854 if eval "test \"\${$as_ac_var+set}\" = set"; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 else
36857 cat >conftest.$ac_ext <<_ACEOF
36858 /* confdefs.h. */
36859 _ACEOF
36860 cat confdefs.h >>conftest.$ac_ext
36861 cat >>conftest.$ac_ext <<_ACEOF
36862 /* end confdefs.h. */
36863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36865 #define $ac_func innocuous_$ac_func
36866
36867 /* System header to define __stub macros and hopefully few prototypes,
36868 which can conflict with char $ac_func (); below.
36869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36870 <limits.h> exists even on freestanding compilers. */
36871
36872 #ifdef __STDC__
36873 # include <limits.h>
36874 #else
36875 # include <assert.h>
36876 #endif
36877
36878 #undef $ac_func
36879
36880 /* Override any gcc2 internal prototype to avoid an error. */
36881 #ifdef __cplusplus
36882 extern "C"
36883 {
36884 #endif
36885 /* We use char because int might match the return type of a gcc2
36886 builtin and then its argument prototype would still apply. */
36887 char $ac_func ();
36888 /* The GNU C library defines this for functions which it implements
36889 to always fail with ENOSYS. Some functions are actually named
36890 something starting with __ and the normal name is an alias. */
36891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36892 choke me
36893 #else
36894 char (*f) () = $ac_func;
36895 #endif
36896 #ifdef __cplusplus
36897 }
36898 #endif
36899
36900 int
36901 main ()
36902 {
36903 return f != $ac_func;
36904 ;
36905 return 0;
36906 }
36907 _ACEOF
36908 rm -f conftest.$ac_objext conftest$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36911 ac_status=$?
36912 grep -v '^ *+' conftest.er1 >conftest.err
36913 rm -f conftest.er1
36914 cat conftest.err >&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36919 (eval $ac_try) 2>&5
36920 ac_status=$?
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); }; } &&
36923 { ac_try='test -s conftest$ac_exeext'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36926 ac_status=$?
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; }; then
36929 eval "$as_ac_var=yes"
36930 else
36931 echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.$ac_ext >&5
36933
36934 eval "$as_ac_var=no"
36935 fi
36936 rm -f conftest.err conftest.$ac_objext \
36937 conftest$ac_exeext conftest.$ac_ext
36938 fi
36939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36941 if test `eval echo '${'$as_ac_var'}'` = yes; then
36942 cat >>confdefs.h <<_ACEOF
36943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36944 _ACEOF
36945
36946 fi
36947 done
36948
36949
36950 if test "$ac_cv_func_sigaction" = "no"; then
36951 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36952 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36953 wxUSE_ON_FATAL_EXCEPTION=no
36954 fi
36955
36956 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36957 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36958 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36959 if test "${wx_cv_type_sa_handler+set}" = set; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 else
36962
36963 ac_ext=cc
36964 ac_cpp='$CXXCPP $CPPFLAGS'
36965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36968
36969 cat >conftest.$ac_ext <<_ACEOF
36970 /* confdefs.h. */
36971 _ACEOF
36972 cat confdefs.h >>conftest.$ac_ext
36973 cat >>conftest.$ac_ext <<_ACEOF
36974 /* end confdefs.h. */
36975 #include <signal.h>
36976 int
36977 main ()
36978 {
36979
36980 extern void testSigHandler(int);
36981
36982 struct sigaction sa;
36983 sa.sa_handler = testSigHandler;
36984
36985 ;
36986 return 0;
36987 }
36988 _ACEOF
36989 rm -f conftest.$ac_objext
36990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36991 (eval $ac_compile) 2>conftest.er1
36992 ac_status=$?
36993 grep -v '^ *+' conftest.er1 >conftest.err
36994 rm -f conftest.er1
36995 cat conftest.err >&5
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); } &&
36998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37000 (eval $ac_try) 2>&5
37001 ac_status=$?
37002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37003 (exit $ac_status); }; } &&
37004 { ac_try='test -s conftest.$ac_objext'
37005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37006 (eval $ac_try) 2>&5
37007 ac_status=$?
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); }; }; then
37010
37011 wx_cv_type_sa_handler=int
37012
37013 else
37014 echo "$as_me: failed program was:" >&5
37015 sed 's/^/| /' conftest.$ac_ext >&5
37016
37017
37018 wx_cv_type_sa_handler=void
37019
37020 fi
37021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37022 ac_ext=c
37023 ac_cpp='$CPP $CPPFLAGS'
37024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37027
37028
37029 fi
37030 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37031 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37032
37033 cat >>confdefs.h <<_ACEOF
37034 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37035 _ACEOF
37036
37037 fi
37038 fi
37039
37040 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37041 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37042 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37043 if test "${wx_cv_func_backtrace+set}" = set; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37045 else
37046
37047 ac_ext=cc
37048 ac_cpp='$CXXCPP $CPPFLAGS'
37049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37052
37053 cat >conftest.$ac_ext <<_ACEOF
37054 /* confdefs.h. */
37055 _ACEOF
37056 cat confdefs.h >>conftest.$ac_ext
37057 cat >>conftest.$ac_ext <<_ACEOF
37058 /* end confdefs.h. */
37059 #include <execinfo.h>
37060 int
37061 main ()
37062 {
37063
37064 void *trace[1];
37065 char **messages;
37066
37067 backtrace(trace, 1);
37068 messages = backtrace_symbols(trace, 1);
37069
37070 ;
37071 return 0;
37072 }
37073 _ACEOF
37074 rm -f conftest.$ac_objext
37075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37076 (eval $ac_compile) 2>conftest.er1
37077 ac_status=$?
37078 grep -v '^ *+' conftest.er1 >conftest.err
37079 rm -f conftest.er1
37080 cat conftest.err >&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } &&
37083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37085 (eval $ac_try) 2>&5
37086 ac_status=$?
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); }; } &&
37089 { ac_try='test -s conftest.$ac_objext'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37092 ac_status=$?
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; }; then
37095 wx_cv_func_backtrace=yes
37096 else
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37099
37100 wx_cv_func_backtrace=no
37101
37102 fi
37103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37104 ac_ext=c
37105 ac_cpp='$CPP $CPPFLAGS'
37106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37109
37110
37111
37112 fi
37113 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37114 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37115
37116
37117 if test "$wx_cv_func_backtrace" = "no"; then
37118 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37119 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37120 wxUSE_STACKWALKER=no
37121 else
37122 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37123 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37124 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127
37128 ac_ext=cc
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37133
37134 cat >conftest.$ac_ext <<_ACEOF
37135 /* confdefs.h. */
37136 _ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 #include <cxxabi.h>
37141 int
37142 main ()
37143 {
37144
37145 int rc;
37146 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37147
37148 ;
37149 return 0;
37150 }
37151 _ACEOF
37152 rm -f conftest.$ac_objext conftest$ac_exeext
37153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37154 (eval $ac_link) 2>conftest.er1
37155 ac_status=$?
37156 grep -v '^ *+' conftest.er1 >conftest.err
37157 rm -f conftest.er1
37158 cat conftest.err >&5
37159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37160 (exit $ac_status); } &&
37161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37164 ac_status=$?
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; } &&
37167 { ac_try='test -s conftest$ac_exeext'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37170 ac_status=$?
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; }; then
37173 wx_cv_func_cxa_demangle=yes
37174 else
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37177
37178 wx_cv_func_cxa_demangle=no
37179
37180 fi
37181 rm -f conftest.err conftest.$ac_objext \
37182 conftest$ac_exeext conftest.$ac_ext
37183 ac_ext=c
37184 ac_cpp='$CPP $CPPFLAGS'
37185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188
37189
37190
37191 fi
37192 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37193 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37194
37195 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37196 cat >>confdefs.h <<\_ACEOF
37197 #define HAVE_CXA_DEMANGLE 1
37198 _ACEOF
37199
37200 fi
37201 fi
37202 fi
37203
37204 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37205 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37206 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37207 wxUSE_STACKWALKER=no
37208 fi
37209
37210
37211
37212
37213 for ac_func in mkstemp mktemp
37214 do
37215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37216 echo "$as_me:$LINENO: checking for $ac_func" >&5
37217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37218 if eval "test \"\${$as_ac_var+set}\" = set"; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 else
37221 cat >conftest.$ac_ext <<_ACEOF
37222 /* confdefs.h. */
37223 _ACEOF
37224 cat confdefs.h >>conftest.$ac_ext
37225 cat >>conftest.$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37229 #define $ac_func innocuous_$ac_func
37230
37231 /* System header to define __stub macros and hopefully few prototypes,
37232 which can conflict with char $ac_func (); below.
37233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37234 <limits.h> exists even on freestanding compilers. */
37235
37236 #ifdef __STDC__
37237 # include <limits.h>
37238 #else
37239 # include <assert.h>
37240 #endif
37241
37242 #undef $ac_func
37243
37244 /* Override any gcc2 internal prototype to avoid an error. */
37245 #ifdef __cplusplus
37246 extern "C"
37247 {
37248 #endif
37249 /* We use char because int might match the return type of a gcc2
37250 builtin and then its argument prototype would still apply. */
37251 char $ac_func ();
37252 /* The GNU C library defines this for functions which it implements
37253 to always fail with ENOSYS. Some functions are actually named
37254 something starting with __ and the normal name is an alias. */
37255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37256 choke me
37257 #else
37258 char (*f) () = $ac_func;
37259 #endif
37260 #ifdef __cplusplus
37261 }
37262 #endif
37263
37264 int
37265 main ()
37266 {
37267 return f != $ac_func;
37268 ;
37269 return 0;
37270 }
37271 _ACEOF
37272 rm -f conftest.$ac_objext conftest$ac_exeext
37273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37274 (eval $ac_link) 2>conftest.er1
37275 ac_status=$?
37276 grep -v '^ *+' conftest.er1 >conftest.err
37277 rm -f conftest.er1
37278 cat conftest.err >&5
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); } &&
37281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37283 (eval $ac_try) 2>&5
37284 ac_status=$?
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); }; } &&
37287 { ac_try='test -s conftest$ac_exeext'
37288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37289 (eval $ac_try) 2>&5
37290 ac_status=$?
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); }; }; then
37293 eval "$as_ac_var=yes"
37294 else
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37297
37298 eval "$as_ac_var=no"
37299 fi
37300 rm -f conftest.err conftest.$ac_objext \
37301 conftest$ac_exeext conftest.$ac_ext
37302 fi
37303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37305 if test `eval echo '${'$as_ac_var'}'` = yes; then
37306 cat >>confdefs.h <<_ACEOF
37307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 _ACEOF
37309 break
37310 fi
37311 done
37312
37313
37314 echo "$as_me:$LINENO: checking for statfs" >&5
37315 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37316 if test "${wx_cv_func_statfs+set}" = set; then
37317 echo $ECHO_N "(cached) $ECHO_C" >&6
37318 else
37319 cat >conftest.$ac_ext <<_ACEOF
37320 /* confdefs.h. */
37321 _ACEOF
37322 cat confdefs.h >>conftest.$ac_ext
37323 cat >>conftest.$ac_ext <<_ACEOF
37324 /* end confdefs.h. */
37325
37326 #if defined(__BSD__)
37327 #include <sys/param.h>
37328 #include <sys/mount.h>
37329 #else
37330 #include <sys/vfs.h>
37331 #endif
37332
37333 int
37334 main ()
37335 {
37336
37337 long l;
37338 struct statfs fs;
37339 statfs("/", &fs);
37340 l = fs.f_bsize;
37341 l += fs.f_blocks;
37342 l += fs.f_bavail;
37343
37344 ;
37345 return 0;
37346 }
37347 _ACEOF
37348 rm -f conftest.$ac_objext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37350 (eval $ac_compile) 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37360 ac_status=$?
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; } &&
37363 { ac_try='test -s conftest.$ac_objext'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }; then
37369 wx_cv_func_statfs=yes
37370 else
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.$ac_ext >&5
37373
37374 wx_cv_func_statfs=no
37375
37376 fi
37377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37378
37379 fi
37380 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37381 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37382
37383 if test "$wx_cv_func_statfs" = "yes"; then
37384 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37385 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37386 if test "${wx_cv_func_statfs_decl+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37388 else
37389 ac_ext=cc
37390 ac_cpp='$CXXCPP $CPPFLAGS'
37391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37394
37395 cat >conftest.$ac_ext <<_ACEOF
37396 /* confdefs.h. */
37397 _ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401
37402 #if defined(__BSD__)
37403 #include <sys/param.h>
37404 #include <sys/mount.h>
37405 #else
37406 #include <sys/vfs.h>
37407 #endif
37408
37409 int
37410 main ()
37411 {
37412
37413 struct statfs fs;
37414 statfs("", &fs);
37415
37416 ;
37417 return 0;
37418 }
37419 _ACEOF
37420 rm -f conftest.$ac_objext
37421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37422 (eval $ac_compile) 2>conftest.er1
37423 ac_status=$?
37424 grep -v '^ *+' conftest.er1 >conftest.err
37425 rm -f conftest.er1
37426 cat conftest.err >&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } &&
37429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37432 ac_status=$?
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; } &&
37435 { ac_try='test -s conftest.$ac_objext'
37436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37437 (eval $ac_try) 2>&5
37438 ac_status=$?
37439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 (exit $ac_status); }; }; then
37441 wx_cv_func_statfs_decl=yes
37442 else
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37445
37446 wx_cv_func_statfs_decl=no
37447
37448 fi
37449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37450 ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37455
37456
37457 fi
37458 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37459 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37460
37461 if test "$wx_cv_func_statfs_decl" = "yes"; then
37462 cat >>confdefs.h <<\_ACEOF
37463 #define HAVE_STATFS_DECL 1
37464 _ACEOF
37465
37466 fi
37467
37468 wx_cv_type_statvfs_t="struct statfs"
37469 cat >>confdefs.h <<\_ACEOF
37470 #define HAVE_STATFS 1
37471 _ACEOF
37472
37473 else
37474 echo "$as_me:$LINENO: checking for statvfs" >&5
37475 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37476 if test "${wx_cv_func_statvfs+set}" = set; then
37477 echo $ECHO_N "(cached) $ECHO_C" >&6
37478 else
37479 cat >conftest.$ac_ext <<_ACEOF
37480 /* confdefs.h. */
37481 _ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37485
37486 #include <stddef.h>
37487 #include <sys/statvfs.h>
37488
37489 int
37490 main ()
37491 {
37492
37493 statvfs("/", NULL);
37494
37495 ;
37496 return 0;
37497 }
37498 _ACEOF
37499 rm -f conftest.$ac_objext
37500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37501 (eval $ac_compile) 2>conftest.er1
37502 ac_status=$?
37503 grep -v '^ *+' conftest.er1 >conftest.err
37504 rm -f conftest.er1
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } &&
37508 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510 (eval $ac_try) 2>&5
37511 ac_status=$?
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); }; } &&
37514 { ac_try='test -s conftest.$ac_objext'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37517 ac_status=$?
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; }; then
37520 wx_cv_func_statvfs=yes
37521 else
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.$ac_ext >&5
37524
37525 wx_cv_func_statvfs=no
37526
37527 fi
37528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37529
37530 fi
37531 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37532 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37533
37534 if test "$wx_cv_func_statvfs" = "yes"; then
37535 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37536 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37537 if test "${wx_cv_type_statvfs_t+set}" = set; then
37538 echo $ECHO_N "(cached) $ECHO_C" >&6
37539 else
37540 ac_ext=cc
37541 ac_cpp='$CXXCPP $CPPFLAGS'
37542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37545
37546 cat >conftest.$ac_ext <<_ACEOF
37547 /* confdefs.h. */
37548 _ACEOF
37549 cat confdefs.h >>conftest.$ac_ext
37550 cat >>conftest.$ac_ext <<_ACEOF
37551 /* end confdefs.h. */
37552
37553 #include <sys/statvfs.h>
37554
37555 int
37556 main ()
37557 {
37558
37559 long l;
37560 statvfs_t fs;
37561 statvfs("/", &fs);
37562 l = fs.f_bsize;
37563 l += fs.f_blocks;
37564 l += fs.f_bavail;
37565
37566 ;
37567 return 0;
37568 }
37569 _ACEOF
37570 rm -f conftest.$ac_objext
37571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37572 (eval $ac_compile) 2>conftest.er1
37573 ac_status=$?
37574 grep -v '^ *+' conftest.er1 >conftest.err
37575 rm -f conftest.er1
37576 cat conftest.err >&5
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); } &&
37579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37585 { ac_try='test -s conftest.$ac_objext'
37586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37587 (eval $ac_try) 2>&5
37588 ac_status=$?
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); }; }; then
37591 wx_cv_type_statvfs_t=statvfs_t
37592 else
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.$ac_ext >&5
37595
37596
37597 cat >conftest.$ac_ext <<_ACEOF
37598 /* confdefs.h. */
37599 _ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37603
37604 #include <sys/statvfs.h>
37605
37606 int
37607 main ()
37608 {
37609
37610 long l;
37611 struct statvfs fs;
37612 statvfs("/", &fs);
37613 l = fs.f_bsize;
37614 l += fs.f_blocks;
37615 l += fs.f_bavail;
37616
37617 ;
37618 return 0;
37619 }
37620 _ACEOF
37621 rm -f conftest.$ac_objext
37622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37623 (eval $ac_compile) 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } &&
37630 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37633 ac_status=$?
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; } &&
37636 { ac_try='test -s conftest.$ac_objext'
37637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37638 (eval $ac_try) 2>&5
37639 ac_status=$?
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); }; }; then
37642 wx_cv_type_statvfs_t="struct statvfs"
37643 else
37644 echo "$as_me: failed program was:" >&5
37645 sed 's/^/| /' conftest.$ac_ext >&5
37646
37647 wx_cv_type_statvfs_t="unknown"
37648
37649 fi
37650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37651
37652
37653 fi
37654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37655 ac_ext=c
37656 ac_cpp='$CPP $CPPFLAGS'
37657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37660
37661
37662 fi
37663 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37664 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37665
37666 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37667 cat >>confdefs.h <<\_ACEOF
37668 #define HAVE_STATVFS 1
37669 _ACEOF
37670
37671 fi
37672 else
37673 wx_cv_type_statvfs_t="unknown"
37674 fi
37675 fi
37676
37677 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37678 cat >>confdefs.h <<_ACEOF
37679 #define WX_STATFS_T $wx_cv_type_statvfs_t
37680 _ACEOF
37681
37682 else
37683 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37684 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37685 fi
37686
37687 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37688
37689
37690 for ac_func in fcntl flock
37691 do
37692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37693 echo "$as_me:$LINENO: checking for $ac_func" >&5
37694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37695 if eval "test \"\${$as_ac_var+set}\" = set"; then
37696 echo $ECHO_N "(cached) $ECHO_C" >&6
37697 else
37698 cat >conftest.$ac_ext <<_ACEOF
37699 /* confdefs.h. */
37700 _ACEOF
37701 cat confdefs.h >>conftest.$ac_ext
37702 cat >>conftest.$ac_ext <<_ACEOF
37703 /* end confdefs.h. */
37704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37706 #define $ac_func innocuous_$ac_func
37707
37708 /* System header to define __stub macros and hopefully few prototypes,
37709 which can conflict with char $ac_func (); below.
37710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37711 <limits.h> exists even on freestanding compilers. */
37712
37713 #ifdef __STDC__
37714 # include <limits.h>
37715 #else
37716 # include <assert.h>
37717 #endif
37718
37719 #undef $ac_func
37720
37721 /* Override any gcc2 internal prototype to avoid an error. */
37722 #ifdef __cplusplus
37723 extern "C"
37724 {
37725 #endif
37726 /* We use char because int might match the return type of a gcc2
37727 builtin and then its argument prototype would still apply. */
37728 char $ac_func ();
37729 /* The GNU C library defines this for functions which it implements
37730 to always fail with ENOSYS. Some functions are actually named
37731 something starting with __ and the normal name is an alias. */
37732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37733 choke me
37734 #else
37735 char (*f) () = $ac_func;
37736 #endif
37737 #ifdef __cplusplus
37738 }
37739 #endif
37740
37741 int
37742 main ()
37743 {
37744 return f != $ac_func;
37745 ;
37746 return 0;
37747 }
37748 _ACEOF
37749 rm -f conftest.$ac_objext conftest$ac_exeext
37750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37751 (eval $ac_link) 2>conftest.er1
37752 ac_status=$?
37753 grep -v '^ *+' conftest.er1 >conftest.err
37754 rm -f conftest.er1
37755 cat conftest.err >&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } &&
37758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37760 (eval $ac_try) 2>&5
37761 ac_status=$?
37762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37763 (exit $ac_status); }; } &&
37764 { ac_try='test -s conftest$ac_exeext'
37765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37766 (eval $ac_try) 2>&5
37767 ac_status=$?
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); }; }; then
37770 eval "$as_ac_var=yes"
37771 else
37772 echo "$as_me: failed program was:" >&5
37773 sed 's/^/| /' conftest.$ac_ext >&5
37774
37775 eval "$as_ac_var=no"
37776 fi
37777 rm -f conftest.err conftest.$ac_objext \
37778 conftest$ac_exeext conftest.$ac_ext
37779 fi
37780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37782 if test `eval echo '${'$as_ac_var'}'` = yes; then
37783 cat >>confdefs.h <<_ACEOF
37784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37785 _ACEOF
37786 break
37787 fi
37788 done
37789
37790
37791 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37792 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37793 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37794 wxUSE_SNGLINST_CHECKER=no
37795 fi
37796 fi
37797
37798
37799 for ac_func in timegm
37800 do
37801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37802 echo "$as_me:$LINENO: checking for $ac_func" >&5
37803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37804 if eval "test \"\${$as_ac_var+set}\" = set"; then
37805 echo $ECHO_N "(cached) $ECHO_C" >&6
37806 else
37807 cat >conftest.$ac_ext <<_ACEOF
37808 /* confdefs.h. */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37815 #define $ac_func innocuous_$ac_func
37816
37817 /* System header to define __stub macros and hopefully few prototypes,
37818 which can conflict with char $ac_func (); below.
37819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37820 <limits.h> exists even on freestanding compilers. */
37821
37822 #ifdef __STDC__
37823 # include <limits.h>
37824 #else
37825 # include <assert.h>
37826 #endif
37827
37828 #undef $ac_func
37829
37830 /* Override any gcc2 internal prototype to avoid an error. */
37831 #ifdef __cplusplus
37832 extern "C"
37833 {
37834 #endif
37835 /* We use char because int might match the return type of a gcc2
37836 builtin and then its argument prototype would still apply. */
37837 char $ac_func ();
37838 /* The GNU C library defines this for functions which it implements
37839 to always fail with ENOSYS. Some functions are actually named
37840 something starting with __ and the normal name is an alias. */
37841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37842 choke me
37843 #else
37844 char (*f) () = $ac_func;
37845 #endif
37846 #ifdef __cplusplus
37847 }
37848 #endif
37849
37850 int
37851 main ()
37852 {
37853 return f != $ac_func;
37854 ;
37855 return 0;
37856 }
37857 _ACEOF
37858 rm -f conftest.$ac_objext conftest$ac_exeext
37859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37860 (eval $ac_link) 2>conftest.er1
37861 ac_status=$?
37862 grep -v '^ *+' conftest.er1 >conftest.err
37863 rm -f conftest.er1
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } &&
37867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; } &&
37873 { ac_try='test -s conftest$ac_exeext'
37874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875 (eval $ac_try) 2>&5
37876 ac_status=$?
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); }; }; then
37879 eval "$as_ac_var=yes"
37880 else
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37883
37884 eval "$as_ac_var=no"
37885 fi
37886 rm -f conftest.err conftest.$ac_objext \
37887 conftest$ac_exeext conftest.$ac_ext
37888 fi
37889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37891 if test `eval echo '${'$as_ac_var'}'` = yes; then
37892 cat >>confdefs.h <<_ACEOF
37893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37894 _ACEOF
37895
37896 fi
37897 done
37898
37899
37900
37901
37902 for ac_func in putenv setenv
37903 do
37904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37905 echo "$as_me:$LINENO: checking for $ac_func" >&5
37906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37907 if eval "test \"\${$as_ac_var+set}\" = set"; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910 cat >conftest.$ac_ext <<_ACEOF
37911 /* confdefs.h. */
37912 _ACEOF
37913 cat confdefs.h >>conftest.$ac_ext
37914 cat >>conftest.$ac_ext <<_ACEOF
37915 /* end confdefs.h. */
37916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37918 #define $ac_func innocuous_$ac_func
37919
37920 /* System header to define __stub macros and hopefully few prototypes,
37921 which can conflict with char $ac_func (); below.
37922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37923 <limits.h> exists even on freestanding compilers. */
37924
37925 #ifdef __STDC__
37926 # include <limits.h>
37927 #else
37928 # include <assert.h>
37929 #endif
37930
37931 #undef $ac_func
37932
37933 /* Override any gcc2 internal prototype to avoid an error. */
37934 #ifdef __cplusplus
37935 extern "C"
37936 {
37937 #endif
37938 /* We use char because int might match the return type of a gcc2
37939 builtin and then its argument prototype would still apply. */
37940 char $ac_func ();
37941 /* The GNU C library defines this for functions which it implements
37942 to always fail with ENOSYS. Some functions are actually named
37943 something starting with __ and the normal name is an alias. */
37944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37945 choke me
37946 #else
37947 char (*f) () = $ac_func;
37948 #endif
37949 #ifdef __cplusplus
37950 }
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 return f != $ac_func;
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37963 (eval $ac_link) 2>conftest.er1
37964 ac_status=$?
37965 grep -v '^ *+' conftest.er1 >conftest.err
37966 rm -f conftest.er1
37967 cat conftest.err >&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37972 (eval $ac_try) 2>&5
37973 ac_status=$?
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); }; } &&
37976 { ac_try='test -s conftest$ac_exeext'
37977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37978 (eval $ac_try) 2>&5
37979 ac_status=$?
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); }; }; then
37982 eval "$as_ac_var=yes"
37983 else
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.$ac_ext >&5
37986
37987 eval "$as_ac_var=no"
37988 fi
37989 rm -f conftest.err conftest.$ac_objext \
37990 conftest$ac_exeext conftest.$ac_ext
37991 fi
37992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37994 if test `eval echo '${'$as_ac_var'}'` = yes; then
37995 cat >>confdefs.h <<_ACEOF
37996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37997 _ACEOF
37998 break
37999 fi
38000 done
38001
38002
38003 HAVE_SOME_SLEEP_FUNC=0
38004 if test "$USE_BEOS" = 1; then
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE_SLEEP 1
38007 _ACEOF
38008
38009 HAVE_SOME_SLEEP_FUNC=1
38010 fi
38011
38012 if test "$USE_DARWIN" = 1; then
38013 cat >>confdefs.h <<\_ACEOF
38014 #define HAVE_USLEEP 1
38015 _ACEOF
38016
38017 HAVE_SOME_SLEEP_FUNC=1
38018 fi
38019
38020 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38021 POSIX4_LINK=
38022
38023 for ac_func in nanosleep
38024 do
38025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38026 echo "$as_me:$LINENO: checking for $ac_func" >&5
38027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38028 if eval "test \"\${$as_ac_var+set}\" = set"; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031 cat >conftest.$ac_ext <<_ACEOF
38032 /* confdefs.h. */
38033 _ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38039 #define $ac_func innocuous_$ac_func
38040
38041 /* System header to define __stub macros and hopefully few prototypes,
38042 which can conflict with char $ac_func (); below.
38043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38044 <limits.h> exists even on freestanding compilers. */
38045
38046 #ifdef __STDC__
38047 # include <limits.h>
38048 #else
38049 # include <assert.h>
38050 #endif
38051
38052 #undef $ac_func
38053
38054 /* Override any gcc2 internal prototype to avoid an error. */
38055 #ifdef __cplusplus
38056 extern "C"
38057 {
38058 #endif
38059 /* We use char because int might match the return type of a gcc2
38060 builtin and then its argument prototype would still apply. */
38061 char $ac_func ();
38062 /* The GNU C library defines this for functions which it implements
38063 to always fail with ENOSYS. Some functions are actually named
38064 something starting with __ and the normal name is an alias. */
38065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38066 choke me
38067 #else
38068 char (*f) () = $ac_func;
38069 #endif
38070 #ifdef __cplusplus
38071 }
38072 #endif
38073
38074 int
38075 main ()
38076 {
38077 return f != $ac_func;
38078 ;
38079 return 0;
38080 }
38081 _ACEOF
38082 rm -f conftest.$ac_objext conftest$ac_exeext
38083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38084 (eval $ac_link) 2>conftest.er1
38085 ac_status=$?
38086 grep -v '^ *+' conftest.er1 >conftest.err
38087 rm -f conftest.er1
38088 cat conftest.err >&5
38089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38090 (exit $ac_status); } &&
38091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38093 (eval $ac_try) 2>&5
38094 ac_status=$?
38095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096 (exit $ac_status); }; } &&
38097 { ac_try='test -s conftest$ac_exeext'
38098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099 (eval $ac_try) 2>&5
38100 ac_status=$?
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); }; }; then
38103 eval "$as_ac_var=yes"
38104 else
38105 echo "$as_me: failed program was:" >&5
38106 sed 's/^/| /' conftest.$ac_ext >&5
38107
38108 eval "$as_ac_var=no"
38109 fi
38110 rm -f conftest.err conftest.$ac_objext \
38111 conftest$ac_exeext conftest.$ac_ext
38112 fi
38113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38115 if test `eval echo '${'$as_ac_var'}'` = yes; then
38116 cat >>confdefs.h <<_ACEOF
38117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38118 _ACEOF
38119 cat >>confdefs.h <<\_ACEOF
38120 #define HAVE_NANOSLEEP 1
38121 _ACEOF
38122
38123 else
38124
38125 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38126 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38127 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38128 echo $ECHO_N "(cached) $ECHO_C" >&6
38129 else
38130 ac_check_lib_save_LIBS=$LIBS
38131 LIBS="-lposix4 $LIBS"
38132 cat >conftest.$ac_ext <<_ACEOF
38133 /* confdefs.h. */
38134 _ACEOF
38135 cat confdefs.h >>conftest.$ac_ext
38136 cat >>conftest.$ac_ext <<_ACEOF
38137 /* end confdefs.h. */
38138
38139 /* Override any gcc2 internal prototype to avoid an error. */
38140 #ifdef __cplusplus
38141 extern "C"
38142 #endif
38143 /* We use char because int might match the return type of a gcc2
38144 builtin and then its argument prototype would still apply. */
38145 char nanosleep ();
38146 int
38147 main ()
38148 {
38149 nanosleep ();
38150 ;
38151 return 0;
38152 }
38153 _ACEOF
38154 rm -f conftest.$ac_objext conftest$ac_exeext
38155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38156 (eval $ac_link) 2>conftest.er1
38157 ac_status=$?
38158 grep -v '^ *+' conftest.er1 >conftest.err
38159 rm -f conftest.er1
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } &&
38163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38165 (eval $ac_try) 2>&5
38166 ac_status=$?
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); }; } &&
38169 { ac_try='test -s conftest$ac_exeext'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38172 ac_status=$?
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; }; then
38175 ac_cv_lib_posix4_nanosleep=yes
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38179
38180 ac_cv_lib_posix4_nanosleep=no
38181 fi
38182 rm -f conftest.err conftest.$ac_objext \
38183 conftest$ac_exeext conftest.$ac_ext
38184 LIBS=$ac_check_lib_save_LIBS
38185 fi
38186 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38187 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38188 if test $ac_cv_lib_posix4_nanosleep = yes; then
38189
38190 cat >>confdefs.h <<\_ACEOF
38191 #define HAVE_NANOSLEEP 1
38192 _ACEOF
38193
38194 POSIX4_LINK=" -lposix4"
38195
38196 else
38197
38198
38199 for wx_func in usleep
38200 do
38201 echo "$as_me:$LINENO: checking for $wx_func" >&5
38202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38203 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 else
38206
38207 cat >conftest.$ac_ext <<_ACEOF
38208
38209 /* confdefs.h. */
38210 _ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38214
38215
38216 $ac_includes_default
38217
38218 int
38219 main ()
38220 {
38221
38222 #ifndef $wx_func
38223 &$wx_func;
38224 #endif
38225
38226
38227 ;
38228 return 0;
38229 }
38230
38231 _ACEOF
38232 rm -f conftest.$ac_objext conftest$ac_exeext
38233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38234 (eval $ac_link) 2>conftest.er1
38235 ac_status=$?
38236 grep -v '^ *+' conftest.er1 >conftest.err
38237 rm -f conftest.er1
38238 cat conftest.err >&5
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); } &&
38241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38243 (eval $ac_try) 2>&5
38244 ac_status=$?
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); }; } &&
38247 { ac_try='test -s conftest$ac_exeext'
38248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38249 (eval $ac_try) 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; }; then
38253 eval wx_cv_func_$wx_func=yes
38254 else
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38257
38258 eval wx_cv_func_$wx_func=no
38259 fi
38260 rm -f conftest.err conftest.$ac_objext \
38261 conftest$ac_exeext conftest.$ac_ext
38262
38263 fi
38264 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38265 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38266
38267 if eval test \$wx_cv_func_$wx_func = yes
38268 then
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38271 _ACEOF
38272
38273
38274 else
38275 :
38276 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38277 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38278
38279 fi
38280 done
38281
38282
38283
38284 fi
38285
38286
38287
38288 fi
38289 done
38290
38291 fi
38292
38293
38294 for wx_func in uname
38295 do
38296 echo "$as_me:$LINENO: checking for $wx_func" >&5
38297 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38298 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38299 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 else
38301
38302 cat >conftest.$ac_ext <<_ACEOF
38303
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310 #include <sys/utsname.h>
38311 $ac_includes_default
38312
38313 int
38314 main ()
38315 {
38316
38317 #ifndef $wx_func
38318 &$wx_func;
38319 #endif
38320
38321
38322 ;
38323 return 0;
38324 }
38325
38326 _ACEOF
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38329 (eval $ac_link) 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } &&
38336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38339 ac_status=$?
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try='test -s conftest$ac_exeext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38345 ac_status=$?
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 eval wx_cv_func_$wx_func=yes
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38352
38353 eval wx_cv_func_$wx_func=no
38354 fi
38355 rm -f conftest.err conftest.$ac_objext \
38356 conftest$ac_exeext conftest.$ac_ext
38357
38358 fi
38359 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38360 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38361
38362 if eval test \$wx_cv_func_$wx_func = yes
38363 then
38364 cat >>confdefs.h <<_ACEOF
38365 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38366 _ACEOF
38367
38368
38369 else
38370 :
38371
38372 fi
38373 done
38374
38375 if test "$wx_cv_func_uname" != yes; then
38376
38377 for wx_func in gethostname
38378 do
38379 echo "$as_me:$LINENO: checking for $wx_func" >&5
38380 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38381 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38382 echo $ECHO_N "(cached) $ECHO_C" >&6
38383 else
38384
38385 cat >conftest.$ac_ext <<_ACEOF
38386
38387 /* confdefs.h. */
38388 _ACEOF
38389 cat confdefs.h >>conftest.$ac_ext
38390 cat >>conftest.$ac_ext <<_ACEOF
38391 /* end confdefs.h. */
38392
38393
38394 $ac_includes_default
38395
38396 int
38397 main ()
38398 {
38399
38400 #ifndef $wx_func
38401 &$wx_func;
38402 #endif
38403
38404
38405 ;
38406 return 0;
38407 }
38408
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38412 (eval $ac_link) 2>conftest.er1
38413 ac_status=$?
38414 grep -v '^ *+' conftest.er1 >conftest.err
38415 rm -f conftest.er1
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } &&
38419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38422 ac_status=$?
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; } &&
38425 { ac_try='test -s conftest$ac_exeext'
38426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38427 (eval $ac_try) 2>&5
38428 ac_status=$?
38429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38430 (exit $ac_status); }; }; then
38431 eval wx_cv_func_$wx_func=yes
38432 else
38433 echo "$as_me: failed program was:" >&5
38434 sed 's/^/| /' conftest.$ac_ext >&5
38435
38436 eval wx_cv_func_$wx_func=no
38437 fi
38438 rm -f conftest.err conftest.$ac_objext \
38439 conftest$ac_exeext conftest.$ac_ext
38440
38441 fi
38442 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38443 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38444
38445 if eval test \$wx_cv_func_$wx_func = yes
38446 then
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38449 _ACEOF
38450
38451
38452 else
38453 :
38454
38455 fi
38456 done
38457
38458 fi
38459
38460
38461 for wx_func in strtok_r
38462 do
38463 echo "$as_me:$LINENO: checking for $wx_func" >&5
38464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38465 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38466 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 else
38468
38469 cat >conftest.$ac_ext <<_ACEOF
38470
38471 /* confdefs.h. */
38472 _ACEOF
38473 cat confdefs.h >>conftest.$ac_ext
38474 cat >>conftest.$ac_ext <<_ACEOF
38475 /* end confdefs.h. */
38476
38477 #define _REENTRANT
38478 $ac_includes_default
38479
38480 int
38481 main ()
38482 {
38483
38484 #ifndef $wx_func
38485 &$wx_func;
38486 #endif
38487
38488
38489 ;
38490 return 0;
38491 }
38492
38493 _ACEOF
38494 rm -f conftest.$ac_objext conftest$ac_exeext
38495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38496 (eval $ac_link) 2>conftest.er1
38497 ac_status=$?
38498 grep -v '^ *+' conftest.er1 >conftest.err
38499 rm -f conftest.er1
38500 cat conftest.err >&5
38501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502 (exit $ac_status); } &&
38503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38505 (eval $ac_try) 2>&5
38506 ac_status=$?
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); }; } &&
38509 { ac_try='test -s conftest$ac_exeext'
38510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38511 (eval $ac_try) 2>&5
38512 ac_status=$?
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; }; then
38515 eval wx_cv_func_$wx_func=yes
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 eval wx_cv_func_$wx_func=no
38521 fi
38522 rm -f conftest.err conftest.$ac_objext \
38523 conftest$ac_exeext conftest.$ac_ext
38524
38525 fi
38526 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38527 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38528
38529 if eval test \$wx_cv_func_$wx_func = yes
38530 then
38531 cat >>confdefs.h <<_ACEOF
38532 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38533 _ACEOF
38534
38535
38536 else
38537 :
38538
38539 fi
38540 done
38541
38542
38543 INET_LINK=
38544
38545 for ac_func in inet_addr
38546 do
38547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38548 echo "$as_me:$LINENO: checking for $ac_func" >&5
38549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38550 if eval "test \"\${$as_ac_var+set}\" = set"; then
38551 echo $ECHO_N "(cached) $ECHO_C" >&6
38552 else
38553 cat >conftest.$ac_ext <<_ACEOF
38554 /* confdefs.h. */
38555 _ACEOF
38556 cat confdefs.h >>conftest.$ac_ext
38557 cat >>conftest.$ac_ext <<_ACEOF
38558 /* end confdefs.h. */
38559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38561 #define $ac_func innocuous_$ac_func
38562
38563 /* System header to define __stub macros and hopefully few prototypes,
38564 which can conflict with char $ac_func (); below.
38565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38566 <limits.h> exists even on freestanding compilers. */
38567
38568 #ifdef __STDC__
38569 # include <limits.h>
38570 #else
38571 # include <assert.h>
38572 #endif
38573
38574 #undef $ac_func
38575
38576 /* Override any gcc2 internal prototype to avoid an error. */
38577 #ifdef __cplusplus
38578 extern "C"
38579 {
38580 #endif
38581 /* We use char because int might match the return type of a gcc2
38582 builtin and then its argument prototype would still apply. */
38583 char $ac_func ();
38584 /* The GNU C library defines this for functions which it implements
38585 to always fail with ENOSYS. Some functions are actually named
38586 something starting with __ and the normal name is an alias. */
38587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38588 choke me
38589 #else
38590 char (*f) () = $ac_func;
38591 #endif
38592 #ifdef __cplusplus
38593 }
38594 #endif
38595
38596 int
38597 main ()
38598 {
38599 return f != $ac_func;
38600 ;
38601 return 0;
38602 }
38603 _ACEOF
38604 rm -f conftest.$ac_objext conftest$ac_exeext
38605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38606 (eval $ac_link) 2>conftest.er1
38607 ac_status=$?
38608 grep -v '^ *+' conftest.er1 >conftest.err
38609 rm -f conftest.er1
38610 cat conftest.err >&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); } &&
38613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38616 ac_status=$?
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; } &&
38619 { ac_try='test -s conftest$ac_exeext'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; }; then
38625 eval "$as_ac_var=yes"
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630 eval "$as_ac_var=no"
38631 fi
38632 rm -f conftest.err conftest.$ac_objext \
38633 conftest$ac_exeext conftest.$ac_ext
38634 fi
38635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38637 if test `eval echo '${'$as_ac_var'}'` = yes; then
38638 cat >>confdefs.h <<_ACEOF
38639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38640 _ACEOF
38641 cat >>confdefs.h <<\_ACEOF
38642 #define HAVE_INET_ADDR 1
38643 _ACEOF
38644
38645 else
38646
38647 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38648 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38649 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38650 echo $ECHO_N "(cached) $ECHO_C" >&6
38651 else
38652 ac_check_lib_save_LIBS=$LIBS
38653 LIBS="-lnsl $LIBS"
38654 cat >conftest.$ac_ext <<_ACEOF
38655 /* confdefs.h. */
38656 _ACEOF
38657 cat confdefs.h >>conftest.$ac_ext
38658 cat >>conftest.$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660
38661 /* Override any gcc2 internal prototype to avoid an error. */
38662 #ifdef __cplusplus
38663 extern "C"
38664 #endif
38665 /* We use char because int might match the return type of a gcc2
38666 builtin and then its argument prototype would still apply. */
38667 char inet_addr ();
38668 int
38669 main ()
38670 {
38671 inet_addr ();
38672 ;
38673 return 0;
38674 }
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38678 (eval $ac_link) 2>conftest.er1
38679 ac_status=$?
38680 grep -v '^ *+' conftest.er1 >conftest.err
38681 rm -f conftest.er1
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } &&
38685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38687 (eval $ac_try) 2>&5
38688 ac_status=$?
38689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38690 (exit $ac_status); }; } &&
38691 { ac_try='test -s conftest$ac_exeext'
38692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 (eval $ac_try) 2>&5
38694 ac_status=$?
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); }; }; then
38697 ac_cv_lib_nsl_inet_addr=yes
38698 else
38699 echo "$as_me: failed program was:" >&5
38700 sed 's/^/| /' conftest.$ac_ext >&5
38701
38702 ac_cv_lib_nsl_inet_addr=no
38703 fi
38704 rm -f conftest.err conftest.$ac_objext \
38705 conftest$ac_exeext conftest.$ac_ext
38706 LIBS=$ac_check_lib_save_LIBS
38707 fi
38708 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38709 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38710 if test $ac_cv_lib_nsl_inet_addr = yes; then
38711 INET_LINK="nsl"
38712 else
38713
38714 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38715 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38716 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38718 else
38719 ac_check_lib_save_LIBS=$LIBS
38720 LIBS="-lresolv $LIBS"
38721 cat >conftest.$ac_ext <<_ACEOF
38722 /* confdefs.h. */
38723 _ACEOF
38724 cat confdefs.h >>conftest.$ac_ext
38725 cat >>conftest.$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727
38728 /* Override any gcc2 internal prototype to avoid an error. */
38729 #ifdef __cplusplus
38730 extern "C"
38731 #endif
38732 /* We use char because int might match the return type of a gcc2
38733 builtin and then its argument prototype would still apply. */
38734 char inet_addr ();
38735 int
38736 main ()
38737 {
38738 inet_addr ();
38739 ;
38740 return 0;
38741 }
38742 _ACEOF
38743 rm -f conftest.$ac_objext conftest$ac_exeext
38744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38745 (eval $ac_link) 2>conftest.er1
38746 ac_status=$?
38747 grep -v '^ *+' conftest.er1 >conftest.err
38748 rm -f conftest.er1
38749 cat conftest.err >&5
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); } &&
38752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38755 ac_status=$?
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; } &&
38758 { ac_try='test -s conftest$ac_exeext'
38759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38760 (eval $ac_try) 2>&5
38761 ac_status=$?
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); }; }; then
38764 ac_cv_lib_resolv_inet_addr=yes
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38768
38769 ac_cv_lib_resolv_inet_addr=no
38770 fi
38771 rm -f conftest.err conftest.$ac_objext \
38772 conftest$ac_exeext conftest.$ac_ext
38773 LIBS=$ac_check_lib_save_LIBS
38774 fi
38775 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38776 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38777 if test $ac_cv_lib_resolv_inet_addr = yes; then
38778 INET_LINK="resolv"
38779 else
38780
38781 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38782 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38783 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38785 else
38786 ac_check_lib_save_LIBS=$LIBS
38787 LIBS="-lsocket $LIBS"
38788 cat >conftest.$ac_ext <<_ACEOF
38789 /* confdefs.h. */
38790 _ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38794
38795 /* Override any gcc2 internal prototype to avoid an error. */
38796 #ifdef __cplusplus
38797 extern "C"
38798 #endif
38799 /* We use char because int might match the return type of a gcc2
38800 builtin and then its argument prototype would still apply. */
38801 char inet_addr ();
38802 int
38803 main ()
38804 {
38805 inet_addr ();
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38812 (eval $ac_link) 2>conftest.er1
38813 ac_status=$?
38814 grep -v '^ *+' conftest.er1 >conftest.err
38815 rm -f conftest.er1
38816 cat conftest.err >&5
38817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818 (exit $ac_status); } &&
38819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821 (eval $ac_try) 2>&5
38822 ac_status=$?
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); }; } &&
38825 { ac_try='test -s conftest$ac_exeext'
38826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38827 (eval $ac_try) 2>&5
38828 ac_status=$?
38829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38830 (exit $ac_status); }; }; then
38831 ac_cv_lib_socket_inet_addr=yes
38832 else
38833 echo "$as_me: failed program was:" >&5
38834 sed 's/^/| /' conftest.$ac_ext >&5
38835
38836 ac_cv_lib_socket_inet_addr=no
38837 fi
38838 rm -f conftest.err conftest.$ac_objext \
38839 conftest$ac_exeext conftest.$ac_ext
38840 LIBS=$ac_check_lib_save_LIBS
38841 fi
38842 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38843 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38844 if test $ac_cv_lib_socket_inet_addr = yes; then
38845 INET_LINK="socket"
38846
38847 fi
38848
38849
38850
38851 fi
38852
38853
38854
38855 fi
38856
38857
38858
38859 fi
38860 done
38861
38862
38863
38864 for ac_func in inet_aton
38865 do
38866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38867 echo "$as_me:$LINENO: checking for $ac_func" >&5
38868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38869 if eval "test \"\${$as_ac_var+set}\" = set"; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38871 else
38872 cat >conftest.$ac_ext <<_ACEOF
38873 /* confdefs.h. */
38874 _ACEOF
38875 cat confdefs.h >>conftest.$ac_ext
38876 cat >>conftest.$ac_ext <<_ACEOF
38877 /* end confdefs.h. */
38878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38880 #define $ac_func innocuous_$ac_func
38881
38882 /* System header to define __stub macros and hopefully few prototypes,
38883 which can conflict with char $ac_func (); below.
38884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38885 <limits.h> exists even on freestanding compilers. */
38886
38887 #ifdef __STDC__
38888 # include <limits.h>
38889 #else
38890 # include <assert.h>
38891 #endif
38892
38893 #undef $ac_func
38894
38895 /* Override any gcc2 internal prototype to avoid an error. */
38896 #ifdef __cplusplus
38897 extern "C"
38898 {
38899 #endif
38900 /* We use char because int might match the return type of a gcc2
38901 builtin and then its argument prototype would still apply. */
38902 char $ac_func ();
38903 /* The GNU C library defines this for functions which it implements
38904 to always fail with ENOSYS. Some functions are actually named
38905 something starting with __ and the normal name is an alias. */
38906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38907 choke me
38908 #else
38909 char (*f) () = $ac_func;
38910 #endif
38911 #ifdef __cplusplus
38912 }
38913 #endif
38914
38915 int
38916 main ()
38917 {
38918 return f != $ac_func;
38919 ;
38920 return 0;
38921 }
38922 _ACEOF
38923 rm -f conftest.$ac_objext conftest$ac_exeext
38924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38925 (eval $ac_link) 2>conftest.er1
38926 ac_status=$?
38927 grep -v '^ *+' conftest.er1 >conftest.err
38928 rm -f conftest.er1
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } &&
38932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38934 (eval $ac_try) 2>&5
38935 ac_status=$?
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); }; } &&
38938 { ac_try='test -s conftest$ac_exeext'
38939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38940 (eval $ac_try) 2>&5
38941 ac_status=$?
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); }; }; then
38944 eval "$as_ac_var=yes"
38945 else
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.$ac_ext >&5
38948
38949 eval "$as_ac_var=no"
38950 fi
38951 rm -f conftest.err conftest.$ac_objext \
38952 conftest$ac_exeext conftest.$ac_ext
38953 fi
38954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38956 if test `eval echo '${'$as_ac_var'}'` = yes; then
38957 cat >>confdefs.h <<_ACEOF
38958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38959 _ACEOF
38960 cat >>confdefs.h <<\_ACEOF
38961 #define HAVE_INET_ATON 1
38962 _ACEOF
38963
38964 else
38965
38966 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38967 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38968 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38969 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38970 echo $ECHO_N "(cached) $ECHO_C" >&6
38971 else
38972 ac_check_lib_save_LIBS=$LIBS
38973 LIBS="-l$INET_LINK $LIBS"
38974 cat >conftest.$ac_ext <<_ACEOF
38975 /* confdefs.h. */
38976 _ACEOF
38977 cat confdefs.h >>conftest.$ac_ext
38978 cat >>conftest.$ac_ext <<_ACEOF
38979 /* end confdefs.h. */
38980
38981 /* Override any gcc2 internal prototype to avoid an error. */
38982 #ifdef __cplusplus
38983 extern "C"
38984 #endif
38985 /* We use char because int might match the return type of a gcc2
38986 builtin and then its argument prototype would still apply. */
38987 char inet_aton ();
38988 int
38989 main ()
38990 {
38991 inet_aton ();
38992 ;
38993 return 0;
38994 }
38995 _ACEOF
38996 rm -f conftest.$ac_objext conftest$ac_exeext
38997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38998 (eval $ac_link) 2>conftest.er1
38999 ac_status=$?
39000 grep -v '^ *+' conftest.er1 >conftest.err
39001 rm -f conftest.er1
39002 cat conftest.err >&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } &&
39005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39008 ac_status=$?
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; } &&
39011 { ac_try='test -s conftest$ac_exeext'
39012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39013 (eval $ac_try) 2>&5
39014 ac_status=$?
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); }; }; then
39017 eval "$as_ac_Lib=yes"
39018 else
39019 echo "$as_me: failed program was:" >&5
39020 sed 's/^/| /' conftest.$ac_ext >&5
39021
39022 eval "$as_ac_Lib=no"
39023 fi
39024 rm -f conftest.err conftest.$ac_objext \
39025 conftest$ac_exeext conftest.$ac_ext
39026 LIBS=$ac_check_lib_save_LIBS
39027 fi
39028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39029 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39030 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39031 cat >>confdefs.h <<\_ACEOF
39032 #define HAVE_INET_ATON 1
39033 _ACEOF
39034
39035 fi
39036
39037
39038 fi
39039 done
39040
39041
39042 if test "x$INET_LINK" != "x"; then
39043 cat >>confdefs.h <<\_ACEOF
39044 #define HAVE_INET_ADDR 1
39045 _ACEOF
39046
39047 INET_LINK=" -l$INET_LINK"
39048 fi
39049
39050
39051 for wx_func in fdopen
39052 do
39053 echo "$as_me:$LINENO: checking for $wx_func" >&5
39054 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39055 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 else
39058
39059 cat >conftest.$ac_ext <<_ACEOF
39060
39061 /* confdefs.h. */
39062 _ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066
39067
39068 $ac_includes_default
39069
39070 int
39071 main ()
39072 {
39073
39074 #ifndef $wx_func
39075 &$wx_func;
39076 #endif
39077
39078
39079 ;
39080 return 0;
39081 }
39082
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39086 (eval $ac_link) 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39095 (eval $ac_try) 2>&5
39096 ac_status=$?
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); }; } &&
39099 { ac_try='test -s conftest$ac_exeext'
39100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39101 (eval $ac_try) 2>&5
39102 ac_status=$?
39103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104 (exit $ac_status); }; }; then
39105 eval wx_cv_func_$wx_func=yes
39106 else
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39109
39110 eval wx_cv_func_$wx_func=no
39111 fi
39112 rm -f conftest.err conftest.$ac_objext \
39113 conftest$ac_exeext conftest.$ac_ext
39114
39115 fi
39116 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39117 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39118
39119 if eval test \$wx_cv_func_$wx_func = yes
39120 then
39121 cat >>confdefs.h <<_ACEOF
39122 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39123 _ACEOF
39124
39125
39126 else
39127 :
39128
39129 fi
39130 done
39131
39132
39133 fi
39134
39135
39136
39137
39138 EXTRALIBS_ESD=
39139 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39140 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39141 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 else
39144 ac_check_lib_save_LIBS=$LIBS
39145 LIBS="-lesd $LIBS"
39146 cat >conftest.$ac_ext <<_ACEOF
39147 /* confdefs.h. */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152
39153 /* Override any gcc2 internal prototype to avoid an error. */
39154 #ifdef __cplusplus
39155 extern "C"
39156 #endif
39157 /* We use char because int might match the return type of a gcc2
39158 builtin and then its argument prototype would still apply. */
39159 char esd_close ();
39160 int
39161 main ()
39162 {
39163 esd_close ();
39164 ;
39165 return 0;
39166 }
39167 _ACEOF
39168 rm -f conftest.$ac_objext conftest$ac_exeext
39169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39170 (eval $ac_link) 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } &&
39177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39180 ac_status=$?
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; } &&
39183 { ac_try='test -s conftest$ac_exeext'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39186 ac_status=$?
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 ac_cv_lib_esd_esd_close=yes
39190 else
39191 echo "$as_me: failed program was:" >&5
39192 sed 's/^/| /' conftest.$ac_ext >&5
39193
39194 ac_cv_lib_esd_esd_close=no
39195 fi
39196 rm -f conftest.err conftest.$ac_objext \
39197 conftest$ac_exeext conftest.$ac_ext
39198 LIBS=$ac_check_lib_save_LIBS
39199 fi
39200 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39201 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39202 if test $ac_cv_lib_esd_esd_close = yes; then
39203
39204
39205 for ac_header in esd.h
39206 do
39207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39209 echo "$as_me:$LINENO: checking for $ac_header" >&5
39210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39212 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 fi
39214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39216 else
39217 # Is the header compilable?
39218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39220 cat >conftest.$ac_ext <<_ACEOF
39221 /* confdefs.h. */
39222 _ACEOF
39223 cat confdefs.h >>conftest.$ac_ext
39224 cat >>conftest.$ac_ext <<_ACEOF
39225 /* end confdefs.h. */
39226 $ac_includes_default
39227 #include <$ac_header>
39228 _ACEOF
39229 rm -f conftest.$ac_objext
39230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39231 (eval $ac_compile) 2>conftest.er1
39232 ac_status=$?
39233 grep -v '^ *+' conftest.er1 >conftest.err
39234 rm -f conftest.er1
39235 cat conftest.err >&5
39236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39237 (exit $ac_status); } &&
39238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39240 (eval $ac_try) 2>&5
39241 ac_status=$?
39242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39243 (exit $ac_status); }; } &&
39244 { ac_try='test -s conftest.$ac_objext'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39247 ac_status=$?
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; }; then
39250 ac_header_compiler=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 ac_header_compiler=no
39256 fi
39257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39259 echo "${ECHO_T}$ac_header_compiler" >&6
39260
39261 # Is the header present?
39262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39264 cat >conftest.$ac_ext <<_ACEOF
39265 /* confdefs.h. */
39266 _ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 #include <$ac_header>
39271 _ACEOF
39272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39274 ac_status=$?
39275 grep -v '^ *+' conftest.er1 >conftest.err
39276 rm -f conftest.er1
39277 cat conftest.err >&5
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); } >/dev/null; then
39280 if test -s conftest.err; then
39281 ac_cpp_err=$ac_c_preproc_warn_flag
39282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39283 else
39284 ac_cpp_err=
39285 fi
39286 else
39287 ac_cpp_err=yes
39288 fi
39289 if test -z "$ac_cpp_err"; then
39290 ac_header_preproc=yes
39291 else
39292 echo "$as_me: failed program was:" >&5
39293 sed 's/^/| /' conftest.$ac_ext >&5
39294
39295 ac_header_preproc=no
39296 fi
39297 rm -f conftest.err conftest.$ac_ext
39298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39299 echo "${ECHO_T}$ac_header_preproc" >&6
39300
39301 # So? What about this header?
39302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39303 yes:no: )
39304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39307 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39308 ac_header_preproc=yes
39309 ;;
39310 no:yes:* )
39311 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39312 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39313 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39314 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39315 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39316 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39317 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39318 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39320 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39321 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39322 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39323 (
39324 cat <<\_ASBOX
39325 ## ----------------------------------------- ##
39326 ## Report this to wx-dev@lists.wxwidgets.org ##
39327 ## ----------------------------------------- ##
39328 _ASBOX
39329 ) |
39330 sed "s/^/$as_me: WARNING: /" >&2
39331 ;;
39332 esac
39333 echo "$as_me:$LINENO: checking for $ac_header" >&5
39334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39336 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 else
39338 eval "$as_ac_Header=\$ac_header_preproc"
39339 fi
39340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39342
39343 fi
39344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39345 cat >>confdefs.h <<_ACEOF
39346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39347 _ACEOF
39348
39349 EXTRALIBS_ESD="-lesd"
39350
39351 fi
39352
39353 done
39354
39355
39356 fi
39357
39358
39359
39360 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39361 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39362 cat >conftest.$ac_ext <<_ACEOF
39363 /* confdefs.h. */
39364 _ACEOF
39365 cat confdefs.h >>conftest.$ac_ext
39366 cat >>conftest.$ac_ext <<_ACEOF
39367 /* end confdefs.h. */
39368 #ifdef __linux__
39369 #include <linux/cdrom.h>
39370 #else
39371 /* For Solaris */
39372 #include <sys/cdio.h>
39373 #endif
39374
39375 int
39376 main ()
39377 {
39378 struct cdrom_tocentry entry, old_entry;
39379 ;
39380 return 0;
39381 }
39382 _ACEOF
39383 rm -f conftest.$ac_objext
39384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39385 (eval $ac_compile) 2>conftest.er1
39386 ac_status=$?
39387 grep -v '^ *+' conftest.er1 >conftest.err
39388 rm -f conftest.er1
39389 cat conftest.err >&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } &&
39392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39394 (eval $ac_try) 2>&5
39395 ac_status=$?
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); }; } &&
39398 { ac_try='test -s conftest.$ac_objext'
39399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39400 (eval $ac_try) 2>&5
39401 ac_status=$?
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); }; }; then
39404 echo "$as_me:$LINENO: result: yes" >&5
39405 echo "${ECHO_T}yes" >&6
39406 cat >>confdefs.h <<\_ACEOF
39407 #define HAVE_KNOWN_CDROM_INTERFACE 1
39408 _ACEOF
39409
39410 else
39411 echo "$as_me: failed program was:" >&5
39412 sed 's/^/| /' conftest.$ac_ext >&5
39413
39414 echo "$as_me:$LINENO: result: no" >&5
39415 echo "${ECHO_T}no" >&6
39416 fi
39417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39418
39419
39420 cat >confcache <<\_ACEOF
39421 # This file is a shell script that caches the results of configure
39422 # tests run on this system so they can be shared between configure
39423 # scripts and configure runs, see configure's option --config-cache.
39424 # It is not useful on other systems. If it contains results you don't
39425 # want to keep, you may remove or edit it.
39426 #
39427 # config.status only pays attention to the cache file if you give it
39428 # the --recheck option to rerun configure.
39429 #
39430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39432 # following values.
39433
39434 _ACEOF
39435
39436 # The following way of writing the cache mishandles newlines in values,
39437 # but we know of no workaround that is simple, portable, and efficient.
39438 # So, don't put newlines in cache variables' values.
39439 # Ultrix sh set writes to stderr and can't be redirected directly,
39440 # and sets the high bit in the cache file unless we assign to the vars.
39441 {
39442 (set) 2>&1 |
39443 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39444 *ac_space=\ *)
39445 # `set' does not quote correctly, so add quotes (double-quote
39446 # substitution turns \\\\ into \\, and sed turns \\ into \).
39447 sed -n \
39448 "s/'/'\\\\''/g;
39449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39450 ;;
39451 *)
39452 # `set' quotes correctly as required by POSIX, so do not add quotes.
39453 sed -n \
39454 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39455 ;;
39456 esac;
39457 } |
39458 sed '
39459 t clear
39460 : clear
39461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39462 t end
39463 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39464 : end' >>confcache
39465 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39466 if test -w $cache_file; then
39467 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39468 cat confcache >$cache_file
39469 else
39470 echo "not updating unwritable cache $cache_file"
39471 fi
39472 fi
39473 rm -f confcache
39474
39475
39476 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39477
39478
39479 THREADS_LINK=
39480 THREADS_CFLAGS=
39481
39482 if test "$wxUSE_THREADS" = "yes" ; then
39483 if test "$USE_BEOS" = 1; then
39484 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39485 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39486 wxUSE_THREADS="no"
39487 fi
39488 fi
39489
39490 if test "$wxUSE_THREADS" = "yes" ; then
39491
39492
39493 THREAD_OPTS="-pthread"
39494 case "${host}" in
39495 *-*-solaris2* | *-*-sunos4* )
39496 if test "x$GCC" = "xyes"; then
39497 THREAD_OPTS="-pthreads $THREAD_OPTS"
39498 else
39499 THREAD_OPTS="-mt $THREAD_OPTS"
39500 fi
39501 ;;
39502 *-*-freebsd*)
39503 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39504 ;;
39505 *-*-darwin* | *-*-cygwin* )
39506 THREAD_OPTS=""
39507 ;;
39508 *-*-aix*)
39509 THREAD_OPTS="pthreads"
39510 ;;
39511 *-hp-hpux* )
39512 if test "x$GCC" = "xyes"; then
39513 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39514 THREAD_OPTS=""
39515 else
39516 THREAD_OPTS="-mt"
39517 fi
39518 ;;
39519
39520 *-*-irix* )
39521 if test "x$GCC" = "xyes"; then
39522 THREAD_OPTS=""
39523 fi
39524 ;;
39525
39526 *-*-*UnixWare*)
39527 if test "x$GCC" != "xyes"; then
39528 THREAD_OPTS="-Ethread"
39529 fi
39530 ;;
39531 esac
39532
39533 THREAD_OPTS="$THREAD_OPTS pthread none"
39534
39535 THREADS_OK=no
39536 for flag in $THREAD_OPTS; do
39537 case $flag in
39538 none)
39539 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39540 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39541 ;;
39542
39543 -*)
39544 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39545 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39546 THREADS_CFLAGS="$flag"
39547 ;;
39548
39549 *)
39550 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39551 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39552 THREADS_LINK="-l$flag"
39553 ;;
39554 esac
39555
39556 save_LIBS="$LIBS"
39557 save_CFLAGS="$CFLAGS"
39558 LIBS="$THREADS_LINK $LIBS"
39559 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39560
39561 cat >conftest.$ac_ext <<_ACEOF
39562 /* confdefs.h. */
39563 _ACEOF
39564 cat confdefs.h >>conftest.$ac_ext
39565 cat >>conftest.$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39567 #include <pthread.h>
39568 int
39569 main ()
39570 {
39571 pthread_create(0,0,0,0);
39572 ;
39573 return 0;
39574 }
39575 _ACEOF
39576 rm -f conftest.$ac_objext conftest$ac_exeext
39577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39578 (eval $ac_link) 2>conftest.er1
39579 ac_status=$?
39580 grep -v '^ *+' conftest.er1 >conftest.err
39581 rm -f conftest.er1
39582 cat conftest.err >&5
39583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39584 (exit $ac_status); } &&
39585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39587 (eval $ac_try) 2>&5
39588 ac_status=$?
39589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); }; } &&
39591 { ac_try='test -s conftest$ac_exeext'
39592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39593 (eval $ac_try) 2>&5
39594 ac_status=$?
39595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39596 (exit $ac_status); }; }; then
39597 THREADS_OK=yes
39598 else
39599 echo "$as_me: failed program was:" >&5
39600 sed 's/^/| /' conftest.$ac_ext >&5
39601
39602 fi
39603 rm -f conftest.err conftest.$ac_objext \
39604 conftest$ac_exeext conftest.$ac_ext
39605
39606 LIBS="$save_LIBS"
39607 CFLAGS="$save_CFLAGS"
39608
39609 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39610 echo "${ECHO_T}$THREADS_OK" >&6
39611 if test "x$THREADS_OK" = "xyes"; then
39612 break;
39613 fi
39614
39615 THREADS_LINK=""
39616 THREADS_CFLAGS=""
39617 done
39618
39619 if test "x$THREADS_OK" != "xyes"; then
39620 wxUSE_THREADS=no
39621 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39622 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39623 else
39624 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39625 LIBS="$THREADS_LINK $LIBS"
39626
39627 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39628 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39629 flag=no
39630 case "${host}" in
39631 *-aix*)
39632 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39633 flag="-D_THREAD_SAFE"
39634 ;;
39635 *-freebsd*)
39636 flag="-D_THREAD_SAFE"
39637 ;;
39638 *-hp-hpux* )
39639 flag="-D_REENTRANT"
39640 if test "x$GCC" != "xyes"; then
39641 flag="$flag -D_RWSTD_MULTI_THREAD"
39642 fi
39643 ;;
39644 *solaris* | alpha*-osf*)
39645 flag="-D_REENTRANT"
39646 ;;
39647 esac
39648 echo "$as_me:$LINENO: result: ${flag}" >&5
39649 echo "${ECHO_T}${flag}" >&6
39650 if test "x$flag" != xno; then
39651 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39652 fi
39653
39654 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39655 fi
39656 fi
39657
39658 if test "$wxUSE_THREADS" = "yes" ; then
39659
39660 for ac_func in thr_setconcurrency
39661 do
39662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39663 echo "$as_me:$LINENO: checking for $ac_func" >&5
39664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39665 if eval "test \"\${$as_ac_var+set}\" = set"; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 else
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39676 #define $ac_func innocuous_$ac_func
39677
39678 /* System header to define __stub macros and hopefully few prototypes,
39679 which can conflict with char $ac_func (); below.
39680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39681 <limits.h> exists even on freestanding compilers. */
39682
39683 #ifdef __STDC__
39684 # include <limits.h>
39685 #else
39686 # include <assert.h>
39687 #endif
39688
39689 #undef $ac_func
39690
39691 /* Override any gcc2 internal prototype to avoid an error. */
39692 #ifdef __cplusplus
39693 extern "C"
39694 {
39695 #endif
39696 /* We use char because int might match the return type of a gcc2
39697 builtin and then its argument prototype would still apply. */
39698 char $ac_func ();
39699 /* The GNU C library defines this for functions which it implements
39700 to always fail with ENOSYS. Some functions are actually named
39701 something starting with __ and the normal name is an alias. */
39702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39703 choke me
39704 #else
39705 char (*f) () = $ac_func;
39706 #endif
39707 #ifdef __cplusplus
39708 }
39709 #endif
39710
39711 int
39712 main ()
39713 {
39714 return f != $ac_func;
39715 ;
39716 return 0;
39717 }
39718 _ACEOF
39719 rm -f conftest.$ac_objext conftest$ac_exeext
39720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39721 (eval $ac_link) 2>conftest.er1
39722 ac_status=$?
39723 grep -v '^ *+' conftest.er1 >conftest.err
39724 rm -f conftest.er1
39725 cat conftest.err >&5
39726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39727 (exit $ac_status); } &&
39728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39731 ac_status=$?
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try='test -s conftest$ac_exeext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 eval "$as_ac_var=yes"
39741 else
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.$ac_ext >&5
39744
39745 eval "$as_ac_var=no"
39746 fi
39747 rm -f conftest.err conftest.$ac_objext \
39748 conftest$ac_exeext conftest.$ac_ext
39749 fi
39750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39752 if test `eval echo '${'$as_ac_var'}'` = yes; then
39753 cat >>confdefs.h <<_ACEOF
39754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39755 _ACEOF
39756
39757 fi
39758 done
39759
39760
39761 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39762 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39763 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39764 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 else
39766
39767 cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 #include <pthread.h>
39774 void ThreadCleanupFunc(void *p);
39775
39776 int
39777 main ()
39778 {
39779
39780 void *p;
39781 pthread_cleanup_push(ThreadCleanupFunc, p);
39782 pthread_cleanup_pop(0);
39783
39784 ;
39785 return 0;
39786 }
39787 _ACEOF
39788 rm -f conftest.$ac_objext
39789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39790 (eval $ac_compile) 2>conftest.er1
39791 ac_status=$?
39792 grep -v '^ *+' conftest.er1 >conftest.err
39793 rm -f conftest.er1
39794 cat conftest.err >&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); } &&
39797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39799 (eval $ac_try) 2>&5
39800 ac_status=$?
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); }; } &&
39803 { ac_try='test -s conftest.$ac_objext'
39804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 (eval $ac_try) 2>&5
39806 ac_status=$?
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); }; }; then
39809
39810 wx_cv_func_pthread_cleanup=yes
39811
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816
39817 wx_cv_func_pthread_cleanup=no
39818
39819
39820 fi
39821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39822
39823 fi
39824 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39825 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39826 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39827 cat >>confdefs.h <<\_ACEOF
39828 #define wxHAVE_PTHREAD_CLEANUP 1
39829 _ACEOF
39830
39831 fi
39832
39833
39834 for ac_header in sched.h
39835 do
39836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39838 echo "$as_me:$LINENO: checking for $ac_header" >&5
39839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 fi
39843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39845 else
39846 # Is the header compilable?
39847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39849 cat >conftest.$ac_ext <<_ACEOF
39850 /* confdefs.h. */
39851 _ACEOF
39852 cat confdefs.h >>conftest.$ac_ext
39853 cat >>conftest.$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 $ac_includes_default
39856 #include <$ac_header>
39857 _ACEOF
39858 rm -f conftest.$ac_objext
39859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39860 (eval $ac_compile) 2>conftest.er1
39861 ac_status=$?
39862 grep -v '^ *+' conftest.er1 >conftest.err
39863 rm -f conftest.er1
39864 cat conftest.err >&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); } &&
39867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39870 ac_status=$?
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; } &&
39873 { ac_try='test -s conftest.$ac_objext'
39874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39875 (eval $ac_try) 2>&5
39876 ac_status=$?
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); }; }; then
39879 ac_header_compiler=yes
39880 else
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39883
39884 ac_header_compiler=no
39885 fi
39886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39888 echo "${ECHO_T}$ac_header_compiler" >&6
39889
39890 # Is the header present?
39891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39893 cat >conftest.$ac_ext <<_ACEOF
39894 /* confdefs.h. */
39895 _ACEOF
39896 cat confdefs.h >>conftest.$ac_ext
39897 cat >>conftest.$ac_ext <<_ACEOF
39898 /* end confdefs.h. */
39899 #include <$ac_header>
39900 _ACEOF
39901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39903 ac_status=$?
39904 grep -v '^ *+' conftest.er1 >conftest.err
39905 rm -f conftest.er1
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } >/dev/null; then
39909 if test -s conftest.err; then
39910 ac_cpp_err=$ac_c_preproc_warn_flag
39911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39912 else
39913 ac_cpp_err=
39914 fi
39915 else
39916 ac_cpp_err=yes
39917 fi
39918 if test -z "$ac_cpp_err"; then
39919 ac_header_preproc=yes
39920 else
39921 echo "$as_me: failed program was:" >&5
39922 sed 's/^/| /' conftest.$ac_ext >&5
39923
39924 ac_header_preproc=no
39925 fi
39926 rm -f conftest.err conftest.$ac_ext
39927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39928 echo "${ECHO_T}$ac_header_preproc" >&6
39929
39930 # So? What about this header?
39931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39932 yes:no: )
39933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39937 ac_header_preproc=yes
39938 ;;
39939 no:yes:* )
39940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39952 (
39953 cat <<\_ASBOX
39954 ## ----------------------------------------- ##
39955 ## Report this to wx-dev@lists.wxwidgets.org ##
39956 ## ----------------------------------------- ##
39957 _ASBOX
39958 ) |
39959 sed "s/^/$as_me: WARNING: /" >&2
39960 ;;
39961 esac
39962 echo "$as_me:$LINENO: checking for $ac_header" >&5
39963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39965 echo $ECHO_N "(cached) $ECHO_C" >&6
39966 else
39967 eval "$as_ac_Header=\$ac_header_preproc"
39968 fi
39969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39971
39972 fi
39973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39974 cat >>confdefs.h <<_ACEOF
39975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39976 _ACEOF
39977
39978 fi
39979
39980 done
39981
39982 if test "$ac_cv_header_sched_h" = "yes"; then
39983 echo "$as_me:$LINENO: checking for sched_yield" >&5
39984 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39985 if test "${ac_cv_func_sched_yield+set}" = set; then
39986 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 else
39988 cat >conftest.$ac_ext <<_ACEOF
39989 /* confdefs.h. */
39990 _ACEOF
39991 cat confdefs.h >>conftest.$ac_ext
39992 cat >>conftest.$ac_ext <<_ACEOF
39993 /* end confdefs.h. */
39994 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39996 #define sched_yield innocuous_sched_yield
39997
39998 /* System header to define __stub macros and hopefully few prototypes,
39999 which can conflict with char sched_yield (); below.
40000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40001 <limits.h> exists even on freestanding compilers. */
40002
40003 #ifdef __STDC__
40004 # include <limits.h>
40005 #else
40006 # include <assert.h>
40007 #endif
40008
40009 #undef sched_yield
40010
40011 /* Override any gcc2 internal prototype to avoid an error. */
40012 #ifdef __cplusplus
40013 extern "C"
40014 {
40015 #endif
40016 /* We use char because int might match the return type of a gcc2
40017 builtin and then its argument prototype would still apply. */
40018 char sched_yield ();
40019 /* The GNU C library defines this for functions which it implements
40020 to always fail with ENOSYS. Some functions are actually named
40021 something starting with __ and the normal name is an alias. */
40022 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40023 choke me
40024 #else
40025 char (*f) () = sched_yield;
40026 #endif
40027 #ifdef __cplusplus
40028 }
40029 #endif
40030
40031 int
40032 main ()
40033 {
40034 return f != sched_yield;
40035 ;
40036 return 0;
40037 }
40038 _ACEOF
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40041 (eval $ac_link) 2>conftest.er1
40042 ac_status=$?
40043 grep -v '^ *+' conftest.er1 >conftest.err
40044 rm -f conftest.er1
40045 cat conftest.err >&5
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } &&
40048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40051 ac_status=$?
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try='test -s conftest$ac_exeext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40057 ac_status=$?
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 ac_cv_func_sched_yield=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 ac_cv_func_sched_yield=no
40066 fi
40067 rm -f conftest.err conftest.$ac_objext \
40068 conftest$ac_exeext conftest.$ac_ext
40069 fi
40070 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40071 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40072 if test $ac_cv_func_sched_yield = yes; then
40073 cat >>confdefs.h <<\_ACEOF
40074 #define HAVE_SCHED_YIELD 1
40075 _ACEOF
40076
40077 else
40078
40079 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40080 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40081 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 else
40084 ac_check_lib_save_LIBS=$LIBS
40085 LIBS="-lposix4 $LIBS"
40086 cat >conftest.$ac_ext <<_ACEOF
40087 /* confdefs.h. */
40088 _ACEOF
40089 cat confdefs.h >>conftest.$ac_ext
40090 cat >>conftest.$ac_ext <<_ACEOF
40091 /* end confdefs.h. */
40092
40093 /* Override any gcc2 internal prototype to avoid an error. */
40094 #ifdef __cplusplus
40095 extern "C"
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 sched_yield ();
40100 int
40101 main ()
40102 {
40103 sched_yield ();
40104 ;
40105 return 0;
40106 }
40107 _ACEOF
40108 rm -f conftest.$ac_objext conftest$ac_exeext
40109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40110 (eval $ac_link) 2>conftest.er1
40111 ac_status=$?
40112 grep -v '^ *+' conftest.er1 >conftest.err
40113 rm -f conftest.er1
40114 cat conftest.err >&5
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); } &&
40117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; } &&
40123 { ac_try='test -s conftest$ac_exeext'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; }; then
40129 ac_cv_lib_posix4_sched_yield=yes
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 ac_cv_lib_posix4_sched_yield=no
40135 fi
40136 rm -f conftest.err conftest.$ac_objext \
40137 conftest$ac_exeext conftest.$ac_ext
40138 LIBS=$ac_check_lib_save_LIBS
40139 fi
40140 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40141 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40142 if test $ac_cv_lib_posix4_sched_yield = yes; then
40143 cat >>confdefs.h <<\_ACEOF
40144 #define HAVE_SCHED_YIELD 1
40145 _ACEOF
40146 POSIX4_LINK=" -lposix4"
40147 else
40148 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40149 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40150
40151 fi
40152
40153
40154
40155 fi
40156
40157 fi
40158
40159 HAVE_PRIOR_FUNCS=0
40160 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40161 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40162 if test "${ac_cv_func_pthread_attr_getschedpolicy+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 pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40174
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char pthread_attr_getschedpolicy (); 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 pthread_attr_getschedpolicy
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 pthread_attr_getschedpolicy ();
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_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40200 choke me
40201 #else
40202 char (*f) () = pthread_attr_getschedpolicy;
40203 #endif
40204 #ifdef __cplusplus
40205 }
40206 #endif
40207
40208 int
40209 main ()
40210 {
40211 return f != pthread_attr_getschedpolicy;
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_c_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_pthread_attr_getschedpolicy=yes
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242 ac_cv_func_pthread_attr_getschedpolicy=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_pthread_attr_getschedpolicy" >&5
40248 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40249 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40250 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40251 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40252 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40253 echo $ECHO_N "(cached) $ECHO_C" >&6
40254 else
40255 cat >conftest.$ac_ext <<_ACEOF
40256 /* confdefs.h. */
40257 _ACEOF
40258 cat confdefs.h >>conftest.$ac_ext
40259 cat >>conftest.$ac_ext <<_ACEOF
40260 /* end confdefs.h. */
40261 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40263 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40264
40265 /* System header to define __stub macros and hopefully few prototypes,
40266 which can conflict with char pthread_attr_setschedparam (); below.
40267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40268 <limits.h> exists even on freestanding compilers. */
40269
40270 #ifdef __STDC__
40271 # include <limits.h>
40272 #else
40273 # include <assert.h>
40274 #endif
40275
40276 #undef pthread_attr_setschedparam
40277
40278 /* Override any gcc2 internal prototype to avoid an error. */
40279 #ifdef __cplusplus
40280 extern "C"
40281 {
40282 #endif
40283 /* We use char because int might match the return type of a gcc2
40284 builtin and then its argument prototype would still apply. */
40285 char pthread_attr_setschedparam ();
40286 /* The GNU C library defines this for functions which it implements
40287 to always fail with ENOSYS. Some functions are actually named
40288 something starting with __ and the normal name is an alias. */
40289 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40290 choke me
40291 #else
40292 char (*f) () = pthread_attr_setschedparam;
40293 #endif
40294 #ifdef __cplusplus
40295 }
40296 #endif
40297
40298 int
40299 main ()
40300 {
40301 return f != pthread_attr_setschedparam;
40302 ;
40303 return 0;
40304 }
40305 _ACEOF
40306 rm -f conftest.$ac_objext conftest$ac_exeext
40307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40308 (eval $ac_link) 2>conftest.er1
40309 ac_status=$?
40310 grep -v '^ *+' conftest.er1 >conftest.err
40311 rm -f conftest.er1
40312 cat conftest.err >&5
40313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40314 (exit $ac_status); } &&
40315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40317 (eval $ac_try) 2>&5
40318 ac_status=$?
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); }; } &&
40321 { ac_try='test -s conftest$ac_exeext'
40322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 (eval $ac_try) 2>&5
40324 ac_status=$?
40325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40326 (exit $ac_status); }; }; then
40327 ac_cv_func_pthread_attr_setschedparam=yes
40328 else
40329 echo "$as_me: failed program was:" >&5
40330 sed 's/^/| /' conftest.$ac_ext >&5
40331
40332 ac_cv_func_pthread_attr_setschedparam=no
40333 fi
40334 rm -f conftest.err conftest.$ac_objext \
40335 conftest$ac_exeext conftest.$ac_ext
40336 fi
40337 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40338 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40339 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40340 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40341 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40342 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40343 echo $ECHO_N "(cached) $ECHO_C" >&6
40344 else
40345 cat >conftest.$ac_ext <<_ACEOF
40346 /* confdefs.h. */
40347 _ACEOF
40348 cat confdefs.h >>conftest.$ac_ext
40349 cat >>conftest.$ac_ext <<_ACEOF
40350 /* end confdefs.h. */
40351 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40353 #define sched_get_priority_max innocuous_sched_get_priority_max
40354
40355 /* System header to define __stub macros and hopefully few prototypes,
40356 which can conflict with char sched_get_priority_max (); below.
40357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40358 <limits.h> exists even on freestanding compilers. */
40359
40360 #ifdef __STDC__
40361 # include <limits.h>
40362 #else
40363 # include <assert.h>
40364 #endif
40365
40366 #undef sched_get_priority_max
40367
40368 /* Override any gcc2 internal prototype to avoid an error. */
40369 #ifdef __cplusplus
40370 extern "C"
40371 {
40372 #endif
40373 /* We use char because int might match the return type of a gcc2
40374 builtin and then its argument prototype would still apply. */
40375 char sched_get_priority_max ();
40376 /* The GNU C library defines this for functions which it implements
40377 to always fail with ENOSYS. Some functions are actually named
40378 something starting with __ and the normal name is an alias. */
40379 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40380 choke me
40381 #else
40382 char (*f) () = sched_get_priority_max;
40383 #endif
40384 #ifdef __cplusplus
40385 }
40386 #endif
40387
40388 int
40389 main ()
40390 {
40391 return f != sched_get_priority_max;
40392 ;
40393 return 0;
40394 }
40395 _ACEOF
40396 rm -f conftest.$ac_objext conftest$ac_exeext
40397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40398 (eval $ac_link) 2>conftest.er1
40399 ac_status=$?
40400 grep -v '^ *+' conftest.er1 >conftest.err
40401 rm -f conftest.er1
40402 cat conftest.err >&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); } &&
40405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; } &&
40411 { ac_try='test -s conftest$ac_exeext'
40412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40413 (eval $ac_try) 2>&5
40414 ac_status=$?
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); }; }; then
40417 ac_cv_func_sched_get_priority_max=yes
40418 else
40419 echo "$as_me: failed program was:" >&5
40420 sed 's/^/| /' conftest.$ac_ext >&5
40421
40422 ac_cv_func_sched_get_priority_max=no
40423 fi
40424 rm -f conftest.err conftest.$ac_objext \
40425 conftest$ac_exeext conftest.$ac_ext
40426 fi
40427 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40428 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40429 if test $ac_cv_func_sched_get_priority_max = yes; then
40430 HAVE_PRIOR_FUNCS=1
40431 else
40432 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40433 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40434 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 else
40437 ac_check_lib_save_LIBS=$LIBS
40438 LIBS="-lposix4 $LIBS"
40439 cat >conftest.$ac_ext <<_ACEOF
40440 /* confdefs.h. */
40441 _ACEOF
40442 cat confdefs.h >>conftest.$ac_ext
40443 cat >>conftest.$ac_ext <<_ACEOF
40444 /* end confdefs.h. */
40445
40446 /* Override any gcc2 internal prototype to avoid an error. */
40447 #ifdef __cplusplus
40448 extern "C"
40449 #endif
40450 /* We use char because int might match the return type of a gcc2
40451 builtin and then its argument prototype would still apply. */
40452 char sched_get_priority_max ();
40453 int
40454 main ()
40455 {
40456 sched_get_priority_max ();
40457 ;
40458 return 0;
40459 }
40460 _ACEOF
40461 rm -f conftest.$ac_objext conftest$ac_exeext
40462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40463 (eval $ac_link) 2>conftest.er1
40464 ac_status=$?
40465 grep -v '^ *+' conftest.er1 >conftest.err
40466 rm -f conftest.er1
40467 cat conftest.err >&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); } &&
40470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40472 (eval $ac_try) 2>&5
40473 ac_status=$?
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); }; } &&
40476 { ac_try='test -s conftest$ac_exeext'
40477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40478 (eval $ac_try) 2>&5
40479 ac_status=$?
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); }; }; then
40482 ac_cv_lib_posix4_sched_get_priority_max=yes
40483 else
40484 echo "$as_me: failed program was:" >&5
40485 sed 's/^/| /' conftest.$ac_ext >&5
40486
40487 ac_cv_lib_posix4_sched_get_priority_max=no
40488 fi
40489 rm -f conftest.err conftest.$ac_objext \
40490 conftest$ac_exeext conftest.$ac_ext
40491 LIBS=$ac_check_lib_save_LIBS
40492 fi
40493 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40494 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40495 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40496
40497 HAVE_PRIOR_FUNCS=1
40498 POSIX4_LINK=" -lposix4"
40499
40500 fi
40501
40502
40503 fi
40504
40505
40506 fi
40507
40508
40509 fi
40510
40511
40512 if test "$HAVE_PRIOR_FUNCS" = 1; then
40513 cat >>confdefs.h <<\_ACEOF
40514 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40515 _ACEOF
40516
40517 else
40518 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40519 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40520 fi
40521
40522 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40523 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40524 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40525 echo $ECHO_N "(cached) $ECHO_C" >&6
40526 else
40527 cat >conftest.$ac_ext <<_ACEOF
40528 /* confdefs.h. */
40529 _ACEOF
40530 cat confdefs.h >>conftest.$ac_ext
40531 cat >>conftest.$ac_ext <<_ACEOF
40532 /* end confdefs.h. */
40533 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40535 #define pthread_cancel innocuous_pthread_cancel
40536
40537 /* System header to define __stub macros and hopefully few prototypes,
40538 which can conflict with char pthread_cancel (); below.
40539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40540 <limits.h> exists even on freestanding compilers. */
40541
40542 #ifdef __STDC__
40543 # include <limits.h>
40544 #else
40545 # include <assert.h>
40546 #endif
40547
40548 #undef pthread_cancel
40549
40550 /* Override any gcc2 internal prototype to avoid an error. */
40551 #ifdef __cplusplus
40552 extern "C"
40553 {
40554 #endif
40555 /* We use char because int might match the return type of a gcc2
40556 builtin and then its argument prototype would still apply. */
40557 char pthread_cancel ();
40558 /* The GNU C library defines this for functions which it implements
40559 to always fail with ENOSYS. Some functions are actually named
40560 something starting with __ and the normal name is an alias. */
40561 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40562 choke me
40563 #else
40564 char (*f) () = pthread_cancel;
40565 #endif
40566 #ifdef __cplusplus
40567 }
40568 #endif
40569
40570 int
40571 main ()
40572 {
40573 return f != pthread_cancel;
40574 ;
40575 return 0;
40576 }
40577 _ACEOF
40578 rm -f conftest.$ac_objext conftest$ac_exeext
40579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40580 (eval $ac_link) 2>conftest.er1
40581 ac_status=$?
40582 grep -v '^ *+' conftest.er1 >conftest.err
40583 rm -f conftest.er1
40584 cat conftest.err >&5
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); } &&
40587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40589 (eval $ac_try) 2>&5
40590 ac_status=$?
40591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40592 (exit $ac_status); }; } &&
40593 { ac_try='test -s conftest$ac_exeext'
40594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595 (eval $ac_try) 2>&5
40596 ac_status=$?
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); }; }; then
40599 ac_cv_func_pthread_cancel=yes
40600 else
40601 echo "$as_me: failed program was:" >&5
40602 sed 's/^/| /' conftest.$ac_ext >&5
40603
40604 ac_cv_func_pthread_cancel=no
40605 fi
40606 rm -f conftest.err conftest.$ac_objext \
40607 conftest$ac_exeext conftest.$ac_ext
40608 fi
40609 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40610 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40611 if test $ac_cv_func_pthread_cancel = yes; then
40612 cat >>confdefs.h <<\_ACEOF
40613 #define HAVE_PTHREAD_CANCEL 1
40614 _ACEOF
40615
40616 else
40617 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40618 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40619 fi
40620
40621
40622 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40623 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40624 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40625 echo $ECHO_N "(cached) $ECHO_C" >&6
40626 else
40627 cat >conftest.$ac_ext <<_ACEOF
40628 /* confdefs.h. */
40629 _ACEOF
40630 cat confdefs.h >>conftest.$ac_ext
40631 cat >>conftest.$ac_ext <<_ACEOF
40632 /* end confdefs.h. */
40633 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40635 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40636
40637 /* System header to define __stub macros and hopefully few prototypes,
40638 which can conflict with char pthread_attr_setstacksize (); below.
40639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40640 <limits.h> exists even on freestanding compilers. */
40641
40642 #ifdef __STDC__
40643 # include <limits.h>
40644 #else
40645 # include <assert.h>
40646 #endif
40647
40648 #undef pthread_attr_setstacksize
40649
40650 /* Override any gcc2 internal prototype to avoid an error. */
40651 #ifdef __cplusplus
40652 extern "C"
40653 {
40654 #endif
40655 /* We use char because int might match the return type of a gcc2
40656 builtin and then its argument prototype would still apply. */
40657 char pthread_attr_setstacksize ();
40658 /* The GNU C library defines this for functions which it implements
40659 to always fail with ENOSYS. Some functions are actually named
40660 something starting with __ and the normal name is an alias. */
40661 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40662 choke me
40663 #else
40664 char (*f) () = pthread_attr_setstacksize;
40665 #endif
40666 #ifdef __cplusplus
40667 }
40668 #endif
40669
40670 int
40671 main ()
40672 {
40673 return f != pthread_attr_setstacksize;
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 rm -f conftest.$ac_objext conftest$ac_exeext
40679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40680 (eval $ac_link) 2>conftest.er1
40681 ac_status=$?
40682 grep -v '^ *+' conftest.er1 >conftest.err
40683 rm -f conftest.er1
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } &&
40687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; } &&
40693 { ac_try='test -s conftest$ac_exeext'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40696 ac_status=$?
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; }; then
40699 ac_cv_func_pthread_attr_setstacksize=yes
40700 else
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.$ac_ext >&5
40703
40704 ac_cv_func_pthread_attr_setstacksize=no
40705 fi
40706 rm -f conftest.err conftest.$ac_objext \
40707 conftest$ac_exeext conftest.$ac_ext
40708 fi
40709 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40710 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40711 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40714 _ACEOF
40715
40716 fi
40717
40718
40719
40720 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40721 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40722 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40723 echo $ECHO_N "(cached) $ECHO_C" >&6
40724 else
40725
40726 cat >conftest.$ac_ext <<_ACEOF
40727 /* confdefs.h. */
40728 _ACEOF
40729 cat confdefs.h >>conftest.$ac_ext
40730 cat >>conftest.$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 #include <pthread.h>
40733 int
40734 main ()
40735 {
40736
40737 pthread_mutexattr_t attr;
40738 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40739
40740 ;
40741 return 0;
40742 }
40743 _ACEOF
40744 rm -f conftest.$ac_objext
40745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40746 (eval $ac_compile) 2>conftest.er1
40747 ac_status=$?
40748 grep -v '^ *+' conftest.er1 >conftest.err
40749 rm -f conftest.er1
40750 cat conftest.err >&5
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); } &&
40753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; } &&
40759 { ac_try='test -s conftest.$ac_objext'
40760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761 (eval $ac_try) 2>&5
40762 ac_status=$?
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); }; }; then
40765 wx_cv_type_pthread_mutexattr_t=yes
40766 else
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40769
40770 wx_cv_type_pthread_mutexattr_t=no
40771
40772 fi
40773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40774
40775 fi
40776 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40777 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40778
40779 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40780 cat >>confdefs.h <<\_ACEOF
40781 #define HAVE_PTHREAD_MUTEXATTR_T 1
40782 _ACEOF
40783
40784
40785 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40786 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40787 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40788 echo $ECHO_N "(cached) $ECHO_C" >&6
40789 else
40790
40791 cat >conftest.$ac_ext <<_ACEOF
40792 /* confdefs.h. */
40793 _ACEOF
40794 cat confdefs.h >>conftest.$ac_ext
40795 cat >>conftest.$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40797 #include <pthread.h>
40798 int
40799 main ()
40800 {
40801
40802 pthread_mutexattr_t attr;
40803 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40804
40805 ;
40806 return 0;
40807 }
40808 _ACEOF
40809 rm -f conftest.$ac_objext
40810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40811 (eval $ac_compile) 2>conftest.er1
40812 ac_status=$?
40813 grep -v '^ *+' conftest.er1 >conftest.err
40814 rm -f conftest.er1
40815 cat conftest.err >&5
40816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817 (exit $ac_status); } &&
40818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40820 (eval $ac_try) 2>&5
40821 ac_status=$?
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); }; } &&
40824 { ac_try='test -s conftest.$ac_objext'
40825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40826 (eval $ac_try) 2>&5
40827 ac_status=$?
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); }; }; then
40830 wx_cv_func_pthread_mutexattr_settype_decl=yes
40831 else
40832 echo "$as_me: failed program was:" >&5
40833 sed 's/^/| /' conftest.$ac_ext >&5
40834
40835 wx_cv_func_pthread_mutexattr_settype_decl=no
40836
40837 fi
40838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40839
40840 fi
40841 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40842 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40843 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40844 cat >>confdefs.h <<\_ACEOF
40845 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40846 _ACEOF
40847
40848 fi
40849 else
40850 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40851 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40852 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40853 echo $ECHO_N "(cached) $ECHO_C" >&6
40854 else
40855
40856 cat >conftest.$ac_ext <<_ACEOF
40857 /* confdefs.h. */
40858 _ACEOF
40859 cat confdefs.h >>conftest.$ac_ext
40860 cat >>conftest.$ac_ext <<_ACEOF
40861 /* end confdefs.h. */
40862 #include <pthread.h>
40863 int
40864 main ()
40865 {
40866
40867 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40868
40869 ;
40870 return 0;
40871 }
40872 _ACEOF
40873 rm -f conftest.$ac_objext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40875 (eval $ac_compile) 2>conftest.er1
40876 ac_status=$?
40877 grep -v '^ *+' conftest.er1 >conftest.err
40878 rm -f conftest.er1
40879 cat conftest.err >&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); } &&
40882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40885 ac_status=$?
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; } &&
40888 { ac_try='test -s conftest.$ac_objext'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40891 ac_status=$?
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; }; then
40894
40895 wx_cv_type_pthread_rec_mutex_init=yes
40896
40897 else
40898 echo "$as_me: failed program was:" >&5
40899 sed 's/^/| /' conftest.$ac_ext >&5
40900
40901
40902 wx_cv_type_pthread_rec_mutex_init=no
40903
40904
40905 fi
40906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40907
40908 fi
40909 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40910 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40911 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40912 cat >>confdefs.h <<\_ACEOF
40913 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40914 _ACEOF
40915
40916 else
40917 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40918 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40919 fi
40920 fi
40921 fi
40922
40923 else
40924 if test "$wxUSE_THREADS" = "yes" ; then
40925 case "${host}" in
40926 *-*-mingw32* )
40927 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40928 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40929 if test "${wx_cv_cflags_mthread+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40931 else
40932
40933 CFLAGS_OLD="$CFLAGS"
40934 CFLAGS="-mthreads $CFLAGS"
40935 cat >conftest.$ac_ext <<_ACEOF
40936 /* confdefs.h. */
40937 _ACEOF
40938 cat confdefs.h >>conftest.$ac_ext
40939 cat >>conftest.$ac_ext <<_ACEOF
40940 /* end confdefs.h. */
40941
40942 int
40943 main ()
40944 {
40945
40946 ;
40947 return 0;
40948 }
40949 _ACEOF
40950 rm -f conftest.$ac_objext
40951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40952 (eval $ac_compile) 2>conftest.er1
40953 ac_status=$?
40954 grep -v '^ *+' conftest.er1 >conftest.err
40955 rm -f conftest.er1
40956 cat conftest.err >&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); } &&
40959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961 (eval $ac_try) 2>&5
40962 ac_status=$?
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); }; } &&
40965 { ac_try='test -s conftest.$ac_objext'
40966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40967 (eval $ac_try) 2>&5
40968 ac_status=$?
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); }; }; then
40971 wx_cv_cflags_mthread=yes
40972 else
40973 echo "$as_me: failed program was:" >&5
40974 sed 's/^/| /' conftest.$ac_ext >&5
40975
40976 wx_cv_cflags_mthread=no
40977
40978 fi
40979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40980
40981
40982 fi
40983 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40984 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40985
40986 if test "$wx_cv_cflags_mthread" = "yes"; then
40987 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40988 LDFLAGS="$LDFLAGS -mthreads"
40989 else
40990 CFLAGS="$CFLAGS_OLD"
40991 fi
40992 ;;
40993 *-pc-os2*emx )
40994 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40995 LDFLAGS="$LDFLAGS -Zmt"
40996 ;;
40997 esac
40998 fi
40999 fi
41000
41001 echo "$as_me:$LINENO: checking for localtime_r" >&5
41002 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41003 if test "${ac_cv_func_localtime_r+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41005 else
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41014 #define localtime_r innocuous_localtime_r
41015
41016 /* System header to define __stub macros and hopefully few prototypes,
41017 which can conflict with char localtime_r (); below.
41018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41019 <limits.h> exists even on freestanding compilers. */
41020
41021 #ifdef __STDC__
41022 # include <limits.h>
41023 #else
41024 # include <assert.h>
41025 #endif
41026
41027 #undef localtime_r
41028
41029 /* Override any gcc2 internal prototype to avoid an error. */
41030 #ifdef __cplusplus
41031 extern "C"
41032 {
41033 #endif
41034 /* We use char because int might match the return type of a gcc2
41035 builtin and then its argument prototype would still apply. */
41036 char localtime_r ();
41037 /* The GNU C library defines this for functions which it implements
41038 to always fail with ENOSYS. Some functions are actually named
41039 something starting with __ and the normal name is an alias. */
41040 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41041 choke me
41042 #else
41043 char (*f) () = localtime_r;
41044 #endif
41045 #ifdef __cplusplus
41046 }
41047 #endif
41048
41049 int
41050 main ()
41051 {
41052 return f != localtime_r;
41053 ;
41054 return 0;
41055 }
41056 _ACEOF
41057 rm -f conftest.$ac_objext conftest$ac_exeext
41058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41059 (eval $ac_link) 2>conftest.er1
41060 ac_status=$?
41061 grep -v '^ *+' conftest.er1 >conftest.err
41062 rm -f conftest.er1
41063 cat conftest.err >&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); } &&
41066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41068 (eval $ac_try) 2>&5
41069 ac_status=$?
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); }; } &&
41072 { ac_try='test -s conftest$ac_exeext'
41073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41074 (eval $ac_try) 2>&5
41075 ac_status=$?
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); }; }; then
41078 ac_cv_func_localtime_r=yes
41079 else
41080 echo "$as_me: failed program was:" >&5
41081 sed 's/^/| /' conftest.$ac_ext >&5
41082
41083 ac_cv_func_localtime_r=no
41084 fi
41085 rm -f conftest.err conftest.$ac_objext \
41086 conftest$ac_exeext conftest.$ac_ext
41087 fi
41088 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41089 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41090 if test $ac_cv_func_localtime_r = yes; then
41091 cat >>confdefs.h <<\_ACEOF
41092 #define HAVE_LOCALTIME_R 1
41093 _ACEOF
41094
41095 fi
41096
41097 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41098 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41099 if test "${ac_cv_func_gmtime_r+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102 cat >conftest.$ac_ext <<_ACEOF
41103 /* confdefs.h. */
41104 _ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41108 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41110 #define gmtime_r innocuous_gmtime_r
41111
41112 /* System header to define __stub macros and hopefully few prototypes,
41113 which can conflict with char gmtime_r (); below.
41114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41115 <limits.h> exists even on freestanding compilers. */
41116
41117 #ifdef __STDC__
41118 # include <limits.h>
41119 #else
41120 # include <assert.h>
41121 #endif
41122
41123 #undef gmtime_r
41124
41125 /* Override any gcc2 internal prototype to avoid an error. */
41126 #ifdef __cplusplus
41127 extern "C"
41128 {
41129 #endif
41130 /* We use char because int might match the return type of a gcc2
41131 builtin and then its argument prototype would still apply. */
41132 char gmtime_r ();
41133 /* The GNU C library defines this for functions which it implements
41134 to always fail with ENOSYS. Some functions are actually named
41135 something starting with __ and the normal name is an alias. */
41136 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41137 choke me
41138 #else
41139 char (*f) () = gmtime_r;
41140 #endif
41141 #ifdef __cplusplus
41142 }
41143 #endif
41144
41145 int
41146 main ()
41147 {
41148 return f != gmtime_r;
41149 ;
41150 return 0;
41151 }
41152 _ACEOF
41153 rm -f conftest.$ac_objext conftest$ac_exeext
41154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41155 (eval $ac_link) 2>conftest.er1
41156 ac_status=$?
41157 grep -v '^ *+' conftest.er1 >conftest.err
41158 rm -f conftest.er1
41159 cat conftest.err >&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); } &&
41162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41164 (eval $ac_try) 2>&5
41165 ac_status=$?
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); }; } &&
41168 { ac_try='test -s conftest$ac_exeext'
41169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41170 (eval $ac_try) 2>&5
41171 ac_status=$?
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); }; }; then
41174 ac_cv_func_gmtime_r=yes
41175 else
41176 echo "$as_me: failed program was:" >&5
41177 sed 's/^/| /' conftest.$ac_ext >&5
41178
41179 ac_cv_func_gmtime_r=no
41180 fi
41181 rm -f conftest.err conftest.$ac_objext \
41182 conftest$ac_exeext conftest.$ac_ext
41183 fi
41184 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41185 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41186 if test $ac_cv_func_gmtime_r = yes; then
41187 cat >>confdefs.h <<\_ACEOF
41188 #define HAVE_GMTIME_R 1
41189 _ACEOF
41190
41191 fi
41192
41193 echo "$as_me:$LINENO: checking for readdir_r" >&5
41194 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41195 if test "${ac_cv_func_readdir_r+set}" = set; then
41196 echo $ECHO_N "(cached) $ECHO_C" >&6
41197 else
41198 cat >conftest.$ac_ext <<_ACEOF
41199 /* confdefs.h. */
41200 _ACEOF
41201 cat confdefs.h >>conftest.$ac_ext
41202 cat >>conftest.$ac_ext <<_ACEOF
41203 /* end confdefs.h. */
41204 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41206 #define readdir_r innocuous_readdir_r
41207
41208 /* System header to define __stub macros and hopefully few prototypes,
41209 which can conflict with char readdir_r (); below.
41210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41211 <limits.h> exists even on freestanding compilers. */
41212
41213 #ifdef __STDC__
41214 # include <limits.h>
41215 #else
41216 # include <assert.h>
41217 #endif
41218
41219 #undef readdir_r
41220
41221 /* Override any gcc2 internal prototype to avoid an error. */
41222 #ifdef __cplusplus
41223 extern "C"
41224 {
41225 #endif
41226 /* We use char because int might match the return type of a gcc2
41227 builtin and then its argument prototype would still apply. */
41228 char readdir_r ();
41229 /* The GNU C library defines this for functions which it implements
41230 to always fail with ENOSYS. Some functions are actually named
41231 something starting with __ and the normal name is an alias. */
41232 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41233 choke me
41234 #else
41235 char (*f) () = readdir_r;
41236 #endif
41237 #ifdef __cplusplus
41238 }
41239 #endif
41240
41241 int
41242 main ()
41243 {
41244 return f != readdir_r;
41245 ;
41246 return 0;
41247 }
41248 _ACEOF
41249 rm -f conftest.$ac_objext conftest$ac_exeext
41250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41251 (eval $ac_link) 2>conftest.er1
41252 ac_status=$?
41253 grep -v '^ *+' conftest.er1 >conftest.err
41254 rm -f conftest.er1
41255 cat conftest.err >&5
41256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41257 (exit $ac_status); } &&
41258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41260 (eval $ac_try) 2>&5
41261 ac_status=$?
41262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41263 (exit $ac_status); }; } &&
41264 { ac_try='test -s conftest$ac_exeext'
41265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41266 (eval $ac_try) 2>&5
41267 ac_status=$?
41268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269 (exit $ac_status); }; }; then
41270 ac_cv_func_readdir_r=yes
41271 else
41272 echo "$as_me: failed program was:" >&5
41273 sed 's/^/| /' conftest.$ac_ext >&5
41274
41275 ac_cv_func_readdir_r=no
41276 fi
41277 rm -f conftest.err conftest.$ac_objext \
41278 conftest$ac_exeext conftest.$ac_ext
41279 fi
41280 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41281 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41282 if test $ac_cv_func_readdir_r = yes; then
41283 cat >>confdefs.h <<\_ACEOF
41284 #define HAVE_READDIR_R 1
41285 _ACEOF
41286
41287 fi
41288
41289
41290
41291
41292 ac_ext=c
41293 ac_cpp='$CPP $CPPFLAGS'
41294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41297
41298 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41299 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41300
41301 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41302 echo $ECHO_N "(cached) $ECHO_C" >&6
41303 else
41304
41305
41306 ################################################################
41307
41308 ac_cv_func_which_gethostbyname_r=unknown
41309
41310 #
41311 # ONE ARGUMENT (sanity check)
41312 #
41313
41314 # This should fail, as there is no variant of gethostbyname_r() that takes
41315 # a single argument. If it actually compiles, then we can assume that
41316 # netdb.h is not declaring the function, and the compiler is thereby
41317 # assuming an implicit prototype. In which case, we're out of luck.
41318 #
41319 cat >conftest.$ac_ext <<_ACEOF
41320 /* confdefs.h. */
41321 _ACEOF
41322 cat confdefs.h >>conftest.$ac_ext
41323 cat >>conftest.$ac_ext <<_ACEOF
41324 /* end confdefs.h. */
41325 #include <netdb.h>
41326 int
41327 main ()
41328 {
41329
41330 char *name = "www.gnu.org";
41331 (void)gethostbyname_r(name) /* ; */
41332
41333 ;
41334 return 0;
41335 }
41336 _ACEOF
41337 rm -f conftest.$ac_objext
41338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41339 (eval $ac_compile) 2>conftest.er1
41340 ac_status=$?
41341 grep -v '^ *+' conftest.er1 >conftest.err
41342 rm -f conftest.er1
41343 cat conftest.err >&5
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); } &&
41346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41348 (eval $ac_try) 2>&5
41349 ac_status=$?
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; } &&
41352 { ac_try='test -s conftest.$ac_objext'
41353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41354 (eval $ac_try) 2>&5
41355 ac_status=$?
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); }; }; then
41358 ac_cv_func_which_gethostbyname_r=no
41359 else
41360 echo "$as_me: failed program was:" >&5
41361 sed 's/^/| /' conftest.$ac_ext >&5
41362
41363 fi
41364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41365
41366 #
41367 # SIX ARGUMENTS
41368 # (e.g. Linux)
41369 #
41370
41371 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41372
41373 cat >conftest.$ac_ext <<_ACEOF
41374 /* confdefs.h. */
41375 _ACEOF
41376 cat confdefs.h >>conftest.$ac_ext
41377 cat >>conftest.$ac_ext <<_ACEOF
41378 /* end confdefs.h. */
41379 #include <netdb.h>
41380 int
41381 main ()
41382 {
41383
41384 char *name = "www.gnu.org";
41385 struct hostent ret, *retp;
41386 char buf[1024];
41387 int buflen = 1024;
41388 int my_h_errno;
41389 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41390
41391 ;
41392 return 0;
41393 }
41394 _ACEOF
41395 rm -f conftest.$ac_objext
41396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41397 (eval $ac_compile) 2>conftest.er1
41398 ac_status=$?
41399 grep -v '^ *+' conftest.er1 >conftest.err
41400 rm -f conftest.er1
41401 cat conftest.err >&5
41402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41403 (exit $ac_status); } &&
41404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41406 (eval $ac_try) 2>&5
41407 ac_status=$?
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); }; } &&
41410 { ac_try='test -s conftest.$ac_objext'
41411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41412 (eval $ac_try) 2>&5
41413 ac_status=$?
41414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415 (exit $ac_status); }; }; then
41416 ac_cv_func_which_gethostbyname_r=six
41417 else
41418 echo "$as_me: failed program was:" >&5
41419 sed 's/^/| /' conftest.$ac_ext >&5
41420
41421 fi
41422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41423
41424 fi
41425
41426 #
41427 # FIVE ARGUMENTS
41428 # (e.g. Solaris)
41429 #
41430
41431 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41432
41433 cat >conftest.$ac_ext <<_ACEOF
41434 /* confdefs.h. */
41435 _ACEOF
41436 cat confdefs.h >>conftest.$ac_ext
41437 cat >>conftest.$ac_ext <<_ACEOF
41438 /* end confdefs.h. */
41439 #include <netdb.h>
41440 int
41441 main ()
41442 {
41443
41444 char *name = "www.gnu.org";
41445 struct hostent ret;
41446 char buf[1024];
41447 int buflen = 1024;
41448 int my_h_errno;
41449 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41450
41451 ;
41452 return 0;
41453 }
41454 _ACEOF
41455 rm -f conftest.$ac_objext
41456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41457 (eval $ac_compile) 2>conftest.er1
41458 ac_status=$?
41459 grep -v '^ *+' conftest.er1 >conftest.err
41460 rm -f conftest.er1
41461 cat conftest.err >&5
41462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41463 (exit $ac_status); } &&
41464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41466 (eval $ac_try) 2>&5
41467 ac_status=$?
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); }; } &&
41470 { ac_try='test -s conftest.$ac_objext'
41471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41472 (eval $ac_try) 2>&5
41473 ac_status=$?
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); }; }; then
41476 ac_cv_func_which_gethostbyname_r=five
41477 else
41478 echo "$as_me: failed program was:" >&5
41479 sed 's/^/| /' conftest.$ac_ext >&5
41480
41481 fi
41482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41483
41484 fi
41485
41486 #
41487 # THREE ARGUMENTS
41488 # (e.g. AIX, HP-UX, Tru64)
41489 #
41490
41491 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41492
41493 cat >conftest.$ac_ext <<_ACEOF
41494 /* confdefs.h. */
41495 _ACEOF
41496 cat confdefs.h >>conftest.$ac_ext
41497 cat >>conftest.$ac_ext <<_ACEOF
41498 /* end confdefs.h. */
41499 #include <netdb.h>
41500 int
41501 main ()
41502 {
41503
41504 char *name = "www.gnu.org";
41505 struct hostent ret;
41506 struct hostent_data data;
41507 (void)gethostbyname_r(name, &ret, &data) /* ; */
41508
41509 ;
41510 return 0;
41511 }
41512 _ACEOF
41513 rm -f conftest.$ac_objext
41514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41515 (eval $ac_compile) 2>conftest.er1
41516 ac_status=$?
41517 grep -v '^ *+' conftest.er1 >conftest.err
41518 rm -f conftest.er1
41519 cat conftest.err >&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); } &&
41522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41524 (eval $ac_try) 2>&5
41525 ac_status=$?
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); }; } &&
41528 { ac_try='test -s conftest.$ac_objext'
41529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41530 (eval $ac_try) 2>&5
41531 ac_status=$?
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); }; }; then
41534 ac_cv_func_which_gethostbyname_r=three
41535 else
41536 echo "$as_me: failed program was:" >&5
41537 sed 's/^/| /' conftest.$ac_ext >&5
41538
41539 fi
41540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41541
41542 fi
41543
41544 ################################################################
41545
41546
41547 fi
41548
41549 case "$ac_cv_func_which_gethostbyname_r" in
41550 three)
41551 echo "$as_me:$LINENO: result: three" >&5
41552 echo "${ECHO_T}three" >&6
41553 cat >>confdefs.h <<\_ACEOF
41554 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41555 _ACEOF
41556
41557 ;;
41558
41559 five)
41560 echo "$as_me:$LINENO: result: five" >&5
41561 echo "${ECHO_T}five" >&6
41562 cat >>confdefs.h <<\_ACEOF
41563 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41564 _ACEOF
41565
41566 ;;
41567
41568 six)
41569 echo "$as_me:$LINENO: result: six" >&5
41570 echo "${ECHO_T}six" >&6
41571 cat >>confdefs.h <<\_ACEOF
41572 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41573 _ACEOF
41574
41575 ;;
41576
41577 no)
41578 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41579 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41580 ;;
41581
41582 unknown)
41583 echo "$as_me:$LINENO: result: can't tell" >&5
41584 echo "${ECHO_T}can't tell" >&6
41585 ;;
41586
41587 *)
41588 { { echo "$as_me:$LINENO: error: internal error" >&5
41589 echo "$as_me: error: internal error" >&2;}
41590 { (exit 1); exit 1; }; }
41591 ;;
41592 esac
41593
41594 ac_ext=c
41595 ac_cpp='$CPP $CPPFLAGS'
41596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41599
41600
41601
41602 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41603 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41604 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41606 if test "${ac_cv_func_gethostbyname+set}" = set; then
41607 echo $ECHO_N "(cached) $ECHO_C" >&6
41608 else
41609 cat >conftest.$ac_ext <<_ACEOF
41610 /* confdefs.h. */
41611 _ACEOF
41612 cat confdefs.h >>conftest.$ac_ext
41613 cat >>conftest.$ac_ext <<_ACEOF
41614 /* end confdefs.h. */
41615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41617 #define gethostbyname innocuous_gethostbyname
41618
41619 /* System header to define __stub macros and hopefully few prototypes,
41620 which can conflict with char gethostbyname (); below.
41621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41622 <limits.h> exists even on freestanding compilers. */
41623
41624 #ifdef __STDC__
41625 # include <limits.h>
41626 #else
41627 # include <assert.h>
41628 #endif
41629
41630 #undef gethostbyname
41631
41632 /* Override any gcc2 internal prototype to avoid an error. */
41633 #ifdef __cplusplus
41634 extern "C"
41635 {
41636 #endif
41637 /* We use char because int might match the return type of a gcc2
41638 builtin and then its argument prototype would still apply. */
41639 char gethostbyname ();
41640 /* The GNU C library defines this for functions which it implements
41641 to always fail with ENOSYS. Some functions are actually named
41642 something starting with __ and the normal name is an alias. */
41643 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41644 choke me
41645 #else
41646 char (*f) () = gethostbyname;
41647 #endif
41648 #ifdef __cplusplus
41649 }
41650 #endif
41651
41652 int
41653 main ()
41654 {
41655 return f != gethostbyname;
41656 ;
41657 return 0;
41658 }
41659 _ACEOF
41660 rm -f conftest.$ac_objext conftest$ac_exeext
41661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41662 (eval $ac_link) 2>conftest.er1
41663 ac_status=$?
41664 grep -v '^ *+' conftest.er1 >conftest.err
41665 rm -f conftest.er1
41666 cat conftest.err >&5
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); } &&
41669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41671 (eval $ac_try) 2>&5
41672 ac_status=$?
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); }; } &&
41675 { ac_try='test -s conftest$ac_exeext'
41676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41677 (eval $ac_try) 2>&5
41678 ac_status=$?
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); }; }; then
41681 ac_cv_func_gethostbyname=yes
41682 else
41683 echo "$as_me: failed program was:" >&5
41684 sed 's/^/| /' conftest.$ac_ext >&5
41685
41686 ac_cv_func_gethostbyname=no
41687 fi
41688 rm -f conftest.err conftest.$ac_objext \
41689 conftest$ac_exeext conftest.$ac_ext
41690 fi
41691 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41692 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41693 if test $ac_cv_func_gethostbyname = yes; then
41694 cat >>confdefs.h <<\_ACEOF
41695 #define HAVE_GETHOSTBYNAME 1
41696 _ACEOF
41697
41698 fi
41699
41700 fi
41701
41702 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41703 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41704 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41705 echo $ECHO_N "(cached) $ECHO_C" >&6
41706 else
41707
41708 ac_ext=cc
41709 ac_cpp='$CXXCPP $CPPFLAGS'
41710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41713
41714
41715 cat >conftest.$ac_ext <<_ACEOF
41716 /* confdefs.h. */
41717 _ACEOF
41718 cat confdefs.h >>conftest.$ac_ext
41719 cat >>conftest.$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41721 #include <netdb.h>
41722 int
41723 main ()
41724 {
41725
41726 char *name;
41727 char *proto;
41728 struct servent *se, *res;
41729 char buffer[2048];
41730 int buflen = 2048;
41731 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41732
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 rm -f conftest.$ac_objext
41738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41739 (eval $ac_compile) 2>conftest.er1
41740 ac_status=$?
41741 grep -v '^ *+' conftest.er1 >conftest.err
41742 rm -f conftest.er1
41743 cat conftest.err >&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } &&
41746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41748 (eval $ac_try) 2>&5
41749 ac_status=$?
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); }; } &&
41752 { ac_try='test -s conftest.$ac_objext'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41755 ac_status=$?
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; }; then
41758 ac_cv_func_which_getservbyname_r=six
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763
41764 cat >conftest.$ac_ext <<_ACEOF
41765 /* confdefs.h. */
41766 _ACEOF
41767 cat confdefs.h >>conftest.$ac_ext
41768 cat >>conftest.$ac_ext <<_ACEOF
41769 /* end confdefs.h. */
41770 #include <netdb.h>
41771 int
41772 main ()
41773 {
41774
41775 char *name;
41776 char *proto;
41777 struct servent *se;
41778 char buffer[2048];
41779 int buflen = 2048;
41780 (void) getservbyname_r(name, proto, se, buffer, buflen)
41781
41782 ;
41783 return 0;
41784 }
41785 _ACEOF
41786 rm -f conftest.$ac_objext
41787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41788 (eval $ac_compile) 2>conftest.er1
41789 ac_status=$?
41790 grep -v '^ *+' conftest.er1 >conftest.err
41791 rm -f conftest.er1
41792 cat conftest.err >&5
41793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41794 (exit $ac_status); } &&
41795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41797 (eval $ac_try) 2>&5
41798 ac_status=$?
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); }; } &&
41801 { ac_try='test -s conftest.$ac_objext'
41802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41803 (eval $ac_try) 2>&5
41804 ac_status=$?
41805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41806 (exit $ac_status); }; }; then
41807 ac_cv_func_which_getservbyname_r=five
41808 else
41809 echo "$as_me: failed program was:" >&5
41810 sed 's/^/| /' conftest.$ac_ext >&5
41811
41812
41813 cat >conftest.$ac_ext <<_ACEOF
41814 /* confdefs.h. */
41815 _ACEOF
41816 cat confdefs.h >>conftest.$ac_ext
41817 cat >>conftest.$ac_ext <<_ACEOF
41818 /* end confdefs.h. */
41819 #include <netdb.h>
41820 int
41821 main ()
41822 {
41823
41824 char *name;
41825 char *proto;
41826 struct servent *se;
41827 struct servent_data data;
41828 (void) getservbyname_r(name, proto, se, &data);
41829
41830 ;
41831 return 0;
41832 }
41833 _ACEOF
41834 rm -f conftest.$ac_objext
41835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41836 (eval $ac_compile) 2>conftest.er1
41837 ac_status=$?
41838 grep -v '^ *+' conftest.er1 >conftest.err
41839 rm -f conftest.er1
41840 cat conftest.err >&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); } &&
41843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41845 (eval $ac_try) 2>&5
41846 ac_status=$?
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); }; } &&
41849 { ac_try='test -s conftest.$ac_objext'
41850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851 (eval $ac_try) 2>&5
41852 ac_status=$?
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; }; then
41855 ac_cv_func_which_getservbyname_r=four
41856 else
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.$ac_ext >&5
41859
41860 ac_cv_func_which_getservbyname_r=no
41861
41862 fi
41863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41864
41865
41866 fi
41867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41868
41869
41870 fi
41871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41872 ac_ext=c
41873 ac_cpp='$CPP $CPPFLAGS'
41874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41877
41878
41879
41880 fi
41881 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41882 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41883
41884 if test $ac_cv_func_which_getservbyname_r = six; then
41885 cat >>confdefs.h <<\_ACEOF
41886 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41887 _ACEOF
41888
41889 elif test $ac_cv_func_which_getservbyname_r = five; then
41890 cat >>confdefs.h <<\_ACEOF
41891 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41892 _ACEOF
41893
41894 elif test $ac_cv_func_which_getservbyname_r = four; then
41895 cat >>confdefs.h <<\_ACEOF
41896 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41897 _ACEOF
41898
41899 fi
41900
41901
41902 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41903 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41904
41905 for ac_func in getservbyname
41906 do
41907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41908 echo "$as_me:$LINENO: checking for $ac_func" >&5
41909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41910 if eval "test \"\${$as_ac_var+set}\" = set"; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 else
41913 cat >conftest.$ac_ext <<_ACEOF
41914 /* confdefs.h. */
41915 _ACEOF
41916 cat confdefs.h >>conftest.$ac_ext
41917 cat >>conftest.$ac_ext <<_ACEOF
41918 /* end confdefs.h. */
41919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41921 #define $ac_func innocuous_$ac_func
41922
41923 /* System header to define __stub macros and hopefully few prototypes,
41924 which can conflict with char $ac_func (); below.
41925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41926 <limits.h> exists even on freestanding compilers. */
41927
41928 #ifdef __STDC__
41929 # include <limits.h>
41930 #else
41931 # include <assert.h>
41932 #endif
41933
41934 #undef $ac_func
41935
41936 /* Override any gcc2 internal prototype to avoid an error. */
41937 #ifdef __cplusplus
41938 extern "C"
41939 {
41940 #endif
41941 /* We use char because int might match the return type of a gcc2
41942 builtin and then its argument prototype would still apply. */
41943 char $ac_func ();
41944 /* The GNU C library defines this for functions which it implements
41945 to always fail with ENOSYS. Some functions are actually named
41946 something starting with __ and the normal name is an alias. */
41947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41948 choke me
41949 #else
41950 char (*f) () = $ac_func;
41951 #endif
41952 #ifdef __cplusplus
41953 }
41954 #endif
41955
41956 int
41957 main ()
41958 {
41959 return f != $ac_func;
41960 ;
41961 return 0;
41962 }
41963 _ACEOF
41964 rm -f conftest.$ac_objext conftest$ac_exeext
41965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41966 (eval $ac_link) 2>conftest.er1
41967 ac_status=$?
41968 grep -v '^ *+' conftest.er1 >conftest.err
41969 rm -f conftest.er1
41970 cat conftest.err >&5
41971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41972 (exit $ac_status); } &&
41973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41975 (eval $ac_try) 2>&5
41976 ac_status=$?
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); }; } &&
41979 { ac_try='test -s conftest$ac_exeext'
41980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41981 (eval $ac_try) 2>&5
41982 ac_status=$?
41983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984 (exit $ac_status); }; }; then
41985 eval "$as_ac_var=yes"
41986 else
41987 echo "$as_me: failed program was:" >&5
41988 sed 's/^/| /' conftest.$ac_ext >&5
41989
41990 eval "$as_ac_var=no"
41991 fi
41992 rm -f conftest.err conftest.$ac_objext \
41993 conftest$ac_exeext conftest.$ac_ext
41994 fi
41995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41997 if test `eval echo '${'$as_ac_var'}'` = yes; then
41998 cat >>confdefs.h <<_ACEOF
41999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42000 _ACEOF
42001 cat >>confdefs.h <<\_ACEOF
42002 #define HAVE_GETSERVBYNAME 1
42003 _ACEOF
42004
42005 fi
42006 done
42007
42008 fi
42009
42010 if test "$wxUSE_THREADS" = "yes"; then
42011 cat >>confdefs.h <<\_ACEOF
42012 #define wxUSE_THREADS 1
42013 _ACEOF
42014
42015
42016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42017 else
42018 if test "$wx_cv_func_strtok_r" = "yes"; then
42019 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42020 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42021 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42022 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42023 echo "$as_me:$LINENO: result: yes" >&5
42024 echo "${ECHO_T}yes" >&6
42025 else
42026 echo "$as_me:$LINENO: result: no" >&5
42027 echo "${ECHO_T}no" >&6
42028 fi
42029 fi
42030 fi
42031
42032 if test "$WXGTK20" = 1 ; then
42033 cat >>confdefs.h <<_ACEOF
42034 #define __WXGTK20__ $WXGTK20
42035 _ACEOF
42036
42037 WXGTK12=1
42038 fi
42039
42040 if test "$WXGTK12" = 1 ; then
42041 cat >>confdefs.h <<_ACEOF
42042 #define __WXGTK12__ $WXGTK12
42043 _ACEOF
42044
42045 fi
42046
42047 if test "$WXGTK127" = 1 ; then
42048 cat >>confdefs.h <<_ACEOF
42049 #define __WXGTK127__ $WXGTK127
42050 _ACEOF
42051
42052 fi
42053
42054 if test "$WXGPE" = 1 ; then
42055 cat >>confdefs.h <<_ACEOF
42056 #define __WXGPE__ $WXGPE
42057 _ACEOF
42058
42059 fi
42060
42061 DEBUG_CFLAGS=
42062 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42063 DEBUG_CFLAGS="-g"
42064 wxUSE_OPTIMISE=no
42065 fi
42066
42067 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42068 wxUSE_DEBUG_INFO=yes
42069 if test "$GCC" = yes; then
42070 DEBUG_CFLAGS="-ggdb"
42071 fi
42072 fi
42073
42074 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42075 cat >>confdefs.h <<\_ACEOF
42076 #define WXDEBUG 1
42077 _ACEOF
42078
42079 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42080 else
42081 if test "$wxUSE_GTK" = 1 ; then
42082 if test "x$wxGTK_VERSION" = "x1" ; then
42083 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42084 fi
42085 fi
42086 fi
42087
42088 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42089 cat >>confdefs.h <<\_ACEOF
42090 #define wxUSE_MEMORY_TRACING 1
42091 _ACEOF
42092
42093 cat >>confdefs.h <<\_ACEOF
42094 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42095 _ACEOF
42096
42097 cat >>confdefs.h <<\_ACEOF
42098 #define wxUSE_DEBUG_NEW_ALWAYS 1
42099 _ACEOF
42100
42101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42102 fi
42103
42104 if test "$wxUSE_DMALLOC" = "yes" ; then
42105 DMALLOC_LIBS="-ldmallocthcxx"
42106 fi
42107
42108 PROFILE_FLAGS=
42109 if test "$wxUSE_PROFILE" = "yes" ; then
42110 PROFILE_FLAGS=" -pg"
42111 fi
42112
42113 if test "$GCC" = "yes" ; then
42114 if test "$wxUSE_NO_RTTI" = "yes" ; then
42115 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42116 fi
42117 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42118 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42119 fi
42120 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42121 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42122 fi
42123
42124 case "${host}" in
42125 powerpc*-*-aix* )
42126 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42127 ;;
42128 *-hppa* )
42129 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42130 ;;
42131 esac
42132 fi
42133
42134 OPTIMISE_CFLAGS=
42135 if test "$wxUSE_OPTIMISE" = "no" ; then
42136 if test "$GCC" = yes ; then
42137 OPTIMISE_CFLAGS="-O0"
42138 fi
42139 else
42140 if test "$GCC" = yes ; then
42141 case "${host}" in
42142 *-pc-os2_emx | *-pc-os2-emx )
42143 OPTIMISE_CFLAGS="-O2"
42144 ;;
42145 *)
42146 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42147 ;;
42148 esac
42149 else
42150 OPTIMISE_CFLAGS="-O"
42151 fi
42152 fi
42153
42154
42155 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42156 cat >>confdefs.h <<\_ACEOF
42157 #define WXWIN_COMPATIBILITY_2_4 1
42158 _ACEOF
42159
42160
42161 WXWIN_COMPATIBILITY_2_6="yes"
42162 fi
42163
42164 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define WXWIN_COMPATIBILITY_2_6 1
42167 _ACEOF
42168
42169 fi
42170
42171
42172 if test "$wxUSE_GUI" = "yes"; then
42173 cat >>confdefs.h <<\_ACEOF
42174 #define wxUSE_GUI 1
42175 _ACEOF
42176
42177
42178 fi
42179
42180
42181 if test "$wxUSE_UNIX" = "yes"; then
42182 cat >>confdefs.h <<\_ACEOF
42183 #define wxUSE_UNIX 1
42184 _ACEOF
42185
42186 fi
42187
42188
42189 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42190
42191 HAVE_DL_FUNCS=0
42192 HAVE_SHL_FUNCS=0
42193 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42194 if test "$USE_DARWIN" = 1; then
42195 HAVE_DL_FUNCS=1
42196 elif test "$USE_DOS" = 1; then
42197 HAVE_DL_FUNCS=0
42198 else
42199
42200 for ac_func in dlopen
42201 do
42202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42203 echo "$as_me:$LINENO: checking for $ac_func" >&5
42204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42205 if eval "test \"\${$as_ac_var+set}\" = set"; then
42206 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 else
42208 cat >conftest.$ac_ext <<_ACEOF
42209 /* confdefs.h. */
42210 _ACEOF
42211 cat confdefs.h >>conftest.$ac_ext
42212 cat >>conftest.$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42216 #define $ac_func innocuous_$ac_func
42217
42218 /* System header to define __stub macros and hopefully few prototypes,
42219 which can conflict with char $ac_func (); below.
42220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42221 <limits.h> exists even on freestanding compilers. */
42222
42223 #ifdef __STDC__
42224 # include <limits.h>
42225 #else
42226 # include <assert.h>
42227 #endif
42228
42229 #undef $ac_func
42230
42231 /* Override any gcc2 internal prototype to avoid an error. */
42232 #ifdef __cplusplus
42233 extern "C"
42234 {
42235 #endif
42236 /* We use char because int might match the return type of a gcc2
42237 builtin and then its argument prototype would still apply. */
42238 char $ac_func ();
42239 /* The GNU C library defines this for functions which it implements
42240 to always fail with ENOSYS. Some functions are actually named
42241 something starting with __ and the normal name is an alias. */
42242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42243 choke me
42244 #else
42245 char (*f) () = $ac_func;
42246 #endif
42247 #ifdef __cplusplus
42248 }
42249 #endif
42250
42251 int
42252 main ()
42253 {
42254 return f != $ac_func;
42255 ;
42256 return 0;
42257 }
42258 _ACEOF
42259 rm -f conftest.$ac_objext conftest$ac_exeext
42260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42261 (eval $ac_link) 2>conftest.er1
42262 ac_status=$?
42263 grep -v '^ *+' conftest.er1 >conftest.err
42264 rm -f conftest.er1
42265 cat conftest.err >&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } &&
42268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42271 ac_status=$?
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; } &&
42274 { ac_try='test -s conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42277 ac_status=$?
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42280 eval "$as_ac_var=yes"
42281 else
42282 echo "$as_me: failed program was:" >&5
42283 sed 's/^/| /' conftest.$ac_ext >&5
42284
42285 eval "$as_ac_var=no"
42286 fi
42287 rm -f conftest.err conftest.$ac_objext \
42288 conftest$ac_exeext conftest.$ac_ext
42289 fi
42290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42292 if test `eval echo '${'$as_ac_var'}'` = yes; then
42293 cat >>confdefs.h <<_ACEOF
42294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42295 _ACEOF
42296
42297 cat >>confdefs.h <<\_ACEOF
42298 #define HAVE_DLOPEN 1
42299 _ACEOF
42300
42301 HAVE_DL_FUNCS=1
42302
42303 else
42304
42305 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42306 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42307 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42308 echo $ECHO_N "(cached) $ECHO_C" >&6
42309 else
42310 ac_check_lib_save_LIBS=$LIBS
42311 LIBS="-ldl $LIBS"
42312 cat >conftest.$ac_ext <<_ACEOF
42313 /* confdefs.h. */
42314 _ACEOF
42315 cat confdefs.h >>conftest.$ac_ext
42316 cat >>conftest.$ac_ext <<_ACEOF
42317 /* end confdefs.h. */
42318
42319 /* Override any gcc2 internal prototype to avoid an error. */
42320 #ifdef __cplusplus
42321 extern "C"
42322 #endif
42323 /* We use char because int might match the return type of a gcc2
42324 builtin and then its argument prototype would still apply. */
42325 char dlopen ();
42326 int
42327 main ()
42328 {
42329 dlopen ();
42330 ;
42331 return 0;
42332 }
42333 _ACEOF
42334 rm -f conftest.$ac_objext conftest$ac_exeext
42335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42336 (eval $ac_link) 2>conftest.er1
42337 ac_status=$?
42338 grep -v '^ *+' conftest.er1 >conftest.err
42339 rm -f conftest.er1
42340 cat conftest.err >&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); } &&
42343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42345 (eval $ac_try) 2>&5
42346 ac_status=$?
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); }; } &&
42349 { ac_try='test -s conftest$ac_exeext'
42350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42351 (eval $ac_try) 2>&5
42352 ac_status=$?
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); }; }; then
42355 ac_cv_lib_dl_dlopen=yes
42356 else
42357 echo "$as_me: failed program was:" >&5
42358 sed 's/^/| /' conftest.$ac_ext >&5
42359
42360 ac_cv_lib_dl_dlopen=no
42361 fi
42362 rm -f conftest.err conftest.$ac_objext \
42363 conftest$ac_exeext conftest.$ac_ext
42364 LIBS=$ac_check_lib_save_LIBS
42365 fi
42366 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42367 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42368 if test $ac_cv_lib_dl_dlopen = yes; then
42369
42370 cat >>confdefs.h <<\_ACEOF
42371 #define HAVE_DLOPEN 1
42372 _ACEOF
42373
42374 HAVE_DL_FUNCS=1
42375 DL_LINK=" -ldl$DL_LINK"
42376
42377 else
42378
42379
42380 for ac_func in shl_load
42381 do
42382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42383 echo "$as_me:$LINENO: checking for $ac_func" >&5
42384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42385 if eval "test \"\${$as_ac_var+set}\" = set"; then
42386 echo $ECHO_N "(cached) $ECHO_C" >&6
42387 else
42388 cat >conftest.$ac_ext <<_ACEOF
42389 /* confdefs.h. */
42390 _ACEOF
42391 cat confdefs.h >>conftest.$ac_ext
42392 cat >>conftest.$ac_ext <<_ACEOF
42393 /* end confdefs.h. */
42394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42396 #define $ac_func innocuous_$ac_func
42397
42398 /* System header to define __stub macros and hopefully few prototypes,
42399 which can conflict with char $ac_func (); below.
42400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42401 <limits.h> exists even on freestanding compilers. */
42402
42403 #ifdef __STDC__
42404 # include <limits.h>
42405 #else
42406 # include <assert.h>
42407 #endif
42408
42409 #undef $ac_func
42410
42411 /* Override any gcc2 internal prototype to avoid an error. */
42412 #ifdef __cplusplus
42413 extern "C"
42414 {
42415 #endif
42416 /* We use char because int might match the return type of a gcc2
42417 builtin and then its argument prototype would still apply. */
42418 char $ac_func ();
42419 /* The GNU C library defines this for functions which it implements
42420 to always fail with ENOSYS. Some functions are actually named
42421 something starting with __ and the normal name is an alias. */
42422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42423 choke me
42424 #else
42425 char (*f) () = $ac_func;
42426 #endif
42427 #ifdef __cplusplus
42428 }
42429 #endif
42430
42431 int
42432 main ()
42433 {
42434 return f != $ac_func;
42435 ;
42436 return 0;
42437 }
42438 _ACEOF
42439 rm -f conftest.$ac_objext conftest$ac_exeext
42440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42441 (eval $ac_link) 2>conftest.er1
42442 ac_status=$?
42443 grep -v '^ *+' conftest.er1 >conftest.err
42444 rm -f conftest.er1
42445 cat conftest.err >&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } &&
42448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42451 ac_status=$?
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; } &&
42454 { ac_try='test -s conftest$ac_exeext'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42457 ac_status=$?
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; }; then
42460 eval "$as_ac_var=yes"
42461 else
42462 echo "$as_me: failed program was:" >&5
42463 sed 's/^/| /' conftest.$ac_ext >&5
42464
42465 eval "$as_ac_var=no"
42466 fi
42467 rm -f conftest.err conftest.$ac_objext \
42468 conftest$ac_exeext conftest.$ac_ext
42469 fi
42470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42472 if test `eval echo '${'$as_ac_var'}'` = yes; then
42473 cat >>confdefs.h <<_ACEOF
42474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42475 _ACEOF
42476
42477 cat >>confdefs.h <<\_ACEOF
42478 #define HAVE_SHL_LOAD 1
42479 _ACEOF
42480
42481 HAVE_SHL_FUNCS=1
42482
42483 else
42484
42485 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42486 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42487 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42488 echo $ECHO_N "(cached) $ECHO_C" >&6
42489 else
42490 ac_check_lib_save_LIBS=$LIBS
42491 LIBS="-lshl_load $LIBS"
42492 cat >conftest.$ac_ext <<_ACEOF
42493 /* confdefs.h. */
42494 _ACEOF
42495 cat confdefs.h >>conftest.$ac_ext
42496 cat >>conftest.$ac_ext <<_ACEOF
42497 /* end confdefs.h. */
42498
42499 /* Override any gcc2 internal prototype to avoid an error. */
42500 #ifdef __cplusplus
42501 extern "C"
42502 #endif
42503 /* We use char because int might match the return type of a gcc2
42504 builtin and then its argument prototype would still apply. */
42505 char dld ();
42506 int
42507 main ()
42508 {
42509 dld ();
42510 ;
42511 return 0;
42512 }
42513 _ACEOF
42514 rm -f conftest.$ac_objext conftest$ac_exeext
42515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42516 (eval $ac_link) 2>conftest.er1
42517 ac_status=$?
42518 grep -v '^ *+' conftest.er1 >conftest.err
42519 rm -f conftest.er1
42520 cat conftest.err >&5
42521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42522 (exit $ac_status); } &&
42523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42525 (eval $ac_try) 2>&5
42526 ac_status=$?
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); }; } &&
42529 { ac_try='test -s conftest$ac_exeext'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; }; then
42535 ac_cv_lib_shl_load_dld=yes
42536 else
42537 echo "$as_me: failed program was:" >&5
42538 sed 's/^/| /' conftest.$ac_ext >&5
42539
42540 ac_cv_lib_shl_load_dld=no
42541 fi
42542 rm -f conftest.err conftest.$ac_objext \
42543 conftest$ac_exeext conftest.$ac_ext
42544 LIBS=$ac_check_lib_save_LIBS
42545 fi
42546 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42547 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42548 if test $ac_cv_lib_shl_load_dld = yes; then
42549
42550 HAVE_SHL_FUNCS=1
42551 DL_LINK=" -ldld$DL_LINK"
42552
42553 fi
42554
42555
42556 fi
42557 done
42558
42559
42560 fi
42561
42562
42563 fi
42564 done
42565
42566
42567 if test "$HAVE_DL_FUNCS" = 1; then
42568
42569 for ac_func in dlerror
42570 do
42571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42572 echo "$as_me:$LINENO: checking for $ac_func" >&5
42573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42574 if eval "test \"\${$as_ac_var+set}\" = set"; then
42575 echo $ECHO_N "(cached) $ECHO_C" >&6
42576 else
42577 cat >conftest.$ac_ext <<_ACEOF
42578 /* confdefs.h. */
42579 _ACEOF
42580 cat confdefs.h >>conftest.$ac_ext
42581 cat >>conftest.$ac_ext <<_ACEOF
42582 /* end confdefs.h. */
42583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42585 #define $ac_func innocuous_$ac_func
42586
42587 /* System header to define __stub macros and hopefully few prototypes,
42588 which can conflict with char $ac_func (); below.
42589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42590 <limits.h> exists even on freestanding compilers. */
42591
42592 #ifdef __STDC__
42593 # include <limits.h>
42594 #else
42595 # include <assert.h>
42596 #endif
42597
42598 #undef $ac_func
42599
42600 /* Override any gcc2 internal prototype to avoid an error. */
42601 #ifdef __cplusplus
42602 extern "C"
42603 {
42604 #endif
42605 /* We use char because int might match the return type of a gcc2
42606 builtin and then its argument prototype would still apply. */
42607 char $ac_func ();
42608 /* The GNU C library defines this for functions which it implements
42609 to always fail with ENOSYS. Some functions are actually named
42610 something starting with __ and the normal name is an alias. */
42611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42612 choke me
42613 #else
42614 char (*f) () = $ac_func;
42615 #endif
42616 #ifdef __cplusplus
42617 }
42618 #endif
42619
42620 int
42621 main ()
42622 {
42623 return f != $ac_func;
42624 ;
42625 return 0;
42626 }
42627 _ACEOF
42628 rm -f conftest.$ac_objext conftest$ac_exeext
42629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42630 (eval $ac_link) 2>conftest.er1
42631 ac_status=$?
42632 grep -v '^ *+' conftest.er1 >conftest.err
42633 rm -f conftest.er1
42634 cat conftest.err >&5
42635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42636 (exit $ac_status); } &&
42637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42639 (eval $ac_try) 2>&5
42640 ac_status=$?
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); }; } &&
42643 { ac_try='test -s conftest$ac_exeext'
42644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42645 (eval $ac_try) 2>&5
42646 ac_status=$?
42647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648 (exit $ac_status); }; }; then
42649 eval "$as_ac_var=yes"
42650 else
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42653
42654 eval "$as_ac_var=no"
42655 fi
42656 rm -f conftest.err conftest.$ac_objext \
42657 conftest$ac_exeext conftest.$ac_ext
42658 fi
42659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42661 if test `eval echo '${'$as_ac_var'}'` = yes; then
42662 cat >>confdefs.h <<_ACEOF
42663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42664 _ACEOF
42665 cat >>confdefs.h <<\_ACEOF
42666 #define HAVE_DLERROR 1
42667 _ACEOF
42668
42669 else
42670
42671 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42672 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42673 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676 ac_check_lib_save_LIBS=$LIBS
42677 LIBS="-ldl $LIBS"
42678 cat >conftest.$ac_ext <<_ACEOF
42679 /* confdefs.h. */
42680 _ACEOF
42681 cat confdefs.h >>conftest.$ac_ext
42682 cat >>conftest.$ac_ext <<_ACEOF
42683 /* end confdefs.h. */
42684
42685 /* Override any gcc2 internal prototype to avoid an error. */
42686 #ifdef __cplusplus
42687 extern "C"
42688 #endif
42689 /* We use char because int might match the return type of a gcc2
42690 builtin and then its argument prototype would still apply. */
42691 char dlerror ();
42692 int
42693 main ()
42694 {
42695 dlerror ();
42696 ;
42697 return 0;
42698 }
42699 _ACEOF
42700 rm -f conftest.$ac_objext conftest$ac_exeext
42701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42702 (eval $ac_link) 2>conftest.er1
42703 ac_status=$?
42704 grep -v '^ *+' conftest.er1 >conftest.err
42705 rm -f conftest.er1
42706 cat conftest.err >&5
42707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708 (exit $ac_status); } &&
42709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42711 (eval $ac_try) 2>&5
42712 ac_status=$?
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); }; } &&
42715 { ac_try='test -s conftest$ac_exeext'
42716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42717 (eval $ac_try) 2>&5
42718 ac_status=$?
42719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42720 (exit $ac_status); }; }; then
42721 ac_cv_lib_dl_dlerror=yes
42722 else
42723 echo "$as_me: failed program was:" >&5
42724 sed 's/^/| /' conftest.$ac_ext >&5
42725
42726 ac_cv_lib_dl_dlerror=no
42727 fi
42728 rm -f conftest.err conftest.$ac_objext \
42729 conftest$ac_exeext conftest.$ac_ext
42730 LIBS=$ac_check_lib_save_LIBS
42731 fi
42732 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42733 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42734 if test $ac_cv_lib_dl_dlerror = yes; then
42735 cat >>confdefs.h <<\_ACEOF
42736 #define HAVE_DLERROR 1
42737 _ACEOF
42738
42739 fi
42740
42741
42742
42743 fi
42744 done
42745
42746 fi
42747 fi
42748
42749 if test "$HAVE_DL_FUNCS" = 0; then
42750 if test "$HAVE_SHL_FUNCS" = 0; then
42751 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42752 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42753 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42754 wxUSE_DYNAMIC_LOADER=no
42755 wxUSE_DYNLIB_CLASS=no
42756 else
42757 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42758 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42759 fi
42760 fi
42761 fi
42762 fi
42763 fi
42764
42765 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42766 cat >>confdefs.h <<\_ACEOF
42767 #define wxUSE_DYNAMIC_LOADER 1
42768 _ACEOF
42769
42770 fi
42771 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42772 cat >>confdefs.h <<\_ACEOF
42773 #define wxUSE_DYNLIB_CLASS 1
42774 _ACEOF
42775
42776 fi
42777
42778
42779
42780 if test "$wxUSE_PLUGINS" = "yes" ; then
42781 if test "$wxUSE_SHARED" = "no" ; then
42782 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42783 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42784 wxUSE_PLUGINS=no
42785 fi
42786 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42787 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42788 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42789 wxUSE_PLUGINS=no
42790 fi
42791 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42792 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42793 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42794 wxUSE_PLUGINS=no
42795 fi
42796 if test "$wxUSE_PLUGINS" = "yes" ; then
42797 cat >>confdefs.h <<\_ACEOF
42798 #define wxUSE_PLUGINS 1
42799 _ACEOF
42800
42801 fi
42802 fi
42803
42804
42805 if test "$wxUSE_STL" = "yes"; then
42806 cat >>confdefs.h <<\_ACEOF
42807 #define wxUSE_STL 1
42808 _ACEOF
42809
42810 fi
42811
42812 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42813 cat >>confdefs.h <<\_ACEOF
42814 #define wxUSE_APPLE_IEEE 1
42815 _ACEOF
42816
42817 fi
42818
42819 if test "$wxUSE_TIMER" = "yes"; then
42820 cat >>confdefs.h <<\_ACEOF
42821 #define wxUSE_TIMER 1
42822 _ACEOF
42823
42824 fi
42825
42826 if test "$USE_UNIX" = "1" ; then
42827 if test "$wxUSE_MGL" != 1; then
42828 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42829 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42830 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42831 echo $ECHO_N "(cached) $ECHO_C" >&6
42832 else
42833
42834 cat >conftest.$ac_ext <<_ACEOF
42835 /* confdefs.h. */
42836 _ACEOF
42837 cat confdefs.h >>conftest.$ac_ext
42838 cat >>conftest.$ac_ext <<_ACEOF
42839 /* end confdefs.h. */
42840
42841 #include <sys/ioctl.h>
42842 #include <sys/soundcard.h>
42843
42844 int
42845 main ()
42846 {
42847
42848 ioctl(0, SNDCTL_DSP_SPEED, 0);
42849
42850 ;
42851 return 0;
42852 }
42853 _ACEOF
42854 rm -f conftest.$ac_objext conftest$ac_exeext
42855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42856 (eval $ac_link) 2>conftest.er1
42857 ac_status=$?
42858 grep -v '^ *+' conftest.er1 >conftest.err
42859 rm -f conftest.er1
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } &&
42863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42865 (eval $ac_try) 2>&5
42866 ac_status=$?
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); }; } &&
42869 { ac_try='test -s conftest$ac_exeext'
42870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42871 (eval $ac_try) 2>&5
42872 ac_status=$?
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); }; }; then
42875 ac_cv_header_sys_soundcard=yes
42876 else
42877 echo "$as_me: failed program was:" >&5
42878 sed 's/^/| /' conftest.$ac_ext >&5
42879
42880
42881 saveLibs="$LIBS"
42882 LIBS="$saveLibs -lossaudio"
42883 cat >conftest.$ac_ext <<_ACEOF
42884 /* confdefs.h. */
42885 _ACEOF
42886 cat confdefs.h >>conftest.$ac_ext
42887 cat >>conftest.$ac_ext <<_ACEOF
42888 /* end confdefs.h. */
42889
42890 #include <sys/ioctl.h>
42891 #include <sys/soundcard.h>
42892
42893 int
42894 main ()
42895 {
42896
42897 ioctl(0, SNDCTL_DSP_SPEED, 0);
42898
42899 ;
42900 return 0;
42901 }
42902 _ACEOF
42903 rm -f conftest.$ac_objext conftest$ac_exeext
42904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42905 (eval $ac_link) 2>conftest.er1
42906 ac_status=$?
42907 grep -v '^ *+' conftest.er1 >conftest.err
42908 rm -f conftest.er1
42909 cat conftest.err >&5
42910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911 (exit $ac_status); } &&
42912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42914 (eval $ac_try) 2>&5
42915 ac_status=$?
42916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917 (exit $ac_status); }; } &&
42918 { ac_try='test -s conftest$ac_exeext'
42919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42920 (eval $ac_try) 2>&5
42921 ac_status=$?
42922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42923 (exit $ac_status); }; }; then
42924 ac_cv_header_sys_soundcard=yes
42925 else
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.$ac_ext >&5
42928
42929
42930 LIBS="$saveLibs"
42931 ac_cv_header_sys_soundcard=no
42932
42933
42934 fi
42935 rm -f conftest.err conftest.$ac_objext \
42936 conftest$ac_exeext conftest.$ac_ext
42937
42938
42939 fi
42940 rm -f conftest.err conftest.$ac_objext \
42941 conftest$ac_exeext conftest.$ac_ext
42942
42943 fi
42944 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42945 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42946 fi
42947
42948 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42949 cat >>confdefs.h <<\_ACEOF
42950 #define HAVE_SYS_SOUNDCARD_H 1
42951 _ACEOF
42952
42953 else
42954 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42955 fi
42956 fi
42957
42958 WITH_PLUGIN_SDL=0
42959 if test "$wxUSE_SOUND" = "yes"; then
42960 if test "$USE_UNIX" = "1" ; then
42961 if test "$wxUSE_LIBSDL" != "no"; then
42962
42963 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42964 if test "${with_sdl_prefix+set}" = set; then
42965 withval="$with_sdl_prefix"
42966 sdl_prefix="$withval"
42967 else
42968 sdl_prefix=""
42969 fi;
42970
42971 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42972 if test "${with_sdl_exec_prefix+set}" = set; then
42973 withval="$with_sdl_exec_prefix"
42974 sdl_exec_prefix="$withval"
42975 else
42976 sdl_exec_prefix=""
42977 fi;
42978 # Check whether --enable-sdltest or --disable-sdltest was given.
42979 if test "${enable_sdltest+set}" = set; then
42980 enableval="$enable_sdltest"
42981
42982 else
42983 enable_sdltest=yes
42984 fi;
42985
42986 if test x$sdl_exec_prefix != x ; then
42987 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42988 if test x${SDL_CONFIG+set} != xset ; then
42989 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42990 fi
42991 fi
42992 if test x$sdl_prefix != x ; then
42993 sdl_args="$sdl_args --prefix=$sdl_prefix"
42994 if test x${SDL_CONFIG+set} != xset ; then
42995 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42996 fi
42997 fi
42998
42999 if test "x$prefix" != xNONE; then
43000 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43001 fi
43002 # Extract the first word of "sdl-config", so it can be a program name with args.
43003 set dummy sdl-config; ac_word=$2
43004 echo "$as_me:$LINENO: checking for $ac_word" >&5
43005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43006 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43007 echo $ECHO_N "(cached) $ECHO_C" >&6
43008 else
43009 case $SDL_CONFIG in
43010 [\\/]* | ?:[\\/]*)
43011 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43012 ;;
43013 *)
43014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43015 for as_dir in $PATH
43016 do
43017 IFS=$as_save_IFS
43018 test -z "$as_dir" && as_dir=.
43019 for ac_exec_ext in '' $ac_executable_extensions; do
43020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43021 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43023 break 2
43024 fi
43025 done
43026 done
43027
43028 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43029 ;;
43030 esac
43031 fi
43032 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43033
43034 if test -n "$SDL_CONFIG"; then
43035 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43036 echo "${ECHO_T}$SDL_CONFIG" >&6
43037 else
43038 echo "$as_me:$LINENO: result: no" >&5
43039 echo "${ECHO_T}no" >&6
43040 fi
43041
43042 min_sdl_version=1.2.0
43043 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43044 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43045 no_sdl=""
43046 if test "$SDL_CONFIG" = "no" ; then
43047 no_sdl=yes
43048 else
43049 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43050 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43051
43052 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43054 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43056 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43058 if test "x$enable_sdltest" = "xyes" ; then
43059 ac_save_CFLAGS="$CFLAGS"
43060 ac_save_CXXFLAGS="$CXXFLAGS"
43061 ac_save_LIBS="$LIBS"
43062 CFLAGS="$CFLAGS $SDL_CFLAGS"
43063 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43064 LIBS="$LIBS $SDL_LIBS"
43065 rm -f conf.sdltest
43066 if test "$cross_compiling" = yes; then
43067 echo $ac_n "cross compiling; assumed OK... $ac_c"
43068 else
43069 cat >conftest.$ac_ext <<_ACEOF
43070 /* confdefs.h. */
43071 _ACEOF
43072 cat confdefs.h >>conftest.$ac_ext
43073 cat >>conftest.$ac_ext <<_ACEOF
43074 /* end confdefs.h. */
43075
43076 #include <stdio.h>
43077 #include <stdlib.h>
43078 #include <string.h>
43079 #include "SDL.h"
43080
43081 char*
43082 my_strdup (char *str)
43083 {
43084 char *new_str;
43085
43086 if (str)
43087 {
43088 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43089 strcpy (new_str, str);
43090 }
43091 else
43092 new_str = NULL;
43093
43094 return new_str;
43095 }
43096
43097 int main (int argc, char *argv[])
43098 {
43099 int major, minor, micro;
43100 char *tmp_version;
43101
43102 /* This hangs on some systems (?)
43103 system ("touch conf.sdltest");
43104 */
43105 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43106
43107 /* HP/UX 9 (%@#!) writes to sscanf strings */
43108 tmp_version = my_strdup("$min_sdl_version");
43109 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43110 printf("%s, bad version string\n", "$min_sdl_version");
43111 exit(1);
43112 }
43113
43114 if (($sdl_major_version > major) ||
43115 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43116 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43117 {
43118 return 0;
43119 }
43120 else
43121 {
43122 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43123 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43124 printf("*** best to upgrade to the required version.\n");
43125 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43126 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43127 printf("*** config.cache before re-running configure\n");
43128 return 1;
43129 }
43130 }
43131
43132
43133 _ACEOF
43134 rm -f conftest$ac_exeext
43135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43136 (eval $ac_link) 2>&5
43137 ac_status=$?
43138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43141 (eval $ac_try) 2>&5
43142 ac_status=$?
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; }; then
43145 :
43146 else
43147 echo "$as_me: program exited with status $ac_status" >&5
43148 echo "$as_me: failed program was:" >&5
43149 sed 's/^/| /' conftest.$ac_ext >&5
43150
43151 ( exit $ac_status )
43152 no_sdl=yes
43153 fi
43154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43155 fi
43156 CFLAGS="$ac_save_CFLAGS"
43157 CXXFLAGS="$ac_save_CXXFLAGS"
43158 LIBS="$ac_save_LIBS"
43159 fi
43160 fi
43161 if test "x$no_sdl" = x ; then
43162 echo "$as_me:$LINENO: result: yes" >&5
43163 echo "${ECHO_T}yes" >&6
43164
43165 EXTRALIBS_SDL="$SDL_LIBS"
43166 CFLAGS="$SDL_CFLAGS $CFLAGS"
43167 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43168 cat >>confdefs.h <<\_ACEOF
43169 #define wxUSE_LIBSDL 1
43170 _ACEOF
43171
43172
43173 else
43174 echo "$as_me:$LINENO: result: no" >&5
43175 echo "${ECHO_T}no" >&6
43176 if test "$SDL_CONFIG" = "no" ; then
43177 echo "*** The sdl-config script installed by SDL could not be found"
43178 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43179 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43180 echo "*** full path to sdl-config."
43181 else
43182 if test -f conf.sdltest ; then
43183 :
43184 else
43185 echo "*** Could not run SDL test program, checking why..."
43186 CFLAGS="$CFLAGS $SDL_CFLAGS"
43187 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43188 LIBS="$LIBS $SDL_LIBS"
43189 cat >conftest.$ac_ext <<_ACEOF
43190 /* confdefs.h. */
43191 _ACEOF
43192 cat confdefs.h >>conftest.$ac_ext
43193 cat >>conftest.$ac_ext <<_ACEOF
43194 /* end confdefs.h. */
43195
43196 #include <stdio.h>
43197 #include "SDL.h"
43198
43199 int main(int argc, char *argv[])
43200 { return 0; }
43201 #undef main
43202 #define main K_and_R_C_main
43203
43204 int
43205 main ()
43206 {
43207 return 0;
43208 ;
43209 return 0;
43210 }
43211 _ACEOF
43212 rm -f conftest.$ac_objext conftest$ac_exeext
43213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43214 (eval $ac_link) 2>conftest.er1
43215 ac_status=$?
43216 grep -v '^ *+' conftest.er1 >conftest.err
43217 rm -f conftest.er1
43218 cat conftest.err >&5
43219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43220 (exit $ac_status); } &&
43221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43223 (eval $ac_try) 2>&5
43224 ac_status=$?
43225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43226 (exit $ac_status); }; } &&
43227 { ac_try='test -s conftest$ac_exeext'
43228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43229 (eval $ac_try) 2>&5
43230 ac_status=$?
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); }; }; then
43233 echo "*** The test program compiled, but did not run. This usually means"
43234 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43235 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43236 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43237 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43238 echo "*** is required on your system"
43239 echo "***"
43240 echo "*** If you have an old version installed, it is best to remove it, although"
43241 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43242 else
43243 echo "$as_me: failed program was:" >&5
43244 sed 's/^/| /' conftest.$ac_ext >&5
43245
43246 echo "*** The test program failed to compile or link. See the file config.log for the"
43247 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43248 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43249 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43250 fi
43251 rm -f conftest.err conftest.$ac_objext \
43252 conftest$ac_exeext conftest.$ac_ext
43253 CFLAGS="$ac_save_CFLAGS"
43254 CXXFLAGS="$ac_save_CXXFLAGS"
43255 LIBS="$ac_save_LIBS"
43256 fi
43257 fi
43258 SDL_CFLAGS=""
43259 SDL_LIBS=""
43260 wxUSE_LIBSDL="no"
43261 fi
43262
43263
43264 rm -f conf.sdltest
43265
43266 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43267 WITH_PLUGIN_SDL=1
43268 fi
43269 fi
43270 else
43271 if test "$wxUSE_MGL" = 1; then
43272 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43273 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43274 wxUSE_SOUND="no"
43275 fi
43276 fi
43277 fi
43278
43279 if test "$wxUSE_SOUND" = "yes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_SOUND 1
43282 _ACEOF
43283
43284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43285 fi
43286
43287 if test "$WXGTK20" = 1; then
43288
43289
43290 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43291 if test -n "$ac_tool_prefix"; then
43292 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43293 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43294 echo "$as_me:$LINENO: checking for $ac_word" >&5
43295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43296 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43297 echo $ECHO_N "(cached) $ECHO_C" >&6
43298 else
43299 case $PKG_CONFIG in
43300 [\\/]* | ?:[\\/]*)
43301 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43302 ;;
43303 *)
43304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43305 for as_dir in $PATH
43306 do
43307 IFS=$as_save_IFS
43308 test -z "$as_dir" && as_dir=.
43309 for ac_exec_ext in '' $ac_executable_extensions; do
43310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43311 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43313 break 2
43314 fi
43315 done
43316 done
43317
43318 ;;
43319 esac
43320 fi
43321 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43322
43323 if test -n "$PKG_CONFIG"; then
43324 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43325 echo "${ECHO_T}$PKG_CONFIG" >&6
43326 else
43327 echo "$as_me:$LINENO: result: no" >&5
43328 echo "${ECHO_T}no" >&6
43329 fi
43330
43331 fi
43332 if test -z "$ac_cv_path_PKG_CONFIG"; then
43333 ac_pt_PKG_CONFIG=$PKG_CONFIG
43334 # Extract the first word of "pkg-config", so it can be a program name with args.
43335 set dummy pkg-config; ac_word=$2
43336 echo "$as_me:$LINENO: checking for $ac_word" >&5
43337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43338 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43339 echo $ECHO_N "(cached) $ECHO_C" >&6
43340 else
43341 case $ac_pt_PKG_CONFIG in
43342 [\\/]* | ?:[\\/]*)
43343 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43344 ;;
43345 *)
43346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43347 for as_dir in $PATH
43348 do
43349 IFS=$as_save_IFS
43350 test -z "$as_dir" && as_dir=.
43351 for ac_exec_ext in '' $ac_executable_extensions; do
43352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43353 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43355 break 2
43356 fi
43357 done
43358 done
43359
43360 ;;
43361 esac
43362 fi
43363 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43364
43365 if test -n "$ac_pt_PKG_CONFIG"; then
43366 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43367 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43368 else
43369 echo "$as_me:$LINENO: result: no" >&5
43370 echo "${ECHO_T}no" >&6
43371 fi
43372
43373 PKG_CONFIG=$ac_pt_PKG_CONFIG
43374 else
43375 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43376 fi
43377
43378 fi
43379 if test -n "$PKG_CONFIG"; then
43380 _pkg_min_version=0.9.0
43381 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43382 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43383 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43384 echo "$as_me:$LINENO: result: yes" >&5
43385 echo "${ECHO_T}yes" >&6
43386 else
43387 echo "$as_me:$LINENO: result: no" >&5
43388 echo "${ECHO_T}no" >&6
43389 PKG_CONFIG=""
43390 fi
43391
43392 fi
43393
43394 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43395 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43396
43397
43398 pkg_failed=no
43399 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43400 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43401
43402 if test -n "$PKG_CONFIG"; then
43403 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43404 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43405 else
43406 if test -n "$PKG_CONFIG" && \
43407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43408 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43409 ac_status=$?
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); }; then
43412 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43413 else
43414 pkg_failed=yes
43415 fi
43416 fi
43417 else
43418 pkg_failed=untried
43419 fi
43420 if test -n "$PKG_CONFIG"; then
43421 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43422 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43423 else
43424 if test -n "$PKG_CONFIG" && \
43425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43426 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43427 ac_status=$?
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); }; then
43430 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43431 else
43432 pkg_failed=yes
43433 fi
43434 fi
43435 else
43436 pkg_failed=untried
43437 fi
43438
43439
43440
43441 if test $pkg_failed = yes; then
43442
43443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43444 _pkg_short_errors_supported=yes
43445 else
43446 _pkg_short_errors_supported=no
43447 fi
43448 if test $_pkg_short_errors_supported = yes; then
43449 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43450 else
43451 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43452 fi
43453 # Put the nasty error message in config.log where it belongs
43454 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43455
43456
43457 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43458 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43459 wxUSE_LIBGNOMEPRINT="no"
43460
43461
43462 elif test $pkg_failed = untried; then
43463
43464 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43465 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43466 wxUSE_LIBGNOMEPRINT="no"
43467
43468
43469 else
43470 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43471 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43472 echo "$as_me:$LINENO: result: yes" >&5
43473 echo "${ECHO_T}yes" >&6
43474
43475 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43476 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_LIBGNOMEPRINT 1
43479 _ACEOF
43480
43481
43482 fi
43483 fi
43484 fi
43485
43486 if test "$wxUSE_MIMETYPE" = "yes" ; then
43487 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43488
43489
43490 pkg_failed=no
43491 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43492 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43493
43494 if test -n "$PKG_CONFIG"; then
43495 if test -n "$GNOMEVFS_CFLAGS"; then
43496 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43497 else
43498 if test -n "$PKG_CONFIG" && \
43499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43500 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43501 ac_status=$?
43502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43503 (exit $ac_status); }; then
43504 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43505 else
43506 pkg_failed=yes
43507 fi
43508 fi
43509 else
43510 pkg_failed=untried
43511 fi
43512 if test -n "$PKG_CONFIG"; then
43513 if test -n "$GNOMEVFS_LIBS"; then
43514 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43515 else
43516 if test -n "$PKG_CONFIG" && \
43517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43518 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43519 ac_status=$?
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; then
43522 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43523 else
43524 pkg_failed=yes
43525 fi
43526 fi
43527 else
43528 pkg_failed=untried
43529 fi
43530
43531
43532
43533 if test $pkg_failed = yes; then
43534
43535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43536 _pkg_short_errors_supported=yes
43537 else
43538 _pkg_short_errors_supported=no
43539 fi
43540 if test $_pkg_short_errors_supported = yes; then
43541 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43542 else
43543 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43544 fi
43545 # Put the nasty error message in config.log where it belongs
43546 echo "$GNOMEVFS_PKG_ERRORS" >&5
43547
43548
43549 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43550 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43551 wxUSE_LIBGNOMEVFS="no"
43552
43553
43554 elif test $pkg_failed = untried; then
43555
43556 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43557 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43558 wxUSE_LIBGNOMEVFS="no"
43559
43560
43561 else
43562 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43563 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43564 echo "$as_me:$LINENO: result: yes" >&5
43565 echo "${ECHO_T}yes" >&6
43566
43567 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43568 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43569 cat >>confdefs.h <<\_ACEOF
43570 #define wxUSE_LIBGNOMEVFS 1
43571 _ACEOF
43572
43573
43574 fi
43575 fi
43576 fi
43577
43578 if test "$wxUSE_LIBHILDON" = "yes" ; then
43579
43580 pkg_failed=no
43581 echo "$as_me:$LINENO: checking for HILDON" >&5
43582 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43583
43584 if test -n "$PKG_CONFIG"; then
43585 if test -n "$HILDON_CFLAGS"; then
43586 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43587 else
43588 if test -n "$PKG_CONFIG" && \
43589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43590 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43591 ac_status=$?
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); }; then
43594 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43595 else
43596 pkg_failed=yes
43597 fi
43598 fi
43599 else
43600 pkg_failed=untried
43601 fi
43602 if test -n "$PKG_CONFIG"; then
43603 if test -n "$HILDON_LIBS"; then
43604 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43605 else
43606 if test -n "$PKG_CONFIG" && \
43607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43608 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43609 ac_status=$?
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); }; then
43612 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43613 else
43614 pkg_failed=yes
43615 fi
43616 fi
43617 else
43618 pkg_failed=untried
43619 fi
43620
43621
43622
43623 if test $pkg_failed = yes; then
43624
43625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43626 _pkg_short_errors_supported=yes
43627 else
43628 _pkg_short_errors_supported=no
43629 fi
43630 if test $_pkg_short_errors_supported = yes; then
43631 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43632 else
43633 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43634 fi
43635 # Put the nasty error message in config.log where it belongs
43636 echo "$HILDON_PKG_ERRORS" >&5
43637
43638
43639 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43640 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43641 wxUSE_LIBHILDON="no"
43642
43643
43644 elif test $pkg_failed = untried; then
43645
43646 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43647 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43648 wxUSE_LIBHILDON="no"
43649
43650
43651 else
43652 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43653 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43654 echo "$as_me:$LINENO: result: yes" >&5
43655 echo "${ECHO_T}yes" >&6
43656
43657 EXTRALIBS_HILDON="$HILDON_LIBS"
43658 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43659 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_LIBHILDON 1
43662 _ACEOF
43663
43664
43665 fi
43666 fi
43667 fi
43668
43669 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43670 cat >>confdefs.h <<\_ACEOF
43671 #define wxUSE_CMDLINE_PARSER 1
43672 _ACEOF
43673
43674 fi
43675
43676 if test "$wxUSE_STOPWATCH" = "yes"; then
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_STOPWATCH 1
43679 _ACEOF
43680
43681 fi
43682
43683 if test "$wxUSE_DATETIME" = "yes"; then
43684 cat >>confdefs.h <<\_ACEOF
43685 #define wxUSE_DATETIME 1
43686 _ACEOF
43687
43688 fi
43689
43690 if test "$wxUSE_FILE" = "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define wxUSE_FILE 1
43693 _ACEOF
43694
43695 fi
43696
43697 if test "$wxUSE_FFILE" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_FFILE 1
43700 _ACEOF
43701
43702 fi
43703
43704 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43705 if test "$wxUSE_STREAMS" != yes; then
43706 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43707 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43708 wxUSE_ARCHIVE_STREAMS=no
43709 else
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_ARCHIVE_STREAMS 1
43712 _ACEOF
43713
43714 fi
43715 fi
43716
43717 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43718 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43719 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43720 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43721 elif test "$wxUSE_ZLIB" = "no"; then
43722 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43723 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43724 else
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_ZIPSTREAM 1
43727 _ACEOF
43728
43729 fi
43730 fi
43731
43732 if test "$wxUSE_TARSTREAM" = "yes"; then
43733 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43734 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43735 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43736 else
43737 cat >>confdefs.h <<\_ACEOF
43738 #define wxUSE_TARSTREAM 1
43739 _ACEOF
43740
43741 fi
43742 fi
43743
43744 if test "$wxUSE_FILESYSTEM" = "yes"; then
43745 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43746 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43747 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43748 wxUSE_FILESYSTEM=no
43749 else
43750 cat >>confdefs.h <<\_ACEOF
43751 #define wxUSE_FILESYSTEM 1
43752 _ACEOF
43753
43754 fi
43755 fi
43756
43757 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43758 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43759 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43760 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43761 else
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_FS_ARCHIVE 1
43764 _ACEOF
43765
43766 fi
43767 fi
43768
43769 if test "$wxUSE_FS_ZIP" = "yes"; then
43770 if test "$wxUSE_FS_ARCHIVE" != yes; then
43771 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43772 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43773 else
43774 cat >>confdefs.h <<\_ACEOF
43775 #define wxUSE_FS_ZIP 1
43776 _ACEOF
43777
43778 fi
43779 fi
43780
43781 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43782 if test "$USE_UNIX" != 1; then
43783 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43784 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43785 wxUSE_ON_FATAL_EXCEPTION=no
43786 else
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_ON_FATAL_EXCEPTION 1
43789 _ACEOF
43790
43791 fi
43792 fi
43793
43794 if test "$wxUSE_STACKWALKER" = "yes"; then
43795 cat >>confdefs.h <<\_ACEOF
43796 #define wxUSE_STACKWALKER 1
43797 _ACEOF
43798
43799 fi
43800
43801 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43802 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43803 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43804 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43805 wxUSE_DEBUGREPORT=no
43806 else
43807 cat >>confdefs.h <<\_ACEOF
43808 #define wxUSE_DEBUGREPORT 1
43809 _ACEOF
43810
43811 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43813 fi
43814 fi
43815 fi
43816
43817 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43818 cat >>confdefs.h <<\_ACEOF
43819 #define wxUSE_SNGLINST_CHECKER 1
43820 _ACEOF
43821
43822 fi
43823
43824 if test "$wxUSE_BUSYINFO" = "yes"; then
43825 cat >>confdefs.h <<\_ACEOF
43826 #define wxUSE_BUSYINFO 1
43827 _ACEOF
43828
43829 fi
43830
43831 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define wxUSE_STD_IOSTREAM 1
43834 _ACEOF
43835
43836 fi
43837
43838 if test "$wxUSE_STD_STRING" = "yes"; then
43839 cat >>confdefs.h <<\_ACEOF
43840 #define wxUSE_STD_STRING 1
43841 _ACEOF
43842
43843 fi
43844
43845 if test "$wxUSE_STDPATHS" = "yes"; then
43846 cat >>confdefs.h <<\_ACEOF
43847 #define wxUSE_STDPATHS 1
43848 _ACEOF
43849
43850 fi
43851
43852 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_TEXTBUFFER 1
43855 _ACEOF
43856
43857 fi
43858
43859 if test "$wxUSE_TEXTFILE" = "yes"; then
43860 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43861 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43862 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43863 else
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_TEXTFILE 1
43866 _ACEOF
43867
43868 fi
43869 fi
43870
43871 if test "$wxUSE_CONFIG" = "yes" ; then
43872 if test "$wxUSE_TEXTFILE" != "yes"; then
43873 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43874 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43875 else
43876 cat >>confdefs.h <<\_ACEOF
43877 #define wxUSE_CONFIG 1
43878 _ACEOF
43879
43880 cat >>confdefs.h <<\_ACEOF
43881 #define wxUSE_CONFIG_NATIVE 1
43882 _ACEOF
43883
43884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43885 fi
43886 fi
43887
43888 if test "$wxUSE_INTL" = "yes" ; then
43889 if test "$wxUSE_FILE" != "yes"; then
43890 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43891 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43892 else
43893 cat >>confdefs.h <<\_ACEOF
43894 #define wxUSE_INTL 1
43895 _ACEOF
43896
43897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43898 GUIDIST="$GUIDIST INTL_DIST"
43899 fi
43900 fi
43901
43902 if test "$wxUSE_LOG" = "yes"; then
43903 cat >>confdefs.h <<\_ACEOF
43904 #define wxUSE_LOG 1
43905 _ACEOF
43906
43907
43908 if test "$wxUSE_LOGGUI" = "yes"; then
43909 cat >>confdefs.h <<\_ACEOF
43910 #define wxUSE_LOGGUI 1
43911 _ACEOF
43912
43913 fi
43914
43915 if test "$wxUSE_LOGWINDOW" = "yes"; then
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_LOGWINDOW 1
43918 _ACEOF
43919
43920 fi
43921
43922 if test "$wxUSE_LOGDIALOG" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_LOG_DIALOG 1
43925 _ACEOF
43926
43927 fi
43928
43929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43930 fi
43931
43932 if test "$wxUSE_LONGLONG" = "yes"; then
43933 cat >>confdefs.h <<\_ACEOF
43934 #define wxUSE_LONGLONG 1
43935 _ACEOF
43936
43937 fi
43938
43939 if test "$wxUSE_GEOMETRY" = "yes"; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_GEOMETRY 1
43942 _ACEOF
43943
43944 fi
43945
43946 if test "$wxUSE_STREAMS" = "yes" ; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_STREAMS 1
43949 _ACEOF
43950
43951 fi
43952
43953 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43954 cat >>confdefs.h <<\_ACEOF
43955 #define wxUSE_PRINTF_POS_PARAMS 1
43956 _ACEOF
43957
43958 fi
43959
43960
43961
43962 if test "$wxUSE_DATETIME" = "yes"; then
43963
43964 for ac_func in strptime
43965 do
43966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43967 echo "$as_me:$LINENO: checking for $ac_func" >&5
43968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43969 if eval "test \"\${$as_ac_var+set}\" = set"; then
43970 echo $ECHO_N "(cached) $ECHO_C" >&6
43971 else
43972 cat >conftest.$ac_ext <<_ACEOF
43973 /* confdefs.h. */
43974 _ACEOF
43975 cat confdefs.h >>conftest.$ac_ext
43976 cat >>conftest.$ac_ext <<_ACEOF
43977 /* end confdefs.h. */
43978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43980 #define $ac_func innocuous_$ac_func
43981
43982 /* System header to define __stub macros and hopefully few prototypes,
43983 which can conflict with char $ac_func (); below.
43984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43985 <limits.h> exists even on freestanding compilers. */
43986
43987 #ifdef __STDC__
43988 # include <limits.h>
43989 #else
43990 # include <assert.h>
43991 #endif
43992
43993 #undef $ac_func
43994
43995 /* Override any gcc2 internal prototype to avoid an error. */
43996 #ifdef __cplusplus
43997 extern "C"
43998 {
43999 #endif
44000 /* We use char because int might match the return type of a gcc2
44001 builtin and then its argument prototype would still apply. */
44002 char $ac_func ();
44003 /* The GNU C library defines this for functions which it implements
44004 to always fail with ENOSYS. Some functions are actually named
44005 something starting with __ and the normal name is an alias. */
44006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44007 choke me
44008 #else
44009 char (*f) () = $ac_func;
44010 #endif
44011 #ifdef __cplusplus
44012 }
44013 #endif
44014
44015 int
44016 main ()
44017 {
44018 return f != $ac_func;
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 rm -f conftest.$ac_objext conftest$ac_exeext
44024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44025 (eval $ac_link) 2>conftest.er1
44026 ac_status=$?
44027 grep -v '^ *+' conftest.er1 >conftest.err
44028 rm -f conftest.er1
44029 cat conftest.err >&5
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); } &&
44032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; } &&
44038 { ac_try='test -s conftest$ac_exeext'
44039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040 (eval $ac_try) 2>&5
44041 ac_status=$?
44042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043 (exit $ac_status); }; }; then
44044 eval "$as_ac_var=yes"
44045 else
44046 echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44048
44049 eval "$as_ac_var=no"
44050 fi
44051 rm -f conftest.err conftest.$ac_objext \
44052 conftest$ac_exeext conftest.$ac_ext
44053 fi
44054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44056 if test `eval echo '${'$as_ac_var'}'` = yes; then
44057 cat >>confdefs.h <<_ACEOF
44058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44059 _ACEOF
44060
44061 fi
44062 done
44063
44064 if test "$ac_cv_func_strptime" = "yes"; then
44065 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44066 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44067 if test "${wx_cv_func_strptime_decl+set}" = set; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44069 else
44070
44071 ac_ext=cc
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h. */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44083
44084 #include <time.h>
44085
44086 int
44087 main ()
44088 {
44089
44090 struct tm t;
44091 strptime("foo", "bar", &t);
44092
44093 ;
44094 return 0;
44095 }
44096 _ACEOF
44097 rm -f conftest.$ac_objext
44098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44099 (eval $ac_compile) 2>conftest.er1
44100 ac_status=$?
44101 grep -v '^ *+' conftest.er1 >conftest.err
44102 rm -f conftest.er1
44103 cat conftest.err >&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); } &&
44106 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44108 (eval $ac_try) 2>&5
44109 ac_status=$?
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); }; } &&
44112 { ac_try='test -s conftest.$ac_objext'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44115 ac_status=$?
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; }; then
44118 wx_cv_func_strptime_decl=yes
44119 else
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44122
44123 wx_cv_func_strptime_decl=no
44124
44125 fi
44126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44127 ac_ext=c
44128 ac_cpp='$CPP $CPPFLAGS'
44129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44132
44133
44134
44135 fi
44136 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44137 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44138 fi
44139 if test "$wx_cv_func_strptime_decl" = "yes"; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define HAVE_STRPTIME_DECL 1
44142 _ACEOF
44143
44144 fi
44145
44146 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44147 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44148 if test "${wx_cv_var_timezone+set}" = set; then
44149 echo $ECHO_N "(cached) $ECHO_C" >&6
44150 else
44151
44152 ac_ext=cc
44153 ac_cpp='$CXXCPP $CPPFLAGS'
44154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157
44158 cat >conftest.$ac_ext <<_ACEOF
44159 /* confdefs.h. */
44160 _ACEOF
44161 cat confdefs.h >>conftest.$ac_ext
44162 cat >>conftest.$ac_ext <<_ACEOF
44163 /* end confdefs.h. */
44164
44165 #include <time.h>
44166
44167 int
44168 main ()
44169 {
44170
44171 int tz;
44172 tz = timezone;
44173
44174 ;
44175 return 0;
44176 }
44177 _ACEOF
44178 rm -f conftest.$ac_objext
44179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44180 (eval $ac_compile) 2>conftest.er1
44181 ac_status=$?
44182 grep -v '^ *+' conftest.er1 >conftest.err
44183 rm -f conftest.er1
44184 cat conftest.err >&5
44185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44186 (exit $ac_status); } &&
44187 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44189 (eval $ac_try) 2>&5
44190 ac_status=$?
44191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44192 (exit $ac_status); }; } &&
44193 { ac_try='test -s conftest.$ac_objext'
44194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44195 (eval $ac_try) 2>&5
44196 ac_status=$?
44197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44198 (exit $ac_status); }; }; then
44199
44200 wx_cv_var_timezone=timezone
44201
44202 else
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.$ac_ext >&5
44205
44206
44207 cat >conftest.$ac_ext <<_ACEOF
44208 /* confdefs.h. */
44209 _ACEOF
44210 cat confdefs.h >>conftest.$ac_ext
44211 cat >>conftest.$ac_ext <<_ACEOF
44212 /* end confdefs.h. */
44213
44214 #include <time.h>
44215
44216 int
44217 main ()
44218 {
44219
44220 int tz;
44221 tz = _timezone;
44222
44223 ;
44224 return 0;
44225 }
44226 _ACEOF
44227 rm -f conftest.$ac_objext
44228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44229 (eval $ac_compile) 2>conftest.er1
44230 ac_status=$?
44231 grep -v '^ *+' conftest.er1 >conftest.err
44232 rm -f conftest.er1
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } &&
44236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44238 (eval $ac_try) 2>&5
44239 ac_status=$?
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); }; } &&
44242 { ac_try='test -s conftest.$ac_objext'
44243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44244 (eval $ac_try) 2>&5
44245 ac_status=$?
44246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247 (exit $ac_status); }; }; then
44248
44249 wx_cv_var_timezone=_timezone
44250
44251 else
44252 echo "$as_me: failed program was:" >&5
44253 sed 's/^/| /' conftest.$ac_ext >&5
44254
44255
44256 cat >conftest.$ac_ext <<_ACEOF
44257 /* confdefs.h. */
44258 _ACEOF
44259 cat confdefs.h >>conftest.$ac_ext
44260 cat >>conftest.$ac_ext <<_ACEOF
44261 /* end confdefs.h. */
44262
44263 #include <time.h>
44264
44265 int
44266 main ()
44267 {
44268
44269 int tz;
44270 tz = __timezone;
44271
44272 ;
44273 return 0;
44274 }
44275 _ACEOF
44276 rm -f conftest.$ac_objext
44277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44278 (eval $ac_compile) 2>conftest.er1
44279 ac_status=$?
44280 grep -v '^ *+' conftest.er1 >conftest.err
44281 rm -f conftest.er1
44282 cat conftest.err >&5
44283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44284 (exit $ac_status); } &&
44285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44287 (eval $ac_try) 2>&5
44288 ac_status=$?
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); }; } &&
44291 { ac_try='test -s conftest.$ac_objext'
44292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44293 (eval $ac_try) 2>&5
44294 ac_status=$?
44295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 (exit $ac_status); }; }; then
44297
44298 wx_cv_var_timezone=__timezone
44299
44300 else
44301 echo "$as_me: failed program was:" >&5
44302 sed 's/^/| /' conftest.$ac_ext >&5
44303
44304
44305 if test "$USE_DOS" = 0 ; then
44306 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44307 echo "$as_me: WARNING: no timezone variable" >&2;}
44308 fi
44309
44310
44311 fi
44312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44313
44314
44315 fi
44316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44317
44318
44319 fi
44320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44321 ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44326
44327
44328
44329 fi
44330 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44331 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44332
44333 if test "x$wx_cv_var_timezone" != x ; then
44334 cat >>confdefs.h <<_ACEOF
44335 #define WX_TIMEZONE $wx_cv_var_timezone
44336 _ACEOF
44337
44338 fi
44339
44340
44341 for ac_func in localtime
44342 do
44343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44344 echo "$as_me:$LINENO: checking for $ac_func" >&5
44345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44346 if eval "test \"\${$as_ac_var+set}\" = set"; then
44347 echo $ECHO_N "(cached) $ECHO_C" >&6
44348 else
44349 cat >conftest.$ac_ext <<_ACEOF
44350 /* confdefs.h. */
44351 _ACEOF
44352 cat confdefs.h >>conftest.$ac_ext
44353 cat >>conftest.$ac_ext <<_ACEOF
44354 /* end confdefs.h. */
44355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44357 #define $ac_func innocuous_$ac_func
44358
44359 /* System header to define __stub macros and hopefully few prototypes,
44360 which can conflict with char $ac_func (); below.
44361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44362 <limits.h> exists even on freestanding compilers. */
44363
44364 #ifdef __STDC__
44365 # include <limits.h>
44366 #else
44367 # include <assert.h>
44368 #endif
44369
44370 #undef $ac_func
44371
44372 /* Override any gcc2 internal prototype to avoid an error. */
44373 #ifdef __cplusplus
44374 extern "C"
44375 {
44376 #endif
44377 /* We use char because int might match the return type of a gcc2
44378 builtin and then its argument prototype would still apply. */
44379 char $ac_func ();
44380 /* The GNU C library defines this for functions which it implements
44381 to always fail with ENOSYS. Some functions are actually named
44382 something starting with __ and the normal name is an alias. */
44383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44384 choke me
44385 #else
44386 char (*f) () = $ac_func;
44387 #endif
44388 #ifdef __cplusplus
44389 }
44390 #endif
44391
44392 int
44393 main ()
44394 {
44395 return f != $ac_func;
44396 ;
44397 return 0;
44398 }
44399 _ACEOF
44400 rm -f conftest.$ac_objext conftest$ac_exeext
44401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44402 (eval $ac_link) 2>conftest.er1
44403 ac_status=$?
44404 grep -v '^ *+' conftest.er1 >conftest.err
44405 rm -f conftest.er1
44406 cat conftest.err >&5
44407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44408 (exit $ac_status); } &&
44409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44411 (eval $ac_try) 2>&5
44412 ac_status=$?
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); }; } &&
44415 { ac_try='test -s conftest$ac_exeext'
44416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44417 (eval $ac_try) 2>&5
44418 ac_status=$?
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); }; }; then
44421 eval "$as_ac_var=yes"
44422 else
44423 echo "$as_me: failed program was:" >&5
44424 sed 's/^/| /' conftest.$ac_ext >&5
44425
44426 eval "$as_ac_var=no"
44427 fi
44428 rm -f conftest.err conftest.$ac_objext \
44429 conftest$ac_exeext conftest.$ac_ext
44430 fi
44431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44433 if test `eval echo '${'$as_ac_var'}'` = yes; then
44434 cat >>confdefs.h <<_ACEOF
44435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44436 _ACEOF
44437
44438 fi
44439 done
44440
44441
44442 if test "$ac_cv_func_localtime" = "yes"; then
44443 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44444 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44445 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44448
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h. */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44455
44456 #include <time.h>
44457
44458 int
44459 main ()
44460 {
44461
44462 struct tm tm;
44463 tm.tm_gmtoff++;
44464
44465 ;
44466 return 0;
44467 }
44468 _ACEOF
44469 rm -f conftest.$ac_objext
44470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44471 (eval $ac_compile) 2>conftest.er1
44472 ac_status=$?
44473 grep -v '^ *+' conftest.er1 >conftest.err
44474 rm -f conftest.er1
44475 cat conftest.err >&5
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); } &&
44478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44480 (eval $ac_try) 2>&5
44481 ac_status=$?
44482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44483 (exit $ac_status); }; } &&
44484 { ac_try='test -s conftest.$ac_objext'
44485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44486 (eval $ac_try) 2>&5
44487 ac_status=$?
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); }; }; then
44490
44491 wx_cv_struct_tm_has_gmtoff=yes
44492
44493 else
44494 echo "$as_me: failed program was:" >&5
44495 sed 's/^/| /' conftest.$ac_ext >&5
44496
44497 wx_cv_struct_tm_has_gmtoff=no
44498
44499 fi
44500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44501
44502 fi
44503 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44504 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44505 fi
44506
44507 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44508 cat >>confdefs.h <<\_ACEOF
44509 #define WX_GMTOFF_IN_TM 1
44510 _ACEOF
44511
44512 fi
44513
44514
44515
44516 for ac_func in gettimeofday ftime
44517 do
44518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44519 echo "$as_me:$LINENO: checking for $ac_func" >&5
44520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44521 if eval "test \"\${$as_ac_var+set}\" = set"; then
44522 echo $ECHO_N "(cached) $ECHO_C" >&6
44523 else
44524 cat >conftest.$ac_ext <<_ACEOF
44525 /* confdefs.h. */
44526 _ACEOF
44527 cat confdefs.h >>conftest.$ac_ext
44528 cat >>conftest.$ac_ext <<_ACEOF
44529 /* end confdefs.h. */
44530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44532 #define $ac_func innocuous_$ac_func
44533
44534 /* System header to define __stub macros and hopefully few prototypes,
44535 which can conflict with char $ac_func (); below.
44536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44537 <limits.h> exists even on freestanding compilers. */
44538
44539 #ifdef __STDC__
44540 # include <limits.h>
44541 #else
44542 # include <assert.h>
44543 #endif
44544
44545 #undef $ac_func
44546
44547 /* Override any gcc2 internal prototype to avoid an error. */
44548 #ifdef __cplusplus
44549 extern "C"
44550 {
44551 #endif
44552 /* We use char because int might match the return type of a gcc2
44553 builtin and then its argument prototype would still apply. */
44554 char $ac_func ();
44555 /* The GNU C library defines this for functions which it implements
44556 to always fail with ENOSYS. Some functions are actually named
44557 something starting with __ and the normal name is an alias. */
44558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44559 choke me
44560 #else
44561 char (*f) () = $ac_func;
44562 #endif
44563 #ifdef __cplusplus
44564 }
44565 #endif
44566
44567 int
44568 main ()
44569 {
44570 return f != $ac_func;
44571 ;
44572 return 0;
44573 }
44574 _ACEOF
44575 rm -f conftest.$ac_objext conftest$ac_exeext
44576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44577 (eval $ac_link) 2>conftest.er1
44578 ac_status=$?
44579 grep -v '^ *+' conftest.er1 >conftest.err
44580 rm -f conftest.er1
44581 cat conftest.err >&5
44582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583 (exit $ac_status); } &&
44584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44586 (eval $ac_try) 2>&5
44587 ac_status=$?
44588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589 (exit $ac_status); }; } &&
44590 { ac_try='test -s conftest$ac_exeext'
44591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44592 (eval $ac_try) 2>&5
44593 ac_status=$?
44594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595 (exit $ac_status); }; }; then
44596 eval "$as_ac_var=yes"
44597 else
44598 echo "$as_me: failed program was:" >&5
44599 sed 's/^/| /' conftest.$ac_ext >&5
44600
44601 eval "$as_ac_var=no"
44602 fi
44603 rm -f conftest.err conftest.$ac_objext \
44604 conftest$ac_exeext conftest.$ac_ext
44605 fi
44606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44608 if test `eval echo '${'$as_ac_var'}'` = yes; then
44609 cat >>confdefs.h <<_ACEOF
44610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44611 _ACEOF
44612 break
44613 fi
44614 done
44615
44616
44617 if test "$ac_cv_func_gettimeofday" = "yes"; then
44618 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44619 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44620 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44621 echo $ECHO_N "(cached) $ECHO_C" >&6
44622 else
44623
44624 cat >conftest.$ac_ext <<_ACEOF
44625 /* confdefs.h. */
44626 _ACEOF
44627 cat confdefs.h >>conftest.$ac_ext
44628 cat >>conftest.$ac_ext <<_ACEOF
44629 /* end confdefs.h. */
44630
44631 #include <sys/time.h>
44632 #include <unistd.h>
44633
44634 int
44635 main ()
44636 {
44637
44638 struct timeval tv;
44639 gettimeofday(&tv, NULL);
44640
44641 ;
44642 return 0;
44643 }
44644 _ACEOF
44645 rm -f conftest.$ac_objext
44646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44647 (eval $ac_compile) 2>conftest.er1
44648 ac_status=$?
44649 grep -v '^ *+' conftest.er1 >conftest.err
44650 rm -f conftest.er1
44651 cat conftest.err >&5
44652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653 (exit $ac_status); } &&
44654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44656 (eval $ac_try) 2>&5
44657 ac_status=$?
44658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44659 (exit $ac_status); }; } &&
44660 { ac_try='test -s conftest.$ac_objext'
44661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44662 (eval $ac_try) 2>&5
44663 ac_status=$?
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); }; }; then
44666 wx_cv_func_gettimeofday_has_2_args=yes
44667 else
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.$ac_ext >&5
44670
44671 cat >conftest.$ac_ext <<_ACEOF
44672 /* confdefs.h. */
44673 _ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677
44678 #include <sys/time.h>
44679 #include <unistd.h>
44680
44681 int
44682 main ()
44683 {
44684
44685 struct timeval tv;
44686 gettimeofday(&tv);
44687
44688 ;
44689 return 0;
44690 }
44691 _ACEOF
44692 rm -f conftest.$ac_objext
44693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44694 (eval $ac_compile) 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } &&
44701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; } &&
44707 { ac_try='test -s conftest.$ac_objext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 wx_cv_func_gettimeofday_has_2_args=no
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718
44719 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44720 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44721 wx_cv_func_gettimeofday_has_2_args=unknown
44722
44723
44724 fi
44725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44726
44727 fi
44728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44729
44730 fi
44731 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44732 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44733
44734 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define WX_GETTIMEOFDAY_NO_TZ 1
44737 _ACEOF
44738
44739 fi
44740 fi
44741
44742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44743 fi
44744
44745
44746 if test "$wxUSE_SOCKETS" = "yes"; then
44747 if test "$wxUSE_MGL" = "1"; then
44748 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44749 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44750 wxUSE_SOCKETS="no"
44751 fi
44752 fi
44753
44754 if test "$wxUSE_SOCKETS" = "yes"; then
44755 if test "$TOOLKIT" != "MSW"; then
44756 echo "$as_me:$LINENO: checking for socket" >&5
44757 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44758 if test "${ac_cv_func_socket+set}" = set; then
44759 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 else
44761 cat >conftest.$ac_ext <<_ACEOF
44762 /* confdefs.h. */
44763 _ACEOF
44764 cat confdefs.h >>conftest.$ac_ext
44765 cat >>conftest.$ac_ext <<_ACEOF
44766 /* end confdefs.h. */
44767 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44769 #define socket innocuous_socket
44770
44771 /* System header to define __stub macros and hopefully few prototypes,
44772 which can conflict with char socket (); below.
44773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44774 <limits.h> exists even on freestanding compilers. */
44775
44776 #ifdef __STDC__
44777 # include <limits.h>
44778 #else
44779 # include <assert.h>
44780 #endif
44781
44782 #undef socket
44783
44784 /* Override any gcc2 internal prototype to avoid an error. */
44785 #ifdef __cplusplus
44786 extern "C"
44787 {
44788 #endif
44789 /* We use char because int might match the return type of a gcc2
44790 builtin and then its argument prototype would still apply. */
44791 char socket ();
44792 /* The GNU C library defines this for functions which it implements
44793 to always fail with ENOSYS. Some functions are actually named
44794 something starting with __ and the normal name is an alias. */
44795 #if defined (__stub_socket) || defined (__stub___socket)
44796 choke me
44797 #else
44798 char (*f) () = socket;
44799 #endif
44800 #ifdef __cplusplus
44801 }
44802 #endif
44803
44804 int
44805 main ()
44806 {
44807 return f != socket;
44808 ;
44809 return 0;
44810 }
44811 _ACEOF
44812 rm -f conftest.$ac_objext conftest$ac_exeext
44813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44814 (eval $ac_link) 2>conftest.er1
44815 ac_status=$?
44816 grep -v '^ *+' conftest.er1 >conftest.err
44817 rm -f conftest.er1
44818 cat conftest.err >&5
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); } &&
44821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44824 ac_status=$?
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; } &&
44827 { ac_try='test -s conftest$ac_exeext'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; }; then
44833 ac_cv_func_socket=yes
44834 else
44835 echo "$as_me: failed program was:" >&5
44836 sed 's/^/| /' conftest.$ac_ext >&5
44837
44838 ac_cv_func_socket=no
44839 fi
44840 rm -f conftest.err conftest.$ac_objext \
44841 conftest$ac_exeext conftest.$ac_ext
44842 fi
44843 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44844 echo "${ECHO_T}$ac_cv_func_socket" >&6
44845 if test $ac_cv_func_socket = yes; then
44846 :
44847 else
44848
44849 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44850 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44851 if test "${ac_cv_lib_socket_socket+set}" = set; then
44852 echo $ECHO_N "(cached) $ECHO_C" >&6
44853 else
44854 ac_check_lib_save_LIBS=$LIBS
44855 LIBS="-lsocket $LIBS"
44856 cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h. */
44858 _ACEOF
44859 cat confdefs.h >>conftest.$ac_ext
44860 cat >>conftest.$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862
44863 /* Override any gcc2 internal prototype to avoid an error. */
44864 #ifdef __cplusplus
44865 extern "C"
44866 #endif
44867 /* We use char because int might match the return type of a gcc2
44868 builtin and then its argument prototype would still apply. */
44869 char socket ();
44870 int
44871 main ()
44872 {
44873 socket ();
44874 ;
44875 return 0;
44876 }
44877 _ACEOF
44878 rm -f conftest.$ac_objext conftest$ac_exeext
44879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44880 (eval $ac_link) 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } &&
44887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44889 (eval $ac_try) 2>&5
44890 ac_status=$?
44891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892 (exit $ac_status); }; } &&
44893 { ac_try='test -s conftest$ac_exeext'
44894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44895 (eval $ac_try) 2>&5
44896 ac_status=$?
44897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44898 (exit $ac_status); }; }; then
44899 ac_cv_lib_socket_socket=yes
44900 else
44901 echo "$as_me: failed program was:" >&5
44902 sed 's/^/| /' conftest.$ac_ext >&5
44903
44904 ac_cv_lib_socket_socket=no
44905 fi
44906 rm -f conftest.err conftest.$ac_objext \
44907 conftest$ac_exeext conftest.$ac_ext
44908 LIBS=$ac_check_lib_save_LIBS
44909 fi
44910 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44911 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44912 if test $ac_cv_lib_socket_socket = yes; then
44913 if test "$INET_LINK" != " -lsocket"; then
44914 INET_LINK="$INET_LINK -lsocket"
44915 fi
44916 else
44917
44918 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44919 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44920 wxUSE_SOCKETS=no
44921
44922
44923 fi
44924
44925
44926
44927 fi
44928
44929 fi
44930 fi
44931
44932 if test "$wxUSE_SOCKETS" = "yes" ; then
44933 if test "$TOOLKIT" != "MSW"; then
44934 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44935 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44936 if test "${wx_cv_type_getsockname3+set}" = set; then
44937 echo $ECHO_N "(cached) $ECHO_C" >&6
44938 else
44939
44940 ac_ext=cc
44941 ac_cpp='$CXXCPP $CPPFLAGS'
44942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44945
44946 cat >conftest.$ac_ext <<_ACEOF
44947 /* confdefs.h. */
44948 _ACEOF
44949 cat confdefs.h >>conftest.$ac_ext
44950 cat >>conftest.$ac_ext <<_ACEOF
44951 /* end confdefs.h. */
44952
44953 #include <sys/types.h>
44954 #include <sys/socket.h>
44955
44956 int
44957 main ()
44958 {
44959
44960 socklen_t len;
44961 getsockname(0, 0, &len);
44962
44963 ;
44964 return 0;
44965 }
44966 _ACEOF
44967 rm -f conftest.$ac_objext
44968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44969 (eval $ac_compile) 2>conftest.er1
44970 ac_status=$?
44971 grep -v '^ *+' conftest.er1 >conftest.err
44972 rm -f conftest.er1
44973 cat conftest.err >&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } &&
44976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44979 ac_status=$?
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; } &&
44982 { ac_try='test -s conftest.$ac_objext'
44983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44984 (eval $ac_try) 2>&5
44985 ac_status=$?
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; }; then
44988 wx_cv_type_getsockname3=socklen_t
44989 else
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44992
44993
44994 CFLAGS_OLD="$CFLAGS"
44995 if test "$GCC" = yes ; then
44996 CFLAGS="-Werror $CFLAGS"
44997 fi
44998
44999 cat >conftest.$ac_ext <<_ACEOF
45000 /* confdefs.h. */
45001 _ACEOF
45002 cat confdefs.h >>conftest.$ac_ext
45003 cat >>conftest.$ac_ext <<_ACEOF
45004 /* end confdefs.h. */
45005
45006 #include <sys/types.h>
45007 #include <sys/socket.h>
45008
45009 int
45010 main ()
45011 {
45012
45013 size_t len;
45014 getsockname(0, 0, &len);
45015
45016 ;
45017 return 0;
45018 }
45019 _ACEOF
45020 rm -f conftest.$ac_objext
45021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45022 (eval $ac_compile) 2>conftest.er1
45023 ac_status=$?
45024 grep -v '^ *+' conftest.er1 >conftest.err
45025 rm -f conftest.er1
45026 cat conftest.err >&5
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); } &&
45029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45031 (eval $ac_try) 2>&5
45032 ac_status=$?
45033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45034 (exit $ac_status); }; } &&
45035 { ac_try='test -s conftest.$ac_objext'
45036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45037 (eval $ac_try) 2>&5
45038 ac_status=$?
45039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45040 (exit $ac_status); }; }; then
45041 wx_cv_type_getsockname3=size_t
45042 else
45043 echo "$as_me: failed program was:" >&5
45044 sed 's/^/| /' conftest.$ac_ext >&5
45045
45046 cat >conftest.$ac_ext <<_ACEOF
45047 /* confdefs.h. */
45048 _ACEOF
45049 cat confdefs.h >>conftest.$ac_ext
45050 cat >>conftest.$ac_ext <<_ACEOF
45051 /* end confdefs.h. */
45052
45053 #include <sys/types.h>
45054 #include <sys/socket.h>
45055
45056 int
45057 main ()
45058 {
45059
45060 int len;
45061 getsockname(0, 0, &len);
45062
45063 ;
45064 return 0;
45065 }
45066 _ACEOF
45067 rm -f conftest.$ac_objext
45068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45069 (eval $ac_compile) 2>conftest.er1
45070 ac_status=$?
45071 grep -v '^ *+' conftest.er1 >conftest.err
45072 rm -f conftest.er1
45073 cat conftest.err >&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); } &&
45076 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078 (eval $ac_try) 2>&5
45079 ac_status=$?
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); }; } &&
45082 { ac_try='test -s conftest.$ac_objext'
45083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45084 (eval $ac_try) 2>&5
45085 ac_status=$?
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; }; then
45088 wx_cv_type_getsockname3=int
45089 else
45090 echo "$as_me: failed program was:" >&5
45091 sed 's/^/| /' conftest.$ac_ext >&5
45092
45093 wx_cv_type_getsockname3=unknown
45094
45095 fi
45096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45097
45098 fi
45099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45100
45101 CFLAGS="$CFLAGS_OLD"
45102
45103
45104 fi
45105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45106 ac_ext=c
45107 ac_cpp='$CPP $CPPFLAGS'
45108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45111
45112
45113 fi
45114 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45115 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45116
45117 if test "$wx_cv_type_getsockname3" = "unknown"; then
45118 wxUSE_SOCKETS=no
45119 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45120 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45121 else
45122 cat >>confdefs.h <<_ACEOF
45123 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45124 _ACEOF
45125
45126 fi
45127 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45128 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45129 if test "${wx_cv_type_getsockopt5+set}" = set; then
45130 echo $ECHO_N "(cached) $ECHO_C" >&6
45131 else
45132
45133 cat >conftest.$ac_ext <<_ACEOF
45134 /* confdefs.h. */
45135 _ACEOF
45136 cat confdefs.h >>conftest.$ac_ext
45137 cat >>conftest.$ac_ext <<_ACEOF
45138 /* end confdefs.h. */
45139
45140 #include <sys/types.h>
45141 #include <sys/socket.h>
45142
45143 int
45144 main ()
45145 {
45146
45147 socklen_t len;
45148 getsockopt(0, 0, 0, 0, &len);
45149
45150 ;
45151 return 0;
45152 }
45153 _ACEOF
45154 rm -f conftest.$ac_objext
45155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45156 (eval $ac_compile) 2>conftest.er1
45157 ac_status=$?
45158 grep -v '^ *+' conftest.er1 >conftest.err
45159 rm -f conftest.er1
45160 cat conftest.err >&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } &&
45163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45165 (eval $ac_try) 2>&5
45166 ac_status=$?
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); }; } &&
45169 { ac_try='test -s conftest.$ac_objext'
45170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171 (eval $ac_try) 2>&5
45172 ac_status=$?
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); }; }; then
45175 wx_cv_type_getsockopt5=socklen_t
45176 else
45177 echo "$as_me: failed program was:" >&5
45178 sed 's/^/| /' conftest.$ac_ext >&5
45179
45180
45181 ac_ext=cc
45182 ac_cpp='$CXXCPP $CPPFLAGS'
45183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45186
45187 cat >conftest.$ac_ext <<_ACEOF
45188 /* confdefs.h. */
45189 _ACEOF
45190 cat confdefs.h >>conftest.$ac_ext
45191 cat >>conftest.$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45193
45194 #include <sys/types.h>
45195 #include <sys/socket.h>
45196
45197 int
45198 main ()
45199 {
45200
45201 size_t len;
45202 getsockopt(0, 0, 0, 0, &len);
45203
45204 ;
45205 return 0;
45206 }
45207 _ACEOF
45208 rm -f conftest.$ac_objext
45209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45210 (eval $ac_compile) 2>conftest.er1
45211 ac_status=$?
45212 grep -v '^ *+' conftest.er1 >conftest.err
45213 rm -f conftest.er1
45214 cat conftest.err >&5
45215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45216 (exit $ac_status); } &&
45217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45219 (eval $ac_try) 2>&5
45220 ac_status=$?
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); }; } &&
45223 { ac_try='test -s conftest.$ac_objext'
45224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45225 (eval $ac_try) 2>&5
45226 ac_status=$?
45227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45228 (exit $ac_status); }; }; then
45229 wx_cv_type_getsockopt5=size_t
45230 else
45231 echo "$as_me: failed program was:" >&5
45232 sed 's/^/| /' conftest.$ac_ext >&5
45233
45234 cat >conftest.$ac_ext <<_ACEOF
45235 /* confdefs.h. */
45236 _ACEOF
45237 cat confdefs.h >>conftest.$ac_ext
45238 cat >>conftest.$ac_ext <<_ACEOF
45239 /* end confdefs.h. */
45240
45241 #include <sys/types.h>
45242 #include <sys/socket.h>
45243
45244 int
45245 main ()
45246 {
45247
45248 int len;
45249 getsockopt(0, 0, 0, 0, &len);
45250
45251 ;
45252 return 0;
45253 }
45254 _ACEOF
45255 rm -f conftest.$ac_objext
45256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45257 (eval $ac_compile) 2>conftest.er1
45258 ac_status=$?
45259 grep -v '^ *+' conftest.er1 >conftest.err
45260 rm -f conftest.er1
45261 cat conftest.err >&5
45262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45263 (exit $ac_status); } &&
45264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45266 (eval $ac_try) 2>&5
45267 ac_status=$?
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); }; } &&
45270 { ac_try='test -s conftest.$ac_objext'
45271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45272 (eval $ac_try) 2>&5
45273 ac_status=$?
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); }; }; then
45276 wx_cv_type_getsockopt5=int
45277 else
45278 echo "$as_me: failed program was:" >&5
45279 sed 's/^/| /' conftest.$ac_ext >&5
45280
45281 wx_cv_type_getsockopt5=unknown
45282
45283 fi
45284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45285
45286 fi
45287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45288 ac_ext=c
45289 ac_cpp='$CPP $CPPFLAGS'
45290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45293
45294
45295
45296 fi
45297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45298
45299 fi
45300 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45301 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45302
45303 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45304 wxUSE_SOCKETS=no
45305 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45306 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45307 else
45308 cat >>confdefs.h <<_ACEOF
45309 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45310 _ACEOF
45311
45312 fi
45313 fi
45314 fi
45315
45316 if test "$wxUSE_SOCKETS" = "yes" ; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_SOCKETS 1
45319 _ACEOF
45320
45321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45322 fi
45323
45324 if test "$wxUSE_PROTOCOL" = "yes"; then
45325 if test "$wxUSE_SOCKETS" != "yes"; then
45326 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45327 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45328 wxUSE_PROTOCOL=no
45329 fi
45330 fi
45331
45332 if test "$wxUSE_PROTOCOL" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_PROTOCOL 1
45335 _ACEOF
45336
45337
45338 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45339 cat >>confdefs.h <<\_ACEOF
45340 #define wxUSE_PROTOCOL_HTTP 1
45341 _ACEOF
45342
45343 fi
45344 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_PROTOCOL_FTP 1
45347 _ACEOF
45348
45349 fi
45350 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_PROTOCOL_FILE 1
45353 _ACEOF
45354
45355 fi
45356 else
45357 if test "$wxUSE_FS_INET" = "yes"; then
45358 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45359 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45360 wxUSE_FS_INET="no"
45361 fi
45362 fi
45363
45364 if test "$wxUSE_URL" = "yes"; then
45365 if test "$wxUSE_PROTOCOL" != "yes"; then
45366 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45367 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45368 wxUSE_URL=no
45369 fi
45370 if test "$wxUSE_URL" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_URL 1
45373 _ACEOF
45374
45375 fi
45376 fi
45377
45378 if test "$wxUSE_VARIANT" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_VARIANT 1
45381 _ACEOF
45382
45383 fi
45384
45385 if test "$wxUSE_FS_INET" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_FS_INET 1
45388 _ACEOF
45389
45390 fi
45391
45392
45393 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45394 wxUSE_JOYSTICK=no
45395
45396 if test "$TOOLKIT" = "MSW"; then
45397 wxUSE_JOYSTICK=yes
45398
45399 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45400 if test "$USE_DARWIN" = 1; then
45401 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45402 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45403 ac_ext=cc
45404 ac_cpp='$CXXCPP $CPPFLAGS'
45405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45408
45409 cat >conftest.$ac_ext <<_ACEOF
45410 /* confdefs.h. */
45411 _ACEOF
45412 cat confdefs.h >>conftest.$ac_ext
45413 cat >>conftest.$ac_ext <<_ACEOF
45414 /* end confdefs.h. */
45415 #include <IOKit/hid/IOHIDLib.h>
45416 int
45417 main ()
45418 {
45419 IOHIDQueueInterface *qi = NULL;
45420 IOHIDCallbackFunction cb = NULL;
45421 qi->setEventCallout(NULL, cb, NULL, NULL);
45422 ;
45423 return 0;
45424 }
45425 _ACEOF
45426 rm -f conftest.$ac_objext
45427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45428 (eval $ac_compile) 2>conftest.er1
45429 ac_status=$?
45430 grep -v '^ *+' conftest.er1 >conftest.err
45431 rm -f conftest.er1
45432 cat conftest.err >&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); } &&
45435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45437 (eval $ac_try) 2>&5
45438 ac_status=$?
45439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440 (exit $ac_status); }; } &&
45441 { ac_try='test -s conftest.$ac_objext'
45442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45443 (eval $ac_try) 2>&5
45444 ac_status=$?
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); }; }; then
45447 wxUSE_JOYSTICK=yes
45448
45449 else
45450 echo "$as_me: failed program was:" >&5
45451 sed 's/^/| /' conftest.$ac_ext >&5
45452
45453 fi
45454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45455 ac_ext=c
45456 ac_cpp='$CPP $CPPFLAGS'
45457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45460
45461 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45462 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45463 fi
45464
45465 else
45466 if test "$wxUSE_MGL" != "1"; then
45467 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45468 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
45469 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45470 echo $ECHO_N "(cached) $ECHO_C" >&6
45471 else
45472 cat >conftest.$ac_ext <<_ACEOF
45473 /* confdefs.h. */
45474 _ACEOF
45475 cat confdefs.h >>conftest.$ac_ext
45476 cat >>conftest.$ac_ext <<_ACEOF
45477 /* end confdefs.h. */
45478 #include <stdio.h>
45479
45480 #include <linux/joystick.h>
45481 _ACEOF
45482 rm -f conftest.$ac_objext
45483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45484 (eval $ac_compile) 2>conftest.er1
45485 ac_status=$?
45486 grep -v '^ *+' conftest.er1 >conftest.err
45487 rm -f conftest.er1
45488 cat conftest.err >&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); } &&
45491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45493 (eval $ac_try) 2>&5
45494 ac_status=$?
45495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45496 (exit $ac_status); }; } &&
45497 { ac_try='test -s conftest.$ac_objext'
45498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45499 (eval $ac_try) 2>&5
45500 ac_status=$?
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); }; }; then
45503 ac_cv_header_linux_joystick_h=yes
45504 else
45505 echo "$as_me: failed program was:" >&5
45506 sed 's/^/| /' conftest.$ac_ext >&5
45507
45508 ac_cv_header_linux_joystick_h=no
45509 fi
45510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45511 fi
45512 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45513 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
45514 if test $ac_cv_header_linux_joystick_h = yes; then
45515 wxUSE_JOYSTICK=yes
45516 fi
45517
45518
45519 fi
45520 fi
45521
45522 if test "$wxUSE_JOYSTICK" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_JOYSTICK 1
45525 _ACEOF
45526
45527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45528 else
45529 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45530 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45531 fi
45532 fi
45533
45534
45535
45536 if test "$wxUSE_FONTMAP" = "yes" ; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_FONTMAP 1
45539 _ACEOF
45540
45541 fi
45542
45543 if test "$wxUSE_UNICODE" = "yes" ; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_UNICODE 1
45546 _ACEOF
45547
45548
45549 if test "$USE_WIN32" != 1; then
45550 wxUSE_UNICODE_MSLU=no
45551 fi
45552
45553 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45554 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45555 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45556 if test "${ac_cv_lib_unicows_main+set}" = set; then
45557 echo $ECHO_N "(cached) $ECHO_C" >&6
45558 else
45559 ac_check_lib_save_LIBS=$LIBS
45560 LIBS="-lunicows $LIBS"
45561 cat >conftest.$ac_ext <<_ACEOF
45562 /* confdefs.h. */
45563 _ACEOF
45564 cat confdefs.h >>conftest.$ac_ext
45565 cat >>conftest.$ac_ext <<_ACEOF
45566 /* end confdefs.h. */
45567
45568
45569 int
45570 main ()
45571 {
45572 main ();
45573 ;
45574 return 0;
45575 }
45576 _ACEOF
45577 rm -f conftest.$ac_objext conftest$ac_exeext
45578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45579 (eval $ac_link) 2>conftest.er1
45580 ac_status=$?
45581 grep -v '^ *+' conftest.er1 >conftest.err
45582 rm -f conftest.er1
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } &&
45586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45588 (eval $ac_try) 2>&5
45589 ac_status=$?
45590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45591 (exit $ac_status); }; } &&
45592 { ac_try='test -s conftest$ac_exeext'
45593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45594 (eval $ac_try) 2>&5
45595 ac_status=$?
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); }; }; then
45598 ac_cv_lib_unicows_main=yes
45599 else
45600 echo "$as_me: failed program was:" >&5
45601 sed 's/^/| /' conftest.$ac_ext >&5
45602
45603 ac_cv_lib_unicows_main=no
45604 fi
45605 rm -f conftest.err conftest.$ac_objext \
45606 conftest$ac_exeext conftest.$ac_ext
45607 LIBS=$ac_check_lib_save_LIBS
45608 fi
45609 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45610 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45611 if test $ac_cv_lib_unicows_main = yes; then
45612
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_UNICODE_MSLU 1
45615 _ACEOF
45616
45617
45618 else
45619
45620 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45621 Applications will only run on Windows NT/2000/XP!" >&5
45622 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45623 Applications will only run on Windows NT/2000/XP!" >&2;}
45624 wxUSE_UNICODE_MSLU=no
45625
45626 fi
45627
45628 fi
45629 fi
45630
45631 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_EXPERIMENTAL_PRINTF 1
45634 _ACEOF
45635
45636 fi
45637
45638
45639 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_POSTSCRIPT 1
45642 _ACEOF
45643
45644 fi
45645
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45648 _ACEOF
45649
45650
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_NORMALIZED_PS_FONTS 1
45653 _ACEOF
45654
45655
45656
45657 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_CONSTRAINTS 1
45660 _ACEOF
45661
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45663 fi
45664
45665 if test "$wxUSE_MDI" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_MDI 1
45668 _ACEOF
45669
45670
45671 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_MDI_ARCHITECTURE 1
45674 _ACEOF
45675
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45677 fi
45678 fi
45679
45680 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45683 _ACEOF
45684
45685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45686 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45688 fi
45689 fi
45690
45691 if test "$wxUSE_HELP" = "yes"; then
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_HELP 1
45694 _ACEOF
45695
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45697
45698 if test "$wxUSE_MSW" = 1; then
45699 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_MS_HTML_HELP 1
45702 _ACEOF
45703
45704 fi
45705 fi
45706
45707 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45708 if test "$wxUSE_HTML" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_WXHTML_HELP 1
45711 _ACEOF
45712
45713 else
45714 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45715 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45716 wxUSE_WXHTML_HELP=no
45717 fi
45718 fi
45719 fi
45720
45721 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45722 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45723 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45724 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45725 else
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_PRINTING_ARCHITECTURE 1
45728 _ACEOF
45729
45730 fi
45731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45732 fi
45733
45734 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45735 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45736 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45737 { (exit 1); exit 1; }; }
45738 fi
45739
45740
45741 if test "$wxUSE_METAFILE" = "yes"; then
45742 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45743 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45744 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45745 wxUSE_METAFILE=no
45746 fi
45747 fi
45748
45749
45750 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45751 -o "$wxUSE_CLIPBOARD" = "yes" \
45752 -o "$wxUSE_OLE" = "yes" \
45753 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45754
45755 for ac_header in ole2.h
45756 do
45757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45759 echo "$as_me:$LINENO: checking for $ac_header" >&5
45760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45762 echo $ECHO_N "(cached) $ECHO_C" >&6
45763 fi
45764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45766 else
45767 # Is the header compilable?
45768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45770 cat >conftest.$ac_ext <<_ACEOF
45771 /* confdefs.h. */
45772 _ACEOF
45773 cat confdefs.h >>conftest.$ac_ext
45774 cat >>conftest.$ac_ext <<_ACEOF
45775 /* end confdefs.h. */
45776 $ac_includes_default
45777 #include <$ac_header>
45778 _ACEOF
45779 rm -f conftest.$ac_objext
45780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45781 (eval $ac_compile) 2>conftest.er1
45782 ac_status=$?
45783 grep -v '^ *+' conftest.er1 >conftest.err
45784 rm -f conftest.er1
45785 cat conftest.err >&5
45786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45787 (exit $ac_status); } &&
45788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45790 (eval $ac_try) 2>&5
45791 ac_status=$?
45792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45793 (exit $ac_status); }; } &&
45794 { ac_try='test -s conftest.$ac_objext'
45795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45796 (eval $ac_try) 2>&5
45797 ac_status=$?
45798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45799 (exit $ac_status); }; }; then
45800 ac_header_compiler=yes
45801 else
45802 echo "$as_me: failed program was:" >&5
45803 sed 's/^/| /' conftest.$ac_ext >&5
45804
45805 ac_header_compiler=no
45806 fi
45807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45809 echo "${ECHO_T}$ac_header_compiler" >&6
45810
45811 # Is the header present?
45812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45814 cat >conftest.$ac_ext <<_ACEOF
45815 /* confdefs.h. */
45816 _ACEOF
45817 cat confdefs.h >>conftest.$ac_ext
45818 cat >>conftest.$ac_ext <<_ACEOF
45819 /* end confdefs.h. */
45820 #include <$ac_header>
45821 _ACEOF
45822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45824 ac_status=$?
45825 grep -v '^ *+' conftest.er1 >conftest.err
45826 rm -f conftest.er1
45827 cat conftest.err >&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } >/dev/null; then
45830 if test -s conftest.err; then
45831 ac_cpp_err=$ac_c_preproc_warn_flag
45832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45833 else
45834 ac_cpp_err=
45835 fi
45836 else
45837 ac_cpp_err=yes
45838 fi
45839 if test -z "$ac_cpp_err"; then
45840 ac_header_preproc=yes
45841 else
45842 echo "$as_me: failed program was:" >&5
45843 sed 's/^/| /' conftest.$ac_ext >&5
45844
45845 ac_header_preproc=no
45846 fi
45847 rm -f conftest.err conftest.$ac_ext
45848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45849 echo "${ECHO_T}$ac_header_preproc" >&6
45850
45851 # So? What about this header?
45852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45853 yes:no: )
45854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45858 ac_header_preproc=yes
45859 ;;
45860 no:yes:* )
45861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45873 (
45874 cat <<\_ASBOX
45875 ## ----------------------------------------- ##
45876 ## Report this to wx-dev@lists.wxwidgets.org ##
45877 ## ----------------------------------------- ##
45878 _ASBOX
45879 ) |
45880 sed "s/^/$as_me: WARNING: /" >&2
45881 ;;
45882 esac
45883 echo "$as_me:$LINENO: checking for $ac_header" >&5
45884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45886 echo $ECHO_N "(cached) $ECHO_C" >&6
45887 else
45888 eval "$as_ac_Header=\$ac_header_preproc"
45889 fi
45890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45892
45893 fi
45894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45895 cat >>confdefs.h <<_ACEOF
45896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45897 _ACEOF
45898
45899 fi
45900
45901 done
45902
45903
45904 if test "$ac_cv_header_ole2_h" = "yes" ; then
45905 if test "$GCC" = yes ; then
45906 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45907 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45908 cat >conftest.$ac_ext <<_ACEOF
45909 /* confdefs.h. */
45910 _ACEOF
45911 cat confdefs.h >>conftest.$ac_ext
45912 cat >>conftest.$ac_ext <<_ACEOF
45913 /* end confdefs.h. */
45914 #include <windows.h>
45915 #include <ole2.h>
45916 int
45917 main ()
45918 {
45919
45920 ;
45921 return 0;
45922 }
45923 _ACEOF
45924 rm -f conftest.$ac_objext
45925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45926 (eval $ac_compile) 2>conftest.er1
45927 ac_status=$?
45928 grep -v '^ *+' conftest.er1 >conftest.err
45929 rm -f conftest.er1
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } &&
45933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45935 (eval $ac_try) 2>&5
45936 ac_status=$?
45937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45938 (exit $ac_status); }; } &&
45939 { ac_try='test -s conftest.$ac_objext'
45940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45941 (eval $ac_try) 2>&5
45942 ac_status=$?
45943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45944 (exit $ac_status); }; }; then
45945 echo "$as_me:$LINENO: result: no" >&5
45946 echo "${ECHO_T}no" >&6
45947 else
45948 echo "$as_me: failed program was:" >&5
45949 sed 's/^/| /' conftest.$ac_ext >&5
45950
45951 echo "$as_me:$LINENO: result: yes" >&5
45952 echo "${ECHO_T}yes" >&6
45953 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45954 fi
45955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45956 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45957 if test "$wxUSE_OLE" = "yes" ; then
45958 cat >>confdefs.h <<\_ACEOF
45959 #define wxUSE_OLE 1
45960 _ACEOF
45961
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_OLE_AUTOMATION 1
45964 _ACEOF
45965
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_OLE_ACTIVEX 1
45968 _ACEOF
45969
45970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45971 fi
45972 fi
45973
45974 if test "$wxUSE_DATAOBJ" = "yes" ; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_DATAOBJ 1
45977 _ACEOF
45978
45979 fi
45980 else
45981 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45982 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45983
45984 wxUSE_CLIPBOARD=no
45985 wxUSE_DRAG_AND_DROP=no
45986 wxUSE_DATAOBJ=no
45987 wxUSE_OLE=no
45988 fi
45989
45990 if test "$wxUSE_METAFILE" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_METAFILE 1
45993 _ACEOF
45994
45995
45996 cat >>confdefs.h <<\_ACEOF
45997 #define wxUSE_ENH_METAFILE 1
45998 _ACEOF
45999
46000 fi
46001 fi
46002
46003 if test "$wxUSE_IPC" = "yes"; then
46004 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46005 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46006 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46007 wxUSE_IPC=no
46008 fi
46009
46010 if test "$wxUSE_IPC" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define wxUSE_IPC 1
46013 _ACEOF
46014
46015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46016 fi
46017 fi
46018
46019 if test "$wxUSE_DATAOBJ" = "yes"; then
46020 if test "$wxUSE_MGL" = 1; then
46021 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46022 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46023 wxUSE_DATAOBJ=no
46024 else
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_DATAOBJ 1
46027 _ACEOF
46028
46029 fi
46030 else
46031 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46032 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46033 wxUSE_CLIPBOARD=no
46034 wxUSE_DRAG_AND_DROP=no
46035 fi
46036
46037 if test "$wxUSE_CLIPBOARD" = "yes"; then
46038 if test "$wxUSE_MGL" = 1; then
46039 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46040 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46041 wxUSE_CLIPBOARD=no
46042 fi
46043
46044 if test "$wxUSE_CLIPBOARD" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_CLIPBOARD 1
46047 _ACEOF
46048
46049 fi
46050 fi
46051
46052 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46053 if test "$wxUSE_GTK" = 1; then
46054 if test "$WXGTK12" != 1; then
46055 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46056 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46057 wxUSE_DRAG_AND_DROP=no
46058 fi
46059 fi
46060
46061 if test "$wxUSE_MOTIF" = 1; then
46062 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46063 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46064 wxUSE_DRAG_AND_DROP=no
46065 fi
46066
46067 if test "$wxUSE_X11" = 1; then
46068 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46069 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46070 wxUSE_DRAG_AND_DROP=no
46071 fi
46072
46073 if test "$wxUSE_MGL" = 1; then
46074 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46075 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46076 wxUSE_DRAG_AND_DROP=no
46077 fi
46078
46079 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_DRAG_AND_DROP 1
46082 _ACEOF
46083
46084 fi
46085
46086 fi
46087
46088 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46090 fi
46091
46092 if test "$wxUSE_SPLINES" = "yes" ; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_SPLINES 1
46095 _ACEOF
46096
46097 fi
46098
46099 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_MOUSEWHEEL 1
46102 _ACEOF
46103
46104 fi
46105
46106
46107 USES_CONTROLS=0
46108 if test "$wxUSE_CONTROLS" = "yes"; then
46109 USES_CONTROLS=1
46110 fi
46111
46112 if test "$wxUSE_ACCEL" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_ACCEL 1
46115 _ACEOF
46116
46117 USES_CONTROLS=1
46118 fi
46119
46120 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_ANIMATIONCTRL 1
46123 _ACEOF
46124
46125 USES_CONTROLS=1
46126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46127 fi
46128
46129 if test "$wxUSE_BUTTON" = "yes"; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_BUTTON 1
46132 _ACEOF
46133
46134 USES_CONTROLS=1
46135 fi
46136
46137 if test "$wxUSE_BMPBUTTON" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_BMPBUTTON 1
46140 _ACEOF
46141
46142 USES_CONTROLS=1
46143 fi
46144
46145 if test "$wxUSE_CALCTRL" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_CALENDARCTRL 1
46148 _ACEOF
46149
46150 USES_CONTROLS=1
46151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46152 fi
46153
46154 if test "$wxUSE_CARET" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_CARET 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46161 fi
46162
46163 if test "$wxUSE_COLLPANE" = "yes"; then
46164 cat >>confdefs.h <<\_ACEOF
46165 #define wxUSE_COLLPANE 1
46166 _ACEOF
46167
46168 USES_CONTROLS=1
46169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46170 fi
46171
46172 if test "$wxUSE_COMBOBOX" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_COMBOBOX 1
46175 _ACEOF
46176
46177 USES_CONTROLS=1
46178 fi
46179
46180 if test "$wxUSE_COMBOCTRL" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_COMBOCTRL 1
46183 _ACEOF
46184
46185 USES_CONTROLS=1
46186 fi
46187
46188 if test "$wxUSE_CHOICE" = "yes"; then
46189 cat >>confdefs.h <<\_ACEOF
46190 #define wxUSE_CHOICE 1
46191 _ACEOF
46192
46193 USES_CONTROLS=1
46194 fi
46195
46196 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46197 cat >>confdefs.h <<\_ACEOF
46198 #define wxUSE_CHOICEBOOK 1
46199 _ACEOF
46200
46201 USES_CONTROLS=1
46202 fi
46203
46204 if test "$wxUSE_CHECKBOX" = "yes"; then
46205 cat >>confdefs.h <<\_ACEOF
46206 #define wxUSE_CHECKBOX 1
46207 _ACEOF
46208
46209 USES_CONTROLS=1
46210 fi
46211
46212 if test "$wxUSE_CHECKLST" = "yes"; then
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_CHECKLISTBOX 1
46215 _ACEOF
46216
46217 USES_CONTROLS=1
46218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46219 fi
46220
46221 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_COLOURPICKERCTRL 1
46224 _ACEOF
46225
46226 USES_CONTROLS=1
46227 fi
46228
46229 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_DATEPICKCTRL 1
46232 _ACEOF
46233
46234 USES_CONTROLS=1
46235 fi
46236
46237 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_DIRPICKERCTRL 1
46240 _ACEOF
46241
46242 USES_CONTROLS=1
46243 fi
46244
46245 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46246 cat >>confdefs.h <<\_ACEOF
46247 #define wxUSE_FILEPICKERCTRL 1
46248 _ACEOF
46249
46250 USES_CONTROLS=1
46251 fi
46252
46253 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46254 cat >>confdefs.h <<\_ACEOF
46255 #define wxUSE_FONTPICKERCTRL 1
46256 _ACEOF
46257
46258 USES_CONTROLS=1
46259 fi
46260
46261 if test "$wxUSE_DISPLAY" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_DISPLAY 1
46264 _ACEOF
46265
46266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46267 fi
46268
46269 if test "$wxUSE_DETECT_SM" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_DETECT_SM 1
46272 _ACEOF
46273
46274 fi
46275
46276 if test "$wxUSE_GAUGE" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_GAUGE 1
46279 _ACEOF
46280
46281 USES_CONTROLS=1
46282 fi
46283
46284 if test "$wxUSE_GRID" = "yes"; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_GRID 1
46287 _ACEOF
46288
46289 USES_CONTROLS=1
46290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46291 fi
46292
46293 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_HYPERLINKCTRL 1
46296 _ACEOF
46297
46298 USES_CONTROLS=1
46299 fi
46300
46301 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_BITMAPCOMBOBOX 1
46304 _ACEOF
46305
46306 USES_CONTROLS=1
46307 fi
46308
46309 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_DATAVIEWCTRL 1
46312 _ACEOF
46313
46314 USES_CONTROLS=1
46315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46316 fi
46317
46318 if test "$wxUSE_IMAGLIST" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_IMAGLIST 1
46321 _ACEOF
46322
46323 fi
46324
46325 if test "$wxUSE_LISTBOOK" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_LISTBOOK 1
46328 _ACEOF
46329
46330 USES_CONTROLS=1
46331 fi
46332
46333 if test "$wxUSE_LISTBOX" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_LISTBOX 1
46336 _ACEOF
46337
46338 USES_CONTROLS=1
46339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46340 fi
46341
46342 if test "$wxUSE_LISTCTRL" = "yes"; then
46343 if test "$wxUSE_IMAGLIST" = "yes"; then
46344 cat >>confdefs.h <<\_ACEOF
46345 #define wxUSE_LISTCTRL 1
46346 _ACEOF
46347
46348 USES_CONTROLS=1
46349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46350 else
46351 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46352 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46353 fi
46354 fi
46355
46356 if test "$wxUSE_NOTEBOOK" = "yes"; then
46357 cat >>confdefs.h <<\_ACEOF
46358 #define wxUSE_NOTEBOOK 1
46359 _ACEOF
46360
46361 USES_CONTROLS=1
46362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46363 fi
46364
46365 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_ODCOMBOBOX 1
46368 _ACEOF
46369
46370 USES_CONTROLS=1
46371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46372 fi
46373
46374
46375 if test "$wxUSE_RADIOBOX" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_RADIOBOX 1
46378 _ACEOF
46379
46380 USES_CONTROLS=1
46381 fi
46382
46383 if test "$wxUSE_RADIOBTN" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_RADIOBTN 1
46386 _ACEOF
46387
46388 USES_CONTROLS=1
46389 fi
46390
46391 if test "$wxUSE_SASH" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_SASH 1
46394 _ACEOF
46395
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46397 fi
46398
46399 if test "$wxUSE_SCROLLBAR" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_SCROLLBAR 1
46402 _ACEOF
46403
46404 USES_CONTROLS=1
46405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46406 fi
46407
46408 if test "$wxUSE_SLIDER" = "yes"; then
46409 cat >>confdefs.h <<\_ACEOF
46410 #define wxUSE_SLIDER 1
46411 _ACEOF
46412
46413 USES_CONTROLS=1
46414 fi
46415
46416 if test "$wxUSE_SPINBTN" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_SPINBTN 1
46419 _ACEOF
46420
46421 USES_CONTROLS=1
46422 fi
46423
46424 if test "$wxUSE_SPINCTRL" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_SPINCTRL 1
46427 _ACEOF
46428
46429 USES_CONTROLS=1
46430 fi
46431
46432 if test "$wxUSE_SPLITTER" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_SPLITTER 1
46435 _ACEOF
46436
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46438 fi
46439
46440 if test "$wxUSE_STATBMP" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_STATBMP 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 fi
46447
46448 if test "$wxUSE_STATBOX" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_STATBOX 1
46451 _ACEOF
46452
46453 USES_CONTROLS=1
46454 fi
46455
46456 if test "$wxUSE_STATTEXT" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_STATTEXT 1
46459 _ACEOF
46460
46461 USES_CONTROLS=1
46462 fi
46463
46464 if test "$wxUSE_STATLINE" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_STATLINE 1
46467 _ACEOF
46468
46469 USES_CONTROLS=1
46470 fi
46471
46472 if test "$wxUSE_STATUSBAR" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_NATIVE_STATUSBAR 1
46475 _ACEOF
46476
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_STATUSBAR 1
46479 _ACEOF
46480
46481 USES_CONTROLS=1
46482
46483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46484 fi
46485
46486 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_TAB_DIALOG 1
46489 _ACEOF
46490
46491 fi
46492
46493 if test "$wxUSE_TEXTCTRL" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_TEXTCTRL 1
46496 _ACEOF
46497
46498 USES_CONTROLS=1
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46500 fi
46501
46502 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46503 if test "$wxUSE_COCOA" = 1 ; then
46504 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46505 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46506 wxUSE_TOGGLEBTN=no
46507 fi
46508
46509 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_TOGGLEBTN 1
46512 _ACEOF
46513
46514 USES_CONTROLS=1
46515 fi
46516 fi
46517
46518 if test "$wxUSE_TOOLBAR" = "yes"; then
46519 cat >>confdefs.h <<\_ACEOF
46520 #define wxUSE_TOOLBAR 1
46521 _ACEOF
46522
46523 USES_CONTROLS=1
46524
46525 if test "$wxUSE_UNIVERSAL" = "yes"; then
46526 wxUSE_TOOLBAR_NATIVE="no"
46527 else
46528 wxUSE_TOOLBAR_NATIVE="yes"
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_TOOLBAR_NATIVE 1
46531 _ACEOF
46532
46533 fi
46534
46535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46536 fi
46537
46538 if test "$wxUSE_TOOLTIPS" = "yes"; then
46539 if test "$wxUSE_MOTIF" = 1; then
46540 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46541 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46542 else
46543 if test "$wxUSE_UNIVERSAL" = "yes"; then
46544 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46545 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46546 else
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_TOOLTIPS 1
46549 _ACEOF
46550
46551 fi
46552 fi
46553 fi
46554
46555 if test "$wxUSE_TREEBOOK" = "yes"; then
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_TREEBOOK 1
46558 _ACEOF
46559
46560 USES_CONTROLS=1
46561 fi
46562
46563 if test "$wxUSE_TOOLBOOK" = "yes"; then
46564 cat >>confdefs.h <<\_ACEOF
46565 #define wxUSE_TOOLBOOK 1
46566 _ACEOF
46567
46568 USES_CONTROLS=1
46569 fi
46570
46571 if test "$wxUSE_TREECTRL" = "yes"; then
46572 if test "$wxUSE_IMAGLIST" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_TREECTRL 1
46575 _ACEOF
46576
46577 USES_CONTROLS=1
46578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46579 else
46580 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46581 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46582 fi
46583 fi
46584
46585 if test "$wxUSE_POPUPWIN" = "yes"; then
46586 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46587 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46588 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46589 else
46590 if test "$wxUSE_PM" = 1; then
46591 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46592 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46593 else
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_POPUPWIN 1
46596 _ACEOF
46597
46598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46599
46600 USES_CONTROLS=1
46601 fi
46602 fi
46603 fi
46604
46605 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46606 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46607 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46608 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46609 else
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_DIALUP_MANAGER 1
46612 _ACEOF
46613
46614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46615 fi
46616 fi
46617
46618 if test "$wxUSE_TIPWINDOW" = "yes"; then
46619 if test "$wxUSE_PM" = 1; then
46620 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46621 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46622 else
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_TIPWINDOW 1
46625 _ACEOF
46626
46627 fi
46628 fi
46629
46630 if test "$USES_CONTROLS" = 1; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_CONTROLS 1
46633 _ACEOF
46634
46635 fi
46636
46637
46638 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_ACCESSIBILITY 1
46641 _ACEOF
46642
46643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46644 fi
46645
46646 if test "$wxUSE_DC_CACHEING" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_DC_CACHEING 1
46649 _ACEOF
46650
46651 fi
46652
46653 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_DRAGIMAGE 1
46656 _ACEOF
46657
46658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46659 fi
46660
46661 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46662 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46663 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46664 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46665 else
46666 cat >>confdefs.h <<\_ACEOF
46667 #define wxUSE_EXCEPTIONS 1
46668 _ACEOF
46669
46670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46671 fi
46672 fi
46673
46674 USE_HTML=0
46675 if test "$wxUSE_HTML" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_HTML 1
46678 _ACEOF
46679
46680 USE_HTML=1
46681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46682 if test "$wxUSE_MAC" = 1; then
46683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46684 fi
46685 fi
46686 if test "$wxUSE_WEBKIT" = "yes"; then
46687 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46688 old_CPPFLAGS="$CPPFLAGS"
46689 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46690 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46691 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46692 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46693 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 else
46695 cat >conftest.$ac_ext <<_ACEOF
46696 /* confdefs.h. */
46697 _ACEOF
46698 cat confdefs.h >>conftest.$ac_ext
46699 cat >>conftest.$ac_ext <<_ACEOF
46700 /* end confdefs.h. */
46701 #include <Carbon/Carbon.h>
46702
46703 #include <WebKit/HIWebView.h>
46704 _ACEOF
46705 rm -f conftest.$ac_objext
46706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46707 (eval $ac_compile) 2>conftest.er1
46708 ac_status=$?
46709 grep -v '^ *+' conftest.er1 >conftest.err
46710 rm -f conftest.er1
46711 cat conftest.err >&5
46712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46713 (exit $ac_status); } &&
46714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46716 (eval $ac_try) 2>&5
46717 ac_status=$?
46718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719 (exit $ac_status); }; } &&
46720 { ac_try='test -s conftest.$ac_objext'
46721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46722 (eval $ac_try) 2>&5
46723 ac_status=$?
46724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46725 (exit $ac_status); }; }; then
46726 ac_cv_header_WebKit_HIWebView_h=yes
46727 else
46728 echo "$as_me: failed program was:" >&5
46729 sed 's/^/| /' conftest.$ac_ext >&5
46730
46731 ac_cv_header_WebKit_HIWebView_h=no
46732 fi
46733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46734 fi
46735 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46736 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46737 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46738
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_WEBKIT 1
46741 _ACEOF
46742
46743 WEBKIT_LINK="-framework WebKit"
46744
46745 else
46746
46747 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46748 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46749 wxUSE_WEBKIT=no
46750
46751 fi
46752
46753
46754 CPPFLAGS="$old_CPPFLAGS"
46755 elif test "$wxUSE_COCOA" = 1; then
46756 cat >>confdefs.h <<\_ACEOF
46757 #define wxUSE_WEBKIT 1
46758 _ACEOF
46759
46760 else
46761 wxUSE_WEBKIT=no
46762 fi
46763 fi
46764
46765 USE_XRC=0
46766 if test "$wxUSE_XRC" = "yes"; then
46767 if test "$wxUSE_XML" != "yes"; then
46768 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46769 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46770 wxUSE_XRC=no
46771 else
46772 cat >>confdefs.h <<\_ACEOF
46773 #define wxUSE_XRC 1
46774 _ACEOF
46775
46776 USE_XRC=1
46777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46778 fi
46779 fi
46780
46781 USE_AUI=0
46782 if test "$wxUSE_AUI" = "yes"; then
46783 cat >>confdefs.h <<\_ACEOF
46784 #define wxUSE_AUI 1
46785 _ACEOF
46786
46787 USE_AUI=1
46788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46789 fi
46790
46791 if test "$wxUSE_MENUS" = "yes"; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_MENUS 1
46794 _ACEOF
46795
46796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46797 fi
46798
46799 if test "$wxUSE_METAFILE" = "yes"; then
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_METAFILE 1
46802 _ACEOF
46803
46804 fi
46805
46806 if test "$wxUSE_MIMETYPE" = "yes"; then
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_MIMETYPE 1
46809 _ACEOF
46810
46811 fi
46812
46813 if test "$wxUSE_MINIFRAME" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_MINIFRAME 1
46816 _ACEOF
46817
46818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46819 fi
46820
46821 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46822 cat >>confdefs.h <<\_ACEOF
46823 #define wxUSE_SYSTEM_OPTIONS 1
46824 _ACEOF
46825
46826 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46827 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46829 fi
46830 fi
46831
46832
46833 if test "$wxUSE_VALIDATORS" = "yes"; then
46834 cat >>confdefs.h <<\_ACEOF
46835 #define wxUSE_VALIDATORS 1
46836 _ACEOF
46837
46838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46839 fi
46840
46841 if test "$wxUSE_PALETTE" = "yes" ; then
46842 cat >>confdefs.h <<\_ACEOF
46843 #define wxUSE_PALETTE 1
46844 _ACEOF
46845
46846 fi
46847
46848 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46849 LIBS=" -lunicows $LIBS"
46850 fi
46851
46852 USE_RICHTEXT=0
46853 if test "$wxUSE_RICHTEXT" = "yes"; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_RICHTEXT 1
46856 _ACEOF
46857
46858 USE_RICHTEXT=1
46859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46860 fi
46861
46862
46863 if test "$wxUSE_IMAGE" = "yes" ; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_IMAGE 1
46866 _ACEOF
46867
46868
46869 if test "$wxUSE_GIF" = "yes" ; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_GIF 1
46872 _ACEOF
46873
46874 fi
46875
46876 if test "$wxUSE_PCX" = "yes" ; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_PCX 1
46879 _ACEOF
46880
46881 fi
46882
46883 if test "$wxUSE_TGA" = "yes" ; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_TGA 1
46886 _ACEOF
46887
46888 fi
46889
46890 if test "$wxUSE_IFF" = "yes" ; then
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_IFF 1
46893 _ACEOF
46894
46895 fi
46896
46897 if test "$wxUSE_PNM" = "yes" ; then
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_PNM 1
46900 _ACEOF
46901
46902 fi
46903
46904 if test "$wxUSE_XPM" = "yes" ; then
46905 cat >>confdefs.h <<\_ACEOF
46906 #define wxUSE_XPM 1
46907 _ACEOF
46908
46909 fi
46910
46911 if test "$wxUSE_ICO_CUR" = "yes" ; then
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_ICO_CUR 1
46914 _ACEOF
46915
46916 fi
46917 fi
46918
46919
46920 if test "$wxUSE_ABOUTDLG" = "yes"; then
46921 cat >>confdefs.h <<\_ACEOF
46922 #define wxUSE_ABOUTDLG 1
46923 _ACEOF
46924
46925 fi
46926
46927 if test "$wxUSE_CHOICEDLG" = "yes"; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_CHOICEDLG 1
46930 _ACEOF
46931
46932 fi
46933
46934 if test "$wxUSE_COLOURDLG" = "yes"; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_COLOURDLG 1
46937 _ACEOF
46938
46939 fi
46940
46941 if test "$wxUSE_FILEDLG" = "yes"; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_FILEDLG 1
46944 _ACEOF
46945
46946 fi
46947
46948 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_FINDREPLDLG 1
46951 _ACEOF
46952
46953 fi
46954
46955 if test "$wxUSE_FONTDLG" = "yes"; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_FONTDLG 1
46958 _ACEOF
46959
46960 fi
46961
46962 if test "$wxUSE_DIRDLG" = "yes"; then
46963 if test "$wxUSE_TREECTRL" != "yes"; then
46964 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46965 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46966 else
46967 cat >>confdefs.h <<\_ACEOF
46968 #define wxUSE_DIRDLG 1
46969 _ACEOF
46970
46971 fi
46972 fi
46973
46974 if test "$wxUSE_MSGDLG" = "yes"; then
46975 cat >>confdefs.h <<\_ACEOF
46976 #define wxUSE_MSGDLG 1
46977 _ACEOF
46978
46979 fi
46980
46981 if test "$wxUSE_NUMBERDLG" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_NUMBERDLG 1
46984 _ACEOF
46985
46986 fi
46987
46988 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46989 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46990 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46991 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46992 else
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_PROGRESSDLG 1
46995 _ACEOF
46996
46997 fi
46998 fi
46999
47000 if test "$wxUSE_SPLASH" = "yes"; then
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_SPLASH 1
47003 _ACEOF
47004
47005 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47006 fi
47007
47008 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47009 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47010 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47011 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47012 else
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_STARTUP_TIPS 1
47015 _ACEOF
47016
47017 fi
47018 fi
47019
47020 if test "$wxUSE_TEXTDLG" = "yes"; then
47021 cat >>confdefs.h <<\_ACEOF
47022 #define wxUSE_TEXTDLG 1
47023 _ACEOF
47024
47025 fi
47026
47027 if test "$wxUSE_WIZARDDLG" = "yes"; then
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_WIZARDDLG 1
47030 _ACEOF
47031
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47033 fi
47034
47035
47036 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47037 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_GRAPHICS_CONTEXT 1
47040 _ACEOF
47041
47042 elif test "$wxUSE_GTK" != 1; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_GRAPHICS_CONTEXT 1
47045 _ACEOF
47046
47047 else
47048
47049 pkg_failed=no
47050 echo "$as_me:$LINENO: checking for CAIRO" >&5
47051 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47052
47053 if test -n "$PKG_CONFIG"; then
47054 if test -n "$CAIRO_CFLAGS"; then
47055 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47056 else
47057 if test -n "$PKG_CONFIG" && \
47058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47059 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47060 ac_status=$?
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; then
47063 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47064 else
47065 pkg_failed=yes
47066 fi
47067 fi
47068 else
47069 pkg_failed=untried
47070 fi
47071 if test -n "$PKG_CONFIG"; then
47072 if test -n "$CAIRO_LIBS"; then
47073 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47074 else
47075 if test -n "$PKG_CONFIG" && \
47076 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47077 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47078 ac_status=$?
47079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47080 (exit $ac_status); }; then
47081 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47082 else
47083 pkg_failed=yes
47084 fi
47085 fi
47086 else
47087 pkg_failed=untried
47088 fi
47089
47090
47091
47092 if test $pkg_failed = yes; then
47093
47094 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47095 _pkg_short_errors_supported=yes
47096 else
47097 _pkg_short_errors_supported=no
47098 fi
47099 if test $_pkg_short_errors_supported = yes; then
47100 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47101 else
47102 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47103 fi
47104 # Put the nasty error message in config.log where it belongs
47105 echo "$CAIRO_PKG_ERRORS" >&5
47106
47107 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47108 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47109
47110 elif test $pkg_failed = untried; then
47111 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47112 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47113
47114 else
47115 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47116 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47117 echo "$as_me:$LINENO: result: yes" >&5
47118 echo "${ECHO_T}yes" >&6
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_GRAPHICS_CONTEXT 1
47121 _ACEOF
47122
47123 fi
47124 fi
47125 fi
47126
47127
47128 USE_MEDIA=0
47129
47130 if test "$wxUSE_MEDIACTRL" = "yes"; then
47131 USE_MEDIA=1
47132
47133 if test "$wxUSE_GTK" = 1; then
47134 wxUSE_GSTREAMER="no"
47135
47136 GST_VERSION_MAJOR=0
47137 GST_VERSION_MINOR=10
47138 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47139
47140 if test "$wxUSE_GSTREAMER8" = "no"; then
47141
47142 pkg_failed=no
47143 echo "$as_me:$LINENO: checking for GST" >&5
47144 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47145
47146 if test -n "$PKG_CONFIG"; then
47147 if test -n "$GST_CFLAGS"; then
47148 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47149 else
47150 if test -n "$PKG_CONFIG" && \
47151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47152 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47153 ac_status=$?
47154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47155 (exit $ac_status); }; then
47156 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47157 else
47158 pkg_failed=yes
47159 fi
47160 fi
47161 else
47162 pkg_failed=untried
47163 fi
47164 if test -n "$PKG_CONFIG"; then
47165 if test -n "$GST_LIBS"; then
47166 pkg_cv_GST_LIBS="$GST_LIBS"
47167 else
47168 if test -n "$PKG_CONFIG" && \
47169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47170 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47171 ac_status=$?
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); }; then
47174 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47175 else
47176 pkg_failed=yes
47177 fi
47178 fi
47179 else
47180 pkg_failed=untried
47181 fi
47182
47183
47184
47185 if test $pkg_failed = yes; then
47186
47187 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47188 _pkg_short_errors_supported=yes
47189 else
47190 _pkg_short_errors_supported=no
47191 fi
47192 if test $_pkg_short_errors_supported = yes; then
47193 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47194 else
47195 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47196 fi
47197 # Put the nasty error message in config.log where it belongs
47198 echo "$GST_PKG_ERRORS" >&5
47199
47200
47201 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47202 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47203 GST_VERSION_MINOR=8
47204
47205
47206 elif test $pkg_failed = untried; then
47207
47208 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47209 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47210 GST_VERSION_MINOR=8
47211
47212
47213 else
47214 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47215 GST_LIBS=$pkg_cv_GST_LIBS
47216 echo "$as_me:$LINENO: result: yes" >&5
47217 echo "${ECHO_T}yes" >&6
47218
47219 wxUSE_GSTREAMER="yes"
47220 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47221
47222 fi
47223 else
47224 GST_VERSION_MINOR=8
47225 fi
47226
47227 if test $GST_VERSION_MINOR = "8"; then
47228 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47229
47230 pkg_failed=no
47231 echo "$as_me:$LINENO: checking for GST" >&5
47232 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47233
47234 if test -n "$PKG_CONFIG"; then
47235 if test -n "$GST_CFLAGS"; then
47236 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47237 else
47238 if test -n "$PKG_CONFIG" && \
47239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47240 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47241 ac_status=$?
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }; then
47244 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47245 else
47246 pkg_failed=yes
47247 fi
47248 fi
47249 else
47250 pkg_failed=untried
47251 fi
47252 if test -n "$PKG_CONFIG"; then
47253 if test -n "$GST_LIBS"; then
47254 pkg_cv_GST_LIBS="$GST_LIBS"
47255 else
47256 if test -n "$PKG_CONFIG" && \
47257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47258 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47259 ac_status=$?
47260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47261 (exit $ac_status); }; then
47262 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47263 else
47264 pkg_failed=yes
47265 fi
47266 fi
47267 else
47268 pkg_failed=untried
47269 fi
47270
47271
47272
47273 if test $pkg_failed = yes; then
47274
47275 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47276 _pkg_short_errors_supported=yes
47277 else
47278 _pkg_short_errors_supported=no
47279 fi
47280 if test $_pkg_short_errors_supported = yes; then
47281 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47282 else
47283 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47284 fi
47285 # Put the nasty error message in config.log where it belongs
47286 echo "$GST_PKG_ERRORS" >&5
47287
47288
47289 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47290 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47291
47292 elif test $pkg_failed = untried; then
47293
47294 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47295 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47296
47297 else
47298 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47299 GST_LIBS=$pkg_cv_GST_LIBS
47300 echo "$as_me:$LINENO: result: yes" >&5
47301 echo "${ECHO_T}yes" >&6
47302 wxUSE_GSTREAMER="yes"
47303 fi
47304 fi
47305
47306
47307 if test "$wxUSE_GSTREAMER" = "yes"; then
47308 case "${host}" in
47309 *-*-solaris2* )
47310 if "$GCC" = yes; then
47311 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47312 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47313 fi
47314 esac
47315
47316 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47317 LIBS="$GST_LIBS $LIBS"
47318
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_GSTREAMER 1
47321 _ACEOF
47322
47323 else
47324 USE_MEDIA=0
47325 fi
47326 fi
47327
47328 if test $USE_MEDIA = 1; then
47329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_MEDIACTRL 1
47332 _ACEOF
47333
47334 fi
47335 fi
47336
47337
47338 if test "$cross_compiling" = "yes"; then
47339 OSINFO="\"$host\""
47340 else
47341 OSINFO=`uname -s -r -m`
47342 OSINFO="\"$OSINFO\""
47343 fi
47344
47345 cat >>confdefs.h <<_ACEOF
47346 #define WXWIN_OS_DESCRIPTION $OSINFO
47347 _ACEOF
47348
47349
47350
47351 if test "x$prefix" != "xNONE"; then
47352 wxPREFIX=$prefix
47353 else
47354 wxPREFIX=$ac_default_prefix
47355 fi
47356
47357 cat >>confdefs.h <<_ACEOF
47358 #define wxINSTALL_PREFIX "$wxPREFIX"
47359 _ACEOF
47360
47361
47362
47363
47364 CORE_BASE_LIBS="net base"
47365 CORE_GUI_LIBS="adv core"
47366
47367 if test "$wxUSE_XML" = "yes" ; then
47368 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47369 fi
47370 if test "$wxUSE_ODBC" != "no" ; then
47371 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47372 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47373 fi
47374 if test "$wxUSE_HTML" = "yes" ; then
47375 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47376 fi
47377 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47378 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47379 fi
47380 if test "$wxUSE_XRC" = "yes" ; then
47381 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47382 fi
47383 if test "$wxUSE_AUI" = "yes" ; then
47384 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47385 fi
47386
47387 if test "$wxUSE_GUI" != "yes"; then
47388 CORE_GUI_LIBS=""
47389 fi
47390
47391
47392
47393
47394
47395
47396 if test "$wxUSE_MAC" = 1 ; then
47397 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47398 if test "$USE_DARWIN" = 1; then
47399 LDFLAGS="$LDFLAGS -framework QuickTime"
47400 else
47401 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47402 fi
47403 fi
47404 if test "$USE_DARWIN" = 1; then
47405 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47406 else
47407 LDFLAGS="$LDFLAGS -lCarbonLib"
47408 fi
47409 fi
47410 if test "$wxUSE_COCOA" = 1 ; then
47411 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47412 if test "$wxUSE_MEDIACTRL" = "yes"; then
47413 LDFLAGS="$LDFLAGS -framework QuickTime"
47414 fi
47415 fi
47416 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47417 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47418 fi
47419
47420 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47421
47422 if test "$wxUSE_GUI" = "yes"; then
47423
47424
47425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47426 dynamic erase event exec font image minimal mobile \
47427 mobile/wxedit mobile/styles propsize render \
47428 rotate shaped vscroll widgets"
47429
47430 if test "$wxUSE_MONOLITHIC" != "yes"; then
47431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47432 fi
47433 if test "$TOOLKIT" = "MSW"; then
47434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47435 if test "$wxUSE_UNIVERSAL" != "yes"; then
47436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47437 fi
47438 fi
47439 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47441 fi
47442 else
47443 SAMPLES_SUBDIRS="console"
47444 fi
47445
47446
47447 if test "x$INTELCC" = "xyes" ; then
47448 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47449 elif test "$GCC" = yes ; then
47450 CWARNINGS="-Wall -Wundef"
47451 fi
47452
47453 if test "x$INTELCXX" = "xyes" ; then
47454 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47455 elif test "$GXX" = yes ; then
47456 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47457 fi
47458
47459
47460 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47461 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47462
47463
47464 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47465 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47466 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47467 $CPPFLAGS `
47468
47469 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47470 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47471 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47472
47473 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47474
47475
47476 if test "x$MWCC" = "xyes"; then
47477
47478 CC="$CC -cwd source -I-"
47479 CXX="$CXX -cwd source -I-"
47480 fi
47481
47482
47483 LIBS=`echo $LIBS`
47484 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47485 EXTRALIBS_XML="$EXPAT_LINK"
47486 EXTRALIBS_HTML="$MSPACK_LINK"
47487 EXTRALIBS_ODBC="$ODBC_LINK"
47488 if test "$wxUSE_GUI" = "yes"; then
47489 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47490 fi
47491 if test "$wxUSE_OPENGL" = "yes"; then
47492 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47493 fi
47494
47495 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47496
47497 WXCONFIG_LIBS="$LIBS"
47498
47499 if test "$wxUSE_REGEX" = "builtin" ; then
47500 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47501 fi
47502 if test "$wxUSE_EXPAT" = "builtin" ; then
47503 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47504 fi
47505 if test "$wxUSE_ODBC" = "builtin" ; then
47506 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47507 fi
47508 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47509 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47510 fi
47511 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47512 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47513 fi
47514 if test "$wxUSE_LIBPNG" = "builtin" ; then
47515 wxconfig_3rdparty="png $wxconfig_3rdparty"
47516 fi
47517 if test "$wxUSE_ZLIB" = "builtin" ; then
47518 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47519 fi
47520
47521 for i in $wxconfig_3rdparty ; do
47522 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47523 done
47524
47525
47526 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47527 WXUNIV=1
47528
47529 case "$wxUNIV_THEMES" in
47530 ''|all)
47531 cat >>confdefs.h <<\_ACEOF
47532 #define wxUSE_ALL_THEMES 1
47533 _ACEOF
47534
47535 ;;
47536
47537 *)
47538 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47539 cat >>confdefs.h <<_ACEOF
47540 #define wxUSE_THEME_$t 1
47541 _ACEOF
47542
47543 done
47544 esac
47545 else
47546 WXUNIV=0
47547 fi
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557 if test $wxUSE_MONOLITHIC = "yes" ; then
47558 MONOLITHIC=1
47559 else
47560 MONOLITHIC=0
47561 fi
47562
47563 if test $wxUSE_PLUGINS = "yes" ; then
47564 USE_PLUGINS=1
47565 else
47566 USE_PLUGINS=0
47567 fi
47568
47569 if test $wxUSE_ODBC != "no" ; then
47570 USE_ODBC=1
47571 else
47572 USE_ODBC=0
47573 fi
47574
47575 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47576 USE_QA=1
47577 else
47578 USE_QA=0
47579 fi
47580
47581 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47582 OFFICIAL_BUILD=1
47583 else
47584 OFFICIAL_BUILD=0
47585 fi
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47612
47613
47614
47615
47616
47617
47618
47619
47620 case "$TOOLKIT" in
47621 GTK)
47622 TOOLKIT_DESC="GTK+"
47623 if test "$WXGTK20" = 1; then
47624 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47625 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47626 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47627 fi
47628 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47629 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47630 fi
47631 if test "$wxUSE_LIBHILDON" = "yes"; then
47632 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47633 fi
47634
47635 if test "$TOOLKIT_EXTRA" != ""; then
47636 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47637 fi
47638 fi
47639 ;;
47640
47641 ?*)
47642 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47643 ;;
47644
47645 *)
47646 TOOLKIT_DESC="base only"
47647 ;;
47648 esac
47649
47650 if test "$wxUSE_WINE" = "yes"; then
47651 BAKEFILE_FORCE_PLATFORM=win32
47652 fi
47653
47654 if test "$wxUSE_MAC" = 1 ; then
47655 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47656 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47657 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47658 else
47659 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47660 fi
47661 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47662 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47663 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47664 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47665 bk_use_pch=no
47666 fi
47667 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47668 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47669 fi
47670
47671 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47672 then
47673 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47674 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47675 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47677 else
47678
47679 echo '#include <stdio.h>
47680 const wchar_t test_var[] = L"awidetest";' > conftest.h
47681
47682 echo '#include "conftest.h"
47683 int main()
47684 {
47685 printf("%ls", test_var);
47686 return 0;
47687 }' > conftest.cpp
47688
47689 wx_cv_gcc_pch_bug="pch not supported"
47690
47691 if $CXX conftest.h >/dev/null 2>&1
47692 then
47693 wx_cv_gcc_pch_bug=
47694
47695 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47696 then
47697 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47698 grep awidetest >/dev/null
47699 then
47700 wx_cv_gcc_pch_bug=no
47701 else
47702 wx_cv_gcc_pch_bug=yes
47703 fi
47704 fi
47705 fi
47706
47707 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47708
47709 fi
47710 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47711 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47712
47713 if test "$wx_cv_gcc_pch_bug" = yes; then
47714 bk_use_pch=no
47715 fi
47716 fi
47717
47718
47719
47720
47721 if test "x$BAKEFILE_HOST" = "x"; then
47722 if test "x${host}" = "x" ; then
47723 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47724 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47725 { (exit 1); exit 1; }; }
47726 fi
47727
47728 BAKEFILE_HOST="${host}"
47729 fi
47730
47731 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47732
47733 if test -n "$ac_tool_prefix"; then
47734 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47735 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47736 echo "$as_me:$LINENO: checking for $ac_word" >&5
47737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47738 if test "${ac_cv_prog_RANLIB+set}" = set; then
47739 echo $ECHO_N "(cached) $ECHO_C" >&6
47740 else
47741 if test -n "$RANLIB"; then
47742 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47743 else
47744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47745 for as_dir in $PATH
47746 do
47747 IFS=$as_save_IFS
47748 test -z "$as_dir" && as_dir=.
47749 for ac_exec_ext in '' $ac_executable_extensions; do
47750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47751 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47753 break 2
47754 fi
47755 done
47756 done
47757
47758 fi
47759 fi
47760 RANLIB=$ac_cv_prog_RANLIB
47761 if test -n "$RANLIB"; then
47762 echo "$as_me:$LINENO: result: $RANLIB" >&5
47763 echo "${ECHO_T}$RANLIB" >&6
47764 else
47765 echo "$as_me:$LINENO: result: no" >&5
47766 echo "${ECHO_T}no" >&6
47767 fi
47768
47769 fi
47770 if test -z "$ac_cv_prog_RANLIB"; then
47771 ac_ct_RANLIB=$RANLIB
47772 # Extract the first word of "ranlib", so it can be a program name with args.
47773 set dummy ranlib; ac_word=$2
47774 echo "$as_me:$LINENO: checking for $ac_word" >&5
47775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47776 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47777 echo $ECHO_N "(cached) $ECHO_C" >&6
47778 else
47779 if test -n "$ac_ct_RANLIB"; then
47780 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47781 else
47782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47783 for as_dir in $PATH
47784 do
47785 IFS=$as_save_IFS
47786 test -z "$as_dir" && as_dir=.
47787 for ac_exec_ext in '' $ac_executable_extensions; do
47788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47789 ac_cv_prog_ac_ct_RANLIB="ranlib"
47790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47791 break 2
47792 fi
47793 done
47794 done
47795
47796 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47797 fi
47798 fi
47799 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47800 if test -n "$ac_ct_RANLIB"; then
47801 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47802 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47803 else
47804 echo "$as_me:$LINENO: result: no" >&5
47805 echo "${ECHO_T}no" >&6
47806 fi
47807
47808 RANLIB=$ac_ct_RANLIB
47809 else
47810 RANLIB="$ac_cv_prog_RANLIB"
47811 fi
47812
47813 # Find a good install program. We prefer a C program (faster),
47814 # so one script is as good as another. But avoid the broken or
47815 # incompatible versions:
47816 # SysV /etc/install, /usr/sbin/install
47817 # SunOS /usr/etc/install
47818 # IRIX /sbin/install
47819 # AIX /bin/install
47820 # AmigaOS /C/install, which installs bootblocks on floppy discs
47821 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47822 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47823 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47824 # OS/2's system install, which has a completely different semantic
47825 # ./install, which can be erroneously created by make from ./install.sh.
47826 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47827 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47828 if test -z "$INSTALL"; then
47829 if test "${ac_cv_path_install+set}" = set; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47833 for as_dir in $PATH
47834 do
47835 IFS=$as_save_IFS
47836 test -z "$as_dir" && as_dir=.
47837 # Account for people who put trailing slashes in PATH elements.
47838 case $as_dir/ in
47839 ./ | .// | /cC/* | \
47840 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47841 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47842 /usr/ucb/* ) ;;
47843 *)
47844 # OSF1 and SCO ODT 3.0 have their own names for install.
47845 # Don't use installbsd from OSF since it installs stuff as root
47846 # by default.
47847 for ac_prog in ginstall scoinst install; do
47848 for ac_exec_ext in '' $ac_executable_extensions; do
47849 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47850 if test $ac_prog = install &&
47851 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47852 # AIX install. It has an incompatible calling convention.
47853 :
47854 elif test $ac_prog = install &&
47855 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47856 # program-specific install script used by HP pwplus--don't use.
47857 :
47858 else
47859 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47860 break 3
47861 fi
47862 fi
47863 done
47864 done
47865 ;;
47866 esac
47867 done
47868
47869
47870 fi
47871 if test "${ac_cv_path_install+set}" = set; then
47872 INSTALL=$ac_cv_path_install
47873 else
47874 # As a last resort, use the slow shell script. We don't cache a
47875 # path for INSTALL within a source directory, because that will
47876 # break other packages using the cache if that directory is
47877 # removed, or if the path is relative.
47878 INSTALL=$ac_install_sh
47879 fi
47880 fi
47881 echo "$as_me:$LINENO: result: $INSTALL" >&5
47882 echo "${ECHO_T}$INSTALL" >&6
47883
47884 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47885 # It thinks the first close brace ends the variable substitution.
47886 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47887
47888 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47889
47890 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47891
47892 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47893 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47894 LN_S=$as_ln_s
47895 if test "$LN_S" = "ln -s"; then
47896 echo "$as_me:$LINENO: result: yes" >&5
47897 echo "${ECHO_T}yes" >&6
47898 else
47899 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47900 echo "${ECHO_T}no, using $LN_S" >&6
47901 fi
47902
47903
47904 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47905 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47906 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47907 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47908 echo $ECHO_N "(cached) $ECHO_C" >&6
47909 else
47910 cat >conftest.make <<\_ACEOF
47911 all:
47912 @echo 'ac_maketemp="$(MAKE)"'
47913 _ACEOF
47914 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47915 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47916 if test -n "$ac_maketemp"; then
47917 eval ac_cv_prog_make_${ac_make}_set=yes
47918 else
47919 eval ac_cv_prog_make_${ac_make}_set=no
47920 fi
47921 rm -f conftest.make
47922 fi
47923 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47924 echo "$as_me:$LINENO: result: yes" >&5
47925 echo "${ECHO_T}yes" >&6
47926 SET_MAKE=
47927 else
47928 echo "$as_me:$LINENO: result: no" >&5
47929 echo "${ECHO_T}no" >&6
47930 SET_MAKE="MAKE=${MAKE-make}"
47931 fi
47932
47933
47934
47935 if test "x$SUNCXX" = "xyes"; then
47936 AR=${AR:-"$CXX"}
47937
47938 AROPTIONS=${AROPTIONS:-"-xar -o"}
47939 else
47940 if test -n "$ac_tool_prefix"; then
47941 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47942 set dummy ${ac_tool_prefix}ar; ac_word=$2
47943 echo "$as_me:$LINENO: checking for $ac_word" >&5
47944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47945 if test "${ac_cv_prog_AR+set}" = set; then
47946 echo $ECHO_N "(cached) $ECHO_C" >&6
47947 else
47948 if test -n "$AR"; then
47949 ac_cv_prog_AR="$AR" # Let the user override the test.
47950 else
47951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47952 for as_dir in $PATH
47953 do
47954 IFS=$as_save_IFS
47955 test -z "$as_dir" && as_dir=.
47956 for ac_exec_ext in '' $ac_executable_extensions; do
47957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47958 ac_cv_prog_AR="${ac_tool_prefix}ar"
47959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47960 break 2
47961 fi
47962 done
47963 done
47964
47965 fi
47966 fi
47967 AR=$ac_cv_prog_AR
47968 if test -n "$AR"; then
47969 echo "$as_me:$LINENO: result: $AR" >&5
47970 echo "${ECHO_T}$AR" >&6
47971 else
47972 echo "$as_me:$LINENO: result: no" >&5
47973 echo "${ECHO_T}no" >&6
47974 fi
47975
47976 fi
47977 if test -z "$ac_cv_prog_AR"; then
47978 ac_ct_AR=$AR
47979 # Extract the first word of "ar", so it can be a program name with args.
47980 set dummy ar; ac_word=$2
47981 echo "$as_me:$LINENO: checking for $ac_word" >&5
47982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47983 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47984 echo $ECHO_N "(cached) $ECHO_C" >&6
47985 else
47986 if test -n "$ac_ct_AR"; then
47987 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47988 else
47989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47990 for as_dir in $PATH
47991 do
47992 IFS=$as_save_IFS
47993 test -z "$as_dir" && as_dir=.
47994 for ac_exec_ext in '' $ac_executable_extensions; do
47995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47996 ac_cv_prog_ac_ct_AR="ar"
47997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47998 break 2
47999 fi
48000 done
48001 done
48002
48003 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48004 fi
48005 fi
48006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48007 if test -n "$ac_ct_AR"; then
48008 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48009 echo "${ECHO_T}$ac_ct_AR" >&6
48010 else
48011 echo "$as_me:$LINENO: result: no" >&5
48012 echo "${ECHO_T}no" >&6
48013 fi
48014
48015 AR=$ac_ct_AR
48016 else
48017 AR="$ac_cv_prog_AR"
48018 fi
48019
48020 AROPTIONS=rcu
48021 fi
48022
48023
48024 if test -n "$ac_tool_prefix"; then
48025 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48026 set dummy ${ac_tool_prefix}strip; ac_word=$2
48027 echo "$as_me:$LINENO: checking for $ac_word" >&5
48028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48029 if test "${ac_cv_prog_STRIP+set}" = set; then
48030 echo $ECHO_N "(cached) $ECHO_C" >&6
48031 else
48032 if test -n "$STRIP"; then
48033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48034 else
48035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48036 for as_dir in $PATH
48037 do
48038 IFS=$as_save_IFS
48039 test -z "$as_dir" && as_dir=.
48040 for ac_exec_ext in '' $ac_executable_extensions; do
48041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48042 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48044 break 2
48045 fi
48046 done
48047 done
48048
48049 fi
48050 fi
48051 STRIP=$ac_cv_prog_STRIP
48052 if test -n "$STRIP"; then
48053 echo "$as_me:$LINENO: result: $STRIP" >&5
48054 echo "${ECHO_T}$STRIP" >&6
48055 else
48056 echo "$as_me:$LINENO: result: no" >&5
48057 echo "${ECHO_T}no" >&6
48058 fi
48059
48060 fi
48061 if test -z "$ac_cv_prog_STRIP"; then
48062 ac_ct_STRIP=$STRIP
48063 # Extract the first word of "strip", so it can be a program name with args.
48064 set dummy strip; ac_word=$2
48065 echo "$as_me:$LINENO: checking for $ac_word" >&5
48066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48067 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48068 echo $ECHO_N "(cached) $ECHO_C" >&6
48069 else
48070 if test -n "$ac_ct_STRIP"; then
48071 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48072 else
48073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48074 for as_dir in $PATH
48075 do
48076 IFS=$as_save_IFS
48077 test -z "$as_dir" && as_dir=.
48078 for ac_exec_ext in '' $ac_executable_extensions; do
48079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48080 ac_cv_prog_ac_ct_STRIP="strip"
48081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48082 break 2
48083 fi
48084 done
48085 done
48086
48087 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48088 fi
48089 fi
48090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48091 if test -n "$ac_ct_STRIP"; then
48092 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48093 echo "${ECHO_T}$ac_ct_STRIP" >&6
48094 else
48095 echo "$as_me:$LINENO: result: no" >&5
48096 echo "${ECHO_T}no" >&6
48097 fi
48098
48099 STRIP=$ac_ct_STRIP
48100 else
48101 STRIP="$ac_cv_prog_STRIP"
48102 fi
48103
48104 if test -n "$ac_tool_prefix"; then
48105 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48106 set dummy ${ac_tool_prefix}nm; ac_word=$2
48107 echo "$as_me:$LINENO: checking for $ac_word" >&5
48108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48109 if test "${ac_cv_prog_NM+set}" = set; then
48110 echo $ECHO_N "(cached) $ECHO_C" >&6
48111 else
48112 if test -n "$NM"; then
48113 ac_cv_prog_NM="$NM" # Let the user override the test.
48114 else
48115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48116 for as_dir in $PATH
48117 do
48118 IFS=$as_save_IFS
48119 test -z "$as_dir" && as_dir=.
48120 for ac_exec_ext in '' $ac_executable_extensions; do
48121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48122 ac_cv_prog_NM="${ac_tool_prefix}nm"
48123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48124 break 2
48125 fi
48126 done
48127 done
48128
48129 fi
48130 fi
48131 NM=$ac_cv_prog_NM
48132 if test -n "$NM"; then
48133 echo "$as_me:$LINENO: result: $NM" >&5
48134 echo "${ECHO_T}$NM" >&6
48135 else
48136 echo "$as_me:$LINENO: result: no" >&5
48137 echo "${ECHO_T}no" >&6
48138 fi
48139
48140 fi
48141 if test -z "$ac_cv_prog_NM"; then
48142 ac_ct_NM=$NM
48143 # Extract the first word of "nm", so it can be a program name with args.
48144 set dummy nm; ac_word=$2
48145 echo "$as_me:$LINENO: checking for $ac_word" >&5
48146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48147 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48148 echo $ECHO_N "(cached) $ECHO_C" >&6
48149 else
48150 if test -n "$ac_ct_NM"; then
48151 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48152 else
48153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48154 for as_dir in $PATH
48155 do
48156 IFS=$as_save_IFS
48157 test -z "$as_dir" && as_dir=.
48158 for ac_exec_ext in '' $ac_executable_extensions; do
48159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48160 ac_cv_prog_ac_ct_NM="nm"
48161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48162 break 2
48163 fi
48164 done
48165 done
48166
48167 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48168 fi
48169 fi
48170 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48171 if test -n "$ac_ct_NM"; then
48172 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48173 echo "${ECHO_T}$ac_ct_NM" >&6
48174 else
48175 echo "$as_me:$LINENO: result: no" >&5
48176 echo "${ECHO_T}no" >&6
48177 fi
48178
48179 NM=$ac_ct_NM
48180 else
48181 NM="$ac_cv_prog_NM"
48182 fi
48183
48184
48185 case ${BAKEFILE_HOST} in
48186 *-hp-hpux* )
48187 INSTALL_DIR="mkdir -p"
48188 ;;
48189 * )
48190 INSTALL_DIR='$(INSTALL) -d'
48191 ;;
48192 esac
48193
48194
48195 LDFLAGS_GUI=
48196 case ${BAKEFILE_HOST} in
48197 *-*-cygwin* | *-*-mingw32* )
48198 LDFLAGS_GUI="-mwindows"
48199 esac
48200
48201
48202 fi
48203
48204 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48205 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48206 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48207 echo $ECHO_N "(cached) $ECHO_C" >&6
48208 else
48209
48210 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48211 egrep -s GNU > /dev/null); then
48212 bakefile_cv_prog_makeisgnu="yes"
48213 else
48214 bakefile_cv_prog_makeisgnu="no"
48215 fi
48216
48217 fi
48218 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48219 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48220
48221 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48222 IF_GNU_MAKE=""
48223 else
48224 IF_GNU_MAKE="#"
48225 fi
48226
48227
48228
48229 PLATFORM_UNIX=0
48230 PLATFORM_WIN32=0
48231 PLATFORM_MSDOS=0
48232 PLATFORM_MAC=0
48233 PLATFORM_MACOS=0
48234 PLATFORM_MACOSX=0
48235 PLATFORM_OS2=0
48236 PLATFORM_BEOS=0
48237
48238 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48239 case "${BAKEFILE_HOST}" in
48240 *-*-mingw32* )
48241 PLATFORM_WIN32=1
48242 ;;
48243 *-pc-msdosdjgpp )
48244 PLATFORM_MSDOS=1
48245 ;;
48246 *-pc-os2_emx | *-pc-os2-emx )
48247 PLATFORM_OS2=1
48248 ;;
48249 *-*-darwin* )
48250 PLATFORM_MAC=1
48251 PLATFORM_MACOSX=1
48252 ;;
48253 *-*-beos* )
48254 PLATFORM_BEOS=1
48255 ;;
48256 powerpc-apple-macos* )
48257 PLATFORM_MAC=1
48258 PLATFORM_MACOS=1
48259 ;;
48260 * )
48261 PLATFORM_UNIX=1
48262 ;;
48263 esac
48264 else
48265 case "$BAKEFILE_FORCE_PLATFORM" in
48266 win32 )
48267 PLATFORM_WIN32=1
48268 ;;
48269 msdos )
48270 PLATFORM_MSDOS=1
48271 ;;
48272 os2 )
48273 PLATFORM_OS2=1
48274 ;;
48275 darwin )
48276 PLATFORM_MAC=1
48277 PLATFORM_MACOSX=1
48278 ;;
48279 unix )
48280 PLATFORM_UNIX=1
48281 ;;
48282 beos )
48283 PLATFORM_BEOS=1
48284 ;;
48285 * )
48286 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48287 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48288 { (exit 1); exit 1; }; }
48289 ;;
48290 esac
48291 fi
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303 # Check whether --enable-omf or --disable-omf was given.
48304 if test "${enable_omf+set}" = set; then
48305 enableval="$enable_omf"
48306 bk_os2_use_omf="$enableval"
48307 fi;
48308
48309 case "${BAKEFILE_HOST}" in
48310 *-*-darwin* )
48311 if test "x$GCC" = "xyes"; then
48312 CFLAGS="$CFLAGS -fno-common"
48313 CXXFLAGS="$CXXFLAGS -fno-common"
48314 fi
48315 if test "x$XLCC" = "xyes"; then
48316 CFLAGS="$CFLAGS -qnocommon"
48317 CXXFLAGS="$CXXFLAGS -qnocommon"
48318 fi
48319 ;;
48320
48321 *-pc-os2_emx | *-pc-os2-emx )
48322 if test "x$bk_os2_use_omf" = "xyes" ; then
48323 AR=emxomfar
48324 RANLIB=:
48325 LDFLAGS="-Zomf $LDFLAGS"
48326 CFLAGS="-Zomf $CFLAGS"
48327 CXXFLAGS="-Zomf $CXXFLAGS"
48328 OS2_LIBEXT="lib"
48329 else
48330 OS2_LIBEXT="a"
48331 fi
48332 ;;
48333
48334 i*86-*-beos* )
48335 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48336 ;;
48337 esac
48338
48339
48340 SO_SUFFIX="so"
48341 SO_SUFFIX_MODULE="so"
48342 EXEEXT=""
48343 LIBPREFIX="lib"
48344 LIBEXT=".a"
48345 DLLPREFIX="lib"
48346 DLLPREFIX_MODULE=""
48347 DLLIMP_SUFFIX=""
48348 dlldir="$libdir"
48349
48350 case "${BAKEFILE_HOST}" in
48351 *-hp-hpux* )
48352 SO_SUFFIX="sl"
48353 SO_SUFFIX_MODULE="sl"
48354 ;;
48355 *-*-aix* )
48356 SO_SUFFIX="a"
48357 SO_SUFFIX_MODULE="a"
48358 ;;
48359 *-*-cygwin* )
48360 SO_SUFFIX="dll"
48361 SO_SUFFIX_MODULE="dll"
48362 DLLIMP_SUFFIX="dll.a"
48363 EXEEXT=".exe"
48364 DLLPREFIX="cyg"
48365 dlldir="$bindir"
48366 ;;
48367 *-*-mingw32* )
48368 SO_SUFFIX="dll"
48369 SO_SUFFIX_MODULE="dll"
48370 DLLIMP_SUFFIX="dll.a"
48371 EXEEXT=".exe"
48372 DLLPREFIX=""
48373 dlldir="$bindir"
48374 ;;
48375 *-pc-msdosdjgpp )
48376 EXEEXT=".exe"
48377 DLLPREFIX=""
48378 dlldir="$bindir"
48379 ;;
48380 *-pc-os2_emx | *-pc-os2-emx )
48381 SO_SUFFIX="dll"
48382 SO_SUFFIX_MODULE="dll"
48383 DLLIMP_SUFFIX=$OS2_LIBEXT
48384 EXEEXT=".exe"
48385 DLLPREFIX=""
48386 LIBPREFIX=""
48387 LIBEXT=".$OS2_LIBEXT"
48388 dlldir="$bindir"
48389 ;;
48390 *-*-darwin* )
48391 SO_SUFFIX="dylib"
48392 SO_SUFFIX_MODULE="bundle"
48393 ;;
48394 esac
48395
48396 if test "x$DLLIMP_SUFFIX" = "x" ; then
48397 DLLIMP_SUFFIX="$SO_SUFFIX"
48398 fi
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411 PIC_FLAG=""
48412 if test "x$GCC" = "xyes"; then
48413 PIC_FLAG="-fPIC"
48414 fi
48415
48416 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48417 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48418 WINDOWS_IMPLIB=0
48419
48420 case "${BAKEFILE_HOST}" in
48421 *-hp-hpux* )
48422 if test "x$GCC" != "xyes"; then
48423 LDFLAGS="$LDFLAGS -L/usr/lib"
48424
48425 SHARED_LD_CC="${CC} -b -o"
48426 SHARED_LD_CXX="${CXX} -b -o"
48427 PIC_FLAG="+Z"
48428 fi
48429 ;;
48430
48431 *-*-linux* )
48432 if test "x$GCC" != "xyes"; then
48433 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48434 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48435 if test "${bakefile_cv_prog_icc+set}" = set; then
48436 echo $ECHO_N "(cached) $ECHO_C" >&6
48437 else
48438
48439 cat >conftest.$ac_ext <<_ACEOF
48440 /* confdefs.h. */
48441 _ACEOF
48442 cat confdefs.h >>conftest.$ac_ext
48443 cat >>conftest.$ac_ext <<_ACEOF
48444 /* end confdefs.h. */
48445
48446 int
48447 main ()
48448 {
48449
48450 #ifndef __INTEL_COMPILER
48451 This is not ICC
48452 #endif
48453
48454 ;
48455 return 0;
48456 }
48457 _ACEOF
48458 rm -f conftest.$ac_objext
48459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48460 (eval $ac_compile) 2>conftest.er1
48461 ac_status=$?
48462 grep -v '^ *+' conftest.er1 >conftest.err
48463 rm -f conftest.er1
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } &&
48467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48469 (eval $ac_try) 2>&5
48470 ac_status=$?
48471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48472 (exit $ac_status); }; } &&
48473 { ac_try='test -s conftest.$ac_objext'
48474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48475 (eval $ac_try) 2>&5
48476 ac_status=$?
48477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48478 (exit $ac_status); }; }; then
48479 bakefile_cv_prog_icc=yes
48480 else
48481 echo "$as_me: failed program was:" >&5
48482 sed 's/^/| /' conftest.$ac_ext >&5
48483
48484 bakefile_cv_prog_icc=no
48485
48486 fi
48487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48488
48489 fi
48490 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48491 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48492 if test "$bakefile_cv_prog_icc" = "yes"; then
48493 PIC_FLAG="-KPIC"
48494 fi
48495 fi
48496 ;;
48497
48498 *-*-solaris2* )
48499 if test "x$GCC" != xyes ; then
48500 SHARED_LD_CC="${CC} -G -o"
48501 SHARED_LD_CXX="${CXX} -G -o"
48502 PIC_FLAG="-KPIC"
48503 fi
48504 ;;
48505
48506 *-*-darwin* )
48507
48508 D='$'
48509 cat <<EOF >shared-ld-sh
48510 #!/bin/sh
48511 #-----------------------------------------------------------------------------
48512 #-- Name: distrib/mac/shared-ld-sh
48513 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48514 #-- Author: Gilles Depeyrot
48515 #-- Copyright: (c) 2002 Gilles Depeyrot
48516 #-- Licence: any use permitted
48517 #-----------------------------------------------------------------------------
48518
48519 verbose=0
48520 args=""
48521 objects=""
48522 linking_flag="-dynamiclib"
48523 ldargs="-r -keep_private_externs -nostdlib"
48524
48525 while test ${D}# -gt 0; do
48526 case ${D}1 in
48527
48528 -v)
48529 verbose=1
48530 ;;
48531
48532 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48533 # collect these options and values
48534 args="${D}{args} ${D}1 ${D}2"
48535 shift
48536 ;;
48537
48538 -s|-Wl,*)
48539 # collect these load args
48540 ldargs="${D}{ldargs} ${D}1"
48541 ;;
48542
48543 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48544 # collect these options
48545 args="${D}{args} ${D}1"
48546 ;;
48547
48548 -dynamiclib|-bundle)
48549 linking_flag="${D}1"
48550 ;;
48551
48552 -*)
48553 echo "shared-ld: unhandled option '${D}1'"
48554 exit 1
48555 ;;
48556
48557 *.o | *.a | *.dylib)
48558 # collect object files
48559 objects="${D}{objects} ${D}1"
48560 ;;
48561
48562 *)
48563 echo "shared-ld: unhandled argument '${D}1'"
48564 exit 1
48565 ;;
48566
48567 esac
48568 shift
48569 done
48570
48571 status=0
48572
48573 #
48574 # Link one module containing all the others
48575 #
48576 if test ${D}{verbose} = 1; then
48577 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48578 fi
48579 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48580 status=${D}?
48581
48582 #
48583 # Link the shared library from the single module created, but only if the
48584 # previous command didn't fail:
48585 #
48586 if test ${D}{status} = 0; then
48587 if test ${D}{verbose} = 1; then
48588 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48589 fi
48590 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48591 status=${D}?
48592 fi
48593
48594 #
48595 # Remove intermediate module
48596 #
48597 rm -f master.${D}${D}.o
48598
48599 exit ${D}status
48600 EOF
48601
48602 chmod +x shared-ld-sh
48603
48604 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48605 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48606
48607
48608 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48609 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48610 if test "${bakefile_cv_gcc31+set}" = set; then
48611 echo $ECHO_N "(cached) $ECHO_C" >&6
48612 else
48613
48614 cat >conftest.$ac_ext <<_ACEOF
48615 /* confdefs.h. */
48616 _ACEOF
48617 cat confdefs.h >>conftest.$ac_ext
48618 cat >>conftest.$ac_ext <<_ACEOF
48619 /* end confdefs.h. */
48620
48621 int
48622 main ()
48623 {
48624
48625 #if (__GNUC__ < 3) || \
48626 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48627 This is old gcc
48628 #endif
48629
48630 ;
48631 return 0;
48632 }
48633 _ACEOF
48634 rm -f conftest.$ac_objext
48635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48636 (eval $ac_compile) 2>conftest.er1
48637 ac_status=$?
48638 grep -v '^ *+' conftest.er1 >conftest.err
48639 rm -f conftest.er1
48640 cat conftest.err >&5
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); } &&
48643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48645 (eval $ac_try) 2>&5
48646 ac_status=$?
48647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48648 (exit $ac_status); }; } &&
48649 { ac_try='test -s conftest.$ac_objext'
48650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48651 (eval $ac_try) 2>&5
48652 ac_status=$?
48653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48654 (exit $ac_status); }; }; then
48655
48656 bakefile_cv_gcc31=yes
48657
48658 else
48659 echo "$as_me: failed program was:" >&5
48660 sed 's/^/| /' conftest.$ac_ext >&5
48661
48662
48663 bakefile_cv_gcc31=no
48664
48665
48666 fi
48667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48668
48669 fi
48670 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48671 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48672 if test "$bakefile_cv_gcc31" = "no"; then
48673 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48674 SHARED_LD_CXX="$SHARED_LD_CC"
48675 else
48676 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48677 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48678 fi
48679
48680 if test "x$GCC" == "xyes"; then
48681 PIC_FLAG="-dynamic -fPIC"
48682 fi
48683 if test "x$XLCC" = "xyes"; then
48684 PIC_FLAG="-dynamic -DPIC"
48685 fi
48686 ;;
48687
48688 *-*-aix* )
48689 if test "x$GCC" = "xyes"; then
48690 PIC_FLAG=""
48691
48692 case "${BAKEFILE_HOST}" in
48693 *-*-aix5* )
48694 LD_EXPFULL="-Wl,-bexpfull"
48695 ;;
48696 esac
48697
48698 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48699 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48700 else
48701 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48702 set dummy makeC++SharedLib; ac_word=$2
48703 echo "$as_me:$LINENO: checking for $ac_word" >&5
48704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48705 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48706 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 else
48708 if test -n "$AIX_CXX_LD"; then
48709 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48710 else
48711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48712 for as_dir in $PATH
48713 do
48714 IFS=$as_save_IFS
48715 test -z "$as_dir" && as_dir=.
48716 for ac_exec_ext in '' $ac_executable_extensions; do
48717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48718 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48720 break 2
48721 fi
48722 done
48723 done
48724
48725 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48726 fi
48727 fi
48728 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48729 if test -n "$AIX_CXX_LD"; then
48730 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48731 echo "${ECHO_T}$AIX_CXX_LD" >&6
48732 else
48733 echo "$as_me:$LINENO: result: no" >&5
48734 echo "${ECHO_T}no" >&6
48735 fi
48736
48737 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48738 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48739 fi
48740 ;;
48741
48742 *-*-beos* )
48743 SHARED_LD_CC="${LD} -nostart -o"
48744 SHARED_LD_CXX="${LD} -nostart -o"
48745 ;;
48746
48747 *-*-irix* )
48748 if test "x$GCC" != "xyes"; then
48749 PIC_FLAG="-KPIC"
48750 fi
48751 ;;
48752
48753 *-*-cygwin* | *-*-mingw32* )
48754 PIC_FLAG=""
48755 SHARED_LD_CC="\$(CC) -shared -o"
48756 SHARED_LD_CXX="\$(CXX) -shared -o"
48757 WINDOWS_IMPLIB=1
48758 ;;
48759
48760 *-pc-os2_emx | *-pc-os2-emx )
48761 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48762 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48763 PIC_FLAG=""
48764
48765 D='$'
48766 cat <<EOF >dllar.sh
48767 #!/bin/sh
48768 #
48769 # dllar - a tool to build both a .dll and an .a file
48770 # from a set of object (.o) files for EMX/OS2.
48771 #
48772 # Written by Andrew Zabolotny, bit@freya.etu.ru
48773 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48774 #
48775 # This script will accept a set of files on the command line.
48776 # All the public symbols from the .o files will be exported into
48777 # a .DEF file, then linker will be run (through gcc) against them to
48778 # build a shared library consisting of all given .o files. All libraries
48779 # (.a) will be first decompressed into component .o files then act as
48780 # described above. You can optionally give a description (-d "description")
48781 # which will be put into .DLL. To see the list of accepted options (as well
48782 # as command-line format) simply run this program without options. The .DLL
48783 # is built to be imported by name (there is no guarantee that new versions
48784 # of the library you build will have same ordinals for same symbols).
48785 #
48786 # dllar is free software; you can redistribute it and/or modify
48787 # it under the terms of the GNU General Public License as published by
48788 # the Free Software Foundation; either version 2, or (at your option)
48789 # any later version.
48790 #
48791 # dllar is distributed in the hope that it will be useful,
48792 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48793 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48794 # GNU General Public License for more details.
48795 #
48796 # You should have received a copy of the GNU General Public License
48797 # along with dllar; see the file COPYING. If not, write to the Free
48798 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48799 # 02111-1307, USA.
48800
48801 # To successfuly run this program you will need:
48802 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48803 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48804 # - gcc
48805 # (used to build the .dll)
48806 # - emxexp
48807 # (used to create .def file from .o files)
48808 # - emximp
48809 # (used to create .a file from .def file)
48810 # - GNU text utilites (cat, sort, uniq)
48811 # used to process emxexp output
48812 # - GNU file utilities (mv, rm)
48813 # - GNU sed
48814 # - lxlite (optional, see flag below)
48815 # (used for general .dll cleanup)
48816 #
48817
48818 flag_USE_LXLITE=1;
48819
48820 #
48821 # helper functions
48822 # basnam, variant of basename, which does _not_ remove the path, _iff_
48823 # second argument (suffix to remove) is given
48824 basnam(){
48825 case ${D}# in
48826 1)
48827 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48828 ;;
48829 2)
48830 echo ${D}1 | sed 's/'${D}2'${D}//'
48831 ;;
48832 *)
48833 echo "error in basnam ${D}*"
48834 exit 8
48835 ;;
48836 esac
48837 }
48838
48839 # Cleanup temporary files and output
48840 CleanUp() {
48841 cd ${D}curDir
48842 for i in ${D}inputFiles ; do
48843 case ${D}i in
48844 *!)
48845 rm -rf \`basnam ${D}i !\`
48846 ;;
48847 *)
48848 ;;
48849 esac
48850 done
48851
48852 # Kill result in case of failure as there is just to many stupid make/nmake
48853 # things out there which doesn't do this.
48854 if [ ${D}# -eq 0 ]; then
48855 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48856 fi
48857 }
48858
48859 # Print usage and exit script with rc=1.
48860 PrintHelp() {
48861 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48862 echo ' [-name-mangler-script script.sh]'
48863 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48864 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48865 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48866 echo ' [*.o] [*.a]'
48867 echo '*> "output_file" should have no extension.'
48868 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48869 echo ' The import library name is derived from this and is set to "name".a,'
48870 echo ' unless overridden by -import'
48871 echo '*> "importlib_name" should have no extension.'
48872 echo ' If it has the .o, or .a extension, it is automatically removed.'
48873 echo ' This name is used as the import library name and may be longer and'
48874 echo ' more descriptive than the DLL name which has to follow the old '
48875 echo ' 8.3 convention of FAT.'
48876 echo '*> "script.sh may be given to override the output_file name by a'
48877 echo ' different name. It is mainly useful if the regular make process'
48878 echo ' of some package does not take into account OS/2 restriction of'
48879 echo ' DLL name lengths. It takes the importlib name as input and is'
48880 echo ' supposed to procude a shorter name as output. The script should'
48881 echo ' expect to get importlib_name without extension and should produce'
48882 echo ' a (max.) 8 letter name without extension.'
48883 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48884 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48885 echo ' These flags will be put at the start of GCC command line.'
48886 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48887 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48888 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48889 echo ' If the last character of a symbol is "*", all symbols beginning'
48890 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48891 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48892 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48893 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48894 echo ' C runtime DLLs.'
48895 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48896 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48897 echo ' unchanged to GCC at the end of command line.'
48898 echo '*> If you create a DLL from a library and you do not specify -o,'
48899 echo ' the basename for DLL and import library will be set to library name,'
48900 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48901 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48902 echo ' library will be renamed into gcc_s.a.'
48903 echo '--------'
48904 echo 'Example:'
48905 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48906 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48907 CleanUp
48908 exit 1
48909 }
48910
48911 # Execute a command.
48912 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48913 # @Uses Whatever CleanUp() uses.
48914 doCommand() {
48915 echo "${D}*"
48916 eval ${D}*
48917 rcCmd=${D}?
48918
48919 if [ ${D}rcCmd -ne 0 ]; then
48920 echo "command failed, exit code="${D}rcCmd
48921 CleanUp
48922 exit ${D}rcCmd
48923 fi
48924 }
48925
48926 # main routine
48927 # setup globals
48928 cmdLine=${D}*
48929 outFile=""
48930 outimpFile=""
48931 inputFiles=""
48932 renameScript=""
48933 description=""
48934 CC=gcc.exe
48935 CFLAGS="-s -Zcrtdll"
48936 EXTRA_CFLAGS=""
48937 EXPORT_BY_ORDINALS=0
48938 exclude_symbols=""
48939 library_flags=""
48940 curDir=\`pwd\`
48941 curDirS=curDir
48942 case ${D}curDirS in
48943 */)
48944 ;;
48945 *)
48946 curDirS=${D}{curDirS}"/"
48947 ;;
48948 esac
48949 # Parse commandline
48950 libsToLink=0
48951 omfLinking=0
48952 while [ ${D}1 ]; do
48953 case ${D}1 in
48954 -ord*)
48955 EXPORT_BY_ORDINALS=1;
48956 ;;
48957 -o*)
48958 shift
48959 outFile=${D}1
48960 ;;
48961 -i*)
48962 shift
48963 outimpFile=${D}1
48964 ;;
48965 -name-mangler-script)
48966 shift
48967 renameScript=${D}1
48968 ;;
48969 -d*)
48970 shift
48971 description=${D}1
48972 ;;
48973 -f*)
48974 shift
48975 CFLAGS=${D}1
48976 ;;
48977 -c*)
48978 shift
48979 CC=${D}1
48980 ;;
48981 -h*)
48982 PrintHelp
48983 ;;
48984 -ex*)
48985 shift
48986 exclude_symbols=${D}{exclude_symbols}${D}1" "
48987 ;;
48988 -libf*)
48989 shift
48990 library_flags=${D}{library_flags}${D}1" "
48991 ;;
48992 -nocrt*)
48993 CFLAGS="-s"
48994 ;;
48995 -nolxl*)
48996 flag_USE_LXLITE=0
48997 ;;
48998 -* | /*)
48999 case ${D}1 in
49000 -L* | -l*)
49001 libsToLink=1
49002 ;;
49003 -Zomf)
49004 omfLinking=1
49005 ;;
49006 *)
49007 ;;
49008 esac
49009 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49010 ;;
49011 *.dll)
49012 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49013 if [ ${D}omfLinking -eq 1 ]; then
49014 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49015 else
49016 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49017 fi
49018 ;;
49019 *)
49020 found=0;
49021 if [ ${D}libsToLink -ne 0 ]; then
49022 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49023 else
49024 for file in ${D}1 ; do
49025 if [ -f ${D}file ]; then
49026 inputFiles="${D}{inputFiles} ${D}file"
49027 found=1
49028 fi
49029 done
49030 if [ ${D}found -eq 0 ]; then
49031 echo "ERROR: No file(s) found: "${D}1
49032 exit 8
49033 fi
49034 fi
49035 ;;
49036 esac
49037 shift
49038 done # iterate cmdline words
49039
49040 #
49041 if [ -z "${D}inputFiles" ]; then
49042 echo "dllar: no input files"
49043 PrintHelp
49044 fi
49045
49046 # Now extract all .o files from .a files
49047 newInputFiles=""
49048 for file in ${D}inputFiles ; do
49049 case ${D}file in
49050 *.a | *.lib)
49051 case ${D}file in
49052 *.a)
49053 suffix=".a"
49054 AR="ar"
49055 ;;
49056 *.lib)
49057 suffix=".lib"
49058 AR="emxomfar"
49059 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49060 ;;
49061 *)
49062 ;;
49063 esac
49064 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49065 mkdir ${D}dirname
49066 if [ ${D}? -ne 0 ]; then
49067 echo "Failed to create subdirectory ./${D}dirname"
49068 CleanUp
49069 exit 8;
49070 fi
49071 # Append '!' to indicate archive
49072 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49073 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49074 cd ${D}curDir
49075 found=0;
49076 for subfile in ${D}dirname/*.o* ; do
49077 if [ -f ${D}subfile ]; then
49078 found=1
49079 if [ -s ${D}subfile ]; then
49080 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49081 newInputFiles="${D}newInputFiles ${D}subfile"
49082 fi
49083 fi
49084 done
49085 if [ ${D}found -eq 0 ]; then
49086 echo "WARNING: there are no files in archive \\'${D}file\\'"
49087 fi
49088 ;;
49089 *)
49090 newInputFiles="${D}{newInputFiles} ${D}file"
49091 ;;
49092 esac
49093 done
49094 inputFiles="${D}newInputFiles"
49095
49096 # Output filename(s).
49097 do_backup=0;
49098 if [ -z ${D}outFile ]; then
49099 do_backup=1;
49100 set outFile ${D}inputFiles; outFile=${D}2
49101 fi
49102
49103 # If it is an archive, remove the '!' and the '_%' suffixes
49104 case ${D}outFile in
49105 *_%!)
49106 outFile=\`basnam ${D}outFile _%!\`
49107 ;;
49108 *)
49109 ;;
49110 esac
49111 case ${D}outFile in
49112 *.dll)
49113 outFile=\`basnam ${D}outFile .dll\`
49114 ;;
49115 *.DLL)
49116 outFile=\`basnam ${D}outFile .DLL\`
49117 ;;
49118 *.o)
49119 outFile=\`basnam ${D}outFile .o\`
49120 ;;
49121 *.obj)
49122 outFile=\`basnam ${D}outFile .obj\`
49123 ;;
49124 *.a)
49125 outFile=\`basnam ${D}outFile .a\`
49126 ;;
49127 *.lib)
49128 outFile=\`basnam ${D}outFile .lib\`
49129 ;;
49130 *)
49131 ;;
49132 esac
49133 case ${D}outimpFile in
49134 *.a)
49135 outimpFile=\`basnam ${D}outimpFile .a\`
49136 ;;
49137 *.lib)
49138 outimpFile=\`basnam ${D}outimpFile .lib\`
49139 ;;
49140 *)
49141 ;;
49142 esac
49143 if [ -z ${D}outimpFile ]; then
49144 outimpFile=${D}outFile
49145 fi
49146 defFile="${D}{outFile}.def"
49147 arcFile="${D}{outimpFile}.a"
49148 arcFile2="${D}{outimpFile}.lib"
49149
49150 #create ${D}dllFile as something matching 8.3 restrictions,
49151 if [ -z ${D}renameScript ] ; then
49152 dllFile="${D}outFile"
49153 else
49154 dllFile=\`${D}renameScript ${D}outimpFile\`
49155 fi
49156
49157 if [ ${D}do_backup -ne 0 ] ; then
49158 if [ -f ${D}arcFile ] ; then
49159 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49160 fi
49161 if [ -f ${D}arcFile2 ] ; then
49162 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49163 fi
49164 fi
49165
49166 # Extract public symbols from all the object files.
49167 tmpdefFile=${D}{defFile}_%
49168 rm -f ${D}tmpdefFile
49169 for file in ${D}inputFiles ; do
49170 case ${D}file in
49171 *!)
49172 ;;
49173 *)
49174 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49175 ;;
49176 esac
49177 done
49178
49179 # Create the def file.
49180 rm -f ${D}defFile
49181 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49182 dllFile="${D}{dllFile}.dll"
49183 if [ ! -z ${D}description ]; then
49184 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49185 fi
49186 echo "EXPORTS" >> ${D}defFile
49187
49188 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49189 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49190
49191 # Checks if the export is ok or not.
49192 for word in ${D}exclude_symbols; do
49193 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49194 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49195 done
49196
49197
49198 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49199 sed "=" < ${D}tmpdefFile | \\
49200 sed '
49201 N
49202 : loop
49203 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49204 t loop
49205 ' > ${D}{tmpdefFile}%
49206 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49207 else
49208 rm -f ${D}{tmpdefFile}%
49209 fi
49210 cat ${D}tmpdefFile >> ${D}defFile
49211 rm -f ${D}tmpdefFile
49212
49213 # Do linking, create implib, and apply lxlite.
49214 gccCmdl="";
49215 for file in ${D}inputFiles ; do
49216 case ${D}file in
49217 *!)
49218 ;;
49219 *)
49220 gccCmdl="${D}gccCmdl ${D}file"
49221 ;;
49222 esac
49223 done
49224 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49225 touch "${D}{outFile}.dll"
49226
49227 doCommand "emximp -o ${D}arcFile ${D}defFile"
49228 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49229 add_flags="";
49230 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49231 add_flags="-ynd"
49232 fi
49233 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49234 fi
49235 doCommand "emxomf -s -l ${D}arcFile"
49236
49237 # Successful exit.
49238 CleanUp 1
49239 exit 0
49240 EOF
49241
49242 chmod +x dllar.sh
49243 ;;
49244
49245 powerpc-apple-macos* | \
49246 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49247 *-*-mirbsd* | \
49248 *-*-sunos4* | \
49249 *-*-osf* | \
49250 *-*-dgux5* | \
49251 *-*-sysv5* | \
49252 *-pc-msdosdjgpp )
49253 ;;
49254
49255 *)
49256 esac
49257
49258 if test "x$PIC_FLAG" != "x" ; then
49259 PIC_FLAG="$PIC_FLAG -DPIC"
49260 fi
49261
49262 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49263 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49264 fi
49265 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49266 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49267 fi
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277 USE_SOVERSION=0
49278 USE_SOVERLINUX=0
49279 USE_SOVERSOLARIS=0
49280 USE_SOVERCYGWIN=0
49281 USE_SOSYMLINKS=0
49282 USE_MACVERSION=0
49283 SONAME_FLAG=
49284
49285 case "${BAKEFILE_HOST}" in
49286 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49287 SONAME_FLAG="-Wl,-soname,"
49288 USE_SOVERSION=1
49289 USE_SOVERLINUX=1
49290 USE_SOSYMLINKS=1
49291 ;;
49292
49293 *-*-solaris2* )
49294 SONAME_FLAG="-h "
49295 USE_SOVERSION=1
49296 USE_SOVERSOLARIS=1
49297 USE_SOSYMLINKS=1
49298 ;;
49299
49300 *-*-darwin* )
49301 USE_MACVERSION=1
49302 USE_SOVERSION=1
49303 USE_SOSYMLINKS=1
49304 ;;
49305
49306 *-*-cygwin* )
49307 USE_SOVERSION=1
49308 USE_SOVERCYGWIN=1
49309 ;;
49310 esac
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49322 if test "${enable_dependency_tracking+set}" = set; then
49323 enableval="$enable_dependency_tracking"
49324 bk_use_trackdeps="$enableval"
49325 fi;
49326
49327 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49328 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49329
49330 BK_DEPS=""
49331 if test "x$bk_use_trackdeps" = "xno" ; then
49332 DEPS_TRACKING=0
49333 echo "$as_me:$LINENO: result: disabled" >&5
49334 echo "${ECHO_T}disabled" >&6
49335 else
49336 DEPS_TRACKING=1
49337
49338 if test "x$GCC" = "xyes"; then
49339 DEPSMODE=gcc
49340 case "${BAKEFILE_HOST}" in
49341 *-*-darwin* )
49342 DEPSFLAG="-no-cpp-precomp -MMD"
49343 ;;
49344 * )
49345 DEPSFLAG="-MMD"
49346 ;;
49347 esac
49348 echo "$as_me:$LINENO: result: gcc" >&5
49349 echo "${ECHO_T}gcc" >&6
49350 elif test "x$MWCC" = "xyes"; then
49351 DEPSMODE=mwcc
49352 DEPSFLAG="-MM"
49353 echo "$as_me:$LINENO: result: mwcc" >&5
49354 echo "${ECHO_T}mwcc" >&6
49355 elif test "x$SUNCC" = "xyes"; then
49356 DEPSMODE=unixcc
49357 DEPSFLAG="-xM1"
49358 echo "$as_me:$LINENO: result: Sun cc" >&5
49359 echo "${ECHO_T}Sun cc" >&6
49360 elif test "x$SGICC" = "xyes"; then
49361 DEPSMODE=unixcc
49362 DEPSFLAG="-M"
49363 echo "$as_me:$LINENO: result: SGI cc" >&5
49364 echo "${ECHO_T}SGI cc" >&6
49365 elif test "x$HPCC" = "xyes"; then
49366 DEPSMODE=unixcc
49367 DEPSFLAG="+make"
49368 echo "$as_me:$LINENO: result: HP cc" >&5
49369 echo "${ECHO_T}HP cc" >&6
49370 elif test "x$COMPAQCC" = "xyes"; then
49371 DEPSMODE=gcc
49372 DEPSFLAG="-MD"
49373 echo "$as_me:$LINENO: result: Compaq cc" >&5
49374 echo "${ECHO_T}Compaq cc" >&6
49375 else
49376 DEPS_TRACKING=0
49377 echo "$as_me:$LINENO: result: none" >&5
49378 echo "${ECHO_T}none" >&6
49379 fi
49380
49381 if test $DEPS_TRACKING = 1 ; then
49382
49383 D='$'
49384 cat <<EOF >bk-deps
49385 #!/bin/sh
49386
49387 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49388 # script. It is used to track C/C++ files dependencies in portable way.
49389 #
49390 # Permission is given to use this file in any way.
49391
49392 DEPSMODE=${DEPSMODE}
49393 DEPSDIR=.deps
49394 DEPSFLAG="${DEPSFLAG}"
49395
49396 mkdir -p ${D}DEPSDIR
49397
49398 if test ${D}DEPSMODE = gcc ; then
49399 ${D}* ${D}{DEPSFLAG}
49400 status=${D}?
49401 if test ${D}{status} != 0 ; then
49402 exit ${D}{status}
49403 fi
49404 # move created file to the location we want it in:
49405 while test ${D}# -gt 0; do
49406 case "${D}1" in
49407 -o )
49408 shift
49409 objfile=${D}1
49410 ;;
49411 -* )
49412 ;;
49413 * )
49414 srcfile=${D}1
49415 ;;
49416 esac
49417 shift
49418 done
49419 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49420 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49421 if test -f ${D}depfile ; then
49422 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49423 rm -f ${D}depfile
49424 else
49425 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49426 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49427 if test ! -f ${D}depfile ; then
49428 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49429 depfile="${D}objfile.d"
49430 fi
49431 if test -f ${D}depfile ; then
49432 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49433 rm -f ${D}depfile
49434 fi
49435 fi
49436 exit 0
49437 elif test ${D}DEPSMODE = mwcc ; then
49438 ${D}* || exit ${D}?
49439 # Run mwcc again with -MM and redirect into the dep file we want
49440 # NOTE: We can't use shift here because we need ${D}* to be valid
49441 prevarg=
49442 for arg in ${D}* ; do
49443 if test "${D}prevarg" = "-o"; then
49444 objfile=${D}arg
49445 else
49446 case "${D}arg" in
49447 -* )
49448 ;;
49449 * )
49450 srcfile=${D}arg
49451 ;;
49452 esac
49453 fi
49454 prevarg="${D}arg"
49455 done
49456 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49457 exit 0
49458 elif test ${D}DEPSMODE = unixcc; then
49459 ${D}* || exit ${D}?
49460 # Run compiler again with deps flag and redirect into the dep file.
49461 # It doesn't work if the '-o FILE' option is used, but without it the
49462 # dependency file will contain the wrong name for the object. So it is
49463 # removed from the command line, and the dep file is fixed with sed.
49464 cmd=""
49465 while test ${D}# -gt 0; do
49466 case "${D}1" in
49467 -o )
49468 shift
49469 objfile=${D}1
49470 ;;
49471 * )
49472 eval arg${D}#=\\${D}1
49473 cmd="${D}cmd \\${D}arg${D}#"
49474 ;;
49475 esac
49476 shift
49477 done
49478 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49479 exit 0
49480 else
49481 ${D}*
49482 exit ${D}?
49483 fi
49484 EOF
49485
49486 chmod +x bk-deps
49487 BK_DEPS="`pwd`/bk-deps"
49488 fi
49489 fi
49490
49491
49492
49493
49494
49495 case ${BAKEFILE_HOST} in
49496 *-*-cygwin* | *-*-mingw32* )
49497 if test -n "$ac_tool_prefix"; then
49498 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49499 set dummy ${ac_tool_prefix}windres; ac_word=$2
49500 echo "$as_me:$LINENO: checking for $ac_word" >&5
49501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49502 if test "${ac_cv_prog_WINDRES+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 else
49505 if test -n "$WINDRES"; then
49506 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49507 else
49508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49509 for as_dir in $PATH
49510 do
49511 IFS=$as_save_IFS
49512 test -z "$as_dir" && as_dir=.
49513 for ac_exec_ext in '' $ac_executable_extensions; do
49514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49515 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49517 break 2
49518 fi
49519 done
49520 done
49521
49522 fi
49523 fi
49524 WINDRES=$ac_cv_prog_WINDRES
49525 if test -n "$WINDRES"; then
49526 echo "$as_me:$LINENO: result: $WINDRES" >&5
49527 echo "${ECHO_T}$WINDRES" >&6
49528 else
49529 echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6
49531 fi
49532
49533 fi
49534 if test -z "$ac_cv_prog_WINDRES"; then
49535 ac_ct_WINDRES=$WINDRES
49536 # Extract the first word of "windres", so it can be a program name with args.
49537 set dummy windres; ac_word=$2
49538 echo "$as_me:$LINENO: checking for $ac_word" >&5
49539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49540 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49541 echo $ECHO_N "(cached) $ECHO_C" >&6
49542 else
49543 if test -n "$ac_ct_WINDRES"; then
49544 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49545 else
49546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49547 for as_dir in $PATH
49548 do
49549 IFS=$as_save_IFS
49550 test -z "$as_dir" && as_dir=.
49551 for ac_exec_ext in '' $ac_executable_extensions; do
49552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49553 ac_cv_prog_ac_ct_WINDRES="windres"
49554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49555 break 2
49556 fi
49557 done
49558 done
49559
49560 fi
49561 fi
49562 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49563 if test -n "$ac_ct_WINDRES"; then
49564 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49565 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49566 else
49567 echo "$as_me:$LINENO: result: no" >&5
49568 echo "${ECHO_T}no" >&6
49569 fi
49570
49571 WINDRES=$ac_ct_WINDRES
49572 else
49573 WINDRES="$ac_cv_prog_WINDRES"
49574 fi
49575
49576 ;;
49577
49578 *-*-darwin* | powerpc-apple-macos* )
49579 # Extract the first word of "Rez", so it can be a program name with args.
49580 set dummy Rez; ac_word=$2
49581 echo "$as_me:$LINENO: checking for $ac_word" >&5
49582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49583 if test "${ac_cv_prog_REZ+set}" = set; then
49584 echo $ECHO_N "(cached) $ECHO_C" >&6
49585 else
49586 if test -n "$REZ"; then
49587 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49588 else
49589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49590 for as_dir in $PATH
49591 do
49592 IFS=$as_save_IFS
49593 test -z "$as_dir" && as_dir=.
49594 for ac_exec_ext in '' $ac_executable_extensions; do
49595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49596 ac_cv_prog_REZ="Rez"
49597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49598 break 2
49599 fi
49600 done
49601 done
49602
49603 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49604 fi
49605 fi
49606 REZ=$ac_cv_prog_REZ
49607 if test -n "$REZ"; then
49608 echo "$as_me:$LINENO: result: $REZ" >&5
49609 echo "${ECHO_T}$REZ" >&6
49610 else
49611 echo "$as_me:$LINENO: result: no" >&5
49612 echo "${ECHO_T}no" >&6
49613 fi
49614
49615 # Extract the first word of "SetFile", so it can be a program name with args.
49616 set dummy SetFile; ac_word=$2
49617 echo "$as_me:$LINENO: checking for $ac_word" >&5
49618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49619 if test "${ac_cv_prog_SETFILE+set}" = set; then
49620 echo $ECHO_N "(cached) $ECHO_C" >&6
49621 else
49622 if test -n "$SETFILE"; then
49623 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49624 else
49625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49626 for as_dir in $PATH
49627 do
49628 IFS=$as_save_IFS
49629 test -z "$as_dir" && as_dir=.
49630 for ac_exec_ext in '' $ac_executable_extensions; do
49631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49632 ac_cv_prog_SETFILE="SetFile"
49633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49634 break 2
49635 fi
49636 done
49637 done
49638
49639 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49640 fi
49641 fi
49642 SETFILE=$ac_cv_prog_SETFILE
49643 if test -n "$SETFILE"; then
49644 echo "$as_me:$LINENO: result: $SETFILE" >&5
49645 echo "${ECHO_T}$SETFILE" >&6
49646 else
49647 echo "$as_me:$LINENO: result: no" >&5
49648 echo "${ECHO_T}no" >&6
49649 fi
49650
49651 ;;
49652 esac
49653
49654
49655
49656
49657
49658
49659 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49660
49661
49662 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49663
49664
49665
49666 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49667 if test "${enable_precomp_headers+set}" = set; then
49668 enableval="$enable_precomp_headers"
49669 bk_use_pch="$enableval"
49670 fi;
49671
49672 GCC_PCH=0
49673 ICC_PCH=0
49674 USE_PCH=0
49675 BK_MAKE_PCH=""
49676
49677 case ${BAKEFILE_HOST} in
49678 *-*-cygwin* )
49679 bk_use_pch="no"
49680 ;;
49681 esac
49682
49683 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49684 if test "x$GCC" = "xyes"; then
49685 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49686 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49687 cat >conftest.$ac_ext <<_ACEOF
49688 /* confdefs.h. */
49689 _ACEOF
49690 cat confdefs.h >>conftest.$ac_ext
49691 cat >>conftest.$ac_ext <<_ACEOF
49692 /* end confdefs.h. */
49693
49694 int
49695 main ()
49696 {
49697
49698 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49699 There is no PCH support
49700 #endif
49701 #if (__GNUC__ < 3)
49702 There is no PCH support
49703 #endif
49704 #if (__GNUC__ == 3) && \
49705 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49706 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49707 ( defined(__INTEL_COMPILER) )
49708 There is no PCH support
49709 #endif
49710
49711 ;
49712 return 0;
49713 }
49714 _ACEOF
49715 rm -f conftest.$ac_objext
49716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49717 (eval $ac_compile) 2>conftest.er1
49718 ac_status=$?
49719 grep -v '^ *+' conftest.er1 >conftest.err
49720 rm -f conftest.er1
49721 cat conftest.err >&5
49722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49723 (exit $ac_status); } &&
49724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49726 (eval $ac_try) 2>&5
49727 ac_status=$?
49728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49729 (exit $ac_status); }; } &&
49730 { ac_try='test -s conftest.$ac_objext'
49731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49732 (eval $ac_try) 2>&5
49733 ac_status=$?
49734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49735 (exit $ac_status); }; }; then
49736
49737 echo "$as_me:$LINENO: result: yes" >&5
49738 echo "${ECHO_T}yes" >&6
49739 GCC_PCH=1
49740
49741 else
49742 echo "$as_me: failed program was:" >&5
49743 sed 's/^/| /' conftest.$ac_ext >&5
49744
49745
49746 cat >conftest.$ac_ext <<_ACEOF
49747 /* confdefs.h. */
49748 _ACEOF
49749 cat confdefs.h >>conftest.$ac_ext
49750 cat >>conftest.$ac_ext <<_ACEOF
49751 /* end confdefs.h. */
49752
49753 int
49754 main ()
49755 {
49756
49757 #if !defined(__INTEL_COMPILER) || \
49758 (__INTEL_COMPILER < 800)
49759 There is no PCH support
49760 #endif
49761
49762 ;
49763 return 0;
49764 }
49765 _ACEOF
49766 rm -f conftest.$ac_objext
49767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49768 (eval $ac_compile) 2>conftest.er1
49769 ac_status=$?
49770 grep -v '^ *+' conftest.er1 >conftest.err
49771 rm -f conftest.er1
49772 cat conftest.err >&5
49773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49774 (exit $ac_status); } &&
49775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49777 (eval $ac_try) 2>&5
49778 ac_status=$?
49779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780 (exit $ac_status); }; } &&
49781 { ac_try='test -s conftest.$ac_objext'
49782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49783 (eval $ac_try) 2>&5
49784 ac_status=$?
49785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49786 (exit $ac_status); }; }; then
49787
49788 echo "$as_me:$LINENO: result: yes" >&5
49789 echo "${ECHO_T}yes" >&6
49790 ICC_PCH=1
49791
49792 else
49793 echo "$as_me: failed program was:" >&5
49794 sed 's/^/| /' conftest.$ac_ext >&5
49795
49796
49797 echo "$as_me:$LINENO: result: no" >&5
49798 echo "${ECHO_T}no" >&6
49799
49800 fi
49801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49802
49803 fi
49804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49805 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49806 USE_PCH=1
49807
49808 D='$'
49809 cat <<EOF >bk-make-pch
49810 #!/bin/sh
49811
49812 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49813 # script. It is used to generated precompiled headers.
49814 #
49815 # Permission is given to use this file in any way.
49816
49817 outfile="${D}{1}"
49818 header="${D}{2}"
49819 shift
49820 shift
49821
49822 compiler=""
49823 headerfile=""
49824
49825 while test ${D}{#} -gt 0; do
49826 add_to_cmdline=1
49827 case "${D}{1}" in
49828 -I* )
49829 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49830 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49831 headerfile="${D}{incdir}/${D}{header}"
49832 fi
49833 ;;
49834 -use-pch|-use_pch )
49835 shift
49836 add_to_cmdline=0
49837 ;;
49838 esac
49839 if test ${D}add_to_cmdline = 1 ; then
49840 compiler="${D}{compiler} ${D}{1}"
49841 fi
49842 shift
49843 done
49844
49845 if test "x${D}{headerfile}" = "x" ; then
49846 echo "error: can't find header ${D}{header} in include paths" >&2
49847 else
49848 if test -f ${D}{outfile} ; then
49849 rm -f ${D}{outfile}
49850 else
49851 mkdir -p \`dirname ${D}{outfile}\`
49852 fi
49853 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49854 mkdir -p .deps
49855 if test "x${GCC_PCH}" = "x1" ; then
49856 # can do this because gcc is >= 3.4:
49857 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49858 elif test "x${ICC_PCH}" = "x1" ; then
49859 filename=pch_gen-${D}${D}
49860 file=${D}{filename}.c
49861 dfile=${D}{filename}.d
49862 cat > ${D}file <<EOT
49863 #include "${D}header"
49864 EOT
49865 # using -MF icc complains about differing command lines in creation/use
49866 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49867 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49868 rm -f ${D}file ${D}dfile ${D}{filename}.o
49869 fi
49870 exit ${D}{?}
49871 fi
49872 EOF
49873
49874 chmod +x bk-make-pch
49875 BK_MAKE_PCH="`pwd`/bk-make-pch"
49876 fi
49877 fi
49878 fi
49879
49880
49881
49882
49883
49884 COND_BUILD_DEBUG="#"
49885 if test "x$BUILD" = "xdebug" ; then
49886 COND_BUILD_DEBUG=""
49887 fi
49888
49889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49890 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49891 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49892 fi
49893
49894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49895 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49896 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49897 fi
49898
49899 COND_BUILD_DEBUG_UNICODE_0="#"
49900 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49901 COND_BUILD_DEBUG_UNICODE_0=""
49902 fi
49903
49904 COND_BUILD_DEBUG_UNICODE_1="#"
49905 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49906 COND_BUILD_DEBUG_UNICODE_1=""
49907 fi
49908
49909 COND_BUILD_RELEASE="#"
49910 if test "x$BUILD" = "xrelease" ; then
49911 COND_BUILD_RELEASE=""
49912 fi
49913
49914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49915 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49916 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49917 fi
49918
49919 COND_BUILD_RELEASE_UNICODE_0="#"
49920 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49921 COND_BUILD_RELEASE_UNICODE_0=""
49922 fi
49923
49924 COND_BUILD_RELEASE_UNICODE_1="#"
49925 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49926 COND_BUILD_RELEASE_UNICODE_1=""
49927 fi
49928
49929 COND_DEBUG_FLAG_1="#"
49930 if test "x$DEBUG_FLAG" = "x1" ; then
49931 COND_DEBUG_FLAG_1=""
49932 fi
49933
49934 COND_DEBUG_INFO_0="#"
49935 if test "x$DEBUG_INFO" = "x0" ; then
49936 COND_DEBUG_INFO_0=""
49937 fi
49938
49939 COND_DEBUG_INFO_1="#"
49940 if test "x$DEBUG_INFO" = "x1" ; then
49941 COND_DEBUG_INFO_1=""
49942 fi
49943
49944 COND_DEPS_TRACKING_0="#"
49945 if test "x$DEPS_TRACKING" = "x0" ; then
49946 COND_DEPS_TRACKING_0=""
49947 fi
49948
49949 COND_DEPS_TRACKING_1="#"
49950 if test "x$DEPS_TRACKING" = "x1" ; then
49951 COND_DEPS_TRACKING_1=""
49952 fi
49953
49954 COND_GCC_PCH_1="#"
49955 if test "x$GCC_PCH" = "x1" ; then
49956 COND_GCC_PCH_1=""
49957 fi
49958
49959 COND_ICC_PCH_1="#"
49960 if test "x$ICC_PCH" = "x1" ; then
49961 COND_ICC_PCH_1=""
49962 fi
49963
49964 COND_MONOLITHIC_0="#"
49965 if test "x$MONOLITHIC" = "x0" ; then
49966 COND_MONOLITHIC_0=""
49967 fi
49968
49969 COND_MONOLITHIC_0_SHARED_0="#"
49970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49971 COND_MONOLITHIC_0_SHARED_0=""
49972 fi
49973
49974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49976 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49977 fi
49978
49979 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49982 fi
49983
49984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49985 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49987 fi
49988
49989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49990 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49992 fi
49993
49994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49995 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49997 fi
49998
49999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50000 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50002 fi
50003
50004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50005 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50007 fi
50008
50009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50010 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50011 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50012 fi
50013
50014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50015 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50016 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50017 fi
50018
50019 COND_MONOLITHIC_0_SHARED_1="#"
50020 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50021 COND_MONOLITHIC_0_SHARED_1=""
50022 fi
50023
50024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50025 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50026 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50027 fi
50028
50029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50030 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50031 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50032 fi
50033
50034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50035 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50037 fi
50038
50039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50040 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50042 fi
50043
50044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50045 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50047 fi
50048
50049 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50050 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50051 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50052 fi
50053
50054 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50055 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50056 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50057 fi
50058
50059 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50060 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50061 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50062 fi
50063
50064 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50065 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50066 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50067 fi
50068
50069 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50070 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50071 COND_MONOLITHIC_0_USE_MEDIA_1=""
50072 fi
50073
50074 COND_MONOLITHIC_0_USE_ODBC_1="#"
50075 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50076 COND_MONOLITHIC_0_USE_ODBC_1=""
50077 fi
50078
50079 COND_MONOLITHIC_1="#"
50080 if test "x$MONOLITHIC" = "x1" ; then
50081 COND_MONOLITHIC_1=""
50082 fi
50083
50084 COND_MONOLITHIC_1_SHARED_0="#"
50085 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50086 COND_MONOLITHIC_1_SHARED_0=""
50087 fi
50088
50089 COND_MONOLITHIC_1_SHARED_1="#"
50090 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50091 COND_MONOLITHIC_1_SHARED_1=""
50092 fi
50093
50094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50095 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50096 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50097 fi
50098
50099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50100 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50101 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50102 fi
50103
50104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50105 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50106 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50107 fi
50108
50109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50110 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50111 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50112 fi
50113
50114 COND_PLATFORM_MACOSX_1="#"
50115 if test "x$PLATFORM_MACOSX" = "x1" ; then
50116 COND_PLATFORM_MACOSX_1=""
50117 fi
50118
50119 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50120 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50121 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50122 fi
50123
50124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50125 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50126 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50127 fi
50128
50129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50130 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50131 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50132 fi
50133
50134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50135 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50136 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50137 fi
50138
50139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50140 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50141 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50142 fi
50143
50144 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50145 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50146 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50147 fi
50148
50149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50150 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50151 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50152 fi
50153
50154 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50155 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50156 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50157 fi
50158
50159 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50160 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50161 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50162 fi
50163
50164 COND_PLATFORM_MACOS_1="#"
50165 if test "x$PLATFORM_MACOS" = "x1" ; then
50166 COND_PLATFORM_MACOS_1=""
50167 fi
50168
50169 COND_PLATFORM_MAC_1="#"
50170 if test "x$PLATFORM_MAC" = "x1" ; then
50171 COND_PLATFORM_MAC_1=""
50172 fi
50173
50174 COND_PLATFORM_MSDOS_0="#"
50175 if test "x$PLATFORM_MSDOS" = "x0" ; then
50176 COND_PLATFORM_MSDOS_0=""
50177 fi
50178
50179 COND_PLATFORM_MSDOS_1="#"
50180 if test "x$PLATFORM_MSDOS" = "x1" ; then
50181 COND_PLATFORM_MSDOS_1=""
50182 fi
50183
50184 COND_PLATFORM_OS2_1="#"
50185 if test "x$PLATFORM_OS2" = "x1" ; then
50186 COND_PLATFORM_OS2_1=""
50187 fi
50188
50189 COND_PLATFORM_UNIX_0="#"
50190 if test "x$PLATFORM_UNIX" = "x0" ; then
50191 COND_PLATFORM_UNIX_0=""
50192 fi
50193
50194 COND_PLATFORM_UNIX_1="#"
50195 if test "x$PLATFORM_UNIX" = "x1" ; then
50196 COND_PLATFORM_UNIX_1=""
50197 fi
50198
50199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50200 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50201 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50202 fi
50203
50204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50205 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50206 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50207 fi
50208
50209 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50210 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50211 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50212 fi
50213
50214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50215 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50216 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50217 fi
50218
50219 COND_PLATFORM_WIN32_0="#"
50220 if test "x$PLATFORM_WIN32" = "x0" ; then
50221 COND_PLATFORM_WIN32_0=""
50222 fi
50223
50224 COND_PLATFORM_WIN32_1="#"
50225 if test "x$PLATFORM_WIN32" = "x1" ; then
50226 COND_PLATFORM_WIN32_1=""
50227 fi
50228
50229 COND_SHARED_0="#"
50230 if test "x$SHARED" = "x0" ; then
50231 COND_SHARED_0=""
50232 fi
50233
50234 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50235 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50236 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50237 fi
50238
50239 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50240 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50241 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50242 fi
50243
50244 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50245 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50246 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50247 fi
50248
50249 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50250 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50251 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50252 fi
50253
50254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50255 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50256 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50257 fi
50258
50259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50260 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50261 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50262 fi
50263
50264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50265 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50266 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50267 fi
50268
50269 COND_SHARED_0_USE_XRC_1="#"
50270 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50271 COND_SHARED_0_USE_XRC_1=""
50272 fi
50273
50274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50275 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50276 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50277 fi
50278
50279 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50280 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50281 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50282 fi
50283
50284 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50285 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50286 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50287 fi
50288
50289 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50290 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50291 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50292 fi
50293
50294 COND_SHARED_1="#"
50295 if test "x$SHARED" = "x1" ; then
50296 COND_SHARED_1=""
50297 fi
50298
50299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50300 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50301 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50302 fi
50303
50304 COND_SHARED_1_USE_XRC_1="#"
50305 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50306 COND_SHARED_1_USE_XRC_1=""
50307 fi
50308
50309 COND_TOOLKIT_="#"
50310 if test "x$TOOLKIT" = "x" ; then
50311 COND_TOOLKIT_=""
50312 fi
50313
50314 COND_TOOLKIT_COCOA="#"
50315 if test "x$TOOLKIT" = "xCOCOA" ; then
50316 COND_TOOLKIT_COCOA=""
50317 fi
50318
50319 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50320 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50321 COND_TOOLKIT_COCOA_USE_GUI_1=""
50322 fi
50323
50324 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50325 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50326 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50327 fi
50328
50329 COND_TOOLKIT_DFB="#"
50330 if test "x$TOOLKIT" = "xDFB" ; then
50331 COND_TOOLKIT_DFB=""
50332 fi
50333
50334 COND_TOOLKIT_DFB_USE_GUI_1="#"
50335 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50336 COND_TOOLKIT_DFB_USE_GUI_1=""
50337 fi
50338
50339 COND_TOOLKIT_GTK="#"
50340 if test "x$TOOLKIT" = "xGTK" ; then
50341 COND_TOOLKIT_GTK=""
50342 fi
50343
50344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50345 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50346 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50347 fi
50348
50349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50350 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50351 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50352 fi
50353
50354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50355 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50356 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50357 fi
50358
50359 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50360 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50361 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50362 fi
50363
50364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50365 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50366 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50367 fi
50368
50369 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50370 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50371 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50372 fi
50373
50374 COND_TOOLKIT_GTK_USE_GUI_1="#"
50375 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50376 COND_TOOLKIT_GTK_USE_GUI_1=""
50377 fi
50378
50379 COND_TOOLKIT_MAC="#"
50380 if test "x$TOOLKIT" = "xMAC" ; then
50381 COND_TOOLKIT_MAC=""
50382 fi
50383
50384 COND_TOOLKIT_MAC_USE_GUI_1="#"
50385 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50386 COND_TOOLKIT_MAC_USE_GUI_1=""
50387 fi
50388
50389 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50390 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50391 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50392 fi
50393
50394 COND_TOOLKIT_MGL="#"
50395 if test "x$TOOLKIT" = "xMGL" ; then
50396 COND_TOOLKIT_MGL=""
50397 fi
50398
50399 COND_TOOLKIT_MGL_USE_GUI_1="#"
50400 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50401 COND_TOOLKIT_MGL_USE_GUI_1=""
50402 fi
50403
50404 COND_TOOLKIT_MOTIF="#"
50405 if test "x$TOOLKIT" = "xMOTIF" ; then
50406 COND_TOOLKIT_MOTIF=""
50407 fi
50408
50409 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50410 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50411 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50412 fi
50413
50414 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50415 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50416 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50417 fi
50418
50419 COND_TOOLKIT_MSW="#"
50420 if test "x$TOOLKIT" = "xMSW" ; then
50421 COND_TOOLKIT_MSW=""
50422 fi
50423
50424 COND_TOOLKIT_MSW_USE_GUI_1="#"
50425 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50426 COND_TOOLKIT_MSW_USE_GUI_1=""
50427 fi
50428
50429 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50430 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50431 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50432 fi
50433
50434 COND_TOOLKIT_MSW_WXUNIV_0="#"
50435 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50436 COND_TOOLKIT_MSW_WXUNIV_0=""
50437 fi
50438
50439 COND_TOOLKIT_PM="#"
50440 if test "x$TOOLKIT" = "xPM" ; then
50441 COND_TOOLKIT_PM=""
50442 fi
50443
50444 COND_TOOLKIT_PM_USE_GUI_1="#"
50445 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50446 COND_TOOLKIT_PM_USE_GUI_1=""
50447 fi
50448
50449 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50450 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50451 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50452 fi
50453
50454 COND_TOOLKIT_WINCE="#"
50455 if test "x$TOOLKIT" = "xWINCE" ; then
50456 COND_TOOLKIT_WINCE=""
50457 fi
50458
50459 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50460 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50461 COND_TOOLKIT_WINCE_USE_GUI_1=""
50462 fi
50463
50464 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50465 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50466 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50467 fi
50468
50469 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50470 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50471 COND_TOOLKIT_WINCE_WXUNIV_0=""
50472 fi
50473
50474 COND_TOOLKIT_X11="#"
50475 if test "x$TOOLKIT" = "xX11" ; then
50476 COND_TOOLKIT_X11=""
50477 fi
50478
50479 COND_TOOLKIT_X11_USE_GUI_1="#"
50480 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50481 COND_TOOLKIT_X11_USE_GUI_1=""
50482 fi
50483
50484 COND_UNICODE_1="#"
50485 if test "x$UNICODE" = "x1" ; then
50486 COND_UNICODE_1=""
50487 fi
50488
50489 COND_USE_EXCEPTIONS_0="#"
50490 if test "x$USE_EXCEPTIONS" = "x0" ; then
50491 COND_USE_EXCEPTIONS_0=""
50492 fi
50493
50494 COND_USE_EXCEPTIONS_1="#"
50495 if test "x$USE_EXCEPTIONS" = "x1" ; then
50496 COND_USE_EXCEPTIONS_1=""
50497 fi
50498
50499 COND_USE_GUI_0="#"
50500 if test "x$USE_GUI" = "x0" ; then
50501 COND_USE_GUI_0=""
50502 fi
50503
50504 COND_USE_GUI_1="#"
50505 if test "x$USE_GUI" = "x1" ; then
50506 COND_USE_GUI_1=""
50507 fi
50508
50509 COND_USE_GUI_1_WXUNIV_0="#"
50510 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50511 COND_USE_GUI_1_WXUNIV_0=""
50512 fi
50513
50514 COND_USE_GUI_1_WXUNIV_1="#"
50515 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50516 COND_USE_GUI_1_WXUNIV_1=""
50517 fi
50518
50519 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50520 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50521 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50522 fi
50523
50524 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50525 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50526 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50527 fi
50528
50529 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50530 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50531 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50532 fi
50533
50534 COND_USE_ODBC_1="#"
50535 if test "x$USE_ODBC" = "x1" ; then
50536 COND_USE_ODBC_1=""
50537 fi
50538
50539 COND_USE_OPENGL_1="#"
50540 if test "x$USE_OPENGL" = "x1" ; then
50541 COND_USE_OPENGL_1=""
50542 fi
50543
50544 COND_USE_PCH_1="#"
50545 if test "x$USE_PCH" = "x1" ; then
50546 COND_USE_PCH_1=""
50547 fi
50548
50549 COND_USE_PLUGINS_0="#"
50550 if test "x$USE_PLUGINS" = "x0" ; then
50551 COND_USE_PLUGINS_0=""
50552 fi
50553
50554 COND_USE_RTTI_0="#"
50555 if test "x$USE_RTTI" = "x0" ; then
50556 COND_USE_RTTI_0=""
50557 fi
50558
50559 COND_USE_RTTI_1="#"
50560 if test "x$USE_RTTI" = "x1" ; then
50561 COND_USE_RTTI_1=""
50562 fi
50563
50564 COND_USE_SOSYMLINKS_1="#"
50565 if test "x$USE_SOSYMLINKS" = "x1" ; then
50566 COND_USE_SOSYMLINKS_1=""
50567 fi
50568
50569 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50570 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50571 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50572 fi
50573
50574 COND_USE_SOVERLINUX_1="#"
50575 if test "x$USE_SOVERLINUX" = "x1" ; then
50576 COND_USE_SOVERLINUX_1=""
50577 fi
50578
50579 COND_USE_SOVERSION_0="#"
50580 if test "x$USE_SOVERSION" = "x0" ; then
50581 COND_USE_SOVERSION_0=""
50582 fi
50583
50584 COND_USE_SOVERSOLARIS_1="#"
50585 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50586 COND_USE_SOVERSOLARIS_1=""
50587 fi
50588
50589 COND_USE_THREADS_0="#"
50590 if test "x$USE_THREADS" = "x0" ; then
50591 COND_USE_THREADS_0=""
50592 fi
50593
50594 COND_USE_THREADS_1="#"
50595 if test "x$USE_THREADS" = "x1" ; then
50596 COND_USE_THREADS_1=""
50597 fi
50598
50599 COND_USE_XRC_1="#"
50600 if test "x$USE_XRC" = "x1" ; then
50601 COND_USE_XRC_1=""
50602 fi
50603
50604 COND_WINDOWS_IMPLIB_1="#"
50605 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50606 COND_WINDOWS_IMPLIB_1=""
50607 fi
50608
50609 COND_WITH_PLUGIN_SDL_1="#"
50610 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50611 COND_WITH_PLUGIN_SDL_1=""
50612 fi
50613
50614 COND_WXUNIV_0="#"
50615 if test "x$WXUNIV" = "x0" ; then
50616 COND_WXUNIV_0=""
50617 fi
50618
50619 COND_WXUNIV_1="#"
50620 if test "x$WXUNIV" = "x1" ; then
50621 COND_WXUNIV_1=""
50622 fi
50623
50624 COND_WXUSE_EXPAT_BUILTIN="#"
50625 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50626 COND_WXUSE_EXPAT_BUILTIN=""
50627 fi
50628
50629 COND_WXUSE_LIBJPEG_BUILTIN="#"
50630 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50631 COND_WXUSE_LIBJPEG_BUILTIN=""
50632 fi
50633
50634 COND_WXUSE_LIBPNG_BUILTIN="#"
50635 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50636 COND_WXUSE_LIBPNG_BUILTIN=""
50637 fi
50638
50639 COND_WXUSE_LIBTIFF_BUILTIN="#"
50640 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50641 COND_WXUSE_LIBTIFF_BUILTIN=""
50642 fi
50643
50644 COND_WXUSE_ODBC_BUILTIN="#"
50645 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50646 COND_WXUSE_ODBC_BUILTIN=""
50647 fi
50648
50649 COND_WXUSE_REGEX_BUILTIN="#"
50650 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50651 COND_WXUSE_REGEX_BUILTIN=""
50652 fi
50653
50654 COND_WXUSE_ZLIB_BUILTIN="#"
50655 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50656 COND_WXUSE_ZLIB_BUILTIN=""
50657 fi
50658
50659
50660
50661 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50662 { { 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
50663 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;}
50664 { (exit 1); exit 1; }; }
50665 fi
50666
50667 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50668 { { 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
50669 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;}
50670 { (exit 1); exit 1; }; }
50671 fi
50672
50673
50674 if test $GCC_PCH = 1
50675 then
50676 if test "$wx_cv_gcc_pch_bug" = yes; then
50677 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50678 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50679 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50680 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50681 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50682 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50683 fi
50684
50685 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50686 fi
50687
50688
50689 if test "$wxUSE_MAC" = 1 ; then
50690 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50691 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50692 mv temp bk-deps
50693 chmod +x bk-deps
50694 fi
50695 fi
50696
50697 if test "$wxUSE_SHARED" = "yes"; then
50698
50699 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50700 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50701
50702 case "${host}" in
50703 *-pc-os2_emx | *-pc-os2-emx )
50704 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50705 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50706 cp -p ${srcdir}/src/os2/dllnames.sh .
50707 cp -p ${srcdir}/src/os2/dllar.sh .
50708 ;;
50709 esac
50710 else
50711
50712 EXE_LINKER="$CXX -o"
50713
50714 fi
50715 if test "$wxUSE_OMF" = "yes"; then
50716 case "${host}" in
50717 *-pc-os2_emx | *-pc-os2-emx )
50718 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50719 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50720 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50721 ;;
50722 esac
50723 fi
50724
50725 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50726
50727 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50790 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50791 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50792 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50793 echo $ECHO_N "(cached) $ECHO_C" >&6
50794 else
50795 cat >conftest.make <<\_ACEOF
50796 all:
50797 @echo 'ac_maketemp="$(MAKE)"'
50798 _ACEOF
50799 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50800 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50801 if test -n "$ac_maketemp"; then
50802 eval ac_cv_prog_make_${ac_make}_set=yes
50803 else
50804 eval ac_cv_prog_make_${ac_make}_set=no
50805 fi
50806 rm -f conftest.make
50807 fi
50808 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50809 echo "$as_me:$LINENO: result: yes" >&5
50810 echo "${ECHO_T}yes" >&6
50811 SET_MAKE=
50812 else
50813 echo "$as_me:$LINENO: result: no" >&5
50814 echo "${ECHO_T}no" >&6
50815 SET_MAKE="MAKE=${MAKE-make}"
50816 fi
50817
50818
50819
50820 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50821
50822
50823 if test "$USE_WIN32" = 1; then
50824 ac_config_commands="$ac_config_commands
50825 rcdefs.h
50826 "
50827
50828 fi
50829
50830 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50831
50832
50833 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50834
50835
50836 if test "$wx_cv_version_script" = "yes"; then
50837 ac_config_files="$ac_config_files version-script"
50838
50839 fi
50840 ac_config_files="$ac_config_files Makefile"
50841
50842
50843 ac_config_commands="$ac_config_commands wx-config"
50844
50845
50846
50847 if test "$wxWITH_SUBDIRS" != "no"; then
50848 if test "$wxUSE_GUI" = "yes"; then
50849 SUBDIRS="samples demos utils contrib"
50850 else SUBDIRS="samples utils"
50851 fi
50852
50853
50854
50855 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50856 if test "${with_cppunit_prefix+set}" = set; then
50857 withval="$with_cppunit_prefix"
50858 cppunit_config_prefix="$withval"
50859 else
50860 cppunit_config_prefix=""
50861 fi;
50862
50863 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50864 if test "${with_cppunit_exec_prefix+set}" = set; then
50865 withval="$with_cppunit_exec_prefix"
50866 cppunit_config_exec_prefix="$withval"
50867 else
50868 cppunit_config_exec_prefix=""
50869 fi;
50870
50871 if test x$cppunit_config_exec_prefix != x ; then
50872 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50873 if test x${CPPUNIT_CONFIG+set} != xset ; then
50874 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50875 fi
50876 fi
50877 if test x$cppunit_config_prefix != x ; then
50878 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50879 if test x${CPPUNIT_CONFIG+set} != xset ; then
50880 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50881 fi
50882 fi
50883
50884 # Extract the first word of "cppunit-config", so it can be a program name with args.
50885 set dummy cppunit-config; ac_word=$2
50886 echo "$as_me:$LINENO: checking for $ac_word" >&5
50887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50888 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50889 echo $ECHO_N "(cached) $ECHO_C" >&6
50890 else
50891 case $CPPUNIT_CONFIG in
50892 [\\/]* | ?:[\\/]*)
50893 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50894 ;;
50895 *)
50896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50897 for as_dir in $PATH
50898 do
50899 IFS=$as_save_IFS
50900 test -z "$as_dir" && as_dir=.
50901 for ac_exec_ext in '' $ac_executable_extensions; do
50902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50903 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50905 break 2
50906 fi
50907 done
50908 done
50909
50910 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50911 ;;
50912 esac
50913 fi
50914 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50915
50916 if test -n "$CPPUNIT_CONFIG"; then
50917 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50918 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50919 else
50920 echo "$as_me:$LINENO: result: no" >&5
50921 echo "${ECHO_T}no" >&6
50922 fi
50923
50924 cppunit_version_min=1.8.0
50925
50926 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50927 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50928 no_cppunit=""
50929 if test "$CPPUNIT_CONFIG" = "no" ; then
50930 echo "$as_me:$LINENO: result: no" >&5
50931 echo "${ECHO_T}no" >&6
50932 no_cppunit=yes
50933 else
50934 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50935 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50936 cppunit_version=`$CPPUNIT_CONFIG --version`
50937
50938 cppunit_major_version=`echo $cppunit_version | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50940 cppunit_minor_version=`echo $cppunit_version | \
50941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50942 cppunit_micro_version=`echo $cppunit_version | \
50943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50944
50945 cppunit_major_min=`echo $cppunit_version_min | \
50946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50947 cppunit_minor_min=`echo $cppunit_version_min | \
50948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50949 cppunit_micro_min=`echo $cppunit_version_min | \
50950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50951
50952 cppunit_version_proper=`expr \
50953 $cppunit_major_version \> $cppunit_major_min \| \
50954 $cppunit_major_version \= $cppunit_major_min \& \
50955 $cppunit_minor_version \> $cppunit_minor_min \| \
50956 $cppunit_major_version \= $cppunit_major_min \& \
50957 $cppunit_minor_version \= $cppunit_minor_min \& \
50958 $cppunit_micro_version \>= $cppunit_micro_min `
50959
50960 if test "$cppunit_version_proper" = "1" ; then
50961 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50962 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50963 else
50964 echo "$as_me:$LINENO: result: no" >&5
50965 echo "${ECHO_T}no" >&6
50966 no_cppunit=yes
50967 fi
50968 fi
50969
50970 if test "x$no_cppunit" = x ; then
50971 SUBDIRS="$SUBDIRS tests"
50972 else
50973 CPPUNIT_CFLAGS=""
50974 CPPUNIT_LIBS=""
50975 :
50976 fi
50977
50978
50979
50980
50981
50982 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50983 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50984 fi
50985
50986 for subdir in `echo $SUBDIRS`; do
50987 if test -d ${srcdir}/${subdir} ; then
50988 if test "$wxUSE_GUI" = "yes"; then
50989 if test ${subdir} = "samples"; then
50990 makefiles="samples/Makefile.in $makefiles"
50991 for sample in `echo $SAMPLES_SUBDIRS`; do
50992 if test -d $srcdir/samples/$sample; then
50993 makefiles="samples/$sample/Makefile.in $makefiles"
50994 fi
50995 done
50996 else
50997 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50998 eval "disabled=\$$disabled_var"
50999 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51000 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51001 fi
51002 else if test ${subdir} = "samples"; then
51003 makefiles="samples/Makefile.in samples/console/Makefile.in"
51004 elif test ${subdir} = "utils"; then
51005 makefiles=""
51006 for util in HelpGen tex2rtf ; do
51007 if test -d $srcdir/utils/$util ; then
51008 makefiles="utils/$util/Makefile.in \
51009 utils/$util/src/Makefile.in \
51010 $makefiles"
51011 fi
51012 done
51013 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51014 fi
51015 fi
51016
51017 for mkin in $makefiles ; do
51018 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51019 ac_config_files="$ac_config_files $mk"
51020
51021 done
51022 fi
51023 done
51024 fi
51025 cat >confcache <<\_ACEOF
51026 # This file is a shell script that caches the results of configure
51027 # tests run on this system so they can be shared between configure
51028 # scripts and configure runs, see configure's option --config-cache.
51029 # It is not useful on other systems. If it contains results you don't
51030 # want to keep, you may remove or edit it.
51031 #
51032 # config.status only pays attention to the cache file if you give it
51033 # the --recheck option to rerun configure.
51034 #
51035 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51037 # following values.
51038
51039 _ACEOF
51040
51041 # The following way of writing the cache mishandles newlines in values,
51042 # but we know of no workaround that is simple, portable, and efficient.
51043 # So, don't put newlines in cache variables' values.
51044 # Ultrix sh set writes to stderr and can't be redirected directly,
51045 # and sets the high bit in the cache file unless we assign to the vars.
51046 {
51047 (set) 2>&1 |
51048 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51049 *ac_space=\ *)
51050 # `set' does not quote correctly, so add quotes (double-quote
51051 # substitution turns \\\\ into \\, and sed turns \\ into \).
51052 sed -n \
51053 "s/'/'\\\\''/g;
51054 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51055 ;;
51056 *)
51057 # `set' quotes correctly as required by POSIX, so do not add quotes.
51058 sed -n \
51059 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51060 ;;
51061 esac;
51062 } |
51063 sed '
51064 t clear
51065 : clear
51066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51067 t end
51068 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51069 : end' >>confcache
51070 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51071 if test -w $cache_file; then
51072 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51073 cat confcache >$cache_file
51074 else
51075 echo "not updating unwritable cache $cache_file"
51076 fi
51077 fi
51078 rm -f confcache
51079
51080 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51081 # Let make expand exec_prefix.
51082 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51083
51084 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51085 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51086 # trailing colons and then remove the whole line if VPATH becomes empty
51087 # (actually we leave an empty line to preserve line numbers).
51088 if test "x$srcdir" = x.; then
51089 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51090 s/:*\$(srcdir):*/:/;
51091 s/:*\${srcdir}:*/:/;
51092 s/:*@srcdir@:*/:/;
51093 s/^\([^=]*=[ ]*\):*/\1/;
51094 s/:*$//;
51095 s/^[^=]*=[ ]*$//;
51096 }'
51097 fi
51098
51099 DEFS=-DHAVE_CONFIG_H
51100
51101 ac_libobjs=
51102 ac_ltlibobjs=
51103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51104 # 1. Remove the extension, and $U if already installed.
51105 ac_i=`echo "$ac_i" |
51106 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51107 # 2. Add them.
51108 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51109 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51110 done
51111 LIBOBJS=$ac_libobjs
51112
51113 LTLIBOBJS=$ac_ltlibobjs
51114
51115
51116
51117 : ${CONFIG_STATUS=./config.status}
51118 ac_clean_files_save=$ac_clean_files
51119 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51120 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51121 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51122 cat >$CONFIG_STATUS <<_ACEOF
51123 #! $SHELL
51124 # Generated by $as_me.
51125 # Run this file to recreate the current configuration.
51126 # Compiler output produced by configure, useful for debugging
51127 # configure, is in config.log if it exists.
51128
51129 debug=false
51130 ac_cs_recheck=false
51131 ac_cs_silent=false
51132 SHELL=\${CONFIG_SHELL-$SHELL}
51133 _ACEOF
51134
51135 cat >>$CONFIG_STATUS <<\_ACEOF
51136 ## --------------------- ##
51137 ## M4sh Initialization. ##
51138 ## --------------------- ##
51139
51140 # Be Bourne compatible
51141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51142 emulate sh
51143 NULLCMD=:
51144 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51145 # is contrary to our usage. Disable this feature.
51146 alias -g '${1+"$@"}'='"$@"'
51147 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51148 set -o posix
51149 fi
51150 DUALCASE=1; export DUALCASE # for MKS sh
51151
51152 # Support unset when possible.
51153 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51154 as_unset=unset
51155 else
51156 as_unset=false
51157 fi
51158
51159
51160 # Work around bugs in pre-3.0 UWIN ksh.
51161 $as_unset ENV MAIL MAILPATH
51162 PS1='$ '
51163 PS2='> '
51164 PS4='+ '
51165
51166 # NLS nuisances.
51167 for as_var in \
51168 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51169 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51170 LC_TELEPHONE LC_TIME
51171 do
51172 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51173 eval $as_var=C; export $as_var
51174 else
51175 $as_unset $as_var
51176 fi
51177 done
51178
51179 # Required to use basename.
51180 if expr a : '\(a\)' >/dev/null 2>&1; then
51181 as_expr=expr
51182 else
51183 as_expr=false
51184 fi
51185
51186 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51187 as_basename=basename
51188 else
51189 as_basename=false
51190 fi
51191
51192
51193 # Name of the executable.
51194 as_me=`$as_basename "$0" ||
51195 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51196 X"$0" : 'X\(//\)$' \| \
51197 X"$0" : 'X\(/\)$' \| \
51198 . : '\(.\)' 2>/dev/null ||
51199 echo X/"$0" |
51200 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51201 /^X\/\(\/\/\)$/{ s//\1/; q; }
51202 /^X\/\(\/\).*/{ s//\1/; q; }
51203 s/.*/./; q'`
51204
51205
51206 # PATH needs CR, and LINENO needs CR and PATH.
51207 # Avoid depending upon Character Ranges.
51208 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51209 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51210 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51211 as_cr_digits='0123456789'
51212 as_cr_alnum=$as_cr_Letters$as_cr_digits
51213
51214 # The user is always right.
51215 if test "${PATH_SEPARATOR+set}" != set; then
51216 echo "#! /bin/sh" >conf$$.sh
51217 echo "exit 0" >>conf$$.sh
51218 chmod +x conf$$.sh
51219 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51220 PATH_SEPARATOR=';'
51221 else
51222 PATH_SEPARATOR=:
51223 fi
51224 rm -f conf$$.sh
51225 fi
51226
51227
51228 as_lineno_1=$LINENO
51229 as_lineno_2=$LINENO
51230 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51231 test "x$as_lineno_1" != "x$as_lineno_2" &&
51232 test "x$as_lineno_3" = "x$as_lineno_2" || {
51233 # Find who we are. Look in the path if we contain no path at all
51234 # relative or not.
51235 case $0 in
51236 *[\\/]* ) as_myself=$0 ;;
51237 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51238 for as_dir in $PATH
51239 do
51240 IFS=$as_save_IFS
51241 test -z "$as_dir" && as_dir=.
51242 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51243 done
51244
51245 ;;
51246 esac
51247 # We did not find ourselves, most probably we were run as `sh COMMAND'
51248 # in which case we are not to be found in the path.
51249 if test "x$as_myself" = x; then
51250 as_myself=$0
51251 fi
51252 if test ! -f "$as_myself"; then
51253 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51254 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51255 { (exit 1); exit 1; }; }
51256 fi
51257 case $CONFIG_SHELL in
51258 '')
51259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51260 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51261 do
51262 IFS=$as_save_IFS
51263 test -z "$as_dir" && as_dir=.
51264 for as_base in sh bash ksh sh5; do
51265 case $as_dir in
51266 /*)
51267 if ("$as_dir/$as_base" -c '
51268 as_lineno_1=$LINENO
51269 as_lineno_2=$LINENO
51270 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51271 test "x$as_lineno_1" != "x$as_lineno_2" &&
51272 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51273 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51274 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51275 CONFIG_SHELL=$as_dir/$as_base
51276 export CONFIG_SHELL
51277 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51278 fi;;
51279 esac
51280 done
51281 done
51282 ;;
51283 esac
51284
51285 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51286 # uniformly replaced by the line number. The first 'sed' inserts a
51287 # line-number line before each line; the second 'sed' does the real
51288 # work. The second script uses 'N' to pair each line-number line
51289 # with the numbered line, and appends trailing '-' during
51290 # substitution so that $LINENO is not a special case at line end.
51291 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51292 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51293 sed '=' <$as_myself |
51294 sed '
51295 N
51296 s,$,-,
51297 : loop
51298 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51299 t loop
51300 s,-$,,
51301 s,^['$as_cr_digits']*\n,,
51302 ' >$as_me.lineno &&
51303 chmod +x $as_me.lineno ||
51304 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51305 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51306 { (exit 1); exit 1; }; }
51307
51308 # Don't try to exec as it changes $[0], causing all sort of problems
51309 # (the dirname of $[0] is not the place where we might find the
51310 # original and so on. Autoconf is especially sensible to this).
51311 . ./$as_me.lineno
51312 # Exit status is that of the last command.
51313 exit
51314 }
51315
51316
51317 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51318 *c*,-n*) ECHO_N= ECHO_C='
51319 ' ECHO_T=' ' ;;
51320 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51321 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51322 esac
51323
51324 if expr a : '\(a\)' >/dev/null 2>&1; then
51325 as_expr=expr
51326 else
51327 as_expr=false
51328 fi
51329
51330 rm -f conf$$ conf$$.exe conf$$.file
51331 echo >conf$$.file
51332 if ln -s conf$$.file conf$$ 2>/dev/null; then
51333 # We could just check for DJGPP; but this test a) works b) is more generic
51334 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51335 if test -f conf$$.exe; then
51336 # Don't use ln at all; we don't have any links
51337 as_ln_s='cp -p'
51338 else
51339 as_ln_s='ln -s'
51340 fi
51341 elif ln conf$$.file conf$$ 2>/dev/null; then
51342 as_ln_s=ln
51343 else
51344 as_ln_s='cp -p'
51345 fi
51346 rm -f conf$$ conf$$.exe conf$$.file
51347
51348 if mkdir -p . 2>/dev/null; then
51349 as_mkdir_p=:
51350 else
51351 test -d ./-p && rmdir ./-p
51352 as_mkdir_p=false
51353 fi
51354
51355 as_executable_p="test -f"
51356
51357 # Sed expression to map a string onto a valid CPP name.
51358 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51359
51360 # Sed expression to map a string onto a valid variable name.
51361 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51362
51363
51364 # IFS
51365 # We need space, tab and new line, in precisely that order.
51366 as_nl='
51367 '
51368 IFS=" $as_nl"
51369
51370 # CDPATH.
51371 $as_unset CDPATH
51372
51373 exec 6>&1
51374
51375 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51376 # report actual input values of CONFIG_FILES etc. instead of their
51377 # values after options handling. Logging --version etc. is OK.
51378 exec 5>>config.log
51379 {
51380 echo
51381 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51382 ## Running $as_me. ##
51383 _ASBOX
51384 } >&5
51385 cat >&5 <<_CSEOF
51386
51387 This file was extended by wxWidgets $as_me 2.8.0, which was
51388 generated by GNU Autoconf 2.59. Invocation command line was
51389
51390 CONFIG_FILES = $CONFIG_FILES
51391 CONFIG_HEADERS = $CONFIG_HEADERS
51392 CONFIG_LINKS = $CONFIG_LINKS
51393 CONFIG_COMMANDS = $CONFIG_COMMANDS
51394 $ $0 $@
51395
51396 _CSEOF
51397 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51398 echo >&5
51399 _ACEOF
51400
51401 # Files that config.status was made for.
51402 if test -n "$ac_config_files"; then
51403 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51404 fi
51405
51406 if test -n "$ac_config_headers"; then
51407 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51408 fi
51409
51410 if test -n "$ac_config_links"; then
51411 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51412 fi
51413
51414 if test -n "$ac_config_commands"; then
51415 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51416 fi
51417
51418 cat >>$CONFIG_STATUS <<\_ACEOF
51419
51420 ac_cs_usage="\
51421 \`$as_me' instantiates files from templates according to the
51422 current configuration.
51423
51424 Usage: $0 [OPTIONS] [FILE]...
51425
51426 -h, --help print this help, then exit
51427 -V, --version print version number, then exit
51428 -q, --quiet do not print progress messages
51429 -d, --debug don't remove temporary files
51430 --recheck update $as_me by reconfiguring in the same conditions
51431 --file=FILE[:TEMPLATE]
51432 instantiate the configuration file FILE
51433 --header=FILE[:TEMPLATE]
51434 instantiate the configuration header FILE
51435
51436 Configuration files:
51437 $config_files
51438
51439 Configuration headers:
51440 $config_headers
51441
51442 Configuration commands:
51443 $config_commands
51444
51445 Report bugs to <bug-autoconf@gnu.org>."
51446 _ACEOF
51447
51448 cat >>$CONFIG_STATUS <<_ACEOF
51449 ac_cs_version="\\
51450 wxWidgets config.status 2.8.0
51451 configured by $0, generated by GNU Autoconf 2.59,
51452 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51453
51454 Copyright (C) 2003 Free Software Foundation, Inc.
51455 This config.status script is free software; the Free Software Foundation
51456 gives unlimited permission to copy, distribute and modify it."
51457 srcdir=$srcdir
51458 INSTALL="$INSTALL"
51459 _ACEOF
51460
51461 cat >>$CONFIG_STATUS <<\_ACEOF
51462 # If no file are specified by the user, then we need to provide default
51463 # value. By we need to know if files were specified by the user.
51464 ac_need_defaults=:
51465 while test $# != 0
51466 do
51467 case $1 in
51468 --*=*)
51469 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51470 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51471 ac_shift=:
51472 ;;
51473 -*)
51474 ac_option=$1
51475 ac_optarg=$2
51476 ac_shift=shift
51477 ;;
51478 *) # This is not an option, so the user has probably given explicit
51479 # arguments.
51480 ac_option=$1
51481 ac_need_defaults=false;;
51482 esac
51483
51484 case $ac_option in
51485 # Handling of the options.
51486 _ACEOF
51487 cat >>$CONFIG_STATUS <<\_ACEOF
51488 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51489 ac_cs_recheck=: ;;
51490 --version | --vers* | -V )
51491 echo "$ac_cs_version"; exit 0 ;;
51492 --he | --h)
51493 # Conflict between --help and --header
51494 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51495 Try \`$0 --help' for more information." >&5
51496 echo "$as_me: error: ambiguous option: $1
51497 Try \`$0 --help' for more information." >&2;}
51498 { (exit 1); exit 1; }; };;
51499 --help | --hel | -h )
51500 echo "$ac_cs_usage"; exit 0 ;;
51501 --debug | --d* | -d )
51502 debug=: ;;
51503 --file | --fil | --fi | --f )
51504 $ac_shift
51505 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51506 ac_need_defaults=false;;
51507 --header | --heade | --head | --hea )
51508 $ac_shift
51509 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51510 ac_need_defaults=false;;
51511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51512 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51513 ac_cs_silent=: ;;
51514
51515 # This is an error.
51516 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51517 Try \`$0 --help' for more information." >&5
51518 echo "$as_me: error: unrecognized option: $1
51519 Try \`$0 --help' for more information." >&2;}
51520 { (exit 1); exit 1; }; } ;;
51521
51522 *) ac_config_targets="$ac_config_targets $1" ;;
51523
51524 esac
51525 shift
51526 done
51527
51528 ac_configure_extra_args=
51529
51530 if $ac_cs_silent; then
51531 exec 6>/dev/null
51532 ac_configure_extra_args="$ac_configure_extra_args --silent"
51533 fi
51534
51535 _ACEOF
51536 cat >>$CONFIG_STATUS <<_ACEOF
51537 if \$ac_cs_recheck; then
51538 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51539 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51540 fi
51541
51542 _ACEOF
51543
51544 cat >>$CONFIG_STATUS <<_ACEOF
51545 #
51546 # INIT-COMMANDS section.
51547 #
51548
51549
51550 CPP="$CPP"
51551 infile="$srcdir/include/wx/msw/genrcdefs.h"
51552 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51553
51554
51555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51556 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51557 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51558 LN_S="${LN_S}"
51559
51560
51561 _ACEOF
51562
51563
51564
51565 cat >>$CONFIG_STATUS <<\_ACEOF
51566 for ac_config_target in $ac_config_targets
51567 do
51568 case "$ac_config_target" in
51569 # Handling of arguments.
51570 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51571 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51572 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51573 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51574 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51575 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51576 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51577 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51578 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51579 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51580 { (exit 1); exit 1; }; };;
51581 esac
51582 done
51583
51584 # If the user did not use the arguments to specify the items to instantiate,
51585 # then the envvar interface is used. Set only those that are not.
51586 # We use the long form for the default assignment because of an extremely
51587 # bizarre bug on SunOS 4.1.3.
51588 if $ac_need_defaults; then
51589 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51590 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51591 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51592 fi
51593
51594 # Have a temporary directory for convenience. Make it in the build tree
51595 # simply because there is no reason to put it here, and in addition,
51596 # creating and moving files from /tmp can sometimes cause problems.
51597 # Create a temporary directory, and hook for its removal unless debugging.
51598 $debug ||
51599 {
51600 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51601 trap '{ (exit 1); exit 1; }' 1 2 13 15
51602 }
51603
51604 # Create a (secure) tmp directory for tmp files.
51605
51606 {
51607 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51608 test -n "$tmp" && test -d "$tmp"
51609 } ||
51610 {
51611 tmp=./confstat$$-$RANDOM
51612 (umask 077 && mkdir $tmp)
51613 } ||
51614 {
51615 echo "$me: cannot create a temporary directory in ." >&2
51616 { (exit 1); exit 1; }
51617 }
51618
51619 _ACEOF
51620
51621 cat >>$CONFIG_STATUS <<_ACEOF
51622
51623 #
51624 # CONFIG_FILES section.
51625 #
51626
51627 # No need to generate the scripts if there are no CONFIG_FILES.
51628 # This happens for instance when ./config.status config.h
51629 if test -n "\$CONFIG_FILES"; then
51630 # Protect against being on the right side of a sed subst in config.status.
51631 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51632 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51633 s,@SHELL@,$SHELL,;t t
51634 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51635 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51636 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51637 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51638 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51639 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51640 s,@exec_prefix@,$exec_prefix,;t t
51641 s,@prefix@,$prefix,;t t
51642 s,@program_transform_name@,$program_transform_name,;t t
51643 s,@bindir@,$bindir,;t t
51644 s,@sbindir@,$sbindir,;t t
51645 s,@libexecdir@,$libexecdir,;t t
51646 s,@datadir@,$datadir,;t t
51647 s,@sysconfdir@,$sysconfdir,;t t
51648 s,@sharedstatedir@,$sharedstatedir,;t t
51649 s,@localstatedir@,$localstatedir,;t t
51650 s,@libdir@,$libdir,;t t
51651 s,@includedir@,$includedir,;t t
51652 s,@oldincludedir@,$oldincludedir,;t t
51653 s,@infodir@,$infodir,;t t
51654 s,@mandir@,$mandir,;t t
51655 s,@build_alias@,$build_alias,;t t
51656 s,@host_alias@,$host_alias,;t t
51657 s,@target_alias@,$target_alias,;t t
51658 s,@DEFS@,$DEFS,;t t
51659 s,@ECHO_C@,$ECHO_C,;t t
51660 s,@ECHO_N@,$ECHO_N,;t t
51661 s,@ECHO_T@,$ECHO_T,;t t
51662 s,@LIBS@,$LIBS,;t t
51663 s,@build@,$build,;t t
51664 s,@build_cpu@,$build_cpu,;t t
51665 s,@build_vendor@,$build_vendor,;t t
51666 s,@build_os@,$build_os,;t t
51667 s,@host@,$host,;t t
51668 s,@host_cpu@,$host_cpu,;t t
51669 s,@host_vendor@,$host_vendor,;t t
51670 s,@host_os@,$host_os,;t t
51671 s,@target@,$target,;t t
51672 s,@target_cpu@,$target_cpu,;t t
51673 s,@target_vendor@,$target_vendor,;t t
51674 s,@target_os@,$target_os,;t t
51675 s,@wx_top_builddir@,$wx_top_builddir,;t t
51676 s,@CC@,$CC,;t t
51677 s,@CFLAGS@,$CFLAGS,;t t
51678 s,@LDFLAGS@,$LDFLAGS,;t t
51679 s,@CPPFLAGS@,$CPPFLAGS,;t t
51680 s,@ac_ct_CC@,$ac_ct_CC,;t t
51681 s,@EXEEXT@,$EXEEXT,;t t
51682 s,@OBJEXT@,$OBJEXT,;t t
51683 s,@CPP@,$CPP,;t t
51684 s,@EGREP@,$EGREP,;t t
51685 s,@CXX@,$CXX,;t t
51686 s,@CXXFLAGS@,$CXXFLAGS,;t t
51687 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51688 s,@RANLIB@,$RANLIB,;t t
51689 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51690 s,@AR@,$AR,;t t
51691 s,@ac_ct_AR@,$ac_ct_AR,;t t
51692 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51693 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51694 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51695 s,@STRIP@,$STRIP,;t t
51696 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51697 s,@WINDRES@,$WINDRES,;t t
51698 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51699 s,@DLLTOOL@,$DLLTOOL,;t t
51700 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51701 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51702 s,@LN_S@,$LN_S,;t t
51703 s,@CXXCPP@,$CXXCPP,;t t
51704 s,@subdirs@,$subdirs,;t t
51705 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51706 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51707 s,@GTK_LIBS@,$GTK_LIBS,;t t
51708 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51709 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51710 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51711 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51712 s,@X_CFLAGS@,$X_CFLAGS,;t t
51713 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51714 s,@X_LIBS@,$X_LIBS,;t t
51715 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51716 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51717 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51718 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51719 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51720 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51721 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51722 s,@REZ@,$REZ,;t t
51723 s,@DEREZ@,$DEREZ,;t t
51724 s,@SETFILE@,$SETFILE,;t t
51725 s,@LIBICONV@,$LIBICONV,;t t
51726 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51727 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51728 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51729 s,@SDL_LIBS@,$SDL_LIBS,;t t
51730 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51731 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51732 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51733 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51734 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51735 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51736 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51737 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51738 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51739 s,@GST_LIBS@,$GST_LIBS,;t t
51740 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51741 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51742 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51743 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51744 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51745 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51746 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51747 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51748 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51749 s,@VENDOR@,$VENDOR,;t t
51750 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51751 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51752 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51753 s,@WXUNIV@,$WXUNIV,;t t
51754 s,@MONOLITHIC@,$MONOLITHIC,;t t
51755 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51756 s,@EXTRALIBS@,$EXTRALIBS,;t t
51757 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51758 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51759 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51760 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51761 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51762 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51763 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51764 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51765 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51766 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51767 s,@UNICODE@,$UNICODE,;t t
51768 s,@BUILD@,$BUILD,;t t
51769 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51770 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51771 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51772 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51773 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51774 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51775 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51776 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51777 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51778 s,@SET_MAKE@,$SET_MAKE,;t t
51779 s,@MAKE_SET@,$MAKE_SET,;t t
51780 s,@AROPTIONS@,$AROPTIONS,;t t
51781 s,@NM@,$NM,;t t
51782 s,@ac_ct_NM@,$ac_ct_NM,;t t
51783 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51784 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51785 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51786 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51787 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51788 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51789 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51790 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51791 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51792 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51793 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51794 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51795 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51796 s,@LIBPREFIX@,$LIBPREFIX,;t t
51797 s,@LIBEXT@,$LIBEXT,;t t
51798 s,@DLLPREFIX@,$DLLPREFIX,;t t
51799 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51800 s,@dlldir@,$dlldir,;t t
51801 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51802 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51803 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51804 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51805 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51806 s,@PIC_FLAG@,$PIC_FLAG,;t t
51807 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51808 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51809 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51810 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51811 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51812 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51813 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51814 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51815 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51816 s,@BK_DEPS@,$BK_DEPS,;t t
51817 s,@GCC_PCH@,$GCC_PCH,;t t
51818 s,@ICC_PCH@,$ICC_PCH,;t t
51819 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51820 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51821 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51822 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51823 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51824 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51825 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51826 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51827 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51828 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51829 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51830 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51831 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51832 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51833 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51834 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51835 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51836 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51837 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51838 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51839 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51840 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
51841 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
51842 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
51843 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
51844 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51845 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51846 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51847 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51848 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51849 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51850 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
51851 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
51852 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
51853 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
51854 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51855 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51856 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51857 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51858 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51859 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51860 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51861 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51862 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51863 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51864 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51865 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51866 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51869 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51870 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51871 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51872 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51873 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51874 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51875 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51876 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51877 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51878 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51879 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51880 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51881 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51882 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51883 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51884 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51885 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51886 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51887 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51888 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51889 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51890 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51891 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51892 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51893 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51894 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51895 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51896 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51897 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51898 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51899 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51900 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51901 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51902 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51903 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51904 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51905 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51906 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51907 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51908 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51909 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51910 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51911 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51912 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51913 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51914 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51915 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
51916 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51917 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51918 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51919 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51920 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51921 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51922 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51923 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51924 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51925 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51926 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51927 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51928 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51929 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51930 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51931 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51932 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51933 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51934 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51935 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51936 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51937 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51938 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51939 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51940 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51941 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51942 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51943 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51944 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51945 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51946 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51947 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51948 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51949 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51950 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51951 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51952 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51953 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51954 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51955 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51956 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51957 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51958 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51959 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51960 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51961 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51962 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51963 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51964 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51965 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51966 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51967 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51968 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51969 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51970 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51971 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51972 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51973 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51974 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51975 s,@SHARED@,$SHARED,;t t
51976 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51977 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51978 s,@USE_GUI@,$USE_GUI,;t t
51979 s,@AFMINSTALL@,$AFMINSTALL,;t t
51980 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51981 s,@TOOLKIT@,$TOOLKIT,;t t
51982 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51983 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51984 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51985 s,@cross_compiling@,$cross_compiling,;t t
51986 s,@WIDGET_SET@,$WIDGET_SET,;t t
51987 s,@WX_RELEASE@,$WX_RELEASE,;t t
51988 s,@WX_VERSION@,$WX_VERSION,;t t
51989 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51990 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51991 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51992 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51993 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51994 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51995 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51996 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51997 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51998 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51999 s,@EXE_LINKER@,$EXE_LINKER,;t t
52000 s,@GUIDIST@,$GUIDIST,;t t
52001 s,@DISTDIR@,$DISTDIR,;t t
52002 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52003 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52004 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52005 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52006 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52007 s,@RESCOMP@,$RESCOMP,;t t
52008 s,@RESFLAGS@,$RESFLAGS,;t t
52009 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52010 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52011 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52012 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52013 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52014 s,@MACSETFILE@,$MACSETFILE,;t t
52015 s,@GCC@,$GCC,;t t
52016 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52017 s,@LIBOBJS@,$LIBOBJS,;t t
52018 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52019 CEOF
52020
52021 _ACEOF
52022
52023 cat >>$CONFIG_STATUS <<\_ACEOF
52024 # Split the substitutions into bite-sized pieces for seds with
52025 # small command number limits, like on Digital OSF/1 and HP-UX.
52026 ac_max_sed_lines=48
52027 ac_sed_frag=1 # Number of current file.
52028 ac_beg=1 # First line for current file.
52029 ac_end=$ac_max_sed_lines # Line after last line for current file.
52030 ac_more_lines=:
52031 ac_sed_cmds=
52032 while $ac_more_lines; do
52033 if test $ac_beg -gt 1; then
52034 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52035 else
52036 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52037 fi
52038 if test ! -s $tmp/subs.frag; then
52039 ac_more_lines=false
52040 else
52041 # The purpose of the label and of the branching condition is to
52042 # speed up the sed processing (if there are no `@' at all, there
52043 # is no need to browse any of the substitutions).
52044 # These are the two extra sed commands mentioned above.
52045 (echo ':t
52046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52047 if test -z "$ac_sed_cmds"; then
52048 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52049 else
52050 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52051 fi
52052 ac_sed_frag=`expr $ac_sed_frag + 1`
52053 ac_beg=$ac_end
52054 ac_end=`expr $ac_end + $ac_max_sed_lines`
52055 fi
52056 done
52057 if test -z "$ac_sed_cmds"; then
52058 ac_sed_cmds=cat
52059 fi
52060 fi # test -n "$CONFIG_FILES"
52061
52062 _ACEOF
52063 cat >>$CONFIG_STATUS <<\_ACEOF
52064 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52065 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52066 case $ac_file in
52067 - | *:- | *:-:* ) # input from stdin
52068 cat >$tmp/stdin
52069 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52070 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52071 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52072 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52073 * ) ac_file_in=$ac_file.in ;;
52074 esac
52075
52076 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52077 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52079 X"$ac_file" : 'X\(//\)[^/]' \| \
52080 X"$ac_file" : 'X\(//\)$' \| \
52081 X"$ac_file" : 'X\(/\)' \| \
52082 . : '\(.\)' 2>/dev/null ||
52083 echo X"$ac_file" |
52084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52086 /^X\(\/\/\)$/{ s//\1/; q; }
52087 /^X\(\/\).*/{ s//\1/; q; }
52088 s/.*/./; q'`
52089 { if $as_mkdir_p; then
52090 mkdir -p "$ac_dir"
52091 else
52092 as_dir="$ac_dir"
52093 as_dirs=
52094 while test ! -d "$as_dir"; do
52095 as_dirs="$as_dir $as_dirs"
52096 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52098 X"$as_dir" : 'X\(//\)[^/]' \| \
52099 X"$as_dir" : 'X\(//\)$' \| \
52100 X"$as_dir" : 'X\(/\)' \| \
52101 . : '\(.\)' 2>/dev/null ||
52102 echo X"$as_dir" |
52103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52105 /^X\(\/\/\)$/{ s//\1/; q; }
52106 /^X\(\/\).*/{ s//\1/; q; }
52107 s/.*/./; q'`
52108 done
52109 test ! -n "$as_dirs" || mkdir $as_dirs
52110 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52111 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52112 { (exit 1); exit 1; }; }; }
52113
52114 ac_builddir=.
52115
52116 if test "$ac_dir" != .; then
52117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52118 # A "../" for each directory in $ac_dir_suffix.
52119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52120 else
52121 ac_dir_suffix= ac_top_builddir=
52122 fi
52123
52124 case $srcdir in
52125 .) # No --srcdir option. We are building in place.
52126 ac_srcdir=.
52127 if test -z "$ac_top_builddir"; then
52128 ac_top_srcdir=.
52129 else
52130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52131 fi ;;
52132 [\\/]* | ?:[\\/]* ) # Absolute path.
52133 ac_srcdir=$srcdir$ac_dir_suffix;
52134 ac_top_srcdir=$srcdir ;;
52135 *) # Relative path.
52136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52138 esac
52139
52140 # Do not use `cd foo && pwd` to compute absolute paths, because
52141 # the directories may not exist.
52142 case `pwd` in
52143 .) ac_abs_builddir="$ac_dir";;
52144 *)
52145 case "$ac_dir" in
52146 .) ac_abs_builddir=`pwd`;;
52147 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52148 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52149 esac;;
52150 esac
52151 case $ac_abs_builddir in
52152 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52153 *)
52154 case ${ac_top_builddir}. in
52155 .) ac_abs_top_builddir=$ac_abs_builddir;;
52156 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52157 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52158 esac;;
52159 esac
52160 case $ac_abs_builddir in
52161 .) ac_abs_srcdir=$ac_srcdir;;
52162 *)
52163 case $ac_srcdir in
52164 .) ac_abs_srcdir=$ac_abs_builddir;;
52165 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52166 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52167 esac;;
52168 esac
52169 case $ac_abs_builddir in
52170 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52171 *)
52172 case $ac_top_srcdir in
52173 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52174 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52175 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52176 esac;;
52177 esac
52178
52179
52180 case $INSTALL in
52181 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52182 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52183 esac
52184
52185 # Let's still pretend it is `configure' which instantiates (i.e., don't
52186 # use $as_me), people would be surprised to read:
52187 # /* config.h. Generated by config.status. */
52188 if test x"$ac_file" = x-; then
52189 configure_input=
52190 else
52191 configure_input="$ac_file. "
52192 fi
52193 configure_input=$configure_input"Generated from `echo $ac_file_in |
52194 sed 's,.*/,,'` by configure."
52195
52196 # First look for the input files in the build tree, otherwise in the
52197 # src tree.
52198 ac_file_inputs=`IFS=:
52199 for f in $ac_file_in; do
52200 case $f in
52201 -) echo $tmp/stdin ;;
52202 [\\/$]*)
52203 # Absolute (can't be DOS-style, as IFS=:)
52204 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52205 echo "$as_me: error: cannot find input file: $f" >&2;}
52206 { (exit 1); exit 1; }; }
52207 echo "$f";;
52208 *) # Relative
52209 if test -f "$f"; then
52210 # Build tree
52211 echo "$f"
52212 elif test -f "$srcdir/$f"; then
52213 # Source tree
52214 echo "$srcdir/$f"
52215 else
52216 # /dev/null tree
52217 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52218 echo "$as_me: error: cannot find input file: $f" >&2;}
52219 { (exit 1); exit 1; }; }
52220 fi;;
52221 esac
52222 done` || { (exit 1); exit 1; }
52223
52224 if test x"$ac_file" != x-; then
52225 { echo "$as_me:$LINENO: creating $ac_file" >&5
52226 echo "$as_me: creating $ac_file" >&6;}
52227 rm -f "$ac_file"
52228 fi
52229 _ACEOF
52230 cat >>$CONFIG_STATUS <<_ACEOF
52231 sed "$ac_vpsub
52232 $extrasub
52233 _ACEOF
52234 cat >>$CONFIG_STATUS <<\_ACEOF
52235 :t
52236 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52237 s,@configure_input@,$configure_input,;t t
52238 s,@srcdir@,$ac_srcdir,;t t
52239 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52240 s,@top_srcdir@,$ac_top_srcdir,;t t
52241 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52242 s,@builddir@,$ac_builddir,;t t
52243 s,@abs_builddir@,$ac_abs_builddir,;t t
52244 s,@top_builddir@,$ac_top_builddir,;t t
52245 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52246 s,@INSTALL@,$ac_INSTALL,;t t
52247 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52248 rm -f $tmp/stdin
52249 if test x"$ac_file" != x-; then
52250 mv $tmp/out $ac_file
52251 else
52252 cat $tmp/out
52253 rm -f $tmp/out
52254 fi
52255
52256 # Run the commands associated with the file.
52257 case $ac_file in
52258 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52259 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52260 esac
52261 done
52262 _ACEOF
52263 cat >>$CONFIG_STATUS <<\_ACEOF
52264
52265 #
52266 # CONFIG_HEADER section.
52267 #
52268
52269 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52270 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52271 #
52272 # ac_d sets the value in "#define NAME VALUE" lines.
52273 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52274 ac_dB='[ ].*$,\1#\2'
52275 ac_dC=' '
52276 ac_dD=',;t'
52277 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52278 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52279 ac_uB='$,\1#\2define\3'
52280 ac_uC=' '
52281 ac_uD=',;t'
52282
52283 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52284 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52285 case $ac_file in
52286 - | *:- | *:-:* ) # input from stdin
52287 cat >$tmp/stdin
52288 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52289 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52290 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52292 * ) ac_file_in=$ac_file.in ;;
52293 esac
52294
52295 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52296 echo "$as_me: creating $ac_file" >&6;}
52297
52298 # First look for the input files in the build tree, otherwise in the
52299 # src tree.
52300 ac_file_inputs=`IFS=:
52301 for f in $ac_file_in; do
52302 case $f in
52303 -) echo $tmp/stdin ;;
52304 [\\/$]*)
52305 # Absolute (can't be DOS-style, as IFS=:)
52306 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52307 echo "$as_me: error: cannot find input file: $f" >&2;}
52308 { (exit 1); exit 1; }; }
52309 # Do quote $f, to prevent DOS paths from being IFS'd.
52310 echo "$f";;
52311 *) # Relative
52312 if test -f "$f"; then
52313 # Build tree
52314 echo "$f"
52315 elif test -f "$srcdir/$f"; then
52316 # Source tree
52317 echo "$srcdir/$f"
52318 else
52319 # /dev/null tree
52320 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52321 echo "$as_me: error: cannot find input file: $f" >&2;}
52322 { (exit 1); exit 1; }; }
52323 fi;;
52324 esac
52325 done` || { (exit 1); exit 1; }
52326 # Remove the trailing spaces.
52327 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52328
52329 _ACEOF
52330
52331 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52332 # `conftest.undefs', that substitutes the proper values into
52333 # config.h.in to produce config.h. The first handles `#define'
52334 # templates, and the second `#undef' templates.
52335 # And first: Protect against being on the right side of a sed subst in
52336 # config.status. Protect against being in an unquoted here document
52337 # in config.status.
52338 rm -f conftest.defines conftest.undefs
52339 # Using a here document instead of a string reduces the quoting nightmare.
52340 # Putting comments in sed scripts is not portable.
52341 #
52342 # `end' is used to avoid that the second main sed command (meant for
52343 # 0-ary CPP macros) applies to n-ary macro definitions.
52344 # See the Autoconf documentation for `clear'.
52345 cat >confdef2sed.sed <<\_ACEOF
52346 s/[\\&,]/\\&/g
52347 s,[\\$`],\\&,g
52348 t clear
52349 : clear
52350 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52351 t end
52352 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52353 : end
52354 _ACEOF
52355 # If some macros were called several times there might be several times
52356 # the same #defines, which is useless. Nevertheless, we may not want to
52357 # sort them, since we want the *last* AC-DEFINE to be honored.
52358 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52359 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52360 rm -f confdef2sed.sed
52361
52362 # This sed command replaces #undef with comments. This is necessary, for
52363 # example, in the case of _POSIX_SOURCE, which is predefined and required
52364 # on some systems where configure will not decide to define it.
52365 cat >>conftest.undefs <<\_ACEOF
52366 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52367 _ACEOF
52368
52369 # Break up conftest.defines because some shells have a limit on the size
52370 # of here documents, and old seds have small limits too (100 cmds).
52371 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52372 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52373 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52374 echo ' :' >>$CONFIG_STATUS
52375 rm -f conftest.tail
52376 while grep . conftest.defines >/dev/null
52377 do
52378 # Write a limited-size here document to $tmp/defines.sed.
52379 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52380 # Speed up: don't consider the non `#define' lines.
52381 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52382 # Work around the forget-to-reset-the-flag bug.
52383 echo 't clr' >>$CONFIG_STATUS
52384 echo ': clr' >>$CONFIG_STATUS
52385 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52386 echo 'CEOF
52387 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52388 rm -f $tmp/in
52389 mv $tmp/out $tmp/in
52390 ' >>$CONFIG_STATUS
52391 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52392 rm -f conftest.defines
52393 mv conftest.tail conftest.defines
52394 done
52395 rm -f conftest.defines
52396 echo ' fi # grep' >>$CONFIG_STATUS
52397 echo >>$CONFIG_STATUS
52398
52399 # Break up conftest.undefs because some shells have a limit on the size
52400 # of here documents, and old seds have small limits too (100 cmds).
52401 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52402 rm -f conftest.tail
52403 while grep . conftest.undefs >/dev/null
52404 do
52405 # Write a limited-size here document to $tmp/undefs.sed.
52406 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52407 # Speed up: don't consider the non `#undef'
52408 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52409 # Work around the forget-to-reset-the-flag bug.
52410 echo 't clr' >>$CONFIG_STATUS
52411 echo ': clr' >>$CONFIG_STATUS
52412 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52413 echo 'CEOF
52414 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52415 rm -f $tmp/in
52416 mv $tmp/out $tmp/in
52417 ' >>$CONFIG_STATUS
52418 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52419 rm -f conftest.undefs
52420 mv conftest.tail conftest.undefs
52421 done
52422 rm -f conftest.undefs
52423
52424 cat >>$CONFIG_STATUS <<\_ACEOF
52425 # Let's still pretend it is `configure' which instantiates (i.e., don't
52426 # use $as_me), people would be surprised to read:
52427 # /* config.h. Generated by config.status. */
52428 if test x"$ac_file" = x-; then
52429 echo "/* Generated by configure. */" >$tmp/config.h
52430 else
52431 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52432 fi
52433 cat $tmp/in >>$tmp/config.h
52434 rm -f $tmp/in
52435 if test x"$ac_file" != x-; then
52436 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52437 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52438 echo "$as_me: $ac_file is unchanged" >&6;}
52439 else
52440 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52441 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52442 X"$ac_file" : 'X\(//\)[^/]' \| \
52443 X"$ac_file" : 'X\(//\)$' \| \
52444 X"$ac_file" : 'X\(/\)' \| \
52445 . : '\(.\)' 2>/dev/null ||
52446 echo X"$ac_file" |
52447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52448 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52449 /^X\(\/\/\)$/{ s//\1/; q; }
52450 /^X\(\/\).*/{ s//\1/; q; }
52451 s/.*/./; q'`
52452 { if $as_mkdir_p; then
52453 mkdir -p "$ac_dir"
52454 else
52455 as_dir="$ac_dir"
52456 as_dirs=
52457 while test ! -d "$as_dir"; do
52458 as_dirs="$as_dir $as_dirs"
52459 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52461 X"$as_dir" : 'X\(//\)[^/]' \| \
52462 X"$as_dir" : 'X\(//\)$' \| \
52463 X"$as_dir" : 'X\(/\)' \| \
52464 . : '\(.\)' 2>/dev/null ||
52465 echo X"$as_dir" |
52466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52467 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52468 /^X\(\/\/\)$/{ s//\1/; q; }
52469 /^X\(\/\).*/{ s//\1/; q; }
52470 s/.*/./; q'`
52471 done
52472 test ! -n "$as_dirs" || mkdir $as_dirs
52473 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52474 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52475 { (exit 1); exit 1; }; }; }
52476
52477 rm -f $ac_file
52478 mv $tmp/config.h $ac_file
52479 fi
52480 else
52481 cat $tmp/config.h
52482 rm -f $tmp/config.h
52483 fi
52484 done
52485 _ACEOF
52486 cat >>$CONFIG_STATUS <<\_ACEOF
52487
52488 #
52489 # CONFIG_COMMANDS section.
52490 #
52491 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52492 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52493 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52494 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52495 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52496 X"$ac_dest" : 'X\(//\)[^/]' \| \
52497 X"$ac_dest" : 'X\(//\)$' \| \
52498 X"$ac_dest" : 'X\(/\)' \| \
52499 . : '\(.\)' 2>/dev/null ||
52500 echo X"$ac_dest" |
52501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52503 /^X\(\/\/\)$/{ s//\1/; q; }
52504 /^X\(\/\).*/{ s//\1/; q; }
52505 s/.*/./; q'`
52506 { if $as_mkdir_p; then
52507 mkdir -p "$ac_dir"
52508 else
52509 as_dir="$ac_dir"
52510 as_dirs=
52511 while test ! -d "$as_dir"; do
52512 as_dirs="$as_dir $as_dirs"
52513 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52515 X"$as_dir" : 'X\(//\)[^/]' \| \
52516 X"$as_dir" : 'X\(//\)$' \| \
52517 X"$as_dir" : 'X\(/\)' \| \
52518 . : '\(.\)' 2>/dev/null ||
52519 echo X"$as_dir" |
52520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52522 /^X\(\/\/\)$/{ s//\1/; q; }
52523 /^X\(\/\).*/{ s//\1/; q; }
52524 s/.*/./; q'`
52525 done
52526 test ! -n "$as_dirs" || mkdir $as_dirs
52527 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52529 { (exit 1); exit 1; }; }; }
52530
52531 ac_builddir=.
52532
52533 if test "$ac_dir" != .; then
52534 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52535 # A "../" for each directory in $ac_dir_suffix.
52536 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52537 else
52538 ac_dir_suffix= ac_top_builddir=
52539 fi
52540
52541 case $srcdir in
52542 .) # No --srcdir option. We are building in place.
52543 ac_srcdir=.
52544 if test -z "$ac_top_builddir"; then
52545 ac_top_srcdir=.
52546 else
52547 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52548 fi ;;
52549 [\\/]* | ?:[\\/]* ) # Absolute path.
52550 ac_srcdir=$srcdir$ac_dir_suffix;
52551 ac_top_srcdir=$srcdir ;;
52552 *) # Relative path.
52553 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52554 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52555 esac
52556
52557 # Do not use `cd foo && pwd` to compute absolute paths, because
52558 # the directories may not exist.
52559 case `pwd` in
52560 .) ac_abs_builddir="$ac_dir";;
52561 *)
52562 case "$ac_dir" in
52563 .) ac_abs_builddir=`pwd`;;
52564 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52565 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52566 esac;;
52567 esac
52568 case $ac_abs_builddir in
52569 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52570 *)
52571 case ${ac_top_builddir}. in
52572 .) ac_abs_top_builddir=$ac_abs_builddir;;
52573 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52574 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52575 esac;;
52576 esac
52577 case $ac_abs_builddir in
52578 .) ac_abs_srcdir=$ac_srcdir;;
52579 *)
52580 case $ac_srcdir in
52581 .) ac_abs_srcdir=$ac_abs_builddir;;
52582 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52583 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52584 esac;;
52585 esac
52586 case $ac_abs_builddir in
52587 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52588 *)
52589 case $ac_top_srcdir in
52590 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52591 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52592 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52593 esac;;
52594 esac
52595
52596
52597 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52598 echo "$as_me: executing $ac_dest commands" >&6;}
52599 case $ac_dest in
52600 rcdefs.h )
52601 mkdir -p $outdir &&
52602 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52603 ;;
52604 wx-config ) rm -f wx-config
52605 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52606 ;;
52607 esac
52608 done
52609 _ACEOF
52610
52611 cat >>$CONFIG_STATUS <<\_ACEOF
52612
52613 { (exit 0); exit 0; }
52614 _ACEOF
52615 chmod +x $CONFIG_STATUS
52616 ac_clean_files=$ac_clean_files_save
52617
52618
52619 # configure is writing to config.log, and then calls config.status.
52620 # config.status does its own redirection, appending to config.log.
52621 # Unfortunately, on DOS this fails, as config.log is still kept open
52622 # by configure, so config.status won't be able to write to it; its
52623 # output is simply discarded. So we exec the FD to /dev/null,
52624 # effectively closing config.log, so it can be properly (re)opened and
52625 # appended to by config.status. When coming back to configure, we
52626 # need to make the FD available again.
52627 if test "$no_create" != yes; then
52628 ac_cs_success=:
52629 ac_config_status_args=
52630 test "$silent" = yes &&
52631 ac_config_status_args="$ac_config_status_args --quiet"
52632 exec 5>/dev/null
52633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52634 exec 5>>config.log
52635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52636 # would make configure fail if this is the last instruction.
52637 $ac_cs_success || { (exit 1); exit 1; }
52638 fi
52639
52640 #
52641 # CONFIG_SUBDIRS section.
52642 #
52643 if test "$no_recursion" != yes; then
52644
52645 # Remove --cache-file and --srcdir arguments so they do not pile up.
52646 ac_sub_configure_args=
52647 ac_prev=
52648 for ac_arg in $ac_configure_args; do
52649 if test -n "$ac_prev"; then
52650 ac_prev=
52651 continue
52652 fi
52653 case $ac_arg in
52654 -cache-file | --cache-file | --cache-fil | --cache-fi \
52655 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52656 ac_prev=cache_file ;;
52657 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52658 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52659 | --c=*)
52660 ;;
52661 --config-cache | -C)
52662 ;;
52663 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52664 ac_prev=srcdir ;;
52665 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52666 ;;
52667 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52668 ac_prev=prefix ;;
52669 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52670 ;;
52671 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52672 esac
52673 done
52674
52675 # Always prepend --prefix to ensure using the same prefix
52676 # in subdir configurations.
52677 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52678
52679 ac_popdir=`pwd`
52680 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52681
52682 # Do not complain, so a configure script can configure whichever
52683 # parts of a large source tree are present.
52684 test -d $srcdir/$ac_dir || continue
52685
52686 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52687 echo "$as_me: configuring in $ac_dir" >&6;}
52688 { if $as_mkdir_p; then
52689 mkdir -p "$ac_dir"
52690 else
52691 as_dir="$ac_dir"
52692 as_dirs=
52693 while test ! -d "$as_dir"; do
52694 as_dirs="$as_dir $as_dirs"
52695 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52696 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52697 X"$as_dir" : 'X\(//\)[^/]' \| \
52698 X"$as_dir" : 'X\(//\)$' \| \
52699 X"$as_dir" : 'X\(/\)' \| \
52700 . : '\(.\)' 2>/dev/null ||
52701 echo X"$as_dir" |
52702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52704 /^X\(\/\/\)$/{ s//\1/; q; }
52705 /^X\(\/\).*/{ s//\1/; q; }
52706 s/.*/./; q'`
52707 done
52708 test ! -n "$as_dirs" || mkdir $as_dirs
52709 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52710 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52711 { (exit 1); exit 1; }; }; }
52712
52713 ac_builddir=.
52714
52715 if test "$ac_dir" != .; then
52716 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52717 # A "../" for each directory in $ac_dir_suffix.
52718 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52719 else
52720 ac_dir_suffix= ac_top_builddir=
52721 fi
52722
52723 case $srcdir in
52724 .) # No --srcdir option. We are building in place.
52725 ac_srcdir=.
52726 if test -z "$ac_top_builddir"; then
52727 ac_top_srcdir=.
52728 else
52729 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52730 fi ;;
52731 [\\/]* | ?:[\\/]* ) # Absolute path.
52732 ac_srcdir=$srcdir$ac_dir_suffix;
52733 ac_top_srcdir=$srcdir ;;
52734 *) # Relative path.
52735 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52736 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52737 esac
52738
52739 # Do not use `cd foo && pwd` to compute absolute paths, because
52740 # the directories may not exist.
52741 case `pwd` in
52742 .) ac_abs_builddir="$ac_dir";;
52743 *)
52744 case "$ac_dir" in
52745 .) ac_abs_builddir=`pwd`;;
52746 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52747 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52748 esac;;
52749 esac
52750 case $ac_abs_builddir in
52751 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52752 *)
52753 case ${ac_top_builddir}. in
52754 .) ac_abs_top_builddir=$ac_abs_builddir;;
52755 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52756 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52757 esac;;
52758 esac
52759 case $ac_abs_builddir in
52760 .) ac_abs_srcdir=$ac_srcdir;;
52761 *)
52762 case $ac_srcdir in
52763 .) ac_abs_srcdir=$ac_abs_builddir;;
52764 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52765 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52766 esac;;
52767 esac
52768 case $ac_abs_builddir in
52769 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52770 *)
52771 case $ac_top_srcdir in
52772 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52773 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52774 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52775 esac;;
52776 esac
52777
52778
52779 cd $ac_dir
52780
52781 # Check for guested configure; otherwise get Cygnus style configure.
52782 if test -f $ac_srcdir/configure.gnu; then
52783 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52784 elif test -f $ac_srcdir/configure; then
52785 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52786 elif test -f $ac_srcdir/configure.in; then
52787 ac_sub_configure=$ac_configure
52788 else
52789 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52790 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52791 ac_sub_configure=
52792 fi
52793
52794 # The recursion is here.
52795 if test -n "$ac_sub_configure"; then
52796 # Make the cache file name correct relative to the subdirectory.
52797 case $cache_file in
52798 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52799 *) # Relative path.
52800 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52801 esac
52802
52803 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52804 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52805 # The eval makes quoting arguments work.
52806 eval $ac_sub_configure $ac_sub_configure_args \
52807 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52808 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52809 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52810 { (exit 1); exit 1; }; }
52811 fi
52812
52813 cd "$ac_popdir"
52814 done
52815 fi
52816
52817
52818 echo
52819 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52820 echo ""
52821 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52822 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52823
52824 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52825 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52826 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52827
52828 echo " What level of wxWidgets compatibility should be enabled?"
52829 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52830 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52831
52832 echo " Which libraries should wxWidgets use?"
52833 echo " jpeg ${wxUSE_LIBJPEG-none}"
52834 echo " png ${wxUSE_LIBPNG-none}"
52835 echo " regex ${wxUSE_REGEX}"
52836 echo " tiff ${wxUSE_LIBTIFF-none}"
52837 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52838 echo " xpm ${wxUSE_LIBXPM-none}"
52839 fi
52840 echo " zlib ${wxUSE_ZLIB}"
52841 echo " odbc ${wxUSE_ODBC}"
52842 echo " expat ${wxUSE_EXPAT}"
52843 echo " libmspack ${wxUSE_LIBMSPACK}"
52844 echo " sdl ${wxUSE_LIBSDL}"
52845
52846 echo ""
52847