Rename boolean to wxjpeg_boolean to avoid conflicts, e.g. with boolean
[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 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.8.0
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.8.0, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=8
1805 wx_release_number=0
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 CC=${CC:-winegcc}
11807 CXX=${CXX:-wineg++}
11808 fi
11809
11810
11811 if test "$wxUSE_GUI" = "yes"; then
11812
11813 if test "$USE_BEOS" = 1; then
11814 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11815 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11816 { (exit 1); exit 1; }; }
11817 fi
11818
11819 if test "$TOOLKIT_GIVEN" = 1; then
11820 for toolkit in `echo $ALL_TOOLKITS`; do
11821 var=wxUSE_$toolkit
11822 eval "value=\$${var}"
11823 if test "x$value" = "xno"; then
11824 eval "$var=0"
11825 elif test "x$value" != "x"; then
11826 eval "$var=1"
11827 fi
11828
11829 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11830 eval "wx${toolkit}_VERSION=$value"
11831 fi
11832 done
11833 else
11834 for toolkit in `echo $ALL_TOOLKITS`; do
11835 if test "$has_toolkit_in_cache" != 1; then
11836 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11837 else
11838 var=DEFAULT_wxUSE_$toolkit
11839
11840 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11841 if test "x$version" != "x"; then
11842 eval "wx${toolkit}_VERSION=$version"
11843 fi
11844 fi
11845 eval "wxUSE_$toolkit=\$${var}"
11846 done
11847 fi
11848
11849 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11850 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11851 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11852
11853 case "${host}" in
11854 *-pc-os2_emx | *-pc-os2-emx )
11855 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11856 esac
11857
11858 case "$NUM_TOOLKITS" in
11859 1)
11860 ;;
11861 0)
11862 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11863 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11864 { (exit 1); exit 1; }; }
11865 ;;
11866 *)
11867 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11868 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11869 { (exit 1); exit 1; }; }
11870 esac
11871
11872 # to be removed when --disable-gtk2 isn't needed
11873 if test "x$wxUSE_GTK2" = "xyes"; then
11874 wxGTK_VERSION=2
11875 elif test "x$wxUSE_GTK2" = "xno"; then
11876 wxGTK_VERSION=1
11877 fi
11878
11879 for toolkit in `echo $ALL_TOOLKITS`; do
11880 var=wxUSE_$toolkit
11881 eval "value=\$${var}"
11882 if test "x$value" != x; then
11883 cache_var=CACHE_$toolkit
11884 eval "cache=\$${cache_var}"
11885 if test "$cache" = 1; then
11886 echo "$var=$value" >> ${wx_arg_cache_file}
11887 eval "version=\$wx${toolkit}_VERSION"
11888 if test "x$version" != "x"; then
11889 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11890 fi
11891 fi
11892 if test "$value" = 1; then
11893 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11894 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11895 echo "${ECHO_T}$toolkit_echo" >&6
11896 fi
11897 fi
11898 done
11899 else
11900 if test "x$host_alias" != "x"; then
11901 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11902 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11903 else
11904 echo "$as_me:$LINENO: result: base only" >&5
11905 echo "${ECHO_T}base only" >&6
11906 fi
11907 fi
11908
11909
11910 cat >confcache <<\_ACEOF
11911 # This file is a shell script that caches the results of configure
11912 # tests run on this system so they can be shared between configure
11913 # scripts and configure runs, see configure's option --config-cache.
11914 # It is not useful on other systems. If it contains results you don't
11915 # want to keep, you may remove or edit it.
11916 #
11917 # config.status only pays attention to the cache file if you give it
11918 # the --recheck option to rerun configure.
11919 #
11920 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11921 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11922 # following values.
11923
11924 _ACEOF
11925
11926 # The following way of writing the cache mishandles newlines in values,
11927 # but we know of no workaround that is simple, portable, and efficient.
11928 # So, don't put newlines in cache variables' values.
11929 # Ultrix sh set writes to stderr and can't be redirected directly,
11930 # and sets the high bit in the cache file unless we assign to the vars.
11931 {
11932 (set) 2>&1 |
11933 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11934 *ac_space=\ *)
11935 # `set' does not quote correctly, so add quotes (double-quote
11936 # substitution turns \\\\ into \\, and sed turns \\ into \).
11937 sed -n \
11938 "s/'/'\\\\''/g;
11939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11940 ;;
11941 *)
11942 # `set' quotes correctly as required by POSIX, so do not add quotes.
11943 sed -n \
11944 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11945 ;;
11946 esac;
11947 } |
11948 sed '
11949 t clear
11950 : clear
11951 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11952 t end
11953 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11954 : end' >>confcache
11955 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11956 if test -w $cache_file; then
11957 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11958 cat confcache >$cache_file
11959 else
11960 echo "not updating unwritable cache $cache_file"
11961 fi
11962 fi
11963 rm -f confcache
11964
11965 CFLAGS=${CFLAGS:=}
11966
11967
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974 if test -n "$ac_tool_prefix"; then
11975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11976 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11977 echo "$as_me:$LINENO: checking for $ac_word" >&5
11978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11979 if test "${ac_cv_prog_CC+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else
11982 if test -n "$CC"; then
11983 ac_cv_prog_CC="$CC" # Let the user override the test.
11984 else
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11987 do
11988 IFS=$as_save_IFS
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11994 break 2
11995 fi
11996 done
11997 done
11998
11999 fi
12000 fi
12001 CC=$ac_cv_prog_CC
12002 if test -n "$CC"; then
12003 echo "$as_me:$LINENO: result: $CC" >&5
12004 echo "${ECHO_T}$CC" >&6
12005 else
12006 echo "$as_me:$LINENO: result: no" >&5
12007 echo "${ECHO_T}no" >&6
12008 fi
12009
12010 fi
12011 if test -z "$ac_cv_prog_CC"; then
12012 ac_ct_CC=$CC
12013 # Extract the first word of "gcc", so it can be a program name with args.
12014 set dummy gcc; ac_word=$2
12015 echo "$as_me:$LINENO: checking for $ac_word" >&5
12016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12017 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 else
12020 if test -n "$ac_ct_CC"; then
12021 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12022 else
12023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12024 for as_dir in $PATH
12025 do
12026 IFS=$as_save_IFS
12027 test -z "$as_dir" && as_dir=.
12028 for ac_exec_ext in '' $ac_executable_extensions; do
12029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12030 ac_cv_prog_ac_ct_CC="gcc"
12031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12032 break 2
12033 fi
12034 done
12035 done
12036
12037 fi
12038 fi
12039 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12040 if test -n "$ac_ct_CC"; then
12041 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12042 echo "${ECHO_T}$ac_ct_CC" >&6
12043 else
12044 echo "$as_me:$LINENO: result: no" >&5
12045 echo "${ECHO_T}no" >&6
12046 fi
12047
12048 CC=$ac_ct_CC
12049 else
12050 CC="$ac_cv_prog_CC"
12051 fi
12052
12053 if test -z "$CC"; then
12054 if test -n "$ac_tool_prefix"; then
12055 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12056 set dummy ${ac_tool_prefix}cc; ac_word=$2
12057 echo "$as_me:$LINENO: checking for $ac_word" >&5
12058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12059 if test "${ac_cv_prog_CC+set}" = set; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 else
12062 if test -n "$CC"; then
12063 ac_cv_prog_CC="$CC" # Let the user override the test.
12064 else
12065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12066 for as_dir in $PATH
12067 do
12068 IFS=$as_save_IFS
12069 test -z "$as_dir" && as_dir=.
12070 for ac_exec_ext in '' $ac_executable_extensions; do
12071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12072 ac_cv_prog_CC="${ac_tool_prefix}cc"
12073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12074 break 2
12075 fi
12076 done
12077 done
12078
12079 fi
12080 fi
12081 CC=$ac_cv_prog_CC
12082 if test -n "$CC"; then
12083 echo "$as_me:$LINENO: result: $CC" >&5
12084 echo "${ECHO_T}$CC" >&6
12085 else
12086 echo "$as_me:$LINENO: result: no" >&5
12087 echo "${ECHO_T}no" >&6
12088 fi
12089
12090 fi
12091 if test -z "$ac_cv_prog_CC"; then
12092 ac_ct_CC=$CC
12093 # Extract the first word of "cc", so it can be a program name with args.
12094 set dummy cc; ac_word=$2
12095 echo "$as_me:$LINENO: checking for $ac_word" >&5
12096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 else
12100 if test -n "$ac_ct_CC"; then
12101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12102 else
12103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12104 for as_dir in $PATH
12105 do
12106 IFS=$as_save_IFS
12107 test -z "$as_dir" && as_dir=.
12108 for ac_exec_ext in '' $ac_executable_extensions; do
12109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12110 ac_cv_prog_ac_ct_CC="cc"
12111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12112 break 2
12113 fi
12114 done
12115 done
12116
12117 fi
12118 fi
12119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12120 if test -n "$ac_ct_CC"; then
12121 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12122 echo "${ECHO_T}$ac_ct_CC" >&6
12123 else
12124 echo "$as_me:$LINENO: result: no" >&5
12125 echo "${ECHO_T}no" >&6
12126 fi
12127
12128 CC=$ac_ct_CC
12129 else
12130 CC="$ac_cv_prog_CC"
12131 fi
12132
12133 fi
12134 if test -z "$CC"; then
12135 # Extract the first word of "cc", so it can be a program name with args.
12136 set dummy cc; ac_word=$2
12137 echo "$as_me:$LINENO: checking for $ac_word" >&5
12138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12139 if test "${ac_cv_prog_CC+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 if test -n "$CC"; then
12143 ac_cv_prog_CC="$CC" # Let the user override the test.
12144 else
12145 ac_prog_rejected=no
12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12147 for as_dir in $PATH
12148 do
12149 IFS=$as_save_IFS
12150 test -z "$as_dir" && as_dir=.
12151 for ac_exec_ext in '' $ac_executable_extensions; do
12152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12153 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12154 ac_prog_rejected=yes
12155 continue
12156 fi
12157 ac_cv_prog_CC="cc"
12158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12159 break 2
12160 fi
12161 done
12162 done
12163
12164 if test $ac_prog_rejected = yes; then
12165 # We found a bogon in the path, so make sure we never use it.
12166 set dummy $ac_cv_prog_CC
12167 shift
12168 if test $# != 0; then
12169 # We chose a different compiler from the bogus one.
12170 # However, it has the same basename, so the bogon will be chosen
12171 # first if we set CC to just the basename; use the full file name.
12172 shift
12173 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12174 fi
12175 fi
12176 fi
12177 fi
12178 CC=$ac_cv_prog_CC
12179 if test -n "$CC"; then
12180 echo "$as_me:$LINENO: result: $CC" >&5
12181 echo "${ECHO_T}$CC" >&6
12182 else
12183 echo "$as_me:$LINENO: result: no" >&5
12184 echo "${ECHO_T}no" >&6
12185 fi
12186
12187 fi
12188 if test -z "$CC"; then
12189 if test -n "$ac_tool_prefix"; then
12190 for ac_prog in cl
12191 do
12192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12194 echo "$as_me:$LINENO: checking for $ac_word" >&5
12195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12196 if test "${ac_cv_prog_CC+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 else
12199 if test -n "$CC"; then
12200 ac_cv_prog_CC="$CC" # Let the user override the test.
12201 else
12202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12203 for as_dir in $PATH
12204 do
12205 IFS=$as_save_IFS
12206 test -z "$as_dir" && as_dir=.
12207 for ac_exec_ext in '' $ac_executable_extensions; do
12208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12209 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12211 break 2
12212 fi
12213 done
12214 done
12215
12216 fi
12217 fi
12218 CC=$ac_cv_prog_CC
12219 if test -n "$CC"; then
12220 echo "$as_me:$LINENO: result: $CC" >&5
12221 echo "${ECHO_T}$CC" >&6
12222 else
12223 echo "$as_me:$LINENO: result: no" >&5
12224 echo "${ECHO_T}no" >&6
12225 fi
12226
12227 test -n "$CC" && break
12228 done
12229 fi
12230 if test -z "$CC"; then
12231 ac_ct_CC=$CC
12232 for ac_prog in cl
12233 do
12234 # Extract the first word of "$ac_prog", so it can be a program name with args.
12235 set dummy $ac_prog; ac_word=$2
12236 echo "$as_me:$LINENO: checking for $ac_word" >&5
12237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12238 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12239 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 else
12241 if test -n "$ac_ct_CC"; then
12242 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12243 else
12244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12245 for as_dir in $PATH
12246 do
12247 IFS=$as_save_IFS
12248 test -z "$as_dir" && as_dir=.
12249 for ac_exec_ext in '' $ac_executable_extensions; do
12250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12251 ac_cv_prog_ac_ct_CC="$ac_prog"
12252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12253 break 2
12254 fi
12255 done
12256 done
12257
12258 fi
12259 fi
12260 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12261 if test -n "$ac_ct_CC"; then
12262 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12263 echo "${ECHO_T}$ac_ct_CC" >&6
12264 else
12265 echo "$as_me:$LINENO: result: no" >&5
12266 echo "${ECHO_T}no" >&6
12267 fi
12268
12269 test -n "$ac_ct_CC" && break
12270 done
12271
12272 CC=$ac_ct_CC
12273 fi
12274
12275 fi
12276
12277
12278 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&5
12280 echo "$as_me: error: no acceptable C compiler found in \$PATH
12281 See \`config.log' for more details." >&2;}
12282 { (exit 1); exit 1; }; }
12283
12284 # Provide some information about the compiler.
12285 echo "$as_me:$LINENO:" \
12286 "checking for C compiler version" >&5
12287 ac_compiler=`set X $ac_compile; echo $2`
12288 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12289 (eval $ac_compiler --version </dev/null >&5) 2>&5
12290 ac_status=$?
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }
12293 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12294 (eval $ac_compiler -v </dev/null >&5) 2>&5
12295 ac_status=$?
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }
12298 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12299 (eval $ac_compiler -V </dev/null >&5) 2>&5
12300 ac_status=$?
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }
12303
12304 cat >conftest.$ac_ext <<_ACEOF
12305 /* confdefs.h. */
12306 _ACEOF
12307 cat confdefs.h >>conftest.$ac_ext
12308 cat >>conftest.$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12310
12311 int
12312 main ()
12313 {
12314
12315 ;
12316 return 0;
12317 }
12318 _ACEOF
12319 ac_clean_files_save=$ac_clean_files
12320 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12321 # Try to create an executable without -o first, disregard a.out.
12322 # It will help us diagnose broken compilers, and finding out an intuition
12323 # of exeext.
12324 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12325 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12326 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12327 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12328 (eval $ac_link_default) 2>&5
12329 ac_status=$?
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; then
12332 # Find the output, starting from the most likely. This scheme is
12333 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12334 # resort.
12335
12336 # Be careful to initialize this variable, since it used to be cached.
12337 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12338 ac_cv_exeext=
12339 # b.out is created by i960 compilers.
12340 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12341 do
12342 test -f "$ac_file" || continue
12343 case $ac_file in
12344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12345 ;;
12346 conftest.$ac_ext )
12347 # This is the source file.
12348 ;;
12349 [ab].out )
12350 # We found the default executable, but exeext='' is most
12351 # certainly right.
12352 break;;
12353 *.* )
12354 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12355 # FIXME: I believe we export ac_cv_exeext for Libtool,
12356 # but it would be cool to find out if it's true. Does anybody
12357 # maintain Libtool? --akim.
12358 export ac_cv_exeext
12359 break;;
12360 * )
12361 break;;
12362 esac
12363 done
12364 else
12365 echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.$ac_ext >&5
12367
12368 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&5
12370 echo "$as_me: error: C compiler cannot create executables
12371 See \`config.log' for more details." >&2;}
12372 { (exit 77); exit 77; }; }
12373 fi
12374
12375 ac_exeext=$ac_cv_exeext
12376 echo "$as_me:$LINENO: result: $ac_file" >&5
12377 echo "${ECHO_T}$ac_file" >&6
12378
12379 # Check the compiler produces executables we can run. If not, either
12380 # the compiler is broken, or we cross compile.
12381 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12382 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12383 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12384 # If not cross compiling, check that we can run a simple program.
12385 if test "$cross_compiling" != yes; then
12386 if { ac_try='./$ac_file'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12389 ac_status=$?
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 cross_compiling=no
12393 else
12394 if test "$cross_compiling" = maybe; then
12395 cross_compiling=yes
12396 else
12397 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12398 If you meant to cross compile, use \`--host'.
12399 See \`config.log' for more details." >&5
12400 echo "$as_me: error: cannot run C compiled programs.
12401 If you meant to cross compile, use \`--host'.
12402 See \`config.log' for more details." >&2;}
12403 { (exit 1); exit 1; }; }
12404 fi
12405 fi
12406 fi
12407 echo "$as_me:$LINENO: result: yes" >&5
12408 echo "${ECHO_T}yes" >&6
12409
12410 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12411 ac_clean_files=$ac_clean_files_save
12412 # Check the compiler produces executables we can run. If not, either
12413 # the compiler is broken, or we cross compile.
12414 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12415 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12416 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12417 echo "${ECHO_T}$cross_compiling" >&6
12418
12419 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12420 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12422 (eval $ac_link) 2>&5
12423 ac_status=$?
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; then
12426 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12427 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12428 # work properly (i.e., refer to `conftest.exe'), while it won't with
12429 # `rm'.
12430 for ac_file in conftest.exe conftest conftest.*; do
12431 test -f "$ac_file" || continue
12432 case $ac_file in
12433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12434 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12435 export ac_cv_exeext
12436 break;;
12437 * ) break;;
12438 esac
12439 done
12440 else
12441 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&5
12443 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12444 See \`config.log' for more details." >&2;}
12445 { (exit 1); exit 1; }; }
12446 fi
12447
12448 rm -f conftest$ac_cv_exeext
12449 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12450 echo "${ECHO_T}$ac_cv_exeext" >&6
12451
12452 rm -f conftest.$ac_ext
12453 EXEEXT=$ac_cv_exeext
12454 ac_exeext=$EXEEXT
12455 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12456 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12457 if test "${ac_cv_objext+set}" = set; then
12458 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 else
12460 cat >conftest.$ac_ext <<_ACEOF
12461 /* confdefs.h. */
12462 _ACEOF
12463 cat confdefs.h >>conftest.$ac_ext
12464 cat >>conftest.$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12466
12467 int
12468 main ()
12469 {
12470
12471 ;
12472 return 0;
12473 }
12474 _ACEOF
12475 rm -f conftest.o conftest.obj
12476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12477 (eval $ac_compile) 2>&5
12478 ac_status=$?
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; then
12481 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12482 case $ac_file in
12483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12485 break;;
12486 esac
12487 done
12488 else
12489 echo "$as_me: failed program was:" >&5
12490 sed 's/^/| /' conftest.$ac_ext >&5
12491
12492 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&5
12494 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12495 See \`config.log' for more details." >&2;}
12496 { (exit 1); exit 1; }; }
12497 fi
12498
12499 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12500 fi
12501 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12502 echo "${ECHO_T}$ac_cv_objext" >&6
12503 OBJEXT=$ac_cv_objext
12504 ac_objext=$OBJEXT
12505 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12506 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12507 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12509 else
12510 cat >conftest.$ac_ext <<_ACEOF
12511 /* confdefs.h. */
12512 _ACEOF
12513 cat confdefs.h >>conftest.$ac_ext
12514 cat >>conftest.$ac_ext <<_ACEOF
12515 /* end confdefs.h. */
12516
12517 int
12518 main ()
12519 {
12520 #ifndef __GNUC__
12521 choke me
12522 #endif
12523
12524 ;
12525 return 0;
12526 }
12527 _ACEOF
12528 rm -f conftest.$ac_objext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12530 (eval $ac_compile) 2>conftest.er1
12531 ac_status=$?
12532 grep -v '^ *+' conftest.er1 >conftest.err
12533 rm -f conftest.er1
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12540 ac_status=$?
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; } &&
12543 { ac_try='test -s conftest.$ac_objext'
12544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545 (eval $ac_try) 2>&5
12546 ac_status=$?
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; }; then
12549 ac_compiler_gnu=yes
12550 else
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.$ac_ext >&5
12553
12554 ac_compiler_gnu=no
12555 fi
12556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12557 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12558
12559 fi
12560 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12561 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12562 GCC=`test $ac_compiler_gnu = yes && echo yes`
12563 ac_test_CFLAGS=${CFLAGS+set}
12564 ac_save_CFLAGS=$CFLAGS
12565 CFLAGS="-g"
12566 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12568 if test "${ac_cv_prog_cc_g+set}" = set; then
12569 echo $ECHO_N "(cached) $ECHO_C" >&6
12570 else
12571 cat >conftest.$ac_ext <<_ACEOF
12572 /* confdefs.h. */
12573 _ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12577
12578 int
12579 main ()
12580 {
12581
12582 ;
12583 return 0;
12584 }
12585 _ACEOF
12586 rm -f conftest.$ac_objext
12587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12588 (eval $ac_compile) 2>conftest.er1
12589 ac_status=$?
12590 grep -v '^ *+' conftest.er1 >conftest.err
12591 rm -f conftest.er1
12592 cat conftest.err >&5
12593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594 (exit $ac_status); } &&
12595 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12604 ac_status=$?
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 ac_cv_prog_cc_g=yes
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12611
12612 ac_cv_prog_cc_g=no
12613 fi
12614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12615 fi
12616 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12617 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12618 if test "$ac_test_CFLAGS" = set; then
12619 CFLAGS=$ac_save_CFLAGS
12620 elif test $ac_cv_prog_cc_g = yes; then
12621 if test "$GCC" = yes; then
12622 CFLAGS="-g -O2"
12623 else
12624 CFLAGS="-g"
12625 fi
12626 else
12627 if test "$GCC" = yes; then
12628 CFLAGS="-O2"
12629 else
12630 CFLAGS=
12631 fi
12632 fi
12633 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12634 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12635 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 ac_cv_prog_cc_stdc=no
12639 ac_save_CC=$CC
12640 cat >conftest.$ac_ext <<_ACEOF
12641 /* confdefs.h. */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12646 #include <stdarg.h>
12647 #include <stdio.h>
12648 #include <sys/types.h>
12649 #include <sys/stat.h>
12650 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12651 struct buf { int x; };
12652 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12653 static char *e (p, i)
12654 char **p;
12655 int i;
12656 {
12657 return p[i];
12658 }
12659 static char *f (char * (*g) (char **, int), char **p, ...)
12660 {
12661 char *s;
12662 va_list v;
12663 va_start (v,p);
12664 s = g (p, va_arg (v,int));
12665 va_end (v);
12666 return s;
12667 }
12668
12669 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12670 function prototypes and stuff, but not '\xHH' hex character constants.
12671 These don't provoke an error unfortunately, instead are silently treated
12672 as 'x'. The following induces an error, until -std1 is added to get
12673 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12674 array size at least. It's necessary to write '\x00'==0 to get something
12675 that's true only with -std1. */
12676 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12677
12678 int test (int i, double x);
12679 struct s1 {int (*f) (int a);};
12680 struct s2 {int (*f) (double a);};
12681 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12682 int argc;
12683 char **argv;
12684 int
12685 main ()
12686 {
12687 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12688 ;
12689 return 0;
12690 }
12691 _ACEOF
12692 # Don't try gcc -ansi; that turns off useful extensions and
12693 # breaks some systems' header files.
12694 # AIX -qlanglvl=ansi
12695 # Ultrix and OSF/1 -std1
12696 # HP-UX 10.20 and later -Ae
12697 # HP-UX older versions -Aa -D_HPUX_SOURCE
12698 # SVR4 -Xc -D__EXTENSIONS__
12699 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12700 do
12701 CC="$ac_save_CC $ac_arg"
12702 rm -f conftest.$ac_objext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12704 (eval $ac_compile) 2>conftest.er1
12705 ac_status=$?
12706 grep -v '^ *+' conftest.er1 >conftest.err
12707 rm -f conftest.er1
12708 cat conftest.err >&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12714 ac_status=$?
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12720 ac_status=$?
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_prog_cc_stdc=$ac_arg
12724 break
12725 else
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.$ac_ext >&5
12728
12729 fi
12730 rm -f conftest.err conftest.$ac_objext
12731 done
12732 rm -f conftest.$ac_ext conftest.$ac_objext
12733 CC=$ac_save_CC
12734
12735 fi
12736
12737 case "x$ac_cv_prog_cc_stdc" in
12738 x|xno)
12739 echo "$as_me:$LINENO: result: none needed" >&5
12740 echo "${ECHO_T}none needed" >&6 ;;
12741 *)
12742 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12743 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12744 CC="$CC $ac_cv_prog_cc_stdc" ;;
12745 esac
12746
12747 # Some people use a C++ compiler to compile C. Since we use `exit',
12748 # in C++ we need to declare it. In case someone uses the same compiler
12749 # for both compiling C and C++ we need to have the C++ compiler decide
12750 # the declaration of exit, since it's the most demanding environment.
12751 cat >conftest.$ac_ext <<_ACEOF
12752 #ifndef __cplusplus
12753 choke me
12754 #endif
12755 _ACEOF
12756 rm -f conftest.$ac_objext
12757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12758 (eval $ac_compile) 2>conftest.er1
12759 ac_status=$?
12760 grep -v '^ *+' conftest.er1 >conftest.err
12761 rm -f conftest.er1
12762 cat conftest.err >&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); } &&
12765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767 (eval $ac_try) 2>&5
12768 ac_status=$?
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); }; } &&
12771 { ac_try='test -s conftest.$ac_objext'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; }; then
12777 for ac_declaration in \
12778 '' \
12779 'extern "C" void std::exit (int) throw (); using std::exit;' \
12780 'extern "C" void std::exit (int); using std::exit;' \
12781 'extern "C" void exit (int) throw ();' \
12782 'extern "C" void exit (int);' \
12783 'void exit (int);'
12784 do
12785 cat >conftest.$ac_ext <<_ACEOF
12786 /* confdefs.h. */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 $ac_declaration
12792 #include <stdlib.h>
12793 int
12794 main ()
12795 {
12796 exit (42);
12797 ;
12798 return 0;
12799 }
12800 _ACEOF
12801 rm -f conftest.$ac_objext
12802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12803 (eval $ac_compile) 2>conftest.er1
12804 ac_status=$?
12805 grep -v '^ *+' conftest.er1 >conftest.err
12806 rm -f conftest.er1
12807 cat conftest.err >&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12813 ac_status=$?
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; } &&
12816 { ac_try='test -s conftest.$ac_objext'
12817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12818 (eval $ac_try) 2>&5
12819 ac_status=$?
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); }; }; then
12822 :
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12826
12827 continue
12828 fi
12829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12830 cat >conftest.$ac_ext <<_ACEOF
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 $ac_declaration
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 break
12867 else
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12870
12871 fi
12872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12873 done
12874 rm -f conftest*
12875 if test -n "$ac_declaration"; then
12876 echo '#ifdef __cplusplus' >>confdefs.h
12877 echo $ac_declaration >>confdefs.h
12878 echo '#endif' >>confdefs.h
12879 fi
12880
12881 else
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 fi
12886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12887 ac_ext=c
12888 ac_cpp='$CPP $CPPFLAGS'
12889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12892
12893
12894
12895 ac_ext=c
12896 ac_cpp='$CPP $CPPFLAGS'
12897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12900
12901 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12902 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12903 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 else
12906 cat >conftest.$ac_ext <<_ACEOF
12907 /* confdefs.h. */
12908 _ACEOF
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912
12913 int
12914 main ()
12915 {
12916
12917 #ifndef __INTEL_COMPILER
12918 choke me
12919 #endif
12920
12921 ;
12922 return 0;
12923 }
12924 _ACEOF
12925 rm -f conftest.$ac_objext
12926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12927 (eval $ac_compile) 2>conftest.er1
12928 ac_status=$?
12929 grep -v '^ *+' conftest.er1 >conftest.err
12930 rm -f conftest.er1
12931 cat conftest.err >&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); } &&
12934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; } &&
12940 { ac_try='test -s conftest.$ac_objext'
12941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12942 (eval $ac_try) 2>&5
12943 ac_status=$?
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); }; }; then
12946 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12947 else
12948 echo "$as_me: failed program was:" >&5
12949 sed 's/^/| /' conftest.$ac_ext >&5
12950
12951 bakefile_cv_c_compiler___INTEL_COMPILER=no
12952
12953 fi
12954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12955
12956
12957 fi
12958 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12959 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12960 ac_ext=c
12961 ac_cpp='$CPP $CPPFLAGS'
12962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12965
12966 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12967 :; INTELCC=yes
12968 else
12969 :;
12970 fi
12971
12972
12973 if test "x$GCC" != "xyes"; then
12974 if test "xCC" = "xC"; then
12975 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12976 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12977 if test "${bakefile_cv_c_exto+set}" = set; then
12978 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 else
12980 cat >conftest.$ac_ext <<_ACEOF
12981 /* confdefs.h. */
12982 _ACEOF
12983 cat confdefs.h >>conftest.$ac_ext
12984 cat >>conftest.$ac_ext <<_ACEOF
12985 /* end confdefs.h. */
12986
12987 int
12988 main ()
12989 {
12990
12991 ;
12992 return 0;
12993 }
12994 _ACEOF
12995 rm -f conftest.$ac_objext conftest.$ac_ext.o
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; then
13001 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13002 case $ac_file in
13003 conftest.$ac_ext.o)
13004 bakefile_cv_c_exto="-ext o"
13005 ;;
13006 *)
13007 ;;
13008 esac
13009 done
13010 else
13011 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&5
13013 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13014 See \`config.log' for more details." >&2;}
13015 { (exit 1); exit 1; }; }
13016
13017 fi
13018
13019 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13020
13021 fi
13022 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13023 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13024 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13025 if test "c" = "c"; then
13026 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13027 fi
13028 if test "c" = "cxx"; then
13029 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13030 fi
13031 fi
13032
13033 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13034 unset ac_cv_prog_cc_g
13035 ac_test_CFLAGS=${CFLAGS+set}
13036 ac_save_CFLAGS=$CFLAGS
13037 CFLAGS="-g"
13038 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13039 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13040 if test "${ac_cv_prog_cc_g+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 else
13043 cat >conftest.$ac_ext <<_ACEOF
13044 /* confdefs.h. */
13045 _ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049
13050 int
13051 main ()
13052 {
13053
13054 ;
13055 return 0;
13056 }
13057 _ACEOF
13058 rm -f conftest.$ac_objext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 (eval $ac_compile) 2>conftest.er1
13061 ac_status=$?
13062 grep -v '^ *+' conftest.er1 >conftest.err
13063 rm -f conftest.er1
13064 cat conftest.err >&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try='test -s conftest.$ac_objext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13076 ac_status=$?
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 ac_cv_prog_cc_g=yes
13080 else
13081 echo "$as_me: failed program was:" >&5
13082 sed 's/^/| /' conftest.$ac_ext >&5
13083
13084 ac_cv_prog_cc_g=no
13085 fi
13086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13087 fi
13088 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13089 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13090 if test "$ac_test_CFLAGS" = set; then
13091 CFLAGS=$ac_save_CFLAGS
13092 elif test $ac_cv_prog_cc_g = yes; then
13093 if test "$GCC" = yes; then
13094 CFLAGS="-g -O2"
13095 else
13096 CFLAGS="-g"
13097 fi
13098 else
13099 if test "$GCC" = yes; then
13100 CFLAGS="-O2"
13101 else
13102 CFLAGS=
13103 fi
13104 fi
13105 fi
13106 fi
13107
13108 case `uname -s` in
13109 AIX*)
13110 ac_ext=c
13111 ac_cpp='$CPP $CPPFLAGS'
13112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13115
13116 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13117 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13118 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 else
13121 cat >conftest.$ac_ext <<_ACEOF
13122 /* confdefs.h. */
13123 _ACEOF
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127
13128 int
13129 main ()
13130 {
13131 #ifndef __xlC__
13132 choke me
13133 #endif
13134
13135 ;
13136 return 0;
13137 }
13138 _ACEOF
13139 rm -f conftest.$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13142 ac_status=$?
13143 grep -v '^ *+' conftest.er1 >conftest.err
13144 rm -f conftest.er1
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13150 (eval $ac_try) 2>&5
13151 ac_status=$?
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; } &&
13154 { ac_try='test -s conftest.$ac_objext'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 bakefile_compiler_xlc=yes
13161 else
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13164
13165 bakefile_compiler_xlc=no
13166 fi
13167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13168 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13169
13170 fi
13171 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13172 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13173
13174 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13175 ac_ext=c
13176 ac_cpp='$CPP $CPPFLAGS'
13177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13180
13181
13182 ;;
13183
13184 Darwin)
13185 ac_ext=c
13186 ac_cpp='$CPP $CPPFLAGS'
13187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13190
13191 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13192 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13193 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 else
13196 cat >conftest.$ac_ext <<_ACEOF
13197 /* confdefs.h. */
13198 _ACEOF
13199 cat confdefs.h >>conftest.$ac_ext
13200 cat >>conftest.$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13202
13203 int
13204 main ()
13205 {
13206 #ifndef __MWERKS__
13207 choke me
13208 #endif
13209
13210 ;
13211 return 0;
13212 }
13213 _ACEOF
13214 rm -f conftest.$ac_objext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13216 (eval $ac_compile) 2>conftest.er1
13217 ac_status=$?
13218 grep -v '^ *+' conftest.er1 >conftest.err
13219 rm -f conftest.er1
13220 cat conftest.err >&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13226 ac_status=$?
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; } &&
13229 { ac_try='test -s conftest.$ac_objext'
13230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231 (eval $ac_try) 2>&5
13232 ac_status=$?
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); }; }; then
13235 bakefile_compiler_mwerks=yes
13236 else
13237 echo "$as_me: failed program was:" >&5
13238 sed 's/^/| /' conftest.$ac_ext >&5
13239
13240 bakefile_compiler_mwerks=no
13241 fi
13242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13243 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13244
13245 fi
13246 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13247 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13248
13249 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13250 ac_ext=c
13251 ac_cpp='$CPP $CPPFLAGS'
13252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13255
13256
13257 ac_ext=c
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13262
13263 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13264 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13265 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13268 cat >conftest.$ac_ext <<_ACEOF
13269 /* confdefs.h. */
13270 _ACEOF
13271 cat confdefs.h >>conftest.$ac_ext
13272 cat >>conftest.$ac_ext <<_ACEOF
13273 /* end confdefs.h. */
13274
13275 int
13276 main ()
13277 {
13278 #ifndef __xlC__
13279 choke me
13280 #endif
13281
13282 ;
13283 return 0;
13284 }
13285 _ACEOF
13286 rm -f conftest.$ac_objext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13288 (eval $ac_compile) 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13304 ac_status=$?
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 bakefile_compiler_xlc=yes
13308 else
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13311
13312 bakefile_compiler_xlc=no
13313 fi
13314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13315 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13316
13317 fi
13318 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13319 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13320
13321 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13322 ac_ext=c
13323 ac_cpp='$CPP $CPPFLAGS'
13324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13327
13328
13329 ;;
13330
13331 IRIX*)
13332
13333
13334 ac_ext=c
13335 ac_cpp='$CPP $CPPFLAGS'
13336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13339
13340 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13341 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13342 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351
13352 int
13353 main ()
13354 {
13355
13356 #ifndef _SGI_COMPILER_VERSION
13357 choke me
13358 #endif
13359
13360 ;
13361 return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13375 (eval $ac_try) 2>&5
13376 ac_status=$?
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); }; } &&
13379 { ac_try='test -s conftest.$ac_objext'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13382 ac_status=$?
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; }; then
13385 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13386 else
13387 echo "$as_me: failed program was:" >&5
13388 sed 's/^/| /' conftest.$ac_ext >&5
13389
13390 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13391
13392 fi
13393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13394
13395
13396 fi
13397 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13398 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13399 ac_ext=c
13400 ac_cpp='$CPP $CPPFLAGS'
13401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13404
13405 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13406 :; SGICC=yes
13407 else
13408 :;
13409 fi
13410
13411
13412 ;;
13413
13414 HP-UX*)
13415
13416
13417 ac_ext=c
13418 ac_cpp='$CPP $CPPFLAGS'
13419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13422
13423 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13424 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13425 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13427 else
13428 cat >conftest.$ac_ext <<_ACEOF
13429 /* confdefs.h. */
13430 _ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13434
13435 int
13436 main ()
13437 {
13438
13439 #ifndef __HP_cc
13440 choke me
13441 #endif
13442
13443 ;
13444 return 0;
13445 }
13446 _ACEOF
13447 rm -f conftest.$ac_objext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13449 (eval $ac_compile) 2>conftest.er1
13450 ac_status=$?
13451 grep -v '^ *+' conftest.er1 >conftest.err
13452 rm -f conftest.er1
13453 cat conftest.err >&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); } &&
13456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13459 ac_status=$?
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; } &&
13462 { ac_try='test -s conftest.$ac_objext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13468 bakefile_cv_c_compiler___HP_cc=yes
13469 else
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.$ac_ext >&5
13472
13473 bakefile_cv_c_compiler___HP_cc=no
13474
13475 fi
13476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13477
13478
13479 fi
13480 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13481 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13482 ac_ext=c
13483 ac_cpp='$CPP $CPPFLAGS'
13484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13487
13488 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13489 :; HPCC=yes
13490 else
13491 :;
13492 fi
13493
13494
13495 ;;
13496
13497 OSF1)
13498
13499
13500 ac_ext=c
13501 ac_cpp='$CPP $CPPFLAGS'
13502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13505
13506 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13507 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13508 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 else
13511 cat >conftest.$ac_ext <<_ACEOF
13512 /* confdefs.h. */
13513 _ACEOF
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h. */
13517
13518 int
13519 main ()
13520 {
13521
13522 #ifndef __DECC
13523 choke me
13524 #endif
13525
13526 ;
13527 return 0;
13528 }
13529 _ACEOF
13530 rm -f conftest.$ac_objext
13531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13532 (eval $ac_compile) 2>conftest.er1
13533 ac_status=$?
13534 grep -v '^ *+' conftest.er1 >conftest.err
13535 rm -f conftest.er1
13536 cat conftest.err >&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); } &&
13539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13541 (eval $ac_try) 2>&5
13542 ac_status=$?
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); }; } &&
13545 { ac_try='test -s conftest.$ac_objext'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13548 ac_status=$?
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; }; then
13551 bakefile_cv_c_compiler___DECC=yes
13552 else
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13555
13556 bakefile_cv_c_compiler___DECC=no
13557
13558 fi
13559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13560
13561
13562 fi
13563 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13564 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13565 ac_ext=c
13566 ac_cpp='$CPP $CPPFLAGS'
13567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13570
13571 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13572 :; COMPAQCC=yes
13573 else
13574 :;
13575 fi
13576
13577
13578 ;;
13579
13580 SunOS)
13581
13582
13583 ac_ext=c
13584 ac_cpp='$CPP $CPPFLAGS'
13585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13588
13589 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13590 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13591 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594 cat >conftest.$ac_ext <<_ACEOF
13595 /* confdefs.h. */
13596 _ACEOF
13597 cat confdefs.h >>conftest.$ac_ext
13598 cat >>conftest.$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600
13601 int
13602 main ()
13603 {
13604
13605 #ifndef __SUNPRO_C
13606 choke me
13607 #endif
13608
13609 ;
13610 return 0;
13611 }
13612 _ACEOF
13613 rm -f conftest.$ac_objext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13615 (eval $ac_compile) 2>conftest.er1
13616 ac_status=$?
13617 grep -v '^ *+' conftest.er1 >conftest.err
13618 rm -f conftest.er1
13619 cat conftest.err >&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13625 ac_status=$?
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; } &&
13628 { ac_try='test -s conftest.$ac_objext'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13631 ac_status=$?
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 bakefile_cv_c_compiler___SUNPRO_C=yes
13635 else
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13638
13639 bakefile_cv_c_compiler___SUNPRO_C=no
13640
13641 fi
13642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13643
13644
13645 fi
13646 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13647 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13648 ac_ext=c
13649 ac_cpp='$CPP $CPPFLAGS'
13650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13653
13654 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13655 :; SUNCC=yes
13656 else
13657 :;
13658 fi
13659
13660
13661 ;;
13662 esac
13663 fi
13664
13665
13666
13667 ac_ext=c
13668 ac_cpp='$CPP $CPPFLAGS'
13669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13672 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13673 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13674 # On Suns, sometimes $CPP names a directory.
13675 if test -n "$CPP" && test -d "$CPP"; then
13676 CPP=
13677 fi
13678 if test -z "$CPP"; then
13679 if test "${ac_cv_prog_CPP+set}" = set; then
13680 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 else
13682 # Double quotes because CPP needs to be expanded
13683 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13684 do
13685 ac_preproc_ok=false
13686 for ac_c_preproc_warn_flag in '' yes
13687 do
13688 # Use a header file that comes with gcc, so configuring glibc
13689 # with a fresh cross-compiler works.
13690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13691 # <limits.h> exists even on freestanding compilers.
13692 # On the NeXT, cc -E runs the code through the compiler's parser,
13693 # not just through cpp. "Syntax error" is here to catch this case.
13694 cat >conftest.$ac_ext <<_ACEOF
13695 /* confdefs.h. */
13696 _ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13700 #ifdef __STDC__
13701 # include <limits.h>
13702 #else
13703 # include <assert.h>
13704 #endif
13705 Syntax error
13706 _ACEOF
13707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13709 ac_status=$?
13710 grep -v '^ *+' conftest.er1 >conftest.err
13711 rm -f conftest.er1
13712 cat conftest.err >&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); } >/dev/null; then
13715 if test -s conftest.err; then
13716 ac_cpp_err=$ac_c_preproc_warn_flag
13717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13718 else
13719 ac_cpp_err=
13720 fi
13721 else
13722 ac_cpp_err=yes
13723 fi
13724 if test -z "$ac_cpp_err"; then
13725 :
13726 else
13727 echo "$as_me: failed program was:" >&5
13728 sed 's/^/| /' conftest.$ac_ext >&5
13729
13730 # Broken: fails on valid input.
13731 continue
13732 fi
13733 rm -f conftest.err conftest.$ac_ext
13734
13735 # OK, works on sane cases. Now check whether non-existent headers
13736 # can be detected and how.
13737 cat >conftest.$ac_ext <<_ACEOF
13738 /* confdefs.h. */
13739 _ACEOF
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13743 #include <ac_nonexistent.h>
13744 _ACEOF
13745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13747 ac_status=$?
13748 grep -v '^ *+' conftest.er1 >conftest.err
13749 rm -f conftest.er1
13750 cat conftest.err >&5
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); } >/dev/null; then
13753 if test -s conftest.err; then
13754 ac_cpp_err=$ac_c_preproc_warn_flag
13755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13756 else
13757 ac_cpp_err=
13758 fi
13759 else
13760 ac_cpp_err=yes
13761 fi
13762 if test -z "$ac_cpp_err"; then
13763 # Broken: success on invalid input.
13764 continue
13765 else
13766 echo "$as_me: failed program was:" >&5
13767 sed 's/^/| /' conftest.$ac_ext >&5
13768
13769 # Passes both tests.
13770 ac_preproc_ok=:
13771 break
13772 fi
13773 rm -f conftest.err conftest.$ac_ext
13774
13775 done
13776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13777 rm -f conftest.err conftest.$ac_ext
13778 if $ac_preproc_ok; then
13779 break
13780 fi
13781
13782 done
13783 ac_cv_prog_CPP=$CPP
13784
13785 fi
13786 CPP=$ac_cv_prog_CPP
13787 else
13788 ac_cv_prog_CPP=$CPP
13789 fi
13790 echo "$as_me:$LINENO: result: $CPP" >&5
13791 echo "${ECHO_T}$CPP" >&6
13792 ac_preproc_ok=false
13793 for ac_c_preproc_warn_flag in '' yes
13794 do
13795 # Use a header file that comes with gcc, so configuring glibc
13796 # with a fresh cross-compiler works.
13797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13798 # <limits.h> exists even on freestanding compilers.
13799 # On the NeXT, cc -E runs the code through the compiler's parser,
13800 # not just through cpp. "Syntax error" is here to catch this case.
13801 cat >conftest.$ac_ext <<_ACEOF
13802 /* confdefs.h. */
13803 _ACEOF
13804 cat confdefs.h >>conftest.$ac_ext
13805 cat >>conftest.$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13807 #ifdef __STDC__
13808 # include <limits.h>
13809 #else
13810 # include <assert.h>
13811 #endif
13812 Syntax error
13813 _ACEOF
13814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13816 ac_status=$?
13817 grep -v '^ *+' conftest.er1 >conftest.err
13818 rm -f conftest.er1
13819 cat conftest.err >&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } >/dev/null; then
13822 if test -s conftest.err; then
13823 ac_cpp_err=$ac_c_preproc_warn_flag
13824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13825 else
13826 ac_cpp_err=
13827 fi
13828 else
13829 ac_cpp_err=yes
13830 fi
13831 if test -z "$ac_cpp_err"; then
13832 :
13833 else
13834 echo "$as_me: failed program was:" >&5
13835 sed 's/^/| /' conftest.$ac_ext >&5
13836
13837 # Broken: fails on valid input.
13838 continue
13839 fi
13840 rm -f conftest.err conftest.$ac_ext
13841
13842 # OK, works on sane cases. Now check whether non-existent headers
13843 # can be detected and how.
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850 #include <ac_nonexistent.h>
13851 _ACEOF
13852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13854 ac_status=$?
13855 grep -v '^ *+' conftest.er1 >conftest.err
13856 rm -f conftest.er1
13857 cat conftest.err >&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } >/dev/null; then
13860 if test -s conftest.err; then
13861 ac_cpp_err=$ac_c_preproc_warn_flag
13862 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13863 else
13864 ac_cpp_err=
13865 fi
13866 else
13867 ac_cpp_err=yes
13868 fi
13869 if test -z "$ac_cpp_err"; then
13870 # Broken: success on invalid input.
13871 continue
13872 else
13873 echo "$as_me: failed program was:" >&5
13874 sed 's/^/| /' conftest.$ac_ext >&5
13875
13876 # Passes both tests.
13877 ac_preproc_ok=:
13878 break
13879 fi
13880 rm -f conftest.err conftest.$ac_ext
13881
13882 done
13883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13884 rm -f conftest.err conftest.$ac_ext
13885 if $ac_preproc_ok; then
13886 :
13887 else
13888 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&5
13890 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13891 See \`config.log' for more details." >&2;}
13892 { (exit 1); exit 1; }; }
13893 fi
13894
13895 ac_ext=c
13896 ac_cpp='$CPP $CPPFLAGS'
13897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13900
13901
13902 echo "$as_me:$LINENO: checking for egrep" >&5
13903 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13904 if test "${ac_cv_prog_egrep+set}" = set; then
13905 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 else
13907 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13908 then ac_cv_prog_egrep='grep -E'
13909 else ac_cv_prog_egrep='egrep'
13910 fi
13911 fi
13912 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13913 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13914 EGREP=$ac_cv_prog_egrep
13915
13916
13917 if test $ac_cv_c_compiler_gnu = yes; then
13918 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13919 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13920 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 ac_pattern="Autoconf.*'x'"
13924 cat >conftest.$ac_ext <<_ACEOF
13925 /* confdefs.h. */
13926 _ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13930 #include <sgtty.h>
13931 Autoconf TIOCGETP
13932 _ACEOF
13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13934 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13935 ac_cv_prog_gcc_traditional=yes
13936 else
13937 ac_cv_prog_gcc_traditional=no
13938 fi
13939 rm -f conftest*
13940
13941
13942 if test $ac_cv_prog_gcc_traditional = no; then
13943 cat >conftest.$ac_ext <<_ACEOF
13944 /* confdefs.h. */
13945 _ACEOF
13946 cat confdefs.h >>conftest.$ac_ext
13947 cat >>conftest.$ac_ext <<_ACEOF
13948 /* end confdefs.h. */
13949 #include <termio.h>
13950 Autoconf TCGETA
13951 _ACEOF
13952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13953 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13954 ac_cv_prog_gcc_traditional=yes
13955 fi
13956 rm -f conftest*
13957
13958 fi
13959 fi
13960 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13961 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13962 if test $ac_cv_prog_gcc_traditional = yes; then
13963 CC="$CC -traditional"
13964 fi
13965 fi
13966
13967
13968 CXXFLAGS=${CXXFLAGS:=}
13969
13970
13971
13972 ac_ext=cc
13973 ac_cpp='$CXXCPP $CPPFLAGS'
13974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13977 if test -n "$ac_tool_prefix"; then
13978 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13979 do
13980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13982 echo "$as_me:$LINENO: checking for $ac_word" >&5
13983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13984 if test "${ac_cv_prog_CXX+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 else
13987 if test -n "$CXX"; then
13988 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13989 else
13990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13991 for as_dir in $PATH
13992 do
13993 IFS=$as_save_IFS
13994 test -z "$as_dir" && as_dir=.
13995 for ac_exec_ext in '' $ac_executable_extensions; do
13996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13997 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 break 2
14000 fi
14001 done
14002 done
14003
14004 fi
14005 fi
14006 CXX=$ac_cv_prog_CXX
14007 if test -n "$CXX"; then
14008 echo "$as_me:$LINENO: result: $CXX" >&5
14009 echo "${ECHO_T}$CXX" >&6
14010 else
14011 echo "$as_me:$LINENO: result: no" >&5
14012 echo "${ECHO_T}no" >&6
14013 fi
14014
14015 test -n "$CXX" && break
14016 done
14017 fi
14018 if test -z "$CXX"; then
14019 ac_ct_CXX=$CXX
14020 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14021 do
14022 # Extract the first word of "$ac_prog", so it can be a program name with args.
14023 set dummy $ac_prog; ac_word=$2
14024 echo "$as_me:$LINENO: checking for $ac_word" >&5
14025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14026 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 else
14029 if test -n "$ac_ct_CXX"; then
14030 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14031 else
14032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 for as_dir in $PATH
14034 do
14035 IFS=$as_save_IFS
14036 test -z "$as_dir" && as_dir=.
14037 for ac_exec_ext in '' $ac_executable_extensions; do
14038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14039 ac_cv_prog_ac_ct_CXX="$ac_prog"
14040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14041 break 2
14042 fi
14043 done
14044 done
14045
14046 fi
14047 fi
14048 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14049 if test -n "$ac_ct_CXX"; then
14050 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14051 echo "${ECHO_T}$ac_ct_CXX" >&6
14052 else
14053 echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6
14055 fi
14056
14057 test -n "$ac_ct_CXX" && break
14058 done
14059 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14060
14061 CXX=$ac_ct_CXX
14062 fi
14063
14064
14065 # Provide some information about the compiler.
14066 echo "$as_me:$LINENO:" \
14067 "checking for C++ compiler version" >&5
14068 ac_compiler=`set X $ac_compile; echo $2`
14069 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14070 (eval $ac_compiler --version </dev/null >&5) 2>&5
14071 ac_status=$?
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }
14074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14075 (eval $ac_compiler -v </dev/null >&5) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }
14079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14080 (eval $ac_compiler -V </dev/null >&5) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }
14084
14085 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14086 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14087 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 else
14090 cat >conftest.$ac_ext <<_ACEOF
14091 /* confdefs.h. */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096
14097 int
14098 main ()
14099 {
14100 #ifndef __GNUC__
14101 choke me
14102 #endif
14103
14104 ;
14105 return 0;
14106 }
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14110 (eval $ac_compile) 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14120 ac_status=$?
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; } &&
14123 { ac_try='test -s conftest.$ac_objext'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14126 ac_status=$?
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; }; then
14129 ac_compiler_gnu=yes
14130 else
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14133
14134 ac_compiler_gnu=no
14135 fi
14136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14137 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14138
14139 fi
14140 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14141 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14142 GXX=`test $ac_compiler_gnu = yes && echo yes`
14143 ac_test_CXXFLAGS=${CXXFLAGS+set}
14144 ac_save_CXXFLAGS=$CXXFLAGS
14145 CXXFLAGS="-g"
14146 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14147 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14148 if test "${ac_cv_prog_cxx_g+set}" = set; then
14149 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 else
14151 cat >conftest.$ac_ext <<_ACEOF
14152 /* confdefs.h. */
14153 _ACEOF
14154 cat confdefs.h >>conftest.$ac_ext
14155 cat >>conftest.$ac_ext <<_ACEOF
14156 /* end confdefs.h. */
14157
14158 int
14159 main ()
14160 {
14161
14162 ;
14163 return 0;
14164 }
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14168 (eval $ac_compile) 2>conftest.er1
14169 ac_status=$?
14170 grep -v '^ *+' conftest.er1 >conftest.err
14171 rm -f conftest.er1
14172 cat conftest.err >&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); } &&
14175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 (eval $ac_try) 2>&5
14178 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; } &&
14181 { ac_try='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14184 ac_status=$?
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_cv_prog_cxx_g=yes
14188 else
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14191
14192 ac_cv_prog_cxx_g=no
14193 fi
14194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14195 fi
14196 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14197 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14198 if test "$ac_test_CXXFLAGS" = set; then
14199 CXXFLAGS=$ac_save_CXXFLAGS
14200 elif test $ac_cv_prog_cxx_g = yes; then
14201 if test "$GXX" = yes; then
14202 CXXFLAGS="-g -O2"
14203 else
14204 CXXFLAGS="-g"
14205 fi
14206 else
14207 if test "$GXX" = yes; then
14208 CXXFLAGS="-O2"
14209 else
14210 CXXFLAGS=
14211 fi
14212 fi
14213 for ac_declaration in \
14214 '' \
14215 'extern "C" void std::exit (int) throw (); using std::exit;' \
14216 'extern "C" void std::exit (int); using std::exit;' \
14217 'extern "C" void exit (int) throw ();' \
14218 'extern "C" void exit (int);' \
14219 'void exit (int);'
14220 do
14221 cat >conftest.$ac_ext <<_ACEOF
14222 /* confdefs.h. */
14223 _ACEOF
14224 cat confdefs.h >>conftest.$ac_ext
14225 cat >>conftest.$ac_ext <<_ACEOF
14226 /* end confdefs.h. */
14227 $ac_declaration
14228 #include <stdlib.h>
14229 int
14230 main ()
14231 {
14232 exit (42);
14233 ;
14234 return 0;
14235 }
14236 _ACEOF
14237 rm -f conftest.$ac_objext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14239 (eval $ac_compile) 2>conftest.er1
14240 ac_status=$?
14241 grep -v '^ *+' conftest.er1 >conftest.err
14242 rm -f conftest.er1
14243 cat conftest.err >&5
14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } &&
14246 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 :
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14262
14263 continue
14264 fi
14265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14266 cat >conftest.$ac_ext <<_ACEOF
14267 /* confdefs.h. */
14268 _ACEOF
14269 cat confdefs.h >>conftest.$ac_ext
14270 cat >>conftest.$ac_ext <<_ACEOF
14271 /* end confdefs.h. */
14272 $ac_declaration
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 break
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14306
14307 fi
14308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14309 done
14310 rm -f conftest*
14311 if test -n "$ac_declaration"; then
14312 echo '#ifdef __cplusplus' >>confdefs.h
14313 echo $ac_declaration >>confdefs.h
14314 echo '#endif' >>confdefs.h
14315 fi
14316
14317 ac_ext=c
14318 ac_cpp='$CPP $CPPFLAGS'
14319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14322
14323
14324
14325 ac_ext=cc
14326 ac_cpp='$CXXCPP $CPPFLAGS'
14327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14330
14331 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14332 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14333 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 else
14336 cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h. */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342
14343 int
14344 main ()
14345 {
14346
14347 #ifndef __INTEL_COMPILER
14348 choke me
14349 #endif
14350
14351 ;
14352 return 0;
14353 }
14354 _ACEOF
14355 rm -f conftest.$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14367 ac_status=$?
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14373 ac_status=$?
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14377 else
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.$ac_ext >&5
14380
14381 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14382
14383 fi
14384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14385
14386
14387 fi
14388 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14389 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14390 ac_ext=c
14391 ac_cpp='$CPP $CPPFLAGS'
14392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14395
14396 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14397 :; INTELCXX=yes
14398 else
14399 :;
14400 fi
14401
14402
14403 if test "x$GCXX" != "xyes"; then
14404 if test "xCXX" = "xC"; then
14405 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14406 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14407 if test "${bakefile_cv_c_exto+set}" = set; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 else
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416
14417 int
14418 main ()
14419 {
14420
14421 ;
14422 return 0;
14423 }
14424 _ACEOF
14425 rm -f conftest.$ac_objext conftest.$ac_ext.o
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>&5
14428 ac_status=$?
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; then
14431 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14432 case $ac_file in
14433 conftest.$ac_ext.o)
14434 bakefile_cv_c_exto="-ext o"
14435 ;;
14436 *)
14437 ;;
14438 esac
14439 done
14440 else
14441 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14442 See \`config.log' for more details." >&5
14443 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14444 See \`config.log' for more details." >&2;}
14445 { (exit 1); exit 1; }; }
14446
14447 fi
14448
14449 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14450
14451 fi
14452 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14453 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14455 if test "c" = "c"; then
14456 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14457 fi
14458 if test "c" = "cxx"; then
14459 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14460 fi
14461 fi
14462
14463 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14464 unset ac_cv_prog_cc_g
14465 ac_test_CFLAGS=${CFLAGS+set}
14466 ac_save_CFLAGS=$CFLAGS
14467 CFLAGS="-g"
14468 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14469 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14470 if test "${ac_cv_prog_cc_g+set}" = set; then
14471 echo $ECHO_N "(cached) $ECHO_C" >&6
14472 else
14473 cat >conftest.$ac_ext <<_ACEOF
14474 /* confdefs.h. */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14479
14480 int
14481 main ()
14482 {
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14500 ac_status=$?
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try='test -s conftest.$ac_objext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14506 ac_status=$?
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 ac_cv_prog_cc_g=yes
14510 else
14511 echo "$as_me: failed program was:" >&5
14512 sed 's/^/| /' conftest.$ac_ext >&5
14513
14514 ac_cv_prog_cc_g=no
14515 fi
14516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14517 fi
14518 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14519 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14520 if test "$ac_test_CFLAGS" = set; then
14521 CFLAGS=$ac_save_CFLAGS
14522 elif test $ac_cv_prog_cc_g = yes; then
14523 if test "$GCC" = yes; then
14524 CFLAGS="-g -O2"
14525 else
14526 CFLAGS="-g"
14527 fi
14528 else
14529 if test "$GCC" = yes; then
14530 CFLAGS="-O2"
14531 else
14532 CFLAGS=
14533 fi
14534 fi
14535 fi
14536 fi
14537
14538 case `uname -s` in
14539 AIX*)
14540 ac_ext=cc
14541 ac_cpp='$CXXCPP $CPPFLAGS'
14542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14545
14546 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14547 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14548 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 cat >conftest.$ac_ext <<_ACEOF
14552 /* confdefs.h. */
14553 _ACEOF
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557
14558 int
14559 main ()
14560 {
14561 #ifndef __xlC__
14562 choke me
14563 #endif
14564
14565 ;
14566 return 0;
14567 }
14568 _ACEOF
14569 rm -f conftest.$ac_objext
14570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14571 (eval $ac_compile) 2>conftest.er1
14572 ac_status=$?
14573 grep -v '^ *+' conftest.er1 >conftest.err
14574 rm -f conftest.er1
14575 cat conftest.err >&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try='test -s conftest.$ac_objext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14587 ac_status=$?
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 bakefile_compiler_xlc=yes
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595 bakefile_compiler_xlc=no
14596 fi
14597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14598 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14599
14600 fi
14601 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14602 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14603
14604 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14605 ac_ext=c
14606 ac_cpp='$CPP $CPPFLAGS'
14607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14610
14611
14612 ;;
14613
14614 Darwin)
14615 ac_ext=cc
14616 ac_cpp='$CXXCPP $CPPFLAGS'
14617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14620
14621 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14622 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14623 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 else
14626 cat >conftest.$ac_ext <<_ACEOF
14627 /* confdefs.h. */
14628 _ACEOF
14629 cat confdefs.h >>conftest.$ac_ext
14630 cat >>conftest.$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14632
14633 int
14634 main ()
14635 {
14636 #ifndef __MWERKS__
14637 choke me
14638 #endif
14639
14640 ;
14641 return 0;
14642 }
14643 _ACEOF
14644 rm -f conftest.$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>conftest.er1
14647 ac_status=$?
14648 grep -v '^ *+' conftest.er1 >conftest.err
14649 rm -f conftest.er1
14650 cat conftest.err >&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 bakefile_compiler_mwerks=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 bakefile_compiler_mwerks=no
14671 fi
14672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14673 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14674
14675 fi
14676 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14677 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14678
14679 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14680 ac_ext=c
14681 ac_cpp='$CPP $CPPFLAGS'
14682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14685
14686
14687 ac_ext=cc
14688 ac_cpp='$CXXCPP $CPPFLAGS'
14689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14692
14693 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14694 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14695 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14696 echo $ECHO_N "(cached) $ECHO_C" >&6
14697 else
14698 cat >conftest.$ac_ext <<_ACEOF
14699 /* confdefs.h. */
14700 _ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704
14705 int
14706 main ()
14707 {
14708 #ifndef __xlC__
14709 choke me
14710 #endif
14711
14712 ;
14713 return 0;
14714 }
14715 _ACEOF
14716 rm -f conftest.$ac_objext
14717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14718 (eval $ac_compile) 2>conftest.er1
14719 ac_status=$?
14720 grep -v '^ *+' conftest.er1 >conftest.err
14721 rm -f conftest.er1
14722 cat conftest.err >&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } &&
14725 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14727 (eval $ac_try) 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try='test -s conftest.$ac_objext'
14732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14733 (eval $ac_try) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); }; }; then
14737 bakefile_compiler_xlc=yes
14738 else
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14741
14742 bakefile_compiler_xlc=no
14743 fi
14744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14745 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14746
14747 fi
14748 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14749 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14750
14751 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14752 ac_ext=c
14753 ac_cpp='$CPP $CPPFLAGS'
14754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14757
14758
14759 ;;
14760
14761 IRIX*)
14762
14763
14764 ac_ext=cc
14765 ac_cpp='$CXXCPP $CPPFLAGS'
14766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14769
14770 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14771 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14772 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 cat >conftest.$ac_ext <<_ACEOF
14776 /* confdefs.h. */
14777 _ACEOF
14778 cat confdefs.h >>conftest.$ac_ext
14779 cat >>conftest.$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14781
14782 int
14783 main ()
14784 {
14785
14786 #ifndef _SGI_COMPILER_VERSION
14787 choke me
14788 #endif
14789
14790 ;
14791 return 0;
14792 }
14793 _ACEOF
14794 rm -f conftest.$ac_objext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14796 (eval $ac_compile) 2>conftest.er1
14797 ac_status=$?
14798 grep -v '^ *+' conftest.er1 >conftest.err
14799 rm -f conftest.er1
14800 cat conftest.err >&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } &&
14803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; } &&
14809 { ac_try='test -s conftest.$ac_objext'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14815 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14816 else
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14819
14820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14821
14822 fi
14823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14824
14825
14826 fi
14827 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14828 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14829 ac_ext=c
14830 ac_cpp='$CPP $CPPFLAGS'
14831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14834
14835 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14836 :; SGICXX=yes
14837 else
14838 :;
14839 fi
14840
14841
14842 ;;
14843
14844 HP-UX*)
14845
14846
14847 ac_ext=cc
14848 ac_cpp='$CXXCPP $CPPFLAGS'
14849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14852
14853 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14854 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14855 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14856 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 else
14858 cat >conftest.$ac_ext <<_ACEOF
14859 /* confdefs.h. */
14860 _ACEOF
14861 cat confdefs.h >>conftest.$ac_ext
14862 cat >>conftest.$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864
14865 int
14866 main ()
14867 {
14868
14869 #ifndef __HP_aCC
14870 choke me
14871 #endif
14872
14873 ;
14874 return 0;
14875 }
14876 _ACEOF
14877 rm -f conftest.$ac_objext
14878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14879 (eval $ac_compile) 2>conftest.er1
14880 ac_status=$?
14881 grep -v '^ *+' conftest.er1 >conftest.err
14882 rm -f conftest.er1
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14889 ac_status=$?
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; } &&
14892 { ac_try='test -s conftest.$ac_objext'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14895 ac_status=$?
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; }; then
14898 bakefile_cv_cxx_compiler___HP_aCC=yes
14899 else
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14902
14903 bakefile_cv_cxx_compiler___HP_aCC=no
14904
14905 fi
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14907
14908
14909 fi
14910 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14911 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14912 ac_ext=c
14913 ac_cpp='$CPP $CPPFLAGS'
14914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14917
14918 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14919 :; HPCXX=yes
14920 else
14921 :;
14922 fi
14923
14924
14925 ;;
14926
14927 OSF1)
14928
14929
14930 ac_ext=cc
14931 ac_cpp='$CXXCPP $CPPFLAGS'
14932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14935
14936 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14937 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14938 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14939 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 else
14941 cat >conftest.$ac_ext <<_ACEOF
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947
14948 int
14949 main ()
14950 {
14951
14952 #ifndef __DECCXX
14953 choke me
14954 #endif
14955
14956 ;
14957 return 0;
14958 }
14959 _ACEOF
14960 rm -f conftest.$ac_objext
14961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14962 (eval $ac_compile) 2>conftest.er1
14963 ac_status=$?
14964 grep -v '^ *+' conftest.er1 >conftest.err
14965 rm -f conftest.er1
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); } &&
14969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14971 (eval $ac_try) 2>&5
14972 ac_status=$?
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); }; } &&
14975 { ac_try='test -s conftest.$ac_objext'
14976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14977 (eval $ac_try) 2>&5
14978 ac_status=$?
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); }; }; then
14981 bakefile_cv_cxx_compiler___DECCXX=yes
14982 else
14983 echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14985
14986 bakefile_cv_cxx_compiler___DECCXX=no
14987
14988 fi
14989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14990
14991
14992 fi
14993 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14994 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14995 ac_ext=c
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15000
15001 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15002 :; COMPAQCXX=yes
15003 else
15004 :;
15005 fi
15006
15007
15008 ;;
15009
15010 SunOS)
15011
15012
15013 ac_ext=cc
15014 ac_cpp='$CXXCPP $CPPFLAGS'
15015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15018
15019 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15020 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15021 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 else
15024 cat >conftest.$ac_ext <<_ACEOF
15025 /* confdefs.h. */
15026 _ACEOF
15027 cat confdefs.h >>conftest.$ac_ext
15028 cat >>conftest.$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030
15031 int
15032 main ()
15033 {
15034
15035 #ifndef __SUNPRO_CC
15036 choke me
15037 #endif
15038
15039 ;
15040 return 0;
15041 }
15042 _ACEOF
15043 rm -f conftest.$ac_objext
15044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15045 (eval $ac_compile) 2>conftest.er1
15046 ac_status=$?
15047 grep -v '^ *+' conftest.er1 >conftest.err
15048 rm -f conftest.er1
15049 cat conftest.err >&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); } &&
15052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; } &&
15058 { ac_try='test -s conftest.$ac_objext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15068
15069 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15070
15071 fi
15072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15073
15074
15075 fi
15076 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15077 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15078 ac_ext=c
15079 ac_cpp='$CPP $CPPFLAGS'
15080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15083
15084 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15085 :; SUNCXX=yes
15086 else
15087 :;
15088 fi
15089
15090
15091 ;;
15092 esac
15093 fi
15094
15095
15096
15097 if test -n "$ac_tool_prefix"; then
15098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15100 echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15102 if test "${ac_cv_prog_RANLIB+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 if test -n "$RANLIB"; then
15106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15107 else
15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109 for as_dir in $PATH
15110 do
15111 IFS=$as_save_IFS
15112 test -z "$as_dir" && as_dir=.
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15117 break 2
15118 fi
15119 done
15120 done
15121
15122 fi
15123 fi
15124 RANLIB=$ac_cv_prog_RANLIB
15125 if test -n "$RANLIB"; then
15126 echo "$as_me:$LINENO: result: $RANLIB" >&5
15127 echo "${ECHO_T}$RANLIB" >&6
15128 else
15129 echo "$as_me:$LINENO: result: no" >&5
15130 echo "${ECHO_T}no" >&6
15131 fi
15132
15133 fi
15134 if test -z "$ac_cv_prog_RANLIB"; then
15135 ac_ct_RANLIB=$RANLIB
15136 # Extract the first word of "ranlib", so it can be a program name with args.
15137 set dummy ranlib; ac_word=$2
15138 echo "$as_me:$LINENO: checking for $ac_word" >&5
15139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15140 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 else
15143 if test -n "$ac_ct_RANLIB"; then
15144 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15145 else
15146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15147 for as_dir in $PATH
15148 do
15149 IFS=$as_save_IFS
15150 test -z "$as_dir" && as_dir=.
15151 for ac_exec_ext in '' $ac_executable_extensions; do
15152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15153 ac_cv_prog_ac_ct_RANLIB="ranlib"
15154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15155 break 2
15156 fi
15157 done
15158 done
15159
15160 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15161 fi
15162 fi
15163 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15164 if test -n "$ac_ct_RANLIB"; then
15165 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15166 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15167 else
15168 echo "$as_me:$LINENO: result: no" >&5
15169 echo "${ECHO_T}no" >&6
15170 fi
15171
15172 RANLIB=$ac_ct_RANLIB
15173 else
15174 RANLIB="$ac_cv_prog_RANLIB"
15175 fi
15176
15177
15178 if test -n "$ac_tool_prefix"; then
15179 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15180 set dummy ${ac_tool_prefix}ar; ac_word=$2
15181 echo "$as_me:$LINENO: checking for $ac_word" >&5
15182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15183 if test "${ac_cv_prog_AR+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 if test -n "$AR"; then
15187 ac_cv_prog_AR="$AR" # Let the user override the test.
15188 else
15189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15190 for as_dir in $PATH
15191 do
15192 IFS=$as_save_IFS
15193 test -z "$as_dir" && as_dir=.
15194 for ac_exec_ext in '' $ac_executable_extensions; do
15195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15196 ac_cv_prog_AR="${ac_tool_prefix}ar"
15197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15198 break 2
15199 fi
15200 done
15201 done
15202
15203 fi
15204 fi
15205 AR=$ac_cv_prog_AR
15206 if test -n "$AR"; then
15207 echo "$as_me:$LINENO: result: $AR" >&5
15208 echo "${ECHO_T}$AR" >&6
15209 else
15210 echo "$as_me:$LINENO: result: no" >&5
15211 echo "${ECHO_T}no" >&6
15212 fi
15213
15214 fi
15215 if test -z "$ac_cv_prog_AR"; then
15216 ac_ct_AR=$AR
15217 # Extract the first word of "ar", so it can be a program name with args.
15218 set dummy ar; ac_word=$2
15219 echo "$as_me:$LINENO: checking for $ac_word" >&5
15220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15221 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 if test -n "$ac_ct_AR"; then
15225 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15226 else
15227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15228 for as_dir in $PATH
15229 do
15230 IFS=$as_save_IFS
15231 test -z "$as_dir" && as_dir=.
15232 for ac_exec_ext in '' $ac_executable_extensions; do
15233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15234 ac_cv_prog_ac_ct_AR="ar"
15235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15236 break 2
15237 fi
15238 done
15239 done
15240
15241 fi
15242 fi
15243 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15244 if test -n "$ac_ct_AR"; then
15245 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15246 echo "${ECHO_T}$ac_ct_AR" >&6
15247 else
15248 echo "$as_me:$LINENO: result: no" >&5
15249 echo "${ECHO_T}no" >&6
15250 fi
15251
15252 AR=$ac_ct_AR
15253 else
15254 AR="$ac_cv_prog_AR"
15255 fi
15256
15257 if test "x$AR" = "x" ; then
15258 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15259 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15260 { (exit 1); exit 1; }; }
15261 fi
15262
15263 # Find a good install program. We prefer a C program (faster),
15264 # so one script is as good as another. But avoid the broken or
15265 # incompatible versions:
15266 # SysV /etc/install, /usr/sbin/install
15267 # SunOS /usr/etc/install
15268 # IRIX /sbin/install
15269 # AIX /bin/install
15270 # AmigaOS /C/install, which installs bootblocks on floppy discs
15271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15274 # OS/2's system install, which has a completely different semantic
15275 # ./install, which can be erroneously created by make from ./install.sh.
15276 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15277 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15278 if test -z "$INSTALL"; then
15279 if test "${ac_cv_path_install+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 else
15282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15283 for as_dir in $PATH
15284 do
15285 IFS=$as_save_IFS
15286 test -z "$as_dir" && as_dir=.
15287 # Account for people who put trailing slashes in PATH elements.
15288 case $as_dir/ in
15289 ./ | .// | /cC/* | \
15290 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15291 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15292 /usr/ucb/* ) ;;
15293 *)
15294 # OSF1 and SCO ODT 3.0 have their own names for install.
15295 # Don't use installbsd from OSF since it installs stuff as root
15296 # by default.
15297 for ac_prog in ginstall scoinst install; do
15298 for ac_exec_ext in '' $ac_executable_extensions; do
15299 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15300 if test $ac_prog = install &&
15301 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15302 # AIX install. It has an incompatible calling convention.
15303 :
15304 elif test $ac_prog = install &&
15305 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15306 # program-specific install script used by HP pwplus--don't use.
15307 :
15308 else
15309 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15310 break 3
15311 fi
15312 fi
15313 done
15314 done
15315 ;;
15316 esac
15317 done
15318
15319
15320 fi
15321 if test "${ac_cv_path_install+set}" = set; then
15322 INSTALL=$ac_cv_path_install
15323 else
15324 # As a last resort, use the slow shell script. We don't cache a
15325 # path for INSTALL within a source directory, because that will
15326 # break other packages using the cache if that directory is
15327 # removed, or if the path is relative.
15328 INSTALL=$ac_install_sh
15329 fi
15330 fi
15331 echo "$as_me:$LINENO: result: $INSTALL" >&5
15332 echo "${ECHO_T}$INSTALL" >&6
15333
15334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15335 # It thinks the first close brace ends the variable substitution.
15336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15337
15338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15339
15340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15341
15342
15343 case ${INSTALL} in
15344 /* ) # Absolute
15345 ;;
15346 ?:* ) # Drive letter, considered as absolute.
15347 ;;
15348 *)
15349 INSTALL=`pwd`/${INSTALL} ;;
15350 esac
15351
15352
15353 case "${host}" in
15354
15355 *-*-darwin* )
15356 INSTALL_PROGRAM="cp -fp"
15357 INSTALL_DATA="cp -fp"
15358 ;;
15359 *)
15360 ;;
15361 esac
15362
15363 if test -n "$ac_tool_prefix"; then
15364 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15365 set dummy ${ac_tool_prefix}strip; ac_word=$2
15366 echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15368 if test "${ac_cv_prog_STRIP+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 if test -n "$STRIP"; then
15372 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15373 else
15374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15375 for as_dir in $PATH
15376 do
15377 IFS=$as_save_IFS
15378 test -z "$as_dir" && as_dir=.
15379 for ac_exec_ext in '' $ac_executable_extensions; do
15380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15381 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15383 break 2
15384 fi
15385 done
15386 done
15387
15388 fi
15389 fi
15390 STRIP=$ac_cv_prog_STRIP
15391 if test -n "$STRIP"; then
15392 echo "$as_me:$LINENO: result: $STRIP" >&5
15393 echo "${ECHO_T}$STRIP" >&6
15394 else
15395 echo "$as_me:$LINENO: result: no" >&5
15396 echo "${ECHO_T}no" >&6
15397 fi
15398
15399 fi
15400 if test -z "$ac_cv_prog_STRIP"; then
15401 ac_ct_STRIP=$STRIP
15402 # Extract the first word of "strip", so it can be a program name with args.
15403 set dummy strip; ac_word=$2
15404 echo "$as_me:$LINENO: checking for $ac_word" >&5
15405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15406 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 else
15409 if test -n "$ac_ct_STRIP"; then
15410 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15411 else
15412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15413 for as_dir in $PATH
15414 do
15415 IFS=$as_save_IFS
15416 test -z "$as_dir" && as_dir=.
15417 for ac_exec_ext in '' $ac_executable_extensions; do
15418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15419 ac_cv_prog_ac_ct_STRIP="strip"
15420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15421 break 2
15422 fi
15423 done
15424 done
15425
15426 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15427 fi
15428 fi
15429 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15430 if test -n "$ac_ct_STRIP"; then
15431 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15432 echo "${ECHO_T}$ac_ct_STRIP" >&6
15433 else
15434 echo "$as_me:$LINENO: result: no" >&5
15435 echo "${ECHO_T}no" >&6
15436 fi
15437
15438 STRIP=$ac_ct_STRIP
15439 else
15440 STRIP="$ac_cv_prog_STRIP"
15441 fi
15442
15443
15444 if test "$wxUSE_WINE" = "yes"; then
15445 if test -n "$ac_tool_prefix"; then
15446 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15447 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15448 echo "$as_me:$LINENO: checking for $ac_word" >&5
15449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15450 if test "${ac_cv_prog_WINDRES+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 else
15453 if test -n "$WINDRES"; then
15454 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15455 else
15456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15457 for as_dir in $PATH
15458 do
15459 IFS=$as_save_IFS
15460 test -z "$as_dir" && as_dir=.
15461 for ac_exec_ext in '' $ac_executable_extensions; do
15462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15463 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15465 break 2
15466 fi
15467 done
15468 done
15469
15470 fi
15471 fi
15472 WINDRES=$ac_cv_prog_WINDRES
15473 if test -n "$WINDRES"; then
15474 echo "$as_me:$LINENO: result: $WINDRES" >&5
15475 echo "${ECHO_T}$WINDRES" >&6
15476 else
15477 echo "$as_me:$LINENO: result: no" >&5
15478 echo "${ECHO_T}no" >&6
15479 fi
15480
15481 fi
15482 if test -z "$ac_cv_prog_WINDRES"; then
15483 ac_ct_WINDRES=$WINDRES
15484 # Extract the first word of "wrc", so it can be a program name with args.
15485 set dummy wrc; ac_word=$2
15486 echo "$as_me:$LINENO: checking for $ac_word" >&5
15487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15488 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 else
15491 if test -n "$ac_ct_WINDRES"; then
15492 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15493 else
15494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15495 for as_dir in $PATH
15496 do
15497 IFS=$as_save_IFS
15498 test -z "$as_dir" && as_dir=.
15499 for ac_exec_ext in '' $ac_executable_extensions; do
15500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15501 ac_cv_prog_ac_ct_WINDRES="wrc"
15502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15503 break 2
15504 fi
15505 done
15506 done
15507
15508 fi
15509 fi
15510 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15511 if test -n "$ac_ct_WINDRES"; then
15512 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15513 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15514 else
15515 echo "$as_me:$LINENO: result: no" >&5
15516 echo "${ECHO_T}no" >&6
15517 fi
15518
15519 WINDRES=$ac_ct_WINDRES
15520 else
15521 WINDRES="$ac_cv_prog_WINDRES"
15522 fi
15523
15524 RESCOMP="$WINDRES"
15525 else
15526 case "${host}" in
15527 *-*-cygwin* | *-*-mingw32* )
15528 if test -n "$ac_tool_prefix"; then
15529 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15530 set dummy ${ac_tool_prefix}windres; ac_word=$2
15531 echo "$as_me:$LINENO: checking for $ac_word" >&5
15532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15533 if test "${ac_cv_prog_WINDRES+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536 if test -n "$WINDRES"; then
15537 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15538 else
15539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15540 for as_dir in $PATH
15541 do
15542 IFS=$as_save_IFS
15543 test -z "$as_dir" && as_dir=.
15544 for ac_exec_ext in '' $ac_executable_extensions; do
15545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15546 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15548 break 2
15549 fi
15550 done
15551 done
15552
15553 fi
15554 fi
15555 WINDRES=$ac_cv_prog_WINDRES
15556 if test -n "$WINDRES"; then
15557 echo "$as_me:$LINENO: result: $WINDRES" >&5
15558 echo "${ECHO_T}$WINDRES" >&6
15559 else
15560 echo "$as_me:$LINENO: result: no" >&5
15561 echo "${ECHO_T}no" >&6
15562 fi
15563
15564 fi
15565 if test -z "$ac_cv_prog_WINDRES"; then
15566 ac_ct_WINDRES=$WINDRES
15567 # Extract the first word of "windres", so it can be a program name with args.
15568 set dummy windres; ac_word=$2
15569 echo "$as_me:$LINENO: checking for $ac_word" >&5
15570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15571 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 if test -n "$ac_ct_WINDRES"; then
15575 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15576 else
15577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15578 for as_dir in $PATH
15579 do
15580 IFS=$as_save_IFS
15581 test -z "$as_dir" && as_dir=.
15582 for ac_exec_ext in '' $ac_executable_extensions; do
15583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15584 ac_cv_prog_ac_ct_WINDRES="windres"
15585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15586 break 2
15587 fi
15588 done
15589 done
15590
15591 fi
15592 fi
15593 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15594 if test -n "$ac_ct_WINDRES"; then
15595 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15596 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15597 else
15598 echo "$as_me:$LINENO: result: no" >&5
15599 echo "${ECHO_T}no" >&6
15600 fi
15601
15602 WINDRES=$ac_ct_WINDRES
15603 else
15604 WINDRES="$ac_cv_prog_WINDRES"
15605 fi
15606
15607 RESCOMP="$WINDRES"
15608 if test -n "$ac_tool_prefix"; then
15609 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15610 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15611 echo "$as_me:$LINENO: checking for $ac_word" >&5
15612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15613 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 else
15616 if test -n "$DLLTOOL"; then
15617 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15618 else
15619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15620 for as_dir in $PATH
15621 do
15622 IFS=$as_save_IFS
15623 test -z "$as_dir" && as_dir=.
15624 for ac_exec_ext in '' $ac_executable_extensions; do
15625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15626 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15628 break 2
15629 fi
15630 done
15631 done
15632
15633 fi
15634 fi
15635 DLLTOOL=$ac_cv_prog_DLLTOOL
15636 if test -n "$DLLTOOL"; then
15637 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15638 echo "${ECHO_T}$DLLTOOL" >&6
15639 else
15640 echo "$as_me:$LINENO: result: no" >&5
15641 echo "${ECHO_T}no" >&6
15642 fi
15643
15644 fi
15645 if test -z "$ac_cv_prog_DLLTOOL"; then
15646 ac_ct_DLLTOOL=$DLLTOOL
15647 # Extract the first word of "dlltool", so it can be a program name with args.
15648 set dummy dlltool; ac_word=$2
15649 echo "$as_me:$LINENO: checking for $ac_word" >&5
15650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15651 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15652 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 else
15654 if test -n "$ac_ct_DLLTOOL"; then
15655 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15656 else
15657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15658 for as_dir in $PATH
15659 do
15660 IFS=$as_save_IFS
15661 test -z "$as_dir" && as_dir=.
15662 for ac_exec_ext in '' $ac_executable_extensions; do
15663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15664 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15666 break 2
15667 fi
15668 done
15669 done
15670
15671 fi
15672 fi
15673 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15674 if test -n "$ac_ct_DLLTOOL"; then
15675 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15676 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15677 else
15678 echo "$as_me:$LINENO: result: no" >&5
15679 echo "${ECHO_T}no" >&6
15680 fi
15681
15682 DLLTOOL=$ac_ct_DLLTOOL
15683 else
15684 DLLTOOL="$ac_cv_prog_DLLTOOL"
15685 fi
15686
15687 ;;
15688 esac
15689 fi
15690
15691 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15692 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15693 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696
15697 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15698 $EGREP -s GNU > /dev/null); then
15699 wx_cv_prog_makeisgnu="yes"
15700 else
15701 wx_cv_prog_makeisgnu="no"
15702 fi
15703
15704 fi
15705 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15706 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15707
15708 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15709 IF_GNU_MAKE=""
15710 else
15711 IF_GNU_MAKE="#"
15712 fi
15713
15714
15715
15716 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15717 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15718 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15719 if test "${wx_cv_prog_makevpath+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 else
15722
15723 cat - << EOF > confMake
15724 check : file
15725 cp \$? \$@
15726 cp \$? final_file
15727 EOF
15728
15729 if test ! -d sub ; then
15730 mkdir sub
15731 fi
15732 echo dummy > sub/file
15733 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15734 RESULT=$?
15735 rm -f sub/file check final_file confMake
15736 rmdir sub
15737 if test "$RESULT" = 0; then
15738 wx_cv_prog_makevpath="yes"
15739 else
15740 wx_cv_prog_makevpath="no"
15741 fi
15742
15743 fi
15744 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15745 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15746
15747 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15748 { { echo "$as_me:$LINENO: error:
15749 You need a make-utility that is able to use the variable
15750 VPATH correctly.
15751 If your version of make does not support VPATH correctly,
15752 please install GNU-make (possibly as gmake), and start
15753 configure with the following command:
15754 export MAKE=gmake; ./configure for sh-type shells
15755 setenv MAKE gmake; ./configure for csh-type shells
15756 Also please do remember to use gmake in this case every time
15757 you are trying to compile.
15758 " >&5
15759 echo "$as_me: error:
15760 You need a make-utility that is able to use the variable
15761 VPATH correctly.
15762 If your version of make does not support VPATH correctly,
15763 please install GNU-make (possibly as gmake), and start
15764 configure with the following command:
15765 export MAKE=gmake; ./configure for sh-type shells
15766 setenv MAKE gmake; ./configure for csh-type shells
15767 Also please do remember to use gmake in this case every time
15768 you are trying to compile.
15769 " >&2;}
15770 { (exit 1); exit 1; }; }
15771 fi fi
15772 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15773 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15774 LN_S=$as_ln_s
15775 if test "$LN_S" = "ln -s"; then
15776 echo "$as_me:$LINENO: result: yes" >&5
15777 echo "${ECHO_T}yes" >&6
15778 else
15779 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15780 echo "${ECHO_T}no, using $LN_S" >&6
15781 fi
15782
15783
15784
15785
15786 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15787 CXXFLAGS="-qunique $CXXFLAGS"
15788 fi
15789
15790 case "${host}" in
15791 powerpc-*-darwin* )
15792 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15793 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800
15801 int
15802 main ()
15803 {
15804 #ifndef __POWERPC__
15805 choke me for lack of PowerPC
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try='test -s conftest.$ac_objext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 echo "$as_me:$LINENO: result: yes" >&5
15834 echo "${ECHO_T}yes" >&6
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15838
15839 echo "$as_me:$LINENO: result: no" >&5
15840 echo "${ECHO_T}no" >&6
15841 cat >>confdefs.h <<\_ACEOF
15842 #define __POWERPC__ 1
15843 _ACEOF
15844
15845
15846 fi
15847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15848 ;;
15849 esac
15850
15851 case "${host}" in
15852 *-*-darwin* )
15853 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15854 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15855 cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h. */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861 #include <CoreFoundation/CFBase.h>
15862
15863 int
15864 main ()
15865 {
15866
15867 ;
15868 return 0;
15869 }
15870 _ACEOF
15871 rm -f conftest.$ac_objext
15872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15873 (eval $ac_compile) 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } &&
15880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; } &&
15886 { ac_try='test -s conftest.$ac_objext'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; }; then
15892 echo "$as_me:$LINENO: result: yes" >&5
15893 echo "${ECHO_T}yes" >&6
15894 else
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.$ac_ext >&5
15897
15898 echo "$as_me:$LINENO: result: no" >&5
15899 echo "${ECHO_T}no" >&6
15900 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15901 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15902 cat >conftest.$ac_ext <<_ACEOF
15903 /* confdefs.h. */
15904 _ACEOF
15905 cat confdefs.h >>conftest.$ac_ext
15906 cat >>conftest.$ac_ext <<_ACEOF
15907 /* end confdefs.h. */
15908 #define __CF_USE_FRAMEWORK_INCLUDES__
15909 #include <CoreFoundation/CFBase.h>
15910
15911 int
15912 main ()
15913 {
15914
15915 ;
15916 return 0;
15917 }
15918 _ACEOF
15919 rm -f conftest.$ac_objext
15920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15921 (eval $ac_compile) 2>conftest.er1
15922 ac_status=$?
15923 grep -v '^ *+' conftest.er1 >conftest.err
15924 rm -f conftest.er1
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } &&
15928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15931 ac_status=$?
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; } &&
15934 { ac_try='test -s conftest.$ac_objext'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; }; then
15940 echo "$as_me:$LINENO: result: yes" >&5
15941 echo "${ECHO_T}yes" >&6
15942 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15943 else
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.$ac_ext >&5
15946
15947 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15948 See \`config.log' for more details." >&5
15949 echo "$as_me: error: no. CoreFoundation not available.
15950 See \`config.log' for more details." >&2;}
15951 { (exit 1); exit 1; }; }
15952
15953 fi
15954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15955
15956
15957 fi
15958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15959 ;;
15960 esac
15961
15962 wants_win32=0
15963 doesnt_want_win32=0
15964 case "${host}" in
15965 *-*-cygwin*)
15966 if test "$wxUSE_MSW" = 1 ; then
15967 wants_win32=1
15968 else
15969 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15970 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15971 if test "${wx_cv_nocygwin+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974
15975 cat >conftest.$ac_ext <<_ACEOF
15976 /* confdefs.h. */
15977 _ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981
15982 int
15983 main ()
15984 {
15985
15986 #ifdef __MINGW32__
15987 choke me
15988 #endif
15989
15990 ;
15991 return 0;
15992 }
15993 _ACEOF
15994 rm -f conftest.$ac_objext
15995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15996 (eval $ac_compile) 2>conftest.er1
15997 ac_status=$?
15998 grep -v '^ *+' conftest.er1 >conftest.err
15999 rm -f conftest.er1
16000 cat conftest.err >&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } &&
16003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16005 (eval $ac_try) 2>&5
16006 ac_status=$?
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); }; } &&
16009 { ac_try='test -s conftest.$ac_objext'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; }; then
16015 wx_cv_nocygwin=no
16016 else
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.$ac_ext >&5
16019
16020 wx_cv_nocygwin=yes
16021
16022 fi
16023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16024
16025
16026 fi
16027 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16028 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16029
16030 if test "$wx_cv_nocygwin" = "yes"; then
16031 wants_win32=1
16032 else
16033 doesnt_want_win32=1
16034 fi
16035 fi
16036 if test "$wants_win32" = 1 ; then
16037 BAKEFILE_FORCE_PLATFORM=win32
16038 fi
16039 ;;
16040 *-*-mingw*)
16041 wants_win32=1
16042 ;;
16043 esac
16044
16045 if test "$wxUSE_WINE" = "yes"; then
16046 wants_win32=1
16047 LDFLAGS_GUI="-mwindows"
16048 fi
16049
16050 if test "$wants_win32" = 1 ; then
16051 USE_UNIX=0
16052 USE_WIN32=1
16053 cat >>confdefs.h <<\_ACEOF
16054 #define __WIN32__ 1
16055 _ACEOF
16056
16057 cat >>confdefs.h <<\_ACEOF
16058 #define __WIN95__ 1
16059 _ACEOF
16060
16061 cat >>confdefs.h <<\_ACEOF
16062 #define __WINDOWS__ 1
16063 _ACEOF
16064
16065 cat >>confdefs.h <<\_ACEOF
16066 #define __GNUWIN32__ 1
16067 _ACEOF
16068
16069 cat >>confdefs.h <<\_ACEOF
16070 #define STRICT 1
16071 _ACEOF
16072
16073 fi
16074 if test "$doesnt_want_win32" = 1 ; then
16075 USE_UNIX=1
16076 USE_WIN32=0
16077 fi
16078
16079 if test "$USE_UNIX" = 1 ; then
16080 wxUSE_UNIX=yes
16081 cat >>confdefs.h <<\_ACEOF
16082 #define __UNIX__ 1
16083 _ACEOF
16084
16085 fi
16086
16087 case "${host}" in
16088 *-pc-os2_emx | *-pc-os2-emx )
16089 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16090 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16091 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16092 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 ac_check_lib_save_LIBS=$LIBS
16096 LIBS="-lcExt $LIBS"
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103
16104 /* Override any gcc2 internal prototype to avoid an error. */
16105 #ifdef __cplusplus
16106 extern "C"
16107 #endif
16108 /* We use char because int might match the return type of a gcc2
16109 builtin and then its argument prototype would still apply. */
16110 char drand48 ();
16111 int
16112 main ()
16113 {
16114 drand48 ();
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest.$ac_objext conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>conftest.er1
16122 ac_status=$?
16123 grep -v '^ *+' conftest.er1 >conftest.err
16124 rm -f conftest.er1
16125 cat conftest.err >&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try='test -s conftest$ac_exeext'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; }; then
16140 ac_cv_lib_cExt_drand48=yes
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 ac_cv_lib_cExt_drand48=no
16146 fi
16147 rm -f conftest.err conftest.$ac_objext \
16148 conftest$ac_exeext conftest.$ac_ext
16149 LIBS=$ac_check_lib_save_LIBS
16150 fi
16151 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16152 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16153 if test $ac_cv_lib_cExt_drand48 = yes; then
16154 LIBS="$LIBS -lcExt"
16155 fi
16156
16157 else
16158 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16159 fi
16160 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16161 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16162 if test "${wx_cv_gccversion+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165
16166 if test "$cross_compiling" = yes; then
16167 wx_cv_gccversion="EMX2"
16168
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176
16177 #include <stdio.h>
16178
16179 int main()
16180 {
16181 FILE *f=fopen("conftestval", "w");
16182 if (!f) exit(1);
16183 fprintf(f,
16184 #if (__GNUC__ < 3)
16185 "EMX2"
16186 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16187 "EMX3"
16188 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16189 "Innotek5"
16190 #else
16191 "Innotek6"
16192 #endif
16193 );
16194 exit(0);
16195 }
16196
16197 _ACEOF
16198 rm -f conftest$ac_exeext
16199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16200 (eval $ac_link) 2>&5
16201 ac_status=$?
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16209 wx_cv_gccversion=`cat conftestval`
16210 else
16211 echo "$as_me: program exited with status $ac_status" >&5
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.$ac_ext >&5
16214
16215 ( exit $ac_status )
16216 wx_cv_gccversion="EMX2"
16217 fi
16218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16219 fi
16220
16221 fi
16222 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16223 echo "${ECHO_T}$wx_cv_gccversion" >&6
16224 if test "$wx_cv_gccversion" = "EMX2"; then
16225 LIBS="$LIBS -lstdcpp"
16226 LDFLAGS="$LDFLAGS -Zsysv-signals"
16227 else
16228 if test "$wx_cv_gccversion" = "EMX3"; then
16229 LIBS="$LIBS -lstdcxx -lgcc"
16230 LDFLAGS="$LDFLAGS -Zsysv-signals"
16231 else
16232 LIBS="$LIBS -lstdc++"
16233 fi
16234 fi
16235 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16236 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16237 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16238 wxUSE_OMF=yes
16239 enable_omf=yes
16240 fi
16241 ;;
16242 *)
16243
16244 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16245 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16246 if test "${ac_cv_string_strcasecmp+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249
16250 cat >conftest.$ac_ext <<_ACEOF
16251 /* confdefs.h. */
16252 _ACEOF
16253 cat confdefs.h >>conftest.$ac_ext
16254 cat >>conftest.$ac_ext <<_ACEOF
16255 /* end confdefs.h. */
16256
16257 #include <string.h>
16258
16259 int
16260 main ()
16261 {
16262
16263 strcasecmp("foo", "bar");
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext conftest$ac_exeext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16271 (eval $ac_link) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } &&
16278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; } &&
16284 { ac_try='test -s conftest$ac_exeext'
16285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16286 (eval $ac_try) 2>&5
16287 ac_status=$?
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); }; }; then
16290 ac_cv_string_strcasecmp=yes
16291 else
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16294
16295 ac_cv_string_strcasecmp=no
16296
16297 fi
16298 rm -f conftest.err conftest.$ac_objext \
16299 conftest$ac_exeext conftest.$ac_ext
16300
16301 fi
16302 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16303 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16304
16305 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16306 cat >>confdefs.h <<\_ACEOF
16307 #define HAVE_STRCASECMP_IN_STRING_H 1
16308 _ACEOF
16309
16310 else
16311 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16312 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16313 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16314 echo $ECHO_N "(cached) $ECHO_C" >&6
16315 else
16316
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323
16324 #include <strings.h>
16325
16326 int
16327 main ()
16328 {
16329
16330 strcasecmp("foo", "bar");
16331
16332 ;
16333 return 0;
16334 }
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try='test -s conftest$ac_exeext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16357 ac_cv_strings_strcasecmp=yes
16358 else
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ac_cv_strings_strcasecmp=no
16363
16364 fi
16365 rm -f conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16367
16368 fi
16369 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16370 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16371
16372 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16373 cat >>confdefs.h <<\_ACEOF
16374 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16375 _ACEOF
16376
16377 else
16378 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16379 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16380 { (exit 1); exit 1; }; }
16381 fi
16382 fi
16383
16384 ;;
16385 esac
16386
16387
16388 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16389 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16390 if test "${ac_cv_header_stdc+set}" = set; then
16391 echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 #include <stdlib.h>
16400 #include <stdarg.h>
16401 #include <string.h>
16402 #include <float.h>
16403
16404 int
16405 main ()
16406 {
16407
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 rm -f conftest.$ac_objext
16413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16414 (eval $ac_compile) 2>conftest.er1
16415 ac_status=$?
16416 grep -v '^ *+' conftest.er1 >conftest.err
16417 rm -f conftest.er1
16418 cat conftest.err >&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try='test -s conftest.$ac_objext'
16428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16429 (eval $ac_try) 2>&5
16430 ac_status=$?
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); }; }; then
16433 ac_cv_header_stdc=yes
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 ac_cv_header_stdc=no
16439 fi
16440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16441
16442 if test $ac_cv_header_stdc = yes; then
16443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <string.h>
16451
16452 _ACEOF
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 $EGREP "memchr" >/dev/null 2>&1; then
16455 :
16456 else
16457 ac_cv_header_stdc=no
16458 fi
16459 rm -f conftest*
16460
16461 fi
16462
16463 if test $ac_cv_header_stdc = yes; then
16464 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 #include <stdlib.h>
16472
16473 _ACEOF
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "free" >/dev/null 2>&1; then
16476 :
16477 else
16478 ac_cv_header_stdc=no
16479 fi
16480 rm -f conftest*
16481
16482 fi
16483
16484 if test $ac_cv_header_stdc = yes; then
16485 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16486 if test "$cross_compiling" = yes; then
16487 :
16488 else
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <ctype.h>
16496 #if ((' ' & 0x0FF) == 0x020)
16497 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16498 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16499 #else
16500 # define ISLOWER(c) \
16501 (('a' <= (c) && (c) <= 'i') \
16502 || ('j' <= (c) && (c) <= 'r') \
16503 || ('s' <= (c) && (c) <= 'z'))
16504 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16505 #endif
16506
16507 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16508 int
16509 main ()
16510 {
16511 int i;
16512 for (i = 0; i < 256; i++)
16513 if (XOR (islower (i), ISLOWER (i))
16514 || toupper (i) != TOUPPER (i))
16515 exit(2);
16516 exit (0);
16517 }
16518 _ACEOF
16519 rm -f conftest$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16526 (eval $ac_try) 2>&5
16527 ac_status=$?
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); }; }; then
16530 :
16531 else
16532 echo "$as_me: program exited with status $ac_status" >&5
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16535
16536 ( exit $ac_status )
16537 ac_cv_header_stdc=no
16538 fi
16539 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540 fi
16541 fi
16542 fi
16543 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16544 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16545 if test $ac_cv_header_stdc = yes; then
16546
16547 cat >>confdefs.h <<\_ACEOF
16548 #define STDC_HEADERS 1
16549 _ACEOF
16550
16551 fi
16552
16553 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16564 inttypes.h stdint.h unistd.h
16565 do
16566 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 $ac_includes_default
16579
16580 #include <$ac_header>
16581 _ACEOF
16582 rm -f conftest.$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16585 ac_status=$?
16586 grep -v '^ *+' conftest.er1 >conftest.err
16587 rm -f conftest.er1
16588 cat conftest.err >&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16594 ac_status=$?
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16600 ac_status=$?
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16604 else
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 eval "$as_ac_Header=no"
16609 fi
16610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16611 fi
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h <<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16617 _ACEOF
16618
16619 fi
16620
16621 done
16622
16623
16624
16625
16626
16627
16628
16629
16630 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16631 do
16632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 fi
16639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 else
16642 # Is the header compilable?
16643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 $ac_includes_default
16652 #include <$ac_header>
16653 _ACEOF
16654 rm -f conftest.$ac_objext
16655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16656 (eval $ac_compile) 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; } &&
16669 { ac_try='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 ac_header_compiler=yes
16676 else
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 ac_header_compiler=no
16681 fi
16682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16684 echo "${ECHO_T}$ac_header_compiler" >&6
16685
16686 # Is the header present?
16687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #include <$ac_header>
16696 _ACEOF
16697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } >/dev/null; then
16705 if test -s conftest.err; then
16706 ac_cpp_err=$ac_c_preproc_warn_flag
16707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16708 else
16709 ac_cpp_err=
16710 fi
16711 else
16712 ac_cpp_err=yes
16713 fi
16714 if test -z "$ac_cpp_err"; then
16715 ac_header_preproc=yes
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 ac_header_preproc=no
16721 fi
16722 rm -f conftest.err conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16724 echo "${ECHO_T}$ac_header_preproc" >&6
16725
16726 # So? What about this header?
16727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16728 yes:no: )
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16733 ac_header_preproc=yes
16734 ;;
16735 no:yes:* )
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16748 (
16749 cat <<\_ASBOX
16750 ## ----------------------------------------- ##
16751 ## Report this to wx-dev@lists.wxwidgets.org ##
16752 ## ----------------------------------------- ##
16753 _ASBOX
16754 ) |
16755 sed "s/^/$as_me: WARNING: /" >&2
16756 ;;
16757 esac
16758 echo "$as_me:$LINENO: checking for $ac_header" >&5
16759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 else
16763 eval "$as_ac_Header=\$ac_header_preproc"
16764 fi
16765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16767
16768 fi
16769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16770 cat >>confdefs.h <<_ACEOF
16771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16772 _ACEOF
16773
16774 fi
16775
16776 done
16777
16778
16779 if test "$ac_cv_header_wchar_h" != "yes"; then
16780
16781 for ac_header in wcstr.h
16782 do
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 fi
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 else
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816 (eval $ac_try) 2>&5
16817 ac_status=$?
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); }; } &&
16820 { ac_try='test -s conftest.$ac_objext'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16823 ac_status=$?
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; }; then
16826 ac_header_compiler=yes
16827 else
16828 echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16830
16831 ac_header_compiler=no
16832 fi
16833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16835 echo "${ECHO_T}$ac_header_compiler" >&6
16836
16837 # Is the header present?
16838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 #include <$ac_header>
16847 _ACEOF
16848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16850 ac_status=$?
16851 grep -v '^ *+' conftest.er1 >conftest.err
16852 rm -f conftest.er1
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } >/dev/null; then
16856 if test -s conftest.err; then
16857 ac_cpp_err=$ac_c_preproc_warn_flag
16858 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16859 else
16860 ac_cpp_err=
16861 fi
16862 else
16863 ac_cpp_err=yes
16864 fi
16865 if test -z "$ac_cpp_err"; then
16866 ac_header_preproc=yes
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871 ac_header_preproc=no
16872 fi
16873 rm -f conftest.err conftest.$ac_ext
16874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16875 echo "${ECHO_T}$ac_header_preproc" >&6
16876
16877 # So? What about this header?
16878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16879 yes:no: )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16884 ac_header_preproc=yes
16885 ;;
16886 no:yes:* )
16887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16899 (
16900 cat <<\_ASBOX
16901 ## ----------------------------------------- ##
16902 ## Report this to wx-dev@lists.wxwidgets.org ##
16903 ## ----------------------------------------- ##
16904 _ASBOX
16905 ) |
16906 sed "s/^/$as_me: WARNING: /" >&2
16907 ;;
16908 esac
16909 echo "$as_me:$LINENO: checking for $ac_header" >&5
16910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 else
16914 eval "$as_ac_Header=\$ac_header_preproc"
16915 fi
16916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16918
16919 fi
16920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16921 cat >>confdefs.h <<_ACEOF
16922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16923 _ACEOF
16924
16925 fi
16926
16927 done
16928
16929 fi
16930
16931 case "${host}" in
16932 *-pc-os2_emx | *-pc-os2-emx )
16933 if test $ac_cv_header_langinfo_h = "yes" \
16934 -a \( "$wx_cv_gccversion" = "EMX2" \
16935 -o "$wx_cv_gccversion" = "EMX3" \
16936 -o "$wx_cv_gccversion" = "Innotek5" \); then
16937 LIBS="$LIBS -lintl"
16938 fi
16939 ;;
16940 esac
16941
16942 if test "$USE_UNIX" = 1 ; then
16943
16944 for ac_header in sys/select.h
16945 do
16946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16948 echo "$as_me:$LINENO: checking for $ac_header" >&5
16949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 fi
16953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16955 else
16956 # Is the header compilable?
16957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 $ac_includes_default
16966 #include <$ac_header>
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_header_compiler=yes
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16993
16994 ac_header_compiler=no
16995 fi
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16998 echo "${ECHO_T}$ac_header_compiler" >&6
16999
17000 # Is the header present?
17001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <$ac_header>
17010 _ACEOF
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev/null; then
17019 if test -s conftest.err; then
17020 ac_cpp_err=$ac_c_preproc_warn_flag
17021 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025 else
17026 ac_cpp_err=yes
17027 fi
17028 if test -z "$ac_cpp_err"; then
17029 ac_header_preproc=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 ac_header_preproc=no
17035 fi
17036 rm -f conftest.err conftest.$ac_ext
17037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17038 echo "${ECHO_T}$ac_header_preproc" >&6
17039
17040 # So? What about this header?
17041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17042 yes:no: )
17043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17047 ac_header_preproc=yes
17048 ;;
17049 no:yes:* )
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17062 (
17063 cat <<\_ASBOX
17064 ## ----------------------------------------- ##
17065 ## Report this to wx-dev@lists.wxwidgets.org ##
17066 ## ----------------------------------------- ##
17067 _ASBOX
17068 ) |
17069 sed "s/^/$as_me: WARNING: /" >&2
17070 ;;
17071 esac
17072 echo "$as_me:$LINENO: checking for $ac_header" >&5
17073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17075 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 else
17077 eval "$as_ac_Header=\$ac_header_preproc"
17078 fi
17079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17081
17082 fi
17083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17084 cat >>confdefs.h <<_ACEOF
17085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17086 _ACEOF
17087
17088 fi
17089
17090 done
17091
17092 fi
17093
17094
17095 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17096 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17097 if test "${ac_cv_c_const+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 cat >conftest.$ac_ext <<_ACEOF
17101 /* confdefs.h. */
17102 _ACEOF
17103 cat confdefs.h >>conftest.$ac_ext
17104 cat >>conftest.$ac_ext <<_ACEOF
17105 /* end confdefs.h. */
17106
17107 int
17108 main ()
17109 {
17110 /* FIXME: Include the comments suggested by Paul. */
17111 #ifndef __cplusplus
17112 /* Ultrix mips cc rejects this. */
17113 typedef int charset[2];
17114 const charset x;
17115 /* SunOS 4.1.1 cc rejects this. */
17116 char const *const *ccp;
17117 char **p;
17118 /* NEC SVR4.0.2 mips cc rejects this. */
17119 struct point {int x, y;};
17120 static struct point const zero = {0,0};
17121 /* AIX XL C 1.02.0.0 rejects this.
17122 It does not let you subtract one const X* pointer from another in
17123 an arm of an if-expression whose if-part is not a constant
17124 expression */
17125 const char *g = "string";
17126 ccp = &g + (g ? g-g : 0);
17127 /* HPUX 7.0 cc rejects these. */
17128 ++ccp;
17129 p = (char**) ccp;
17130 ccp = (char const *const *) p;
17131 { /* SCO 3.2v4 cc rejects this. */
17132 char *t;
17133 char const *s = 0 ? (char *) 0 : (char const *) 0;
17134
17135 *t++ = 0;
17136 }
17137 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17138 int x[] = {25, 17};
17139 const int *foo = &x[0];
17140 ++foo;
17141 }
17142 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17143 typedef const int *iptr;
17144 iptr p = 0;
17145 ++p;
17146 }
17147 { /* AIX XL C 1.02.0.0 rejects this saying
17148 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17149 struct s { int j; const int *ap[3]; };
17150 struct s *b; b->j = 5;
17151 }
17152 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17153 const int foo = 10;
17154 }
17155 #endif
17156
17157 ;
17158 return 0;
17159 }
17160 _ACEOF
17161 rm -f conftest.$ac_objext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } &&
17170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17172 (eval $ac_try) 2>&5
17173 ac_status=$?
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); }; } &&
17176 { ac_try='test -s conftest.$ac_objext'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; }; then
17182 ac_cv_c_const=yes
17183 else
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 ac_cv_c_const=no
17188 fi
17189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17190 fi
17191 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17192 echo "${ECHO_T}$ac_cv_c_const" >&6
17193 if test $ac_cv_c_const = no; then
17194
17195 cat >>confdefs.h <<\_ACEOF
17196 #define const
17197 _ACEOF
17198
17199 fi
17200
17201 echo "$as_me:$LINENO: checking for inline" >&5
17202 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17203 if test "${ac_cv_c_inline+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_cv_c_inline=no
17207 for ac_kw in inline __inline__ __inline; do
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #ifndef __cplusplus
17215 typedef int foo_t;
17216 static $ac_kw foo_t static_foo () {return 0; }
17217 $ac_kw foo_t foo () {return 0; }
17218 #endif
17219
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17233 ac_status=$?
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_c_inline=$ac_kw; break
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 fi
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 done
17250
17251 fi
17252 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17253 echo "${ECHO_T}$ac_cv_c_inline" >&6
17254
17255
17256 case $ac_cv_c_inline in
17257 inline | yes) ;;
17258 *)
17259 case $ac_cv_c_inline in
17260 no) ac_val=;;
17261 *) ac_val=$ac_cv_c_inline;;
17262 esac
17263 cat >>confdefs.h <<_ACEOF
17264 #ifndef __cplusplus
17265 #define inline $ac_val
17266 #endif
17267 _ACEOF
17268 ;;
17269 esac
17270
17271
17272 echo "$as_me:$LINENO: checking for char" >&5
17273 echo $ECHO_N "checking for char... $ECHO_C" >&6
17274 if test "${ac_cv_type_char+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17284 int
17285 main ()
17286 {
17287 if ((char *) 0)
17288 return 0;
17289 if (sizeof (char))
17290 return 0;
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17297 (eval $ac_compile) 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17306 (eval $ac_try) 2>&5
17307 ac_status=$?
17308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17309 (exit $ac_status); }; } &&
17310 { ac_try='test -s conftest.$ac_objext'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; }; then
17316 ac_cv_type_char=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_cv_type_char=no
17322 fi
17323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324 fi
17325 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17326 echo "${ECHO_T}$ac_cv_type_char" >&6
17327
17328 echo "$as_me:$LINENO: checking size of char" >&5
17329 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17330 if test "${ac_cv_sizeof_char+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 else
17333 if test "$ac_cv_type_char" = yes; then
17334 # The cast to unsigned long works around a bug in the HP C Compiler
17335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17337 # This bug is HP SR number 8606223364.
17338 if test "$cross_compiling" = yes; then
17339 # Depending upon the size, compute the lo and hi bounds.
17340 cat >conftest.$ac_ext <<_ACEOF
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 int
17348 main ()
17349 {
17350 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17351 test_array [0] = 0
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17359 (eval $ac_compile) 2>conftest.er1
17360 ac_status=$?
17361 grep -v '^ *+' conftest.er1 >conftest.err
17362 rm -f conftest.er1
17363 cat conftest.err >&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17369 ac_status=$?
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; } &&
17372 { ac_try='test -s conftest.$ac_objext'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; }; then
17378 ac_lo=0 ac_mid=0
17379 while :; do
17380 cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h. */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17386 $ac_includes_default
17387 int
17388 main ()
17389 {
17390 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17391 test_array [0] = 0
17392
17393 ;
17394 return 0;
17395 }
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17418 ac_hi=$ac_mid; break
17419 else
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.$ac_ext >&5
17422
17423 ac_lo=`expr $ac_mid + 1`
17424 if test $ac_lo -le $ac_mid; then
17425 ac_lo= ac_hi=
17426 break
17427 fi
17428 ac_mid=`expr 2 '*' $ac_mid + 1`
17429 fi
17430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17431 done
17432 else
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.$ac_ext >&5
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17443 int
17444 main ()
17445 {
17446 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17447 test_array [0] = 0
17448
17449 ;
17450 return 0;
17451 }
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_hi=-1 ac_mid=-1
17475 while :; do
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17483 int
17484 main ()
17485 {
17486 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17487 test_array [0] = 0
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17514 ac_lo=$ac_mid; break
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17518
17519 ac_hi=`expr '(' $ac_mid ')' - 1`
17520 if test $ac_mid -le $ac_hi; then
17521 ac_lo= ac_hi=
17522 break
17523 fi
17524 ac_mid=`expr 2 '*' $ac_mid`
17525 fi
17526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17527 done
17528 else
17529 echo "$as_me: failed program was:" >&5
17530 sed 's/^/| /' conftest.$ac_ext >&5
17531
17532 ac_lo= ac_hi=
17533 fi
17534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17535 fi
17536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 # Binary search between lo and hi bounds.
17538 while test "x$ac_lo" != "x$ac_hi"; do
17539 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17547 int
17548 main ()
17549 {
17550 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17551 test_array [0] = 0
17552
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17578 ac_hi=$ac_mid
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_lo=`expr '(' $ac_mid ')' + 1`
17584 fi
17585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17586 done
17587 case $ac_lo in
17588 ?*) ac_cv_sizeof_char=$ac_lo;;
17589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17590 See \`config.log' for more details." >&5
17591 echo "$as_me: error: cannot compute sizeof (char), 77
17592 See \`config.log' for more details." >&2;}
17593 { (exit 1); exit 1; }; } ;;
17594 esac
17595 else
17596 if test "$cross_compiling" = yes; then
17597 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17598 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17599 { (exit 1); exit 1; }; }
17600 else
17601 cat >conftest.$ac_ext <<_ACEOF
17602 /* confdefs.h. */
17603 _ACEOF
17604 cat confdefs.h >>conftest.$ac_ext
17605 cat >>conftest.$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 long longval () { return (long) (sizeof (char)); }
17609 unsigned long ulongval () { return (long) (sizeof (char)); }
17610 #include <stdio.h>
17611 #include <stdlib.h>
17612 int
17613 main ()
17614 {
17615
17616 FILE *f = fopen ("conftest.val", "w");
17617 if (! f)
17618 exit (1);
17619 if (((long) (sizeof (char))) < 0)
17620 {
17621 long i = longval ();
17622 if (i != ((long) (sizeof (char))))
17623 exit (1);
17624 fprintf (f, "%ld\n", i);
17625 }
17626 else
17627 {
17628 unsigned long i = ulongval ();
17629 if (i != ((long) (sizeof (char))))
17630 exit (1);
17631 fprintf (f, "%lu\n", i);
17632 }
17633 exit (ferror (f) || fclose (f) != 0);
17634
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 rm -f conftest$ac_exeext
17640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17641 (eval $ac_link) 2>&5
17642 ac_status=$?
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_sizeof_char=`cat conftest.val`
17651 else
17652 echo "$as_me: program exited with status $ac_status" >&5
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17655
17656 ( exit $ac_status )
17657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17658 See \`config.log' for more details." >&5
17659 echo "$as_me: error: cannot compute sizeof (char), 77
17660 See \`config.log' for more details." >&2;}
17661 { (exit 1); exit 1; }; }
17662 fi
17663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17664 fi
17665 fi
17666 rm -f conftest.val
17667 else
17668 ac_cv_sizeof_char=0
17669 fi
17670 fi
17671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17673 cat >>confdefs.h <<_ACEOF
17674 #define SIZEOF_CHAR $ac_cv_sizeof_char
17675 _ACEOF
17676
17677
17678 echo "$as_me:$LINENO: checking for short" >&5
17679 echo $ECHO_N "checking for short... $ECHO_C" >&6
17680 if test "${ac_cv_type_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17682 else
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 if ((short *) 0)
17694 return 0;
17695 if (sizeof (short))
17696 return 0;
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17703 (eval $ac_compile) 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_cv_type_short=yes
17723 else
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ac_cv_type_short=no
17728 fi
17729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17730 fi
17731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17732 echo "${ECHO_T}$ac_cv_type_short" >&6
17733
17734 echo "$as_me:$LINENO: checking size of short" >&5
17735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17736 if test "${ac_cv_sizeof_short+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17738 else
17739 if test "$ac_cv_type_short" = yes; then
17740 # The cast to unsigned long works around a bug in the HP C Compiler
17741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17743 # This bug is HP SR number 8606223364.
17744 if test "$cross_compiling" = yes; then
17745 # Depending upon the size, compute the lo and hi bounds.
17746 cat >conftest.$ac_ext <<_ACEOF
17747 /* confdefs.h. */
17748 _ACEOF
17749 cat confdefs.h >>conftest.$ac_ext
17750 cat >>conftest.$ac_ext <<_ACEOF
17751 /* end confdefs.h. */
17752 $ac_includes_default
17753 int
17754 main ()
17755 {
17756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17757 test_array [0] = 0
17758
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 rm -f conftest.$ac_objext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17765 (eval $ac_compile) 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17775 ac_status=$?
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try='test -s conftest.$ac_objext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 ac_lo=0 ac_mid=0
17785 while :; do
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 $ac_includes_default
17793 int
17794 main ()
17795 {
17796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17797 test_array [0] = 0
17798
17799 ;
17800 return 0;
17801 }
17802 _ACEOF
17803 rm -f conftest.$ac_objext
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>conftest.er1
17806 ac_status=$?
17807 grep -v '^ *+' conftest.er1 >conftest.err
17808 rm -f conftest.er1
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } &&
17812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17824 ac_hi=$ac_mid; break
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_lo=`expr $ac_mid + 1`
17830 if test $ac_lo -le $ac_mid; then
17831 ac_lo= ac_hi=
17832 break
17833 fi
17834 ac_mid=`expr 2 '*' $ac_mid + 1`
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 done
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17841
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17853 test_array [0] = 0
17854
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_hi=-1 ac_mid=-1
17881 while :; do
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 int
17890 main ()
17891 {
17892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17893 test_array [0] = 0
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17920 ac_lo=$ac_mid; break
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17924
17925 ac_hi=`expr '(' $ac_mid ')' - 1`
17926 if test $ac_mid -le $ac_hi; then
17927 ac_lo= ac_hi=
17928 break
17929 fi
17930 ac_mid=`expr 2 '*' $ac_mid`
17931 fi
17932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17933 done
17934 else
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17937
17938 ac_lo= ac_hi=
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17943 # Binary search between lo and hi bounds.
17944 while test "x$ac_lo" != "x$ac_hi"; do
17945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17953 int
17954 main ()
17955 {
17956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17957 test_array [0] = 0
17958
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17975 ac_status=$?
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try='test -s conftest.$ac_objext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17984 ac_hi=$ac_mid
17985 else
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.$ac_ext >&5
17988
17989 ac_lo=`expr '(' $ac_mid ')' + 1`
17990 fi
17991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17992 done
17993 case $ac_lo in
17994 ?*) ac_cv_sizeof_short=$ac_lo;;
17995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17996 See \`config.log' for more details." >&5
17997 echo "$as_me: error: cannot compute sizeof (short), 77
17998 See \`config.log' for more details." >&2;}
17999 { (exit 1); exit 1; }; } ;;
18000 esac
18001 else
18002 if test "$cross_compiling" = yes; then
18003 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18004 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18005 { (exit 1); exit 1; }; }
18006 else
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 long longval () { return (long) (sizeof (short)); }
18015 unsigned long ulongval () { return (long) (sizeof (short)); }
18016 #include <stdio.h>
18017 #include <stdlib.h>
18018 int
18019 main ()
18020 {
18021
18022 FILE *f = fopen ("conftest.val", "w");
18023 if (! f)
18024 exit (1);
18025 if (((long) (sizeof (short))) < 0)
18026 {
18027 long i = longval ();
18028 if (i != ((long) (sizeof (short))))
18029 exit (1);
18030 fprintf (f, "%ld\n", i);
18031 }
18032 else
18033 {
18034 unsigned long i = ulongval ();
18035 if (i != ((long) (sizeof (short))))
18036 exit (1);
18037 fprintf (f, "%lu\n", i);
18038 }
18039 exit (ferror (f) || fclose (f) != 0);
18040
18041 ;
18042 return 0;
18043 }
18044 _ACEOF
18045 rm -f conftest$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_sizeof_short=`cat conftest.val`
18057 else
18058 echo "$as_me: program exited with status $ac_status" >&5
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.$ac_ext >&5
18061
18062 ( exit $ac_status )
18063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18064 See \`config.log' for more details." >&5
18065 echo "$as_me: error: cannot compute sizeof (short), 77
18066 See \`config.log' for more details." >&2;}
18067 { (exit 1); exit 1; }; }
18068 fi
18069 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18070 fi
18071 fi
18072 rm -f conftest.val
18073 else
18074 ac_cv_sizeof_short=0
18075 fi
18076 fi
18077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18078 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18079 cat >>confdefs.h <<_ACEOF
18080 #define SIZEOF_SHORT $ac_cv_sizeof_short
18081 _ACEOF
18082
18083
18084 echo "$as_me:$LINENO: checking for void *" >&5
18085 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18086 if test "${ac_cv_type_void_p+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18096 int
18097 main ()
18098 {
18099 if ((void * *) 0)
18100 return 0;
18101 if (sizeof (void *))
18102 return 0;
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18110 ac_status=$?
18111 grep -v '^ *+' conftest.er1 >conftest.err
18112 rm -f conftest.er1
18113 cat conftest.err >&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_type_void_p=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 ac_cv_type_void_p=no
18134 fi
18135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18136 fi
18137 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18138 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18139
18140 echo "$as_me:$LINENO: checking size of void *" >&5
18141 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18142 if test "${ac_cv_sizeof_void_p+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 else
18145 if test "$ac_cv_type_void_p" = yes; then
18146 # The cast to unsigned long works around a bug in the HP C Compiler
18147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18149 # This bug is HP SR number 8606223364.
18150 if test "$cross_compiling" = yes; then
18151 # Depending upon the size, compute the lo and hi bounds.
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18159 int
18160 main ()
18161 {
18162 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18163 test_array [0] = 0
18164
18165 ;
18166 return 0;
18167 }
18168 _ACEOF
18169 rm -f conftest.$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18172 ac_status=$?
18173 grep -v '^ *+' conftest.er1 >conftest.err
18174 rm -f conftest.er1
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_lo=0 ac_mid=0
18191 while :; do
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 $ac_includes_default
18199 int
18200 main ()
18201 {
18202 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18203 test_array [0] = 0
18204
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211 (eval $ac_compile) 2>conftest.er1
18212 ac_status=$?
18213 grep -v '^ *+' conftest.er1 >conftest.err
18214 rm -f conftest.er1
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18230 ac_hi=$ac_mid; break
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ac_lo=`expr $ac_mid + 1`
18236 if test $ac_lo -le $ac_mid; then
18237 ac_lo= ac_hi=
18238 break
18239 fi
18240 ac_mid=`expr 2 '*' $ac_mid + 1`
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 done
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 cat >conftest.$ac_ext <<_ACEOF
18249 /* confdefs.h. */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18255 int
18256 main ()
18257 {
18258 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18259 test_array [0] = 0
18260
18261 ;
18262 return 0;
18263 }
18264 _ACEOF
18265 rm -f conftest.$ac_objext
18266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18267 (eval $ac_compile) 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } &&
18274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18277 ac_status=$?
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; } &&
18280 { ac_try='test -s conftest.$ac_objext'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18283 ac_status=$?
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; }; then
18286 ac_hi=-1 ac_mid=-1
18287 while :; do
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18295 int
18296 main ()
18297 {
18298 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18299 test_array [0] = 0
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>conftest.er1
18308 ac_status=$?
18309 grep -v '^ *+' conftest.er1 >conftest.err
18310 rm -f conftest.er1
18311 cat conftest.err >&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); } &&
18314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18326 ac_lo=$ac_mid; break
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ac_hi=`expr '(' $ac_mid ')' - 1`
18332 if test $ac_mid -le $ac_hi; then
18333 ac_lo= ac_hi=
18334 break
18335 fi
18336 ac_mid=`expr 2 '*' $ac_mid`
18337 fi
18338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18339 done
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18343
18344 ac_lo= ac_hi=
18345 fi
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18347 fi
18348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18349 # Binary search between lo and hi bounds.
18350 while test "x$ac_lo" != "x$ac_hi"; do
18351 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18359 int
18360 main ()
18361 {
18362 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18363 test_array [0] = 0
18364
18365 ;
18366 return 0;
18367 }
18368 _ACEOF
18369 rm -f conftest.$ac_objext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18371 (eval $ac_compile) 2>conftest.er1
18372 ac_status=$?
18373 grep -v '^ *+' conftest.er1 >conftest.err
18374 rm -f conftest.er1
18375 cat conftest.err >&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_hi=$ac_mid
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_lo=`expr '(' $ac_mid ')' + 1`
18396 fi
18397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18398 done
18399 case $ac_lo in
18400 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18402 See \`config.log' for more details." >&5
18403 echo "$as_me: error: cannot compute sizeof (void *), 77
18404 See \`config.log' for more details." >&2;}
18405 { (exit 1); exit 1; }; } ;;
18406 esac
18407 else
18408 if test "$cross_compiling" = yes; then
18409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18411 { (exit 1); exit 1; }; }
18412 else
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 long longval () { return (long) (sizeof (void *)); }
18421 unsigned long ulongval () { return (long) (sizeof (void *)); }
18422 #include <stdio.h>
18423 #include <stdlib.h>
18424 int
18425 main ()
18426 {
18427
18428 FILE *f = fopen ("conftest.val", "w");
18429 if (! f)
18430 exit (1);
18431 if (((long) (sizeof (void *))) < 0)
18432 {
18433 long i = longval ();
18434 if (i != ((long) (sizeof (void *))))
18435 exit (1);
18436 fprintf (f, "%ld\n", i);
18437 }
18438 else
18439 {
18440 unsigned long i = ulongval ();
18441 if (i != ((long) (sizeof (void *))))
18442 exit (1);
18443 fprintf (f, "%lu\n", i);
18444 }
18445 exit (ferror (f) || fclose (f) != 0);
18446
18447 ;
18448 return 0;
18449 }
18450 _ACEOF
18451 rm -f conftest$ac_exeext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453 (eval $ac_link) 2>&5
18454 ac_status=$?
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_sizeof_void_p=`cat conftest.val`
18463 else
18464 echo "$as_me: program exited with status $ac_status" >&5
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18467
18468 ( exit $ac_status )
18469 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18470 See \`config.log' for more details." >&5
18471 echo "$as_me: error: cannot compute sizeof (void *), 77
18472 See \`config.log' for more details." >&2;}
18473 { (exit 1); exit 1; }; }
18474 fi
18475 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18476 fi
18477 fi
18478 rm -f conftest.val
18479 else
18480 ac_cv_sizeof_void_p=0
18481 fi
18482 fi
18483 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18484 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18485 cat >>confdefs.h <<_ACEOF
18486 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18487 _ACEOF
18488
18489
18490 echo "$as_me:$LINENO: checking for int" >&5
18491 echo $ECHO_N "checking for int... $ECHO_C" >&6
18492 if test "${ac_cv_type_int+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 else
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 if ((int *) 0)
18506 return 0;
18507 if (sizeof (int))
18508 return 0;
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 rm -f conftest.$ac_objext
18514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18515 (eval $ac_compile) 2>conftest.er1
18516 ac_status=$?
18517 grep -v '^ *+' conftest.er1 >conftest.err
18518 rm -f conftest.er1
18519 cat conftest.err >&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_cv_type_int=yes
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_cv_type_int=no
18540 fi
18541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18542 fi
18543 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18544 echo "${ECHO_T}$ac_cv_type_int" >&6
18545
18546 echo "$as_me:$LINENO: checking size of int" >&5
18547 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18548 if test "${ac_cv_sizeof_int+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551 if test "$ac_cv_type_int" = yes; then
18552 # The cast to unsigned long works around a bug in the HP C Compiler
18553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18555 # This bug is HP SR number 8606223364.
18556 if test "$cross_compiling" = yes; then
18557 # Depending upon the size, compute the lo and hi bounds.
18558 cat >conftest.$ac_ext <<_ACEOF
18559 /* confdefs.h. */
18560 _ACEOF
18561 cat confdefs.h >>conftest.$ac_ext
18562 cat >>conftest.$ac_ext <<_ACEOF
18563 /* end confdefs.h. */
18564 $ac_includes_default
18565 int
18566 main ()
18567 {
18568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18569 test_array [0] = 0
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18587 ac_status=$?
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; } &&
18590 { ac_try='test -s conftest.$ac_objext'
18591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18592 (eval $ac_try) 2>&5
18593 ac_status=$?
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; }; then
18596 ac_lo=0 ac_mid=0
18597 while :; do
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18605 int
18606 main ()
18607 {
18608 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18609 test_array [0] = 0
18610
18611 ;
18612 return 0;
18613 }
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18627 ac_status=$?
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; } &&
18630 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18636 ac_hi=$ac_mid; break
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18640
18641 ac_lo=`expr $ac_mid + 1`
18642 if test $ac_lo -le $ac_mid; then
18643 ac_lo= ac_hi=
18644 break
18645 fi
18646 ac_mid=`expr 2 '*' $ac_mid + 1`
18647 fi
18648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18649 done
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18653
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 int
18662 main ()
18663 {
18664 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18665 test_array [0] = 0
18666
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18673 (eval $ac_compile) 2>conftest.er1
18674 ac_status=$?
18675 grep -v '^ *+' conftest.er1 >conftest.err
18676 rm -f conftest.er1
18677 cat conftest.err >&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); } &&
18680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18683 ac_status=$?
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18689 ac_status=$?
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_hi=-1 ac_mid=-1
18693 while :; do
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h. */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18701 int
18702 main ()
18703 {
18704 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18705 test_array [0] = 0
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 rm -f conftest.$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18714 ac_status=$?
18715 grep -v '^ *+' conftest.er1 >conftest.err
18716 rm -f conftest.er1
18717 cat conftest.err >&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; } &&
18726 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18732 ac_lo=$ac_mid; break
18733 else
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18736
18737 ac_hi=`expr '(' $ac_mid ')' - 1`
18738 if test $ac_mid -le $ac_hi; then
18739 ac_lo= ac_hi=
18740 break
18741 fi
18742 ac_mid=`expr 2 '*' $ac_mid`
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745 done
18746 else
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ac_lo= ac_hi=
18751 fi
18752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 # Binary search between lo and hi bounds.
18756 while test "x$ac_lo" != "x$ac_hi"; do
18757 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18758 cat >conftest.$ac_ext <<_ACEOF
18759 /* confdefs.h. */
18760 _ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18765 int
18766 main ()
18767 {
18768 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18769 test_array [0] = 0
18770
18771 ;
18772 return 0;
18773 }
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18787 ac_status=$?
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; } &&
18790 { ac_try='test -s conftest.$ac_objext'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; }; then
18796 ac_hi=$ac_mid
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18800
18801 ac_lo=`expr '(' $ac_mid ')' + 1`
18802 fi
18803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18804 done
18805 case $ac_lo in
18806 ?*) ac_cv_sizeof_int=$ac_lo;;
18807 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18808 See \`config.log' for more details." >&5
18809 echo "$as_me: error: cannot compute sizeof (int), 77
18810 See \`config.log' for more details." >&2;}
18811 { (exit 1); exit 1; }; } ;;
18812 esac
18813 else
18814 if test "$cross_compiling" = yes; then
18815 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18816 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18817 { (exit 1); exit 1; }; }
18818 else
18819 cat >conftest.$ac_ext <<_ACEOF
18820 /* confdefs.h. */
18821 _ACEOF
18822 cat confdefs.h >>conftest.$ac_ext
18823 cat >>conftest.$ac_ext <<_ACEOF
18824 /* end confdefs.h. */
18825 $ac_includes_default
18826 long longval () { return (long) (sizeof (int)); }
18827 unsigned long ulongval () { return (long) (sizeof (int)); }
18828 #include <stdio.h>
18829 #include <stdlib.h>
18830 int
18831 main ()
18832 {
18833
18834 FILE *f = fopen ("conftest.val", "w");
18835 if (! f)
18836 exit (1);
18837 if (((long) (sizeof (int))) < 0)
18838 {
18839 long i = longval ();
18840 if (i != ((long) (sizeof (int))))
18841 exit (1);
18842 fprintf (f, "%ld\n", i);
18843 }
18844 else
18845 {
18846 unsigned long i = ulongval ();
18847 if (i != ((long) (sizeof (int))))
18848 exit (1);
18849 fprintf (f, "%lu\n", i);
18850 }
18851 exit (ferror (f) || fclose (f) != 0);
18852
18853 ;
18854 return 0;
18855 }
18856 _ACEOF
18857 rm -f conftest$ac_exeext
18858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18859 (eval $ac_link) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 ac_cv_sizeof_int=`cat conftest.val`
18869 else
18870 echo "$as_me: program exited with status $ac_status" >&5
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18873
18874 ( exit $ac_status )
18875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: cannot compute sizeof (int), 77
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 fi
18881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18882 fi
18883 fi
18884 rm -f conftest.val
18885 else
18886 ac_cv_sizeof_int=0
18887 fi
18888 fi
18889 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18890 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18891 cat >>confdefs.h <<_ACEOF
18892 #define SIZEOF_INT $ac_cv_sizeof_int
18893 _ACEOF
18894
18895
18896 echo "$as_me:$LINENO: checking for long" >&5
18897 echo $ECHO_N "checking for long... $ECHO_C" >&6
18898 if test "${ac_cv_type_long+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18908 int
18909 main ()
18910 {
18911 if ((long *) 0)
18912 return 0;
18913 if (sizeof (long))
18914 return 0;
18915 ;
18916 return 0;
18917 }
18918 _ACEOF
18919 rm -f conftest.$ac_objext
18920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 (eval $ac_compile) 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } &&
18928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18931 ac_status=$?
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; } &&
18934 { ac_try='test -s conftest.$ac_objext'
18935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18936 (eval $ac_try) 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); }; }; then
18940 ac_cv_type_long=yes
18941 else
18942 echo "$as_me: failed program was:" >&5
18943 sed 's/^/| /' conftest.$ac_ext >&5
18944
18945 ac_cv_type_long=no
18946 fi
18947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18948 fi
18949 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18950 echo "${ECHO_T}$ac_cv_type_long" >&6
18951
18952 echo "$as_me:$LINENO: checking size of long" >&5
18953 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18954 if test "${ac_cv_sizeof_long+set}" = set; then
18955 echo $ECHO_N "(cached) $ECHO_C" >&6
18956 else
18957 if test "$ac_cv_type_long" = yes; then
18958 # The cast to unsigned long works around a bug in the HP C Compiler
18959 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18960 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18961 # This bug is HP SR number 8606223364.
18962 if test "$cross_compiling" = yes; then
18963 # Depending upon the size, compute the lo and hi bounds.
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 $ac_includes_default
18971 int
18972 main ()
18973 {
18974 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18975 test_array [0] = 0
18976
18977 ;
18978 return 0;
18979 }
18980 _ACEOF
18981 rm -f conftest.$ac_objext
18982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18983 (eval $ac_compile) 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } &&
18990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18993 ac_status=$?
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; } &&
18996 { ac_try='test -s conftest.$ac_objext'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
18999 ac_status=$?
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; }; then
19002 ac_lo=0 ac_mid=0
19003 while :; do
19004 cat >conftest.$ac_ext <<_ACEOF
19005 /* confdefs.h. */
19006 _ACEOF
19007 cat confdefs.h >>conftest.$ac_ext
19008 cat >>conftest.$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 $ac_includes_default
19011 int
19012 main ()
19013 {
19014 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19015 test_array [0] = 0
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 rm -f conftest.$ac_objext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023 (eval $ac_compile) 2>conftest.er1
19024 ac_status=$?
19025 grep -v '^ *+' conftest.er1 >conftest.err
19026 rm -f conftest.er1
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19042 ac_hi=$ac_mid; break
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19046
19047 ac_lo=`expr $ac_mid + 1`
19048 if test $ac_lo -le $ac_mid; then
19049 ac_lo= ac_hi=
19050 break
19051 fi
19052 ac_mid=`expr 2 '*' $ac_mid + 1`
19053 fi
19054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19055 done
19056 else
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19059
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 int
19068 main ()
19069 {
19070 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19071 test_array [0] = 0
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 rm -f conftest.$ac_objext
19078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19079 (eval $ac_compile) 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } &&
19086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 ac_hi=-1 ac_mid=-1
19099 while :; do
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 $ac_includes_default
19107 int
19108 main ()
19109 {
19110 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19111 test_array [0] = 0
19112
19113 ;
19114 return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19119 (eval $ac_compile) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19138 ac_lo=$ac_mid; break
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143 ac_hi=`expr '(' $ac_mid ')' - 1`
19144 if test $ac_mid -le $ac_hi; then
19145 ac_lo= ac_hi=
19146 break
19147 fi
19148 ac_mid=`expr 2 '*' $ac_mid`
19149 fi
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19151 done
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo= ac_hi=
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 # Binary search between lo and hi bounds.
19162 while test "x$ac_lo" != "x$ac_hi"; do
19163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>conftest.er1
19184 ac_status=$?
19185 grep -v '^ *+' conftest.er1 >conftest.err
19186 rm -f conftest.er1
19187 cat conftest.err >&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest.$ac_objext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 ac_hi=$ac_mid
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19206
19207 ac_lo=`expr '(' $ac_mid ')' + 1`
19208 fi
19209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19210 done
19211 case $ac_lo in
19212 ?*) ac_cv_sizeof_long=$ac_lo;;
19213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19214 See \`config.log' for more details." >&5
19215 echo "$as_me: error: cannot compute sizeof (long), 77
19216 See \`config.log' for more details." >&2;}
19217 { (exit 1); exit 1; }; } ;;
19218 esac
19219 else
19220 if test "$cross_compiling" = yes; then
19221 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19222 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19223 { (exit 1); exit 1; }; }
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 long longval () { return (long) (sizeof (long)); }
19233 unsigned long ulongval () { return (long) (sizeof (long)); }
19234 #include <stdio.h>
19235 #include <stdlib.h>
19236 int
19237 main ()
19238 {
19239
19240 FILE *f = fopen ("conftest.val", "w");
19241 if (! f)
19242 exit (1);
19243 if (((long) (sizeof (long))) < 0)
19244 {
19245 long i = longval ();
19246 if (i != ((long) (sizeof (long))))
19247 exit (1);
19248 fprintf (f, "%ld\n", i);
19249 }
19250 else
19251 {
19252 unsigned long i = ulongval ();
19253 if (i != ((long) (sizeof (long))))
19254 exit (1);
19255 fprintf (f, "%lu\n", i);
19256 }
19257 exit (ferror (f) || fclose (f) != 0);
19258
19259 ;
19260 return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest$ac_exeext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19265 (eval $ac_link) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_sizeof_long=`cat conftest.val`
19275 else
19276 echo "$as_me: program exited with status $ac_status" >&5
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19279
19280 ( exit $ac_status )
19281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19282 See \`config.log' for more details." >&5
19283 echo "$as_me: error: cannot compute sizeof (long), 77
19284 See \`config.log' for more details." >&2;}
19285 { (exit 1); exit 1; }; }
19286 fi
19287 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19288 fi
19289 fi
19290 rm -f conftest.val
19291 else
19292 ac_cv_sizeof_long=0
19293 fi
19294 fi
19295 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19296 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19297 cat >>confdefs.h <<_ACEOF
19298 #define SIZEOF_LONG $ac_cv_sizeof_long
19299 _ACEOF
19300
19301
19302 echo "$as_me:$LINENO: checking for size_t" >&5
19303 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19304 if test "${ac_cv_type_size_t+set}" = set; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 int
19315 main ()
19316 {
19317 if ((size_t *) 0)
19318 return 0;
19319 if (sizeof (size_t))
19320 return 0;
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_type_size_t=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_cv_type_size_t=no
19352 fi
19353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19354 fi
19355 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19356 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19357
19358 echo "$as_me:$LINENO: checking size of size_t" >&5
19359 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19360 if test "${ac_cv_sizeof_size_t+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19363 if test "$ac_cv_type_size_t" = yes; then
19364 # The cast to unsigned long works around a bug in the HP C Compiler
19365 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19366 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19367 # This bug is HP SR number 8606223364.
19368 if test "$cross_compiling" = yes; then
19369 # Depending upon the size, compute the lo and hi bounds.
19370 cat >conftest.$ac_ext <<_ACEOF
19371 /* confdefs.h. */
19372 _ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19377 int
19378 main ()
19379 {
19380 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19381 test_array [0] = 0
19382
19383 ;
19384 return 0;
19385 }
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>conftest.er1
19390 ac_status=$?
19391 grep -v '^ *+' conftest.er1 >conftest.err
19392 rm -f conftest.er1
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 ac_lo=0 ac_mid=0
19409 while :; do
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19417 int
19418 main ()
19419 {
19420 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19421 test_array [0] = 0
19422
19423 ;
19424 return 0;
19425 }
19426 _ACEOF
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19439 ac_status=$?
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19448 ac_hi=$ac_mid; break
19449 else
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.$ac_ext >&5
19452
19453 ac_lo=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19455 ac_lo= ac_hi=
19456 break
19457 fi
19458 ac_mid=`expr 2 '*' $ac_mid + 1`
19459 fi
19460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19461 done
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 int
19474 main ()
19475 {
19476 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19477 test_array [0] = 0
19478
19479 ;
19480 return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19485 (eval $ac_compile) 2>conftest.er1
19486 ac_status=$?
19487 grep -v '^ *+' conftest.er1 >conftest.err
19488 rm -f conftest.er1
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19495 ac_status=$?
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; } &&
19498 { ac_try='test -s conftest.$ac_objext'
19499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19500 (eval $ac_try) 2>&5
19501 ac_status=$?
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); }; }; then
19504 ac_hi=-1 ac_mid=-1
19505 while :; do
19506 cat >conftest.$ac_ext <<_ACEOF
19507 /* confdefs.h. */
19508 _ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19512 $ac_includes_default
19513 int
19514 main ()
19515 {
19516 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19517 test_array [0] = 0
19518
19519 ;
19520 return 0;
19521 }
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19535 ac_status=$?
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19544 ac_lo=$ac_mid; break
19545 else
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19548
19549 ac_hi=`expr '(' $ac_mid ')' - 1`
19550 if test $ac_mid -le $ac_hi; then
19551 ac_lo= ac_hi=
19552 break
19553 fi
19554 ac_mid=`expr 2 '*' $ac_mid`
19555 fi
19556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19557 done
19558 else
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.$ac_ext >&5
19561
19562 ac_lo= ac_hi=
19563 fi
19564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19565 fi
19566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19567 # Binary search between lo and hi bounds.
19568 while test "x$ac_lo" != "x$ac_hi"; do
19569 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 int
19578 main ()
19579 {
19580 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19581 test_array [0] = 0
19582
19583 ;
19584 return 0;
19585 }
19586 _ACEOF
19587 rm -f conftest.$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>conftest.er1
19590 ac_status=$?
19591 grep -v '^ *+' conftest.er1 >conftest.err
19592 rm -f conftest.er1
19593 cat conftest.err >&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); } &&
19596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19598 (eval $ac_try) 2>&5
19599 ac_status=$?
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); }; } &&
19602 { ac_try='test -s conftest.$ac_objext'
19603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19604 (eval $ac_try) 2>&5
19605 ac_status=$?
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; }; then
19608 ac_hi=$ac_mid
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_lo=`expr '(' $ac_mid ')' + 1`
19614 fi
19615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19616 done
19617 case $ac_lo in
19618 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19619 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19620 See \`config.log' for more details." >&5
19621 echo "$as_me: error: cannot compute sizeof (size_t), 77
19622 See \`config.log' for more details." >&2;}
19623 { (exit 1); exit 1; }; } ;;
19624 esac
19625 else
19626 if test "$cross_compiling" = yes; then
19627 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19628 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19629 { (exit 1); exit 1; }; }
19630 else
19631 cat >conftest.$ac_ext <<_ACEOF
19632 /* confdefs.h. */
19633 _ACEOF
19634 cat confdefs.h >>conftest.$ac_ext
19635 cat >>conftest.$ac_ext <<_ACEOF
19636 /* end confdefs.h. */
19637 $ac_includes_default
19638 long longval () { return (long) (sizeof (size_t)); }
19639 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19640 #include <stdio.h>
19641 #include <stdlib.h>
19642 int
19643 main ()
19644 {
19645
19646 FILE *f = fopen ("conftest.val", "w");
19647 if (! f)
19648 exit (1);
19649 if (((long) (sizeof (size_t))) < 0)
19650 {
19651 long i = longval ();
19652 if (i != ((long) (sizeof (size_t))))
19653 exit (1);
19654 fprintf (f, "%ld\n", i);
19655 }
19656 else
19657 {
19658 unsigned long i = ulongval ();
19659 if (i != ((long) (sizeof (size_t))))
19660 exit (1);
19661 fprintf (f, "%lu\n", i);
19662 }
19663 exit (ferror (f) || fclose (f) != 0);
19664
19665 ;
19666 return 0;
19667 }
19668 _ACEOF
19669 rm -f conftest$ac_exeext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19671 (eval $ac_link) 2>&5
19672 ac_status=$?
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_sizeof_size_t=`cat conftest.val`
19681 else
19682 echo "$as_me: program exited with status $ac_status" >&5
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19685
19686 ( exit $ac_status )
19687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19688 See \`config.log' for more details." >&5
19689 echo "$as_me: error: cannot compute sizeof (size_t), 77
19690 See \`config.log' for more details." >&2;}
19691 { (exit 1); exit 1; }; }
19692 fi
19693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19694 fi
19695 fi
19696 rm -f conftest.val
19697 else
19698 ac_cv_sizeof_size_t=0
19699 fi
19700 fi
19701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19702 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19703 cat >>confdefs.h <<_ACEOF
19704 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19705 _ACEOF
19706
19707
19708
19709 case "${host}" in
19710 arm-*-linux* )
19711 echo "$as_me:$LINENO: checking for long long" >&5
19712 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19713 if test "${ac_cv_type_long_long+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 else
19716 cat >conftest.$ac_ext <<_ACEOF
19717 /* confdefs.h. */
19718 _ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 $ac_includes_default
19723 int
19724 main ()
19725 {
19726 if ((long long *) 0)
19727 return 0;
19728 if (sizeof (long long))
19729 return 0;
19730 ;
19731 return 0;
19732 }
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19736 (eval $ac_compile) 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } &&
19743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; } &&
19749 { ac_try='test -s conftest.$ac_objext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_type_long_long=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_cv_type_long_long=no
19761 fi
19762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19765 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19766
19767 echo "$as_me:$LINENO: checking size of long long" >&5
19768 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19769 if test "${ac_cv_sizeof_long_long+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 else
19772 if test "$ac_cv_type_long_long" = yes; then
19773 # The cast to unsigned long works around a bug in the HP C Compiler
19774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19776 # This bug is HP SR number 8606223364.
19777 if test "$cross_compiling" = yes; then
19778 # Depending upon the size, compute the lo and hi bounds.
19779 cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h. */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h. */
19785 $ac_includes_default
19786 int
19787 main ()
19788 {
19789 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19790 test_array [0] = 0
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19798 (eval $ac_compile) 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } &&
19805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807 (eval $ac_try) 2>&5
19808 ac_status=$?
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); }; } &&
19811 { ac_try='test -s conftest.$ac_objext'
19812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813 (eval $ac_try) 2>&5
19814 ac_status=$?
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); }; }; then
19817 ac_lo=0 ac_mid=0
19818 while :; do
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h. */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h. */
19825 $ac_includes_default
19826 int
19827 main ()
19828 {
19829 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19830 test_array [0] = 0
19831
19832 ;
19833 return 0;
19834 }
19835 _ACEOF
19836 rm -f conftest.$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19857 ac_hi=$ac_mid; break
19858 else
19859 echo "$as_me: failed program was:" >&5
19860 sed 's/^/| /' conftest.$ac_ext >&5
19861
19862 ac_lo=`expr $ac_mid + 1`
19863 if test $ac_lo -le $ac_mid; then
19864 ac_lo= ac_hi=
19865 break
19866 fi
19867 ac_mid=`expr 2 '*' $ac_mid + 1`
19868 fi
19869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19870 done
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19882 int
19883 main ()
19884 {
19885 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19886 test_array [0] = 0
19887
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; } &&
19907 { ac_try='test -s conftest.$ac_objext'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; }; then
19913 ac_hi=-1 ac_mid=-1
19914 while :; do
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 int
19923 main ()
19924 {
19925 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19926 test_array [0] = 0
19927
19928 ;
19929 return 0;
19930 }
19931 _ACEOF
19932 rm -f conftest.$ac_objext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19934 (eval $ac_compile) 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19944 ac_status=$?
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19953 ac_lo=$ac_mid; break
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19957
19958 ac_hi=`expr '(' $ac_mid ')' - 1`
19959 if test $ac_mid -le $ac_hi; then
19960 ac_lo= ac_hi=
19961 break
19962 fi
19963 ac_mid=`expr 2 '*' $ac_mid`
19964 fi
19965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_lo= ac_hi=
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974 fi
19975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19976 # Binary search between lo and hi bounds.
19977 while test "x$ac_lo" != "x$ac_hi"; do
19978 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19979 cat >conftest.$ac_ext <<_ACEOF
19980 /* confdefs.h. */
19981 _ACEOF
19982 cat confdefs.h >>conftest.$ac_ext
19983 cat >>conftest.$ac_ext <<_ACEOF
19984 /* end confdefs.h. */
19985 $ac_includes_default
19986 int
19987 main ()
19988 {
19989 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19990 test_array [0] = 0
19991
19992 ;
19993 return 0;
19994 }
19995 _ACEOF
19996 rm -f conftest.$ac_objext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19998 (eval $ac_compile) 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20008 ac_status=$?
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; } &&
20011 { ac_try='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 ac_hi=$ac_mid
20018 else
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.$ac_ext >&5
20021
20022 ac_lo=`expr '(' $ac_mid ')' + 1`
20023 fi
20024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20025 done
20026 case $ac_lo in
20027 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20029 See \`config.log' for more details." >&5
20030 echo "$as_me: error: cannot compute sizeof (long long), 77
20031 See \`config.log' for more details." >&2;}
20032 { (exit 1); exit 1; }; } ;;
20033 esac
20034 else
20035 if test "$cross_compiling" = yes; then
20036 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20037 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20038 { (exit 1); exit 1; }; }
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 long longval () { return (long) (sizeof (long long)); }
20048 unsigned long ulongval () { return (long) (sizeof (long long)); }
20049 #include <stdio.h>
20050 #include <stdlib.h>
20051 int
20052 main ()
20053 {
20054
20055 FILE *f = fopen ("conftest.val", "w");
20056 if (! f)
20057 exit (1);
20058 if (((long) (sizeof (long long))) < 0)
20059 {
20060 long i = longval ();
20061 if (i != ((long) (sizeof (long long))))
20062 exit (1);
20063 fprintf (f, "%ld\n", i);
20064 }
20065 else
20066 {
20067 unsigned long i = ulongval ();
20068 if (i != ((long) (sizeof (long long))))
20069 exit (1);
20070 fprintf (f, "%lu\n", i);
20071 }
20072 exit (ferror (f) || fclose (f) != 0);
20073
20074 ;
20075 return 0;
20076 }
20077 _ACEOF
20078 rm -f conftest$ac_exeext
20079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20080 (eval $ac_link) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_sizeof_long_long=`cat conftest.val`
20090 else
20091 echo "$as_me: program exited with status $ac_status" >&5
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.$ac_ext >&5
20094
20095 ( exit $ac_status )
20096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20097 See \`config.log' for more details." >&5
20098 echo "$as_me: error: cannot compute sizeof (long long), 77
20099 See \`config.log' for more details." >&2;}
20100 { (exit 1); exit 1; }; }
20101 fi
20102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20103 fi
20104 fi
20105 rm -f conftest.val
20106 else
20107 ac_cv_sizeof_long_long=0
20108 fi
20109 fi
20110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20112 cat >>confdefs.h <<_ACEOF
20113 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20114 _ACEOF
20115
20116
20117 ;;
20118 *-hp-hpux* )
20119 echo "$as_me:$LINENO: checking for long long" >&5
20120 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20121 if test "${ac_cv_type_long_long+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 cat >conftest.$ac_ext <<_ACEOF
20125 /* confdefs.h. */
20126 _ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20131 int
20132 main ()
20133 {
20134 if ((long long *) 0)
20135 return 0;
20136 if (sizeof (long long))
20137 return 0;
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20160 ac_status=$?
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_type_long_long=yes
20164 else
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_cv_type_long_long=no
20169 fi
20170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20171 fi
20172 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20173 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20174
20175 echo "$as_me:$LINENO: checking size of long long" >&5
20176 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20177 if test "${ac_cv_sizeof_long_long+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 else
20180 if test "$ac_cv_type_long_long" = yes; then
20181 # The cast to unsigned long works around a bug in the HP C Compiler
20182 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20183 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20184 # This bug is HP SR number 8606223364.
20185 if test "$cross_compiling" = yes; then
20186 # Depending upon the size, compute the lo and hi bounds.
20187 cat >conftest.$ac_ext <<_ACEOF
20188 /* confdefs.h. */
20189 _ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20194 int
20195 main ()
20196 {
20197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20198 test_array [0] = 0
20199
20200 ;
20201 return 0;
20202 }
20203 _ACEOF
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20215 (eval $ac_try) 2>&5
20216 ac_status=$?
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); }; } &&
20219 { ac_try='test -s conftest.$ac_objext'
20220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20221 (eval $ac_try) 2>&5
20222 ac_status=$?
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); }; }; then
20225 ac_lo=0 ac_mid=0
20226 while :; do
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20246 (eval $ac_compile) 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } &&
20253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20255 (eval $ac_try) 2>&5
20256 ac_status=$?
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); }; } &&
20259 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20265 ac_hi=$ac_mid; break
20266 else
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20269
20270 ac_lo=`expr $ac_mid + 1`
20271 if test $ac_lo -le $ac_mid; then
20272 ac_lo= ac_hi=
20273 break
20274 fi
20275 ac_mid=`expr 2 '*' $ac_mid + 1`
20276 fi
20277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20278 done
20279 else
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 $ac_includes_default
20290 int
20291 main ()
20292 {
20293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20294 test_array [0] = 0
20295
20296 ;
20297 return 0;
20298 }
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20303 ac_status=$?
20304 grep -v '^ *+' conftest.er1 >conftest.err
20305 rm -f conftest.er1
20306 cat conftest.err >&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; } &&
20315 { ac_try='test -s conftest.$ac_objext'
20316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20317 (eval $ac_try) 2>&5
20318 ac_status=$?
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); }; }; then
20321 ac_hi=-1 ac_mid=-1
20322 while :; do
20323 cat >conftest.$ac_ext <<_ACEOF
20324 /* confdefs.h. */
20325 _ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 $ac_includes_default
20330 int
20331 main ()
20332 {
20333 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20334 test_array [0] = 0
20335
20336 ;
20337 return 0;
20338 }
20339 _ACEOF
20340 rm -f conftest.$ac_objext
20341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20342 (eval $ac_compile) 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; } &&
20355 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20361 ac_lo=$ac_mid; break
20362 else
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20365
20366 ac_hi=`expr '(' $ac_mid ')' - 1`
20367 if test $ac_mid -le $ac_hi; then
20368 ac_lo= ac_hi=
20369 break
20370 fi
20371 ac_mid=`expr 2 '*' $ac_mid`
20372 fi
20373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20374 done
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_lo= ac_hi=
20380 fi
20381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20382 fi
20383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20384 # Binary search between lo and hi bounds.
20385 while test "x$ac_lo" != "x$ac_hi"; do
20386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_hi=$ac_mid
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_lo=`expr '(' $ac_mid ')' + 1`
20431 fi
20432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20433 done
20434 case $ac_lo in
20435 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20436 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20437 See \`config.log' for more details." >&5
20438 echo "$as_me: error: cannot compute sizeof (long long), 77
20439 See \`config.log' for more details." >&2;}
20440 { (exit 1); exit 1; }; } ;;
20441 esac
20442 else
20443 if test "$cross_compiling" = yes; then
20444 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20445 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20446 { (exit 1); exit 1; }; }
20447 else
20448 cat >conftest.$ac_ext <<_ACEOF
20449 /* confdefs.h. */
20450 _ACEOF
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20455 long longval () { return (long) (sizeof (long long)); }
20456 unsigned long ulongval () { return (long) (sizeof (long long)); }
20457 #include <stdio.h>
20458 #include <stdlib.h>
20459 int
20460 main ()
20461 {
20462
20463 FILE *f = fopen ("conftest.val", "w");
20464 if (! f)
20465 exit (1);
20466 if (((long) (sizeof (long long))) < 0)
20467 {
20468 long i = longval ();
20469 if (i != ((long) (sizeof (long long))))
20470 exit (1);
20471 fprintf (f, "%ld\n", i);
20472 }
20473 else
20474 {
20475 unsigned long i = ulongval ();
20476 if (i != ((long) (sizeof (long long))))
20477 exit (1);
20478 fprintf (f, "%lu\n", i);
20479 }
20480 exit (ferror (f) || fclose (f) != 0);
20481
20482 ;
20483 return 0;
20484 }
20485 _ACEOF
20486 rm -f conftest$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 ac_cv_sizeof_long_long=`cat conftest.val`
20498 else
20499 echo "$as_me: program exited with status $ac_status" >&5
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 ( exit $ac_status )
20504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20505 See \`config.log' for more details." >&5
20506 echo "$as_me: error: cannot compute sizeof (long long), 77
20507 See \`config.log' for more details." >&2;}
20508 { (exit 1); exit 1; }; }
20509 fi
20510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20511 fi
20512 fi
20513 rm -f conftest.val
20514 else
20515 ac_cv_sizeof_long_long=0
20516 fi
20517 fi
20518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20519 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20520 cat >>confdefs.h <<_ACEOF
20521 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20522 _ACEOF
20523
20524
20525 if test "$ac_cv_sizeof_long_long" != "0"; then
20526 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20527 fi
20528 ;;
20529 * )
20530 echo "$as_me:$LINENO: checking for long long" >&5
20531 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20532 if test "${ac_cv_type_long_long+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20534 else
20535 cat >conftest.$ac_ext <<_ACEOF
20536 /* confdefs.h. */
20537 _ACEOF
20538 cat confdefs.h >>conftest.$ac_ext
20539 cat >>conftest.$ac_ext <<_ACEOF
20540 /* end confdefs.h. */
20541 $ac_includes_default
20542 int
20543 main ()
20544 {
20545 if ((long long *) 0)
20546 return 0;
20547 if (sizeof (long long))
20548 return 0;
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20555 (eval $ac_compile) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; } &&
20568 { ac_try='test -s conftest.$ac_objext'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; }; then
20574 ac_cv_type_long_long=yes
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 ac_cv_type_long_long=no
20580 fi
20581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20584 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20585
20586 echo "$as_me:$LINENO: checking size of long long" >&5
20587 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20588 if test "${ac_cv_sizeof_long_long+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 else
20591 if test "$ac_cv_type_long_long" = yes; then
20592 # The cast to unsigned long works around a bug in the HP C Compiler
20593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20595 # This bug is HP SR number 8606223364.
20596 if test "$cross_compiling" = yes; then
20597 # Depending upon the size, compute the lo and hi bounds.
20598 cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h. */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20605 int
20606 main ()
20607 {
20608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20609 test_array [0] = 0
20610
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_lo=0 ac_mid=0
20637 while :; do
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 $ac_includes_default
20645 int
20646 main ()
20647 {
20648 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20649 test_array [0] = 0
20650
20651 ;
20652 return 0;
20653 }
20654 _ACEOF
20655 rm -f conftest.$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20676 ac_hi=$ac_mid; break
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 ac_lo=`expr $ac_mid + 1`
20682 if test $ac_lo -le $ac_mid; then
20683 ac_lo= ac_hi=
20684 break
20685 fi
20686 ac_mid=`expr 2 '*' $ac_mid + 1`
20687 fi
20688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20689 done
20690 else
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20693
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 int
20702 main ()
20703 {
20704 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20705 test_array [0] = 0
20706
20707 ;
20708 return 0;
20709 }
20710 _ACEOF
20711 rm -f conftest.$ac_objext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20713 (eval $ac_compile) 2>conftest.er1
20714 ac_status=$?
20715 grep -v '^ *+' conftest.er1 >conftest.err
20716 rm -f conftest.er1
20717 cat conftest.err >&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); } &&
20720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; } &&
20726 { ac_try='test -s conftest.$ac_objext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20729 ac_status=$?
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_hi=-1 ac_mid=-1
20733 while :; do
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 $ac_includes_default
20741 int
20742 main ()
20743 {
20744 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20745 test_array [0] = 0
20746
20747 ;
20748 return 0;
20749 }
20750 _ACEOF
20751 rm -f conftest.$ac_objext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20753 (eval $ac_compile) 2>conftest.er1
20754 ac_status=$?
20755 grep -v '^ *+' conftest.er1 >conftest.err
20756 rm -f conftest.er1
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20762 (eval $ac_try) 2>&5
20763 ac_status=$?
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; } &&
20766 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20772 ac_lo=$ac_mid; break
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20776
20777 ac_hi=`expr '(' $ac_mid ')' - 1`
20778 if test $ac_mid -le $ac_hi; then
20779 ac_lo= ac_hi=
20780 break
20781 fi
20782 ac_mid=`expr 2 '*' $ac_mid`
20783 fi
20784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20785 done
20786 else
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20789
20790 ac_lo= ac_hi=
20791 fi
20792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20793 fi
20794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20795 # Binary search between lo and hi bounds.
20796 while test "x$ac_lo" != "x$ac_hi"; do
20797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 int
20806 main ()
20807 {
20808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20809 test_array [0] = 0
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 rm -f conftest.$ac_objext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20817 (eval $ac_compile) 2>conftest.er1
20818 ac_status=$?
20819 grep -v '^ *+' conftest.er1 >conftest.err
20820 rm -f conftest.er1
20821 cat conftest.err >&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } &&
20824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20827 ac_status=$?
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try='test -s conftest.$ac_objext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 ac_hi=$ac_mid
20837 else
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20840
20841 ac_lo=`expr '(' $ac_mid ')' + 1`
20842 fi
20843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20844 done
20845 case $ac_lo in
20846 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20847 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20848 See \`config.log' for more details." >&5
20849 echo "$as_me: error: cannot compute sizeof (long long), 77
20850 See \`config.log' for more details." >&2;}
20851 { (exit 1); exit 1; }; } ;;
20852 esac
20853 else
20854 if test "$cross_compiling" = yes; then
20855 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20856 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20857 { (exit 1); exit 1; }; }
20858 else
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 long longval () { return (long) (sizeof (long long)); }
20867 unsigned long ulongval () { return (long) (sizeof (long long)); }
20868 #include <stdio.h>
20869 #include <stdlib.h>
20870 int
20871 main ()
20872 {
20873
20874 FILE *f = fopen ("conftest.val", "w");
20875 if (! f)
20876 exit (1);
20877 if (((long) (sizeof (long long))) < 0)
20878 {
20879 long i = longval ();
20880 if (i != ((long) (sizeof (long long))))
20881 exit (1);
20882 fprintf (f, "%ld\n", i);
20883 }
20884 else
20885 {
20886 unsigned long i = ulongval ();
20887 if (i != ((long) (sizeof (long long))))
20888 exit (1);
20889 fprintf (f, "%lu\n", i);
20890 }
20891 exit (ferror (f) || fclose (f) != 0);
20892
20893 ;
20894 return 0;
20895 }
20896 _ACEOF
20897 rm -f conftest$ac_exeext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20899 (eval $ac_link) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_sizeof_long_long=`cat conftest.val`
20909 else
20910 echo "$as_me: program exited with status $ac_status" >&5
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20913
20914 ( exit $ac_status )
20915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20916 See \`config.log' for more details." >&5
20917 echo "$as_me: error: cannot compute sizeof (long long), 77
20918 See \`config.log' for more details." >&2;}
20919 { (exit 1); exit 1; }; }
20920 fi
20921 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20922 fi
20923 fi
20924 rm -f conftest.val
20925 else
20926 ac_cv_sizeof_long_long=0
20927 fi
20928 fi
20929 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20930 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20931 cat >>confdefs.h <<_ACEOF
20932 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20933 _ACEOF
20934
20935
20936 esac
20937
20938 echo "$as_me:$LINENO: checking for wchar_t" >&5
20939 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20940 if test "${ac_cv_type_wchar_t+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 else
20943 cat >conftest.$ac_ext <<_ACEOF
20944 /* confdefs.h. */
20945 _ACEOF
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949
20950 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20951 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20952 # error "fake wchar_t"
20953 #endif
20954 #ifdef HAVE_WCHAR_H
20955 # ifdef __CYGWIN__
20956 # include <stddef.h>
20957 # endif
20958 # include <wchar.h>
20959 #endif
20960 #ifdef HAVE_STDLIB_H
20961 # include <stdlib.h>
20962 #endif
20963 #include <stdio.h>
20964
20965
20966
20967 int
20968 main ()
20969 {
20970 if ((wchar_t *) 0)
20971 return 0;
20972 if (sizeof (wchar_t))
20973 return 0;
20974 ;
20975 return 0;
20976 }
20977 _ACEOF
20978 rm -f conftest.$ac_objext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20980 (eval $ac_compile) 2>conftest.er1
20981 ac_status=$?
20982 grep -v '^ *+' conftest.er1 >conftest.err
20983 rm -f conftest.er1
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_cv_type_wchar_t=yes
21000 else
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.$ac_ext >&5
21003
21004 ac_cv_type_wchar_t=no
21005 fi
21006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21007 fi
21008 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21009 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21010
21011 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21012 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21013 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 else
21016 if test "$ac_cv_type_wchar_t" = yes; then
21017 # The cast to unsigned long works around a bug in the HP C Compiler
21018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21020 # This bug is HP SR number 8606223364.
21021 if test "$cross_compiling" = yes; then
21022 # Depending upon the size, compute the lo and hi bounds.
21023 cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h. */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21033 #endif
21034 #ifdef HAVE_WCHAR_H
21035 # ifdef __CYGWIN__
21036 # include <stddef.h>
21037 # endif
21038 # include <wchar.h>
21039 #endif
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21042 #endif
21043 #include <stdio.h>
21044
21045
21046
21047 int
21048 main ()
21049 {
21050 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21051 test_array [0] = 0
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21059 (eval $ac_compile) 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } &&
21066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21069 ac_status=$?
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; } &&
21072 { ac_try='test -s conftest.$ac_objext'
21073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074 (eval $ac_try) 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; }; then
21078 ac_lo=0 ac_mid=0
21079 while :; do
21080 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086
21087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21089 # error "fake wchar_t"
21090 #endif
21091 #ifdef HAVE_WCHAR_H
21092 # ifdef __CYGWIN__
21093 # include <stddef.h>
21094 # endif
21095 # include <wchar.h>
21096 #endif
21097 #ifdef HAVE_STDLIB_H
21098 # include <stdlib.h>
21099 #endif
21100 #include <stdio.h>
21101
21102
21103
21104 int
21105 main ()
21106 {
21107 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21108 test_array [0] = 0
21109
21110 ;
21111 return 0;
21112 }
21113 _ACEOF
21114 rm -f conftest.$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>conftest.er1
21117 ac_status=$?
21118 grep -v '^ *+' conftest.er1 >conftest.err
21119 rm -f conftest.er1
21120 cat conftest.err >&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21126 ac_status=$?
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; } &&
21129 { ac_try='test -s conftest.$ac_objext'
21130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21131 (eval $ac_try) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_hi=$ac_mid; break
21136 else
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.$ac_ext >&5
21139
21140 ac_lo=`expr $ac_mid + 1`
21141 if test $ac_lo -le $ac_mid; then
21142 ac_lo= ac_hi=
21143 break
21144 fi
21145 ac_mid=`expr 2 '*' $ac_mid + 1`
21146 fi
21147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21148 done
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 cat >conftest.$ac_ext <<_ACEOF
21154 /* confdefs.h. */
21155 _ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159
21160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21162 # error "fake wchar_t"
21163 #endif
21164 #ifdef HAVE_WCHAR_H
21165 # ifdef __CYGWIN__
21166 # include <stddef.h>
21167 # endif
21168 # include <wchar.h>
21169 #endif
21170 #ifdef HAVE_STDLIB_H
21171 # include <stdlib.h>
21172 #endif
21173 #include <stdio.h>
21174
21175
21176
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21190 ac_status=$?
21191 grep -v '^ *+' conftest.er1 >conftest.err
21192 rm -f conftest.er1
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try='test -s conftest.$ac_objext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_hi=-1 ac_mid=-1
21209 while :; do
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216
21217 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21218 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21219 # error "fake wchar_t"
21220 #endif
21221 #ifdef HAVE_WCHAR_H
21222 # ifdef __CYGWIN__
21223 # include <stddef.h>
21224 # endif
21225 # include <wchar.h>
21226 #endif
21227 #ifdef HAVE_STDLIB_H
21228 # include <stdlib.h>
21229 #endif
21230 #include <stdio.h>
21231
21232
21233
21234 int
21235 main ()
21236 {
21237 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21238 test_array [0] = 0
21239
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 rm -f conftest.$ac_objext
21245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21246 (eval $ac_compile) 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } &&
21253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21255 (eval $ac_try) 2>&5
21256 ac_status=$?
21257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21258 (exit $ac_status); }; } &&
21259 { ac_try='test -s conftest.$ac_objext'
21260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21261 (eval $ac_try) 2>&5
21262 ac_status=$?
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); }; }; then
21265 ac_lo=$ac_mid; break
21266 else
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.$ac_ext >&5
21269
21270 ac_hi=`expr '(' $ac_mid ')' - 1`
21271 if test $ac_mid -le $ac_hi; then
21272 ac_lo= ac_hi=
21273 break
21274 fi
21275 ac_mid=`expr 2 '*' $ac_mid`
21276 fi
21277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 done
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 ac_lo= ac_hi=
21284 fi
21285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21288 # Binary search between lo and hi bounds.
21289 while test "x$ac_lo" != "x$ac_hi"; do
21290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297
21298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21300 # error "fake wchar_t"
21301 #endif
21302 #ifdef HAVE_WCHAR_H
21303 # ifdef __CYGWIN__
21304 # include <stddef.h>
21305 # endif
21306 # include <wchar.h>
21307 #endif
21308 #ifdef HAVE_STDLIB_H
21309 # include <stdlib.h>
21310 #endif
21311 #include <stdio.h>
21312
21313
21314
21315 int
21316 main ()
21317 {
21318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21319 test_array [0] = 0
21320
21321 ;
21322 return 0;
21323 }
21324 _ACEOF
21325 rm -f conftest.$ac_objext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21327 (eval $ac_compile) 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; } &&
21340 { ac_try='test -s conftest.$ac_objext'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; }; then
21346 ac_hi=$ac_mid
21347 else
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21350
21351 ac_lo=`expr '(' $ac_mid ')' + 1`
21352 fi
21353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21354 done
21355 case $ac_lo in
21356 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21357 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21358 See \`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21360 See \`config.log' for more details." >&2;}
21361 { (exit 1); exit 1; }; } ;;
21362 esac
21363 else
21364 if test "$cross_compiling" = yes; then
21365 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21366 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21367 { (exit 1); exit 1; }; }
21368 else
21369 cat >conftest.$ac_ext <<_ACEOF
21370 /* confdefs.h. */
21371 _ACEOF
21372 cat confdefs.h >>conftest.$ac_ext
21373 cat >>conftest.$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375
21376 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21377 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21378 # error "fake wchar_t"
21379 #endif
21380 #ifdef HAVE_WCHAR_H
21381 # ifdef __CYGWIN__
21382 # include <stddef.h>
21383 # endif
21384 # include <wchar.h>
21385 #endif
21386 #ifdef HAVE_STDLIB_H
21387 # include <stdlib.h>
21388 #endif
21389 #include <stdio.h>
21390
21391
21392
21393 long longval () { return (long) (sizeof (wchar_t)); }
21394 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21395 #include <stdio.h>
21396 #include <stdlib.h>
21397 int
21398 main ()
21399 {
21400
21401 FILE *f = fopen ("conftest.val", "w");
21402 if (! f)
21403 exit (1);
21404 if (((long) (sizeof (wchar_t))) < 0)
21405 {
21406 long i = longval ();
21407 if (i != ((long) (sizeof (wchar_t))))
21408 exit (1);
21409 fprintf (f, "%ld\n", i);
21410 }
21411 else
21412 {
21413 unsigned long i = ulongval ();
21414 if (i != ((long) (sizeof (wchar_t))))
21415 exit (1);
21416 fprintf (f, "%lu\n", i);
21417 }
21418 exit (ferror (f) || fclose (f) != 0);
21419
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest$ac_exeext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21426 (eval $ac_link) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21435 ac_cv_sizeof_wchar_t=`cat conftest.val`
21436 else
21437 echo "$as_me: program exited with status $ac_status" >&5
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ( exit $ac_status )
21442 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21443 See \`config.log' for more details." >&5
21444 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21445 See \`config.log' for more details." >&2;}
21446 { (exit 1); exit 1; }; }
21447 fi
21448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21449 fi
21450 fi
21451 rm -f conftest.val
21452 else
21453 ac_cv_sizeof_wchar_t=0
21454 fi
21455 fi
21456 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21457 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21458 cat >>confdefs.h <<_ACEOF
21459 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21460 _ACEOF
21461
21462
21463 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21464 wxUSE_WCHAR_T=yes
21465 else
21466 wxUSE_WCHAR_T=no
21467 fi
21468
21469 echo "$as_me:$LINENO: checking for va_copy" >&5
21470 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21471 if test "${wx_cv_func_va_copy+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474
21475 cat >conftest.$ac_ext <<_ACEOF
21476
21477 #include <stdarg.h>
21478 void foo(char *f, ...)
21479 {
21480 va_list ap1, ap2;
21481 va_start(ap1, f);
21482 va_copy(ap2, ap1);
21483 va_end(ap2);
21484 va_end(ap1);
21485 }
21486 int main()
21487 {
21488 foo("hi", 17);
21489 return 0;
21490 }
21491 _ACEOF
21492 rm -f conftest.$ac_objext conftest$ac_exeext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21494 (eval $ac_link) 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try='test -s conftest$ac_exeext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 wx_cv_func_va_copy=yes
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 wx_cv_func_va_copy=no
21519
21520 fi
21521 rm -f conftest.err conftest.$ac_objext \
21522 conftest$ac_exeext conftest.$ac_ext
21523
21524
21525 fi
21526 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21527 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21528
21529 if test $wx_cv_func_va_copy = "yes"; then
21530 cat >>confdefs.h <<\_ACEOF
21531 #define HAVE_VA_COPY 1
21532 _ACEOF
21533
21534 else
21535 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21536 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21537 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21538 echo $ECHO_N "(cached) $ECHO_C" >&6
21539 else
21540
21541 if test "$cross_compiling" = yes; then
21542 wx_cv_type_va_list_lvalue=yes
21543
21544 else
21545 cat >conftest.$ac_ext <<_ACEOF
21546
21547 #include <stdarg.h>
21548 int foo(char *f, ...)
21549 {
21550 va_list ap1, ap2;
21551 va_start(ap1, f);
21552 ap2 = ap1;
21553 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21554 return 1;
21555 va_end(ap2);
21556 va_end(ap1);
21557 return 0;
21558 }
21559 int main()
21560 {
21561 return foo("hi", 17);
21562 }
21563 _ACEOF
21564 rm -f conftest$ac_exeext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566 (eval $ac_link) 2>&5
21567 ac_status=$?
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 wx_cv_type_va_list_lvalue=yes
21576 else
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ( exit $ac_status )
21582 wx_cv_type_va_list_lvalue=no
21583 fi
21584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21585 fi
21586
21587
21588 fi
21589 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21590 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21591
21592 if test $wx_cv_type_va_list_lvalue != "yes"; then
21593 cat >>confdefs.h <<\_ACEOF
21594 #define VA_LIST_IS_ARRAY 1
21595 _ACEOF
21596
21597 fi
21598 fi
21599
21600 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21601 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21602 if test "${wx_cv_have_variadic_macros+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21605
21606 ac_ext=cc
21607 ac_cpp='$CXXCPP $CPPFLAGS'
21608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21611
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618
21619 #include <stdio.h>
21620 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21621
21622 int
21623 main ()
21624 {
21625
21626 test("%s %d %p", "test", 1, 0);
21627
21628
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21635 (eval $ac_compile) 2>conftest.er1
21636 ac_status=$?
21637 grep -v '^ *+' conftest.er1 >conftest.err
21638 rm -f conftest.er1
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21645 ac_status=$?
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; } &&
21648 { ac_try='test -s conftest.$ac_objext'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; }; then
21654 wx_cv_have_variadic_macros=yes
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 wx_cv_have_variadic_macros=no
21660
21661 fi
21662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21663 ac_ext=c
21664 ac_cpp='$CPP $CPPFLAGS'
21665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668
21669
21670
21671 fi
21672 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21673 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21674
21675 if test $wx_cv_have_variadic_macros = "yes"; then
21676 cat >>confdefs.h <<\_ACEOF
21677 #define HAVE_VARIADIC_MACROS 1
21678 _ACEOF
21679
21680 fi
21681
21682 # Check whether --enable-largefile or --disable-largefile was given.
21683 if test "${enable_largefile+set}" = set; then
21684 enableval="$enable_largefile"
21685
21686 fi;
21687 if test "$enable_largefile" != no; then
21688 wx_largefile=no
21689
21690 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21691 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21692 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21694 else
21695
21696 cat >conftest.$ac_ext <<_ACEOF
21697 /* confdefs.h. */
21698 _ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 #define _FILE_OFFSET_BITS 64
21703 #include <sys/types.h>
21704 int
21705 main ()
21706 {
21707 typedef struct {
21708 unsigned int field: sizeof(off_t) == 8;
21709 } wxlf;
21710
21711 ;
21712 return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest.$ac_objext
21716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21717 (eval $ac_compile) 2>conftest.er1
21718 ac_status=$?
21719 grep -v '^ *+' conftest.er1 >conftest.err
21720 rm -f conftest.er1
21721 cat conftest.err >&5
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); } &&
21724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726 (eval $ac_try) 2>&5
21727 ac_status=$?
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); }; } &&
21730 { ac_try='test -s conftest.$ac_objext'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; }; then
21736 ac_cv_sys_file_offset_bits=64
21737 else
21738 echo "$as_me: failed program was:" >&5
21739 sed 's/^/| /' conftest.$ac_ext >&5
21740
21741 ac_cv_sys_file_offset_bits=no
21742 fi
21743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21744
21745
21746 fi
21747 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21748 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21749
21750 if test "$ac_cv_sys_file_offset_bits" != no; then
21751 wx_largefile=yes
21752 cat >>confdefs.h <<_ACEOF
21753 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21754 _ACEOF
21755
21756 fi
21757
21758 if test "x$wx_largefile" != "xyes"; then
21759
21760 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21761 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21762 if test "${ac_cv_sys_large_files+set}" = set; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 else
21765
21766 cat >conftest.$ac_ext <<_ACEOF
21767 /* confdefs.h. */
21768 _ACEOF
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h. */
21772 #define _LARGE_FILES 1
21773 #include <sys/types.h>
21774 int
21775 main ()
21776 {
21777 typedef struct {
21778 unsigned int field: sizeof(off_t) == 8;
21779 } wxlf;
21780
21781 ;
21782 return 0;
21783 }
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21796 (eval $ac_try) 2>&5
21797 ac_status=$?
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; } &&
21800 { ac_try='test -s conftest.$ac_objext'
21801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802 (eval $ac_try) 2>&5
21803 ac_status=$?
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; }; then
21806 ac_cv_sys_large_files=1
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 ac_cv_sys_large_files=no
21812 fi
21813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21814
21815
21816 fi
21817 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21818 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21819
21820 if test "$ac_cv_sys_large_files" != no; then
21821 wx_largefile=yes
21822 cat >>confdefs.h <<_ACEOF
21823 #define _LARGE_FILES $ac_cv_sys_large_files
21824 _ACEOF
21825
21826 fi
21827
21828 fi
21829
21830 echo "$as_me:$LINENO: checking if large file support is available" >&5
21831 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21832 if test "x$wx_largefile" = "xyes"; then
21833 cat >>confdefs.h <<\_ACEOF
21834 #define HAVE_LARGEFILE_SUPPORT 1
21835 _ACEOF
21836
21837 fi
21838 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21839 echo "${ECHO_T}$wx_largefile" >&6
21840 fi
21841
21842
21843 if test "x$wx_largefile" = "xyes"; then
21844 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21845 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21846
21847 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21848 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21849 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21850 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853
21854 ac_ext=cc
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859
21860 cat >conftest.$ac_ext <<_ACEOF
21861 /* confdefs.h. */
21862 _ACEOF
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866
21867 int
21868 main ()
21869 {
21870
21871 #ifndef __STDC_EXT__
21872 choke me
21873 #endif
21874
21875 ;
21876 return 0;
21877 }
21878 _ACEOF
21879 rm -f conftest.$ac_objext
21880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21881 (eval $ac_compile) 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } &&
21888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21890 (eval $ac_try) 2>&5
21891 ac_status=$?
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; } &&
21894 { ac_try='test -s conftest.$ac_objext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 wx_cv_STDC_EXT_required=no
21901 else
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21904
21905 wx_cv_STDC_EXT_required=yes
21906
21907 fi
21908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21909 ac_ext=c
21910 ac_cpp='$CPP $CPPFLAGS'
21911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21914
21915
21916
21917 fi
21918 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21919 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21920 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21921 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21922 fi
21923 fi
21924 else
21925 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21926 fi
21927 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21928 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21929 if test "${ac_cv_sys_largefile_source+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21932 while :; do
21933 ac_cv_sys_largefile_source=no
21934 cat >conftest.$ac_ext <<_ACEOF
21935 /* confdefs.h. */
21936 _ACEOF
21937 cat confdefs.h >>conftest.$ac_ext
21938 cat >>conftest.$ac_ext <<_ACEOF
21939 /* end confdefs.h. */
21940 #include <stdio.h>
21941 int
21942 main ()
21943 {
21944 return !fseeko;
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21951 (eval $ac_compile) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21960 (eval $ac_try) 2>&5
21961 ac_status=$?
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); }; } &&
21964 { ac_try='test -s conftest.$ac_objext'
21965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21966 (eval $ac_try) 2>&5
21967 ac_status=$?
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); }; }; then
21970 break
21971 else
21972 echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.$ac_ext >&5
21974
21975 fi
21976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21977 cat >conftest.$ac_ext <<_ACEOF
21978 /* confdefs.h. */
21979 _ACEOF
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 #define _LARGEFILE_SOURCE 1
21984 #include <stdio.h>
21985 int
21986 main ()
21987 {
21988 return !fseeko;
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest.$ac_objext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21995 (eval $ac_compile) 2>conftest.er1
21996 ac_status=$?
21997 grep -v '^ *+' conftest.er1 >conftest.err
21998 rm -f conftest.er1
21999 cat conftest.err >&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_cv_sys_largefile_source=1; break
22015 else
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22018
22019 fi
22020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021 break
22022 done
22023 fi
22024 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22025 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22026 if test "$ac_cv_sys_largefile_source" != no; then
22027
22028 cat >>confdefs.h <<_ACEOF
22029 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22030 _ACEOF
22031
22032 fi
22033 rm -f conftest*
22034
22035 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22036 # in glibc 2.1.3, but that breaks too many other things.
22037 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22038 echo "$as_me:$LINENO: checking for fseeko" >&5
22039 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22040 if test "${ac_cv_func_fseeko+set}" = set; then
22041 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 else
22043 cat >conftest.$ac_ext <<_ACEOF
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 #include <stdio.h>
22050 int
22051 main ()
22052 {
22053 return fseeko && fseeko (stdin, 0, 0);
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext conftest$ac_exeext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22060 (eval $ac_link) 2>conftest.er1
22061 ac_status=$?
22062 grep -v '^ *+' conftest.er1 >conftest.err
22063 rm -f conftest.er1
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; } &&
22073 { ac_try='test -s conftest$ac_exeext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22076 ac_status=$?
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 ac_cv_func_fseeko=yes
22080 else
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22083
22084 ac_cv_func_fseeko=no
22085 fi
22086 rm -f conftest.err conftest.$ac_objext \
22087 conftest$ac_exeext conftest.$ac_ext
22088 fi
22089 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22090 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22091 if test $ac_cv_func_fseeko = yes; then
22092
22093 cat >>confdefs.h <<\_ACEOF
22094 #define HAVE_FSEEKO 1
22095 _ACEOF
22096
22097 fi
22098
22099 if test "$ac_cv_sys_largefile_source" != no; then
22100 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22101 fi
22102 fi
22103
22104 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22105 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22106 if test "${ac_cv_c_bigendian+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 else
22109 ac_cv_c_bigendian=unknown
22110 # See if sys/param.h defines the BYTE_ORDER macro.
22111 cat >conftest.$ac_ext <<_ACEOF
22112 /* confdefs.h. */
22113 _ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 #include <sys/types.h>
22118 #include <sys/param.h>
22119 int
22120 main ()
22121 {
22122
22123 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22124 bogus endian macros
22125 #endif
22126 ;
22127 return 0;
22128 }
22129 _ACEOF
22130 rm -f conftest.$ac_objext
22131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22132 (eval $ac_compile) 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22141 (eval $ac_try) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); }; } &&
22145 { ac_try='test -s conftest.$ac_objext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 # It does; now see whether it defined to BIG_ENDIAN or not.
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 #include <sys/types.h>
22159 #include <sys/param.h>
22160 int
22161 main ()
22162 {
22163
22164 #if BYTE_ORDER != BIG_ENDIAN
22165 not big endian
22166 #endif
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 rm -f conftest.$ac_objext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22173 (eval $ac_compile) 2>conftest.er1
22174 ac_status=$?
22175 grep -v '^ *+' conftest.er1 >conftest.err
22176 rm -f conftest.er1
22177 cat conftest.err >&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } &&
22180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22183 ac_status=$?
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; } &&
22186 { ac_try='test -s conftest.$ac_objext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_c_bigendian=yes
22193 else
22194 echo "$as_me: failed program was:" >&5
22195 sed 's/^/| /' conftest.$ac_ext >&5
22196
22197 ac_cv_c_bigendian=no
22198 fi
22199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22200 else
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22203
22204 fi
22205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22206 if test $ac_cv_c_bigendian = unknown; then
22207 if test "$cross_compiling" = yes; then
22208 ac_cv_c_bigendian=unknown
22209 else
22210 cat >conftest.$ac_ext <<_ACEOF
22211 /* confdefs.h. */
22212 _ACEOF
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22216 main () {
22217 /* Are we little or big endian? From Harbison&Steele. */
22218 union
22219 {
22220 long l;
22221 char c[sizeof (long)];
22222 } u;
22223 u.l = 1;
22224 exit (u.c[sizeof (long) - 1] == 1);
22225 }
22226 _ACEOF
22227 rm -f conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; }; then
22238 ac_cv_c_bigendian=no
22239 else
22240 echo "$as_me: program exited with status $ac_status" >&5
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.$ac_ext >&5
22243
22244 ( exit $ac_status )
22245 ac_cv_c_bigendian=yes
22246 fi
22247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22248 fi
22249 fi
22250 fi
22251 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22252 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22253 if test $ac_cv_c_bigendian = unknown; then
22254 { 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
22255 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;}
22256 fi
22257 if test $ac_cv_c_bigendian = yes; then
22258 cat >>confdefs.h <<\_ACEOF
22259 #define WORDS_BIGENDIAN 1
22260 _ACEOF
22261
22262 fi
22263
22264
22265 ac_ext=cc
22266 ac_cpp='$CXXCPP $CPPFLAGS'
22267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22270 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22271 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22272 if test -z "$CXXCPP"; then
22273 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 # Double quotes because CXXCPP needs to be expanded
22277 for CXXCPP in "$CXX -E" "/lib/cpp"
22278 do
22279 ac_preproc_ok=false
22280 for ac_cxx_preproc_warn_flag in '' yes
22281 do
22282 # Use a header file that comes with gcc, so configuring glibc
22283 # with a fresh cross-compiler works.
22284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22285 # <limits.h> exists even on freestanding compilers.
22286 # On the NeXT, cc -E runs the code through the compiler's parser,
22287 # not just through cpp. "Syntax error" is here to catch this case.
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h. */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 #ifdef __STDC__
22295 # include <limits.h>
22296 #else
22297 # include <assert.h>
22298 #endif
22299 Syntax error
22300 _ACEOF
22301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22303 ac_status=$?
22304 grep -v '^ *+' conftest.er1 >conftest.err
22305 rm -f conftest.er1
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } >/dev/null; then
22309 if test -s conftest.err; then
22310 ac_cpp_err=$ac_cxx_preproc_warn_flag
22311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22312 else
22313 ac_cpp_err=
22314 fi
22315 else
22316 ac_cpp_err=yes
22317 fi
22318 if test -z "$ac_cpp_err"; then
22319 :
22320 else
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22323
22324 # Broken: fails on valid input.
22325 continue
22326 fi
22327 rm -f conftest.err conftest.$ac_ext
22328
22329 # OK, works on sane cases. Now check whether non-existent headers
22330 # can be detected and how.
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #include <ac_nonexistent.h>
22338 _ACEOF
22339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } >/dev/null; then
22347 if test -s conftest.err; then
22348 ac_cpp_err=$ac_cxx_preproc_warn_flag
22349 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22350 else
22351 ac_cpp_err=
22352 fi
22353 else
22354 ac_cpp_err=yes
22355 fi
22356 if test -z "$ac_cpp_err"; then
22357 # Broken: success on invalid input.
22358 continue
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 # Passes both tests.
22364 ac_preproc_ok=:
22365 break
22366 fi
22367 rm -f conftest.err conftest.$ac_ext
22368
22369 done
22370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22371 rm -f conftest.err conftest.$ac_ext
22372 if $ac_preproc_ok; then
22373 break
22374 fi
22375
22376 done
22377 ac_cv_prog_CXXCPP=$CXXCPP
22378
22379 fi
22380 CXXCPP=$ac_cv_prog_CXXCPP
22381 else
22382 ac_cv_prog_CXXCPP=$CXXCPP
22383 fi
22384 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22385 echo "${ECHO_T}$CXXCPP" >&6
22386 ac_preproc_ok=false
22387 for ac_cxx_preproc_warn_flag in '' yes
22388 do
22389 # Use a header file that comes with gcc, so configuring glibc
22390 # with a fresh cross-compiler works.
22391 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22392 # <limits.h> exists even on freestanding compilers.
22393 # On the NeXT, cc -E runs the code through the compiler's parser,
22394 # not just through cpp. "Syntax error" is here to catch this case.
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401 #ifdef __STDC__
22402 # include <limits.h>
22403 #else
22404 # include <assert.h>
22405 #endif
22406 Syntax error
22407 _ACEOF
22408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22410 ac_status=$?
22411 grep -v '^ *+' conftest.er1 >conftest.err
22412 rm -f conftest.er1
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } >/dev/null; then
22416 if test -s conftest.err; then
22417 ac_cpp_err=$ac_cxx_preproc_warn_flag
22418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22419 else
22420 ac_cpp_err=
22421 fi
22422 else
22423 ac_cpp_err=yes
22424 fi
22425 if test -z "$ac_cpp_err"; then
22426 :
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 # Broken: fails on valid input.
22432 continue
22433 fi
22434 rm -f conftest.err conftest.$ac_ext
22435
22436 # OK, works on sane cases. Now check whether non-existent headers
22437 # can be detected and how.
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 #include <ac_nonexistent.h>
22445 _ACEOF
22446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } >/dev/null; then
22454 if test -s conftest.err; then
22455 ac_cpp_err=$ac_cxx_preproc_warn_flag
22456 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22457 else
22458 ac_cpp_err=
22459 fi
22460 else
22461 ac_cpp_err=yes
22462 fi
22463 if test -z "$ac_cpp_err"; then
22464 # Broken: success on invalid input.
22465 continue
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 # Passes both tests.
22471 ac_preproc_ok=:
22472 break
22473 fi
22474 rm -f conftest.err conftest.$ac_ext
22475
22476 done
22477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22478 rm -f conftest.err conftest.$ac_ext
22479 if $ac_preproc_ok; then
22480 :
22481 else
22482 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22483 See \`config.log' for more details." >&5
22484 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22485 See \`config.log' for more details." >&2;}
22486 { (exit 1); exit 1; }; }
22487 fi
22488
22489 ac_ext=cc
22490 ac_cpp='$CXXCPP $CPPFLAGS'
22491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22494
22495
22496
22497
22498
22499 ac_ext=cc
22500 ac_cpp='$CXXCPP $CPPFLAGS'
22501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22504
22505
22506
22507 for ac_header in iostream
22508 do
22509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22511 echo "$as_me:$LINENO: checking for $ac_header" >&5
22512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22515 fi
22516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22518 else
22519 # Is the header compilable?
22520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22522 cat >conftest.$ac_ext <<_ACEOF
22523 /* confdefs.h. */
22524 _ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 $ac_includes_default
22529 #include <$ac_header>
22530 _ACEOF
22531 rm -f conftest.$ac_objext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22533 (eval $ac_compile) 2>conftest.er1
22534 ac_status=$?
22535 grep -v '^ *+' conftest.er1 >conftest.err
22536 rm -f conftest.er1
22537 cat conftest.err >&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try='test -s conftest.$ac_objext'
22547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22548 (eval $ac_try) 2>&5
22549 ac_status=$?
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); }; }; then
22552 ac_header_compiler=yes
22553 else
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ac_header_compiler=no
22558 fi
22559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22561 echo "${ECHO_T}$ac_header_compiler" >&6
22562
22563 # Is the header present?
22564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22566 cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h. */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h. */
22572 #include <$ac_header>
22573 _ACEOF
22574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22576 ac_status=$?
22577 grep -v '^ *+' conftest.er1 >conftest.err
22578 rm -f conftest.er1
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } >/dev/null; then
22582 if test -s conftest.err; then
22583 ac_cpp_err=$ac_cxx_preproc_warn_flag
22584 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22585 else
22586 ac_cpp_err=
22587 fi
22588 else
22589 ac_cpp_err=yes
22590 fi
22591 if test -z "$ac_cpp_err"; then
22592 ac_header_preproc=yes
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22596
22597 ac_header_preproc=no
22598 fi
22599 rm -f conftest.err conftest.$ac_ext
22600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22601 echo "${ECHO_T}$ac_header_preproc" >&6
22602
22603 # So? What about this header?
22604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22605 yes:no: )
22606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22610 ac_header_preproc=yes
22611 ;;
22612 no:yes:* )
22613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22625 (
22626 cat <<\_ASBOX
22627 ## ----------------------------------------- ##
22628 ## Report this to wx-dev@lists.wxwidgets.org ##
22629 ## ----------------------------------------- ##
22630 _ASBOX
22631 ) |
22632 sed "s/^/$as_me: WARNING: /" >&2
22633 ;;
22634 esac
22635 echo "$as_me:$LINENO: checking for $ac_header" >&5
22636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22638 echo $ECHO_N "(cached) $ECHO_C" >&6
22639 else
22640 eval "$as_ac_Header=\$ac_header_preproc"
22641 fi
22642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22644
22645 fi
22646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22647 cat >>confdefs.h <<_ACEOF
22648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22649 _ACEOF
22650
22651 fi
22652
22653 done
22654
22655
22656 if test "$ac_cv_header_iostream" = "yes" ; then
22657 :
22658 else
22659 cat >>confdefs.h <<\_ACEOF
22660 #define wxUSE_IOSTREAMH 1
22661 _ACEOF
22662
22663 fi
22664
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22670
22671
22672
22673
22674 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22675 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22676 if test "${wx_cv_cpp_bool+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679
22680
22681
22682 ac_ext=cc
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22687
22688
22689 cat >conftest.$ac_ext <<_ACEOF
22690 /* confdefs.h. */
22691 _ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695
22696
22697 int
22698 main ()
22699 {
22700
22701 bool b = true;
22702
22703 return 0;
22704
22705 ;
22706 return 0;
22707 }
22708 _ACEOF
22709 rm -f conftest.$ac_objext
22710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22711 (eval $ac_compile) 2>conftest.er1
22712 ac_status=$?
22713 grep -v '^ *+' conftest.er1 >conftest.err
22714 rm -f conftest.er1
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } &&
22718 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22721 ac_status=$?
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22727 ac_status=$?
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22730
22731 wx_cv_cpp_bool=yes
22732
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737
22738 wx_cv_cpp_bool=no
22739
22740
22741 fi
22742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22743
22744 ac_ext=c
22745 ac_cpp='$CPP $CPPFLAGS'
22746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22749
22750
22751 fi
22752 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22753 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22754
22755 if test "$wx_cv_cpp_bool" = "yes"; then
22756 cat >>confdefs.h <<\_ACEOF
22757 #define HAVE_BOOL 1
22758 _ACEOF
22759
22760 fi
22761
22762
22763
22764 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22765 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22766 if test "${wx_cv_explicit+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 else
22769
22770
22771
22772 ac_ext=cc
22773 ac_cpp='$CXXCPP $CPPFLAGS'
22774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22777
22778
22779 cat >conftest.$ac_ext <<_ACEOF
22780 /* confdefs.h. */
22781 _ACEOF
22782 cat confdefs.h >>conftest.$ac_ext
22783 cat >>conftest.$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785
22786 class Foo { public: explicit Foo(int) {} };
22787
22788 int
22789 main ()
22790 {
22791
22792 return 0;
22793
22794 ;
22795 return 0;
22796 }
22797 _ACEOF
22798 rm -f conftest.$ac_objext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22800 (eval $ac_compile) 2>conftest.er1
22801 ac_status=$?
22802 grep -v '^ *+' conftest.er1 >conftest.err
22803 rm -f conftest.er1
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22810 ac_status=$?
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; } &&
22813 { ac_try='test -s conftest.$ac_objext'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; }; then
22819
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826
22827 class Foo { public: explicit Foo(int) {} };
22828 static void TakeFoo(const Foo& foo) { }
22829
22830 int
22831 main ()
22832 {
22833
22834 TakeFoo(17);
22835 return 0;
22836
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest.$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22844 ac_status=$?
22845 grep -v '^ *+' conftest.er1 >conftest.err
22846 rm -f conftest.er1
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22862 wx_cv_explicit=no
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 wx_cv_explicit=yes
22868
22869 fi
22870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22871
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 wx_cv_explicit=no
22877
22878 fi
22879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22880
22881 ac_ext=c
22882 ac_cpp='$CPP $CPPFLAGS'
22883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886
22887
22888 fi
22889 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22890 echo "${ECHO_T}$wx_cv_explicit" >&6
22891
22892 if test "$wx_cv_explicit" = "yes"; then
22893 cat >>confdefs.h <<\_ACEOF
22894 #define HAVE_EXPLICIT 1
22895 _ACEOF
22896
22897 fi
22898
22899
22900 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22901 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22902 if test "${ac_cv_cxx_const_cast+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 else
22905
22906
22907 ac_ext=cc
22908 ac_cpp='$CXXCPP $CPPFLAGS'
22909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919
22920 int
22921 main ()
22922 {
22923 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22924 ;
22925 return 0;
22926 }
22927 _ACEOF
22928 rm -f conftest.$ac_objext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22930 (eval $ac_compile) 2>conftest.er1
22931 ac_status=$?
22932 grep -v '^ *+' conftest.er1 >conftest.err
22933 rm -f conftest.er1
22934 cat conftest.err >&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_cv_cxx_const_cast=yes
22950 else
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.$ac_ext >&5
22953
22954 ac_cv_cxx_const_cast=no
22955 fi
22956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22957 ac_ext=c
22958 ac_cpp='$CPP $CPPFLAGS'
22959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22962
22963
22964 fi
22965 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22966 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22967 if test "$ac_cv_cxx_const_cast" = yes; then
22968
22969 cat >>confdefs.h <<\_ACEOF
22970 #define HAVE_CONST_CAST
22971 _ACEOF
22972
22973 fi
22974
22975 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22976 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22977 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22978 echo $ECHO_N "(cached) $ECHO_C" >&6
22979 else
22980
22981
22982 ac_ext=cc
22983 ac_cpp='$CXXCPP $CPPFLAGS'
22984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22987
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 #include <typeinfo>
22995 class Base { public : Base () {} virtual void f () = 0;};
22996 class Derived : public Base { public : Derived () {} virtual void f () {} };
22997 class Unrelated { public : Unrelated () {} };
22998 int g (Unrelated&) { return 0; }
22999 int
23000 main ()
23001 {
23002
23003 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23004 ;
23005 return 0;
23006 }
23007 _ACEOF
23008 rm -f conftest.$ac_objext
23009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23010 (eval $ac_compile) 2>conftest.er1
23011 ac_status=$?
23012 grep -v '^ *+' conftest.er1 >conftest.err
23013 rm -f conftest.er1
23014 cat conftest.err >&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); } &&
23017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; } &&
23023 { ac_try='test -s conftest.$ac_objext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23026 ac_status=$?
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 ac_cv_cxx_reinterpret_cast=yes
23030 else
23031 echo "$as_me: failed program was:" >&5
23032 sed 's/^/| /' conftest.$ac_ext >&5
23033
23034 ac_cv_cxx_reinterpret_cast=no
23035 fi
23036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23037 ac_ext=c
23038 ac_cpp='$CPP $CPPFLAGS'
23039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23042
23043
23044 fi
23045 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23046 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23047 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23048
23049 cat >>confdefs.h <<\_ACEOF
23050 #define HAVE_REINTERPRET_CAST
23051 _ACEOF
23052
23053 fi
23054
23055 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23056 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23057 if test "${ac_cv_cxx_static_cast+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 else
23060
23061
23062 ac_ext=cc
23063 ac_cpp='$CXXCPP $CPPFLAGS'
23064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23067
23068 cat >conftest.$ac_ext <<_ACEOF
23069 /* confdefs.h. */
23070 _ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 #include <typeinfo>
23075 class Base { public : Base () {} virtual void f () = 0; };
23076 class Derived : public Base { public : Derived () {} virtual void f () {} };
23077 int g (Derived&) { return 0; }
23078 int
23079 main ()
23080 {
23081
23082 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23083 ;
23084 return 0;
23085 }
23086 _ACEOF
23087 rm -f conftest.$ac_objext
23088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23089 (eval $ac_compile) 2>conftest.er1
23090 ac_status=$?
23091 grep -v '^ *+' conftest.er1 >conftest.err
23092 rm -f conftest.er1
23093 cat conftest.err >&5
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); } &&
23096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23105 ac_status=$?
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_cxx_static_cast=yes
23109 else
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.$ac_ext >&5
23112
23113 ac_cv_cxx_static_cast=no
23114 fi
23115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123 fi
23124 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23125 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23126 if test "$ac_cv_cxx_static_cast" = yes; then
23127
23128 cat >>confdefs.h <<\_ACEOF
23129 #define HAVE_STATIC_CAST
23130 _ACEOF
23131
23132 fi
23133
23134
23135 if test "x$SUNCXX" = xyes; then
23136 CXXFLAGS="-features=tmplife $CXXFLAGS"
23137 fi
23138
23139 if test "x$SUNCC" = xyes; then
23140 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23141 fi
23142
23143 if test "x$SGICC" = "xyes"; then
23144 CFLAGS="-woff 3970 $CFLAGS"
23145 fi
23146 if test "x$SGICXX" = "xyes"; then
23147 CXXFLAGS="-woff 3970 $CXXFLAGS"
23148 fi
23149
23150 if test "x$HPCC" = "xyes"; then
23151 CFLAGS="+W 2011,2450 $CFLAGS"
23152 fi
23153 if test "x$HPCXX" = "xyes"; then
23154 CXXFLAGS="+W 2340 $CXXFLAGS"
23155 fi
23156
23157 if test "x$COMPAQCXX" = "xyes"; then
23158 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23159 fi
23160
23161 ac_ext=cc
23162 ac_cpp='$CXXCPP $CPPFLAGS'
23163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166
23167
23168 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23169 if test "$wxUSE_UNICODE" = "yes"; then
23170 std_string="std::wstring"
23171 char_type="wchar_t"
23172 else
23173 std_string="std::string"
23174 char_type="char"
23175 fi
23176
23177 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23178 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23179 if test "${wx_cv_class_stdstring+set}" = set; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 else
23182
23183 cat >conftest.$ac_ext <<_ACEOF
23184 /* confdefs.h. */
23185 _ACEOF
23186 cat confdefs.h >>conftest.$ac_ext
23187 cat >>conftest.$ac_ext <<_ACEOF
23188 /* end confdefs.h. */
23189 #include <string>
23190 int
23191 main ()
23192 {
23193 $std_string foo;
23194 ;
23195 return 0;
23196 }
23197 _ACEOF
23198 rm -f conftest.$ac_objext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23200 (eval $ac_compile) 2>conftest.er1
23201 ac_status=$?
23202 grep -v '^ *+' conftest.er1 >conftest.err
23203 rm -f conftest.er1
23204 cat conftest.err >&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); } &&
23207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23209 (eval $ac_try) 2>&5
23210 ac_status=$?
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); }; } &&
23213 { ac_try='test -s conftest.$ac_objext'
23214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23215 (eval $ac_try) 2>&5
23216 ac_status=$?
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; }; then
23219 wx_cv_class_stdstring=yes
23220 else
23221 echo "$as_me: failed program was:" >&5
23222 sed 's/^/| /' conftest.$ac_ext >&5
23223
23224 wx_cv_class_stdstring=no
23225
23226 fi
23227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23228
23229
23230 fi
23231 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23232 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23233
23234 if test "$wx_cv_class_stdstring" = yes; then
23235 if test "$wxUSE_UNICODE" = "yes"; then
23236 cat >>confdefs.h <<\_ACEOF
23237 #define HAVE_STD_WSTRING 1
23238 _ACEOF
23239
23240 fi
23241 else
23242 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23243 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23244 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23245 echo $ECHO_N "(cached) $ECHO_C" >&6
23246 else
23247
23248 cat >conftest.$ac_ext <<_ACEOF
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254
23255 #ifdef HAVE_WCHAR_H
23256 # ifdef __CYGWIN__
23257 # include <stddef.h>
23258 # endif
23259 # include <wchar.h>
23260 #endif
23261 #ifdef HAVE_STDLIB_H
23262 # include <stdlib.h>
23263 #endif
23264 #include <stdio.h>
23265 #include <string>
23266
23267 int
23268 main ()
23269 {
23270 std::basic_string<$char_type> foo;
23271 const $char_type* dummy = foo.c_str();
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext
23277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23278 (eval $ac_compile) 2>conftest.er1
23279 ac_status=$?
23280 grep -v '^ *+' conftest.er1 >conftest.err
23281 rm -f conftest.er1
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23287 (eval $ac_try) 2>&5
23288 ac_status=$?
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; } &&
23291 { ac_try='test -s conftest.$ac_objext'
23292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23293 (eval $ac_try) 2>&5
23294 ac_status=$?
23295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23296 (exit $ac_status); }; }; then
23297 wx_cv_class_stdbasicstring=yes
23298 else
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.$ac_ext >&5
23301
23302 wx_cv_class_stdbasicstring=no
23303
23304 fi
23305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23306
23307
23308 fi
23309 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23310 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23311
23312 if test "$wx_cv_class_stdbasicstring" != yes; then
23313 if test "$wxUSE_STL" = "yes"; then
23314 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23315 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23316 { (exit 1); exit 1; }; }
23317 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23318 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23319 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23320 { (exit 1); exit 1; }; }
23321 else
23322 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23323 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23324 wxUSE_STD_STRING=no
23325 fi
23326 fi
23327 fi
23328 fi
23329
23330 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23331 echo "$as_me:$LINENO: checking for std::istream" >&5
23332 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23333 if test "${ac_cv_type_std__istream+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 else
23336 cat >conftest.$ac_ext <<_ACEOF
23337 /* confdefs.h. */
23338 _ACEOF
23339 cat confdefs.h >>conftest.$ac_ext
23340 cat >>conftest.$ac_ext <<_ACEOF
23341 /* end confdefs.h. */
23342 #include <iostream>
23343
23344 int
23345 main ()
23346 {
23347 if ((std::istream *) 0)
23348 return 0;
23349 if (sizeof (std::istream))
23350 return 0;
23351 ;
23352 return 0;
23353 }
23354 _ACEOF
23355 rm -f conftest.$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23358 ac_status=$?
23359 grep -v '^ *+' conftest.er1 >conftest.err
23360 rm -f conftest.er1
23361 cat conftest.err >&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23367 ac_status=$?
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; } &&
23370 { ac_try='test -s conftest.$ac_objext'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_type_std__istream=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23380
23381 ac_cv_type_std__istream=no
23382 fi
23383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23384 fi
23385 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23386 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23387 if test $ac_cv_type_std__istream = yes; then
23388
23389 cat >>confdefs.h <<_ACEOF
23390 #define HAVE_STD__ISTREAM 1
23391 _ACEOF
23392
23393
23394 else
23395 wxUSE_STD_IOSTREAM=no
23396 fi
23397 echo "$as_me:$LINENO: checking for std::ostream" >&5
23398 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23399 if test "${ac_cv_type_std__ostream+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 #include <iostream>
23409
23410 int
23411 main ()
23412 {
23413 if ((std::ostream *) 0)
23414 return 0;
23415 if (sizeof (std::ostream))
23416 return 0;
23417 ;
23418 return 0;
23419 }
23420 _ACEOF
23421 rm -f conftest.$ac_objext
23422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23423 (eval $ac_compile) 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } &&
23430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 ac_cv_type_std__ostream=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 ac_cv_type_std__ostream=no
23448 fi
23449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23450 fi
23451 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23452 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23453 if test $ac_cv_type_std__ostream = yes; then
23454
23455 cat >>confdefs.h <<_ACEOF
23456 #define HAVE_STD__OSTREAM 1
23457 _ACEOF
23458
23459
23460 else
23461 wxUSE_STD_IOSTREAM=no
23462 fi
23463
23464
23465 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23466 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23467 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23468 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23469 { (exit 1); exit 1; }; }
23470 else
23471 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23472 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23473 fi
23474 fi
23475 fi
23476
23477 if test "$wxUSE_STL" = "yes"; then
23478 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23479 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23480 if test "${wx_cv_lib_stl+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 cat >conftest.$ac_ext <<_ACEOF
23484 /* confdefs.h. */
23485 _ACEOF
23486 cat confdefs.h >>conftest.$ac_ext
23487 cat >>conftest.$ac_ext <<_ACEOF
23488 /* end confdefs.h. */
23489 #include <string>
23490 #include <functional>
23491 #include <algorithm>
23492 #include <vector>
23493 #include <list>
23494 int
23495 main ()
23496 {
23497 std::vector<int> moo;
23498 std::list<int> foo;
23499 std::vector<int>::iterator it =
23500 std::find_if(moo.begin(), moo.end(),
23501 std::bind2nd(std::less<int>(), 3));
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>conftest.er1
23509 ac_status=$?
23510 grep -v '^ *+' conftest.er1 >conftest.err
23511 rm -f conftest.er1
23512 cat conftest.err >&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517 (eval $ac_try) 2>&5
23518 ac_status=$?
23519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520 (exit $ac_status); }; } &&
23521 { ac_try='test -s conftest.$ac_objext'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23524 ac_status=$?
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; }; then
23527 wx_cv_lib_stl=yes
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 wx_cv_lib_stl=no
23533
23534 fi
23535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23536
23537 fi
23538 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23539 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23540
23541 if test "$wx_cv_lib_stl" != yes; then
23542 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23543 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23544 { (exit 1); exit 1; }; }
23545 fi
23546
23547 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23548 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23549 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 else
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 #include <string>
23559 int
23560 main ()
23561 {
23562 std::string foo, bar;
23563 foo.compare(bar);
23564 foo.compare(1, 1, bar);
23565 foo.compare(1, 1, bar, 1, 1);
23566 foo.compare("");
23567 foo.compare(1, 1, "");
23568 foo.compare(1, 1, "", 2);
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23584 (eval $ac_try) 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try='test -s conftest.$ac_objext'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; }; then
23594 wx_cv_func_stdstring_compare=yes
23595 else
23596 echo "$as_me: failed program was:" >&5
23597 sed 's/^/| /' conftest.$ac_ext >&5
23598
23599 wx_cv_func_stdstring_compare=no
23600
23601 fi
23602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23603
23604 fi
23605 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23606 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23607
23608 if test "$wx_cv_func_stdstring_compare" = yes; then
23609 cat >>confdefs.h <<\_ACEOF
23610 #define HAVE_STD_STRING_COMPARE 1
23611 _ACEOF
23612
23613 fi
23614
23615 if test "${ac_cv_header_hash_map+set}" = set; then
23616 echo "$as_me:$LINENO: checking for hash_map" >&5
23617 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23618 if test "${ac_cv_header_hash_map+set}" = set; then
23619 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 fi
23621 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23622 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23623 else
23624 # Is the header compilable?
23625 echo "$as_me:$LINENO: checking hash_map usability" >&5
23626 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23627 cat >conftest.$ac_ext <<_ACEOF
23628 /* confdefs.h. */
23629 _ACEOF
23630 cat confdefs.h >>conftest.$ac_ext
23631 cat >>conftest.$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 $ac_includes_default
23634 #include <hash_map>
23635 _ACEOF
23636 rm -f conftest.$ac_objext
23637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23638 (eval $ac_compile) 2>conftest.er1
23639 ac_status=$?
23640 grep -v '^ *+' conftest.er1 >conftest.err
23641 rm -f conftest.er1
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } &&
23645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23648 ac_status=$?
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try='test -s conftest.$ac_objext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 ac_header_compiler=yes
23658 else
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23661
23662 ac_header_compiler=no
23663 fi
23664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23666 echo "${ECHO_T}$ac_header_compiler" >&6
23667
23668 # Is the header present?
23669 echo "$as_me:$LINENO: checking hash_map presence" >&5
23670 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 #include <hash_map>
23678 _ACEOF
23679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23681 ac_status=$?
23682 grep -v '^ *+' conftest.er1 >conftest.err
23683 rm -f conftest.er1
23684 cat conftest.err >&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } >/dev/null; then
23687 if test -s conftest.err; then
23688 ac_cpp_err=$ac_cxx_preproc_warn_flag
23689 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23690 else
23691 ac_cpp_err=
23692 fi
23693 else
23694 ac_cpp_err=yes
23695 fi
23696 if test -z "$ac_cpp_err"; then
23697 ac_header_preproc=yes
23698 else
23699 echo "$as_me: failed program was:" >&5
23700 sed 's/^/| /' conftest.$ac_ext >&5
23701
23702 ac_header_preproc=no
23703 fi
23704 rm -f conftest.err conftest.$ac_ext
23705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23706 echo "${ECHO_T}$ac_header_preproc" >&6
23707
23708 # So? What about this header?
23709 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23710 yes:no: )
23711 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23712 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23713 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23714 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23715 ac_header_preproc=yes
23716 ;;
23717 no:yes:* )
23718 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23719 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23720 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23721 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23722 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23723 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23724 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23725 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23727 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23728 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23729 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23730 (
23731 cat <<\_ASBOX
23732 ## ----------------------------------------- ##
23733 ## Report this to wx-dev@lists.wxwidgets.org ##
23734 ## ----------------------------------------- ##
23735 _ASBOX
23736 ) |
23737 sed "s/^/$as_me: WARNING: /" >&2
23738 ;;
23739 esac
23740 echo "$as_me:$LINENO: checking for hash_map" >&5
23741 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23742 if test "${ac_cv_header_hash_map+set}" = set; then
23743 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 else
23745 ac_cv_header_hash_map=$ac_header_preproc
23746 fi
23747 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23748 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23749
23750 fi
23751 if test $ac_cv_header_hash_map = yes; then
23752 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23753 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23754 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 #include <hash_map>
23764 #include <hash_set>
23765 int
23766 main ()
23767 {
23768 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23769 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23770 ;
23771 return 0;
23772 }
23773 _ACEOF
23774 rm -f conftest.$ac_objext
23775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23776 (eval $ac_compile) 2>conftest.er1
23777 ac_status=$?
23778 grep -v '^ *+' conftest.er1 >conftest.err
23779 rm -f conftest.er1
23780 cat conftest.err >&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } &&
23783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23786 ac_status=$?
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; } &&
23789 { ac_try='test -s conftest.$ac_objext'
23790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791 (eval $ac_try) 2>&5
23792 ac_status=$?
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; }; then
23795 wx_cv_class_stdhashmapset=yes
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 wx_cv_class_stdhashmapset=no
23801 fi
23802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23803
23804
23805 fi
23806 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23807 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23808
23809 fi
23810
23811
23812
23813 if test "$wx_cv_class_stdhashmapset" = yes; then
23814 cat >>confdefs.h <<\_ACEOF
23815 #define HAVE_HASH_MAP 1
23816 _ACEOF
23817
23818 cat >>confdefs.h <<\_ACEOF
23819 #define HAVE_STD_HASH_MAP 1
23820 _ACEOF
23821
23822 fi
23823
23824 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23825 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23826 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23827 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 fi
23830 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23831 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23832 else
23833 # Is the header compilable?
23834 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23835 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 #include <ext/hash_map>
23844 _ACEOF
23845 rm -f conftest.$ac_objext
23846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23847 (eval $ac_compile) 2>conftest.er1
23848 ac_status=$?
23849 grep -v '^ *+' conftest.er1 >conftest.err
23850 rm -f conftest.er1
23851 cat conftest.err >&5
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); } &&
23854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23856 (eval $ac_try) 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); }; } &&
23860 { ac_try='test -s conftest.$ac_objext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866 ac_header_compiler=yes
23867 else
23868 echo "$as_me: failed program was:" >&5
23869 sed 's/^/| /' conftest.$ac_ext >&5
23870
23871 ac_header_compiler=no
23872 fi
23873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23875 echo "${ECHO_T}$ac_header_compiler" >&6
23876
23877 # Is the header present?
23878 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23879 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23880 cat >conftest.$ac_ext <<_ACEOF
23881 /* confdefs.h. */
23882 _ACEOF
23883 cat confdefs.h >>conftest.$ac_ext
23884 cat >>conftest.$ac_ext <<_ACEOF
23885 /* end confdefs.h. */
23886 #include <ext/hash_map>
23887 _ACEOF
23888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23890 ac_status=$?
23891 grep -v '^ *+' conftest.er1 >conftest.err
23892 rm -f conftest.er1
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } >/dev/null; then
23896 if test -s conftest.err; then
23897 ac_cpp_err=$ac_cxx_preproc_warn_flag
23898 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23899 else
23900 ac_cpp_err=
23901 fi
23902 else
23903 ac_cpp_err=yes
23904 fi
23905 if test -z "$ac_cpp_err"; then
23906 ac_header_preproc=yes
23907 else
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.$ac_ext >&5
23910
23911 ac_header_preproc=no
23912 fi
23913 rm -f conftest.err conftest.$ac_ext
23914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23915 echo "${ECHO_T}$ac_header_preproc" >&6
23916
23917 # So? What about this header?
23918 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23919 yes:no: )
23920 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23921 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23922 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23923 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23924 ac_header_preproc=yes
23925 ;;
23926 no:yes:* )
23927 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23928 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23929 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23930 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23931 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23932 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23933 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23934 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23935 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23936 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23937 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23938 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23939 (
23940 cat <<\_ASBOX
23941 ## ----------------------------------------- ##
23942 ## Report this to wx-dev@lists.wxwidgets.org ##
23943 ## ----------------------------------------- ##
23944 _ASBOX
23945 ) |
23946 sed "s/^/$as_me: WARNING: /" >&2
23947 ;;
23948 esac
23949 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23950 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23951 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 else
23954 ac_cv_header_ext_hash_map=$ac_header_preproc
23955 fi
23956 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23957 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23958
23959 fi
23960 if test $ac_cv_header_ext_hash_map = yes; then
23961 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23962 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23963 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966 cat >conftest.$ac_ext <<_ACEOF
23967 /* confdefs.h. */
23968 _ACEOF
23969 cat confdefs.h >>conftest.$ac_ext
23970 cat >>conftest.$ac_ext <<_ACEOF
23971 /* end confdefs.h. */
23972 #include <ext/hash_map>
23973 #include <ext/hash_set>
23974 int
23975 main ()
23976 {
23977 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23978 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23979 ;
23980 return 0;
23981 }
23982 _ACEOF
23983 rm -f conftest.$ac_objext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23985 (eval $ac_compile) 2>conftest.er1
23986 ac_status=$?
23987 grep -v '^ *+' conftest.er1 >conftest.err
23988 rm -f conftest.er1
23989 cat conftest.err >&5
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); } &&
23992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; } &&
23998 { ac_try='test -s conftest.$ac_objext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 wx_cv_class_gnuhashmapset=yes
24005 else
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24008
24009 wx_cv_class_gnuhashmapset=no
24010 fi
24011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24012
24013
24014 fi
24015 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24016 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24017
24018 fi
24019
24020
24021
24022 if test "$wx_cv_class_gnuhashmapset" = yes; then
24023 cat >>confdefs.h <<\_ACEOF
24024 #define HAVE_EXT_HASH_MAP 1
24025 _ACEOF
24026
24027 cat >>confdefs.h <<\_ACEOF
24028 #define HAVE_GNU_CXX_HASH_MAP 1
24029 _ACEOF
24030
24031 fi
24032 fi
24033
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039
24040
24041
24042 SEARCH_INCLUDE="\
24043 /usr/local/include \
24044 \
24045 /usr/Motif-2.1/include \
24046 /usr/Motif-1.2/include \
24047 /usr/include/Motif1.2 \
24048 \
24049 /usr/dt/include \
24050 /usr/openwin/include \
24051 \
24052 /usr/include/Xm \
24053 \
24054 /usr/X11R6/include \
24055 /usr/X11R6.4/include \
24056 /usr/X11R5/include \
24057 /usr/X11R4/include \
24058 \
24059 /usr/include/X11R6 \
24060 /usr/include/X11R5 \
24061 /usr/include/X11R4 \
24062 \
24063 /usr/local/X11R6/include \
24064 /usr/local/X11R5/include \
24065 /usr/local/X11R4/include \
24066 \
24067 /usr/local/include/X11R6 \
24068 /usr/local/include/X11R5 \
24069 /usr/local/include/X11R4 \
24070 \
24071 /usr/X11/include \
24072 /usr/include/X11 \
24073 /usr/local/X11/include \
24074 /usr/local/include/X11 \
24075 \
24076 /usr/XFree86/include/X11 \
24077 /usr/pkg/include \
24078 \
24079 /usr/openwin/share/include"
24080
24081 echo "$as_me:$LINENO: checking for libraries directory" >&5
24082 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24083
24084 case "${host}" in
24085 *-*-irix6* )
24086 if test "${wx_cv_std_libpath+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 else
24089
24090 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24091 for e in a so sl dylib dll.a; do
24092 libc="$d/libc.$e"
24093 if test -f $libc; then
24094 save_LIBS="$LIBS"
24095 LIBS="$libc"
24096 cat >conftest.$ac_ext <<_ACEOF
24097 int main() { return 0; }
24098 _ACEOF
24099 rm -f conftest.$ac_objext conftest$ac_exeext
24100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24101 (eval $ac_link) 2>conftest.er1
24102 ac_status=$?
24103 grep -v '^ *+' conftest.er1 >conftest.err
24104 rm -f conftest.er1
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } &&
24108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24121 else
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24124
24125 fi
24126 rm -f conftest.err conftest.$ac_objext \
24127 conftest$ac_exeext conftest.$ac_ext
24128 LIBS="$save_LIBS"
24129 if test "x$wx_cv_std_libpath" != "x"; then
24130 break 2
24131 fi
24132 fi
24133 done
24134 done
24135 if test "x$wx_cv_std_libpath" = "x"; then
24136 wx_cv_std_libpath="lib"
24137 fi
24138
24139
24140 fi
24141
24142 ;;
24143
24144 *-*-solaris2* )
24145 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24146 wx_cv_std_libpath="lib/64"
24147 else
24148 wx_cv_std_libpath="lib"
24149 fi
24150 ;;
24151
24152 *-*-linux* )
24153 if test "$ac_cv_sizeof_void_p" = 8 -a \
24154 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24155 wx_cv_std_libpath="lib64"
24156 else
24157 wx_cv_std_libpath="lib"
24158 fi
24159 ;;
24160
24161 *)
24162 wx_cv_std_libpath="lib";
24163 ;;
24164 esac
24165
24166 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24167 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24168
24169 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24170
24171 if test "$build" != "$host" -a "$GCC" = yes; then
24172 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24173 cross_root=`dirname $cross_root`
24174 cross_root=`dirname $cross_root`
24175
24176 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24177 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24178 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24179
24180 if test -z "$PKG_CONFIG_PATH"; then
24181 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24182 export PKG_CONFIG_PATH
24183 fi
24184
24185 if test -z "$x_includes" -o "$x_includes" = NONE; then
24186
24187 ac_find_includes=
24188 for ac_dir in $SEARCH_INCLUDE /usr/include;
24189 do
24190 if test -f "$ac_dir/X11/Intrinsic.h"; then
24191 ac_find_includes=$ac_dir
24192 break
24193 fi
24194 done
24195
24196 x_includes=$ac_find_includes
24197 fi
24198 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24199
24200 ac_find_libraries=
24201 for ac_dir in $SEARCH_LIB;
24202 do
24203 for ac_extension in a so sl dylib dll.a; do
24204 if test -f "$ac_dir/libXt.$ac_extension"; then
24205 ac_find_libraries=$ac_dir
24206 break 2
24207 fi
24208 done
24209 done
24210
24211 x_libraries=$ac_find_libraries
24212 fi
24213 fi
24214 fi
24215
24216
24217 cat >confcache <<\_ACEOF
24218 # This file is a shell script that caches the results of configure
24219 # tests run on this system so they can be shared between configure
24220 # scripts and configure runs, see configure's option --config-cache.
24221 # It is not useful on other systems. If it contains results you don't
24222 # want to keep, you may remove or edit it.
24223 #
24224 # config.status only pays attention to the cache file if you give it
24225 # the --recheck option to rerun configure.
24226 #
24227 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24228 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24229 # following values.
24230
24231 _ACEOF
24232
24233 # The following way of writing the cache mishandles newlines in values,
24234 # but we know of no workaround that is simple, portable, and efficient.
24235 # So, don't put newlines in cache variables' values.
24236 # Ultrix sh set writes to stderr and can't be redirected directly,
24237 # and sets the high bit in the cache file unless we assign to the vars.
24238 {
24239 (set) 2>&1 |
24240 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24241 *ac_space=\ *)
24242 # `set' does not quote correctly, so add quotes (double-quote
24243 # substitution turns \\\\ into \\, and sed turns \\ into \).
24244 sed -n \
24245 "s/'/'\\\\''/g;
24246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24247 ;;
24248 *)
24249 # `set' quotes correctly as required by POSIX, so do not add quotes.
24250 sed -n \
24251 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24252 ;;
24253 esac;
24254 } |
24255 sed '
24256 t clear
24257 : clear
24258 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24259 t end
24260 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24261 : end' >>confcache
24262 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24263 if test -w $cache_file; then
24264 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24265 cat confcache >$cache_file
24266 else
24267 echo "not updating unwritable cache $cache_file"
24268 fi
24269 fi
24270 rm -f confcache
24271
24272 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24273 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24274 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24275 if test "${wx_cv_lib_glibc21+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 else
24278
24279 cat >conftest.$ac_ext <<_ACEOF
24280 /* confdefs.h. */
24281 _ACEOF
24282 cat confdefs.h >>conftest.$ac_ext
24283 cat >>conftest.$ac_ext <<_ACEOF
24284 /* end confdefs.h. */
24285 #include <features.h>
24286 int
24287 main ()
24288 {
24289
24290 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24291 not glibc 2.1
24292 #endif
24293
24294 ;
24295 return 0;
24296 }
24297 _ACEOF
24298 rm -f conftest.$ac_objext
24299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24300 (eval $ac_compile) 2>conftest.er1
24301 ac_status=$?
24302 grep -v '^ *+' conftest.er1 >conftest.err
24303 rm -f conftest.er1
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } &&
24307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24310 ac_status=$?
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; } &&
24313 { ac_try='test -s conftest.$ac_objext'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; }; then
24319
24320 wx_cv_lib_glibc21=yes
24321
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24325
24326
24327 wx_cv_lib_glibc21=no
24328
24329
24330 fi
24331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24332
24333 fi
24334 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24335 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24336 if test "$wx_cv_lib_glibc21" = "yes"; then
24337 cat >>confdefs.h <<\_ACEOF
24338 #define wxHAVE_GLIBC2 1
24339 _ACEOF
24340
24341 fi
24342 fi
24343
24344 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24345 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24346 cat >>confdefs.h <<\_ACEOF
24347 #define _GNU_SOURCE 1
24348 _ACEOF
24349
24350 fi
24351 fi
24352
24353 have_cos=0
24354 have_floor=0
24355
24356 for ac_func in cos
24357 do
24358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 echo "$as_me:$LINENO: checking for $ac_func" >&5
24360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24361 if eval "test \"\${$as_ac_var+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24372 #define $ac_func innocuous_$ac_func
24373
24374 /* System header to define __stub macros and hopefully few prototypes,
24375 which can conflict with char $ac_func (); below.
24376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24377 <limits.h> exists even on freestanding compilers. */
24378
24379 #ifdef __STDC__
24380 # include <limits.h>
24381 #else
24382 # include <assert.h>
24383 #endif
24384
24385 #undef $ac_func
24386
24387 /* Override any gcc2 internal prototype to avoid an error. */
24388 #ifdef __cplusplus
24389 extern "C"
24390 {
24391 #endif
24392 /* We use char because int might match the return type of a gcc2
24393 builtin and then its argument prototype would still apply. */
24394 char $ac_func ();
24395 /* The GNU C library defines this for functions which it implements
24396 to always fail with ENOSYS. Some functions are actually named
24397 something starting with __ and the normal name is an alias. */
24398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24399 choke me
24400 #else
24401 char (*f) () = $ac_func;
24402 #endif
24403 #ifdef __cplusplus
24404 }
24405 #endif
24406
24407 int
24408 main ()
24409 {
24410 return f != $ac_func;
24411 ;
24412 return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417 (eval $ac_link) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try='test -s conftest$ac_exeext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 eval "$as_ac_var=yes"
24437 else
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24440
24441 eval "$as_ac_var=no"
24442 fi
24443 rm -f conftest.err conftest.$ac_objext \
24444 conftest$ac_exeext conftest.$ac_ext
24445 fi
24446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24448 if test `eval echo '${'$as_ac_var'}'` = yes; then
24449 cat >>confdefs.h <<_ACEOF
24450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24451 _ACEOF
24452 have_cos=1
24453 fi
24454 done
24455
24456
24457 for ac_func in floor
24458 do
24459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24460 echo "$as_me:$LINENO: checking for $ac_func" >&5
24461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24462 if eval "test \"\${$as_ac_var+set}\" = set"; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 else
24465 cat >conftest.$ac_ext <<_ACEOF
24466 /* confdefs.h. */
24467 _ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24473 #define $ac_func innocuous_$ac_func
24474
24475 /* System header to define __stub macros and hopefully few prototypes,
24476 which can conflict with char $ac_func (); below.
24477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24478 <limits.h> exists even on freestanding compilers. */
24479
24480 #ifdef __STDC__
24481 # include <limits.h>
24482 #else
24483 # include <assert.h>
24484 #endif
24485
24486 #undef $ac_func
24487
24488 /* Override any gcc2 internal prototype to avoid an error. */
24489 #ifdef __cplusplus
24490 extern "C"
24491 {
24492 #endif
24493 /* We use char because int might match the return type of a gcc2
24494 builtin and then its argument prototype would still apply. */
24495 char $ac_func ();
24496 /* The GNU C library defines this for functions which it implements
24497 to always fail with ENOSYS. Some functions are actually named
24498 something starting with __ and the normal name is an alias. */
24499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24500 choke me
24501 #else
24502 char (*f) () = $ac_func;
24503 #endif
24504 #ifdef __cplusplus
24505 }
24506 #endif
24507
24508 int
24509 main ()
24510 {
24511 return f != $ac_func;
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 rm -f conftest.$ac_objext conftest$ac_exeext
24517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24518 (eval $ac_link) 2>conftest.er1
24519 ac_status=$?
24520 grep -v '^ *+' conftest.er1 >conftest.err
24521 rm -f conftest.er1
24522 cat conftest.err >&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); } &&
24525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24528 ac_status=$?
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; } &&
24531 { ac_try='test -s conftest$ac_exeext'
24532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24533 (eval $ac_try) 2>&5
24534 ac_status=$?
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); }; }; then
24537 eval "$as_ac_var=yes"
24538 else
24539 echo "$as_me: failed program was:" >&5
24540 sed 's/^/| /' conftest.$ac_ext >&5
24541
24542 eval "$as_ac_var=no"
24543 fi
24544 rm -f conftest.err conftest.$ac_objext \
24545 conftest$ac_exeext conftest.$ac_ext
24546 fi
24547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24549 if test `eval echo '${'$as_ac_var'}'` = yes; then
24550 cat >>confdefs.h <<_ACEOF
24551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24552 _ACEOF
24553 have_floor=1
24554 fi
24555 done
24556
24557 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24558 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24559 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24560 echo "$as_me:$LINENO: result: yes" >&5
24561 echo "${ECHO_T}yes" >&6
24562 else
24563 echo "$as_me:$LINENO: result: no" >&5
24564 echo "${ECHO_T}no" >&6
24565 LIBS="$LIBS -lm"
24566 # use different functions to avoid configure caching
24567 have_sin=0
24568 have_ceil=0
24569
24570 for ac_func in sin
24571 do
24572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24573 echo "$as_me:$LINENO: checking for $ac_func" >&5
24574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24575 if eval "test \"\${$as_ac_var+set}\" = set"; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24577 else
24578 cat >conftest.$ac_ext <<_ACEOF
24579 /* confdefs.h. */
24580 _ACEOF
24581 cat confdefs.h >>conftest.$ac_ext
24582 cat >>conftest.$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24586 #define $ac_func innocuous_$ac_func
24587
24588 /* System header to define __stub macros and hopefully few prototypes,
24589 which can conflict with char $ac_func (); below.
24590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24591 <limits.h> exists even on freestanding compilers. */
24592
24593 #ifdef __STDC__
24594 # include <limits.h>
24595 #else
24596 # include <assert.h>
24597 #endif
24598
24599 #undef $ac_func
24600
24601 /* Override any gcc2 internal prototype to avoid an error. */
24602 #ifdef __cplusplus
24603 extern "C"
24604 {
24605 #endif
24606 /* We use char because int might match the return type of a gcc2
24607 builtin and then its argument prototype would still apply. */
24608 char $ac_func ();
24609 /* The GNU C library defines this for functions which it implements
24610 to always fail with ENOSYS. Some functions are actually named
24611 something starting with __ and the normal name is an alias. */
24612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24613 choke me
24614 #else
24615 char (*f) () = $ac_func;
24616 #endif
24617 #ifdef __cplusplus
24618 }
24619 #endif
24620
24621 int
24622 main ()
24623 {
24624 return f != $ac_func;
24625 ;
24626 return 0;
24627 }
24628 _ACEOF
24629 rm -f conftest.$ac_objext conftest$ac_exeext
24630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24631 (eval $ac_link) 2>conftest.er1
24632 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1
24635 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } &&
24638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 eval "$as_ac_var=yes"
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 eval "$as_ac_var=no"
24656 fi
24657 rm -f conftest.err conftest.$ac_objext \
24658 conftest$ac_exeext conftest.$ac_ext
24659 fi
24660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h <<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24665 _ACEOF
24666 have_sin=1
24667 fi
24668 done
24669
24670
24671 for ac_func in ceil
24672 do
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24676 if eval "test \"\${$as_ac_var+set}\" = set"; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24688
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24693
24694 #ifdef __STDC__
24695 # include <limits.h>
24696 #else
24697 # include <assert.h>
24698 #endif
24699
24700 #undef $ac_func
24701
24702 /* Override any gcc2 internal prototype to avoid an error. */
24703 #ifdef __cplusplus
24704 extern "C"
24705 {
24706 #endif
24707 /* We use char because int might match the return type of a gcc2
24708 builtin and then its argument prototype would still apply. */
24709 char $ac_func ();
24710 /* The GNU C library defines this for functions which it implements
24711 to always fail with ENOSYS. Some functions are actually named
24712 something starting with __ and the normal name is an alias. */
24713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24714 choke me
24715 #else
24716 char (*f) () = $ac_func;
24717 #endif
24718 #ifdef __cplusplus
24719 }
24720 #endif
24721
24722 int
24723 main ()
24724 {
24725 return f != $ac_func;
24726 ;
24727 return 0;
24728 }
24729 _ACEOF
24730 rm -f conftest.$ac_objext conftest$ac_exeext
24731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24732 (eval $ac_link) 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } &&
24739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; } &&
24745 { ac_try='test -s conftest$ac_exeext'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; }; then
24751 eval "$as_ac_var=yes"
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24755
24756 eval "$as_ac_var=no"
24757 fi
24758 rm -f conftest.err conftest.$ac_objext \
24759 conftest$ac_exeext conftest.$ac_ext
24760 fi
24761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24763 if test `eval echo '${'$as_ac_var'}'` = yes; then
24764 cat >>confdefs.h <<_ACEOF
24765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24766 _ACEOF
24767 have_ceil=1
24768 fi
24769 done
24770
24771 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24772 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24773 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24774 echo "$as_me:$LINENO: result: yes" >&5
24775 echo "${ECHO_T}yes" >&6
24776 else
24777 echo "$as_me:$LINENO: result: no" >&5
24778 echo "${ECHO_T}no" >&6
24779 # not sure we should warn the user, crash, etc.
24780 fi
24781 fi
24782
24783 if test "wxUSE_UNICODE" = "yes"; then
24784
24785 for wx_func in wcstoull
24786 do
24787 echo "$as_me:$LINENO: checking for $wx_func" >&5
24788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24789 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792
24793 cat >conftest.$ac_ext <<_ACEOF
24794
24795 /* confdefs.h. */
24796 _ACEOF
24797 cat confdefs.h >>conftest.$ac_ext
24798 cat >>conftest.$ac_ext <<_ACEOF
24799 /* end confdefs.h. */
24800
24801
24802 $ac_includes_default
24803
24804 int
24805 main ()
24806 {
24807
24808 #ifndef $wx_func
24809 &$wx_func;
24810 #endif
24811
24812
24813 ;
24814 return 0;
24815 }
24816
24817 _ACEOF
24818 rm -f conftest.$ac_objext conftest$ac_exeext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24820 (eval $ac_link) 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829 (eval $ac_try) 2>&5
24830 ac_status=$?
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); }; } &&
24833 { ac_try='test -s conftest$ac_exeext'
24834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24835 (eval $ac_try) 2>&5
24836 ac_status=$?
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); }; }; then
24839 eval wx_cv_func_$wx_func=yes
24840 else
24841 echo "$as_me: failed program was:" >&5
24842 sed 's/^/| /' conftest.$ac_ext >&5
24843
24844 eval wx_cv_func_$wx_func=no
24845 fi
24846 rm -f conftest.err conftest.$ac_objext \
24847 conftest$ac_exeext conftest.$ac_ext
24848
24849 fi
24850 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24851 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24852
24853 if eval test \$wx_cv_func_$wx_func = yes
24854 then
24855 cat >>confdefs.h <<_ACEOF
24856 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24857 _ACEOF
24858
24859
24860 else
24861 :
24862
24863 fi
24864 done
24865
24866 else
24867
24868 for wx_func in strtoull
24869 do
24870 echo "$as_me:$LINENO: checking for $wx_func" >&5
24871 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24872 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24873 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 else
24875
24876 cat >conftest.$ac_ext <<_ACEOF
24877
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883
24884
24885 $ac_includes_default
24886
24887 int
24888 main ()
24889 {
24890
24891 #ifndef $wx_func
24892 &$wx_func;
24893 #endif
24894
24895
24896 ;
24897 return 0;
24898 }
24899
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903 (eval $ac_link) 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24912 (eval $ac_try) 2>&5
24913 ac_status=$?
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); }; } &&
24916 { ac_try='test -s conftest$ac_exeext'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; }; then
24922 eval wx_cv_func_$wx_func=yes
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 eval wx_cv_func_$wx_func=no
24928 fi
24929 rm -f conftest.err conftest.$ac_objext \
24930 conftest$ac_exeext conftest.$ac_ext
24931
24932 fi
24933 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24934 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24935
24936 if eval test \$wx_cv_func_$wx_func = yes
24937 then
24938 cat >>confdefs.h <<_ACEOF
24939 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24940 _ACEOF
24941
24942
24943 else
24944 :
24945
24946 fi
24947 done
24948
24949 fi
24950
24951
24952
24953 if test "$wxUSE_REGEX" != "no"; then
24954 cat >>confdefs.h <<\_ACEOF
24955 #define wxUSE_REGEX 1
24956 _ACEOF
24957
24958
24959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24960 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24961 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24962 wxUSE_REGEX=builtin
24963 fi
24964
24965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24966 if test "${ac_cv_header_regex_h+set}" = set; then
24967 echo "$as_me:$LINENO: checking for regex.h" >&5
24968 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24969 if test "${ac_cv_header_regex_h+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 fi
24972 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24973 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24974 else
24975 # Is the header compilable?
24976 echo "$as_me:$LINENO: checking regex.h usability" >&5
24977 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24978 cat >conftest.$ac_ext <<_ACEOF
24979 /* confdefs.h. */
24980 _ACEOF
24981 cat confdefs.h >>conftest.$ac_ext
24982 cat >>conftest.$ac_ext <<_ACEOF
24983 /* end confdefs.h. */
24984 $ac_includes_default
24985 #include <regex.h>
24986 _ACEOF
24987 rm -f conftest.$ac_objext
24988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24989 (eval $ac_compile) 2>conftest.er1
24990 ac_status=$?
24991 grep -v '^ *+' conftest.er1 >conftest.err
24992 rm -f conftest.er1
24993 cat conftest.err >&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); } &&
24996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998 (eval $ac_try) 2>&5
24999 ac_status=$?
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); }; } &&
25002 { ac_try='test -s conftest.$ac_objext'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25005 ac_status=$?
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; }; then
25008 ac_header_compiler=yes
25009 else
25010 echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25012
25013 ac_header_compiler=no
25014 fi
25015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25017 echo "${ECHO_T}$ac_header_compiler" >&6
25018
25019 # Is the header present?
25020 echo "$as_me:$LINENO: checking regex.h presence" >&5
25021 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h. */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <regex.h>
25029 _ACEOF
25030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25032 ac_status=$?
25033 grep -v '^ *+' conftest.er1 >conftest.err
25034 rm -f conftest.er1
25035 cat conftest.err >&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } >/dev/null; then
25038 if test -s conftest.err; then
25039 ac_cpp_err=$ac_c_preproc_warn_flag
25040 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25041 else
25042 ac_cpp_err=
25043 fi
25044 else
25045 ac_cpp_err=yes
25046 fi
25047 if test -z "$ac_cpp_err"; then
25048 ac_header_preproc=yes
25049 else
25050 echo "$as_me: failed program was:" >&5
25051 sed 's/^/| /' conftest.$ac_ext >&5
25052
25053 ac_header_preproc=no
25054 fi
25055 rm -f conftest.err conftest.$ac_ext
25056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25057 echo "${ECHO_T}$ac_header_preproc" >&6
25058
25059 # So? What about this header?
25060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25061 yes:no: )
25062 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25063 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25064 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25065 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25066 ac_header_preproc=yes
25067 ;;
25068 no:yes:* )
25069 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25070 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25071 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25072 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25073 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25074 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25075 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25076 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25078 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25079 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25080 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25081 (
25082 cat <<\_ASBOX
25083 ## ----------------------------------------- ##
25084 ## Report this to wx-dev@lists.wxwidgets.org ##
25085 ## ----------------------------------------- ##
25086 _ASBOX
25087 ) |
25088 sed "s/^/$as_me: WARNING: /" >&2
25089 ;;
25090 esac
25091 echo "$as_me:$LINENO: checking for regex.h" >&5
25092 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25093 if test "${ac_cv_header_regex_h+set}" = set; then
25094 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 else
25096 ac_cv_header_regex_h=$ac_header_preproc
25097 fi
25098 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25099 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25100
25101 fi
25102 if test $ac_cv_header_regex_h = yes; then
25103
25104
25105 for ac_func in regcomp re_search
25106 do
25107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25108 echo "$as_me:$LINENO: checking for $ac_func" >&5
25109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25110 if eval "test \"\${$as_ac_var+set}\" = set"; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 else
25113 cat >conftest.$ac_ext <<_ACEOF
25114 /* confdefs.h. */
25115 _ACEOF
25116 cat confdefs.h >>conftest.$ac_ext
25117 cat >>conftest.$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25121 #define $ac_func innocuous_$ac_func
25122
25123 /* System header to define __stub macros and hopefully few prototypes,
25124 which can conflict with char $ac_func (); below.
25125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25126 <limits.h> exists even on freestanding compilers. */
25127
25128 #ifdef __STDC__
25129 # include <limits.h>
25130 #else
25131 # include <assert.h>
25132 #endif
25133
25134 #undef $ac_func
25135
25136 /* Override any gcc2 internal prototype to avoid an error. */
25137 #ifdef __cplusplus
25138 extern "C"
25139 {
25140 #endif
25141 /* We use char because int might match the return type of a gcc2
25142 builtin and then its argument prototype would still apply. */
25143 char $ac_func ();
25144 /* The GNU C library defines this for functions which it implements
25145 to always fail with ENOSYS. Some functions are actually named
25146 something starting with __ and the normal name is an alias. */
25147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25148 choke me
25149 #else
25150 char (*f) () = $ac_func;
25151 #endif
25152 #ifdef __cplusplus
25153 }
25154 #endif
25155
25156 int
25157 main ()
25158 {
25159 return f != $ac_func;
25160 ;
25161 return 0;
25162 }
25163 _ACEOF
25164 rm -f conftest.$ac_objext conftest$ac_exeext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25166 (eval $ac_link) 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } &&
25173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25176 ac_status=$?
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; } &&
25179 { ac_try='test -s conftest$ac_exeext'
25180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25181 (eval $ac_try) 2>&5
25182 ac_status=$?
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); }; }; then
25185 eval "$as_ac_var=yes"
25186 else
25187 echo "$as_me: failed program was:" >&5
25188 sed 's/^/| /' conftest.$ac_ext >&5
25189
25190 eval "$as_ac_var=no"
25191 fi
25192 rm -f conftest.err conftest.$ac_objext \
25193 conftest$ac_exeext conftest.$ac_ext
25194 fi
25195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25197 if test `eval echo '${'$as_ac_var'}'` = yes; then
25198 cat >>confdefs.h <<_ACEOF
25199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25200 _ACEOF
25201
25202 fi
25203 done
25204
25205 fi
25206
25207
25208
25209 if test "x$ac_cv_func_regcomp" != "xyes"; then
25210 if test "$wxUSE_REGEX" = "sys" ; then
25211 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25212 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25213 { (exit 1); exit 1; }; }
25214 else
25215 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25216 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25217 wxUSE_REGEX=builtin
25218 fi
25219 else
25220 wxUSE_REGEX=sys
25221 cat >>confdefs.h <<\_ACEOF
25222 #define WX_NO_REGEX_ADVANCED 1
25223 _ACEOF
25224
25225 fi
25226 fi
25227 fi
25228
25229
25230 ZLIB_LINK=
25231 if test "$wxUSE_ZLIB" != "no" ; then
25232 cat >>confdefs.h <<\_ACEOF
25233 #define wxUSE_ZLIB 1
25234 _ACEOF
25235
25236
25237 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25238 if test "$USE_DARWIN" = 1; then
25239 system_zlib_h_ok="yes"
25240 else
25241 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25242 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25243 if test "${ac_cv_header_zlib_h+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246 if test "$cross_compiling" = yes; then
25247 unset ac_cv_header_zlib_h
25248
25249 else
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256
25257 #include <zlib.h>
25258 #include <stdio.h>
25259
25260 int main()
25261 {
25262 FILE *f=fopen("conftestval", "w");
25263 if (!f) exit(1);
25264 fprintf(f, "%s",
25265 ZLIB_VERSION[0] == '1' &&
25266 (ZLIB_VERSION[2] > '1' ||
25267 (ZLIB_VERSION[2] == '1' &&
25268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25269 exit(0);
25270 }
25271
25272 _ACEOF
25273 rm -f conftest$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275 (eval $ac_link) 2>&5
25276 ac_status=$?
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25281 ac_status=$?
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_header_zlib_h=`cat conftestval`
25285 else
25286 echo "$as_me: program exited with status $ac_status" >&5
25287 echo "$as_me: failed program was:" >&5
25288 sed 's/^/| /' conftest.$ac_ext >&5
25289
25290 ( exit $ac_status )
25291 ac_cv_header_zlib_h=no
25292 fi
25293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25294 fi
25295
25296 fi
25297 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25299 if test "${ac_cv_header_zlib_h+set}" = set; then
25300 echo "$as_me:$LINENO: checking for zlib.h" >&5
25301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25302 if test "${ac_cv_header_zlib_h+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 fi
25305 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25307 else
25308 # Is the header compilable?
25309 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25310 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25311 cat >conftest.$ac_ext <<_ACEOF
25312 /* confdefs.h. */
25313 _ACEOF
25314 cat confdefs.h >>conftest.$ac_ext
25315 cat >>conftest.$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317 $ac_includes_default
25318 #include <zlib.h>
25319 _ACEOF
25320 rm -f conftest.$ac_objext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25322 (eval $ac_compile) 2>conftest.er1
25323 ac_status=$?
25324 grep -v '^ *+' conftest.er1 >conftest.err
25325 rm -f conftest.er1
25326 cat conftest.err >&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } &&
25329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25331 (eval $ac_try) 2>&5
25332 ac_status=$?
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); }; } &&
25335 { ac_try='test -s conftest.$ac_objext'
25336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25337 (eval $ac_try) 2>&5
25338 ac_status=$?
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); }; }; then
25341 ac_header_compiler=yes
25342 else
25343 echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25345
25346 ac_header_compiler=no
25347 fi
25348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25350 echo "${ECHO_T}$ac_header_compiler" >&6
25351
25352 # Is the header present?
25353 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25354 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25355 cat >conftest.$ac_ext <<_ACEOF
25356 /* confdefs.h. */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h. */
25361 #include <zlib.h>
25362 _ACEOF
25363 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25364 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25365 ac_status=$?
25366 grep -v '^ *+' conftest.er1 >conftest.err
25367 rm -f conftest.er1
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } >/dev/null; then
25371 if test -s conftest.err; then
25372 ac_cpp_err=$ac_c_preproc_warn_flag
25373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25374 else
25375 ac_cpp_err=
25376 fi
25377 else
25378 ac_cpp_err=yes
25379 fi
25380 if test -z "$ac_cpp_err"; then
25381 ac_header_preproc=yes
25382 else
25383 echo "$as_me: failed program was:" >&5
25384 sed 's/^/| /' conftest.$ac_ext >&5
25385
25386 ac_header_preproc=no
25387 fi
25388 rm -f conftest.err conftest.$ac_ext
25389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25390 echo "${ECHO_T}$ac_header_preproc" >&6
25391
25392 # So? What about this header?
25393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25394 yes:no: )
25395 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25396 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25398 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25399 ac_header_preproc=yes
25400 ;;
25401 no:yes:* )
25402 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25403 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25404 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25405 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25406 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25407 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25408 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25409 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25410 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25411 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25412 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25413 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25414 (
25415 cat <<\_ASBOX
25416 ## ----------------------------------------- ##
25417 ## Report this to wx-dev@lists.wxwidgets.org ##
25418 ## ----------------------------------------- ##
25419 _ASBOX
25420 ) |
25421 sed "s/^/$as_me: WARNING: /" >&2
25422 ;;
25423 esac
25424 echo "$as_me:$LINENO: checking for zlib.h" >&5
25425 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25426 if test "${ac_cv_header_zlib_h+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 else
25429 ac_cv_header_zlib_h=$ac_header_preproc
25430 fi
25431 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25432 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25433
25434 fi
25435
25436
25437
25438 system_zlib_h_ok=$ac_cv_header_zlib_h
25439 fi
25440
25441 if test "$system_zlib_h_ok" = "yes"; then
25442 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25443 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25444 if test "${ac_cv_lib_z_deflate+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 ac_check_lib_save_LIBS=$LIBS
25448 LIBS="-lz $LIBS"
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455
25456 /* Override any gcc2 internal prototype to avoid an error. */
25457 #ifdef __cplusplus
25458 extern "C"
25459 #endif
25460 /* We use char because int might match the return type of a gcc2
25461 builtin and then its argument prototype would still apply. */
25462 char deflate ();
25463 int
25464 main ()
25465 {
25466 deflate ();
25467 ;
25468 return 0;
25469 }
25470 _ACEOF
25471 rm -f conftest.$ac_objext conftest$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; } &&
25486 { ac_try='test -s conftest$ac_exeext'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25489 ac_status=$?
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; }; then
25492 ac_cv_lib_z_deflate=yes
25493 else
25494 echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.$ac_ext >&5
25496
25497 ac_cv_lib_z_deflate=no
25498 fi
25499 rm -f conftest.err conftest.$ac_objext \
25500 conftest$ac_exeext conftest.$ac_ext
25501 LIBS=$ac_check_lib_save_LIBS
25502 fi
25503 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25504 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25505 if test $ac_cv_lib_z_deflate = yes; then
25506 ZLIB_LINK=" -lz"
25507 fi
25508
25509 fi
25510
25511 if test "x$ZLIB_LINK" = "x" ; then
25512 if test "$wxUSE_ZLIB" = "sys" ; then
25513 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25514 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25515 { (exit 1); exit 1; }; }
25516 else
25517 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25518 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25519 wxUSE_ZLIB=builtin
25520 fi
25521 else
25522 wxUSE_ZLIB=sys
25523 fi
25524 fi
25525 fi
25526
25527
25528 PNG_LINK=
25529 if test "$wxUSE_LIBPNG" != "no" ; then
25530 cat >>confdefs.h <<\_ACEOF
25531 #define wxUSE_LIBPNG 1
25532 _ACEOF
25533
25534
25535 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25536 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25537 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25538 wxUSE_LIBPNG=sys
25539 fi
25540
25541 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25542 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25543 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25544 wxUSE_LIBPNG=builtin
25545 fi
25546
25547 if test "$wxUSE_MGL" != 1 ; then
25548 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25549 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25550 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25551 if test "${ac_cv_header_png_h+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25553 else
25554 if test "$cross_compiling" = yes; then
25555 unset ac_cv_header_png_h
25556
25557 else
25558 cat >conftest.$ac_ext <<_ACEOF
25559 /* confdefs.h. */
25560 _ACEOF
25561 cat confdefs.h >>conftest.$ac_ext
25562 cat >>conftest.$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25564
25565 #include <png.h>
25566 #include <stdio.h>
25567
25568 int main()
25569 {
25570 FILE *f=fopen("conftestval", "w");
25571 if (!f) exit(1);
25572 fprintf(f, "%s",
25573 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25574 exit(0);
25575 }
25576
25577 _ACEOF
25578 rm -f conftest$ac_exeext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25580 (eval $ac_link) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25586 ac_status=$?
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; }; then
25589 ac_cv_header_png_h=`cat conftestval`
25590 else
25591 echo "$as_me: program exited with status $ac_status" >&5
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ( exit $ac_status )
25596 ac_cv_header_png_h=no
25597 fi
25598 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25599 fi
25600
25601 fi
25602 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25603 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25604 if test "${ac_cv_header_png_h+set}" = set; then
25605 echo "$as_me:$LINENO: checking for png.h" >&5
25606 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25607 if test "${ac_cv_header_png_h+set}" = set; then
25608 echo $ECHO_N "(cached) $ECHO_C" >&6
25609 fi
25610 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25611 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25612 else
25613 # Is the header compilable?
25614 echo "$as_me:$LINENO: checking png.h usability" >&5
25615 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 $ac_includes_default
25623 #include <png.h>
25624 _ACEOF
25625 rm -f conftest.$ac_objext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25627 (eval $ac_compile) 2>conftest.er1
25628 ac_status=$?
25629 grep -v '^ *+' conftest.er1 >conftest.err
25630 rm -f conftest.er1
25631 cat conftest.err >&5
25632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633 (exit $ac_status); } &&
25634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25636 (eval $ac_try) 2>&5
25637 ac_status=$?
25638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25639 (exit $ac_status); }; } &&
25640 { ac_try='test -s conftest.$ac_objext'
25641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25642 (eval $ac_try) 2>&5
25643 ac_status=$?
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); }; }; then
25646 ac_header_compiler=yes
25647 else
25648 echo "$as_me: failed program was:" >&5
25649 sed 's/^/| /' conftest.$ac_ext >&5
25650
25651 ac_header_compiler=no
25652 fi
25653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25655 echo "${ECHO_T}$ac_header_compiler" >&6
25656
25657 # Is the header present?
25658 echo "$as_me:$LINENO: checking png.h presence" >&5
25659 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25660 cat >conftest.$ac_ext <<_ACEOF
25661 /* confdefs.h. */
25662 _ACEOF
25663 cat confdefs.h >>conftest.$ac_ext
25664 cat >>conftest.$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25666 #include <png.h>
25667 _ACEOF
25668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25670 ac_status=$?
25671 grep -v '^ *+' conftest.er1 >conftest.err
25672 rm -f conftest.er1
25673 cat conftest.err >&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); } >/dev/null; then
25676 if test -s conftest.err; then
25677 ac_cpp_err=$ac_c_preproc_warn_flag
25678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25679 else
25680 ac_cpp_err=
25681 fi
25682 else
25683 ac_cpp_err=yes
25684 fi
25685 if test -z "$ac_cpp_err"; then
25686 ac_header_preproc=yes
25687 else
25688 echo "$as_me: failed program was:" >&5
25689 sed 's/^/| /' conftest.$ac_ext >&5
25690
25691 ac_header_preproc=no
25692 fi
25693 rm -f conftest.err conftest.$ac_ext
25694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25695 echo "${ECHO_T}$ac_header_preproc" >&6
25696
25697 # So? What about this header?
25698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25699 yes:no: )
25700 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25701 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25703 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25704 ac_header_preproc=yes
25705 ;;
25706 no:yes:* )
25707 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25708 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25709 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25710 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25711 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25712 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25713 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25714 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25715 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25716 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25717 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25718 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25719 (
25720 cat <<\_ASBOX
25721 ## ----------------------------------------- ##
25722 ## Report this to wx-dev@lists.wxwidgets.org ##
25723 ## ----------------------------------------- ##
25724 _ASBOX
25725 ) |
25726 sed "s/^/$as_me: WARNING: /" >&2
25727 ;;
25728 esac
25729 echo "$as_me:$LINENO: checking for png.h" >&5
25730 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25731 if test "${ac_cv_header_png_h+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 else
25734 ac_cv_header_png_h=$ac_header_preproc
25735 fi
25736 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25737 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25738
25739 fi
25740
25741
25742
25743 if test "$ac_cv_header_png_h" = "yes"; then
25744 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25745 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25746 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749 ac_check_lib_save_LIBS=$LIBS
25750 LIBS="-lpng -lz -lm $LIBS"
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757
25758 /* Override any gcc2 internal prototype to avoid an error. */
25759 #ifdef __cplusplus
25760 extern "C"
25761 #endif
25762 /* We use char because int might match the return type of a gcc2
25763 builtin and then its argument prototype would still apply. */
25764 char png_check_sig ();
25765 int
25766 main ()
25767 {
25768 png_check_sig ();
25769 ;
25770 return 0;
25771 }
25772 _ACEOF
25773 rm -f conftest.$ac_objext conftest$ac_exeext
25774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25775 (eval $ac_link) 2>conftest.er1
25776 ac_status=$?
25777 grep -v '^ *+' conftest.er1 >conftest.err
25778 rm -f conftest.er1
25779 cat conftest.err >&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } &&
25782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try='test -s conftest$ac_exeext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25791 ac_status=$?
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25794 ac_cv_lib_png_png_check_sig=yes
25795 else
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.$ac_ext >&5
25798
25799 ac_cv_lib_png_png_check_sig=no
25800 fi
25801 rm -f conftest.err conftest.$ac_objext \
25802 conftest$ac_exeext conftest.$ac_ext
25803 LIBS=$ac_check_lib_save_LIBS
25804 fi
25805 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25806 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25807 if test $ac_cv_lib_png_png_check_sig = yes; then
25808 PNG_LINK=" -lpng -lz"
25809 fi
25810
25811 fi
25812
25813 if test "x$PNG_LINK" = "x" ; then
25814 if test "$wxUSE_LIBPNG" = "sys" ; then
25815 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25816 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25817 { (exit 1); exit 1; }; }
25818 else
25819 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25820 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25821 wxUSE_LIBPNG=builtin
25822 fi
25823 else
25824 wxUSE_LIBPNG=sys
25825 fi
25826 fi
25827 fi
25828
25829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25830 fi
25831
25832
25833 JPEG_LINK=
25834 if test "$wxUSE_LIBJPEG" != "no" ; then
25835 cat >>confdefs.h <<\_ACEOF
25836 #define wxUSE_LIBJPEG 1
25837 _ACEOF
25838
25839
25840 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25841 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25842 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25843 wxUSE_LIBJPEG=sys
25844 fi
25845
25846 if test "$wxUSE_MGL" != 1 ; then
25847 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25848 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25849 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25850 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 else
25853 cat >conftest.$ac_ext <<_ACEOF
25854 /* confdefs.h. */
25855 _ACEOF
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25859
25860 #undef HAVE_STDLIB_H
25861 #include <stdio.h>
25862 #include <jpeglib.h>
25863
25864 int
25865 main ()
25866 {
25867
25868
25869 ;
25870 return 0;
25871 }
25872 _ACEOF
25873 rm -f conftest.$ac_objext
25874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25875 (eval $ac_compile) 2>conftest.er1
25876 ac_status=$?
25877 grep -v '^ *+' conftest.er1 >conftest.err
25878 rm -f conftest.er1
25879 cat conftest.err >&5
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } &&
25882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; } &&
25888 { ac_try='test -s conftest.$ac_objext'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; }; then
25894 ac_cv_header_jpeglib_h=yes
25895 else
25896 echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.$ac_ext >&5
25898
25899 ac_cv_header_jpeglib_h=no
25900
25901 fi
25902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25903
25904 fi
25905
25906 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25907 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25908
25909 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25910 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25911 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25912 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915 ac_check_lib_save_LIBS=$LIBS
25916 LIBS="-ljpeg $LIBS"
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923
25924 /* Override any gcc2 internal prototype to avoid an error. */
25925 #ifdef __cplusplus
25926 extern "C"
25927 #endif
25928 /* We use char because int might match the return type of a gcc2
25929 builtin and then its argument prototype would still apply. */
25930 char jpeg_read_header ();
25931 int
25932 main ()
25933 {
25934 jpeg_read_header ();
25935 ;
25936 return 0;
25937 }
25938 _ACEOF
25939 rm -f conftest.$ac_objext conftest$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>conftest.er1
25942 ac_status=$?
25943 grep -v '^ *+' conftest.er1 >conftest.err
25944 rm -f conftest.er1
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; } &&
25954 { ac_try='test -s conftest$ac_exeext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_lib_jpeg_jpeg_read_header=yes
25961 else
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25964
25965 ac_cv_lib_jpeg_jpeg_read_header=no
25966 fi
25967 rm -f conftest.err conftest.$ac_objext \
25968 conftest$ac_exeext conftest.$ac_ext
25969 LIBS=$ac_check_lib_save_LIBS
25970 fi
25971 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25972 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25973 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25974 JPEG_LINK=" -ljpeg"
25975 fi
25976
25977 fi
25978
25979 if test "x$JPEG_LINK" = "x" ; then
25980 if test "$wxUSE_LIBJPEG" = "sys" ; then
25981 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25982 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25983 { (exit 1); exit 1; }; }
25984 else
25985 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25986 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25987 wxUSE_LIBJPEG=builtin
25988 fi
25989 else
25990 wxUSE_LIBJPEG=sys
25991 fi
25992 fi
25993 fi
25994 fi
25995
25996
25997 TIFF_LINK=
25998 TIFF_PREREQ_LINKS=-lm
25999 if test "$wxUSE_LIBTIFF" != "no" ; then
26000 cat >>confdefs.h <<\_ACEOF
26001 #define wxUSE_LIBTIFF 1
26002 _ACEOF
26003
26004
26005 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26006 if test "$wxUSE_LIBJPEG" = "sys"; then
26007 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26008 fi
26009 if test "$wxUSE_ZLIB" = "sys"; then
26010 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26011 fi
26012 if test "${ac_cv_header_tiffio_h+set}" = set; then
26013 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26014 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26015 if test "${ac_cv_header_tiffio_h+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 fi
26018 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26019 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26020 else
26021 # Is the header compilable?
26022 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26023 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26024 cat >conftest.$ac_ext <<_ACEOF
26025 /* confdefs.h. */
26026 _ACEOF
26027 cat confdefs.h >>conftest.$ac_ext
26028 cat >>conftest.$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26030 $ac_includes_default
26031 #include <tiffio.h>
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26036 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest.$ac_objext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_header_compiler=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_header_compiler=no
26060 fi
26061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26063 echo "${ECHO_T}$ac_header_compiler" >&6
26064
26065 # Is the header present?
26066 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26067 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26068 cat >conftest.$ac_ext <<_ACEOF
26069 /* confdefs.h. */
26070 _ACEOF
26071 cat confdefs.h >>conftest.$ac_ext
26072 cat >>conftest.$ac_ext <<_ACEOF
26073 /* end confdefs.h. */
26074 #include <tiffio.h>
26075 _ACEOF
26076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } >/dev/null; then
26084 if test -s conftest.err; then
26085 ac_cpp_err=$ac_c_preproc_warn_flag
26086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26087 else
26088 ac_cpp_err=
26089 fi
26090 else
26091 ac_cpp_err=yes
26092 fi
26093 if test -z "$ac_cpp_err"; then
26094 ac_header_preproc=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 ac_header_preproc=no
26100 fi
26101 rm -f conftest.err conftest.$ac_ext
26102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26103 echo "${ECHO_T}$ac_header_preproc" >&6
26104
26105 # So? What about this header?
26106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26107 yes:no: )
26108 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26109 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26110 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26111 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26112 ac_header_preproc=yes
26113 ;;
26114 no:yes:* )
26115 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26116 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26118 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26119 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26120 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26121 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26122 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26123 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26124 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26125 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26126 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26127 (
26128 cat <<\_ASBOX
26129 ## ----------------------------------------- ##
26130 ## Report this to wx-dev@lists.wxwidgets.org ##
26131 ## ----------------------------------------- ##
26132 _ASBOX
26133 ) |
26134 sed "s/^/$as_me: WARNING: /" >&2
26135 ;;
26136 esac
26137 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26138 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26139 if test "${ac_cv_header_tiffio_h+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 else
26142 ac_cv_header_tiffio_h=$ac_header_preproc
26143 fi
26144 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26145 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26146
26147 fi
26148 if test $ac_cv_header_tiffio_h = yes; then
26149
26150 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26151 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26152 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26153 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 else
26155 ac_check_lib_save_LIBS=$LIBS
26156 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26157 cat >conftest.$ac_ext <<_ACEOF
26158 /* confdefs.h. */
26159 _ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26163
26164 /* Override any gcc2 internal prototype to avoid an error. */
26165 #ifdef __cplusplus
26166 extern "C"
26167 #endif
26168 /* We use char because int might match the return type of a gcc2
26169 builtin and then its argument prototype would still apply. */
26170 char TIFFError ();
26171 int
26172 main ()
26173 {
26174 TIFFError ();
26175 ;
26176 return 0;
26177 }
26178 _ACEOF
26179 rm -f conftest.$ac_objext conftest$ac_exeext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26181 (eval $ac_link) 2>conftest.er1
26182 ac_status=$?
26183 grep -v '^ *+' conftest.er1 >conftest.err
26184 rm -f conftest.er1
26185 cat conftest.err >&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } &&
26188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try='test -s conftest$ac_exeext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26197 ac_status=$?
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_lib_tiff_TIFFError=yes
26201 else
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26204
26205 ac_cv_lib_tiff_TIFFError=no
26206 fi
26207 rm -f conftest.err conftest.$ac_objext \
26208 conftest$ac_exeext conftest.$ac_ext
26209 LIBS=$ac_check_lib_save_LIBS
26210 fi
26211 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26212 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26213 if test $ac_cv_lib_tiff_TIFFError = yes; then
26214 TIFF_LINK=" -ltiff"
26215 fi
26216
26217
26218
26219 fi
26220
26221
26222
26223 if test "x$TIFF_LINK" = "x" ; then
26224 if test "$wxUSE_LIBTIFF" = "sys" ; then
26225 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26226 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26227 { (exit 1); exit 1; }; }
26228 else
26229 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26230 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26231 wxUSE_LIBTIFF=builtin
26232 fi
26233 else
26234 wxUSE_LIBTIFF=sys
26235 fi
26236 fi
26237 fi
26238
26239
26240 if test "$wxUSE_WCHAR_T" != "yes"; then
26241 if test "$wxUSE_EXPAT" != "no"; then
26242 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26243 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26244 wxUSE_EXPAT=no
26245 fi
26246 if test "$wxUSE_XML" != "no"; then
26247 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26248 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26249 wxUSE_XML=no
26250 fi
26251 fi
26252
26253 if test "$wxUSE_EXPAT" != "no"; then
26254 wxUSE_XML=yes
26255 cat >>confdefs.h <<\_ACEOF
26256 #define wxUSE_EXPAT 1
26257 _ACEOF
26258
26259 cat >>confdefs.h <<\_ACEOF
26260 #define wxUSE_XML 1
26261 _ACEOF
26262
26263
26264 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26265 if test "${ac_cv_header_expat_h+set}" = set; then
26266 echo "$as_me:$LINENO: checking for expat.h" >&5
26267 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26268 if test "${ac_cv_header_expat_h+set}" = set; then
26269 echo $ECHO_N "(cached) $ECHO_C" >&6
26270 fi
26271 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26272 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26273 else
26274 # Is the header compilable?
26275 echo "$as_me:$LINENO: checking expat.h usability" >&5
26276 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26277 cat >conftest.$ac_ext <<_ACEOF
26278 /* confdefs.h. */
26279 _ACEOF
26280 cat confdefs.h >>conftest.$ac_ext
26281 cat >>conftest.$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 $ac_includes_default
26284 #include <expat.h>
26285 _ACEOF
26286 rm -f conftest.$ac_objext
26287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26288 (eval $ac_compile) 2>conftest.er1
26289 ac_status=$?
26290 grep -v '^ *+' conftest.er1 >conftest.err
26291 rm -f conftest.er1
26292 cat conftest.err >&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); } &&
26295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26297 (eval $ac_try) 2>&5
26298 ac_status=$?
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); }; } &&
26301 { ac_try='test -s conftest.$ac_objext'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; }; then
26307 ac_header_compiler=yes
26308 else
26309 echo "$as_me: failed program was:" >&5
26310 sed 's/^/| /' conftest.$ac_ext >&5
26311
26312 ac_header_compiler=no
26313 fi
26314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26316 echo "${ECHO_T}$ac_header_compiler" >&6
26317
26318 # Is the header present?
26319 echo "$as_me:$LINENO: checking expat.h presence" >&5
26320 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26321 cat >conftest.$ac_ext <<_ACEOF
26322 /* confdefs.h. */
26323 _ACEOF
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327 #include <expat.h>
26328 _ACEOF
26329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } >/dev/null; then
26337 if test -s conftest.err; then
26338 ac_cpp_err=$ac_c_preproc_warn_flag
26339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26340 else
26341 ac_cpp_err=
26342 fi
26343 else
26344 ac_cpp_err=yes
26345 fi
26346 if test -z "$ac_cpp_err"; then
26347 ac_header_preproc=yes
26348 else
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26351
26352 ac_header_preproc=no
26353 fi
26354 rm -f conftest.err conftest.$ac_ext
26355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26356 echo "${ECHO_T}$ac_header_preproc" >&6
26357
26358 # So? What about this header?
26359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26360 yes:no: )
26361 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26362 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26363 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26364 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26365 ac_header_preproc=yes
26366 ;;
26367 no:yes:* )
26368 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26369 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26370 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26371 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26372 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26373 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26375 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26377 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26379 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26380 (
26381 cat <<\_ASBOX
26382 ## ----------------------------------------- ##
26383 ## Report this to wx-dev@lists.wxwidgets.org ##
26384 ## ----------------------------------------- ##
26385 _ASBOX
26386 ) |
26387 sed "s/^/$as_me: WARNING: /" >&2
26388 ;;
26389 esac
26390 echo "$as_me:$LINENO: checking for expat.h" >&5
26391 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26392 if test "${ac_cv_header_expat_h+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395 ac_cv_header_expat_h=$ac_header_preproc
26396 fi
26397 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26398 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26399
26400 fi
26401 if test $ac_cv_header_expat_h = yes; then
26402 found_expat_h=1
26403 fi
26404
26405
26406 if test "x$found_expat_h" = "x1"; then
26407 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26408 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26409 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 else
26412
26413 ac_ext=cc
26414 ac_cpp='$CXXCPP $CPPFLAGS'
26415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26418
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425 #include <expat.h>
26426 int
26427 main ()
26428 {
26429
26430 ;
26431 return 0;
26432 }
26433 _ACEOF
26434 rm -f conftest.$ac_objext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26436 (eval $ac_compile) 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26446 ac_status=$?
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; } &&
26449 { ac_try='test -s conftest.$ac_objext'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; }; then
26455 wx_cv_expat_is_not_broken=yes
26456 else
26457 echo "$as_me: failed program was:" >&5
26458 sed 's/^/| /' conftest.$ac_ext >&5
26459
26460 wx_cv_expat_is_not_broken=no
26461
26462 fi
26463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26464 ac_ext=c
26465 ac_cpp='$CPP $CPPFLAGS'
26466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26469
26470
26471
26472 fi
26473 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26474 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26475 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26476 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26477 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26478 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26479 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 else
26481 ac_check_lib_save_LIBS=$LIBS
26482 LIBS="-lexpat $LIBS"
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489
26490 /* Override any gcc2 internal prototype to avoid an error. */
26491 #ifdef __cplusplus
26492 extern "C"
26493 #endif
26494 /* We use char because int might match the return type of a gcc2
26495 builtin and then its argument prototype would still apply. */
26496 char XML_ParserCreate ();
26497 int
26498 main ()
26499 {
26500 XML_ParserCreate ();
26501 ;
26502 return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest.$ac_objext conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>conftest.er1
26508 ac_status=$?
26509 grep -v '^ *+' conftest.er1 >conftest.err
26510 rm -f conftest.er1
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26517 ac_status=$?
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try='test -s conftest$ac_exeext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 ac_cv_lib_expat_XML_ParserCreate=yes
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26530
26531 ac_cv_lib_expat_XML_ParserCreate=no
26532 fi
26533 rm -f conftest.err conftest.$ac_objext \
26534 conftest$ac_exeext conftest.$ac_ext
26535 LIBS=$ac_check_lib_save_LIBS
26536 fi
26537 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26538 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26539 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26540 EXPAT_LINK=" -lexpat"
26541 fi
26542
26543 fi
26544 fi
26545 if test "x$EXPAT_LINK" = "x" ; then
26546 if test "$wxUSE_EXPAT" = "sys" ; then
26547 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26548 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26549 { (exit 1); exit 1; }; }
26550 else
26551 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26552 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26553 wxUSE_EXPAT=builtin
26554 fi
26555 else
26556 wxUSE_EXPAT=sys
26557 fi
26558 fi
26559 if test "$wxUSE_EXPAT" = "builtin" ; then
26560
26561
26562 subdirs="$subdirs src/expat"
26563
26564 fi
26565 fi
26566
26567
26568
26569 if test "$wxUSE_LIBMSPACK" != "no"; then
26570 if test "${ac_cv_header_mspack_h+set}" = set; then
26571 echo "$as_me:$LINENO: checking for mspack.h" >&5
26572 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26573 if test "${ac_cv_header_mspack_h+set}" = set; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 fi
26576 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26577 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26578 else
26579 # Is the header compilable?
26580 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26581 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26582 cat >conftest.$ac_ext <<_ACEOF
26583 /* confdefs.h. */
26584 _ACEOF
26585 cat confdefs.h >>conftest.$ac_ext
26586 cat >>conftest.$ac_ext <<_ACEOF
26587 /* end confdefs.h. */
26588 $ac_includes_default
26589 #include <mspack.h>
26590 _ACEOF
26591 rm -f conftest.$ac_objext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26593 (eval $ac_compile) 2>conftest.er1
26594 ac_status=$?
26595 grep -v '^ *+' conftest.er1 >conftest.err
26596 rm -f conftest.er1
26597 cat conftest.err >&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26603 ac_status=$?
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try='test -s conftest.$ac_objext'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26609 ac_status=$?
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; }; then
26612 ac_header_compiler=yes
26613 else
26614 echo "$as_me: failed program was:" >&5
26615 sed 's/^/| /' conftest.$ac_ext >&5
26616
26617 ac_header_compiler=no
26618 fi
26619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26621 echo "${ECHO_T}$ac_header_compiler" >&6
26622
26623 # Is the header present?
26624 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26625 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632 #include <mspack.h>
26633 _ACEOF
26634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26636 ac_status=$?
26637 grep -v '^ *+' conftest.er1 >conftest.err
26638 rm -f conftest.er1
26639 cat conftest.err >&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } >/dev/null; then
26642 if test -s conftest.err; then
26643 ac_cpp_err=$ac_c_preproc_warn_flag
26644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26645 else
26646 ac_cpp_err=
26647 fi
26648 else
26649 ac_cpp_err=yes
26650 fi
26651 if test -z "$ac_cpp_err"; then
26652 ac_header_preproc=yes
26653 else
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26656
26657 ac_header_preproc=no
26658 fi
26659 rm -f conftest.err conftest.$ac_ext
26660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26661 echo "${ECHO_T}$ac_header_preproc" >&6
26662
26663 # So? What about this header?
26664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26665 yes:no: )
26666 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26667 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26668 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26669 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26670 ac_header_preproc=yes
26671 ;;
26672 no:yes:* )
26673 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26674 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26675 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26676 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26677 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26678 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26679 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26680 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26681 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26682 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26683 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26684 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26685 (
26686 cat <<\_ASBOX
26687 ## ----------------------------------------- ##
26688 ## Report this to wx-dev@lists.wxwidgets.org ##
26689 ## ----------------------------------------- ##
26690 _ASBOX
26691 ) |
26692 sed "s/^/$as_me: WARNING: /" >&2
26693 ;;
26694 esac
26695 echo "$as_me:$LINENO: checking for mspack.h" >&5
26696 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26697 if test "${ac_cv_header_mspack_h+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700 ac_cv_header_mspack_h=$ac_header_preproc
26701 fi
26702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26704
26705 fi
26706 if test $ac_cv_header_mspack_h = yes; then
26707 found_mspack_h=1
26708 fi
26709
26710
26711 if test "x$found_mspack_h" = "x1"; then
26712 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26713 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26714 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26715 echo $ECHO_N "(cached) $ECHO_C" >&6
26716 else
26717 ac_check_lib_save_LIBS=$LIBS
26718 LIBS="-lmspack $LIBS"
26719 cat >conftest.$ac_ext <<_ACEOF
26720 /* confdefs.h. */
26721 _ACEOF
26722 cat confdefs.h >>conftest.$ac_ext
26723 cat >>conftest.$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26725
26726 /* Override any gcc2 internal prototype to avoid an error. */
26727 #ifdef __cplusplus
26728 extern "C"
26729 #endif
26730 /* We use char because int might match the return type of a gcc2
26731 builtin and then its argument prototype would still apply. */
26732 char mspack_create_chm_decompressor ();
26733 int
26734 main ()
26735 {
26736 mspack_create_chm_decompressor ();
26737 ;
26738 return 0;
26739 }
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>conftest.er1
26744 ac_status=$?
26745 grep -v '^ *+' conftest.er1 >conftest.err
26746 rm -f conftest.er1
26747 cat conftest.err >&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26753 ac_status=$?
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; } &&
26756 { ac_try='test -s conftest$ac_exeext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26759 ac_status=$?
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26762 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26763 else
26764 echo "$as_me: failed program was:" >&5
26765 sed 's/^/| /' conftest.$ac_ext >&5
26766
26767 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26768 fi
26769 rm -f conftest.err conftest.$ac_objext \
26770 conftest$ac_exeext conftest.$ac_ext
26771 LIBS=$ac_check_lib_save_LIBS
26772 fi
26773 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26774 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26775 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26776 MSPACK_LINK=" -lmspack"
26777 fi
26778
26779 fi
26780 if test "x$MSPACK_LINK" = "x" ; then
26781 wxUSE_LIBMSPACK=no
26782 fi
26783 fi
26784
26785 if test "$wxUSE_LIBMSPACK" != "no"; then
26786 cat >>confdefs.h <<\_ACEOF
26787 #define wxUSE_LIBMSPACK 1
26788 _ACEOF
26789
26790 fi
26791
26792
26793
26794 AFMINSTALL=
26795 WIN32INSTALL=
26796
26797 TOOLKIT=
26798 TOOLKIT_INCLUDE=
26799 WIDGET_SET=
26800
26801 if test "$USE_WIN32" = 1 ; then
26802
26803 for ac_header in w32api.h
26804 do
26805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26807 echo "$as_me:$LINENO: checking for $ac_header" >&5
26808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 fi
26812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26814 else
26815 # Is the header compilable?
26816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26818 cat >conftest.$ac_ext <<_ACEOF
26819 /* confdefs.h. */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824 $ac_includes_default
26825 #include <$ac_header>
26826 _ACEOF
26827 rm -f conftest.$ac_objext
26828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26829 (eval $ac_compile) 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } &&
26836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26839 ac_status=$?
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; } &&
26842 { ac_try='test -s conftest.$ac_objext'
26843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26844 (eval $ac_try) 2>&5
26845 ac_status=$?
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); }; }; then
26848 ac_header_compiler=yes
26849 else
26850 echo "$as_me: failed program was:" >&5
26851 sed 's/^/| /' conftest.$ac_ext >&5
26852
26853 ac_header_compiler=no
26854 fi
26855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26857 echo "${ECHO_T}$ac_header_compiler" >&6
26858
26859 # Is the header present?
26860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26862 cat >conftest.$ac_ext <<_ACEOF
26863 /* confdefs.h. */
26864 _ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26868 #include <$ac_header>
26869 _ACEOF
26870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } >/dev/null; then
26878 if test -s conftest.err; then
26879 ac_cpp_err=$ac_c_preproc_warn_flag
26880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26881 else
26882 ac_cpp_err=
26883 fi
26884 else
26885 ac_cpp_err=yes
26886 fi
26887 if test -z "$ac_cpp_err"; then
26888 ac_header_preproc=yes
26889 else
26890 echo "$as_me: failed program was:" >&5
26891 sed 's/^/| /' conftest.$ac_ext >&5
26892
26893 ac_header_preproc=no
26894 fi
26895 rm -f conftest.err conftest.$ac_ext
26896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26897 echo "${ECHO_T}$ac_header_preproc" >&6
26898
26899 # So? What about this header?
26900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26901 yes:no: )
26902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26906 ac_header_preproc=yes
26907 ;;
26908 no:yes:* )
26909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26921 (
26922 cat <<\_ASBOX
26923 ## ----------------------------------------- ##
26924 ## Report this to wx-dev@lists.wxwidgets.org ##
26925 ## ----------------------------------------- ##
26926 _ASBOX
26927 ) |
26928 sed "s/^/$as_me: WARNING: /" >&2
26929 ;;
26930 esac
26931 echo "$as_me:$LINENO: checking for $ac_header" >&5
26932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26934 echo $ECHO_N "(cached) $ECHO_C" >&6
26935 else
26936 eval "$as_ac_Header=\$ac_header_preproc"
26937 fi
26938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26940
26941 fi
26942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26943 cat >>confdefs.h <<_ACEOF
26944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26945 _ACEOF
26946
26947 fi
26948
26949 done
26950
26951 if test "${ac_cv_header_windows_h+set}" = set; then
26952 echo "$as_me:$LINENO: checking for windows.h" >&5
26953 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26954 if test "${ac_cv_header_windows_h+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 fi
26957 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26958 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26959 else
26960 # Is the header compilable?
26961 echo "$as_me:$LINENO: checking windows.h usability" >&5
26962 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26963 cat >conftest.$ac_ext <<_ACEOF
26964 /* confdefs.h. */
26965 _ACEOF
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969 $ac_includes_default
26970 #include <windows.h>
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26975 ac_status=$?
26976 grep -v '^ *+' conftest.er1 >conftest.err
26977 rm -f conftest.er1
26978 cat conftest.err >&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; } &&
26987 { ac_try='test -s conftest.$ac_objext'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26990 ac_status=$?
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; }; then
26993 ac_header_compiler=yes
26994 else
26995 echo "$as_me: failed program was:" >&5
26996 sed 's/^/| /' conftest.$ac_ext >&5
26997
26998 ac_header_compiler=no
26999 fi
27000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27002 echo "${ECHO_T}$ac_header_compiler" >&6
27003
27004 # Is the header present?
27005 echo "$as_me:$LINENO: checking windows.h presence" >&5
27006 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27007 cat >conftest.$ac_ext <<_ACEOF
27008 /* confdefs.h. */
27009 _ACEOF
27010 cat confdefs.h >>conftest.$ac_ext
27011 cat >>conftest.$ac_ext <<_ACEOF
27012 /* end confdefs.h. */
27013 #include <windows.h>
27014 _ACEOF
27015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27016 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27017 ac_status=$?
27018 grep -v '^ *+' conftest.er1 >conftest.err
27019 rm -f conftest.er1
27020 cat conftest.err >&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } >/dev/null; then
27023 if test -s conftest.err; then
27024 ac_cpp_err=$ac_c_preproc_warn_flag
27025 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27026 else
27027 ac_cpp_err=
27028 fi
27029 else
27030 ac_cpp_err=yes
27031 fi
27032 if test -z "$ac_cpp_err"; then
27033 ac_header_preproc=yes
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 ac_header_preproc=no
27039 fi
27040 rm -f conftest.err conftest.$ac_ext
27041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27042 echo "${ECHO_T}$ac_header_preproc" >&6
27043
27044 # So? What about this header?
27045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27046 yes:no: )
27047 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27048 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27050 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27051 ac_header_preproc=yes
27052 ;;
27053 no:yes:* )
27054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27055 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27057 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27058 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27059 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27060 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27061 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27062 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27063 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27064 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27065 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27066 (
27067 cat <<\_ASBOX
27068 ## ----------------------------------------- ##
27069 ## Report this to wx-dev@lists.wxwidgets.org ##
27070 ## ----------------------------------------- ##
27071 _ASBOX
27072 ) |
27073 sed "s/^/$as_me: WARNING: /" >&2
27074 ;;
27075 esac
27076 echo "$as_me:$LINENO: checking for windows.h" >&5
27077 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27078 if test "${ac_cv_header_windows_h+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27081 ac_cv_header_windows_h=$ac_header_preproc
27082 fi
27083 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27084 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27085
27086 fi
27087 if test $ac_cv_header_windows_h = yes; then
27088 :
27089 else
27090
27091 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27092 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27093 { (exit 1); exit 1; }; }
27094
27095 fi
27096
27097
27098
27099 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27100
27101 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27102 LIBS="$LIBS -loleacc"
27103 fi
27104
27105 case "${host}" in
27106 *-*-cygwin* )
27107 LIBS="$LIBS -lkernel32 -luser32"
27108 esac
27109
27110 if test "$wxUSE_ODBC" = "sys" ; then
27111 wxUSE_ODBC = "yes"
27112 fi
27113 if test "$wxUSE_ODBC" = "yes" ; then
27114 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27115 cat >>confdefs.h <<\_ACEOF
27116 #define wxUSE_ODBC 1
27117 _ACEOF
27118
27119 fi
27120
27121 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27122 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27123
27124 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27125
27126 WIN32INSTALL=win32install
27127
27128
27129 for ac_header in pbt.h
27130 do
27131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27133 echo "$as_me:$LINENO: checking for $ac_header" >&5
27134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27136 echo $ECHO_N "(cached) $ECHO_C" >&6
27137 fi
27138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27140 else
27141 # Is the header compilable?
27142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27144 cat >conftest.$ac_ext <<_ACEOF
27145 /* confdefs.h. */
27146 _ACEOF
27147 cat confdefs.h >>conftest.$ac_ext
27148 cat >>conftest.$ac_ext <<_ACEOF
27149 /* end confdefs.h. */
27150 $ac_includes_default
27151 #include <$ac_header>
27152 _ACEOF
27153 rm -f conftest.$ac_objext
27154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27155 (eval $ac_compile) 2>conftest.er1
27156 ac_status=$?
27157 grep -v '^ *+' conftest.er1 >conftest.err
27158 rm -f conftest.er1
27159 cat conftest.err >&5
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); } &&
27162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27164 (eval $ac_try) 2>&5
27165 ac_status=$?
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); }; } &&
27168 { ac_try='test -s conftest.$ac_objext'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27171 ac_status=$?
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; }; then
27174 ac_header_compiler=yes
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27178
27179 ac_header_compiler=no
27180 fi
27181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27183 echo "${ECHO_T}$ac_header_compiler" >&6
27184
27185 # Is the header present?
27186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27188 cat >conftest.$ac_ext <<_ACEOF
27189 /* confdefs.h. */
27190 _ACEOF
27191 cat confdefs.h >>conftest.$ac_ext
27192 cat >>conftest.$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27194 #include <$ac_header>
27195 _ACEOF
27196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } >/dev/null; then
27204 if test -s conftest.err; then
27205 ac_cpp_err=$ac_c_preproc_warn_flag
27206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27207 else
27208 ac_cpp_err=
27209 fi
27210 else
27211 ac_cpp_err=yes
27212 fi
27213 if test -z "$ac_cpp_err"; then
27214 ac_header_preproc=yes
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27218
27219 ac_header_preproc=no
27220 fi
27221 rm -f conftest.err conftest.$ac_ext
27222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27223 echo "${ECHO_T}$ac_header_preproc" >&6
27224
27225 # So? What about this header?
27226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27227 yes:no: )
27228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27232 ac_header_preproc=yes
27233 ;;
27234 no:yes:* )
27235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27247 (
27248 cat <<\_ASBOX
27249 ## ----------------------------------------- ##
27250 ## Report this to wx-dev@lists.wxwidgets.org ##
27251 ## ----------------------------------------- ##
27252 _ASBOX
27253 ) |
27254 sed "s/^/$as_me: WARNING: /" >&2
27255 ;;
27256 esac
27257 echo "$as_me:$LINENO: checking for $ac_header" >&5
27258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27260 echo $ECHO_N "(cached) $ECHO_C" >&6
27261 else
27262 eval "$as_ac_Header=\$ac_header_preproc"
27263 fi
27264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27266
27267 fi
27268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27269 cat >>confdefs.h <<_ACEOF
27270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27271 _ACEOF
27272
27273 else
27274 cat >>confdefs.h <<\_ACEOF
27275 #define NEED_PBT_H 1
27276 _ACEOF
27277
27278 fi
27279
27280 done
27281
27282 fi
27283
27284 if test "$wxUSE_GUI" = "yes"; then
27285 USE_GUI=1
27286
27287 GUI_TK_LIBRARY=
27288
27289 WXGTK12=
27290 WXGTK127=
27291 WXGTK20=
27292 WXGPE=
27293
27294 if test "$wxUSE_COCOA" = 1 ; then
27295 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27296 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27297 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27298 wxUSE_PRINTING_ARCHITECTURE=no
27299 fi
27300 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27301 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27302 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27303 wxUSE_DRAG_AND_DROP=no
27304 fi
27305 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27306 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27307 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27308 wxUSE_DRAGIMAGE=no
27309 fi
27310 fi
27311
27312 if test "$wxUSE_MSW" = 1 ; then
27313 TOOLKIT=MSW
27314 GUIDIST=MSW_DIST
27315
27316 case "${host}" in
27317 *-*-mingw32* )
27318 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27319 esac
27320 fi
27321
27322 if test "$wxUSE_GTK" = 1; then
27323 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27324 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27325
27326 gtk_version_cached=1
27327 if test "${wx_cv_lib_gtk+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27330
27331 gtk_version_cached=0
27332 echo "$as_me:$LINENO: result: " >&5
27333 echo "${ECHO_T}" >&6
27334
27335 GTK_MODULES=
27336 if test "$wxUSE_THREADS" = "yes"; then
27337 GTK_MODULES=gthread
27338 fi
27339
27340 wx_cv_lib_gtk=
27341 if test "x$wxGTK_VERSION" != "x1"
27342 then
27343 case "${host}" in
27344 *-*-solaris2* )
27345 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27346 enable_gtktest=no
27347 fi
27348 esac
27349
27350 # Check whether --enable-gtktest or --disable-gtktest was given.
27351 if test "${enable_gtktest+set}" = set; then
27352 enableval="$enable_gtktest"
27353
27354 else
27355 enable_gtktest=yes
27356 fi;
27357
27358 pkg_config_args=gtk+-2.0
27359 for module in . $GTK_MODULES
27360 do
27361 case "$module" in
27362 gthread)
27363 pkg_config_args="$pkg_config_args gthread-2.0"
27364 ;;
27365 esac
27366 done
27367
27368 no_gtk=""
27369
27370 # Extract the first word of "pkg-config", so it can be a program name with args.
27371 set dummy pkg-config; ac_word=$2
27372 echo "$as_me:$LINENO: checking for $ac_word" >&5
27373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27374 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27377 case $PKG_CONFIG in
27378 [\\/]* | ?:[\\/]*)
27379 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27380 ;;
27381 *)
27382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27383 for as_dir in $PATH
27384 do
27385 IFS=$as_save_IFS
27386 test -z "$as_dir" && as_dir=.
27387 for ac_exec_ext in '' $ac_executable_extensions; do
27388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27389 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27391 break 2
27392 fi
27393 done
27394 done
27395
27396 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27397 ;;
27398 esac
27399 fi
27400 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27401
27402 if test -n "$PKG_CONFIG"; then
27403 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27404 echo "${ECHO_T}$PKG_CONFIG" >&6
27405 else
27406 echo "$as_me:$LINENO: result: no" >&5
27407 echo "${ECHO_T}no" >&6
27408 fi
27409
27410
27411 if test x$PKG_CONFIG != xno ; then
27412 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27413 :
27414 else
27415 echo "*** pkg-config too old; version 0.7 or better required."
27416 no_gtk=yes
27417 PKG_CONFIG=no
27418 fi
27419 else
27420 no_gtk=yes
27421 fi
27422
27423 min_gtk_version=2.0.0
27424 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27425 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27426
27427 if test x$PKG_CONFIG != xno ; then
27428 ## don't try to run the test against uninstalled libtool libs
27429 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27430 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27431 enable_gtktest=no
27432 fi
27433
27434 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27435 :
27436 else
27437 no_gtk=yes
27438 fi
27439 fi
27440
27441 if test x"$no_gtk" = x ; then
27442 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27443 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27444 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27446 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27448 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27450 if test "x$enable_gtktest" = "xyes" ; then
27451 ac_save_CFLAGS="$CFLAGS"
27452 ac_save_LIBS="$LIBS"
27453 CFLAGS="$CFLAGS $GTK_CFLAGS"
27454 LIBS="$GTK_LIBS $LIBS"
27455 rm -f conf.gtktest
27456 if test "$cross_compiling" = yes; then
27457 echo $ac_n "cross compiling; assumed OK... $ac_c"
27458 else
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466 #include <gtk/gtk.h>
27467 #include <stdio.h>
27468 #include <stdlib.h>
27469
27470 int
27471 main ()
27472 {
27473 int major, minor, micro;
27474 char *tmp_version;
27475
27476 system ("touch conf.gtktest");
27477
27478 /* HP/UX 9 (%@#!) writes to sscanf strings */
27479 tmp_version = g_strdup("$min_gtk_version");
27480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27481 printf("%s, bad version string\n", "$min_gtk_version");
27482 exit(1);
27483 }
27484
27485 if ((gtk_major_version != $gtk_config_major_version) ||
27486 (gtk_minor_version != $gtk_config_minor_version) ||
27487 (gtk_micro_version != $gtk_config_micro_version))
27488 {
27489 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27491 gtk_major_version, gtk_minor_version, gtk_micro_version);
27492 printf ("*** was found! If pkg-config was correct, then it is best\n");
27493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27496 printf("*** required on your system.\n");
27497 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27498 printf("*** to point to the correct configuration files\n");
27499 }
27500 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27501 (gtk_minor_version != GTK_MINOR_VERSION) ||
27502 (gtk_micro_version != GTK_MICRO_VERSION))
27503 {
27504 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27505 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27506 printf("*** library (version %d.%d.%d)\n",
27507 gtk_major_version, gtk_minor_version, gtk_micro_version);
27508 }
27509 else
27510 {
27511 if ((gtk_major_version > major) ||
27512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27514 {
27515 return 0;
27516 }
27517 else
27518 {
27519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27520 gtk_major_version, gtk_minor_version, gtk_micro_version);
27521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27522 major, minor, micro);
27523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27524 printf("***\n");
27525 printf("*** If you have already installed a sufficiently new version, this error\n");
27526 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27528 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27529 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27531 printf("*** so that the correct libraries are found at run-time))\n");
27532 }
27533 }
27534 return 1;
27535 }
27536
27537 _ACEOF
27538 rm -f conftest$ac_exeext
27539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27540 (eval $ac_link) 2>&5
27541 ac_status=$?
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27545 (eval $ac_try) 2>&5
27546 ac_status=$?
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; }; then
27549 :
27550 else
27551 echo "$as_me: program exited with status $ac_status" >&5
27552 echo "$as_me: failed program was:" >&5
27553 sed 's/^/| /' conftest.$ac_ext >&5
27554
27555 ( exit $ac_status )
27556 no_gtk=yes
27557 fi
27558 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27559 fi
27560 CFLAGS="$ac_save_CFLAGS"
27561 LIBS="$ac_save_LIBS"
27562 fi
27563 fi
27564 if test "x$no_gtk" = x ; then
27565 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27566 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27567 wx_cv_lib_gtk=2.0
27568 else
27569 echo "$as_me:$LINENO: result: no" >&5
27570 echo "${ECHO_T}no" >&6
27571 if test "$PKG_CONFIG" = "no" ; then
27572 echo "*** A new enough version of pkg-config was not found."
27573 echo "*** See http://pkgconfig.sourceforge.net"
27574 else
27575 if test -f conf.gtktest ; then
27576 :
27577 else
27578 echo "*** Could not run GTK+ test program, checking why..."
27579 ac_save_CFLAGS="$CFLAGS"
27580 ac_save_LIBS="$LIBS"
27581 CFLAGS="$CFLAGS $GTK_CFLAGS"
27582 LIBS="$LIBS $GTK_LIBS"
27583 cat >conftest.$ac_ext <<_ACEOF
27584 /* confdefs.h. */
27585 _ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27589
27590 #include <gtk/gtk.h>
27591 #include <stdio.h>
27592
27593 int
27594 main ()
27595 {
27596 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27597 ;
27598 return 0;
27599 }
27600 _ACEOF
27601 rm -f conftest.$ac_objext conftest$ac_exeext
27602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27603 (eval $ac_link) 2>conftest.er1
27604 ac_status=$?
27605 grep -v '^ *+' conftest.er1 >conftest.err
27606 rm -f conftest.er1
27607 cat conftest.err >&5
27608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 (exit $ac_status); } &&
27610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27612 (eval $ac_try) 2>&5
27613 ac_status=$?
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; } &&
27616 { ac_try='test -s conftest$ac_exeext'
27617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618 (eval $ac_try) 2>&5
27619 ac_status=$?
27620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621 (exit $ac_status); }; }; then
27622 echo "*** The test program compiled, but did not run. This usually means"
27623 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27624 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27625 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27626 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27627 echo "*** is required on your system"
27628 echo "***"
27629 echo "*** If you have an old version installed, it is best to remove it, although"
27630 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27631 else
27632 echo "$as_me: failed program was:" >&5
27633 sed 's/^/| /' conftest.$ac_ext >&5
27634
27635 echo "*** The test program failed to compile or link. See the file config.log for the"
27636 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27637 fi
27638 rm -f conftest.err conftest.$ac_objext \
27639 conftest$ac_exeext conftest.$ac_ext
27640 CFLAGS="$ac_save_CFLAGS"
27641 LIBS="$ac_save_LIBS"
27642 fi
27643 fi
27644 GTK_CFLAGS=""
27645 GTK_LIBS=""
27646 :
27647 fi
27648
27649
27650 rm -f conf.gtktest
27651
27652
27653 case "${host}" in
27654 *-*-solaris2* )
27655 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27656 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27657 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27658 fi
27659 if test "$wxUSE_SHARED" != "yes"; then
27660 GTK_LIBS="$GTK_LIBS -lX11"
27661 fi
27662 esac
27663 fi
27664
27665 if test -z "$wx_cv_lib_gtk"; then
27666 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27667
27668 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27669 if test "${with_gtk_prefix+set}" = set; then
27670 withval="$with_gtk_prefix"
27671 gtk_config_prefix="$withval"
27672 else
27673 gtk_config_prefix=""
27674 fi;
27675
27676 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27677 if test "${with_gtk_exec_prefix+set}" = set; then
27678 withval="$with_gtk_exec_prefix"
27679 gtk_config_exec_prefix="$withval"
27680 else
27681 gtk_config_exec_prefix=""
27682 fi;
27683 # Check whether --enable-gtktest or --disable-gtktest was given.
27684 if test "${enable_gtktest+set}" = set; then
27685 enableval="$enable_gtktest"
27686
27687 else
27688 enable_gtktest=yes
27689 fi;
27690
27691 for module in . $GTK_MODULES
27692 do
27693 case "$module" in
27694 gthread)
27695 gtk_config_args="$gtk_config_args gthread"
27696 ;;
27697 esac
27698 done
27699
27700 if test x$gtk_config_exec_prefix != x ; then
27701 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27702 if test x${GTK_CONFIG+set} != xset ; then
27703 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27704 fi
27705 fi
27706 if test x$gtk_config_prefix != x ; then
27707 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27708 if test x${GTK_CONFIG+set} != xset ; then
27709 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27710 fi
27711 fi
27712
27713 # Extract the first word of "gtk-config", so it can be a program name with args.
27714 set dummy gtk-config; ac_word=$2
27715 echo "$as_me:$LINENO: checking for $ac_word" >&5
27716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27717 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27718 echo $ECHO_N "(cached) $ECHO_C" >&6
27719 else
27720 case $GTK_CONFIG in
27721 [\\/]* | ?:[\\/]*)
27722 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27723 ;;
27724 *)
27725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27726 for as_dir in $PATH
27727 do
27728 IFS=$as_save_IFS
27729 test -z "$as_dir" && as_dir=.
27730 for ac_exec_ext in '' $ac_executable_extensions; do
27731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27732 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27734 break 2
27735 fi
27736 done
27737 done
27738
27739 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27740 ;;
27741 esac
27742 fi
27743 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27744
27745 if test -n "$GTK_CONFIG"; then
27746 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27747 echo "${ECHO_T}$GTK_CONFIG" >&6
27748 else
27749 echo "$as_me:$LINENO: result: no" >&5
27750 echo "${ECHO_T}no" >&6
27751 fi
27752
27753 min_gtk_version=1.2.7
27754 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27755 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27756 no_gtk=""
27757 if test "$GTK_CONFIG" = "no" ; then
27758 no_gtk=yes
27759 else
27760 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27761 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27762 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27764 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27766 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27768 if test "x$enable_gtktest" = "xyes" ; then
27769 ac_save_CFLAGS="$CFLAGS"
27770 ac_save_LIBS="$LIBS"
27771 CFLAGS="$CFLAGS $GTK_CFLAGS"
27772 LIBS="$GTK_LIBS $LIBS"
27773 rm -f conf.gtktest
27774 if test "$cross_compiling" = yes; then
27775 echo $ac_n "cross compiling; assumed OK... $ac_c"
27776 else
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783
27784 #include <gtk/gtk.h>
27785 #include <stdio.h>
27786 #include <stdlib.h>
27787
27788 int
27789 main ()
27790 {
27791 int major, minor, micro;
27792 char *tmp_version;
27793
27794 system ("touch conf.gtktest");
27795
27796 /* HP/UX 9 (%@#!) writes to sscanf strings */
27797 tmp_version = g_strdup("$min_gtk_version");
27798 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27799 printf("%s, bad version string\n", "$min_gtk_version");
27800 exit(1);
27801 }
27802
27803 if ((gtk_major_version != $gtk_config_major_version) ||
27804 (gtk_minor_version != $gtk_config_minor_version) ||
27805 (gtk_micro_version != $gtk_config_micro_version))
27806 {
27807 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27808 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27809 gtk_major_version, gtk_minor_version, gtk_micro_version);
27810 printf ("*** was found! If gtk-config was correct, then it is best\n");
27811 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27812 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27813 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27814 printf("*** required on your system.\n");
27815 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27816 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27817 printf("*** before re-running configure\n");
27818 }
27819 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27820 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27821 (gtk_minor_version != GTK_MINOR_VERSION) ||
27822 (gtk_micro_version != GTK_MICRO_VERSION))
27823 {
27824 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27825 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27826 printf("*** library (version %d.%d.%d)\n",
27827 gtk_major_version, gtk_minor_version, gtk_micro_version);
27828 }
27829 #endif /* defined (GTK_MAJOR_VERSION) ... */
27830 else
27831 {
27832 if ((gtk_major_version > major) ||
27833 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27834 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27835 {
27836 return 0;
27837 }
27838 else
27839 {
27840 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27841 gtk_major_version, gtk_minor_version, gtk_micro_version);
27842 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27843 major, minor, micro);
27844 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27845 printf("***\n");
27846 printf("*** If you have already installed a sufficiently new version, this error\n");
27847 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27848 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27849 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27850 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27851 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27852 printf("*** so that the correct libraries are found at run-time))\n");
27853 }
27854 }
27855 return 1;
27856 }
27857
27858 _ACEOF
27859 rm -f conftest$ac_exeext
27860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27861 (eval $ac_link) 2>&5
27862 ac_status=$?
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866 (eval $ac_try) 2>&5
27867 ac_status=$?
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); }; }; then
27870 :
27871 else
27872 echo "$as_me: program exited with status $ac_status" >&5
27873 echo "$as_me: failed program was:" >&5
27874 sed 's/^/| /' conftest.$ac_ext >&5
27875
27876 ( exit $ac_status )
27877 no_gtk=yes
27878 fi
27879 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27880 fi
27881 CFLAGS="$ac_save_CFLAGS"
27882 LIBS="$ac_save_LIBS"
27883 fi
27884 fi
27885 if test "x$no_gtk" = x ; then
27886 echo "$as_me:$LINENO: result: yes" >&5
27887 echo "${ECHO_T}yes" >&6
27888 wx_cv_lib_gtk=1.2.7
27889 else
27890 echo "$as_me:$LINENO: result: no" >&5
27891 echo "${ECHO_T}no" >&6
27892 if test "$GTK_CONFIG" = "no" ; then
27893 echo "*** The gtk-config script installed by GTK could not be found"
27894 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27895 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27896 echo "*** full path to gtk-config."
27897 else
27898 if test -f conf.gtktest ; then
27899 :
27900 else
27901 echo "*** Could not run GTK test program, checking why..."
27902 CFLAGS="$CFLAGS $GTK_CFLAGS"
27903 LIBS="$LIBS $GTK_LIBS"
27904 cat >conftest.$ac_ext <<_ACEOF
27905 /* confdefs.h. */
27906 _ACEOF
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27910
27911 #include <gtk/gtk.h>
27912 #include <stdio.h>
27913
27914 int
27915 main ()
27916 {
27917 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27918 ;
27919 return 0;
27920 }
27921 _ACEOF
27922 rm -f conftest.$ac_objext conftest$ac_exeext
27923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27924 (eval $ac_link) 2>conftest.er1
27925 ac_status=$?
27926 grep -v '^ *+' conftest.er1 >conftest.err
27927 rm -f conftest.er1
27928 cat conftest.err >&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); } &&
27931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27933 (eval $ac_try) 2>&5
27934 ac_status=$?
27935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27936 (exit $ac_status); }; } &&
27937 { ac_try='test -s conftest$ac_exeext'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27940 ac_status=$?
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; }; then
27943 echo "*** The test program compiled, but did not run. This usually means"
27944 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27945 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27946 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27947 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27948 echo "*** is required on your system"
27949 echo "***"
27950 echo "*** If you have an old version installed, it is best to remove it, although"
27951 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27952 echo "***"
27953 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27954 echo "*** came with the system with the command"
27955 echo "***"
27956 echo "*** rpm --erase --nodeps gtk gtk-devel"
27957 else
27958 echo "$as_me: failed program was:" >&5
27959 sed 's/^/| /' conftest.$ac_ext >&5
27960
27961 echo "*** The test program failed to compile or link. See the file config.log for the"
27962 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27963 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27964 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27965 fi
27966 rm -f conftest.err conftest.$ac_objext \
27967 conftest$ac_exeext conftest.$ac_ext
27968 CFLAGS="$ac_save_CFLAGS"
27969 LIBS="$ac_save_LIBS"
27970 fi
27971 fi
27972 GTK_CFLAGS=""
27973 GTK_LIBS=""
27974 :
27975 fi
27976
27977
27978 rm -f conf.gtktest
27979
27980
27981 if test -z "$wx_cv_lib_gtk"; then
27982
27983 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27984 if test "${with_gtk_prefix+set}" = set; then
27985 withval="$with_gtk_prefix"
27986 gtk_config_prefix="$withval"
27987 else
27988 gtk_config_prefix=""
27989 fi;
27990
27991 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27992 if test "${with_gtk_exec_prefix+set}" = set; then
27993 withval="$with_gtk_exec_prefix"
27994 gtk_config_exec_prefix="$withval"
27995 else
27996 gtk_config_exec_prefix=""
27997 fi;
27998 # Check whether --enable-gtktest or --disable-gtktest was given.
27999 if test "${enable_gtktest+set}" = set; then
28000 enableval="$enable_gtktest"
28001
28002 else
28003 enable_gtktest=yes
28004 fi;
28005
28006 for module in . $GTK_MODULES
28007 do
28008 case "$module" in
28009 gthread)
28010 gtk_config_args="$gtk_config_args gthread"
28011 ;;
28012 esac
28013 done
28014
28015 if test x$gtk_config_exec_prefix != x ; then
28016 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28017 if test x${GTK_CONFIG+set} != xset ; then
28018 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28019 fi
28020 fi
28021 if test x$gtk_config_prefix != x ; then
28022 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28023 if test x${GTK_CONFIG+set} != xset ; then
28024 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28025 fi
28026 fi
28027
28028 # Extract the first word of "gtk-config", so it can be a program name with args.
28029 set dummy gtk-config; ac_word=$2
28030 echo "$as_me:$LINENO: checking for $ac_word" >&5
28031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28032 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28033 echo $ECHO_N "(cached) $ECHO_C" >&6
28034 else
28035 case $GTK_CONFIG in
28036 [\\/]* | ?:[\\/]*)
28037 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28038 ;;
28039 *)
28040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28041 for as_dir in $PATH
28042 do
28043 IFS=$as_save_IFS
28044 test -z "$as_dir" && as_dir=.
28045 for ac_exec_ext in '' $ac_executable_extensions; do
28046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28047 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28049 break 2
28050 fi
28051 done
28052 done
28053
28054 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28055 ;;
28056 esac
28057 fi
28058 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28059
28060 if test -n "$GTK_CONFIG"; then
28061 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28062 echo "${ECHO_T}$GTK_CONFIG" >&6
28063 else
28064 echo "$as_me:$LINENO: result: no" >&5
28065 echo "${ECHO_T}no" >&6
28066 fi
28067
28068 min_gtk_version=1.2.3
28069 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28070 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28071 no_gtk=""
28072 if test "$GTK_CONFIG" = "no" ; then
28073 no_gtk=yes
28074 else
28075 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28076 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28077 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28079 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28081 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28083 if test "x$enable_gtktest" = "xyes" ; then
28084 ac_save_CFLAGS="$CFLAGS"
28085 ac_save_LIBS="$LIBS"
28086 CFLAGS="$CFLAGS $GTK_CFLAGS"
28087 LIBS="$GTK_LIBS $LIBS"
28088 rm -f conf.gtktest
28089 if test "$cross_compiling" = yes; then
28090 echo $ac_n "cross compiling; assumed OK... $ac_c"
28091 else
28092 cat >conftest.$ac_ext <<_ACEOF
28093 /* confdefs.h. */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28098
28099 #include <gtk/gtk.h>
28100 #include <stdio.h>
28101 #include <stdlib.h>
28102
28103 int
28104 main ()
28105 {
28106 int major, minor, micro;
28107 char *tmp_version;
28108
28109 system ("touch conf.gtktest");
28110
28111 /* HP/UX 9 (%@#!) writes to sscanf strings */
28112 tmp_version = g_strdup("$min_gtk_version");
28113 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28114 printf("%s, bad version string\n", "$min_gtk_version");
28115 exit(1);
28116 }
28117
28118 if ((gtk_major_version != $gtk_config_major_version) ||
28119 (gtk_minor_version != $gtk_config_minor_version) ||
28120 (gtk_micro_version != $gtk_config_micro_version))
28121 {
28122 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28123 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28124 gtk_major_version, gtk_minor_version, gtk_micro_version);
28125 printf ("*** was found! If gtk-config was correct, then it is best\n");
28126 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28127 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28128 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28129 printf("*** required on your system.\n");
28130 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28131 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28132 printf("*** before re-running configure\n");
28133 }
28134 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28135 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28136 (gtk_minor_version != GTK_MINOR_VERSION) ||
28137 (gtk_micro_version != GTK_MICRO_VERSION))
28138 {
28139 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28140 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28141 printf("*** library (version %d.%d.%d)\n",
28142 gtk_major_version, gtk_minor_version, gtk_micro_version);
28143 }
28144 #endif /* defined (GTK_MAJOR_VERSION) ... */
28145 else
28146 {
28147 if ((gtk_major_version > major) ||
28148 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28149 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28150 {
28151 return 0;
28152 }
28153 else
28154 {
28155 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28156 gtk_major_version, gtk_minor_version, gtk_micro_version);
28157 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28158 major, minor, micro);
28159 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28160 printf("***\n");
28161 printf("*** If you have already installed a sufficiently new version, this error\n");
28162 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28163 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28164 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28165 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28166 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28167 printf("*** so that the correct libraries are found at run-time))\n");
28168 }
28169 }
28170 return 1;
28171 }
28172
28173 _ACEOF
28174 rm -f conftest$ac_exeext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176 (eval $ac_link) 2>&5
28177 ac_status=$?
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); } && { ac_try='./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 :
28186 else
28187 echo "$as_me: program exited with status $ac_status" >&5
28188 echo "$as_me: failed program was:" >&5
28189 sed 's/^/| /' conftest.$ac_ext >&5
28190
28191 ( exit $ac_status )
28192 no_gtk=yes
28193 fi
28194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28195 fi
28196 CFLAGS="$ac_save_CFLAGS"
28197 LIBS="$ac_save_LIBS"
28198 fi
28199 fi
28200 if test "x$no_gtk" = x ; then
28201 echo "$as_me:$LINENO: result: yes" >&5
28202 echo "${ECHO_T}yes" >&6
28203 wx_cv_lib_gtk=1.2.3
28204 else
28205 echo "$as_me:$LINENO: result: no" >&5
28206 echo "${ECHO_T}no" >&6
28207 if test "$GTK_CONFIG" = "no" ; then
28208 echo "*** The gtk-config script installed by GTK could not be found"
28209 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28210 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28211 echo "*** full path to gtk-config."
28212 else
28213 if test -f conf.gtktest ; then
28214 :
28215 else
28216 echo "*** Could not run GTK test program, checking why..."
28217 CFLAGS="$CFLAGS $GTK_CFLAGS"
28218 LIBS="$LIBS $GTK_LIBS"
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 #include <gtk/gtk.h>
28227 #include <stdio.h>
28228
28229 int
28230 main ()
28231 {
28232 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28233 ;
28234 return 0;
28235 }
28236 _ACEOF
28237 rm -f conftest.$ac_objext conftest$ac_exeext
28238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28239 (eval $ac_link) 2>conftest.er1
28240 ac_status=$?
28241 grep -v '^ *+' conftest.er1 >conftest.err
28242 rm -f conftest.er1
28243 cat conftest.err >&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } &&
28246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 echo "*** The test program compiled, but did not run. This usually means"
28259 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28260 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28261 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28262 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28263 echo "*** is required on your system"
28264 echo "***"
28265 echo "*** If you have an old version installed, it is best to remove it, although"
28266 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28267 echo "***"
28268 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28269 echo "*** came with the system with the command"
28270 echo "***"
28271 echo "*** rpm --erase --nodeps gtk gtk-devel"
28272 else
28273 echo "$as_me: failed program was:" >&5
28274 sed 's/^/| /' conftest.$ac_ext >&5
28275
28276 echo "*** The test program failed to compile or link. See the file config.log for the"
28277 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28278 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28279 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28280 fi
28281 rm -f conftest.err conftest.$ac_objext \
28282 conftest$ac_exeext conftest.$ac_ext
28283 CFLAGS="$ac_save_CFLAGS"
28284 LIBS="$ac_save_LIBS"
28285 fi
28286 fi
28287 GTK_CFLAGS=""
28288 GTK_LIBS=""
28289 :
28290 fi
28291
28292
28293 rm -f conf.gtktest
28294
28295 fi
28296 fi
28297 fi
28298
28299 if test -z "$wx_cv_lib_gtk"; then
28300 wx_cv_lib_gtk=none
28301 else
28302 wx_cv_cflags_gtk=$GTK_CFLAGS
28303 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28304 fi
28305
28306
28307 fi
28308
28309
28310 if test "$gtk_version_cached" = 1; then
28311 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28312 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28313 fi
28314
28315 case "$wx_cv_lib_gtk" in
28316 2.0) WXGTK20=1
28317 TOOLKIT_VERSION=2
28318 ;;
28319 1.2.7) WXGTK127=1
28320 WXGTK12=1
28321 ;;
28322 1.2.3) WXGTK12=1
28323 ;;
28324 *) { { echo "$as_me:$LINENO: error:
28325 The development files for GTK+ were not found. For GTK+ 2, please
28326 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28327 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28328 and that the version is 1.2.3 or above. Also check that the
28329 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28330 --libs' are in the LD_LIBRARY_PATH or equivalent.
28331 " >&5
28332 echo "$as_me: error:
28333 The development files for GTK+ were not found. For GTK+ 2, please
28334 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28335 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28336 and that the version is 1.2.3 or above. Also check that the
28337 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28338 --libs' are in the LD_LIBRARY_PATH or equivalent.
28339 " >&2;}
28340 { (exit 1); exit 1; }; }
28341 ;;
28342 esac
28343
28344 if test "$WXGTK20" = 1; then
28345 save_CFLAGS="$CFLAGS"
28346 save_LIBS="$LIBS"
28347 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28348 LIBS="$LIBS $wx_cv_libs_gtk"
28349
28350 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28351 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28352 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28353 echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355 cat >conftest.$ac_ext <<_ACEOF
28356 /* confdefs.h. */
28357 _ACEOF
28358 cat confdefs.h >>conftest.$ac_ext
28359 cat >>conftest.$ac_ext <<_ACEOF
28360 /* end confdefs.h. */
28361 #include <gtk/gtk.h>
28362
28363 int
28364 main ()
28365 {
28366 #ifndef gtk_icon_size_lookup
28367 char *p = (char *) gtk_icon_size_lookup;
28368 #endif
28369
28370 ;
28371 return 0;
28372 }
28373 _ACEOF
28374 rm -f conftest.$ac_objext
28375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28376 (eval $ac_compile) 2>conftest.er1
28377 ac_status=$?
28378 grep -v '^ *+' conftest.er1 >conftest.err
28379 rm -f conftest.er1
28380 cat conftest.err >&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28385 (eval $ac_try) 2>&5
28386 ac_status=$?
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; } &&
28389 { ac_try='test -s conftest.$ac_objext'
28390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28391 (eval $ac_try) 2>&5
28392 ac_status=$?
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); }; }; then
28395 ac_cv_have_decl_gtk_icon_size_lookup=yes
28396 else
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.$ac_ext >&5
28399
28400 ac_cv_have_decl_gtk_icon_size_lookup=no
28401 fi
28402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28403 fi
28404 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28405 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28406 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28407
28408 cat >>confdefs.h <<_ACEOF
28409 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28410 _ACEOF
28411
28412
28413 else
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28416 _ACEOF
28417
28418 cat >>confdefs.h <<\_ACEOF
28419 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28420 _ACEOF
28421
28422 fi
28423
28424
28425
28426 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28427 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28428 cat >conftest.$ac_ext <<_ACEOF
28429 /* confdefs.h. */
28430 _ACEOF
28431 cat confdefs.h >>conftest.$ac_ext
28432 cat >>conftest.$ac_ext <<_ACEOF
28433 /* end confdefs.h. */
28434
28435 #include <gtk/gtk.h>
28436
28437 int
28438 main ()
28439 {
28440
28441 #if !GTK_CHECK_VERSION(2,6,0)
28442 Not GTK+ 2.6
28443 #endif
28444
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext
28450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28451 (eval $ac_compile) 2>conftest.er1
28452 ac_status=$?
28453 grep -v '^ *+' conftest.er1 >conftest.err
28454 rm -f conftest.er1
28455 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } &&
28458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460 (eval $ac_try) 2>&5
28461 ac_status=$?
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); }; } &&
28464 { ac_try='test -s conftest.$ac_objext'
28465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28466 (eval $ac_try) 2>&5
28467 ac_status=$?
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); }; }; then
28470
28471 cat >>confdefs.h <<\_ACEOF
28472 #define __WXGTK26__ 1
28473 _ACEOF
28474
28475 cat >>confdefs.h <<\_ACEOF
28476 #define __WXGTK24__ 1
28477 _ACEOF
28478
28479 echo "$as_me:$LINENO: result: yes" >&5
28480 echo "${ECHO_T}yes" >&6
28481 ac_wxgtk26=1
28482
28483 else
28484 echo "$as_me: failed program was:" >&5
28485 sed 's/^/| /' conftest.$ac_ext >&5
28486
28487
28488 echo "$as_me:$LINENO: result: no" >&5
28489 echo "${ECHO_T}no" >&6
28490 ac_wxgtk26=0
28491
28492 fi
28493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28494
28495 if test "$ac_wxgtk26" = 0; then
28496 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28497 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28498 cat >conftest.$ac_ext <<_ACEOF
28499 /* confdefs.h. */
28500 _ACEOF
28501 cat confdefs.h >>conftest.$ac_ext
28502 cat >>conftest.$ac_ext <<_ACEOF
28503 /* end confdefs.h. */
28504
28505 #include <gtk/gtk.h>
28506
28507 int
28508 main ()
28509 {
28510
28511 #if !GTK_CHECK_VERSION(2,4,0)
28512 Not GTK+ 2.4
28513 #endif
28514
28515 ;
28516 return 0;
28517 }
28518 _ACEOF
28519 rm -f conftest.$ac_objext
28520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28521 (eval $ac_compile) 2>conftest.er1
28522 ac_status=$?
28523 grep -v '^ *+' conftest.er1 >conftest.err
28524 rm -f conftest.er1
28525 cat conftest.err >&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); } &&
28528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; } &&
28534 { ac_try='test -s conftest.$ac_objext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28537 ac_status=$?
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540
28541 cat >>confdefs.h <<\_ACEOF
28542 #define __WXGTK24__ 1
28543 _ACEOF
28544
28545 echo "$as_me:$LINENO: result: yes" >&5
28546 echo "${ECHO_T}yes" >&6
28547
28548 else
28549 echo "$as_me: failed program was:" >&5
28550 sed 's/^/| /' conftest.$ac_ext >&5
28551
28552
28553 echo "$as_me:$LINENO: result: no" >&5
28554 echo "${ECHO_T}no" >&6
28555
28556 fi
28557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28558 fi
28559
28560 CFLAGS="$save_CFLAGS"
28561 LIBS="$save_LIBS"
28562 else
28563 if test "$wxUSE_UNICODE" = "yes"; then
28564 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28565 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28566 wxUSE_UNICODE=no
28567 fi
28568
28569 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28570 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28571 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28574 ac_check_lib_save_LIBS=$LIBS
28575 LIBS="-lgdk $LIBS"
28576 cat >conftest.$ac_ext <<_ACEOF
28577 /* confdefs.h. */
28578 _ACEOF
28579 cat confdefs.h >>conftest.$ac_ext
28580 cat >>conftest.$ac_ext <<_ACEOF
28581 /* end confdefs.h. */
28582
28583 /* Override any gcc2 internal prototype to avoid an error. */
28584 #ifdef __cplusplus
28585 extern "C"
28586 #endif
28587 /* We use char because int might match the return type of a gcc2
28588 builtin and then its argument prototype would still apply. */
28589 char gdk_im_open ();
28590 int
28591 main ()
28592 {
28593 gdk_im_open ();
28594 ;
28595 return 0;
28596 }
28597 _ACEOF
28598 rm -f conftest.$ac_objext conftest$ac_exeext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28600 (eval $ac_link) 2>conftest.er1
28601 ac_status=$?
28602 grep -v '^ *+' conftest.er1 >conftest.err
28603 rm -f conftest.er1
28604 cat conftest.err >&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28609 (eval $ac_try) 2>&5
28610 ac_status=$?
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); }; } &&
28613 { ac_try='test -s conftest$ac_exeext'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28616 ac_status=$?
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; }; then
28619 ac_cv_lib_gdk_gdk_im_open=yes
28620 else
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28623
28624 ac_cv_lib_gdk_gdk_im_open=no
28625 fi
28626 rm -f conftest.err conftest.$ac_objext \
28627 conftest$ac_exeext conftest.$ac_ext
28628 LIBS=$ac_check_lib_save_LIBS
28629 fi
28630 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28631 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28632 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define HAVE_XIM 1
28635 _ACEOF
28636
28637 fi
28638
28639 fi
28640
28641 if test "$USE_DARWIN" != 1; then
28642
28643 for ac_func in poll
28644 do
28645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28646 echo "$as_me:$LINENO: checking for $ac_func" >&5
28647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28648 if eval "test \"\${$as_ac_var+set}\" = set"; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 cat >conftest.$ac_ext <<_ACEOF
28652 /* confdefs.h. */
28653 _ACEOF
28654 cat confdefs.h >>conftest.$ac_ext
28655 cat >>conftest.$ac_ext <<_ACEOF
28656 /* end confdefs.h. */
28657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28659 #define $ac_func innocuous_$ac_func
28660
28661 /* System header to define __stub macros and hopefully few prototypes,
28662 which can conflict with char $ac_func (); below.
28663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28664 <limits.h> exists even on freestanding compilers. */
28665
28666 #ifdef __STDC__
28667 # include <limits.h>
28668 #else
28669 # include <assert.h>
28670 #endif
28671
28672 #undef $ac_func
28673
28674 /* Override any gcc2 internal prototype to avoid an error. */
28675 #ifdef __cplusplus
28676 extern "C"
28677 {
28678 #endif
28679 /* We use char because int might match the return type of a gcc2
28680 builtin and then its argument prototype would still apply. */
28681 char $ac_func ();
28682 /* The GNU C library defines this for functions which it implements
28683 to always fail with ENOSYS. Some functions are actually named
28684 something starting with __ and the normal name is an alias. */
28685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28686 choke me
28687 #else
28688 char (*f) () = $ac_func;
28689 #endif
28690 #ifdef __cplusplus
28691 }
28692 #endif
28693
28694 int
28695 main ()
28696 {
28697 return f != $ac_func;
28698 ;
28699 return 0;
28700 }
28701 _ACEOF
28702 rm -f conftest.$ac_objext conftest$ac_exeext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28704 (eval $ac_link) 2>conftest.er1
28705 ac_status=$?
28706 grep -v '^ *+' conftest.er1 >conftest.err
28707 rm -f conftest.er1
28708 cat conftest.err >&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); } &&
28711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28713 (eval $ac_try) 2>&5
28714 ac_status=$?
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; } &&
28717 { ac_try='test -s conftest$ac_exeext'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28720 ac_status=$?
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; }; then
28723 eval "$as_ac_var=yes"
28724 else
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.$ac_ext >&5
28727
28728 eval "$as_ac_var=no"
28729 fi
28730 rm -f conftest.err conftest.$ac_objext \
28731 conftest$ac_exeext conftest.$ac_ext
28732 fi
28733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28735 if test `eval echo '${'$as_ac_var'}'` = yes; then
28736 cat >>confdefs.h <<_ACEOF
28737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28738 _ACEOF
28739
28740 fi
28741 done
28742
28743 fi
28744
28745 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28746 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28747
28748 AFMINSTALL=afminstall
28749 TOOLKIT=GTK
28750 GUIDIST=GTK_DIST
28751
28752 if test "$wxUSE_GPE" = "yes"; then
28753 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28754 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28755
28756 ac_find_libraries=
28757 for ac_dir in $SEARCH_LIB;
28758 do
28759 for ac_extension in a so sl dylib dll.a; do
28760 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28761 ac_find_libraries=$ac_dir
28762 break 2
28763 fi
28764 done
28765 done
28766
28767 if test "$ac_find_libraries" != "" ; then
28768
28769 if test "$ac_find_libraries" = "default location"; then
28770 ac_path_to_link=""
28771 else
28772 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28773 result=$?
28774 if test $result = 0; then
28775 ac_path_to_link=""
28776 else
28777 ac_path_to_link=" -L$ac_find_libraries"
28778 fi
28779 fi
28780
28781 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28782 WXGPE=1
28783 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28784 echo "${ECHO_T}found in $ac_find_libraries" >&6
28785 else
28786 echo "$as_me:$LINENO: result: not found" >&5
28787 echo "${ECHO_T}not found" >&6
28788 fi
28789
28790 fi
28791 fi
28792
28793 if test "$wxUSE_MGL" = 1; then
28794 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28795 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28796 if test "x$MGL_ROOT" = x ; then
28797 echo "$as_me:$LINENO: result: not found" >&5
28798 echo "${ECHO_T}not found" >&6
28799 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28800 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28801 { (exit 1); exit 1; }; }
28802 else
28803 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28804 echo "${ECHO_T}$MGL_ROOT" >&6
28805 fi
28806
28807 echo "$as_me:$LINENO: checking for libmgl location" >&5
28808 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28809 case "${host}" in
28810 *-*-linux* )
28811 if test "x$wxUSE_SHARED" = xyes ; then
28812 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28813 else
28814 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28815 fi
28816 ;;
28817 *-pc-msdosdjgpp )
28818 mgl_os_candidates="dos32/dj2"
28819 ;;
28820 *)
28821 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28822 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28823 { (exit 1); exit 1; }; }
28824 esac
28825
28826 mgl_lib_type=""
28827 mgl_os=""
28828
28829 for mgl_os_i in $mgl_os_candidates ; do
28830 if test "x$mgl_os" = x ; then
28831 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28832 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28833 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28834 mgl_lib_type=debug
28835 mgl_os=$mgl_os_i
28836 fi
28837 fi
28838 if test "x$mgl_lib_type" = x ; then
28839 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28840 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28841 mgl_lib_type=release
28842 mgl_os=$mgl_os_i
28843 fi
28844 fi
28845 fi
28846 done
28847
28848 if test "x$mgl_os" = x ; then
28849 echo "$as_me:$LINENO: result: not found" >&5
28850 echo "${ECHO_T}not found" >&6
28851 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28852 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28853 { (exit 1); exit 1; }; }
28854 fi
28855 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28856 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28857
28858 wxUSE_UNIVERSAL="yes"
28859
28860 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28861 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28862
28863 AFMINSTALL=afminstall
28864 TOOLKIT=MGL
28865 GUIDIST=MGL_DIST
28866 fi
28867
28868 if test "$wxUSE_DFB" = 1; then
28869
28870
28871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28872 if test -n "$ac_tool_prefix"; then
28873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28875 echo "$as_me:$LINENO: checking for $ac_word" >&5
28876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28877 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28878 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 else
28880 case $PKG_CONFIG in
28881 [\\/]* | ?:[\\/]*)
28882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28883 ;;
28884 *)
28885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28886 for as_dir in $PATH
28887 do
28888 IFS=$as_save_IFS
28889 test -z "$as_dir" && as_dir=.
28890 for ac_exec_ext in '' $ac_executable_extensions; do
28891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28894 break 2
28895 fi
28896 done
28897 done
28898
28899 ;;
28900 esac
28901 fi
28902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28903
28904 if test -n "$PKG_CONFIG"; then
28905 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28906 echo "${ECHO_T}$PKG_CONFIG" >&6
28907 else
28908 echo "$as_me:$LINENO: result: no" >&5
28909 echo "${ECHO_T}no" >&6
28910 fi
28911
28912 fi
28913 if test -z "$ac_cv_path_PKG_CONFIG"; then
28914 ac_pt_PKG_CONFIG=$PKG_CONFIG
28915 # Extract the first word of "pkg-config", so it can be a program name with args.
28916 set dummy pkg-config; ac_word=$2
28917 echo "$as_me:$LINENO: checking for $ac_word" >&5
28918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28919 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28920 echo $ECHO_N "(cached) $ECHO_C" >&6
28921 else
28922 case $ac_pt_PKG_CONFIG in
28923 [\\/]* | ?:[\\/]*)
28924 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28925 ;;
28926 *)
28927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28928 for as_dir in $PATH
28929 do
28930 IFS=$as_save_IFS
28931 test -z "$as_dir" && as_dir=.
28932 for ac_exec_ext in '' $ac_executable_extensions; do
28933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28934 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28936 break 2
28937 fi
28938 done
28939 done
28940
28941 ;;
28942 esac
28943 fi
28944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28945
28946 if test -n "$ac_pt_PKG_CONFIG"; then
28947 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28948 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
28949 else
28950 echo "$as_me:$LINENO: result: no" >&5
28951 echo "${ECHO_T}no" >&6
28952 fi
28953
28954 PKG_CONFIG=$ac_pt_PKG_CONFIG
28955 else
28956 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28957 fi
28958
28959 fi
28960 if test -n "$PKG_CONFIG"; then
28961 _pkg_min_version=0.9.0
28962 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28963 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
28964 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28965 echo "$as_me:$LINENO: result: yes" >&5
28966 echo "${ECHO_T}yes" >&6
28967 else
28968 echo "$as_me:$LINENO: result: no" >&5
28969 echo "${ECHO_T}no" >&6
28970 PKG_CONFIG=""
28971 fi
28972
28973 fi
28974
28975
28976 pkg_failed=no
28977 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28978 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
28979
28980 if test -n "$PKG_CONFIG"; then
28981 if test -n "$DIRECTFB_CFLAGS"; then
28982 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28983 else
28984 if test -n "$PKG_CONFIG" && \
28985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28986 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; then
28990 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28991 else
28992 pkg_failed=yes
28993 fi
28994 fi
28995 else
28996 pkg_failed=untried
28997 fi
28998 if test -n "$PKG_CONFIG"; then
28999 if test -n "$DIRECTFB_LIBS"; then
29000 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29001 else
29002 if test -n "$PKG_CONFIG" && \
29003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29004 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29005 ac_status=$?
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); }; then
29008 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29009 else
29010 pkg_failed=yes
29011 fi
29012 fi
29013 else
29014 pkg_failed=untried
29015 fi
29016
29017
29018
29019 if test $pkg_failed = yes; then
29020
29021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29022 _pkg_short_errors_supported=yes
29023 else
29024 _pkg_short_errors_supported=no
29025 fi
29026 if test $_pkg_short_errors_supported = yes; then
29027 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29028 else
29029 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29030 fi
29031 # Put the nasty error message in config.log where it belongs
29032 echo "$DIRECTFB_PKG_ERRORS" >&5
29033
29034
29035 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29036 echo "$as_me: error: DirectFB not found." >&2;}
29037 { (exit 1); exit 1; }; }
29038
29039
29040 elif test $pkg_failed = untried; then
29041
29042 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29043 echo "$as_me: error: DirectFB not found." >&2;}
29044 { (exit 1); exit 1; }; }
29045
29046
29047 else
29048 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29049 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29050 echo "$as_me:$LINENO: result: yes" >&5
29051 echo "${ECHO_T}yes" >&6
29052
29053 wxUSE_UNIVERSAL="yes"
29054 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29055 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29056 TOOLKIT=DFB
29057 GUIDIST=DFB_DIST
29058
29059 fi
29060 fi
29061
29062 if test "$wxUSE_MICROWIN" = 1; then
29063 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29064 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29065 if test "x$MICROWINDOWS" = x ; then
29066 echo "$as_me:$LINENO: result: not found" >&5
29067 echo "${ECHO_T}not found" >&6
29068 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29069 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29070 { (exit 1); exit 1; }; }
29071 else
29072 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29073 echo "${ECHO_T}$MICROWINDOWS" >&6
29074 fi
29075
29076 if test -f $MICROWINDOWS/lib/libmwin.a; then
29077 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29078 echo "${ECHO_T}MicroWindows' libraries found." >&6
29079 else
29080 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29081 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29082 { (exit 1); exit 1; }; }
29083 fi
29084
29085 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29086 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29087
29088 wxUSE_UNIVERSAL="yes"
29089
29090 AFMINSTALL=afminstall
29091 TOOLKIT=MICROWIN
29092 GUIDIST=MICROWIN_DIST
29093
29094 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29095 fi
29096
29097 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29098
29099 if test "x$ac_path_x_has_been_run" != xyes; then
29100 echo "$as_me:$LINENO: checking for X" >&5
29101 echo $ECHO_N "checking for X... $ECHO_C" >&6
29102
29103 ac_path_x_has_been_run=yes
29104
29105 # Check whether --with-x or --without-x was given.
29106 if test "${with_x+set}" = set; then
29107 withval="$with_x"
29108
29109 fi;
29110 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29111 if test "x$with_x" = xno; then
29112 # The user explicitly disabled X.
29113 have_x=disabled
29114 else
29115 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29116 # Both variables are already set.
29117 have_x=yes
29118 else
29119 if test "${ac_cv_have_x+set}" = set; then
29120 echo $ECHO_N "(cached) $ECHO_C" >&6
29121 else
29122 # One or both of the vars are not set, and there is no cached value.
29123 ac_x_includes=no ac_x_libraries=no
29124 rm -fr conftest.dir
29125 if mkdir conftest.dir; then
29126 cd conftest.dir
29127 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29128 cat >Imakefile <<'_ACEOF'
29129 acfindx:
29130 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29131 _ACEOF
29132 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29133 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29134 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29135 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29136 for ac_extension in a so sl; do
29137 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29138 test -f $ac_im_libdir/libX11.$ac_extension; then
29139 ac_im_usrlibdir=$ac_im_libdir; break
29140 fi
29141 done
29142 # Screen out bogus values from the imake configuration. They are
29143 # bogus both because they are the default anyway, and because
29144 # using them would break gcc on systems where it needs fixed includes.
29145 case $ac_im_incroot in
29146 /usr/include) ;;
29147 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29148 esac
29149 case $ac_im_usrlibdir in
29150 /usr/lib | /lib) ;;
29151 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29152 esac
29153 fi
29154 cd ..
29155 rm -fr conftest.dir
29156 fi
29157
29158 # Standard set of common directories for X headers.
29159 # Check X11 before X11Rn because it is often a symlink to the current release.
29160 ac_x_header_dirs='
29161 /usr/X11/include
29162 /usr/X11R6/include
29163 /usr/X11R5/include
29164 /usr/X11R4/include
29165
29166 /usr/include/X11
29167 /usr/include/X11R6
29168 /usr/include/X11R5
29169 /usr/include/X11R4
29170
29171 /usr/local/X11/include
29172 /usr/local/X11R6/include
29173 /usr/local/X11R5/include
29174 /usr/local/X11R4/include
29175
29176 /usr/local/include/X11
29177 /usr/local/include/X11R6
29178 /usr/local/include/X11R5
29179 /usr/local/include/X11R4
29180
29181 /usr/X386/include
29182 /usr/x386/include
29183 /usr/XFree86/include/X11
29184
29185 /usr/include
29186 /usr/local/include
29187 /usr/unsupported/include
29188 /usr/athena/include
29189 /usr/local/x11r5/include
29190 /usr/lpp/Xamples/include
29191
29192 /usr/openwin/include
29193 /usr/openwin/share/include'
29194
29195 if test "$ac_x_includes" = no; then
29196 # Guess where to find include files, by looking for a specified header file.
29197 # First, try using that file with no special directory specified.
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 #include <X11/Intrinsic.h>
29205 _ACEOF
29206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29208 ac_status=$?
29209 grep -v '^ *+' conftest.er1 >conftest.err
29210 rm -f conftest.er1
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } >/dev/null; then
29214 if test -s conftest.err; then
29215 ac_cpp_err=$ac_c_preproc_warn_flag
29216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29217 else
29218 ac_cpp_err=
29219 fi
29220 else
29221 ac_cpp_err=yes
29222 fi
29223 if test -z "$ac_cpp_err"; then
29224 # We can compile using X headers with no special include directory.
29225 ac_x_includes=
29226 else
29227 echo "$as_me: failed program was:" >&5
29228 sed 's/^/| /' conftest.$ac_ext >&5
29229
29230 for ac_dir in $ac_x_header_dirs; do
29231 if test -r "$ac_dir/X11/Intrinsic.h"; then
29232 ac_x_includes=$ac_dir
29233 break
29234 fi
29235 done
29236 fi
29237 rm -f conftest.err conftest.$ac_ext
29238 fi # $ac_x_includes = no
29239
29240 if test "$ac_x_libraries" = no; then
29241 # Check for the libraries.
29242 # See if we find them without any special options.
29243 # Don't add to $LIBS permanently.
29244 ac_save_LIBS=$LIBS
29245 LIBS="-lXt $LIBS"
29246 cat >conftest.$ac_ext <<_ACEOF
29247 /* confdefs.h. */
29248 _ACEOF
29249 cat confdefs.h >>conftest.$ac_ext
29250 cat >>conftest.$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29252 #include <X11/Intrinsic.h>
29253 int
29254 main ()
29255 {
29256 XtMalloc (0)
29257 ;
29258 return 0;
29259 }
29260 _ACEOF
29261 rm -f conftest.$ac_objext conftest$ac_exeext
29262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29263 (eval $ac_link) 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } &&
29270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29272 (eval $ac_try) 2>&5
29273 ac_status=$?
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); }; } &&
29276 { ac_try='test -s conftest$ac_exeext'
29277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278 (eval $ac_try) 2>&5
29279 ac_status=$?
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); }; }; then
29282 LIBS=$ac_save_LIBS
29283 # We can link X programs with no special library path.
29284 ac_x_libraries=
29285 else
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.$ac_ext >&5
29288
29289 LIBS=$ac_save_LIBS
29290 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29291 do
29292 # Don't even attempt the hair of trying to link an X program!
29293 for ac_extension in a so sl; do
29294 if test -r $ac_dir/libXt.$ac_extension; then
29295 ac_x_libraries=$ac_dir
29296 break 2
29297 fi
29298 done
29299 done
29300 fi
29301 rm -f conftest.err conftest.$ac_objext \
29302 conftest$ac_exeext conftest.$ac_ext
29303 fi # $ac_x_libraries = no
29304
29305 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29306 # Didn't find X anywhere. Cache the known absence of X.
29307 ac_cv_have_x="have_x=no"
29308 else
29309 # Record where we found X for the cache.
29310 ac_cv_have_x="have_x=yes \
29311 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29312 fi
29313 fi
29314
29315 fi
29316 eval "$ac_cv_have_x"
29317 fi # $with_x != no
29318
29319 if test "$have_x" != yes; then
29320 echo "$as_me:$LINENO: result: $have_x" >&5
29321 echo "${ECHO_T}$have_x" >&6
29322 no_x=yes
29323 else
29324 # If each of the values was on the command line, it overrides each guess.
29325 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29326 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29327 # Update the cache value to reflect the command line values.
29328 ac_cv_have_x="have_x=yes \
29329 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29330 # It might be that x_includes is empty (headers are found in the
29331 # standard search path. Then output the corresponding message
29332 ac_out_x_includes=$x_includes
29333 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29334 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29335 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29336 fi
29337
29338 fi
29339 if test "$no_x" = yes; then
29340 # Not all programs may use this symbol, but it does not hurt to define it.
29341
29342 cat >>confdefs.h <<\_ACEOF
29343 #define X_DISPLAY_MISSING 1
29344 _ACEOF
29345
29346 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29347 else
29348 if test -n "$x_includes"; then
29349 X_CFLAGS="$X_CFLAGS -I$x_includes"
29350 fi
29351
29352 # It would also be nice to do this for all -L options, not just this one.
29353 if test -n "$x_libraries"; then
29354 X_LIBS="$X_LIBS -L$x_libraries"
29355 # For Solaris; some versions of Sun CC require a space after -R and
29356 # others require no space. Words are not sufficient . . . .
29357 case `(uname -sr) 2>/dev/null` in
29358 "SunOS 5"*)
29359 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29360 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29361 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29362 cat >conftest.$ac_ext <<_ACEOF
29363 /* confdefs.h. */
29364 _ACEOF
29365 cat confdefs.h >>conftest.$ac_ext
29366 cat >>conftest.$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29368
29369 int
29370 main ()
29371 {
29372
29373 ;
29374 return 0;
29375 }
29376 _ACEOF
29377 rm -f conftest.$ac_objext conftest$ac_exeext
29378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29379 (eval $ac_link) 2>conftest.er1
29380 ac_status=$?
29381 grep -v '^ *+' conftest.er1 >conftest.err
29382 rm -f conftest.er1
29383 cat conftest.err >&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); } &&
29386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29389 ac_status=$?
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; } &&
29392 { ac_try='test -s conftest$ac_exeext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29395 ac_status=$?
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29398 ac_R_nospace=yes
29399 else
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29402
29403 ac_R_nospace=no
29404 fi
29405 rm -f conftest.err conftest.$ac_objext \
29406 conftest$ac_exeext conftest.$ac_ext
29407 if test $ac_R_nospace = yes; then
29408 echo "$as_me:$LINENO: result: no" >&5
29409 echo "${ECHO_T}no" >&6
29410 X_LIBS="$X_LIBS -R$x_libraries"
29411 else
29412 LIBS="$ac_xsave_LIBS -R $x_libraries"
29413 cat >conftest.$ac_ext <<_ACEOF
29414 /* confdefs.h. */
29415 _ACEOF
29416 cat confdefs.h >>conftest.$ac_ext
29417 cat >>conftest.$ac_ext <<_ACEOF
29418 /* end confdefs.h. */
29419
29420 int
29421 main ()
29422 {
29423
29424 ;
29425 return 0;
29426 }
29427 _ACEOF
29428 rm -f conftest.$ac_objext conftest$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>conftest.er1
29431 ac_status=$?
29432 grep -v '^ *+' conftest.er1 >conftest.err
29433 rm -f conftest.er1
29434 cat conftest.err >&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } &&
29437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29439 (eval $ac_try) 2>&5
29440 ac_status=$?
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); }; } &&
29443 { ac_try='test -s conftest$ac_exeext'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29446 ac_status=$?
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; }; then
29449 ac_R_space=yes
29450 else
29451 echo "$as_me: failed program was:" >&5
29452 sed 's/^/| /' conftest.$ac_ext >&5
29453
29454 ac_R_space=no
29455 fi
29456 rm -f conftest.err conftest.$ac_objext \
29457 conftest$ac_exeext conftest.$ac_ext
29458 if test $ac_R_space = yes; then
29459 echo "$as_me:$LINENO: result: yes" >&5
29460 echo "${ECHO_T}yes" >&6
29461 X_LIBS="$X_LIBS -R $x_libraries"
29462 else
29463 echo "$as_me:$LINENO: result: neither works" >&5
29464 echo "${ECHO_T}neither works" >&6
29465 fi
29466 fi
29467 LIBS=$ac_xsave_LIBS
29468 esac
29469 fi
29470
29471 # Check for system-dependent libraries X programs must link with.
29472 # Do this before checking for the system-independent R6 libraries
29473 # (-lICE), since we may need -lsocket or whatever for X linking.
29474
29475 if test "$ISC" = yes; then
29476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29477 else
29478 # Martyn Johnson says this is needed for Ultrix, if the X
29479 # libraries were built with DECnet support. And Karl Berry says
29480 # the Alpha needs dnet_stub (dnet does not exist).
29481 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29482 cat >conftest.$ac_ext <<_ACEOF
29483 /* confdefs.h. */
29484 _ACEOF
29485 cat confdefs.h >>conftest.$ac_ext
29486 cat >>conftest.$ac_ext <<_ACEOF
29487 /* end confdefs.h. */
29488
29489 /* Override any gcc2 internal prototype to avoid an error. */
29490 #ifdef __cplusplus
29491 extern "C"
29492 #endif
29493 /* We use char because int might match the return type of a gcc2
29494 builtin and then its argument prototype would still apply. */
29495 char XOpenDisplay ();
29496 int
29497 main ()
29498 {
29499 XOpenDisplay ();
29500 ;
29501 return 0;
29502 }
29503 _ACEOF
29504 rm -f conftest.$ac_objext conftest$ac_exeext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29506 (eval $ac_link) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29516 ac_status=$?
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; } &&
29519 { ac_try='test -s conftest$ac_exeext'
29520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521 (eval $ac_try) 2>&5
29522 ac_status=$?
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); }; }; then
29525 :
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29531 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29532 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29533 echo $ECHO_N "(cached) $ECHO_C" >&6
29534 else
29535 ac_check_lib_save_LIBS=$LIBS
29536 LIBS="-ldnet $LIBS"
29537 cat >conftest.$ac_ext <<_ACEOF
29538 /* confdefs.h. */
29539 _ACEOF
29540 cat confdefs.h >>conftest.$ac_ext
29541 cat >>conftest.$ac_ext <<_ACEOF
29542 /* end confdefs.h. */
29543
29544 /* Override any gcc2 internal prototype to avoid an error. */
29545 #ifdef __cplusplus
29546 extern "C"
29547 #endif
29548 /* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550 char dnet_ntoa ();
29551 int
29552 main ()
29553 {
29554 dnet_ntoa ();
29555 ;
29556 return 0;
29557 }
29558 _ACEOF
29559 rm -f conftest.$ac_objext conftest$ac_exeext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29561 (eval $ac_link) 2>conftest.er1
29562 ac_status=$?
29563 grep -v '^ *+' conftest.er1 >conftest.err
29564 rm -f conftest.er1
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29570 (eval $ac_try) 2>&5
29571 ac_status=$?
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; } &&
29574 { ac_try='test -s conftest$ac_exeext'
29575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29576 (eval $ac_try) 2>&5
29577 ac_status=$?
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; }; then
29580 ac_cv_lib_dnet_dnet_ntoa=yes
29581 else
29582 echo "$as_me: failed program was:" >&5
29583 sed 's/^/| /' conftest.$ac_ext >&5
29584
29585 ac_cv_lib_dnet_dnet_ntoa=no
29586 fi
29587 rm -f conftest.err conftest.$ac_objext \
29588 conftest$ac_exeext conftest.$ac_ext
29589 LIBS=$ac_check_lib_save_LIBS
29590 fi
29591 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29592 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29593 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29594 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29595 fi
29596
29597 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29598 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29599 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29600 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29601 echo $ECHO_N "(cached) $ECHO_C" >&6
29602 else
29603 ac_check_lib_save_LIBS=$LIBS
29604 LIBS="-ldnet_stub $LIBS"
29605 cat >conftest.$ac_ext <<_ACEOF
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611
29612 /* Override any gcc2 internal prototype to avoid an error. */
29613 #ifdef __cplusplus
29614 extern "C"
29615 #endif
29616 /* We use char because int might match the return type of a gcc2
29617 builtin and then its argument prototype would still apply. */
29618 char dnet_ntoa ();
29619 int
29620 main ()
29621 {
29622 dnet_ntoa ();
29623 ;
29624 return 0;
29625 }
29626 _ACEOF
29627 rm -f conftest.$ac_objext conftest$ac_exeext
29628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29629 (eval $ac_link) 2>conftest.er1
29630 ac_status=$?
29631 grep -v '^ *+' conftest.er1 >conftest.err
29632 rm -f conftest.er1
29633 cat conftest.err >&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } &&
29636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29639 ac_status=$?
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; } &&
29642 { ac_try='test -s conftest$ac_exeext'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29645 ac_status=$?
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; }; then
29648 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29649 else
29650 echo "$as_me: failed program was:" >&5
29651 sed 's/^/| /' conftest.$ac_ext >&5
29652
29653 ac_cv_lib_dnet_stub_dnet_ntoa=no
29654 fi
29655 rm -f conftest.err conftest.$ac_objext \
29656 conftest$ac_exeext conftest.$ac_ext
29657 LIBS=$ac_check_lib_save_LIBS
29658 fi
29659 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29660 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29661 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29662 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29663 fi
29664
29665 fi
29666 fi
29667 rm -f conftest.err conftest.$ac_objext \
29668 conftest$ac_exeext conftest.$ac_ext
29669 LIBS="$ac_xsave_LIBS"
29670
29671 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29672 # to get the SysV transport functions.
29673 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29674 # needs -lnsl.
29675 # The nsl library prevents programs from opening the X display
29676 # on Irix 5.2, according to T.E. Dickey.
29677 # The functions gethostbyname, getservbyname, and inet_addr are
29678 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29679 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29680 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29681 if test "${ac_cv_func_gethostbyname+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 else
29684 cat >conftest.$ac_ext <<_ACEOF
29685 /* confdefs.h. */
29686 _ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29692 #define gethostbyname innocuous_gethostbyname
29693
29694 /* System header to define __stub macros and hopefully few prototypes,
29695 which can conflict with char gethostbyname (); below.
29696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29697 <limits.h> exists even on freestanding compilers. */
29698
29699 #ifdef __STDC__
29700 # include <limits.h>
29701 #else
29702 # include <assert.h>
29703 #endif
29704
29705 #undef gethostbyname
29706
29707 /* Override any gcc2 internal prototype to avoid an error. */
29708 #ifdef __cplusplus
29709 extern "C"
29710 {
29711 #endif
29712 /* We use char because int might match the return type of a gcc2
29713 builtin and then its argument prototype would still apply. */
29714 char gethostbyname ();
29715 /* The GNU C library defines this for functions which it implements
29716 to always fail with ENOSYS. Some functions are actually named
29717 something starting with __ and the normal name is an alias. */
29718 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29719 choke me
29720 #else
29721 char (*f) () = gethostbyname;
29722 #endif
29723 #ifdef __cplusplus
29724 }
29725 #endif
29726
29727 int
29728 main ()
29729 {
29730 return f != gethostbyname;
29731 ;
29732 return 0;
29733 }
29734 _ACEOF
29735 rm -f conftest.$ac_objext conftest$ac_exeext
29736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29737 (eval $ac_link) 2>conftest.er1
29738 ac_status=$?
29739 grep -v '^ *+' conftest.er1 >conftest.err
29740 rm -f conftest.er1
29741 cat conftest.err >&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); } &&
29744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29747 ac_status=$?
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; } &&
29750 { ac_try='test -s conftest$ac_exeext'
29751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29752 (eval $ac_try) 2>&5
29753 ac_status=$?
29754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29755 (exit $ac_status); }; }; then
29756 ac_cv_func_gethostbyname=yes
29757 else
29758 echo "$as_me: failed program was:" >&5
29759 sed 's/^/| /' conftest.$ac_ext >&5
29760
29761 ac_cv_func_gethostbyname=no
29762 fi
29763 rm -f conftest.err conftest.$ac_objext \
29764 conftest$ac_exeext conftest.$ac_ext
29765 fi
29766 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29767 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29768
29769 if test $ac_cv_func_gethostbyname = no; then
29770 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29771 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29772 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29773 echo $ECHO_N "(cached) $ECHO_C" >&6
29774 else
29775 ac_check_lib_save_LIBS=$LIBS
29776 LIBS="-lnsl $LIBS"
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783
29784 /* Override any gcc2 internal prototype to avoid an error. */
29785 #ifdef __cplusplus
29786 extern "C"
29787 #endif
29788 /* We use char because int might match the return type of a gcc2
29789 builtin and then its argument prototype would still apply. */
29790 char gethostbyname ();
29791 int
29792 main ()
29793 {
29794 gethostbyname ();
29795 ;
29796 return 0;
29797 }
29798 _ACEOF
29799 rm -f conftest.$ac_objext conftest$ac_exeext
29800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29801 (eval $ac_link) 2>conftest.er1
29802 ac_status=$?
29803 grep -v '^ *+' conftest.er1 >conftest.err
29804 rm -f conftest.er1
29805 cat conftest.err >&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); } &&
29808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810 (eval $ac_try) 2>&5
29811 ac_status=$?
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; } &&
29814 { ac_try='test -s conftest$ac_exeext'
29815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29816 (eval $ac_try) 2>&5
29817 ac_status=$?
29818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29819 (exit $ac_status); }; }; then
29820 ac_cv_lib_nsl_gethostbyname=yes
29821 else
29822 echo "$as_me: failed program was:" >&5
29823 sed 's/^/| /' conftest.$ac_ext >&5
29824
29825 ac_cv_lib_nsl_gethostbyname=no
29826 fi
29827 rm -f conftest.err conftest.$ac_objext \
29828 conftest$ac_exeext conftest.$ac_ext
29829 LIBS=$ac_check_lib_save_LIBS
29830 fi
29831 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29832 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29833 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29834 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29835 fi
29836
29837 if test $ac_cv_lib_nsl_gethostbyname = no; then
29838 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29839 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29840 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29842 else
29843 ac_check_lib_save_LIBS=$LIBS
29844 LIBS="-lbsd $LIBS"
29845 cat >conftest.$ac_ext <<_ACEOF
29846 /* confdefs.h. */
29847 _ACEOF
29848 cat confdefs.h >>conftest.$ac_ext
29849 cat >>conftest.$ac_ext <<_ACEOF
29850 /* end confdefs.h. */
29851
29852 /* Override any gcc2 internal prototype to avoid an error. */
29853 #ifdef __cplusplus
29854 extern "C"
29855 #endif
29856 /* We use char because int might match the return type of a gcc2
29857 builtin and then its argument prototype would still apply. */
29858 char gethostbyname ();
29859 int
29860 main ()
29861 {
29862 gethostbyname ();
29863 ;
29864 return 0;
29865 }
29866 _ACEOF
29867 rm -f conftest.$ac_objext conftest$ac_exeext
29868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29869 (eval $ac_link) 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; } &&
29882 { ac_try='test -s conftest$ac_exeext'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29885 ac_status=$?
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; }; then
29888 ac_cv_lib_bsd_gethostbyname=yes
29889 else
29890 echo "$as_me: failed program was:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29892
29893 ac_cv_lib_bsd_gethostbyname=no
29894 fi
29895 rm -f conftest.err conftest.$ac_objext \
29896 conftest$ac_exeext conftest.$ac_ext
29897 LIBS=$ac_check_lib_save_LIBS
29898 fi
29899 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29900 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29901 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29902 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29903 fi
29904
29905 fi
29906 fi
29907
29908 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29909 # socket/setsockopt and other routines are undefined under SCO ODT
29910 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29911 # on later versions), says Simon Leinen: it contains gethostby*
29912 # variants that don't use the name server (or something). -lsocket
29913 # must be given before -lnsl if both are needed. We assume that
29914 # if connect needs -lnsl, so does gethostbyname.
29915 echo "$as_me:$LINENO: checking for connect" >&5
29916 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29917 if test "${ac_cv_func_connect+set}" = set; then
29918 echo $ECHO_N "(cached) $ECHO_C" >&6
29919 else
29920 cat >conftest.$ac_ext <<_ACEOF
29921 /* confdefs.h. */
29922 _ACEOF
29923 cat confdefs.h >>conftest.$ac_ext
29924 cat >>conftest.$ac_ext <<_ACEOF
29925 /* end confdefs.h. */
29926 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29928 #define connect innocuous_connect
29929
29930 /* System header to define __stub macros and hopefully few prototypes,
29931 which can conflict with char connect (); below.
29932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29933 <limits.h> exists even on freestanding compilers. */
29934
29935 #ifdef __STDC__
29936 # include <limits.h>
29937 #else
29938 # include <assert.h>
29939 #endif
29940
29941 #undef connect
29942
29943 /* Override any gcc2 internal prototype to avoid an error. */
29944 #ifdef __cplusplus
29945 extern "C"
29946 {
29947 #endif
29948 /* We use char because int might match the return type of a gcc2
29949 builtin and then its argument prototype would still apply. */
29950 char connect ();
29951 /* The GNU C library defines this for functions which it implements
29952 to always fail with ENOSYS. Some functions are actually named
29953 something starting with __ and the normal name is an alias. */
29954 #if defined (__stub_connect) || defined (__stub___connect)
29955 choke me
29956 #else
29957 char (*f) () = connect;
29958 #endif
29959 #ifdef __cplusplus
29960 }
29961 #endif
29962
29963 int
29964 main ()
29965 {
29966 return f != connect;
29967 ;
29968 return 0;
29969 }
29970 _ACEOF
29971 rm -f conftest.$ac_objext conftest$ac_exeext
29972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29973 (eval $ac_link) 2>conftest.er1
29974 ac_status=$?
29975 grep -v '^ *+' conftest.er1 >conftest.err
29976 rm -f conftest.er1
29977 cat conftest.err >&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } &&
29980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29982 (eval $ac_try) 2>&5
29983 ac_status=$?
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); }; } &&
29986 { ac_try='test -s conftest$ac_exeext'
29987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988 (eval $ac_try) 2>&5
29989 ac_status=$?
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; }; then
29992 ac_cv_func_connect=yes
29993 else
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29996
29997 ac_cv_func_connect=no
29998 fi
29999 rm -f conftest.err conftest.$ac_objext \
30000 conftest$ac_exeext conftest.$ac_ext
30001 fi
30002 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30003 echo "${ECHO_T}$ac_cv_func_connect" >&6
30004
30005 if test $ac_cv_func_connect = no; then
30006 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30007 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30008 if test "${ac_cv_lib_socket_connect+set}" = set; then
30009 echo $ECHO_N "(cached) $ECHO_C" >&6
30010 else
30011 ac_check_lib_save_LIBS=$LIBS
30012 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30013 cat >conftest.$ac_ext <<_ACEOF
30014 /* confdefs.h. */
30015 _ACEOF
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019
30020 /* Override any gcc2 internal prototype to avoid an error. */
30021 #ifdef __cplusplus
30022 extern "C"
30023 #endif
30024 /* We use char because int might match the return type of a gcc2
30025 builtin and then its argument prototype would still apply. */
30026 char connect ();
30027 int
30028 main ()
30029 {
30030 connect ();
30031 ;
30032 return 0;
30033 }
30034 _ACEOF
30035 rm -f conftest.$ac_objext conftest$ac_exeext
30036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30037 (eval $ac_link) 2>conftest.er1
30038 ac_status=$?
30039 grep -v '^ *+' conftest.er1 >conftest.err
30040 rm -f conftest.er1
30041 cat conftest.err >&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); } &&
30044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30046 (eval $ac_try) 2>&5
30047 ac_status=$?
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); }; } &&
30050 { ac_try='test -s conftest$ac_exeext'
30051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30052 (eval $ac_try) 2>&5
30053 ac_status=$?
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); }; }; then
30056 ac_cv_lib_socket_connect=yes
30057 else
30058 echo "$as_me: failed program was:" >&5
30059 sed 's/^/| /' conftest.$ac_ext >&5
30060
30061 ac_cv_lib_socket_connect=no
30062 fi
30063 rm -f conftest.err conftest.$ac_objext \
30064 conftest$ac_exeext conftest.$ac_ext
30065 LIBS=$ac_check_lib_save_LIBS
30066 fi
30067 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30068 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30069 if test $ac_cv_lib_socket_connect = yes; then
30070 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30071 fi
30072
30073 fi
30074
30075 # Guillermo Gomez says -lposix is necessary on A/UX.
30076 echo "$as_me:$LINENO: checking for remove" >&5
30077 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30078 if test "${ac_cv_func_remove+set}" = set; then
30079 echo $ECHO_N "(cached) $ECHO_C" >&6
30080 else
30081 cat >conftest.$ac_ext <<_ACEOF
30082 /* confdefs.h. */
30083 _ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30089 #define remove innocuous_remove
30090
30091 /* System header to define __stub macros and hopefully few prototypes,
30092 which can conflict with char remove (); below.
30093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30094 <limits.h> exists even on freestanding compilers. */
30095
30096 #ifdef __STDC__
30097 # include <limits.h>
30098 #else
30099 # include <assert.h>
30100 #endif
30101
30102 #undef remove
30103
30104 /* Override any gcc2 internal prototype to avoid an error. */
30105 #ifdef __cplusplus
30106 extern "C"
30107 {
30108 #endif
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30111 char remove ();
30112 /* The GNU C library defines this for functions which it implements
30113 to always fail with ENOSYS. Some functions are actually named
30114 something starting with __ and the normal name is an alias. */
30115 #if defined (__stub_remove) || defined (__stub___remove)
30116 choke me
30117 #else
30118 char (*f) () = remove;
30119 #endif
30120 #ifdef __cplusplus
30121 }
30122 #endif
30123
30124 int
30125 main ()
30126 {
30127 return f != remove;
30128 ;
30129 return 0;
30130 }
30131 _ACEOF
30132 rm -f conftest.$ac_objext conftest$ac_exeext
30133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30134 (eval $ac_link) 2>conftest.er1
30135 ac_status=$?
30136 grep -v '^ *+' conftest.er1 >conftest.err
30137 rm -f conftest.er1
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } &&
30141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 (eval $ac_try) 2>&5
30144 ac_status=$?
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); }; } &&
30147 { ac_try='test -s conftest$ac_exeext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30150 ac_status=$?
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30153 ac_cv_func_remove=yes
30154 else
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30157
30158 ac_cv_func_remove=no
30159 fi
30160 rm -f conftest.err conftest.$ac_objext \
30161 conftest$ac_exeext conftest.$ac_ext
30162 fi
30163 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30164 echo "${ECHO_T}$ac_cv_func_remove" >&6
30165
30166 if test $ac_cv_func_remove = no; then
30167 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30168 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30169 if test "${ac_cv_lib_posix_remove+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30172 ac_check_lib_save_LIBS=$LIBS
30173 LIBS="-lposix $LIBS"
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180
30181 /* Override any gcc2 internal prototype to avoid an error. */
30182 #ifdef __cplusplus
30183 extern "C"
30184 #endif
30185 /* We use char because int might match the return type of a gcc2
30186 builtin and then its argument prototype would still apply. */
30187 char remove ();
30188 int
30189 main ()
30190 {
30191 remove ();
30192 ;
30193 return 0;
30194 }
30195 _ACEOF
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30199 ac_status=$?
30200 grep -v '^ *+' conftest.er1 >conftest.err
30201 rm -f conftest.er1
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30211 { ac_try='test -s conftest$ac_exeext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 ac_cv_lib_posix_remove=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222 ac_cv_lib_posix_remove=no
30223 fi
30224 rm -f conftest.err conftest.$ac_objext \
30225 conftest$ac_exeext conftest.$ac_ext
30226 LIBS=$ac_check_lib_save_LIBS
30227 fi
30228 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30229 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30230 if test $ac_cv_lib_posix_remove = yes; then
30231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30232 fi
30233
30234 fi
30235
30236 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30237 echo "$as_me:$LINENO: checking for shmat" >&5
30238 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30239 if test "${ac_cv_func_shmat+set}" = set; then
30240 echo $ECHO_N "(cached) $ECHO_C" >&6
30241 else
30242 cat >conftest.$ac_ext <<_ACEOF
30243 /* confdefs.h. */
30244 _ACEOF
30245 cat confdefs.h >>conftest.$ac_ext
30246 cat >>conftest.$ac_ext <<_ACEOF
30247 /* end confdefs.h. */
30248 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30250 #define shmat innocuous_shmat
30251
30252 /* System header to define __stub macros and hopefully few prototypes,
30253 which can conflict with char shmat (); below.
30254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30255 <limits.h> exists even on freestanding compilers. */
30256
30257 #ifdef __STDC__
30258 # include <limits.h>
30259 #else
30260 # include <assert.h>
30261 #endif
30262
30263 #undef shmat
30264
30265 /* Override any gcc2 internal prototype to avoid an error. */
30266 #ifdef __cplusplus
30267 extern "C"
30268 {
30269 #endif
30270 /* We use char because int might match the return type of a gcc2
30271 builtin and then its argument prototype would still apply. */
30272 char shmat ();
30273 /* The GNU C library defines this for functions which it implements
30274 to always fail with ENOSYS. Some functions are actually named
30275 something starting with __ and the normal name is an alias. */
30276 #if defined (__stub_shmat) || defined (__stub___shmat)
30277 choke me
30278 #else
30279 char (*f) () = shmat;
30280 #endif
30281 #ifdef __cplusplus
30282 }
30283 #endif
30284
30285 int
30286 main ()
30287 {
30288 return f != shmat;
30289 ;
30290 return 0;
30291 }
30292 _ACEOF
30293 rm -f conftest.$ac_objext conftest$ac_exeext
30294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30295 (eval $ac_link) 2>conftest.er1
30296 ac_status=$?
30297 grep -v '^ *+' conftest.er1 >conftest.err
30298 rm -f conftest.er1
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } &&
30302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30304 (eval $ac_try) 2>&5
30305 ac_status=$?
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; } &&
30308 { ac_try='test -s conftest$ac_exeext'
30309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30310 (eval $ac_try) 2>&5
30311 ac_status=$?
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); }; }; then
30314 ac_cv_func_shmat=yes
30315 else
30316 echo "$as_me: failed program was:" >&5
30317 sed 's/^/| /' conftest.$ac_ext >&5
30318
30319 ac_cv_func_shmat=no
30320 fi
30321 rm -f conftest.err conftest.$ac_objext \
30322 conftest$ac_exeext conftest.$ac_ext
30323 fi
30324 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30325 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30326
30327 if test $ac_cv_func_shmat = no; then
30328 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30329 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30330 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 else
30333 ac_check_lib_save_LIBS=$LIBS
30334 LIBS="-lipc $LIBS"
30335 cat >conftest.$ac_ext <<_ACEOF
30336 /* confdefs.h. */
30337 _ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30341
30342 /* Override any gcc2 internal prototype to avoid an error. */
30343 #ifdef __cplusplus
30344 extern "C"
30345 #endif
30346 /* We use char because int might match the return type of a gcc2
30347 builtin and then its argument prototype would still apply. */
30348 char shmat ();
30349 int
30350 main ()
30351 {
30352 shmat ();
30353 ;
30354 return 0;
30355 }
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359 (eval $ac_link) 2>conftest.er1
30360 ac_status=$?
30361 grep -v '^ *+' conftest.er1 >conftest.err
30362 rm -f conftest.er1
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } &&
30366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; } &&
30372 { ac_try='test -s conftest$ac_exeext'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30375 ac_status=$?
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; }; then
30378 ac_cv_lib_ipc_shmat=yes
30379 else
30380 echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30382
30383 ac_cv_lib_ipc_shmat=no
30384 fi
30385 rm -f conftest.err conftest.$ac_objext \
30386 conftest$ac_exeext conftest.$ac_ext
30387 LIBS=$ac_check_lib_save_LIBS
30388 fi
30389 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30390 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30391 if test $ac_cv_lib_ipc_shmat = yes; then
30392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30393 fi
30394
30395 fi
30396 fi
30397
30398 # Check for libraries that X11R6 Xt/Xaw programs need.
30399 ac_save_LDFLAGS=$LDFLAGS
30400 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30401 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30402 # check for ICE first), but we must link in the order -lSM -lICE or
30403 # we get undefined symbols. So assume we have SM if we have ICE.
30404 # These have to be linked with before -lX11, unlike the other
30405 # libraries we check for below, so use a different variable.
30406 # John Interrante, Karl Berry
30407 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30408 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30409 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30410 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 else
30412 ac_check_lib_save_LIBS=$LIBS
30413 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30414 cat >conftest.$ac_ext <<_ACEOF
30415 /* confdefs.h. */
30416 _ACEOF
30417 cat confdefs.h >>conftest.$ac_ext
30418 cat >>conftest.$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30420
30421 /* Override any gcc2 internal prototype to avoid an error. */
30422 #ifdef __cplusplus
30423 extern "C"
30424 #endif
30425 /* We use char because int might match the return type of a gcc2
30426 builtin and then its argument prototype would still apply. */
30427 char IceConnectionNumber ();
30428 int
30429 main ()
30430 {
30431 IceConnectionNumber ();
30432 ;
30433 return 0;
30434 }
30435 _ACEOF
30436 rm -f conftest.$ac_objext conftest$ac_exeext
30437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30438 (eval $ac_link) 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
30451 { ac_try='test -s conftest$ac_exeext'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30454 ac_status=$?
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; }; then
30457 ac_cv_lib_ICE_IceConnectionNumber=yes
30458 else
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.$ac_ext >&5
30461
30462 ac_cv_lib_ICE_IceConnectionNumber=no
30463 fi
30464 rm -f conftest.err conftest.$ac_objext \
30465 conftest$ac_exeext conftest.$ac_ext
30466 LIBS=$ac_check_lib_save_LIBS
30467 fi
30468 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30469 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30470 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30471 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30472 fi
30473
30474 LDFLAGS=$ac_save_LDFLAGS
30475
30476 fi
30477
30478
30479 if test "$no_x" = "yes"; then
30480 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30481 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30482 { (exit 1); exit 1; }; }
30483 fi
30484
30485 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30486 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30487 AFMINSTALL=afminstall
30488 COMPILED_X_PROGRAM=0
30489
30490 fi
30491
30492 if test "$wxUSE_X11" = 1; then
30493 if test "$wxUSE_NANOX" = "yes"; then
30494 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30495 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30496 if test "x$MICROWIN" = x ; then
30497 echo "$as_me:$LINENO: result: not found" >&5
30498 echo "${ECHO_T}not found" >&6
30499 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30500 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30501 { (exit 1); exit 1; }; }
30502 else
30503 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30504 echo "${ECHO_T}$MICROWIN" >&6
30505 cat >>confdefs.h <<\_ACEOF
30506 #define wxUSE_NANOX 1
30507 _ACEOF
30508
30509 fi
30510 fi
30511
30512 if test "$wxUSE_UNICODE" = "yes"; then
30513
30514
30515 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30516 if test -n "$ac_tool_prefix"; then
30517 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30518 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30519 echo "$as_me:$LINENO: checking for $ac_word" >&5
30520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30523 else
30524 case $PKG_CONFIG in
30525 [\\/]* | ?:[\\/]*)
30526 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30527 ;;
30528 *)
30529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30530 for as_dir in $PATH
30531 do
30532 IFS=$as_save_IFS
30533 test -z "$as_dir" && as_dir=.
30534 for ac_exec_ext in '' $ac_executable_extensions; do
30535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30536 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30538 break 2
30539 fi
30540 done
30541 done
30542
30543 ;;
30544 esac
30545 fi
30546 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30547
30548 if test -n "$PKG_CONFIG"; then
30549 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30550 echo "${ECHO_T}$PKG_CONFIG" >&6
30551 else
30552 echo "$as_me:$LINENO: result: no" >&5
30553 echo "${ECHO_T}no" >&6
30554 fi
30555
30556 fi
30557 if test -z "$ac_cv_path_PKG_CONFIG"; then
30558 ac_pt_PKG_CONFIG=$PKG_CONFIG
30559 # Extract the first word of "pkg-config", so it can be a program name with args.
30560 set dummy pkg-config; ac_word=$2
30561 echo "$as_me:$LINENO: checking for $ac_word" >&5
30562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30563 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30564 echo $ECHO_N "(cached) $ECHO_C" >&6
30565 else
30566 case $ac_pt_PKG_CONFIG in
30567 [\\/]* | ?:[\\/]*)
30568 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30569 ;;
30570 *)
30571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30572 for as_dir in $PATH
30573 do
30574 IFS=$as_save_IFS
30575 test -z "$as_dir" && as_dir=.
30576 for ac_exec_ext in '' $ac_executable_extensions; do
30577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30578 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30580 break 2
30581 fi
30582 done
30583 done
30584
30585 ;;
30586 esac
30587 fi
30588 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30589
30590 if test -n "$ac_pt_PKG_CONFIG"; then
30591 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30592 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30593 else
30594 echo "$as_me:$LINENO: result: no" >&5
30595 echo "${ECHO_T}no" >&6
30596 fi
30597
30598 PKG_CONFIG=$ac_pt_PKG_CONFIG
30599 else
30600 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30601 fi
30602
30603 fi
30604 if test -n "$PKG_CONFIG"; then
30605 _pkg_min_version=0.9.0
30606 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30607 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30608 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30609 echo "$as_me:$LINENO: result: yes" >&5
30610 echo "${ECHO_T}yes" >&6
30611 else
30612 echo "$as_me:$LINENO: result: no" >&5
30613 echo "${ECHO_T}no" >&6
30614 PKG_CONFIG=""
30615 fi
30616
30617 fi
30618
30619
30620 pkg_failed=no
30621 echo "$as_me:$LINENO: checking for PANGOX" >&5
30622 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30623
30624 if test -n "$PKG_CONFIG"; then
30625 if test -n "$PANGOX_CFLAGS"; then
30626 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30627 else
30628 if test -n "$PKG_CONFIG" && \
30629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30630 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; then
30634 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30635 else
30636 pkg_failed=yes
30637 fi
30638 fi
30639 else
30640 pkg_failed=untried
30641 fi
30642 if test -n "$PKG_CONFIG"; then
30643 if test -n "$PANGOX_LIBS"; then
30644 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30645 else
30646 if test -n "$PKG_CONFIG" && \
30647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30648 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30649 ac_status=$?
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; then
30652 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30653 else
30654 pkg_failed=yes
30655 fi
30656 fi
30657 else
30658 pkg_failed=untried
30659 fi
30660
30661
30662
30663 if test $pkg_failed = yes; then
30664
30665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30666 _pkg_short_errors_supported=yes
30667 else
30668 _pkg_short_errors_supported=no
30669 fi
30670 if test $_pkg_short_errors_supported = yes; then
30671 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30672 else
30673 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30674 fi
30675 # Put the nasty error message in config.log where it belongs
30676 echo "$PANGOX_PKG_ERRORS" >&5
30677
30678
30679 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30680 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30681 { (exit 1); exit 1; }; }
30682
30683
30684 elif test $pkg_failed = untried; then
30685
30686 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30687 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30688 { (exit 1); exit 1; }; }
30689
30690
30691 else
30692 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30693 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30694 echo "$as_me:$LINENO: result: yes" >&5
30695 echo "${ECHO_T}yes" >&6
30696
30697 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30698 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30700
30701 fi
30702
30703 pkg_failed=no
30704 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30705 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30706
30707 if test -n "$PKG_CONFIG"; then
30708 if test -n "$PANGOFT2_CFLAGS"; then
30709 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30710 else
30711 if test -n "$PKG_CONFIG" && \
30712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30713 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30714 ac_status=$?
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; then
30717 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30718 else
30719 pkg_failed=yes
30720 fi
30721 fi
30722 else
30723 pkg_failed=untried
30724 fi
30725 if test -n "$PKG_CONFIG"; then
30726 if test -n "$PANGOFT2_LIBS"; then
30727 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30728 else
30729 if test -n "$PKG_CONFIG" && \
30730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30731 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30732 ac_status=$?
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; then
30735 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30736 else
30737 pkg_failed=yes
30738 fi
30739 fi
30740 else
30741 pkg_failed=untried
30742 fi
30743
30744
30745
30746 if test $pkg_failed = yes; then
30747
30748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30749 _pkg_short_errors_supported=yes
30750 else
30751 _pkg_short_errors_supported=no
30752 fi
30753 if test $_pkg_short_errors_supported = yes; then
30754 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30755 else
30756 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30757 fi
30758 # Put the nasty error message in config.log where it belongs
30759 echo "$PANGOFT2_PKG_ERRORS" >&5
30760
30761
30762 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30763 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30764 wxUSE_PRINTING_ARCHITECTURE="no"
30765
30766
30767 elif test $pkg_failed = untried; then
30768
30769 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30770 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30771 wxUSE_PRINTING_ARCHITECTURE="no"
30772
30773
30774 else
30775 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30776 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30777 echo "$as_me:$LINENO: result: yes" >&5
30778 echo "${ECHO_T}yes" >&6
30779
30780 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30781 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30783
30784 fi
30785
30786 pkg_failed=no
30787 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30788 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30789
30790 if test -n "$PKG_CONFIG"; then
30791 if test -n "$PANGOXFT_CFLAGS"; then
30792 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30793 else
30794 if test -n "$PKG_CONFIG" && \
30795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30796 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30797 ac_status=$?
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; then
30800 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30801 else
30802 pkg_failed=yes
30803 fi
30804 fi
30805 else
30806 pkg_failed=untried
30807 fi
30808 if test -n "$PKG_CONFIG"; then
30809 if test -n "$PANGOXFT_LIBS"; then
30810 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30811 else
30812 if test -n "$PKG_CONFIG" && \
30813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30814 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; then
30818 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30819 else
30820 pkg_failed=yes
30821 fi
30822 fi
30823 else
30824 pkg_failed=untried
30825 fi
30826
30827
30828
30829 if test $pkg_failed = yes; then
30830
30831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30832 _pkg_short_errors_supported=yes
30833 else
30834 _pkg_short_errors_supported=no
30835 fi
30836 if test $_pkg_short_errors_supported = yes; then
30837 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30838 else
30839 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30840 fi
30841 # Put the nasty error message in config.log where it belongs
30842 echo "$PANGOXFT_PKG_ERRORS" >&5
30843
30844
30845 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30846 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30847
30848
30849 elif test $pkg_failed = untried; then
30850
30851 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30852 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30853
30854
30855 else
30856 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30857 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30858 echo "$as_me:$LINENO: result: yes" >&5
30859 echo "${ECHO_T}yes" >&6
30860
30861 cat >>confdefs.h <<\_ACEOF
30862 #define HAVE_PANGO_XFT 1
30863 _ACEOF
30864
30865 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30866 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30867 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30868
30869 fi
30870 save_LIBS="$LIBS"
30871 LIBS="$LIBS $PANGOX_LIBS"
30872
30873 for ac_func in pango_font_family_is_monospace
30874 do
30875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30876 echo "$as_me:$LINENO: checking for $ac_func" >&5
30877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30878 if eval "test \"\${$as_ac_var+set}\" = set"; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 else
30881 cat >conftest.$ac_ext <<_ACEOF
30882 /* confdefs.h. */
30883 _ACEOF
30884 cat confdefs.h >>conftest.$ac_ext
30885 cat >>conftest.$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30889 #define $ac_func innocuous_$ac_func
30890
30891 /* System header to define __stub macros and hopefully few prototypes,
30892 which can conflict with char $ac_func (); below.
30893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30894 <limits.h> exists even on freestanding compilers. */
30895
30896 #ifdef __STDC__
30897 # include <limits.h>
30898 #else
30899 # include <assert.h>
30900 #endif
30901
30902 #undef $ac_func
30903
30904 /* Override any gcc2 internal prototype to avoid an error. */
30905 #ifdef __cplusplus
30906 extern "C"
30907 {
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 $ac_func ();
30912 /* The GNU C library defines this for functions which it implements
30913 to always fail with ENOSYS. Some functions are actually named
30914 something starting with __ and the normal name is an alias. */
30915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30916 choke me
30917 #else
30918 char (*f) () = $ac_func;
30919 #endif
30920 #ifdef __cplusplus
30921 }
30922 #endif
30923
30924 int
30925 main ()
30926 {
30927 return f != $ac_func;
30928 ;
30929 return 0;
30930 }
30931 _ACEOF
30932 rm -f conftest.$ac_objext conftest$ac_exeext
30933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30934 (eval $ac_link) 2>conftest.er1
30935 ac_status=$?
30936 grep -v '^ *+' conftest.er1 >conftest.err
30937 rm -f conftest.er1
30938 cat conftest.err >&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } &&
30941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30944 ac_status=$?
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; } &&
30947 { ac_try='test -s conftest$ac_exeext'
30948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30949 (eval $ac_try) 2>&5
30950 ac_status=$?
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; }; then
30953 eval "$as_ac_var=yes"
30954 else
30955 echo "$as_me: failed program was:" >&5
30956 sed 's/^/| /' conftest.$ac_ext >&5
30957
30958 eval "$as_ac_var=no"
30959 fi
30960 rm -f conftest.err conftest.$ac_objext \
30961 conftest$ac_exeext conftest.$ac_ext
30962 fi
30963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30965 if test `eval echo '${'$as_ac_var'}'` = yes; then
30966 cat >>confdefs.h <<_ACEOF
30967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30968 _ACEOF
30969
30970 fi
30971 done
30972
30973 LIBS="$save_LIBS"
30974 fi
30975
30976 wxUSE_UNIVERSAL="yes"
30977
30978 if test "$wxUSE_NANOX" = "yes"; then
30979 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30980 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"
30981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30982 else
30983 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30984 fi
30985
30986 TOOLKIT=X11
30987 GUIDIST=X11_DIST
30988 fi
30989
30990 if test "$wxUSE_MOTIF" = 1; then
30991 if test "$wxUSE_UNICODE" = "yes"; then
30992 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30993 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30994 { (exit 1); exit 1; }; }
30995 fi
30996
30997 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30998 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30999
31000 ac_find_includes=
31001 for ac_dir in $SEARCH_INCLUDE /usr/include;
31002 do
31003 if test -f "$ac_dir/Xm/Xm.h"; then
31004 ac_find_includes=$ac_dir
31005 break
31006 fi
31007 done
31008
31009 if test "$ac_find_includes" != "" ; then
31010 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31011 echo "${ECHO_T}found in $ac_find_includes" >&6
31012
31013 if test "x$ac_find_includes" = "x/usr/include"; then
31014 ac_path_to_include=""
31015 else
31016 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31017 result=$?
31018 if test $result = 0; then
31019 ac_path_to_include=""
31020 else
31021 ac_path_to_include=" -I$ac_find_includes"
31022 fi
31023 fi
31024
31025 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31026 else
31027 save_CFLAGS=$CFLAGS
31028 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31029
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 #include <Xm/Xm.h>
31038
31039 int
31040 main ()
31041 {
31042
31043 int version;
31044 version = xmUseVersion;
31045
31046 ;
31047 return 0;
31048 }
31049 _ACEOF
31050 rm -f conftest.$ac_objext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31052 (eval $ac_compile) 2>conftest.er1
31053 ac_status=$?
31054 grep -v '^ *+' conftest.er1 >conftest.err
31055 rm -f conftest.er1
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31061 (eval $ac_try) 2>&5
31062 ac_status=$?
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); }; } &&
31065 { ac_try='test -s conftest.$ac_objext'
31066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067 (eval $ac_try) 2>&5
31068 ac_status=$?
31069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070 (exit $ac_status); }; }; then
31071
31072 echo "$as_me:$LINENO: result: found in default search path" >&5
31073 echo "${ECHO_T}found in default search path" >&6
31074 COMPILED_X_PROGRAM=1
31075
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31079
31080
31081 echo "$as_me:$LINENO: result: no" >&5
31082 echo "${ECHO_T}no" >&6
31083 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31084 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31085 { (exit 1); exit 1; }; }
31086
31087
31088 fi
31089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31090
31091 CFLAGS=$save_CFLAGS
31092 fi
31093
31094
31095 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31096 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31097
31098 ac_find_libraries=
31099 for ac_dir in $SEARCH_LIB;
31100 do
31101 for ac_extension in a so sl dylib dll.a; do
31102 if test -f "$ac_dir/libXm.$ac_extension"; then
31103 ac_find_libraries=$ac_dir
31104 break 2
31105 fi
31106 done
31107 done
31108
31109
31110 if test "x$ac_find_libraries" != "x" ; then
31111 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31112 echo "${ECHO_T}found in $ac_find_libraries" >&6
31113
31114
31115 if test "$ac_find_libraries" = "default location"; then
31116 ac_path_to_link=""
31117 else
31118 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31119 result=$?
31120 if test $result = 0; then
31121 ac_path_to_link=""
31122 else
31123 ac_path_to_link=" -L$ac_find_libraries"
31124 fi
31125 fi
31126
31127 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31128 else
31129 save_CFLAGS=$CFLAGS
31130 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31131 save_LIBS="$LIBS"
31132 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31133
31134 cat >conftest.$ac_ext <<_ACEOF
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140
31141 #include <Xm/Xm.h>
31142
31143 int
31144 main ()
31145 {
31146
31147 int version;
31148 version = xmUseVersion;
31149
31150 ;
31151 return 0;
31152 }
31153 _ACEOF
31154 rm -f conftest.$ac_objext conftest$ac_exeext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31156 (eval $ac_link) 2>conftest.er1
31157 ac_status=$?
31158 grep -v '^ *+' conftest.er1 >conftest.err
31159 rm -f conftest.er1
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } &&
31163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31166 ac_status=$?
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; } &&
31169 { ac_try='test -s conftest$ac_exeext'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175
31176 echo "$as_me:$LINENO: result: found in default search path" >&5
31177 echo "${ECHO_T}found in default search path" >&6
31178 COMPILED_X_PROGRAM=1
31179
31180 else
31181 echo "$as_me: failed program was:" >&5
31182 sed 's/^/| /' conftest.$ac_ext >&5
31183
31184
31185 echo "$as_me:$LINENO: result: no" >&5
31186 echo "${ECHO_T}no" >&6
31187 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31188 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31189 { (exit 1); exit 1; }; }
31190
31191
31192 fi
31193 rm -f conftest.err conftest.$ac_objext \
31194 conftest$ac_exeext conftest.$ac_ext
31195
31196 CFLAGS=$save_CFLAGS
31197 LIBS="$save_LIBS"
31198 fi
31199
31200 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31201 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31202 libp_link=""
31203 libsm_ice_link=""
31204 libs_found=0
31205 for libp in "" " -lXp"; do
31206 if test "$libs_found" = "0"; then
31207 for libsm_ice in "" " -lSM -lICE"; do
31208 if test "$libs_found" = "0"; then
31209 save_LIBS="$LIBS"
31210 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31211 save_CFLAGS=$CFLAGS
31212 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31213
31214 cat >conftest.$ac_ext <<_ACEOF
31215 /* confdefs.h. */
31216 _ACEOF
31217 cat confdefs.h >>conftest.$ac_ext
31218 cat >>conftest.$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31220
31221 #include <Xm/Xm.h>
31222 #include <Xm/List.h>
31223
31224 int
31225 main ()
31226 {
31227
31228 XmString string = NULL;
31229 Widget w = NULL;
31230 int position = 0;
31231 XmListAddItem(w, string, position);
31232
31233 ;
31234 return 0;
31235 }
31236 _ACEOF
31237 rm -f conftest.$ac_objext conftest$ac_exeext
31238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31239 (eval $ac_link) 2>conftest.er1
31240 ac_status=$?
31241 grep -v '^ *+' conftest.er1 >conftest.err
31242 rm -f conftest.er1
31243 cat conftest.err >&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); } &&
31246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31248 (eval $ac_try) 2>&5
31249 ac_status=$?
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; } &&
31252 { ac_try='test -s conftest$ac_exeext'
31253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31254 (eval $ac_try) 2>&5
31255 ac_status=$?
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); }; }; then
31258
31259 libp_link="$libp"
31260 libsm_ice_link="$libsm_ice"
31261 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31262 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31263 libs_found=1
31264
31265 else
31266 echo "$as_me: failed program was:" >&5
31267 sed 's/^/| /' conftest.$ac_ext >&5
31268
31269
31270
31271 fi
31272 rm -f conftest.err conftest.$ac_objext \
31273 conftest$ac_exeext conftest.$ac_ext
31274
31275 LIBS="$save_LIBS"
31276 CFLAGS=$save_CFLAGS
31277 fi
31278 done
31279 fi
31280 done
31281
31282 if test "$libs_found" = "0"; then
31283 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31284 echo "${ECHO_T}can't find the right libraries" >&6
31285 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31286 echo "$as_me: error: can't link a simple motif program" >&2;}
31287 { (exit 1); exit 1; }; }
31288 fi
31289
31290 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31291 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31292 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 ac_check_lib_save_LIBS=$LIBS
31296 LIBS="-lSgm $LIBS"
31297 cat >conftest.$ac_ext <<_ACEOF
31298 /* confdefs.h. */
31299 _ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31303
31304 /* Override any gcc2 internal prototype to avoid an error. */
31305 #ifdef __cplusplus
31306 extern "C"
31307 #endif
31308 /* We use char because int might match the return type of a gcc2
31309 builtin and then its argument prototype would still apply. */
31310 char SgCreateList ();
31311 int
31312 main ()
31313 {
31314 SgCreateList ();
31315 ;
31316 return 0;
31317 }
31318 _ACEOF
31319 rm -f conftest.$ac_objext conftest$ac_exeext
31320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31321 (eval $ac_link) 2>conftest.er1
31322 ac_status=$?
31323 grep -v '^ *+' conftest.er1 >conftest.err
31324 rm -f conftest.er1
31325 cat conftest.err >&5
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); } &&
31328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31330 (eval $ac_try) 2>&5
31331 ac_status=$?
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); }; } &&
31334 { ac_try='test -s conftest$ac_exeext'
31335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31336 (eval $ac_try) 2>&5
31337 ac_status=$?
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); }; }; then
31340 ac_cv_lib_Sgm_SgCreateList=yes
31341 else
31342 echo "$as_me: failed program was:" >&5
31343 sed 's/^/| /' conftest.$ac_ext >&5
31344
31345 ac_cv_lib_Sgm_SgCreateList=no
31346 fi
31347 rm -f conftest.err conftest.$ac_objext \
31348 conftest$ac_exeext conftest.$ac_ext
31349 LIBS=$ac_check_lib_save_LIBS
31350 fi
31351 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31352 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31353 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31354 libsgm_link=" -lSgm"
31355 fi
31356
31357
31358 save_CFLAGS=$CFLAGS
31359 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31360
31361 echo "$as_me:$LINENO: checking for Motif 2" >&5
31362 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31363 if test "${wx_cv_lib_motif2+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 else
31366 cat >conftest.$ac_ext <<_ACEOF
31367 /* confdefs.h. */
31368 _ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372
31373 #include <Xm/Xm.h>
31374
31375 int
31376 main ()
31377 {
31378
31379 #if XmVersion < 2000
31380 Not Motif 2
31381 #endif
31382
31383 ;
31384 return 0;
31385 }
31386 _ACEOF
31387 rm -f conftest.$ac_objext
31388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31389 (eval $ac_compile) 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } &&
31396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; } &&
31402 { ac_try='test -s conftest.$ac_objext'
31403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31404 (eval $ac_try) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); }; }; then
31408 wx_cv_lib_motif2="yes"
31409 else
31410 echo "$as_me: failed program was:" >&5
31411 sed 's/^/| /' conftest.$ac_ext >&5
31412
31413 wx_cv_lib_motif2="no"
31414 fi
31415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31416 fi
31417 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31418 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31419 if test "$wx_cv_lib_motif2" = "yes"; then
31420 cat >>confdefs.h <<\_ACEOF
31421 #define __WXMOTIF20__ 1
31422 _ACEOF
31423
31424 else
31425 cat >>confdefs.h <<\_ACEOF
31426 #define __WXMOTIF20__ 0
31427 _ACEOF
31428
31429 fi
31430
31431 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31432 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31433 if test "${wx_cv_lib_lesstif+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31436 cat >conftest.$ac_ext <<_ACEOF
31437 /* confdefs.h. */
31438 _ACEOF
31439 cat confdefs.h >>conftest.$ac_ext
31440 cat >>conftest.$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31442
31443 #include <Xm/Xm.h>
31444
31445 int
31446 main ()
31447 {
31448
31449 #if !defined(LesstifVersion) || LesstifVersion <= 0
31450 Not Lesstif
31451 #endif
31452
31453 ;
31454 return 0;
31455 }
31456 _ACEOF
31457 rm -f conftest.$ac_objext
31458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31459 (eval $ac_compile) 2>conftest.er1
31460 ac_status=$?
31461 grep -v '^ *+' conftest.er1 >conftest.err
31462 rm -f conftest.er1
31463 cat conftest.err >&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } &&
31466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31468 (eval $ac_try) 2>&5
31469 ac_status=$?
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); }; } &&
31472 { ac_try='test -s conftest.$ac_objext'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31475 ac_status=$?
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 wx_cv_lib_lesstif="yes"
31479 else
31480 echo "$as_me: failed program was:" >&5
31481 sed 's/^/| /' conftest.$ac_ext >&5
31482
31483 wx_cv_lib_lesstif="no"
31484 fi
31485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31486
31487 fi
31488 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31489 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31490 if test "$wx_cv_lib_lesstif" = "yes"; then
31491 cat >>confdefs.h <<\_ACEOF
31492 #define __WXLESSTIF__ 1
31493 _ACEOF
31494
31495 else
31496 cat >>confdefs.h <<\_ACEOF
31497 #define __WXLESSTIF__ 0
31498 _ACEOF
31499
31500 fi
31501
31502 CFLAGS=$save_CFLAGS
31503
31504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31505 TOOLKIT=MOTIF
31506 GUIDIST=MOTIF_DIST
31507 fi
31508
31509 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31510 if test "$wxUSE_LIBXPM" = "sys"; then
31511 echo "$as_me:$LINENO: checking for Xpm library" >&5
31512 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31513
31514 ac_find_libraries=
31515 for ac_dir in $SEARCH_LIB;
31516 do
31517 for ac_extension in a so sl dylib dll.a; do
31518 if test -f "$ac_dir/libXpm.$ac_extension"; then
31519 ac_find_libraries=$ac_dir
31520 break 2
31521 fi
31522 done
31523 done
31524
31525 if test "$ac_find_libraries" != "" ; then
31526
31527 if test "$ac_find_libraries" = "default location"; then
31528 ac_path_to_link=""
31529 else
31530 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31531 result=$?
31532 if test $result = 0; then
31533 ac_path_to_link=""
31534 else
31535 ac_path_to_link=" -L$ac_find_libraries"
31536 fi
31537 fi
31538
31539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31540 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31541 echo "${ECHO_T}found in $ac_find_libraries" >&6
31542
31543 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31544 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31545 if test "${wx_cv_x11_xpm_h+set}" = set; then
31546 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 else
31548
31549 save_CFLAGS=$CFLAGS
31550 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31551
31552 cat >conftest.$ac_ext <<_ACEOF
31553 /* confdefs.h. */
31554 _ACEOF
31555 cat confdefs.h >>conftest.$ac_ext
31556 cat >>conftest.$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31558
31559 #include <X11/xpm.h>
31560
31561 int
31562 main ()
31563 {
31564
31565 int version;
31566 version = XpmLibraryVersion();
31567
31568 ;
31569 return 0;
31570 }
31571 _ACEOF
31572 rm -f conftest.$ac_objext
31573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31574 (eval $ac_compile) 2>conftest.er1
31575 ac_status=$?
31576 grep -v '^ *+' conftest.er1 >conftest.err
31577 rm -f conftest.er1
31578 cat conftest.err >&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } &&
31581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; } &&
31587 { ac_try='test -s conftest.$ac_objext'
31588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31589 (eval $ac_try) 2>&5
31590 ac_status=$?
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; }; then
31593 wx_cv_x11_xpm_h=yes
31594 else
31595 echo "$as_me: failed program was:" >&5
31596 sed 's/^/| /' conftest.$ac_ext >&5
31597
31598 wx_cv_x11_xpm_h=no
31599
31600 fi
31601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31602
31603 CFLAGS=$save_CFLAGS
31604
31605
31606 fi
31607 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31608 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31609
31610 if test $wx_cv_x11_xpm_h = "yes"; then
31611 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31612 cat >>confdefs.h <<\_ACEOF
31613 #define wxHAVE_LIB_XPM 1
31614 _ACEOF
31615
31616 else
31617 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31618 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31619 fi
31620 fi
31621
31622 fi
31623
31624 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31625 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31626 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31628 else
31629 ac_check_lib_save_LIBS=$LIBS
31630 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31631 cat >conftest.$ac_ext <<_ACEOF
31632 /* confdefs.h. */
31633 _ACEOF
31634 cat confdefs.h >>conftest.$ac_ext
31635 cat >>conftest.$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31637
31638 /* Override any gcc2 internal prototype to avoid an error. */
31639 #ifdef __cplusplus
31640 extern "C"
31641 #endif
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31644 char XShapeQueryExtension ();
31645 int
31646 main ()
31647 {
31648 XShapeQueryExtension ();
31649 ;
31650 return 0;
31651 }
31652 _ACEOF
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31656 ac_status=$?
31657 grep -v '^ *+' conftest.er1 >conftest.err
31658 rm -f conftest.er1
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31665 ac_status=$?
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; } &&
31668 { ac_try='test -s conftest$ac_exeext'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; }; then
31674 ac_cv_lib_Xext_XShapeQueryExtension=yes
31675 else
31676 echo "$as_me: failed program was:" >&5
31677 sed 's/^/| /' conftest.$ac_ext >&5
31678
31679 ac_cv_lib_Xext_XShapeQueryExtension=no
31680 fi
31681 rm -f conftest.err conftest.$ac_objext \
31682 conftest$ac_exeext conftest.$ac_ext
31683 LIBS=$ac_check_lib_save_LIBS
31684 fi
31685 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31686 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31687 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31688
31689 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31690 wxHAVE_XEXT_LIB=1
31691
31692 fi
31693
31694
31695 if test "$wxHAVE_XEXT_LIB" = 1; then
31696 save_CFLAGS="$CFLAGS"
31697 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31698
31699 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31700 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31701 cat >conftest.$ac_ext <<_ACEOF
31702 /* confdefs.h. */
31703 _ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707
31708 #include <X11/Xlib.h>
31709 #include <X11/extensions/shape.h>
31710
31711 int
31712 main ()
31713 {
31714
31715 int dummy1, dummy2;
31716 XShapeQueryExtension((Display*)NULL,
31717 (int*)NULL, (int*)NULL);
31718
31719 ;
31720 return 0;
31721 }
31722 _ACEOF
31723 rm -f conftest.$ac_objext
31724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31725 (eval $ac_compile) 2>conftest.er1
31726 ac_status=$?
31727 grep -v '^ *+' conftest.er1 >conftest.err
31728 rm -f conftest.er1
31729 cat conftest.err >&5
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); } &&
31732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31738 { ac_try='test -s conftest.$ac_objext'
31739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31740 (eval $ac_try) 2>&5
31741 ac_status=$?
31742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31743 (exit $ac_status); }; }; then
31744
31745 cat >>confdefs.h <<\_ACEOF
31746 #define HAVE_XSHAPE 1
31747 _ACEOF
31748
31749 echo "$as_me:$LINENO: result: found" >&5
31750 echo "${ECHO_T}found" >&6
31751
31752 else
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31755
31756
31757 echo "$as_me:$LINENO: result: not found" >&5
31758 echo "${ECHO_T}not found" >&6
31759
31760 fi
31761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31762 CFLAGS="$save_CFLAGS"
31763
31764 fi
31765 fi
31766
31767 if test "$wxUSE_MAC" = 1; then
31768 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31769 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31770 if test "$GCC" = yes; then
31771 echo "$as_me:$LINENO: result: gcc" >&5
31772 echo "${ECHO_T}gcc" >&6
31773 CPPFLAGS_PASCAL="-fpascal-strings"
31774 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31775 echo "$as_me:$LINENO: result: xlc" >&5
31776 echo "${ECHO_T}xlc" >&6
31777 CPPFLAGS_PASCAL="-qmacpstr"
31778 else
31779 echo "$as_me:$LINENO: result: none" >&5
31780 echo "${ECHO_T}none" >&6
31781 fi
31782
31783 if test "x$wxUSE_UNIX" = "xyes"; then
31784 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31785 else
31786 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31787 fi
31788
31789 TOOLKIT=MAC
31790 GUIDIST=MACX_DIST
31791 WXBASEPORT="_carbon"
31792 fi
31793
31794 if test "$wxUSE_COCOA" = 1; then
31795 TOOLKIT=COCOA
31796 GUIDIST=COCOA_DIST
31797 fi
31798
31799 if test "$wxUSE_PM" = 1; then
31800 TOOLKIT=PM
31801 GUIDIST=PM_DIST
31802 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31803 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31804 if test "${wx_cv_spbcdata+set}" = set; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 else
31807
31808 cat >conftest.$ac_ext <<_ACEOF
31809 /* confdefs.h. */
31810 _ACEOF
31811 cat confdefs.h >>conftest.$ac_ext
31812 cat >>conftest.$ac_ext <<_ACEOF
31813 /* end confdefs.h. */
31814
31815 #define INCL_PM
31816 #include <os2.h>
31817
31818 int
31819 main ()
31820 {
31821
31822 SPBCDATA test;
31823
31824 ;
31825 return 0;
31826 }
31827 _ACEOF
31828 rm -f conftest.$ac_objext
31829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31830 (eval $ac_compile) 2>conftest.er1
31831 ac_status=$?
31832 grep -v '^ *+' conftest.er1 >conftest.err
31833 rm -f conftest.er1
31834 cat conftest.err >&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); } &&
31837 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31839 (eval $ac_try) 2>&5
31840 ac_status=$?
31841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); }; } &&
31843 { ac_try='test -s conftest.$ac_objext'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31846 ac_status=$?
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; }; then
31849 wx_cv_spbcdata=yes
31850 else
31851 echo "$as_me: failed program was:" >&5
31852 sed 's/^/| /' conftest.$ac_ext >&5
31853
31854 wx_cv_spbcdata=no
31855
31856 fi
31857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31858
31859
31860 fi
31861 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31862 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31863
31864 if test $wx_cv_spbcdata = "yes"; then
31865 cat >>confdefs.h <<\_ACEOF
31866 #define HAVE_SPBCDATA 1
31867 _ACEOF
31868
31869 fi
31870 fi
31871
31872 if test "$TOOLKIT" = "PM" ; then
31873 TOOLKIT_DIR="os2"
31874 else
31875 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31876 fi
31877
31878 if test "$wxUSE_UNIVERSAL" = "yes"; then
31879 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31880 WIDGET_SET=univ
31881 fi
31882
31883 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31884 DISTDIR="wx\$(TOOLKIT)"
31885 else
31886 USE_GUI=0
31887
31888 TOOLKIT_DIR="base"
31889
31890 if test "$USE_WIN32" = 1 ; then
31891 TOOLKIT="MSW"
31892 fi
31893
31894 GUIDIST="BASE_DIST"
31895 DISTDIR="wxBase"
31896 fi
31897
31898
31899 if test "$wxUSE_GUI" = "yes"; then
31900 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31901
31902 for ac_header in X11/Xlib.h
31903 do
31904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31906 echo "$as_me:$LINENO: checking for $ac_header" >&5
31907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 fi
31911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31913 else
31914 # Is the header compilable?
31915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31917 cat >conftest.$ac_ext <<_ACEOF
31918 /* confdefs.h. */
31919 _ACEOF
31920 cat confdefs.h >>conftest.$ac_ext
31921 cat >>conftest.$ac_ext <<_ACEOF
31922 /* end confdefs.h. */
31923 $ac_includes_default
31924 #include <$ac_header>
31925 _ACEOF
31926 rm -f conftest.$ac_objext
31927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31928 (eval $ac_compile) 2>conftest.er1
31929 ac_status=$?
31930 grep -v '^ *+' conftest.er1 >conftest.err
31931 rm -f conftest.er1
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } &&
31935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31937 (eval $ac_try) 2>&5
31938 ac_status=$?
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); }; } &&
31941 { ac_try='test -s conftest.$ac_objext'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31944 ac_status=$?
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; }; then
31947 ac_header_compiler=yes
31948 else
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.$ac_ext >&5
31951
31952 ac_header_compiler=no
31953 fi
31954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31956 echo "${ECHO_T}$ac_header_compiler" >&6
31957
31958 # Is the header present?
31959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31961 cat >conftest.$ac_ext <<_ACEOF
31962 /* confdefs.h. */
31963 _ACEOF
31964 cat confdefs.h >>conftest.$ac_ext
31965 cat >>conftest.$ac_ext <<_ACEOF
31966 /* end confdefs.h. */
31967 #include <$ac_header>
31968 _ACEOF
31969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31971 ac_status=$?
31972 grep -v '^ *+' conftest.er1 >conftest.err
31973 rm -f conftest.er1
31974 cat conftest.err >&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } >/dev/null; then
31977 if test -s conftest.err; then
31978 ac_cpp_err=$ac_c_preproc_warn_flag
31979 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31980 else
31981 ac_cpp_err=
31982 fi
31983 else
31984 ac_cpp_err=yes
31985 fi
31986 if test -z "$ac_cpp_err"; then
31987 ac_header_preproc=yes
31988 else
31989 echo "$as_me: failed program was:" >&5
31990 sed 's/^/| /' conftest.$ac_ext >&5
31991
31992 ac_header_preproc=no
31993 fi
31994 rm -f conftest.err conftest.$ac_ext
31995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31996 echo "${ECHO_T}$ac_header_preproc" >&6
31997
31998 # So? What about this header?
31999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32000 yes:no: )
32001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32005 ac_header_preproc=yes
32006 ;;
32007 no:yes:* )
32008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32020 (
32021 cat <<\_ASBOX
32022 ## ----------------------------------------- ##
32023 ## Report this to wx-dev@lists.wxwidgets.org ##
32024 ## ----------------------------------------- ##
32025 _ASBOX
32026 ) |
32027 sed "s/^/$as_me: WARNING: /" >&2
32028 ;;
32029 esac
32030 echo "$as_me:$LINENO: checking for $ac_header" >&5
32031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32033 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 else
32035 eval "$as_ac_Header=\$ac_header_preproc"
32036 fi
32037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32039
32040 fi
32041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32042 cat >>confdefs.h <<_ACEOF
32043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32044 _ACEOF
32045
32046 fi
32047
32048 done
32049
32050
32051 for ac_header in X11/XKBlib.h
32052 do
32053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32054 echo "$as_me:$LINENO: checking for $ac_header" >&5
32055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32057 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 else
32059 cat >conftest.$ac_ext <<_ACEOF
32060 /* confdefs.h. */
32061 _ACEOF
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065
32066 #if HAVE_X11_XLIB_H
32067 #include <X11/Xlib.h>
32068 #endif
32069
32070
32071 #include <$ac_header>
32072 _ACEOF
32073 rm -f conftest.$ac_objext
32074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32075 (eval $ac_compile) 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } &&
32082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32085 ac_status=$?
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; } &&
32088 { ac_try='test -s conftest.$ac_objext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32091 ac_status=$?
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 eval "$as_ac_Header=yes"
32095 else
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 eval "$as_ac_Header=no"
32100 fi
32101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32102 fi
32103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32106 cat >>confdefs.h <<_ACEOF
32107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32108 _ACEOF
32109
32110 fi
32111
32112 done
32113
32114 fi
32115 fi
32116
32117
32118
32119 IODBC_C_SRC=""
32120
32121
32122 if test "$TOOLKIT" != "MSW" ; then
32123
32124 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32125
32126 if test "${ac_cv_header_sql_h+set}" = set; then
32127 echo "$as_me:$LINENO: checking for sql.h" >&5
32128 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32129 if test "${ac_cv_header_sql_h+set}" = set; then
32130 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 fi
32132 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32133 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32134 else
32135 # Is the header compilable?
32136 echo "$as_me:$LINENO: checking sql.h usability" >&5
32137 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32138 cat >conftest.$ac_ext <<_ACEOF
32139 /* confdefs.h. */
32140 _ACEOF
32141 cat confdefs.h >>conftest.$ac_ext
32142 cat >>conftest.$ac_ext <<_ACEOF
32143 /* end confdefs.h. */
32144 $ac_includes_default
32145 #include <sql.h>
32146 _ACEOF
32147 rm -f conftest.$ac_objext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32149 (eval $ac_compile) 2>conftest.er1
32150 ac_status=$?
32151 grep -v '^ *+' conftest.er1 >conftest.err
32152 rm -f conftest.er1
32153 cat conftest.err >&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } &&
32156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32159 ac_status=$?
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try='test -s conftest.$ac_objext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32165 ac_status=$?
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 ac_header_compiler=yes
32169 else
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.$ac_ext >&5
32172
32173 ac_header_compiler=no
32174 fi
32175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32177 echo "${ECHO_T}$ac_header_compiler" >&6
32178
32179 # Is the header present?
32180 echo "$as_me:$LINENO: checking sql.h presence" >&5
32181 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32182 cat >conftest.$ac_ext <<_ACEOF
32183 /* confdefs.h. */
32184 _ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32188 #include <sql.h>
32189 _ACEOF
32190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32192 ac_status=$?
32193 grep -v '^ *+' conftest.er1 >conftest.err
32194 rm -f conftest.er1
32195 cat conftest.err >&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); } >/dev/null; then
32198 if test -s conftest.err; then
32199 ac_cpp_err=$ac_c_preproc_warn_flag
32200 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32201 else
32202 ac_cpp_err=
32203 fi
32204 else
32205 ac_cpp_err=yes
32206 fi
32207 if test -z "$ac_cpp_err"; then
32208 ac_header_preproc=yes
32209 else
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.$ac_ext >&5
32212
32213 ac_header_preproc=no
32214 fi
32215 rm -f conftest.err conftest.$ac_ext
32216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32217 echo "${ECHO_T}$ac_header_preproc" >&6
32218
32219 # So? What about this header?
32220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32221 yes:no: )
32222 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32223 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32224 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32225 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32226 ac_header_preproc=yes
32227 ;;
32228 no:yes:* )
32229 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32230 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32231 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32232 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32233 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32234 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32235 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32236 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32237 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32238 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32239 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32240 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32241 (
32242 cat <<\_ASBOX
32243 ## ----------------------------------------- ##
32244 ## Report this to wx-dev@lists.wxwidgets.org ##
32245 ## ----------------------------------------- ##
32246 _ASBOX
32247 ) |
32248 sed "s/^/$as_me: WARNING: /" >&2
32249 ;;
32250 esac
32251 echo "$as_me:$LINENO: checking for sql.h" >&5
32252 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32253 if test "${ac_cv_header_sql_h+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256 ac_cv_header_sql_h=$ac_header_preproc
32257 fi
32258 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32259 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32260
32261 fi
32262 if test $ac_cv_header_sql_h = yes; then
32263 found_sql_h=1
32264 fi
32265
32266
32267 if test "x$found_sql_h" = "x1" ; then
32268 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32269 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32270 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32271 echo $ECHO_N "(cached) $ECHO_C" >&6
32272 else
32273 ac_check_lib_save_LIBS=$LIBS
32274 LIBS="-liodbc $LIBS"
32275 cat >conftest.$ac_ext <<_ACEOF
32276 /* confdefs.h. */
32277 _ACEOF
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281
32282 /* Override any gcc2 internal prototype to avoid an error. */
32283 #ifdef __cplusplus
32284 extern "C"
32285 #endif
32286 /* We use char because int might match the return type of a gcc2
32287 builtin and then its argument prototype would still apply. */
32288 char SQLAllocEnv ();
32289 int
32290 main ()
32291 {
32292 SQLAllocEnv ();
32293 ;
32294 return 0;
32295 }
32296 _ACEOF
32297 rm -f conftest.$ac_objext conftest$ac_exeext
32298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32299 (eval $ac_link) 2>conftest.er1
32300 ac_status=$?
32301 grep -v '^ *+' conftest.er1 >conftest.err
32302 rm -f conftest.er1
32303 cat conftest.err >&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); } &&
32306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32308 (eval $ac_try) 2>&5
32309 ac_status=$?
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); }; } &&
32312 { ac_try='test -s conftest$ac_exeext'
32313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32314 (eval $ac_try) 2>&5
32315 ac_status=$?
32316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32317 (exit $ac_status); }; }; then
32318 ac_cv_lib_iodbc_SQLAllocEnv=yes
32319 else
32320 echo "$as_me: failed program was:" >&5
32321 sed 's/^/| /' conftest.$ac_ext >&5
32322
32323 ac_cv_lib_iodbc_SQLAllocEnv=no
32324 fi
32325 rm -f conftest.err conftest.$ac_objext \
32326 conftest$ac_exeext conftest.$ac_ext
32327 LIBS=$ac_check_lib_save_LIBS
32328 fi
32329 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32330 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32331 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32332 ODBC_LINK=" -liodbc"
32333 else
32334
32335 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32336 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32337 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32338 echo $ECHO_N "(cached) $ECHO_C" >&6
32339 else
32340 ac_check_lib_save_LIBS=$LIBS
32341 LIBS="-lunixodbc $LIBS"
32342 cat >conftest.$ac_ext <<_ACEOF
32343 /* confdefs.h. */
32344 _ACEOF
32345 cat confdefs.h >>conftest.$ac_ext
32346 cat >>conftest.$ac_ext <<_ACEOF
32347 /* end confdefs.h. */
32348
32349 /* Override any gcc2 internal prototype to avoid an error. */
32350 #ifdef __cplusplus
32351 extern "C"
32352 #endif
32353 /* We use char because int might match the return type of a gcc2
32354 builtin and then its argument prototype would still apply. */
32355 char SQLAllocEnv ();
32356 int
32357 main ()
32358 {
32359 SQLAllocEnv ();
32360 ;
32361 return 0;
32362 }
32363 _ACEOF
32364 rm -f conftest.$ac_objext conftest$ac_exeext
32365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32366 (eval $ac_link) 2>conftest.er1
32367 ac_status=$?
32368 grep -v '^ *+' conftest.er1 >conftest.err
32369 rm -f conftest.er1
32370 cat conftest.err >&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } &&
32373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; } &&
32379 { ac_try='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32386 else
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.$ac_ext >&5
32389
32390 ac_cv_lib_unixodbc_SQLAllocEnv=no
32391 fi
32392 rm -f conftest.err conftest.$ac_objext \
32393 conftest$ac_exeext conftest.$ac_ext
32394 LIBS=$ac_check_lib_save_LIBS
32395 fi
32396 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32397 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32398 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32399 ODBC_LINK=" -lunixodbc"
32400 else
32401
32402 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32403 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32404 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 else
32407 ac_check_lib_save_LIBS=$LIBS
32408 LIBS="-lodbc $LIBS"
32409 cat >conftest.$ac_ext <<_ACEOF
32410 /* confdefs.h. */
32411 _ACEOF
32412 cat confdefs.h >>conftest.$ac_ext
32413 cat >>conftest.$ac_ext <<_ACEOF
32414 /* end confdefs.h. */
32415
32416 /* Override any gcc2 internal prototype to avoid an error. */
32417 #ifdef __cplusplus
32418 extern "C"
32419 #endif
32420 /* We use char because int might match the return type of a gcc2
32421 builtin and then its argument prototype would still apply. */
32422 char SQLAllocEnv ();
32423 int
32424 main ()
32425 {
32426 SQLAllocEnv ();
32427 ;
32428 return 0;
32429 }
32430 _ACEOF
32431 rm -f conftest.$ac_objext conftest$ac_exeext
32432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32433 (eval $ac_link) 2>conftest.er1
32434 ac_status=$?
32435 grep -v '^ *+' conftest.er1 >conftest.err
32436 rm -f conftest.er1
32437 cat conftest.err >&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); } &&
32440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32442 (eval $ac_try) 2>&5
32443 ac_status=$?
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); }; } &&
32446 { ac_try='test -s conftest$ac_exeext'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32449 ac_status=$?
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; }; then
32452 ac_cv_lib_odbc_SQLAllocEnv=yes
32453 else
32454 echo "$as_me: failed program was:" >&5
32455 sed 's/^/| /' conftest.$ac_ext >&5
32456
32457 ac_cv_lib_odbc_SQLAllocEnv=no
32458 fi
32459 rm -f conftest.err conftest.$ac_objext \
32460 conftest$ac_exeext conftest.$ac_ext
32461 LIBS=$ac_check_lib_save_LIBS
32462 fi
32463 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32464 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32465 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32466 ODBC_LINK=" -lodbc"
32467 fi
32468
32469
32470 fi
32471
32472
32473 fi
32474
32475 fi
32476 if test "x$ODBC_LINK" = "x" ; then
32477 if test "$wxUSE_ODBC" = "sys" ; then
32478 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32479 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32480 { (exit 1); exit 1; }; }
32481 else
32482 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32483 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32484 wxUSE_ODBC=builtin
32485 fi
32486 else
32487 wxUSE_ODBC=sys
32488 fi
32489 fi
32490
32491 if test "$wxUSE_ODBC" = "builtin" ; then
32492 cat >>confdefs.h <<\_ACEOF
32493 #define wxUSE_BUILTIN_IODBC 1
32494 _ACEOF
32495
32496 fi
32497 fi
32498
32499 if test "$wxUSE_ODBC" != "no" ; then
32500 cat >>confdefs.h <<\_ACEOF
32501 #define wxUSE_ODBC 1
32502 _ACEOF
32503
32504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32505
32506 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32507 fi
32508
32509
32510 if test "$wxUSE_DISPLAY" = "yes"; then
32511 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32512 echo "$as_me:$LINENO: checking for Xinerama" >&5
32513 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32514
32515 ac_find_libraries=
32516 for ac_dir in $SEARCH_LIB;
32517 do
32518 for ac_extension in a so sl dylib dll.a; do
32519 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32520 ac_find_libraries=$ac_dir
32521 break 2
32522 fi
32523 done
32524 done
32525
32526 if test "$ac_find_libraries" != "" ; then
32527
32528 if test "$ac_find_libraries" = "default location"; then
32529 ac_path_to_link=""
32530 else
32531 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32532 result=$?
32533 if test $result = 0; then
32534 ac_path_to_link=""
32535 else
32536 ac_path_to_link=" -L$ac_find_libraries"
32537 fi
32538 fi
32539
32540 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32541 LDFLAGS="$LDFLAGS $ac_path_to_link"
32542 fi
32543 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32544 echo "$as_me:$LINENO: result: yes" >&5
32545 echo "${ECHO_T}yes" >&6
32546
32547 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32548 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32549
32550 ac_find_libraries=
32551 for ac_dir in $SEARCH_LIB;
32552 do
32553 for ac_extension in a so sl dylib dll.a; do
32554 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32555 ac_find_libraries=$ac_dir
32556 break 2
32557 fi
32558 done
32559 done
32560
32561 if test "$ac_find_libraries" != "" ; then
32562 echo "$as_me:$LINENO: result: yes" >&5
32563 echo "${ECHO_T}yes" >&6
32564
32565 for ac_header in X11/extensions/xf86vmode.h
32566 do
32567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32568 echo "$as_me:$LINENO: checking for $ac_header" >&5
32569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 else
32573 cat >conftest.$ac_ext <<_ACEOF
32574 /* confdefs.h. */
32575 _ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579
32580 #if HAVE_X11_XLIB_H
32581 #include <X11/Xlib.h>
32582 #endif
32583
32584
32585 #include <$ac_header>
32586 _ACEOF
32587 rm -f conftest.$ac_objext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32589 (eval $ac_compile) 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } &&
32596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32599 ac_status=$?
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; } &&
32602 { ac_try='test -s conftest.$ac_objext'
32603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32604 (eval $ac_try) 2>&5
32605 ac_status=$?
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); }; }; then
32608 eval "$as_ac_Header=yes"
32609 else
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.$ac_ext >&5
32612
32613 eval "$as_ac_Header=no"
32614 fi
32615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32616 fi
32617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32620 cat >>confdefs.h <<_ACEOF
32621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32622 _ACEOF
32623
32624 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32625
32626 fi
32627
32628 done
32629
32630 else
32631 echo "$as_me:$LINENO: result: no" >&5
32632 echo "${ECHO_T}no" >&6
32633 fi
32634
32635 else
32636 echo "$as_me:$LINENO: result: no" >&5
32637 echo "${ECHO_T}no" >&6
32638 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32639 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32640 wxUSE_DISPLAY="no"
32641 fi
32642 elif test "$wxUSE_MSW" = 1; then
32643
32644 for ac_header in ddraw.h
32645 do
32646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32647 echo "$as_me:$LINENO: checking for $ac_header" >&5
32648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32651 else
32652 cat >conftest.$ac_ext <<_ACEOF
32653 /* confdefs.h. */
32654 _ACEOF
32655 cat confdefs.h >>conftest.$ac_ext
32656 cat >>conftest.$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32658 #include <windows.h>
32659
32660 #include <$ac_header>
32661 _ACEOF
32662 rm -f conftest.$ac_objext
32663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32664 (eval $ac_compile) 2>conftest.er1
32665 ac_status=$?
32666 grep -v '^ *+' conftest.er1 >conftest.err
32667 rm -f conftest.er1
32668 cat conftest.err >&5
32669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32670 (exit $ac_status); } &&
32671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32673 (eval $ac_try) 2>&5
32674 ac_status=$?
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); }; } &&
32677 { ac_try='test -s conftest.$ac_objext'
32678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32679 (eval $ac_try) 2>&5
32680 ac_status=$?
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); }; }; then
32683 eval "$as_ac_Header=yes"
32684 else
32685 echo "$as_me: failed program was:" >&5
32686 sed 's/^/| /' conftest.$ac_ext >&5
32687
32688 eval "$as_ac_Header=no"
32689 fi
32690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32691 fi
32692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32695 cat >>confdefs.h <<_ACEOF
32696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32697 _ACEOF
32698
32699 fi
32700
32701 done
32702
32703 fi
32704 fi
32705
32706 if test "$wxUSE_DETECT_SM" = "yes"; then
32707 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32708 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32709 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
32710
32711 ac_find_libraries=
32712 for ac_dir in $SEARCH_LIB;
32713 do
32714 for ac_extension in a so sl dylib dll.a; do
32715 if test -f "$ac_dir/libSM.$ac_extension"; then
32716 ac_find_libraries=$ac_dir
32717 break 2
32718 fi
32719 done
32720 done
32721
32722 if test "$ac_find_libraries" != "" ; then
32723
32724 if test "$ac_find_libraries" = "default location"; then
32725 ac_path_to_link=""
32726 else
32727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32728 result=$?
32729 if test $result = 0; then
32730 ac_path_to_link=""
32731 else
32732 ac_path_to_link=" -L$ac_find_libraries"
32733 fi
32734 fi
32735
32736 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32737 LDFLAGS="$LDFLAGS $ac_path_to_link"
32738 fi
32739 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32740 echo "$as_me:$LINENO: result: yes" >&5
32741 echo "${ECHO_T}yes" >&6
32742 else
32743 echo "$as_me:$LINENO: result: no" >&5
32744 echo "${ECHO_T}no" >&6
32745 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32746 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32747 wxUSE_DETECT_SM="no"
32748 fi
32749 else
32750 wxUSE_DETECT_SM="no"
32751 fi
32752 fi
32753
32754
32755
32756 USE_OPENGL=0
32757 if test "$wxUSE_OPENGL" = "yes"; then
32758 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32759 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32760 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32761 wxUSE_OPENGL="no"
32762 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32763 OPENGL_LIBS="-framework OpenGL -framework AGL"
32764 elif test "$wxUSE_MSW" = 1; then
32765 OPENGL_LIBS="-lopengl32 -lglu32"
32766 else
32767 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32768 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
32769
32770 ac_find_includes=
32771 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32772 do
32773 if test -f "$ac_dir/GL/gl.h"; then
32774 ac_find_includes=$ac_dir
32775 break
32776 fi
32777 done
32778
32779 if test "$ac_find_includes" != "" ; then
32780 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32781 echo "${ECHO_T}found in $ac_find_includes" >&6
32782
32783 if test "x$ac_find_includes" = "x/usr/include"; then
32784 ac_path_to_include=""
32785 else
32786 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32787 result=$?
32788 if test $result = 0; then
32789 ac_path_to_include=""
32790 else
32791 ac_path_to_include=" -I$ac_find_includes"
32792 fi
32793 fi
32794
32795 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32796 else
32797 echo "$as_me:$LINENO: result: not found" >&5
32798 echo "${ECHO_T}not found" >&6
32799 fi
32800
32801 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32802 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32803 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32804 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32805 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 fi
32807 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32808 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32809 else
32810 # Is the header compilable?
32811 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32812 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32813 cat >conftest.$ac_ext <<_ACEOF
32814 /* confdefs.h. */
32815 _ACEOF
32816 cat confdefs.h >>conftest.$ac_ext
32817 cat >>conftest.$ac_ext <<_ACEOF
32818 /* end confdefs.h. */
32819 $ac_includes_default
32820 #include <GL/gl.h>
32821 _ACEOF
32822 rm -f conftest.$ac_objext
32823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32824 (eval $ac_compile) 2>conftest.er1
32825 ac_status=$?
32826 grep -v '^ *+' conftest.er1 >conftest.err
32827 rm -f conftest.er1
32828 cat conftest.err >&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); } &&
32831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32833 (eval $ac_try) 2>&5
32834 ac_status=$?
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); }; } &&
32837 { ac_try='test -s conftest.$ac_objext'
32838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839 (eval $ac_try) 2>&5
32840 ac_status=$?
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; }; then
32843 ac_header_compiler=yes
32844 else
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.$ac_ext >&5
32847
32848 ac_header_compiler=no
32849 fi
32850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32852 echo "${ECHO_T}$ac_header_compiler" >&6
32853
32854 # Is the header present?
32855 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32856 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32857 cat >conftest.$ac_ext <<_ACEOF
32858 /* confdefs.h. */
32859 _ACEOF
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 #include <GL/gl.h>
32864 _ACEOF
32865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32867 ac_status=$?
32868 grep -v '^ *+' conftest.er1 >conftest.err
32869 rm -f conftest.er1
32870 cat conftest.err >&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); } >/dev/null; then
32873 if test -s conftest.err; then
32874 ac_cpp_err=$ac_c_preproc_warn_flag
32875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32876 else
32877 ac_cpp_err=
32878 fi
32879 else
32880 ac_cpp_err=yes
32881 fi
32882 if test -z "$ac_cpp_err"; then
32883 ac_header_preproc=yes
32884 else
32885 echo "$as_me: failed program was:" >&5
32886 sed 's/^/| /' conftest.$ac_ext >&5
32887
32888 ac_header_preproc=no
32889 fi
32890 rm -f conftest.err conftest.$ac_ext
32891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32892 echo "${ECHO_T}$ac_header_preproc" >&6
32893
32894 # So? What about this header?
32895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32896 yes:no: )
32897 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32898 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32899 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32900 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32901 ac_header_preproc=yes
32902 ;;
32903 no:yes:* )
32904 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32905 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32906 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32907 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32908 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32909 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32910 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32911 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32912 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32913 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32914 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32915 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32916 (
32917 cat <<\_ASBOX
32918 ## ----------------------------------------- ##
32919 ## Report this to wx-dev@lists.wxwidgets.org ##
32920 ## ----------------------------------------- ##
32921 _ASBOX
32922 ) |
32923 sed "s/^/$as_me: WARNING: /" >&2
32924 ;;
32925 esac
32926 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32927 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32928 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32929 echo $ECHO_N "(cached) $ECHO_C" >&6
32930 else
32931 ac_cv_header_GL_gl_h=$ac_header_preproc
32932 fi
32933 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32934 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32935
32936 fi
32937 if test $ac_cv_header_GL_gl_h = yes; then
32938
32939 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32940 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32941 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
32942 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32943 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 fi
32945 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32946 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
32947 else
32948 # Is the header compilable?
32949 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32950 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h. */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32957 $ac_includes_default
32958 #include <GL/glu.h>
32959 _ACEOF
32960 rm -f conftest.$ac_objext
32961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32962 (eval $ac_compile) 2>conftest.er1
32963 ac_status=$?
32964 grep -v '^ *+' conftest.er1 >conftest.err
32965 rm -f conftest.er1
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } &&
32969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32971 (eval $ac_try) 2>&5
32972 ac_status=$?
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); }; } &&
32975 { ac_try='test -s conftest.$ac_objext'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; }; then
32981 ac_header_compiler=yes
32982 else
32983 echo "$as_me: failed program was:" >&5
32984 sed 's/^/| /' conftest.$ac_ext >&5
32985
32986 ac_header_compiler=no
32987 fi
32988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32990 echo "${ECHO_T}$ac_header_compiler" >&6
32991
32992 # Is the header present?
32993 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32994 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
32995 cat >conftest.$ac_ext <<_ACEOF
32996 /* confdefs.h. */
32997 _ACEOF
32998 cat confdefs.h >>conftest.$ac_ext
32999 cat >>conftest.$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 #include <GL/glu.h>
33002 _ACEOF
33003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33005 ac_status=$?
33006 grep -v '^ *+' conftest.er1 >conftest.err
33007 rm -f conftest.er1
33008 cat conftest.err >&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); } >/dev/null; then
33011 if test -s conftest.err; then
33012 ac_cpp_err=$ac_c_preproc_warn_flag
33013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33014 else
33015 ac_cpp_err=
33016 fi
33017 else
33018 ac_cpp_err=yes
33019 fi
33020 if test -z "$ac_cpp_err"; then
33021 ac_header_preproc=yes
33022 else
33023 echo "$as_me: failed program was:" >&5
33024 sed 's/^/| /' conftest.$ac_ext >&5
33025
33026 ac_header_preproc=no
33027 fi
33028 rm -f conftest.err conftest.$ac_ext
33029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33030 echo "${ECHO_T}$ac_header_preproc" >&6
33031
33032 # So? What about this header?
33033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33034 yes:no: )
33035 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33036 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33037 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33038 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33039 ac_header_preproc=yes
33040 ;;
33041 no:yes:* )
33042 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33043 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33044 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33045 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33046 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33047 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33048 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33049 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33050 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33051 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33052 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33053 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33054 (
33055 cat <<\_ASBOX
33056 ## ----------------------------------------- ##
33057 ## Report this to wx-dev@lists.wxwidgets.org ##
33058 ## ----------------------------------------- ##
33059 _ASBOX
33060 ) |
33061 sed "s/^/$as_me: WARNING: /" >&2
33062 ;;
33063 esac
33064 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33065 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33066 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 else
33069 ac_cv_header_GL_glu_h=$ac_header_preproc
33070 fi
33071 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33072 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33073
33074 fi
33075 if test $ac_cv_header_GL_glu_h = yes; then
33076
33077 found_gl=0
33078
33079 echo "$as_me:$LINENO: checking for -lGL" >&5
33080 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33081
33082 ac_find_libraries=
33083 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33084 do
33085 for ac_extension in a so sl dylib dll.a; do
33086 if test -f "$ac_dir/libGL.$ac_extension"; then
33087 ac_find_libraries=$ac_dir
33088 break 2
33089 fi
33090 done
33091 done
33092
33093 if test "$ac_find_libraries" != "" ; then
33094 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33095 echo "${ECHO_T}found in $ac_find_libraries" >&6
33096
33097
33098 if test "$ac_find_libraries" = "default location"; then
33099 ac_path_to_link=""
33100 else
33101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33102 result=$?
33103 if test $result = 0; then
33104 ac_path_to_link=""
33105 else
33106 ac_path_to_link=" -L$ac_find_libraries"
33107 fi
33108 fi
33109
33110 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33111 LDFLAGS_GL="$ac_path_to_link"
33112 fi
33113
33114 echo "$as_me:$LINENO: checking for -lGLU" >&5
33115 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33116
33117 ac_find_libraries=
33118 for ac_dir in $SEARCH_LIB;
33119 do
33120 for ac_extension in a so sl dylib dll.a; do
33121 if test -f "$ac_dir/libGLU.$ac_extension"; then
33122 ac_find_libraries=$ac_dir
33123 break 2
33124 fi
33125 done
33126 done
33127
33128 if test "$ac_find_libraries" != "" ; then
33129
33130 if test "$ac_find_libraries" = "default location"; then
33131 ac_path_to_link=""
33132 else
33133 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33134 result=$?
33135 if test $result = 0; then
33136 ac_path_to_link=""
33137 else
33138 ac_path_to_link=" -L$ac_find_libraries"
33139 fi
33140 fi
33141
33142 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33143 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33144 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33145 fi
33146
33147 found_gl=1
33148 OPENGL_LIBS="-lGL -lGLU"
33149 echo "$as_me:$LINENO: result: yes" >&5
33150 echo "${ECHO_T}yes" >&6
33151 else
33152 echo "$as_me:$LINENO: result: no" >&5
33153 echo "${ECHO_T}no" >&6
33154 fi
33155 else
33156 echo "$as_me:$LINENO: result: no" >&5
33157 echo "${ECHO_T}no" >&6
33158 fi
33159
33160 if test "$found_gl" != 1; then
33161 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33162 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33163
33164 ac_find_libraries=
33165 for ac_dir in $SEARCH_LIB;
33166 do
33167 for ac_extension in a so sl dylib dll.a; do
33168 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33169 ac_find_libraries=$ac_dir
33170 break 2
33171 fi
33172 done
33173 done
33174
33175 if test "$ac_find_libraries" != "" ; then
33176
33177 if test "$ac_find_libraries" = "default location"; then
33178 ac_path_to_link=""
33179 else
33180 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33181 result=$?
33182 if test $result = 0; then
33183 ac_path_to_link=""
33184 else
33185 ac_path_to_link=" -L$ac_find_libraries"
33186 fi
33187 fi
33188
33189 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33190 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33191 echo "$as_me:$LINENO: result: yes" >&5
33192 echo "${ECHO_T}yes" >&6
33193 else
33194 echo "$as_me:$LINENO: result: no" >&5
33195 echo "${ECHO_T}no" >&6
33196 fi
33197 fi
33198
33199 fi
33200
33201
33202
33203 fi
33204
33205
33206
33207 if test "x$OPENGL_LIBS" = "x"; then
33208 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33209 echo "$as_me: error: OpenGL libraries not available" >&2;}
33210 { (exit 1); exit 1; }; }
33211 fi
33212 fi
33213
33214 if test "$wxUSE_OPENGL" = "yes"; then
33215 USE_OPENGL=1
33216 cat >>confdefs.h <<\_ACEOF
33217 #define wxUSE_OPENGL 1
33218 _ACEOF
33219
33220 cat >>confdefs.h <<\_ACEOF
33221 #define wxUSE_GLCANVAS 1
33222 _ACEOF
33223
33224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33225 fi
33226 fi
33227
33228
33229 if test -n "$TOOLKIT" ; then
33230 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33231 fi
33232
33233
33234
33235 if test "$wxUSE_SHARED" = "yes"; then
33236 case "${host}" in
33237 *-pc-msdosdjgpp )
33238 wxUSE_SHARED=no
33239 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33240 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33241 ;;
33242 esac
33243 fi
33244
33245 if test "$wxUSE_SHARED" = "yes"; then
33246
33247
33248 case "${host}" in
33249 *-*-cygwin* | *-*-mingw* )
33250 wx_cv_version_script=no
33251 ;;
33252
33253 *)
33254 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33255 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33256 if test "${wx_cv_version_script+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33259
33260 echo "VER_1 { *; };" >conftest.sym
33261 echo "int main() { return 0; }" >conftest.cpp
33262
33263 if { ac_try='
33264 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33265 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33267 (eval $ac_try) 2>&5
33268 ac_status=$?
33269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33270 (exit $ac_status); }; } ; then
33271 if test -s conftest.stderr ; then
33272 wx_cv_version_script=no
33273 else
33274 wx_cv_version_script=yes
33275 fi
33276 else
33277 wx_cv_version_script=no
33278 fi
33279
33280 if test $wx_cv_version_script = yes
33281 then
33282 echo "struct B { virtual ~B() { } }; \
33283 struct D : public B { }; \
33284 void F() { D d; }" > conftest.cpp
33285
33286 if { ac_try='
33287 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33288 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33291 ac_status=$?
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; } &&
33294 { ac_try='
33295 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33296 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; }
33302 then
33303 if { ac_try='
33304 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33305 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33308 ac_status=$?
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; }
33311 then
33312 wx_cv_version_script=yes
33313 else
33314 wx_cv_version_script=no
33315 fi
33316 fi
33317 fi
33318
33319 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33320 rm -f conftest1.output conftest2.output conftest3.output
33321
33322 fi
33323 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33324 echo "${ECHO_T}$wx_cv_version_script" >&6
33325
33326 if test $wx_cv_version_script = yes ; then
33327 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33328 fi
33329 ;;
33330 esac
33331
33332
33333 case "${host}" in
33334 *-*-linux* | *-*-gnu* )
33335 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33336 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33337 ;;
33338
33339 *-*-solaris2* )
33340 if test "$GCC" = yes ; then
33341 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33342
33343 saveLdflags="$LDFLAGS"
33344 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33345 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33346 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33347 cat >conftest.$ac_ext <<_ACEOF
33348 /* confdefs.h. */
33349 _ACEOF
33350 cat confdefs.h >>conftest.$ac_ext
33351 cat >>conftest.$ac_ext <<_ACEOF
33352 /* end confdefs.h. */
33353
33354 int
33355 main ()
33356 {
33357
33358 ;
33359 return 0;
33360 }
33361 _ACEOF
33362 rm -f conftest.$ac_objext conftest$ac_exeext
33363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33364 (eval $ac_link) 2>conftest.er1
33365 ac_status=$?
33366 grep -v '^ *+' conftest.er1 >conftest.err
33367 rm -f conftest.er1
33368 cat conftest.err >&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); } &&
33371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; } &&
33377 { ac_try='test -s conftest$ac_exeext'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; }; then
33383
33384 echo "$as_me:$LINENO: result: yes" >&5
33385 echo "${ECHO_T}yes" >&6
33386 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33387 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33388
33389 else
33390 echo "$as_me: failed program was:" >&5
33391 sed 's/^/| /' conftest.$ac_ext >&5
33392
33393
33394 echo "$as_me:$LINENO: result: no" >&5
33395 echo "${ECHO_T}no" >&6
33396 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33397 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33398 LDFLAGS="$saveLdflags -Wl,-R,/"
33399 cat >conftest.$ac_ext <<_ACEOF
33400 /* confdefs.h. */
33401 _ACEOF
33402 cat confdefs.h >>conftest.$ac_ext
33403 cat >>conftest.$ac_ext <<_ACEOF
33404 /* end confdefs.h. */
33405
33406 int
33407 main ()
33408 {
33409
33410 ;
33411 return 0;
33412 }
33413 _ACEOF
33414 rm -f conftest.$ac_objext conftest$ac_exeext
33415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33416 (eval $ac_link) 2>conftest.er1
33417 ac_status=$?
33418 grep -v '^ *+' conftest.er1 >conftest.err
33419 rm -f conftest.er1
33420 cat conftest.err >&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } &&
33423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33425 (eval $ac_try) 2>&5
33426 ac_status=$?
33427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33428 (exit $ac_status); }; } &&
33429 { ac_try='test -s conftest$ac_exeext'
33430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33431 (eval $ac_try) 2>&5
33432 ac_status=$?
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); }; }; then
33435
33436 echo "$as_me:$LINENO: result: yes" >&5
33437 echo "${ECHO_T}yes" >&6
33438 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33439 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33440
33441 else
33442 echo "$as_me: failed program was:" >&5
33443 sed 's/^/| /' conftest.$ac_ext >&5
33444
33445
33446 echo "$as_me:$LINENO: result: no" >&5
33447 echo "${ECHO_T}no" >&6
33448
33449 fi
33450 rm -f conftest.err conftest.$ac_objext \
33451 conftest$ac_exeext conftest.$ac_ext
33452
33453 fi
33454 rm -f conftest.err conftest.$ac_objext \
33455 conftest$ac_exeext conftest.$ac_ext
33456 LDFLAGS="$saveLdflags"
33457 else
33458 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33459 WXCONFIG_RPATH="-R\$libdir"
33460 fi
33461 ;;
33462
33463 *-*-darwin* )
33464 install_name_tool=`which install_name_tool`
33465 if test "$install_name_tool" -a -x "$install_name_tool"; then
33466 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33467 cat <<EOF >change-install-names
33468 #!/bin/sh
33469 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33470 inst_cmd="install_name_tool "
33471 for i in \${libnames} ; do
33472 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33473 done
33474 \${inst_cmd} \${3}
33475 EOF
33476 chmod +x change-install-names
33477 fi
33478 ;;
33479
33480 *-*-cygwin* | *-*-mingw32* )
33481 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33482 ;;
33483
33484 *-*-hpux* )
33485 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33486 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33487 ;;
33488
33489 esac
33490
33491 if test $wxUSE_RPATH = "no"; then
33492 SAMPLES_RPATH_FLAG=''
33493 SAMPLES_RPATH_POSTLINK=''
33494 WXCONFIG_RPATH=''
33495 fi
33496
33497 SHARED=1
33498
33499 else
33500
33501 config_linkage_component="-static"
33502 SHARED=0
33503
33504 fi
33505
33506
33507 UNICODE=0
33508 lib_unicode_suffix=
33509 WX_CHARTYPE="ansi"
33510 if test "$wxUSE_UNICODE" = "yes"; then
33511 lib_unicode_suffix=u
33512 WX_CHARTYPE="unicode"
33513 UNICODE=1
33514 fi
33515
33516 lib_debug_suffix=
33517 WX_DEBUGTYPE="release"
33518 DEBUG_FLAG=0
33519 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33520 lib_debug_suffix=d
33521 WX_DEBUGTYPE="debug"
33522 DEBUG_FLAG=1
33523 fi
33524
33525 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33526 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33527
33528 DEBUG_INFO=0
33529 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33530 DEBUG_INFO=1
33531 fi
33532
33533 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33534
33535 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33536
33537 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33538
33539 if test "$cross_compiling" = "yes"; then
33540 HOST_SUFFIX="-$host_alias"
33541 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33542 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33543 fi
33544
33545 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33546 if test "${TOOLKIT_DIR}" = "os2"; then
33547 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33548 else
33549 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33550 fi
33551
33552
33553
33554 if test "$wxUSE_COCOA" = 1; then
33555
33556
33557 ac_ext=c
33558 ac_cpp='$CPP $CPPFLAGS'
33559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562
33563 ac_ext=m
33564
33565 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33566 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33567 cat >conftest.$ac_ext <<_ACEOF
33568 /* confdefs.h. */
33569 _ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 #include <AppKit/NSEvent.h>
33574 #include <CoreFoundation/CoreFoundation.h>
33575
33576 int
33577 main ()
33578 {
33579
33580 ;
33581 return 0;
33582 }
33583 _ACEOF
33584 rm -f conftest.$ac_objext
33585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33586 (eval $ac_compile) 2>conftest.er1
33587 ac_status=$?
33588 grep -v '^ *+' conftest.er1 >conftest.err
33589 rm -f conftest.er1
33590 cat conftest.err >&5
33591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592 (exit $ac_status); } &&
33593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33595 (eval $ac_try) 2>&5
33596 ac_status=$?
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); }; } &&
33599 { ac_try='test -s conftest.$ac_objext'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33602 ac_status=$?
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; }; then
33605 echo "$as_me:$LINENO: result: no" >&5
33606 echo "${ECHO_T}no" >&6
33607 else
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.$ac_ext >&5
33610
33611 echo "$as_me:$LINENO: result: yes" >&5
33612 echo "${ECHO_T}yes" >&6
33613 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33614 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33615 cat >conftest.$ac_ext <<_ACEOF
33616 /* confdefs.h. */
33617 _ACEOF
33618 cat confdefs.h >>conftest.$ac_ext
33619 cat >>conftest.$ac_ext <<_ACEOF
33620 /* end confdefs.h. */
33621 #define __Point__ 1
33622 #include <AppKit/NSEvent.h>
33623 #include <CoreFoundation/CoreFoundation.h>
33624
33625 int
33626 main ()
33627 {
33628
33629 ;
33630 return 0;
33631 }
33632 _ACEOF
33633 rm -f conftest.$ac_objext
33634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33635 (eval $ac_compile) 2>conftest.er1
33636 ac_status=$?
33637 grep -v '^ *+' conftest.er1 >conftest.err
33638 rm -f conftest.er1
33639 cat conftest.err >&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } &&
33642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33645 ac_status=$?
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try='test -s conftest.$ac_objext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 echo "$as_me:$LINENO: result: yes" >&5
33655 echo "${ECHO_T}yes" >&6
33656 cat >>confdefs.h <<\_ACEOF
33657 #define __Point__ 1
33658 _ACEOF
33659
33660
33661 else
33662 echo "$as_me: failed program was:" >&5
33663 sed 's/^/| /' conftest.$ac_ext >&5
33664
33665 { { echo "$as_me:$LINENO: error: no
33666 See \`config.log' for more details." >&5
33667 echo "$as_me: error: no
33668 See \`config.log' for more details." >&2;}
33669 { (exit 1); exit 1; }; }
33670
33671 fi
33672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33673
33674 fi
33675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33676 ac_ext=c
33677 ac_cpp='$CPP $CPPFLAGS'
33678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33681
33682 fi
33683
33684 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33685 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33686 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33687
33688 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33689
33690 # Extract the first word of "Rez", so it can be a program name with args.
33691 set dummy Rez; ac_word=$2
33692 echo "$as_me:$LINENO: checking for $ac_word" >&5
33693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33694 if test "${ac_cv_prog_REZ+set}" = set; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 else
33697 if test -n "$REZ"; then
33698 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33699 else
33700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33701 for as_dir in $PATH
33702 do
33703 IFS=$as_save_IFS
33704 test -z "$as_dir" && as_dir=.
33705 for ac_exec_ext in '' $ac_executable_extensions; do
33706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33707 ac_cv_prog_REZ="Rez"
33708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33709 break 2
33710 fi
33711 done
33712 done
33713
33714 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33715 fi
33716 fi
33717 REZ=$ac_cv_prog_REZ
33718 if test -n "$REZ"; then
33719 echo "$as_me:$LINENO: result: $REZ" >&5
33720 echo "${ECHO_T}$REZ" >&6
33721 else
33722 echo "$as_me:$LINENO: result: no" >&5
33723 echo "${ECHO_T}no" >&6
33724 fi
33725
33726 # Extract the first word of "DeRez", so it can be a program name with args.
33727 set dummy DeRez; ac_word=$2
33728 echo "$as_me:$LINENO: checking for $ac_word" >&5
33729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33730 if test "${ac_cv_prog_DEREZ+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 else
33733 if test -n "$DEREZ"; then
33734 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33735 else
33736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33737 for as_dir in $PATH
33738 do
33739 IFS=$as_save_IFS
33740 test -z "$as_dir" && as_dir=.
33741 for ac_exec_ext in '' $ac_executable_extensions; do
33742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33743 ac_cv_prog_DEREZ="DeRez"
33744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33745 break 2
33746 fi
33747 done
33748 done
33749
33750 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33751 fi
33752 fi
33753 DEREZ=$ac_cv_prog_DEREZ
33754 if test -n "$DEREZ"; then
33755 echo "$as_me:$LINENO: result: $DEREZ" >&5
33756 echo "${ECHO_T}$DEREZ" >&6
33757 else
33758 echo "$as_me:$LINENO: result: no" >&5
33759 echo "${ECHO_T}no" >&6
33760 fi
33761
33762 # Extract the first word of "SetFile", so it can be a program name with args.
33763 set dummy SetFile; ac_word=$2
33764 echo "$as_me:$LINENO: checking for $ac_word" >&5
33765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33766 if test "${ac_cv_prog_SETFILE+set}" = set; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 if test -n "$SETFILE"; then
33770 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33771 else
33772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33773 for as_dir in $PATH
33774 do
33775 IFS=$as_save_IFS
33776 test -z "$as_dir" && as_dir=.
33777 for ac_exec_ext in '' $ac_executable_extensions; do
33778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33779 ac_cv_prog_SETFILE="SetFile"
33780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33781 break 2
33782 fi
33783 done
33784 done
33785
33786 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33787 fi
33788 fi
33789 SETFILE=$ac_cv_prog_SETFILE
33790 if test -n "$SETFILE"; then
33791 echo "$as_me:$LINENO: result: $SETFILE" >&5
33792 echo "${ECHO_T}$SETFILE" >&6
33793 else
33794 echo "$as_me:$LINENO: result: no" >&5
33795 echo "${ECHO_T}no" >&6
33796 fi
33797
33798
33799 MACSETFILE="\$(SETFILE)"
33800
33801 if test "$wxUSE_MAC" = 1; then
33802 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33803 RESCOMP="$REZ"
33804 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33805 else
33806 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33807 RESCOMP="echo -n \| $REZ"
33808 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33809 fi
33810
33811 else
33812 MACSETFILE="@true"
33813
33814 if test "$wxUSE_PM" = 1; then
33815 RESCOMP="emxbind"
33816 WXCONFIG_RESFLAGS="-ep"
33817
33818 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33819 else
33820 POSTLINK_COMMAND="@true"
33821 fi
33822
33823 fi
33824
33825
33826
33827 echo "$as_me:$LINENO: checking for mode_t" >&5
33828 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33829 if test "${ac_cv_type_mode_t+set}" = set; then
33830 echo $ECHO_N "(cached) $ECHO_C" >&6
33831 else
33832 cat >conftest.$ac_ext <<_ACEOF
33833 /* confdefs.h. */
33834 _ACEOF
33835 cat confdefs.h >>conftest.$ac_ext
33836 cat >>conftest.$ac_ext <<_ACEOF
33837 /* end confdefs.h. */
33838 $ac_includes_default
33839 int
33840 main ()
33841 {
33842 if ((mode_t *) 0)
33843 return 0;
33844 if (sizeof (mode_t))
33845 return 0;
33846 ;
33847 return 0;
33848 }
33849 _ACEOF
33850 rm -f conftest.$ac_objext
33851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33852 (eval $ac_compile) 2>conftest.er1
33853 ac_status=$?
33854 grep -v '^ *+' conftest.er1 >conftest.err
33855 rm -f conftest.er1
33856 cat conftest.err >&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); } &&
33859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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 { ac_try='test -s conftest.$ac_objext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33868 ac_status=$?
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871 ac_cv_type_mode_t=yes
33872 else
33873 echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33875
33876 ac_cv_type_mode_t=no
33877 fi
33878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33879 fi
33880 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33881 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33882 if test $ac_cv_type_mode_t = yes; then
33883 :
33884 else
33885
33886 cat >>confdefs.h <<_ACEOF
33887 #define mode_t int
33888 _ACEOF
33889
33890 fi
33891
33892 echo "$as_me:$LINENO: checking for off_t" >&5
33893 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33894 if test "${ac_cv_type_off_t+set}" = set; then
33895 echo $ECHO_N "(cached) $ECHO_C" >&6
33896 else
33897 cat >conftest.$ac_ext <<_ACEOF
33898 /* confdefs.h. */
33899 _ACEOF
33900 cat confdefs.h >>conftest.$ac_ext
33901 cat >>conftest.$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903 $ac_includes_default
33904 int
33905 main ()
33906 {
33907 if ((off_t *) 0)
33908 return 0;
33909 if (sizeof (off_t))
33910 return 0;
33911 ;
33912 return 0;
33913 }
33914 _ACEOF
33915 rm -f conftest.$ac_objext
33916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33917 (eval $ac_compile) 2>conftest.er1
33918 ac_status=$?
33919 grep -v '^ *+' conftest.er1 >conftest.err
33920 rm -f conftest.er1
33921 cat conftest.err >&5
33922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923 (exit $ac_status); } &&
33924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33926 (eval $ac_try) 2>&5
33927 ac_status=$?
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); }; } &&
33930 { ac_try='test -s conftest.$ac_objext'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33933 ac_status=$?
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; }; then
33936 ac_cv_type_off_t=yes
33937 else
33938 echo "$as_me: failed program was:" >&5
33939 sed 's/^/| /' conftest.$ac_ext >&5
33940
33941 ac_cv_type_off_t=no
33942 fi
33943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33944 fi
33945 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33946 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33947 if test $ac_cv_type_off_t = yes; then
33948 :
33949 else
33950
33951 cat >>confdefs.h <<_ACEOF
33952 #define off_t long
33953 _ACEOF
33954
33955 fi
33956
33957 echo "$as_me:$LINENO: checking for pid_t" >&5
33958 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33959 if test "${ac_cv_type_pid_t+set}" = set; then
33960 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 else
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 $ac_includes_default
33969 int
33970 main ()
33971 {
33972 if ((pid_t *) 0)
33973 return 0;
33974 if (sizeof (pid_t))
33975 return 0;
33976 ;
33977 return 0;
33978 }
33979 _ACEOF
33980 rm -f conftest.$ac_objext
33981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33982 (eval $ac_compile) 2>conftest.er1
33983 ac_status=$?
33984 grep -v '^ *+' conftest.er1 >conftest.err
33985 rm -f conftest.er1
33986 cat conftest.err >&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } &&
33989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; } &&
33995 { ac_try='test -s conftest.$ac_objext'
33996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33997 (eval $ac_try) 2>&5
33998 ac_status=$?
33999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34000 (exit $ac_status); }; }; then
34001 ac_cv_type_pid_t=yes
34002 else
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.$ac_ext >&5
34005
34006 ac_cv_type_pid_t=no
34007 fi
34008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34009 fi
34010 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34011 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34012 if test $ac_cv_type_pid_t = yes; then
34013 :
34014 else
34015
34016 cat >>confdefs.h <<_ACEOF
34017 #define pid_t int
34018 _ACEOF
34019
34020 fi
34021
34022 echo "$as_me:$LINENO: checking for size_t" >&5
34023 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34024 if test "${ac_cv_type_size_t+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34027 cat >conftest.$ac_ext <<_ACEOF
34028 /* confdefs.h. */
34029 _ACEOF
34030 cat confdefs.h >>conftest.$ac_ext
34031 cat >>conftest.$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 $ac_includes_default
34034 int
34035 main ()
34036 {
34037 if ((size_t *) 0)
34038 return 0;
34039 if (sizeof (size_t))
34040 return 0;
34041 ;
34042 return 0;
34043 }
34044 _ACEOF
34045 rm -f conftest.$ac_objext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34047 (eval $ac_compile) 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34056 (eval $ac_try) 2>&5
34057 ac_status=$?
34058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059 (exit $ac_status); }; } &&
34060 { ac_try='test -s conftest.$ac_objext'
34061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34062 (eval $ac_try) 2>&5
34063 ac_status=$?
34064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34065 (exit $ac_status); }; }; then
34066 ac_cv_type_size_t=yes
34067 else
34068 echo "$as_me: failed program was:" >&5
34069 sed 's/^/| /' conftest.$ac_ext >&5
34070
34071 ac_cv_type_size_t=no
34072 fi
34073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34074 fi
34075 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34076 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34077 if test $ac_cv_type_size_t = yes; then
34078 :
34079 else
34080
34081 cat >>confdefs.h <<_ACEOF
34082 #define size_t unsigned
34083 _ACEOF
34084
34085 fi
34086
34087 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34088 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34089 if test "${ac_cv_type_uid_t+set}" = set; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 else
34092 cat >conftest.$ac_ext <<_ACEOF
34093 /* confdefs.h. */
34094 _ACEOF
34095 cat confdefs.h >>conftest.$ac_ext
34096 cat >>conftest.$ac_ext <<_ACEOF
34097 /* end confdefs.h. */
34098 #include <sys/types.h>
34099
34100 _ACEOF
34101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34102 $EGREP "uid_t" >/dev/null 2>&1; then
34103 ac_cv_type_uid_t=yes
34104 else
34105 ac_cv_type_uid_t=no
34106 fi
34107 rm -f conftest*
34108
34109 fi
34110 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34111 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34112 if test $ac_cv_type_uid_t = no; then
34113
34114 cat >>confdefs.h <<\_ACEOF
34115 #define uid_t int
34116 _ACEOF
34117
34118
34119 cat >>confdefs.h <<\_ACEOF
34120 #define gid_t int
34121 _ACEOF
34122
34123 fi
34124
34125
34126 echo "$as_me:$LINENO: checking for ssize_t" >&5
34127 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34128 if test "${ac_cv_type_ssize_t+set}" = set; then
34129 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 else
34131 cat >conftest.$ac_ext <<_ACEOF
34132 /* confdefs.h. */
34133 _ACEOF
34134 cat confdefs.h >>conftest.$ac_ext
34135 cat >>conftest.$ac_ext <<_ACEOF
34136 /* end confdefs.h. */
34137 $ac_includes_default
34138 int
34139 main ()
34140 {
34141 if ((ssize_t *) 0)
34142 return 0;
34143 if (sizeof (ssize_t))
34144 return 0;
34145 ;
34146 return 0;
34147 }
34148 _ACEOF
34149 rm -f conftest.$ac_objext
34150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34151 (eval $ac_compile) 2>conftest.er1
34152 ac_status=$?
34153 grep -v '^ *+' conftest.er1 >conftest.err
34154 rm -f conftest.er1
34155 cat conftest.err >&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); } &&
34158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34161 ac_status=$?
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; } &&
34164 { ac_try='test -s conftest.$ac_objext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34167 ac_status=$?
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 ac_cv_type_ssize_t=yes
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34174
34175 ac_cv_type_ssize_t=no
34176 fi
34177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34178 fi
34179 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34180 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34181 if test $ac_cv_type_ssize_t = yes; then
34182
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE_SSIZE_T 1
34185 _ACEOF
34186
34187
34188 fi
34189
34190
34191 ac_ext=cc
34192 ac_cpp='$CXXCPP $CPPFLAGS'
34193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34197 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34198 if test "${wx_cv_size_t_is_uint+set}" = set; then
34199 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 else
34201
34202 cat >conftest.$ac_ext <<_ACEOF
34203 /* confdefs.h. */
34204 _ACEOF
34205 cat confdefs.h >>conftest.$ac_ext
34206 cat >>conftest.$ac_ext <<_ACEOF
34207 /* end confdefs.h. */
34208 #include <stddef.h>
34209 int
34210 main ()
34211 {
34212
34213 return 0; }
34214
34215 struct Foo { void foo(size_t); void foo(unsigned int); };
34216
34217 int bar() {
34218
34219 ;
34220 return 0;
34221 }
34222 _ACEOF
34223 rm -f conftest.$ac_objext
34224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34225 (eval $ac_compile) 2>conftest.er1
34226 ac_status=$?
34227 grep -v '^ *+' conftest.er1 >conftest.err
34228 rm -f conftest.er1
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } &&
34232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; } &&
34238 { ac_try='test -s conftest.$ac_objext'
34239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34240 (eval $ac_try) 2>&5
34241 ac_status=$?
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); }; }; then
34244 wx_cv_size_t_is_uint=no
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34248
34249 wx_cv_size_t_is_uint=yes
34250
34251 fi
34252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34253
34254
34255 fi
34256 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34257 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34258
34259 if test "$wx_cv_size_t_is_uint" = "yes"; then
34260 cat >>confdefs.h <<\_ACEOF
34261 #define wxSIZE_T_IS_UINT 1
34262 _ACEOF
34263
34264 else
34265 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34266 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34267 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 else
34270 cat >conftest.$ac_ext <<_ACEOF
34271 /* confdefs.h. */
34272 _ACEOF
34273 cat confdefs.h >>conftest.$ac_ext
34274 cat >>conftest.$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34276 #include <stddef.h>
34277 int
34278 main ()
34279 {
34280
34281 return 0; }
34282
34283 struct Foo { void foo(size_t); void foo(unsigned long); };
34284
34285 int bar() {
34286
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34293 (eval $ac_compile) 2>conftest.er1
34294 ac_status=$?
34295 grep -v '^ *+' conftest.er1 >conftest.err
34296 rm -f conftest.er1
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest.$ac_objext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 wx_cv_size_t_is_ulong=no
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 wx_cv_size_t_is_ulong=yes
34318
34319 fi
34320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34321
34322 fi
34323 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34324 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34325
34326 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34327 cat >>confdefs.h <<\_ACEOF
34328 #define wxSIZE_T_IS_ULONG 1
34329 _ACEOF
34330
34331 fi
34332 fi
34333
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340
34341 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34342 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34343 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34345 else
34346
34347 cat >conftest.$ac_ext <<_ACEOF
34348 /* confdefs.h. */
34349 _ACEOF
34350 cat confdefs.h >>conftest.$ac_ext
34351 cat >>conftest.$ac_ext <<_ACEOF
34352 /* end confdefs.h. */
34353 #include <pwd.h>
34354 int
34355 main ()
34356 {
34357
34358 char *p;
34359 struct passwd *pw;
34360 p = pw->pw_gecos;
34361
34362 ;
34363 return 0;
34364 }
34365 _ACEOF
34366 rm -f conftest.$ac_objext
34367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34368 (eval $ac_compile) 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } &&
34375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34378 ac_status=$?
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; } &&
34381 { ac_try='test -s conftest.$ac_objext'
34382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34383 (eval $ac_try) 2>&5
34384 ac_status=$?
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); }; }; then
34387
34388 wx_cv_struct_pw_gecos=yes
34389
34390 else
34391 echo "$as_me: failed program was:" >&5
34392 sed 's/^/| /' conftest.$ac_ext >&5
34393
34394
34395 wx_cv_struct_pw_gecos=no
34396
34397
34398 fi
34399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34400
34401
34402 fi
34403 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34404 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34405
34406 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define HAVE_PW_GECOS 1
34409 _ACEOF
34410
34411 fi
34412
34413
34414 if test "$wxUSE_WCHAR_T" = "yes"; then
34415 cat >>confdefs.h <<\_ACEOF
34416 #define wxUSE_WCHAR_T 1
34417 _ACEOF
34418
34419
34420 WCSLEN_FOUND=0
34421 WCHAR_LINK=
34422
34423 for ac_func in wcslen
34424 do
34425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34426 echo "$as_me:$LINENO: checking for $ac_func" >&5
34427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34428 if eval "test \"\${$as_ac_var+set}\" = set"; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34439 #define $ac_func innocuous_$ac_func
34440
34441 /* System header to define __stub macros and hopefully few prototypes,
34442 which can conflict with char $ac_func (); below.
34443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34444 <limits.h> exists even on freestanding compilers. */
34445
34446 #ifdef __STDC__
34447 # include <limits.h>
34448 #else
34449 # include <assert.h>
34450 #endif
34451
34452 #undef $ac_func
34453
34454 /* Override any gcc2 internal prototype to avoid an error. */
34455 #ifdef __cplusplus
34456 extern "C"
34457 {
34458 #endif
34459 /* We use char because int might match the return type of a gcc2
34460 builtin and then its argument prototype would still apply. */
34461 char $ac_func ();
34462 /* The GNU C library defines this for functions which it implements
34463 to always fail with ENOSYS. Some functions are actually named
34464 something starting with __ and the normal name is an alias. */
34465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34466 choke me
34467 #else
34468 char (*f) () = $ac_func;
34469 #endif
34470 #ifdef __cplusplus
34471 }
34472 #endif
34473
34474 int
34475 main ()
34476 {
34477 return f != $ac_func;
34478 ;
34479 return 0;
34480 }
34481 _ACEOF
34482 rm -f conftest.$ac_objext conftest$ac_exeext
34483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34484 (eval $ac_link) 2>conftest.er1
34485 ac_status=$?
34486 grep -v '^ *+' conftest.er1 >conftest.err
34487 rm -f conftest.er1
34488 cat conftest.err >&5
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); } &&
34491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; } &&
34497 { ac_try='test -s conftest$ac_exeext'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34503 eval "$as_ac_var=yes"
34504 else
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.$ac_ext >&5
34507
34508 eval "$as_ac_var=no"
34509 fi
34510 rm -f conftest.err conftest.$ac_objext \
34511 conftest$ac_exeext conftest.$ac_ext
34512 fi
34513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34515 if test `eval echo '${'$as_ac_var'}'` = yes; then
34516 cat >>confdefs.h <<_ACEOF
34517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34518 _ACEOF
34519 WCSLEN_FOUND=1
34520 fi
34521 done
34522
34523
34524 if test "$WCSLEN_FOUND" = 0; then
34525 if test "$TOOLKIT" = "MSW"; then
34526 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34527 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34528 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34530 else
34531 ac_check_lib_save_LIBS=$LIBS
34532 LIBS="-lmsvcrt $LIBS"
34533 cat >conftest.$ac_ext <<_ACEOF
34534 /* confdefs.h. */
34535 _ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539
34540 /* Override any gcc2 internal prototype to avoid an error. */
34541 #ifdef __cplusplus
34542 extern "C"
34543 #endif
34544 /* We use char because int might match the return type of a gcc2
34545 builtin and then its argument prototype would still apply. */
34546 char wcslen ();
34547 int
34548 main ()
34549 {
34550 wcslen ();
34551 ;
34552 return 0;
34553 }
34554 _ACEOF
34555 rm -f conftest.$ac_objext conftest$ac_exeext
34556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34557 (eval $ac_link) 2>conftest.er1
34558 ac_status=$?
34559 grep -v '^ *+' conftest.er1 >conftest.err
34560 rm -f conftest.er1
34561 cat conftest.err >&5
34562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34563 (exit $ac_status); } &&
34564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34566 (eval $ac_try) 2>&5
34567 ac_status=$?
34568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34569 (exit $ac_status); }; } &&
34570 { ac_try='test -s conftest$ac_exeext'
34571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34572 (eval $ac_try) 2>&5
34573 ac_status=$?
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); }; }; then
34576 ac_cv_lib_msvcrt_wcslen=yes
34577 else
34578 echo "$as_me: failed program was:" >&5
34579 sed 's/^/| /' conftest.$ac_ext >&5
34580
34581 ac_cv_lib_msvcrt_wcslen=no
34582 fi
34583 rm -f conftest.err conftest.$ac_objext \
34584 conftest$ac_exeext conftest.$ac_ext
34585 LIBS=$ac_check_lib_save_LIBS
34586 fi
34587 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34588 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34589 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34590 WCHAR_OK=1
34591 fi
34592
34593 else
34594 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34595 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34596 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 else
34599 ac_check_lib_save_LIBS=$LIBS
34600 LIBS="-lw $LIBS"
34601 cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h. */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607
34608 /* Override any gcc2 internal prototype to avoid an error. */
34609 #ifdef __cplusplus
34610 extern "C"
34611 #endif
34612 /* We use char because int might match the return type of a gcc2
34613 builtin and then its argument prototype would still apply. */
34614 char wcslen ();
34615 int
34616 main ()
34617 {
34618 wcslen ();
34619 ;
34620 return 0;
34621 }
34622 _ACEOF
34623 rm -f conftest.$ac_objext conftest$ac_exeext
34624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34625 (eval $ac_link) 2>conftest.er1
34626 ac_status=$?
34627 grep -v '^ *+' conftest.er1 >conftest.err
34628 rm -f conftest.er1
34629 cat conftest.err >&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } &&
34632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; } &&
34638 { ac_try='test -s conftest$ac_exeext'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; }; then
34644 ac_cv_lib_w_wcslen=yes
34645 else
34646 echo "$as_me: failed program was:" >&5
34647 sed 's/^/| /' conftest.$ac_ext >&5
34648
34649 ac_cv_lib_w_wcslen=no
34650 fi
34651 rm -f conftest.err conftest.$ac_objext \
34652 conftest$ac_exeext conftest.$ac_ext
34653 LIBS=$ac_check_lib_save_LIBS
34654 fi
34655 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34656 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34657 if test $ac_cv_lib_w_wcslen = yes; then
34658
34659 WCHAR_LINK=" -lw"
34660 WCSLEN_FOUND=1
34661
34662 fi
34663
34664 fi
34665 fi
34666
34667 if test "$WCSLEN_FOUND" = 1; then
34668 cat >>confdefs.h <<\_ACEOF
34669 #define HAVE_WCSLEN 1
34670 _ACEOF
34671
34672 fi
34673
34674 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34675 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34676 fi
34677
34678 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34679 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34680 if test "${ac_cv_type_mbstate_t+set}" = set; then
34681 echo $ECHO_N "(cached) $ECHO_C" >&6
34682 else
34683 cat >conftest.$ac_ext <<_ACEOF
34684 /* confdefs.h. */
34685 _ACEOF
34686 cat confdefs.h >>conftest.$ac_ext
34687 cat >>conftest.$ac_ext <<_ACEOF
34688 /* end confdefs.h. */
34689 #include <wchar.h>
34690
34691 int
34692 main ()
34693 {
34694 if ((mbstate_t *) 0)
34695 return 0;
34696 if (sizeof (mbstate_t))
34697 return 0;
34698 ;
34699 return 0;
34700 }
34701 _ACEOF
34702 rm -f conftest.$ac_objext
34703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34704 (eval $ac_compile) 2>conftest.er1
34705 ac_status=$?
34706 grep -v '^ *+' conftest.er1 >conftest.err
34707 rm -f conftest.er1
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713 (eval $ac_try) 2>&5
34714 ac_status=$?
34715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716 (exit $ac_status); }; } &&
34717 { ac_try='test -s conftest.$ac_objext'
34718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719 (eval $ac_try) 2>&5
34720 ac_status=$?
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); }; }; then
34723 ac_cv_type_mbstate_t=yes
34724 else
34725 echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728 ac_cv_type_mbstate_t=no
34729 fi
34730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34731 fi
34732 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34733 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34734 if test $ac_cv_type_mbstate_t = yes; then
34735
34736 cat >>confdefs.h <<_ACEOF
34737 #define HAVE_MBSTATE_T 1
34738 _ACEOF
34739
34740
34741 for ac_func in wcsrtombs
34742 do
34743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34744 echo "$as_me:$LINENO: checking for $ac_func" >&5
34745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34746 if eval "test \"\${$as_ac_var+set}\" = set"; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749 cat >conftest.$ac_ext <<_ACEOF
34750 /* confdefs.h. */
34751 _ACEOF
34752 cat confdefs.h >>conftest.$ac_ext
34753 cat >>conftest.$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define $ac_func innocuous_$ac_func
34758
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char $ac_func (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34763
34764 #ifdef __STDC__
34765 # include <limits.h>
34766 #else
34767 # include <assert.h>
34768 #endif
34769
34770 #undef $ac_func
34771
34772 /* Override any gcc2 internal prototype to avoid an error. */
34773 #ifdef __cplusplus
34774 extern "C"
34775 {
34776 #endif
34777 /* We use char because int might match the return type of a gcc2
34778 builtin and then its argument prototype would still apply. */
34779 char $ac_func ();
34780 /* The GNU C library defines this for functions which it implements
34781 to always fail with ENOSYS. Some functions are actually named
34782 something starting with __ and the normal name is an alias. */
34783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34784 choke me
34785 #else
34786 char (*f) () = $ac_func;
34787 #endif
34788 #ifdef __cplusplus
34789 }
34790 #endif
34791
34792 int
34793 main ()
34794 {
34795 return f != $ac_func;
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34802 (eval $ac_link) 2>conftest.er1
34803 ac_status=$?
34804 grep -v '^ *+' conftest.er1 >conftest.err
34805 rm -f conftest.er1
34806 cat conftest.err >&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try='test -s conftest$ac_exeext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 eval "$as_ac_var=yes"
34822 else
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.$ac_ext >&5
34825
34826 eval "$as_ac_var=no"
34827 fi
34828 rm -f conftest.err conftest.$ac_objext \
34829 conftest$ac_exeext conftest.$ac_ext
34830 fi
34831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34833 if test `eval echo '${'$as_ac_var'}'` = yes; then
34834 cat >>confdefs.h <<_ACEOF
34835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34836 _ACEOF
34837
34838 fi
34839 done
34840
34841 fi
34842
34843 else
34844 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34845 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34846 fi
34847
34848
34849
34850 for ac_func in snprintf vsnprintf
34851 do
34852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 echo "$as_me:$LINENO: checking for $ac_func" >&5
34854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34855 if eval "test \"\${$as_ac_var+set}\" = set"; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 else
34858 cat >conftest.$ac_ext <<_ACEOF
34859 /* confdefs.h. */
34860 _ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34866 #define $ac_func innocuous_$ac_func
34867
34868 /* System header to define __stub macros and hopefully few prototypes,
34869 which can conflict with char $ac_func (); below.
34870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34871 <limits.h> exists even on freestanding compilers. */
34872
34873 #ifdef __STDC__
34874 # include <limits.h>
34875 #else
34876 # include <assert.h>
34877 #endif
34878
34879 #undef $ac_func
34880
34881 /* Override any gcc2 internal prototype to avoid an error. */
34882 #ifdef __cplusplus
34883 extern "C"
34884 {
34885 #endif
34886 /* We use char because int might match the return type of a gcc2
34887 builtin and then its argument prototype would still apply. */
34888 char $ac_func ();
34889 /* The GNU C library defines this for functions which it implements
34890 to always fail with ENOSYS. Some functions are actually named
34891 something starting with __ and the normal name is an alias. */
34892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34893 choke me
34894 #else
34895 char (*f) () = $ac_func;
34896 #endif
34897 #ifdef __cplusplus
34898 }
34899 #endif
34900
34901 int
34902 main ()
34903 {
34904 return f != $ac_func;
34905 ;
34906 return 0;
34907 }
34908 _ACEOF
34909 rm -f conftest.$ac_objext conftest$ac_exeext
34910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34911 (eval $ac_link) 2>conftest.er1
34912 ac_status=$?
34913 grep -v '^ *+' conftest.er1 >conftest.err
34914 rm -f conftest.er1
34915 cat conftest.err >&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } &&
34918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34921 ac_status=$?
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; } &&
34924 { ac_try='test -s conftest$ac_exeext'
34925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926 (eval $ac_try) 2>&5
34927 ac_status=$?
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); }; }; then
34930 eval "$as_ac_var=yes"
34931 else
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34934
34935 eval "$as_ac_var=no"
34936 fi
34937 rm -f conftest.err conftest.$ac_objext \
34938 conftest$ac_exeext conftest.$ac_ext
34939 fi
34940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34942 if test `eval echo '${'$as_ac_var'}'` = yes; then
34943 cat >>confdefs.h <<_ACEOF
34944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34945 _ACEOF
34946
34947 fi
34948 done
34949
34950
34951 if test "$ac_cv_func_vsnprintf" = "yes"; then
34952 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34953 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34954 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34955 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 else
34957
34958 cat >conftest.$ac_ext <<_ACEOF
34959 /* confdefs.h. */
34960 _ACEOF
34961 cat confdefs.h >>conftest.$ac_ext
34962 cat >>conftest.$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34964
34965 #include <stdio.h>
34966 #include <stdarg.h>
34967 #ifdef __MSL__
34968 #if __MSL__ >= 0x6000
34969 namespace std {}
34970 using namespace std;
34971 #endif
34972 #endif
34973
34974 int
34975 main ()
34976 {
34977
34978 char *buf;
34979 va_list ap;
34980 vsnprintf(buf, 10u, "%s", ap);
34981
34982 ;
34983 return 0;
34984 }
34985 _ACEOF
34986 rm -f conftest.$ac_objext
34987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34988 (eval $ac_compile) 2>conftest.er1
34989 ac_status=$?
34990 grep -v '^ *+' conftest.er1 >conftest.err
34991 rm -f conftest.er1
34992 cat conftest.err >&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); } &&
34995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997 (eval $ac_try) 2>&5
34998 ac_status=$?
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); }; } &&
35001 { ac_try='test -s conftest.$ac_objext'
35002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35003 (eval $ac_try) 2>&5
35004 ac_status=$?
35005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006 (exit $ac_status); }; }; then
35007 wx_cv_func_vsnprintf_decl=yes
35008 else
35009 echo "$as_me: failed program was:" >&5
35010 sed 's/^/| /' conftest.$ac_ext >&5
35011
35012 wx_cv_func_vsnprintf_decl=no
35013
35014 fi
35015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35016
35017
35018 fi
35019 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35020 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35021
35022 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_VSNPRINTF_DECL 1
35025 _ACEOF
35026
35027
35028 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35029 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35030 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35031 echo $ECHO_N "(cached) $ECHO_C" >&6
35032 else
35033
35034 cat >conftest.$ac_ext <<_ACEOF
35035 /* confdefs.h. */
35036 _ACEOF
35037 cat confdefs.h >>conftest.$ac_ext
35038 cat >>conftest.$ac_ext <<_ACEOF
35039 /* end confdefs.h. */
35040
35041 #include <stdio.h>
35042 #include <stdarg.h>
35043 #ifdef __MSL__
35044 #if __MSL__ >= 0x6000
35045 namespace std {}
35046 using namespace std;
35047 #endif
35048 #endif
35049
35050 int
35051 main ()
35052 {
35053
35054 char *buf;
35055 va_list ap;
35056 const char *fmt = "%s";
35057 vsnprintf(buf, 10u, fmt, ap);
35058
35059 ;
35060 return 0;
35061 }
35062 _ACEOF
35063 rm -f conftest.$ac_objext
35064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35065 (eval $ac_compile) 2>conftest.er1
35066 ac_status=$?
35067 grep -v '^ *+' conftest.er1 >conftest.err
35068 rm -f conftest.er1
35069 cat conftest.err >&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); } &&
35072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35074 (eval $ac_try) 2>&5
35075 ac_status=$?
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); }; } &&
35078 { ac_try='test -s conftest.$ac_objext'
35079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35080 (eval $ac_try) 2>&5
35081 ac_status=$?
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); }; }; then
35084 wx_cv_func_broken_vsnprintf_decl=no
35085 else
35086 echo "$as_me: failed program was:" >&5
35087 sed 's/^/| /' conftest.$ac_ext >&5
35088
35089 wx_cv_func_broken_vsnprintf_decl=yes
35090
35091 fi
35092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35093
35094
35095 fi
35096 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35097 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35098
35099 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35100 cat >>confdefs.h <<\_ACEOF
35101 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35102 _ACEOF
35103
35104 fi
35105 fi
35106 fi
35107
35108 if test "$ac_cv_func_snprintf" = "yes"; then
35109 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35110 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35111 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35113 else
35114
35115 cat >conftest.$ac_ext <<_ACEOF
35116 /* confdefs.h. */
35117 _ACEOF
35118 cat confdefs.h >>conftest.$ac_ext
35119 cat >>conftest.$ac_ext <<_ACEOF
35120 /* end confdefs.h. */
35121
35122 #include <stdio.h>
35123 #include <stdarg.h>
35124 #ifdef __MSL__
35125 #if __MSL__ >= 0x6000
35126 namespace std {}
35127 using namespace std;
35128 #endif
35129 #endif
35130
35131 int
35132 main ()
35133 {
35134
35135 char *buf;
35136 snprintf(buf, 10u, "%s", "wx");
35137
35138 ;
35139 return 0;
35140 }
35141 _ACEOF
35142 rm -f conftest.$ac_objext
35143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35144 (eval $ac_compile) 2>conftest.er1
35145 ac_status=$?
35146 grep -v '^ *+' conftest.er1 >conftest.err
35147 rm -f conftest.er1
35148 cat conftest.err >&5
35149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35150 (exit $ac_status); } &&
35151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35153 (eval $ac_try) 2>&5
35154 ac_status=$?
35155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156 (exit $ac_status); }; } &&
35157 { ac_try='test -s conftest.$ac_objext'
35158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159 (eval $ac_try) 2>&5
35160 ac_status=$?
35161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162 (exit $ac_status); }; }; then
35163 wx_cv_func_snprintf_decl=yes
35164 else
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 wx_cv_func_snprintf_decl=no
35169
35170 fi
35171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35172
35173
35174 fi
35175 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35176 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35177
35178 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35179 cat >>confdefs.h <<\_ACEOF
35180 #define HAVE_SNPRINTF_DECL 1
35181 _ACEOF
35182
35183
35184 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35185 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35186 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35187 echo $ECHO_N "(cached) $ECHO_C" >&6
35188 else
35189
35190 cat >conftest.$ac_ext <<_ACEOF
35191 /* confdefs.h. */
35192 _ACEOF
35193 cat confdefs.h >>conftest.$ac_ext
35194 cat >>conftest.$ac_ext <<_ACEOF
35195 /* end confdefs.h. */
35196
35197 #include <stdio.h>
35198 #include <stdarg.h>
35199 #ifdef __MSL__
35200 #if __MSL__ >= 0x6000
35201 namespace std {}
35202 using namespace std;
35203 #endif
35204 #endif
35205
35206 int
35207 main ()
35208 {
35209
35210 char *buf;
35211 const char *fmt = "%s";
35212 snprintf(buf, 10u, fmt, "wx");
35213
35214 ;
35215 return 0;
35216 }
35217 _ACEOF
35218 rm -f conftest.$ac_objext
35219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35220 (eval $ac_compile) 2>conftest.er1
35221 ac_status=$?
35222 grep -v '^ *+' conftest.er1 >conftest.err
35223 rm -f conftest.er1
35224 cat conftest.err >&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } &&
35227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35230 ac_status=$?
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; } &&
35233 { ac_try='test -s conftest.$ac_objext'
35234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35235 (eval $ac_try) 2>&5
35236 ac_status=$?
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); }; }; then
35239 wx_cv_func_broken_snprintf_decl=no
35240 else
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35243
35244 wx_cv_func_broken_snprintf_decl=yes
35245
35246 fi
35247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35248
35249
35250 fi
35251 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35252 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35253
35254 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35255 cat >>confdefs.h <<\_ACEOF
35256 #define HAVE_BROKEN_SNPRINTF_DECL 1
35257 _ACEOF
35258
35259 fi
35260 fi
35261
35262 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35263
35264 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35265 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35266 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35267 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 else
35269
35270 if test "$cross_compiling" = yes; then
35271
35272 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35273 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35274 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35275 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35276 wx_cv_func_snprintf_pos_params=no
35277
35278
35279 else
35280 cat >conftest.$ac_ext <<_ACEOF
35281 /* confdefs.h. */
35282 _ACEOF
35283 cat confdefs.h >>conftest.$ac_ext
35284 cat >>conftest.$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35286
35287 #include <stdio.h>
35288
35289 int main (void)
35290 {
35291 char buffer[128];
35292 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35293 if (strcmp ("2 3 1", buffer) == 0)
35294 exit (0);
35295 exit (1);
35296 }
35297
35298 _ACEOF
35299 rm -f conftest$ac_exeext
35300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35301 (eval $ac_link) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35310 wx_cv_func_snprintf_pos_params=no
35311 else
35312 echo "$as_me: program exited with status $ac_status" >&5
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35315
35316 ( exit $ac_status )
35317 wx_cv_func_snprintf_pos_params=yes
35318 fi
35319 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35320 fi
35321
35322
35323 fi
35324 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35325 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35326
35327 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35328 cat >>confdefs.h <<\_ACEOF
35329 #define HAVE_UNIX98_PRINTF 1
35330 _ACEOF
35331
35332 fi
35333 fi
35334 fi
35335
35336 if test "$wxUSE_UNICODE" = yes; then
35337
35338
35339 for ac_func in swprintf
35340 do
35341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35342 echo "$as_me:$LINENO: checking for $ac_func" >&5
35343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35344 if eval "test \"\${$as_ac_var+set}\" = set"; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35346 else
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35355 #define $ac_func innocuous_$ac_func
35356
35357 /* System header to define __stub macros and hopefully few prototypes,
35358 which can conflict with char $ac_func (); below.
35359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35360 <limits.h> exists even on freestanding compilers. */
35361
35362 #ifdef __STDC__
35363 # include <limits.h>
35364 #else
35365 # include <assert.h>
35366 #endif
35367
35368 #undef $ac_func
35369
35370 /* Override any gcc2 internal prototype to avoid an error. */
35371 #ifdef __cplusplus
35372 extern "C"
35373 {
35374 #endif
35375 /* We use char because int might match the return type of a gcc2
35376 builtin and then its argument prototype would still apply. */
35377 char $ac_func ();
35378 /* The GNU C library defines this for functions which it implements
35379 to always fail with ENOSYS. Some functions are actually named
35380 something starting with __ and the normal name is an alias. */
35381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35382 choke me
35383 #else
35384 char (*f) () = $ac_func;
35385 #endif
35386 #ifdef __cplusplus
35387 }
35388 #endif
35389
35390 int
35391 main ()
35392 {
35393 return f != $ac_func;
35394 ;
35395 return 0;
35396 }
35397 _ACEOF
35398 rm -f conftest.$ac_objext conftest$ac_exeext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35400 (eval $ac_link) 2>conftest.er1
35401 ac_status=$?
35402 grep -v '^ *+' conftest.er1 >conftest.err
35403 rm -f conftest.er1
35404 cat conftest.err >&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); } &&
35407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; } &&
35413 { ac_try='test -s conftest$ac_exeext'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35416 ac_status=$?
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; }; then
35419 eval "$as_ac_var=yes"
35420 else
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35423
35424 eval "$as_ac_var=no"
35425 fi
35426 rm -f conftest.err conftest.$ac_objext \
35427 conftest$ac_exeext conftest.$ac_ext
35428 fi
35429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35431 if test `eval echo '${'$as_ac_var'}'` = yes; then
35432 cat >>confdefs.h <<_ACEOF
35433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35434 _ACEOF
35435
35436 fi
35437 done
35438
35439
35440 if test "$ac_cv_func_swprintf" = "yes"; then
35441 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35442 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35443 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35444 echo $ECHO_N "(cached) $ECHO_C" >&6
35445 else
35446
35447 cat >conftest.$ac_ext <<_ACEOF
35448 /* confdefs.h. */
35449 _ACEOF
35450 cat confdefs.h >>conftest.$ac_ext
35451 cat >>conftest.$ac_ext <<_ACEOF
35452 /* end confdefs.h. */
35453
35454 #include <stdio.h>
35455 #include <stdarg.h>
35456 #include <wchar.h>
35457
35458 int
35459 main ()
35460 {
35461
35462 wchar_t *buf;
35463 const wchar_t *fmt = L"test";
35464 swprintf(buf, 10u, fmt);
35465
35466 ;
35467 return 0;
35468 }
35469 _ACEOF
35470 rm -f conftest.$ac_objext
35471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35472 (eval $ac_compile) 2>conftest.er1
35473 ac_status=$?
35474 grep -v '^ *+' conftest.er1 >conftest.err
35475 rm -f conftest.er1
35476 cat conftest.err >&5
35477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35478 (exit $ac_status); } &&
35479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35481 (eval $ac_try) 2>&5
35482 ac_status=$?
35483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35484 (exit $ac_status); }; } &&
35485 { ac_try='test -s conftest.$ac_objext'
35486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35487 (eval $ac_try) 2>&5
35488 ac_status=$?
35489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35490 (exit $ac_status); }; }; then
35491 wx_cv_func_broken_swprintf_decl=no
35492 else
35493 echo "$as_me: failed program was:" >&5
35494 sed 's/^/| /' conftest.$ac_ext >&5
35495
35496 wx_cv_func_broken_swprintf_decl=yes
35497
35498 fi
35499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35500
35501
35502 fi
35503 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35504 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35505
35506 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35507 cat >>confdefs.h <<\_ACEOF
35508 #define HAVE_BROKEN_SWPRINTF_DECL 1
35509 _ACEOF
35510
35511 fi
35512 fi
35513
35514 wchar_headers="#include <stdio.h>
35515 #include <wchar.h>"
35516 case "${host}" in
35517 *-*-solaris2* )
35518
35519 for ac_header in widec.h
35520 do
35521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35523 echo "$as_me:$LINENO: checking for $ac_header" >&5
35524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35526 echo $ECHO_N "(cached) $ECHO_C" >&6
35527 fi
35528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35530 else
35531 # Is the header compilable?
35532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35534 cat >conftest.$ac_ext <<_ACEOF
35535 /* confdefs.h. */
35536 _ACEOF
35537 cat confdefs.h >>conftest.$ac_ext
35538 cat >>conftest.$ac_ext <<_ACEOF
35539 /* end confdefs.h. */
35540 $ac_includes_default
35541 #include <$ac_header>
35542 _ACEOF
35543 rm -f conftest.$ac_objext
35544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35545 (eval $ac_compile) 2>conftest.er1
35546 ac_status=$?
35547 grep -v '^ *+' conftest.er1 >conftest.err
35548 rm -f conftest.er1
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } &&
35552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35554 (eval $ac_try) 2>&5
35555 ac_status=$?
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); }; } &&
35558 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
35564 ac_header_compiler=yes
35565 else
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.$ac_ext >&5
35568
35569 ac_header_compiler=no
35570 fi
35571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35573 echo "${ECHO_T}$ac_header_compiler" >&6
35574
35575 # Is the header present?
35576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35578 cat >conftest.$ac_ext <<_ACEOF
35579 /* confdefs.h. */
35580 _ACEOF
35581 cat confdefs.h >>conftest.$ac_ext
35582 cat >>conftest.$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35584 #include <$ac_header>
35585 _ACEOF
35586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } >/dev/null; then
35594 if test -s conftest.err; then
35595 ac_cpp_err=$ac_c_preproc_warn_flag
35596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35597 else
35598 ac_cpp_err=
35599 fi
35600 else
35601 ac_cpp_err=yes
35602 fi
35603 if test -z "$ac_cpp_err"; then
35604 ac_header_preproc=yes
35605 else
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.$ac_ext >&5
35608
35609 ac_header_preproc=no
35610 fi
35611 rm -f conftest.err conftest.$ac_ext
35612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35613 echo "${ECHO_T}$ac_header_preproc" >&6
35614
35615 # So? What about this header?
35616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35617 yes:no: )
35618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35622 ac_header_preproc=yes
35623 ;;
35624 no:yes:* )
35625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35637 (
35638 cat <<\_ASBOX
35639 ## ----------------------------------------- ##
35640 ## Report this to wx-dev@lists.wxwidgets.org ##
35641 ## ----------------------------------------- ##
35642 _ASBOX
35643 ) |
35644 sed "s/^/$as_me: WARNING: /" >&2
35645 ;;
35646 esac
35647 echo "$as_me:$LINENO: checking for $ac_header" >&5
35648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35650 echo $ECHO_N "(cached) $ECHO_C" >&6
35651 else
35652 eval "$as_ac_Header=\$ac_header_preproc"
35653 fi
35654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35656
35657 fi
35658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35659 cat >>confdefs.h <<_ACEOF
35660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35661 _ACEOF
35662
35663 fi
35664
35665 done
35666
35667 if test "$ac_cv_header_widec_h" = "yes"; then
35668 wchar_headers="$wchar_headers
35669 #include <widec.h>"
35670 fi
35671 esac
35672
35673
35674 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35675 do
35676 echo "$as_me:$LINENO: checking for $wx_func" >&5
35677 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35678 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35679 echo $ECHO_N "(cached) $ECHO_C" >&6
35680 else
35681
35682 cat >conftest.$ac_ext <<_ACEOF
35683
35684 /* confdefs.h. */
35685 _ACEOF
35686 cat confdefs.h >>conftest.$ac_ext
35687 cat >>conftest.$ac_ext <<_ACEOF
35688 /* end confdefs.h. */
35689
35690 $wchar_headers
35691 $ac_includes_default
35692
35693 int
35694 main ()
35695 {
35696
35697 #ifndef $wx_func
35698 &$wx_func;
35699 #endif
35700
35701
35702 ;
35703 return 0;
35704 }
35705
35706 _ACEOF
35707 rm -f conftest.$ac_objext conftest$ac_exeext
35708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35709 (eval $ac_link) 2>conftest.er1
35710 ac_status=$?
35711 grep -v '^ *+' conftest.er1 >conftest.err
35712 rm -f conftest.er1
35713 cat conftest.err >&5
35714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715 (exit $ac_status); } &&
35716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35719 ac_status=$?
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; } &&
35722 { ac_try='test -s conftest$ac_exeext'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; }; then
35728 eval wx_cv_func_$wx_func=yes
35729 else
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.$ac_ext >&5
35732
35733 eval wx_cv_func_$wx_func=no
35734 fi
35735 rm -f conftest.err conftest.$ac_objext \
35736 conftest$ac_exeext conftest.$ac_ext
35737
35738 fi
35739 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35740 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35741
35742 if eval test \$wx_cv_func_$wx_func = yes
35743 then
35744 cat >>confdefs.h <<_ACEOF
35745 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35746 _ACEOF
35747
35748
35749 else
35750 :
35751
35752 fi
35753 done
35754
35755
35756 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35757 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35758 cat >conftest.$ac_ext <<_ACEOF
35759 /* confdefs.h. */
35760 _ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764 #include <wchar.h>
35765 int
35766 main ()
35767 {
35768 &_vsnwprintf;
35769 ;
35770 return 0;
35771 }
35772 _ACEOF
35773 rm -f conftest.$ac_objext
35774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35775 (eval $ac_compile) 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } &&
35782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 echo "$as_me:$LINENO: result: yes" >&5
35795 echo "${ECHO_T}yes" >&6
35796 cat >>confdefs.h <<\_ACEOF
35797 #define HAVE__VSNWPRINTF 1
35798 _ACEOF
35799
35800 else
35801 echo "$as_me: failed program was:" >&5
35802 sed 's/^/| /' conftest.$ac_ext >&5
35803
35804 echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6
35806 fi
35807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35808 fi
35809
35810 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35811
35812 for wx_func in fnmatch
35813 do
35814 echo "$as_me:$LINENO: checking for $wx_func" >&5
35815 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35816 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35818 else
35819
35820 cat >conftest.$ac_ext <<_ACEOF
35821
35822 /* confdefs.h. */
35823 _ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827
35828 #include <fnmatch.h>
35829 $ac_includes_default
35830
35831 int
35832 main ()
35833 {
35834
35835 #ifndef $wx_func
35836 &$wx_func;
35837 #endif
35838
35839
35840 ;
35841 return 0;
35842 }
35843
35844 _ACEOF
35845 rm -f conftest.$ac_objext conftest$ac_exeext
35846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35847 (eval $ac_link) 2>conftest.er1
35848 ac_status=$?
35849 grep -v '^ *+' conftest.er1 >conftest.err
35850 rm -f conftest.er1
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); } &&
35854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; } &&
35860 { ac_try='test -s conftest$ac_exeext'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35863 ac_status=$?
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35866 eval wx_cv_func_$wx_func=yes
35867 else
35868 echo "$as_me: failed program was:" >&5
35869 sed 's/^/| /' conftest.$ac_ext >&5
35870
35871 eval wx_cv_func_$wx_func=no
35872 fi
35873 rm -f conftest.err conftest.$ac_objext \
35874 conftest$ac_exeext conftest.$ac_ext
35875
35876 fi
35877 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35878 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35879
35880 if eval test \$wx_cv_func_$wx_func = yes
35881 then
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35884 _ACEOF
35885
35886
35887 else
35888 :
35889
35890 fi
35891 done
35892
35893 fi
35894
35895 if test "$wxUSE_FILE" = "yes"; then
35896
35897 for wx_func in fsync
35898 do
35899 echo "$as_me:$LINENO: checking for $wx_func" >&5
35900 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35901 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35902 echo $ECHO_N "(cached) $ECHO_C" >&6
35903 else
35904
35905 cat >conftest.$ac_ext <<_ACEOF
35906
35907 /* confdefs.h. */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912
35913
35914 $ac_includes_default
35915
35916 int
35917 main ()
35918 {
35919
35920 #ifndef $wx_func
35921 &$wx_func;
35922 #endif
35923
35924
35925 ;
35926 return 0;
35927 }
35928
35929 _ACEOF
35930 rm -f conftest.$ac_objext conftest$ac_exeext
35931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35932 (eval $ac_link) 2>conftest.er1
35933 ac_status=$?
35934 grep -v '^ *+' conftest.er1 >conftest.err
35935 rm -f conftest.er1
35936 cat conftest.err >&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } &&
35939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35941 (eval $ac_try) 2>&5
35942 ac_status=$?
35943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944 (exit $ac_status); }; } &&
35945 { ac_try='test -s conftest$ac_exeext'
35946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35947 (eval $ac_try) 2>&5
35948 ac_status=$?
35949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35950 (exit $ac_status); }; }; then
35951 eval wx_cv_func_$wx_func=yes
35952 else
35953 echo "$as_me: failed program was:" >&5
35954 sed 's/^/| /' conftest.$ac_ext >&5
35955
35956 eval wx_cv_func_$wx_func=no
35957 fi
35958 rm -f conftest.err conftest.$ac_objext \
35959 conftest$ac_exeext conftest.$ac_ext
35960
35961 fi
35962 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35963 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35964
35965 if eval test \$wx_cv_func_$wx_func = yes
35966 then
35967 cat >>confdefs.h <<_ACEOF
35968 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35969 _ACEOF
35970
35971
35972 else
35973 :
35974
35975 fi
35976 done
35977
35978 fi
35979
35980
35981 for wx_func in round
35982 do
35983 echo "$as_me:$LINENO: checking for $wx_func" >&5
35984 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35985 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35987 else
35988
35989 cat >conftest.$ac_ext <<_ACEOF
35990
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996
35997 #include <math.h>
35998 $ac_includes_default
35999
36000 int
36001 main ()
36002 {
36003
36004 #ifndef $wx_func
36005 &$wx_func;
36006 #endif
36007
36008
36009 ;
36010 return 0;
36011 }
36012
36013 _ACEOF
36014 rm -f conftest.$ac_objext conftest$ac_exeext
36015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36016 (eval $ac_link) 2>conftest.er1
36017 ac_status=$?
36018 grep -v '^ *+' conftest.er1 >conftest.err
36019 rm -f conftest.er1
36020 cat conftest.err >&5
36021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36022 (exit $ac_status); } &&
36023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025 (eval $ac_try) 2>&5
36026 ac_status=$?
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); }; } &&
36029 { ac_try='test -s conftest$ac_exeext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36032 ac_status=$?
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 eval wx_cv_func_$wx_func=yes
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 eval wx_cv_func_$wx_func=no
36041 fi
36042 rm -f conftest.err conftest.$ac_objext \
36043 conftest$ac_exeext conftest.$ac_ext
36044
36045 fi
36046 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36047 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36048
36049 if eval test \$wx_cv_func_$wx_func = yes
36050 then
36051 cat >>confdefs.h <<_ACEOF
36052 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36053 _ACEOF
36054
36055
36056 else
36057 :
36058
36059 fi
36060 done
36061
36062
36063 if test "$TOOLKIT" != "MSW"; then
36064
36065
36066
36067
36068
36069 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36070 if test "${with_libiconv_prefix+set}" = set; then
36071 withval="$with_libiconv_prefix"
36072
36073 for dir in `echo "$withval" | tr : ' '`; do
36074 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36075 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36076 done
36077
36078 fi;
36079
36080 echo "$as_me:$LINENO: checking for iconv" >&5
36081 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36082 if test "${am_cv_func_iconv+set}" = set; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 else
36085
36086 am_cv_func_iconv="no, consider installing GNU libiconv"
36087 am_cv_lib_iconv=no
36088 cat >conftest.$ac_ext <<_ACEOF
36089 /* confdefs.h. */
36090 _ACEOF
36091 cat confdefs.h >>conftest.$ac_ext
36092 cat >>conftest.$ac_ext <<_ACEOF
36093 /* end confdefs.h. */
36094 #include <stdlib.h>
36095 #include <iconv.h>
36096 int
36097 main ()
36098 {
36099 iconv_t cd = iconv_open("","");
36100 iconv(cd,NULL,NULL,NULL,NULL);
36101 iconv_close(cd);
36102 ;
36103 return 0;
36104 }
36105 _ACEOF
36106 rm -f conftest.$ac_objext conftest$ac_exeext
36107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36108 (eval $ac_link) 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_exeext'
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 am_cv_func_iconv=yes
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 fi
36133 rm -f conftest.err conftest.$ac_objext \
36134 conftest$ac_exeext conftest.$ac_ext
36135 if test "$am_cv_func_iconv" != yes; then
36136 am_save_LIBS="$LIBS"
36137 LIBS="$LIBS -liconv"
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <stdlib.h>
36145 #include <iconv.h>
36146 int
36147 main ()
36148 {
36149 iconv_t cd = iconv_open("","");
36150 iconv(cd,NULL,NULL,NULL,NULL);
36151 iconv_close(cd);
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 rm -f conftest.$ac_objext conftest$ac_exeext
36157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36158 (eval $ac_link) 2>conftest.er1
36159 ac_status=$?
36160 grep -v '^ *+' conftest.er1 >conftest.err
36161 rm -f conftest.er1
36162 cat conftest.err >&5
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); } &&
36165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36167 (eval $ac_try) 2>&5
36168 ac_status=$?
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); }; } &&
36171 { ac_try='test -s conftest$ac_exeext'
36172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36173 (eval $ac_try) 2>&5
36174 ac_status=$?
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); }; }; then
36177 am_cv_lib_iconv=yes
36178 am_cv_func_iconv=yes
36179 else
36180 echo "$as_me: failed program was:" >&5
36181 sed 's/^/| /' conftest.$ac_ext >&5
36182
36183 fi
36184 rm -f conftest.err conftest.$ac_objext \
36185 conftest$ac_exeext conftest.$ac_ext
36186 LIBS="$am_save_LIBS"
36187 fi
36188
36189 fi
36190 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36191 echo "${ECHO_T}$am_cv_func_iconv" >&6
36192 if test "$am_cv_func_iconv" = yes; then
36193
36194 cat >>confdefs.h <<\_ACEOF
36195 #define HAVE_ICONV 1
36196 _ACEOF
36197
36198 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36199 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36200 if test "${wx_cv_func_iconv_const+set}" = set; then
36201 echo $ECHO_N "(cached) $ECHO_C" >&6
36202 else
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209
36210 #include <stdlib.h>
36211 #include <iconv.h>
36212 extern
36213 #ifdef __cplusplus
36214 "C"
36215 #endif
36216 #if defined(__STDC__) || defined(__cplusplus)
36217 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36218 #else
36219 size_t iconv();
36220 #endif
36221
36222 int
36223 main ()
36224 {
36225
36226 ;
36227 return 0;
36228 }
36229 _ACEOF
36230 rm -f conftest.$ac_objext
36231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36232 (eval $ac_compile) 2>conftest.er1
36233 ac_status=$?
36234 grep -v '^ *+' conftest.er1 >conftest.err
36235 rm -f conftest.er1
36236 cat conftest.err >&5
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); } &&
36239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36242 ac_status=$?
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; } &&
36245 { ac_try='test -s conftest.$ac_objext'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36248 ac_status=$?
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; }; then
36251 wx_cv_func_iconv_const="no"
36252 else
36253 echo "$as_me: failed program was:" >&5
36254 sed 's/^/| /' conftest.$ac_ext >&5
36255
36256 wx_cv_func_iconv_const="yes"
36257
36258 fi
36259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36260
36261 fi
36262 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36263 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36264
36265 iconv_const=
36266 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36267 iconv_const="const"
36268 fi
36269
36270
36271 cat >>confdefs.h <<_ACEOF
36272 #define ICONV_CONST $iconv_const
36273 _ACEOF
36274
36275 fi
36276 LIBICONV=
36277 if test "$am_cv_lib_iconv" = yes; then
36278 LIBICONV="-liconv"
36279 fi
36280
36281
36282 LIBS="$LIBICONV $LIBS"
36283
36284 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36285
36286 for ac_func in sigaction
36287 do
36288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36289 echo "$as_me:$LINENO: checking for $ac_func" >&5
36290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36291 if eval "test \"\${$as_ac_var+set}\" = set"; then
36292 echo $ECHO_N "(cached) $ECHO_C" >&6
36293 else
36294 cat >conftest.$ac_ext <<_ACEOF
36295 /* confdefs.h. */
36296 _ACEOF
36297 cat confdefs.h >>conftest.$ac_ext
36298 cat >>conftest.$ac_ext <<_ACEOF
36299 /* end confdefs.h. */
36300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36302 #define $ac_func innocuous_$ac_func
36303
36304 /* System header to define __stub macros and hopefully few prototypes,
36305 which can conflict with char $ac_func (); below.
36306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36307 <limits.h> exists even on freestanding compilers. */
36308
36309 #ifdef __STDC__
36310 # include <limits.h>
36311 #else
36312 # include <assert.h>
36313 #endif
36314
36315 #undef $ac_func
36316
36317 /* Override any gcc2 internal prototype to avoid an error. */
36318 #ifdef __cplusplus
36319 extern "C"
36320 {
36321 #endif
36322 /* We use char because int might match the return type of a gcc2
36323 builtin and then its argument prototype would still apply. */
36324 char $ac_func ();
36325 /* The GNU C library defines this for functions which it implements
36326 to always fail with ENOSYS. Some functions are actually named
36327 something starting with __ and the normal name is an alias. */
36328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36329 choke me
36330 #else
36331 char (*f) () = $ac_func;
36332 #endif
36333 #ifdef __cplusplus
36334 }
36335 #endif
36336
36337 int
36338 main ()
36339 {
36340 return f != $ac_func;
36341 ;
36342 return 0;
36343 }
36344 _ACEOF
36345 rm -f conftest.$ac_objext conftest$ac_exeext
36346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36347 (eval $ac_link) 2>conftest.er1
36348 ac_status=$?
36349 grep -v '^ *+' conftest.er1 >conftest.err
36350 rm -f conftest.er1
36351 cat conftest.err >&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); } &&
36354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36357 ac_status=$?
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; } &&
36360 { ac_try='test -s conftest$ac_exeext'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36363 ac_status=$?
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; }; then
36366 eval "$as_ac_var=yes"
36367 else
36368 echo "$as_me: failed program was:" >&5
36369 sed 's/^/| /' conftest.$ac_ext >&5
36370
36371 eval "$as_ac_var=no"
36372 fi
36373 rm -f conftest.err conftest.$ac_objext \
36374 conftest$ac_exeext conftest.$ac_ext
36375 fi
36376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36378 if test `eval echo '${'$as_ac_var'}'` = yes; then
36379 cat >>confdefs.h <<_ACEOF
36380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36381 _ACEOF
36382
36383 fi
36384 done
36385
36386
36387 if test "$ac_cv_func_sigaction" = "no"; then
36388 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36389 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36390 wxUSE_ON_FATAL_EXCEPTION=no
36391 fi
36392
36393 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36394 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36395 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36396 if test "${wx_cv_type_sa_handler+set}" = set; then
36397 echo $ECHO_N "(cached) $ECHO_C" >&6
36398 else
36399
36400 ac_ext=cc
36401 ac_cpp='$CXXCPP $CPPFLAGS'
36402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36405
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412 #include <signal.h>
36413 int
36414 main ()
36415 {
36416
36417 extern void testSigHandler(int);
36418
36419 struct sigaction sa;
36420 sa.sa_handler = testSigHandler;
36421
36422 ;
36423 return 0;
36424 }
36425 _ACEOF
36426 rm -f conftest.$ac_objext
36427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36428 (eval $ac_compile) 2>conftest.er1
36429 ac_status=$?
36430 grep -v '^ *+' conftest.er1 >conftest.err
36431 rm -f conftest.er1
36432 cat conftest.err >&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } &&
36435 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36438 ac_status=$?
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; } &&
36441 { ac_try='test -s conftest.$ac_objext'
36442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36443 (eval $ac_try) 2>&5
36444 ac_status=$?
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); }; }; then
36447
36448 wx_cv_type_sa_handler=int
36449
36450 else
36451 echo "$as_me: failed program was:" >&5
36452 sed 's/^/| /' conftest.$ac_ext >&5
36453
36454
36455 wx_cv_type_sa_handler=void
36456
36457 fi
36458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36459 ac_ext=c
36460 ac_cpp='$CPP $CPPFLAGS'
36461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464
36465
36466 fi
36467 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36468 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36469
36470 cat >>confdefs.h <<_ACEOF
36471 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36472 _ACEOF
36473
36474 fi
36475 fi
36476
36477 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36478 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36479 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36480 if test "${wx_cv_func_backtrace+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 else
36483
36484 ac_ext=cc
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489
36490 cat >conftest.$ac_ext <<_ACEOF
36491 /* confdefs.h. */
36492 _ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 #include <execinfo.h>
36497 int
36498 main ()
36499 {
36500
36501 void *trace[1];
36502 char **messages;
36503
36504 backtrace(trace, 1);
36505 messages = backtrace_symbols(trace, 1);
36506
36507 ;
36508 return 0;
36509 }
36510 _ACEOF
36511 rm -f conftest.$ac_objext
36512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36513 (eval $ac_compile) 2>conftest.er1
36514 ac_status=$?
36515 grep -v '^ *+' conftest.er1 >conftest.err
36516 rm -f conftest.er1
36517 cat conftest.err >&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } &&
36520 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36522 (eval $ac_try) 2>&5
36523 ac_status=$?
36524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36525 (exit $ac_status); }; } &&
36526 { ac_try='test -s conftest.$ac_objext'
36527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36528 (eval $ac_try) 2>&5
36529 ac_status=$?
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); }; }; then
36532 wx_cv_func_backtrace=yes
36533 else
36534 echo "$as_me: failed program was:" >&5
36535 sed 's/^/| /' conftest.$ac_ext >&5
36536
36537 wx_cv_func_backtrace=no
36538
36539 fi
36540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36541 ac_ext=c
36542 ac_cpp='$CPP $CPPFLAGS'
36543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36546
36547
36548
36549 fi
36550 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36551 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36552
36553
36554 if test "$wx_cv_func_backtrace" = "no"; then
36555 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36556 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36557 wxUSE_STACKWALKER=no
36558 else
36559 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36560 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36561 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36562 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 else
36564
36565 ac_ext=cc
36566 ac_cpp='$CXXCPP $CPPFLAGS'
36567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36570
36571 cat >conftest.$ac_ext <<_ACEOF
36572 /* confdefs.h. */
36573 _ACEOF
36574 cat confdefs.h >>conftest.$ac_ext
36575 cat >>conftest.$ac_ext <<_ACEOF
36576 /* end confdefs.h. */
36577 #include <cxxabi.h>
36578 int
36579 main ()
36580 {
36581
36582 int rc;
36583 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36584
36585 ;
36586 return 0;
36587 }
36588 _ACEOF
36589 rm -f conftest.$ac_objext conftest$ac_exeext
36590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36591 (eval $ac_link) 2>conftest.er1
36592 ac_status=$?
36593 grep -v '^ *+' conftest.er1 >conftest.err
36594 rm -f conftest.er1
36595 cat conftest.err >&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } &&
36598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36601 ac_status=$?
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; } &&
36604 { ac_try='test -s conftest$ac_exeext'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36607 ac_status=$?
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; }; then
36610 wx_cv_func_cxa_demangle=yes
36611 else
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.$ac_ext >&5
36614
36615 wx_cv_func_cxa_demangle=no
36616
36617 fi
36618 rm -f conftest.err conftest.$ac_objext \
36619 conftest$ac_exeext conftest.$ac_ext
36620 ac_ext=c
36621 ac_cpp='$CPP $CPPFLAGS'
36622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36625
36626
36627
36628 fi
36629 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36630 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36631
36632 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36633 cat >>confdefs.h <<\_ACEOF
36634 #define HAVE_CXA_DEMANGLE 1
36635 _ACEOF
36636
36637 fi
36638 fi
36639 fi
36640
36641 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36642 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36643 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36644 wxUSE_STACKWALKER=no
36645 fi
36646
36647
36648
36649
36650 for ac_func in mkstemp mktemp
36651 do
36652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36653 echo "$as_me:$LINENO: checking for $ac_func" >&5
36654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36655 if eval "test \"\${$as_ac_var+set}\" = set"; then
36656 echo $ECHO_N "(cached) $ECHO_C" >&6
36657 else
36658 cat >conftest.$ac_ext <<_ACEOF
36659 /* confdefs.h. */
36660 _ACEOF
36661 cat confdefs.h >>conftest.$ac_ext
36662 cat >>conftest.$ac_ext <<_ACEOF
36663 /* end confdefs.h. */
36664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36666 #define $ac_func innocuous_$ac_func
36667
36668 /* System header to define __stub macros and hopefully few prototypes,
36669 which can conflict with char $ac_func (); below.
36670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36671 <limits.h> exists even on freestanding compilers. */
36672
36673 #ifdef __STDC__
36674 # include <limits.h>
36675 #else
36676 # include <assert.h>
36677 #endif
36678
36679 #undef $ac_func
36680
36681 /* Override any gcc2 internal prototype to avoid an error. */
36682 #ifdef __cplusplus
36683 extern "C"
36684 {
36685 #endif
36686 /* We use char because int might match the return type of a gcc2
36687 builtin and then its argument prototype would still apply. */
36688 char $ac_func ();
36689 /* The GNU C library defines this for functions which it implements
36690 to always fail with ENOSYS. Some functions are actually named
36691 something starting with __ and the normal name is an alias. */
36692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36693 choke me
36694 #else
36695 char (*f) () = $ac_func;
36696 #endif
36697 #ifdef __cplusplus
36698 }
36699 #endif
36700
36701 int
36702 main ()
36703 {
36704 return f != $ac_func;
36705 ;
36706 return 0;
36707 }
36708 _ACEOF
36709 rm -f conftest.$ac_objext conftest$ac_exeext
36710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36711 (eval $ac_link) 2>conftest.er1
36712 ac_status=$?
36713 grep -v '^ *+' conftest.er1 >conftest.err
36714 rm -f conftest.er1
36715 cat conftest.err >&5
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); } &&
36718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36721 ac_status=$?
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; } &&
36724 { ac_try='test -s conftest$ac_exeext'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36727 ac_status=$?
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; }; then
36730 eval "$as_ac_var=yes"
36731 else
36732 echo "$as_me: failed program was:" >&5
36733 sed 's/^/| /' conftest.$ac_ext >&5
36734
36735 eval "$as_ac_var=no"
36736 fi
36737 rm -f conftest.err conftest.$ac_objext \
36738 conftest$ac_exeext conftest.$ac_ext
36739 fi
36740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743 cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36745 _ACEOF
36746 break
36747 fi
36748 done
36749
36750
36751 echo "$as_me:$LINENO: checking for statfs" >&5
36752 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36753 if test "${wx_cv_func_statfs+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36755 else
36756 cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h. */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762
36763 #if defined(__BSD__)
36764 #include <sys/param.h>
36765 #include <sys/mount.h>
36766 #else
36767 #include <sys/vfs.h>
36768 #endif
36769
36770 int
36771 main ()
36772 {
36773
36774 long l;
36775 struct statfs fs;
36776 statfs("/", &fs);
36777 l = fs.f_bsize;
36778 l += fs.f_blocks;
36779 l += fs.f_bavail;
36780
36781 ;
36782 return 0;
36783 }
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36788 ac_status=$?
36789 grep -v '^ *+' conftest.er1 >conftest.err
36790 rm -f conftest.er1
36791 cat conftest.err >&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 wx_cv_func_statfs=yes
36807 else
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36810
36811 wx_cv_func_statfs=no
36812
36813 fi
36814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36815
36816 fi
36817 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36818 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36819
36820 if test "$wx_cv_func_statfs" = "yes"; then
36821 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36822 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36823 if test "${wx_cv_func_statfs_decl+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826 ac_ext=cc
36827 ac_cpp='$CXXCPP $CPPFLAGS'
36828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36831
36832 cat >conftest.$ac_ext <<_ACEOF
36833 /* confdefs.h. */
36834 _ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838
36839 #if defined(__BSD__)
36840 #include <sys/param.h>
36841 #include <sys/mount.h>
36842 #else
36843 #include <sys/vfs.h>
36844 #endif
36845
36846 int
36847 main ()
36848 {
36849
36850 struct statfs fs;
36851 statfs("", &fs);
36852
36853 ;
36854 return 0;
36855 }
36856 _ACEOF
36857 rm -f conftest.$ac_objext
36858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36859 (eval $ac_compile) 2>conftest.er1
36860 ac_status=$?
36861 grep -v '^ *+' conftest.er1 >conftest.err
36862 rm -f conftest.er1
36863 cat conftest.err >&5
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); } &&
36866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868 (eval $ac_try) 2>&5
36869 ac_status=$?
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); }; } &&
36872 { ac_try='test -s conftest.$ac_objext'
36873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36874 (eval $ac_try) 2>&5
36875 ac_status=$?
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); }; }; then
36878 wx_cv_func_statfs_decl=yes
36879 else
36880 echo "$as_me: failed program was:" >&5
36881 sed 's/^/| /' conftest.$ac_ext >&5
36882
36883 wx_cv_func_statfs_decl=no
36884
36885 fi
36886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893
36894 fi
36895 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36896 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36897
36898 if test "$wx_cv_func_statfs_decl" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_STATFS_DECL 1
36901 _ACEOF
36902
36903 fi
36904
36905 wx_cv_type_statvfs_t="struct statfs"
36906 cat >>confdefs.h <<\_ACEOF
36907 #define HAVE_STATFS 1
36908 _ACEOF
36909
36910 else
36911 echo "$as_me:$LINENO: checking for statvfs" >&5
36912 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36913 if test "${wx_cv_func_statvfs+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916 cat >conftest.$ac_ext <<_ACEOF
36917 /* confdefs.h. */
36918 _ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36922
36923 #include <stddef.h>
36924 #include <sys/statvfs.h>
36925
36926 int
36927 main ()
36928 {
36929
36930 statvfs("/", NULL);
36931
36932 ;
36933 return 0;
36934 }
36935 _ACEOF
36936 rm -f conftest.$ac_objext
36937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36938 (eval $ac_compile) 2>conftest.er1
36939 ac_status=$?
36940 grep -v '^ *+' conftest.er1 >conftest.err
36941 rm -f conftest.er1
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } &&
36945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36947 (eval $ac_try) 2>&5
36948 ac_status=$?
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); }; } &&
36951 { ac_try='test -s conftest.$ac_objext'
36952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953 (eval $ac_try) 2>&5
36954 ac_status=$?
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); }; }; then
36957 wx_cv_func_statvfs=yes
36958 else
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.$ac_ext >&5
36961
36962 wx_cv_func_statvfs=no
36963
36964 fi
36965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36966
36967 fi
36968 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36969 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36970
36971 if test "$wx_cv_func_statvfs" = "yes"; then
36972 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36973 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36974 if test "${wx_cv_type_statvfs_t+set}" = set; then
36975 echo $ECHO_N "(cached) $ECHO_C" >&6
36976 else
36977 ac_ext=cc
36978 ac_cpp='$CXXCPP $CPPFLAGS'
36979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36982
36983 cat >conftest.$ac_ext <<_ACEOF
36984 /* confdefs.h. */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989
36990 #include <sys/statvfs.h>
36991
36992 int
36993 main ()
36994 {
36995
36996 long l;
36997 statvfs_t fs;
36998 statvfs("/", &fs);
36999 l = fs.f_bsize;
37000 l += fs.f_blocks;
37001 l += fs.f_bavail;
37002
37003 ;
37004 return 0;
37005 }
37006 _ACEOF
37007 rm -f conftest.$ac_objext
37008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37009 (eval $ac_compile) 2>conftest.er1
37010 ac_status=$?
37011 grep -v '^ *+' conftest.er1 >conftest.err
37012 rm -f conftest.er1
37013 cat conftest.err >&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); } &&
37016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37019 ac_status=$?
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; } &&
37022 { ac_try='test -s conftest.$ac_objext'
37023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 (eval $ac_try) 2>&5
37025 ac_status=$?
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); }; }; then
37028 wx_cv_type_statvfs_t=statvfs_t
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033
37034 cat >conftest.$ac_ext <<_ACEOF
37035 /* confdefs.h. */
37036 _ACEOF
37037 cat confdefs.h >>conftest.$ac_ext
37038 cat >>conftest.$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040
37041 #include <sys/statvfs.h>
37042
37043 int
37044 main ()
37045 {
37046
37047 long l;
37048 struct statvfs fs;
37049 statvfs("/", &fs);
37050 l = fs.f_bsize;
37051 l += fs.f_blocks;
37052 l += fs.f_bavail;
37053
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37060 (eval $ac_compile) 2>conftest.er1
37061 ac_status=$?
37062 grep -v '^ *+' conftest.er1 >conftest.err
37063 rm -f conftest.er1
37064 cat conftest.err >&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); } &&
37067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069 (eval $ac_try) 2>&5
37070 ac_status=$?
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; } &&
37073 { ac_try='test -s conftest.$ac_objext'
37074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37075 (eval $ac_try) 2>&5
37076 ac_status=$?
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); }; }; then
37079 wx_cv_type_statvfs_t="struct statvfs"
37080 else
37081 echo "$as_me: failed program was:" >&5
37082 sed 's/^/| /' conftest.$ac_ext >&5
37083
37084 wx_cv_type_statvfs_t="unknown"
37085
37086 fi
37087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37088
37089
37090 fi
37091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37092 ac_ext=c
37093 ac_cpp='$CPP $CPPFLAGS'
37094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37097
37098
37099 fi
37100 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37101 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37102
37103 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define HAVE_STATVFS 1
37106 _ACEOF
37107
37108 fi
37109 else
37110 wx_cv_type_statvfs_t="unknown"
37111 fi
37112 fi
37113
37114 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37115 cat >>confdefs.h <<_ACEOF
37116 #define WX_STATFS_T $wx_cv_type_statvfs_t
37117 _ACEOF
37118
37119 else
37120 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37121 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37122 fi
37123
37124 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37125
37126
37127 for ac_func in fcntl flock
37128 do
37129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37130 echo "$as_me:$LINENO: checking for $ac_func" >&5
37131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37132 if eval "test \"\${$as_ac_var+set}\" = set"; then
37133 echo $ECHO_N "(cached) $ECHO_C" >&6
37134 else
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37143 #define $ac_func innocuous_$ac_func
37144
37145 /* System header to define __stub macros and hopefully few prototypes,
37146 which can conflict with char $ac_func (); below.
37147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37148 <limits.h> exists even on freestanding compilers. */
37149
37150 #ifdef __STDC__
37151 # include <limits.h>
37152 #else
37153 # include <assert.h>
37154 #endif
37155
37156 #undef $ac_func
37157
37158 /* Override any gcc2 internal prototype to avoid an error. */
37159 #ifdef __cplusplus
37160 extern "C"
37161 {
37162 #endif
37163 /* We use char because int might match the return type of a gcc2
37164 builtin and then its argument prototype would still apply. */
37165 char $ac_func ();
37166 /* The GNU C library defines this for functions which it implements
37167 to always fail with ENOSYS. Some functions are actually named
37168 something starting with __ and the normal name is an alias. */
37169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37170 choke me
37171 #else
37172 char (*f) () = $ac_func;
37173 #endif
37174 #ifdef __cplusplus
37175 }
37176 #endif
37177
37178 int
37179 main ()
37180 {
37181 return f != $ac_func;
37182 ;
37183 return 0;
37184 }
37185 _ACEOF
37186 rm -f conftest.$ac_objext conftest$ac_exeext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37188 (eval $ac_link) 2>conftest.er1
37189 ac_status=$?
37190 grep -v '^ *+' conftest.er1 >conftest.err
37191 rm -f conftest.er1
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37198 ac_status=$?
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37204 ac_status=$?
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval "$as_ac_var=yes"
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 eval "$as_ac_var=no"
37213 fi
37214 rm -f conftest.err conftest.$ac_objext \
37215 conftest$ac_exeext conftest.$ac_ext
37216 fi
37217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37219 if test `eval echo '${'$as_ac_var'}'` = yes; then
37220 cat >>confdefs.h <<_ACEOF
37221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37222 _ACEOF
37223 break
37224 fi
37225 done
37226
37227
37228 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37229 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37230 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37231 wxUSE_SNGLINST_CHECKER=no
37232 fi
37233 fi
37234
37235
37236 for ac_func in timegm
37237 do
37238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37239 echo "$as_me:$LINENO: checking for $ac_func" >&5
37240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37241 if eval "test \"\${$as_ac_var+set}\" = set"; then
37242 echo $ECHO_N "(cached) $ECHO_C" >&6
37243 else
37244 cat >conftest.$ac_ext <<_ACEOF
37245 /* confdefs.h. */
37246 _ACEOF
37247 cat confdefs.h >>conftest.$ac_ext
37248 cat >>conftest.$ac_ext <<_ACEOF
37249 /* end confdefs.h. */
37250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37252 #define $ac_func innocuous_$ac_func
37253
37254 /* System header to define __stub macros and hopefully few prototypes,
37255 which can conflict with char $ac_func (); below.
37256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37257 <limits.h> exists even on freestanding compilers. */
37258
37259 #ifdef __STDC__
37260 # include <limits.h>
37261 #else
37262 # include <assert.h>
37263 #endif
37264
37265 #undef $ac_func
37266
37267 /* Override any gcc2 internal prototype to avoid an error. */
37268 #ifdef __cplusplus
37269 extern "C"
37270 {
37271 #endif
37272 /* We use char because int might match the return type of a gcc2
37273 builtin and then its argument prototype would still apply. */
37274 char $ac_func ();
37275 /* The GNU C library defines this for functions which it implements
37276 to always fail with ENOSYS. Some functions are actually named
37277 something starting with __ and the normal name is an alias. */
37278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37279 choke me
37280 #else
37281 char (*f) () = $ac_func;
37282 #endif
37283 #ifdef __cplusplus
37284 }
37285 #endif
37286
37287 int
37288 main ()
37289 {
37290 return f != $ac_func;
37291 ;
37292 return 0;
37293 }
37294 _ACEOF
37295 rm -f conftest.$ac_objext conftest$ac_exeext
37296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37297 (eval $ac_link) 2>conftest.er1
37298 ac_status=$?
37299 grep -v '^ *+' conftest.er1 >conftest.err
37300 rm -f conftest.er1
37301 cat conftest.err >&5
37302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 (exit $ac_status); } &&
37304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37306 (eval $ac_try) 2>&5
37307 ac_status=$?
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); }; } &&
37310 { ac_try='test -s conftest$ac_exeext'
37311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312 (eval $ac_try) 2>&5
37313 ac_status=$?
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); }; }; then
37316 eval "$as_ac_var=yes"
37317 else
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.$ac_ext >&5
37320
37321 eval "$as_ac_var=no"
37322 fi
37323 rm -f conftest.err conftest.$ac_objext \
37324 conftest$ac_exeext conftest.$ac_ext
37325 fi
37326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37328 if test `eval echo '${'$as_ac_var'}'` = yes; then
37329 cat >>confdefs.h <<_ACEOF
37330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37331 _ACEOF
37332
37333 fi
37334 done
37335
37336
37337
37338
37339 for ac_func in putenv setenv
37340 do
37341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37342 echo "$as_me:$LINENO: checking for $ac_func" >&5
37343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37344 if eval "test \"\${$as_ac_var+set}\" = set"; then
37345 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 else
37347 cat >conftest.$ac_ext <<_ACEOF
37348 /* confdefs.h. */
37349 _ACEOF
37350 cat confdefs.h >>conftest.$ac_ext
37351 cat >>conftest.$ac_ext <<_ACEOF
37352 /* end confdefs.h. */
37353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37355 #define $ac_func innocuous_$ac_func
37356
37357 /* System header to define __stub macros and hopefully few prototypes,
37358 which can conflict with char $ac_func (); below.
37359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37360 <limits.h> exists even on freestanding compilers. */
37361
37362 #ifdef __STDC__
37363 # include <limits.h>
37364 #else
37365 # include <assert.h>
37366 #endif
37367
37368 #undef $ac_func
37369
37370 /* Override any gcc2 internal prototype to avoid an error. */
37371 #ifdef __cplusplus
37372 extern "C"
37373 {
37374 #endif
37375 /* We use char because int might match the return type of a gcc2
37376 builtin and then its argument prototype would still apply. */
37377 char $ac_func ();
37378 /* The GNU C library defines this for functions which it implements
37379 to always fail with ENOSYS. Some functions are actually named
37380 something starting with __ and the normal name is an alias. */
37381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37382 choke me
37383 #else
37384 char (*f) () = $ac_func;
37385 #endif
37386 #ifdef __cplusplus
37387 }
37388 #endif
37389
37390 int
37391 main ()
37392 {
37393 return f != $ac_func;
37394 ;
37395 return 0;
37396 }
37397 _ACEOF
37398 rm -f conftest.$ac_objext conftest$ac_exeext
37399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37400 (eval $ac_link) 2>conftest.er1
37401 ac_status=$?
37402 grep -v '^ *+' conftest.er1 >conftest.err
37403 rm -f conftest.er1
37404 cat conftest.err >&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); } &&
37407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37409 (eval $ac_try) 2>&5
37410 ac_status=$?
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); }; } &&
37413 { ac_try='test -s conftest$ac_exeext'
37414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37415 (eval $ac_try) 2>&5
37416 ac_status=$?
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); }; }; then
37419 eval "$as_ac_var=yes"
37420 else
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.$ac_ext >&5
37423
37424 eval "$as_ac_var=no"
37425 fi
37426 rm -f conftest.err conftest.$ac_objext \
37427 conftest$ac_exeext conftest.$ac_ext
37428 fi
37429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37431 if test `eval echo '${'$as_ac_var'}'` = yes; then
37432 cat >>confdefs.h <<_ACEOF
37433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 _ACEOF
37435 break
37436 fi
37437 done
37438
37439
37440 HAVE_SOME_SLEEP_FUNC=0
37441 if test "$USE_BEOS" = 1; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define HAVE_SLEEP 1
37444 _ACEOF
37445
37446 HAVE_SOME_SLEEP_FUNC=1
37447 fi
37448
37449 if test "$USE_DARWIN" = 1; then
37450 cat >>confdefs.h <<\_ACEOF
37451 #define HAVE_USLEEP 1
37452 _ACEOF
37453
37454 HAVE_SOME_SLEEP_FUNC=1
37455 fi
37456
37457 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37458 POSIX4_LINK=
37459
37460 for ac_func in nanosleep
37461 do
37462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37463 echo "$as_me:$LINENO: checking for $ac_func" >&5
37464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37465 if eval "test \"\${$as_ac_var+set}\" = set"; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37467 else
37468 cat >conftest.$ac_ext <<_ACEOF
37469 /* confdefs.h. */
37470 _ACEOF
37471 cat confdefs.h >>conftest.$ac_ext
37472 cat >>conftest.$ac_ext <<_ACEOF
37473 /* end confdefs.h. */
37474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37476 #define $ac_func innocuous_$ac_func
37477
37478 /* System header to define __stub macros and hopefully few prototypes,
37479 which can conflict with char $ac_func (); below.
37480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37481 <limits.h> exists even on freestanding compilers. */
37482
37483 #ifdef __STDC__
37484 # include <limits.h>
37485 #else
37486 # include <assert.h>
37487 #endif
37488
37489 #undef $ac_func
37490
37491 /* Override any gcc2 internal prototype to avoid an error. */
37492 #ifdef __cplusplus
37493 extern "C"
37494 {
37495 #endif
37496 /* We use char because int might match the return type of a gcc2
37497 builtin and then its argument prototype would still apply. */
37498 char $ac_func ();
37499 /* The GNU C library defines this for functions which it implements
37500 to always fail with ENOSYS. Some functions are actually named
37501 something starting with __ and the normal name is an alias. */
37502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37503 choke me
37504 #else
37505 char (*f) () = $ac_func;
37506 #endif
37507 #ifdef __cplusplus
37508 }
37509 #endif
37510
37511 int
37512 main ()
37513 {
37514 return f != $ac_func;
37515 ;
37516 return 0;
37517 }
37518 _ACEOF
37519 rm -f conftest.$ac_objext conftest$ac_exeext
37520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37521 (eval $ac_link) 2>conftest.er1
37522 ac_status=$?
37523 grep -v '^ *+' conftest.er1 >conftest.err
37524 rm -f conftest.er1
37525 cat conftest.err >&5
37526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37527 (exit $ac_status); } &&
37528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37530 (eval $ac_try) 2>&5
37531 ac_status=$?
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); }; } &&
37534 { ac_try='test -s conftest$ac_exeext'
37535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37536 (eval $ac_try) 2>&5
37537 ac_status=$?
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); }; }; then
37540 eval "$as_ac_var=yes"
37541 else
37542 echo "$as_me: failed program was:" >&5
37543 sed 's/^/| /' conftest.$ac_ext >&5
37544
37545 eval "$as_ac_var=no"
37546 fi
37547 rm -f conftest.err conftest.$ac_objext \
37548 conftest$ac_exeext conftest.$ac_ext
37549 fi
37550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37552 if test `eval echo '${'$as_ac_var'}'` = yes; then
37553 cat >>confdefs.h <<_ACEOF
37554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37555 _ACEOF
37556 cat >>confdefs.h <<\_ACEOF
37557 #define HAVE_NANOSLEEP 1
37558 _ACEOF
37559
37560 else
37561
37562 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37563 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37564 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37565 echo $ECHO_N "(cached) $ECHO_C" >&6
37566 else
37567 ac_check_lib_save_LIBS=$LIBS
37568 LIBS="-lposix4 $LIBS"
37569 cat >conftest.$ac_ext <<_ACEOF
37570 /* confdefs.h. */
37571 _ACEOF
37572 cat confdefs.h >>conftest.$ac_ext
37573 cat >>conftest.$ac_ext <<_ACEOF
37574 /* end confdefs.h. */
37575
37576 /* Override any gcc2 internal prototype to avoid an error. */
37577 #ifdef __cplusplus
37578 extern "C"
37579 #endif
37580 /* We use char because int might match the return type of a gcc2
37581 builtin and then its argument prototype would still apply. */
37582 char nanosleep ();
37583 int
37584 main ()
37585 {
37586 nanosleep ();
37587 ;
37588 return 0;
37589 }
37590 _ACEOF
37591 rm -f conftest.$ac_objext conftest$ac_exeext
37592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37593 (eval $ac_link) 2>conftest.er1
37594 ac_status=$?
37595 grep -v '^ *+' conftest.er1 >conftest.err
37596 rm -f conftest.er1
37597 cat conftest.err >&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } &&
37600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37603 ac_status=$?
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; } &&
37606 { ac_try='test -s conftest$ac_exeext'
37607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37608 (eval $ac_try) 2>&5
37609 ac_status=$?
37610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611 (exit $ac_status); }; }; then
37612 ac_cv_lib_posix4_nanosleep=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 ac_cv_lib_posix4_nanosleep=no
37618 fi
37619 rm -f conftest.err conftest.$ac_objext \
37620 conftest$ac_exeext conftest.$ac_ext
37621 LIBS=$ac_check_lib_save_LIBS
37622 fi
37623 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37624 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37625 if test $ac_cv_lib_posix4_nanosleep = yes; then
37626
37627 cat >>confdefs.h <<\_ACEOF
37628 #define HAVE_NANOSLEEP 1
37629 _ACEOF
37630
37631 POSIX4_LINK=" -lposix4"
37632
37633 else
37634
37635
37636 for wx_func in usleep
37637 do
37638 echo "$as_me:$LINENO: checking for $wx_func" >&5
37639 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37640 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37641 echo $ECHO_N "(cached) $ECHO_C" >&6
37642 else
37643
37644 cat >conftest.$ac_ext <<_ACEOF
37645
37646 /* confdefs.h. */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651
37652
37653 $ac_includes_default
37654
37655 int
37656 main ()
37657 {
37658
37659 #ifndef $wx_func
37660 &$wx_func;
37661 #endif
37662
37663
37664 ;
37665 return 0;
37666 }
37667
37668 _ACEOF
37669 rm -f conftest.$ac_objext conftest$ac_exeext
37670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37671 (eval $ac_link) 2>conftest.er1
37672 ac_status=$?
37673 grep -v '^ *+' conftest.er1 >conftest.err
37674 rm -f conftest.er1
37675 cat conftest.err >&5
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); } &&
37678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37680 (eval $ac_try) 2>&5
37681 ac_status=$?
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); }; } &&
37684 { ac_try='test -s conftest$ac_exeext'
37685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37686 (eval $ac_try) 2>&5
37687 ac_status=$?
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); }; }; then
37690 eval wx_cv_func_$wx_func=yes
37691 else
37692 echo "$as_me: failed program was:" >&5
37693 sed 's/^/| /' conftest.$ac_ext >&5
37694
37695 eval wx_cv_func_$wx_func=no
37696 fi
37697 rm -f conftest.err conftest.$ac_objext \
37698 conftest$ac_exeext conftest.$ac_ext
37699
37700 fi
37701 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37702 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37703
37704 if eval test \$wx_cv_func_$wx_func = yes
37705 then
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37708 _ACEOF
37709
37710
37711 else
37712 :
37713 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37714 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37715
37716 fi
37717 done
37718
37719
37720
37721 fi
37722
37723
37724
37725 fi
37726 done
37727
37728 fi
37729
37730
37731 for wx_func in uname
37732 do
37733 echo "$as_me:$LINENO: checking for $wx_func" >&5
37734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37735 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738
37739 cat >conftest.$ac_ext <<_ACEOF
37740
37741 /* confdefs.h. */
37742 _ACEOF
37743 cat confdefs.h >>conftest.$ac_ext
37744 cat >>conftest.$ac_ext <<_ACEOF
37745 /* end confdefs.h. */
37746
37747 #include <sys/utsname.h>
37748 $ac_includes_default
37749
37750 int
37751 main ()
37752 {
37753
37754 #ifndef $wx_func
37755 &$wx_func;
37756 #endif
37757
37758
37759 ;
37760 return 0;
37761 }
37762
37763 _ACEOF
37764 rm -f conftest.$ac_objext conftest$ac_exeext
37765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37766 (eval $ac_link) 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } &&
37773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775 (eval $ac_try) 2>&5
37776 ac_status=$?
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); }; } &&
37779 { ac_try='test -s conftest$ac_exeext'
37780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781 (eval $ac_try) 2>&5
37782 ac_status=$?
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); }; }; then
37785 eval wx_cv_func_$wx_func=yes
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790 eval wx_cv_func_$wx_func=no
37791 fi
37792 rm -f conftest.err conftest.$ac_objext \
37793 conftest$ac_exeext conftest.$ac_ext
37794
37795 fi
37796 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37797 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37798
37799 if eval test \$wx_cv_func_$wx_func = yes
37800 then
37801 cat >>confdefs.h <<_ACEOF
37802 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37803 _ACEOF
37804
37805
37806 else
37807 :
37808
37809 fi
37810 done
37811
37812 if test "$wx_cv_func_uname" != yes; then
37813
37814 for wx_func in gethostname
37815 do
37816 echo "$as_me:$LINENO: checking for $wx_func" >&5
37817 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37818 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37820 else
37821
37822 cat >conftest.$ac_ext <<_ACEOF
37823
37824 /* confdefs.h. */
37825 _ACEOF
37826 cat confdefs.h >>conftest.$ac_ext
37827 cat >>conftest.$ac_ext <<_ACEOF
37828 /* end confdefs.h. */
37829
37830
37831 $ac_includes_default
37832
37833 int
37834 main ()
37835 {
37836
37837 #ifndef $wx_func
37838 &$wx_func;
37839 #endif
37840
37841
37842 ;
37843 return 0;
37844 }
37845
37846 _ACEOF
37847 rm -f conftest.$ac_objext conftest$ac_exeext
37848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37849 (eval $ac_link) 2>conftest.er1
37850 ac_status=$?
37851 grep -v '^ *+' conftest.er1 >conftest.err
37852 rm -f conftest.er1
37853 cat conftest.err >&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); } &&
37856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; } &&
37862 { ac_try='test -s conftest$ac_exeext'
37863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37864 (eval $ac_try) 2>&5
37865 ac_status=$?
37866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37867 (exit $ac_status); }; }; then
37868 eval wx_cv_func_$wx_func=yes
37869 else
37870 echo "$as_me: failed program was:" >&5
37871 sed 's/^/| /' conftest.$ac_ext >&5
37872
37873 eval wx_cv_func_$wx_func=no
37874 fi
37875 rm -f conftest.err conftest.$ac_objext \
37876 conftest$ac_exeext conftest.$ac_ext
37877
37878 fi
37879 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37880 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37881
37882 if eval test \$wx_cv_func_$wx_func = yes
37883 then
37884 cat >>confdefs.h <<_ACEOF
37885 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37886 _ACEOF
37887
37888
37889 else
37890 :
37891
37892 fi
37893 done
37894
37895 fi
37896
37897
37898 for wx_func in strtok_r
37899 do
37900 echo "$as_me:$LINENO: checking for $wx_func" >&5
37901 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37902 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 else
37905
37906 cat >conftest.$ac_ext <<_ACEOF
37907
37908 /* confdefs.h. */
37909 _ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37913
37914 #define _REENTRANT
37915 $ac_includes_default
37916
37917 int
37918 main ()
37919 {
37920
37921 #ifndef $wx_func
37922 &$wx_func;
37923 #endif
37924
37925
37926 ;
37927 return 0;
37928 }
37929
37930 _ACEOF
37931 rm -f conftest.$ac_objext conftest$ac_exeext
37932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37933 (eval $ac_link) 2>conftest.er1
37934 ac_status=$?
37935 grep -v '^ *+' conftest.er1 >conftest.err
37936 rm -f conftest.er1
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } &&
37940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; } &&
37946 { ac_try='test -s conftest$ac_exeext'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37949 ac_status=$?
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; }; then
37952 eval wx_cv_func_$wx_func=yes
37953 else
37954 echo "$as_me: failed program was:" >&5
37955 sed 's/^/| /' conftest.$ac_ext >&5
37956
37957 eval wx_cv_func_$wx_func=no
37958 fi
37959 rm -f conftest.err conftest.$ac_objext \
37960 conftest$ac_exeext conftest.$ac_ext
37961
37962 fi
37963 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37964 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37965
37966 if eval test \$wx_cv_func_$wx_func = yes
37967 then
37968 cat >>confdefs.h <<_ACEOF
37969 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37970 _ACEOF
37971
37972
37973 else
37974 :
37975
37976 fi
37977 done
37978
37979
37980 INET_LINK=
37981
37982 for ac_func in inet_addr
37983 do
37984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37985 echo "$as_me:$LINENO: checking for $ac_func" >&5
37986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37987 if eval "test \"\${$as_ac_var+set}\" = set"; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990 cat >conftest.$ac_ext <<_ACEOF
37991 /* confdefs.h. */
37992 _ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37998 #define $ac_func innocuous_$ac_func
37999
38000 /* System header to define __stub macros and hopefully few prototypes,
38001 which can conflict with char $ac_func (); below.
38002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38003 <limits.h> exists even on freestanding compilers. */
38004
38005 #ifdef __STDC__
38006 # include <limits.h>
38007 #else
38008 # include <assert.h>
38009 #endif
38010
38011 #undef $ac_func
38012
38013 /* Override any gcc2 internal prototype to avoid an error. */
38014 #ifdef __cplusplus
38015 extern "C"
38016 {
38017 #endif
38018 /* We use char because int might match the return type of a gcc2
38019 builtin and then its argument prototype would still apply. */
38020 char $ac_func ();
38021 /* The GNU C library defines this for functions which it implements
38022 to always fail with ENOSYS. Some functions are actually named
38023 something starting with __ and the normal name is an alias. */
38024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38025 choke me
38026 #else
38027 char (*f) () = $ac_func;
38028 #endif
38029 #ifdef __cplusplus
38030 }
38031 #endif
38032
38033 int
38034 main ()
38035 {
38036 return f != $ac_func;
38037 ;
38038 return 0;
38039 }
38040 _ACEOF
38041 rm -f conftest.$ac_objext conftest$ac_exeext
38042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38043 (eval $ac_link) 2>conftest.er1
38044 ac_status=$?
38045 grep -v '^ *+' conftest.er1 >conftest.err
38046 rm -f conftest.er1
38047 cat conftest.err >&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); } &&
38050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38053 ac_status=$?
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; } &&
38056 { ac_try='test -s conftest$ac_exeext'
38057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38058 (eval $ac_try) 2>&5
38059 ac_status=$?
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; }; then
38062 eval "$as_ac_var=yes"
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 eval "$as_ac_var=no"
38068 fi
38069 rm -f conftest.err conftest.$ac_objext \
38070 conftest$ac_exeext conftest.$ac_ext
38071 fi
38072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38074 if test `eval echo '${'$as_ac_var'}'` = yes; then
38075 cat >>confdefs.h <<_ACEOF
38076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38077 _ACEOF
38078 cat >>confdefs.h <<\_ACEOF
38079 #define HAVE_INET_ADDR 1
38080 _ACEOF
38081
38082 else
38083
38084 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38085 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38086 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 else
38089 ac_check_lib_save_LIBS=$LIBS
38090 LIBS="-lnsl $LIBS"
38091 cat >conftest.$ac_ext <<_ACEOF
38092 /* confdefs.h. */
38093 _ACEOF
38094 cat confdefs.h >>conftest.$ac_ext
38095 cat >>conftest.$ac_ext <<_ACEOF
38096 /* end confdefs.h. */
38097
38098 /* Override any gcc2 internal prototype to avoid an error. */
38099 #ifdef __cplusplus
38100 extern "C"
38101 #endif
38102 /* We use char because int might match the return type of a gcc2
38103 builtin and then its argument prototype would still apply. */
38104 char inet_addr ();
38105 int
38106 main ()
38107 {
38108 inet_addr ();
38109 ;
38110 return 0;
38111 }
38112 _ACEOF
38113 rm -f conftest.$ac_objext conftest$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115 (eval $ac_link) 2>conftest.er1
38116 ac_status=$?
38117 grep -v '^ *+' conftest.er1 >conftest.err
38118 rm -f conftest.er1
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } &&
38122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38125 ac_status=$?
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; } &&
38128 { ac_try='test -s conftest$ac_exeext'
38129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38130 (eval $ac_try) 2>&5
38131 ac_status=$?
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); }; }; then
38134 ac_cv_lib_nsl_inet_addr=yes
38135 else
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.$ac_ext >&5
38138
38139 ac_cv_lib_nsl_inet_addr=no
38140 fi
38141 rm -f conftest.err conftest.$ac_objext \
38142 conftest$ac_exeext conftest.$ac_ext
38143 LIBS=$ac_check_lib_save_LIBS
38144 fi
38145 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38146 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38147 if test $ac_cv_lib_nsl_inet_addr = yes; then
38148 INET_LINK="nsl"
38149 else
38150
38151 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38152 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38153 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38154 echo $ECHO_N "(cached) $ECHO_C" >&6
38155 else
38156 ac_check_lib_save_LIBS=$LIBS
38157 LIBS="-lresolv $LIBS"
38158 cat >conftest.$ac_ext <<_ACEOF
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164
38165 /* Override any gcc2 internal prototype to avoid an error. */
38166 #ifdef __cplusplus
38167 extern "C"
38168 #endif
38169 /* We use char because int might match the return type of a gcc2
38170 builtin and then its argument prototype would still apply. */
38171 char inet_addr ();
38172 int
38173 main ()
38174 {
38175 inet_addr ();
38176 ;
38177 return 0;
38178 }
38179 _ACEOF
38180 rm -f conftest.$ac_objext conftest$ac_exeext
38181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38182 (eval $ac_link) 2>conftest.er1
38183 ac_status=$?
38184 grep -v '^ *+' conftest.er1 >conftest.err
38185 rm -f conftest.er1
38186 cat conftest.err >&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } &&
38189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38191 (eval $ac_try) 2>&5
38192 ac_status=$?
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); }; } &&
38195 { ac_try='test -s conftest$ac_exeext'
38196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38197 (eval $ac_try) 2>&5
38198 ac_status=$?
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); }; }; then
38201 ac_cv_lib_resolv_inet_addr=yes
38202 else
38203 echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.$ac_ext >&5
38205
38206 ac_cv_lib_resolv_inet_addr=no
38207 fi
38208 rm -f conftest.err conftest.$ac_objext \
38209 conftest$ac_exeext conftest.$ac_ext
38210 LIBS=$ac_check_lib_save_LIBS
38211 fi
38212 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38213 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38214 if test $ac_cv_lib_resolv_inet_addr = yes; then
38215 INET_LINK="resolv"
38216 else
38217
38218 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38219 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38220 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38221 echo $ECHO_N "(cached) $ECHO_C" >&6
38222 else
38223 ac_check_lib_save_LIBS=$LIBS
38224 LIBS="-lsocket $LIBS"
38225 cat >conftest.$ac_ext <<_ACEOF
38226 /* confdefs.h. */
38227 _ACEOF
38228 cat confdefs.h >>conftest.$ac_ext
38229 cat >>conftest.$ac_ext <<_ACEOF
38230 /* end confdefs.h. */
38231
38232 /* Override any gcc2 internal prototype to avoid an error. */
38233 #ifdef __cplusplus
38234 extern "C"
38235 #endif
38236 /* We use char because int might match the return type of a gcc2
38237 builtin and then its argument prototype would still apply. */
38238 char inet_addr ();
38239 int
38240 main ()
38241 {
38242 inet_addr ();
38243 ;
38244 return 0;
38245 }
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38259 ac_status=$?
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; } &&
38262 { ac_try='test -s conftest$ac_exeext'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38265 ac_status=$?
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; }; then
38268 ac_cv_lib_socket_inet_addr=yes
38269 else
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.$ac_ext >&5
38272
38273 ac_cv_lib_socket_inet_addr=no
38274 fi
38275 rm -f conftest.err conftest.$ac_objext \
38276 conftest$ac_exeext conftest.$ac_ext
38277 LIBS=$ac_check_lib_save_LIBS
38278 fi
38279 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38280 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38281 if test $ac_cv_lib_socket_inet_addr = yes; then
38282 INET_LINK="socket"
38283
38284 fi
38285
38286
38287
38288 fi
38289
38290
38291
38292 fi
38293
38294
38295
38296 fi
38297 done
38298
38299
38300
38301 for ac_func in inet_aton
38302 do
38303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38304 echo "$as_me:$LINENO: checking for $ac_func" >&5
38305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38306 if eval "test \"\${$as_ac_var+set}\" = set"; then
38307 echo $ECHO_N "(cached) $ECHO_C" >&6
38308 else
38309 cat >conftest.$ac_ext <<_ACEOF
38310 /* confdefs.h. */
38311 _ACEOF
38312 cat confdefs.h >>conftest.$ac_ext
38313 cat >>conftest.$ac_ext <<_ACEOF
38314 /* end confdefs.h. */
38315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38317 #define $ac_func innocuous_$ac_func
38318
38319 /* System header to define __stub macros and hopefully few prototypes,
38320 which can conflict with char $ac_func (); below.
38321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38322 <limits.h> exists even on freestanding compilers. */
38323
38324 #ifdef __STDC__
38325 # include <limits.h>
38326 #else
38327 # include <assert.h>
38328 #endif
38329
38330 #undef $ac_func
38331
38332 /* Override any gcc2 internal prototype to avoid an error. */
38333 #ifdef __cplusplus
38334 extern "C"
38335 {
38336 #endif
38337 /* We use char because int might match the return type of a gcc2
38338 builtin and then its argument prototype would still apply. */
38339 char $ac_func ();
38340 /* The GNU C library defines this for functions which it implements
38341 to always fail with ENOSYS. Some functions are actually named
38342 something starting with __ and the normal name is an alias. */
38343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38344 choke me
38345 #else
38346 char (*f) () = $ac_func;
38347 #endif
38348 #ifdef __cplusplus
38349 }
38350 #endif
38351
38352 int
38353 main ()
38354 {
38355 return f != $ac_func;
38356 ;
38357 return 0;
38358 }
38359 _ACEOF
38360 rm -f conftest.$ac_objext conftest$ac_exeext
38361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38362 (eval $ac_link) 2>conftest.er1
38363 ac_status=$?
38364 grep -v '^ *+' conftest.er1 >conftest.err
38365 rm -f conftest.er1
38366 cat conftest.err >&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } &&
38369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38372 ac_status=$?
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; } &&
38375 { ac_try='test -s conftest$ac_exeext'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38378 ac_status=$?
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; }; then
38381 eval "$as_ac_var=yes"
38382 else
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38385
38386 eval "$as_ac_var=no"
38387 fi
38388 rm -f conftest.err conftest.$ac_objext \
38389 conftest$ac_exeext conftest.$ac_ext
38390 fi
38391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38393 if test `eval echo '${'$as_ac_var'}'` = yes; then
38394 cat >>confdefs.h <<_ACEOF
38395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38396 _ACEOF
38397 cat >>confdefs.h <<\_ACEOF
38398 #define HAVE_INET_ATON 1
38399 _ACEOF
38400
38401 else
38402
38403 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38404 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38405 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38406 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38407 echo $ECHO_N "(cached) $ECHO_C" >&6
38408 else
38409 ac_check_lib_save_LIBS=$LIBS
38410 LIBS="-l$INET_LINK $LIBS"
38411 cat >conftest.$ac_ext <<_ACEOF
38412 /* confdefs.h. */
38413 _ACEOF
38414 cat confdefs.h >>conftest.$ac_ext
38415 cat >>conftest.$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417
38418 /* Override any gcc2 internal prototype to avoid an error. */
38419 #ifdef __cplusplus
38420 extern "C"
38421 #endif
38422 /* We use char because int might match the return type of a gcc2
38423 builtin and then its argument prototype would still apply. */
38424 char inet_aton ();
38425 int
38426 main ()
38427 {
38428 inet_aton ();
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext conftest$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435 (eval $ac_link) 2>conftest.er1
38436 ac_status=$?
38437 grep -v '^ *+' conftest.er1 >conftest.err
38438 rm -f conftest.er1
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 eval "$as_ac_Lib=yes"
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval "$as_ac_Lib=no"
38460 fi
38461 rm -f conftest.err conftest.$ac_objext \
38462 conftest$ac_exeext conftest.$ac_ext
38463 LIBS=$ac_check_lib_save_LIBS
38464 fi
38465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38466 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38467 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38468 cat >>confdefs.h <<\_ACEOF
38469 #define HAVE_INET_ATON 1
38470 _ACEOF
38471
38472 fi
38473
38474
38475 fi
38476 done
38477
38478
38479 if test "x$INET_LINK" != "x"; then
38480 cat >>confdefs.h <<\_ACEOF
38481 #define HAVE_INET_ADDR 1
38482 _ACEOF
38483
38484 INET_LINK=" -l$INET_LINK"
38485 fi
38486
38487
38488 for wx_func in fdopen
38489 do
38490 echo "$as_me:$LINENO: checking for $wx_func" >&5
38491 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38492 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 else
38495
38496 cat >conftest.$ac_ext <<_ACEOF
38497
38498 /* confdefs.h. */
38499 _ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503
38504
38505 $ac_includes_default
38506
38507 int
38508 main ()
38509 {
38510
38511 #ifndef $wx_func
38512 &$wx_func;
38513 #endif
38514
38515
38516 ;
38517 return 0;
38518 }
38519
38520 _ACEOF
38521 rm -f conftest.$ac_objext conftest$ac_exeext
38522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38523 (eval $ac_link) 2>conftest.er1
38524 ac_status=$?
38525 grep -v '^ *+' conftest.er1 >conftest.err
38526 rm -f conftest.er1
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } &&
38530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38532 (eval $ac_try) 2>&5
38533 ac_status=$?
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); }; } &&
38536 { ac_try='test -s conftest$ac_exeext'
38537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38538 (eval $ac_try) 2>&5
38539 ac_status=$?
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); }; }; then
38542 eval wx_cv_func_$wx_func=yes
38543 else
38544 echo "$as_me: failed program was:" >&5
38545 sed 's/^/| /' conftest.$ac_ext >&5
38546
38547 eval wx_cv_func_$wx_func=no
38548 fi
38549 rm -f conftest.err conftest.$ac_objext \
38550 conftest$ac_exeext conftest.$ac_ext
38551
38552 fi
38553 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38554 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38555
38556 if eval test \$wx_cv_func_$wx_func = yes
38557 then
38558 cat >>confdefs.h <<_ACEOF
38559 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38560 _ACEOF
38561
38562
38563 else
38564 :
38565
38566 fi
38567 done
38568
38569
38570 fi
38571
38572
38573
38574
38575 EXTRALIBS_ESD=
38576 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38577 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38578 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38581 ac_check_lib_save_LIBS=$LIBS
38582 LIBS="-lesd $LIBS"
38583 cat >conftest.$ac_ext <<_ACEOF
38584 /* confdefs.h. */
38585 _ACEOF
38586 cat confdefs.h >>conftest.$ac_ext
38587 cat >>conftest.$ac_ext <<_ACEOF
38588 /* end confdefs.h. */
38589
38590 /* Override any gcc2 internal prototype to avoid an error. */
38591 #ifdef __cplusplus
38592 extern "C"
38593 #endif
38594 /* We use char because int might match the return type of a gcc2
38595 builtin and then its argument prototype would still apply. */
38596 char esd_close ();
38597 int
38598 main ()
38599 {
38600 esd_close ();
38601 ;
38602 return 0;
38603 }
38604 _ACEOF
38605 rm -f conftest.$ac_objext conftest$ac_exeext
38606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38607 (eval $ac_link) 2>conftest.er1
38608 ac_status=$?
38609 grep -v '^ *+' conftest.er1 >conftest.err
38610 rm -f conftest.er1
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } &&
38614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38616 (eval $ac_try) 2>&5
38617 ac_status=$?
38618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38619 (exit $ac_status); }; } &&
38620 { ac_try='test -s conftest$ac_exeext'
38621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38622 (eval $ac_try) 2>&5
38623 ac_status=$?
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); }; }; then
38626 ac_cv_lib_esd_esd_close=yes
38627 else
38628 echo "$as_me: failed program was:" >&5
38629 sed 's/^/| /' conftest.$ac_ext >&5
38630
38631 ac_cv_lib_esd_esd_close=no
38632 fi
38633 rm -f conftest.err conftest.$ac_objext \
38634 conftest$ac_exeext conftest.$ac_ext
38635 LIBS=$ac_check_lib_save_LIBS
38636 fi
38637 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38638 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38639 if test $ac_cv_lib_esd_esd_close = yes; then
38640
38641
38642 for ac_header in esd.h
38643 do
38644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38646 echo "$as_me:$LINENO: checking for $ac_header" >&5
38647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38649 echo $ECHO_N "(cached) $ECHO_C" >&6
38650 fi
38651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38653 else
38654 # Is the header compilable?
38655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38657 cat >conftest.$ac_ext <<_ACEOF
38658 /* confdefs.h. */
38659 _ACEOF
38660 cat confdefs.h >>conftest.$ac_ext
38661 cat >>conftest.$ac_ext <<_ACEOF
38662 /* end confdefs.h. */
38663 $ac_includes_default
38664 #include <$ac_header>
38665 _ACEOF
38666 rm -f conftest.$ac_objext
38667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38668 (eval $ac_compile) 2>conftest.er1
38669 ac_status=$?
38670 grep -v '^ *+' conftest.er1 >conftest.err
38671 rm -f conftest.er1
38672 cat conftest.err >&5
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); } &&
38675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38677 (eval $ac_try) 2>&5
38678 ac_status=$?
38679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38680 (exit $ac_status); }; } &&
38681 { ac_try='test -s conftest.$ac_objext'
38682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38683 (eval $ac_try) 2>&5
38684 ac_status=$?
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); }; }; then
38687 ac_header_compiler=yes
38688 else
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.$ac_ext >&5
38691
38692 ac_header_compiler=no
38693 fi
38694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38696 echo "${ECHO_T}$ac_header_compiler" >&6
38697
38698 # Is the header present?
38699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38701 cat >conftest.$ac_ext <<_ACEOF
38702 /* confdefs.h. */
38703 _ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 #include <$ac_header>
38708 _ACEOF
38709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38711 ac_status=$?
38712 grep -v '^ *+' conftest.er1 >conftest.err
38713 rm -f conftest.er1
38714 cat conftest.err >&5
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); } >/dev/null; then
38717 if test -s conftest.err; then
38718 ac_cpp_err=$ac_c_preproc_warn_flag
38719 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38720 else
38721 ac_cpp_err=
38722 fi
38723 else
38724 ac_cpp_err=yes
38725 fi
38726 if test -z "$ac_cpp_err"; then
38727 ac_header_preproc=yes
38728 else
38729 echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.$ac_ext >&5
38731
38732 ac_header_preproc=no
38733 fi
38734 rm -f conftest.err conftest.$ac_ext
38735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38736 echo "${ECHO_T}$ac_header_preproc" >&6
38737
38738 # So? What about this header?
38739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38740 yes:no: )
38741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38745 ac_header_preproc=yes
38746 ;;
38747 no:yes:* )
38748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38760 (
38761 cat <<\_ASBOX
38762 ## ----------------------------------------- ##
38763 ## Report this to wx-dev@lists.wxwidgets.org ##
38764 ## ----------------------------------------- ##
38765 _ASBOX
38766 ) |
38767 sed "s/^/$as_me: WARNING: /" >&2
38768 ;;
38769 esac
38770 echo "$as_me:$LINENO: checking for $ac_header" >&5
38771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38773 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38775 eval "$as_ac_Header=\$ac_header_preproc"
38776 fi
38777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38779
38780 fi
38781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38782 cat >>confdefs.h <<_ACEOF
38783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38784 _ACEOF
38785
38786 EXTRALIBS_ESD="-lesd"
38787
38788 fi
38789
38790 done
38791
38792
38793 fi
38794
38795
38796
38797 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38798 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38799 cat >conftest.$ac_ext <<_ACEOF
38800 /* confdefs.h. */
38801 _ACEOF
38802 cat confdefs.h >>conftest.$ac_ext
38803 cat >>conftest.$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38805 #ifdef __linux__
38806 #include <linux/cdrom.h>
38807 #else
38808 /* For Solaris */
38809 #include <sys/cdio.h>
38810 #endif
38811
38812 int
38813 main ()
38814 {
38815 struct cdrom_tocentry entry, old_entry;
38816 ;
38817 return 0;
38818 }
38819 _ACEOF
38820 rm -f conftest.$ac_objext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38822 (eval $ac_compile) 2>conftest.er1
38823 ac_status=$?
38824 grep -v '^ *+' conftest.er1 >conftest.err
38825 rm -f conftest.er1
38826 cat conftest.err >&5
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); } &&
38829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38831 (eval $ac_try) 2>&5
38832 ac_status=$?
38833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38834 (exit $ac_status); }; } &&
38835 { ac_try='test -s conftest.$ac_objext'
38836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38837 (eval $ac_try) 2>&5
38838 ac_status=$?
38839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38840 (exit $ac_status); }; }; then
38841 echo "$as_me:$LINENO: result: yes" >&5
38842 echo "${ECHO_T}yes" >&6
38843 cat >>confdefs.h <<\_ACEOF
38844 #define HAVE_KNOWN_CDROM_INTERFACE 1
38845 _ACEOF
38846
38847 else
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38850
38851 echo "$as_me:$LINENO: result: no" >&5
38852 echo "${ECHO_T}no" >&6
38853 fi
38854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38855
38856
38857 cat >confcache <<\_ACEOF
38858 # This file is a shell script that caches the results of configure
38859 # tests run on this system so they can be shared between configure
38860 # scripts and configure runs, see configure's option --config-cache.
38861 # It is not useful on other systems. If it contains results you don't
38862 # want to keep, you may remove or edit it.
38863 #
38864 # config.status only pays attention to the cache file if you give it
38865 # the --recheck option to rerun configure.
38866 #
38867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38869 # following values.
38870
38871 _ACEOF
38872
38873 # The following way of writing the cache mishandles newlines in values,
38874 # but we know of no workaround that is simple, portable, and efficient.
38875 # So, don't put newlines in cache variables' values.
38876 # Ultrix sh set writes to stderr and can't be redirected directly,
38877 # and sets the high bit in the cache file unless we assign to the vars.
38878 {
38879 (set) 2>&1 |
38880 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38881 *ac_space=\ *)
38882 # `set' does not quote correctly, so add quotes (double-quote
38883 # substitution turns \\\\ into \\, and sed turns \\ into \).
38884 sed -n \
38885 "s/'/'\\\\''/g;
38886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38887 ;;
38888 *)
38889 # `set' quotes correctly as required by POSIX, so do not add quotes.
38890 sed -n \
38891 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38892 ;;
38893 esac;
38894 } |
38895 sed '
38896 t clear
38897 : clear
38898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38899 t end
38900 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38901 : end' >>confcache
38902 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38903 if test -w $cache_file; then
38904 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38905 cat confcache >$cache_file
38906 else
38907 echo "not updating unwritable cache $cache_file"
38908 fi
38909 fi
38910 rm -f confcache
38911
38912
38913 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38914
38915
38916 THREADS_LINK=
38917 THREADS_CFLAGS=
38918
38919 if test "$wxUSE_THREADS" = "yes" ; then
38920 if test "$USE_BEOS" = 1; then
38921 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38922 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38923 wxUSE_THREADS="no"
38924 fi
38925 fi
38926
38927 if test "$wxUSE_THREADS" = "yes" ; then
38928
38929
38930 THREAD_OPTS="-pthread"
38931 case "${host}" in
38932 *-*-solaris2* | *-*-sunos4* )
38933 if test "x$GCC" = "xyes"; then
38934 THREAD_OPTS="-pthreads $THREAD_OPTS"
38935 else
38936 THREAD_OPTS="-mt $THREAD_OPTS"
38937 fi
38938 ;;
38939 *-*-freebsd*)
38940 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38941 ;;
38942 *-*-darwin* | *-*-cygwin* )
38943 THREAD_OPTS=""
38944 ;;
38945 *-*-aix*)
38946 THREAD_OPTS="pthreads"
38947 ;;
38948 *-hp-hpux* )
38949 if test "x$GCC" = "xyes"; then
38950 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38951 THREAD_OPTS=""
38952 else
38953 THREAD_OPTS="-mt"
38954 fi
38955 ;;
38956
38957 *-*-irix* )
38958 if test "x$GCC" = "xyes"; then
38959 THREAD_OPTS=""
38960 fi
38961 ;;
38962
38963 *-*-*UnixWare*)
38964 if test "x$GCC" != "xyes"; then
38965 THREAD_OPTS="-Ethread"
38966 fi
38967 ;;
38968 esac
38969
38970 THREAD_OPTS="$THREAD_OPTS pthread none"
38971
38972 THREADS_OK=no
38973 for flag in $THREAD_OPTS; do
38974 case $flag in
38975 none)
38976 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38977 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38978 ;;
38979
38980 -*)
38981 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38982 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38983 THREADS_CFLAGS="$flag"
38984 ;;
38985
38986 *)
38987 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38988 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38989 THREADS_LINK="-l$flag"
38990 ;;
38991 esac
38992
38993 save_LIBS="$LIBS"
38994 save_CFLAGS="$CFLAGS"
38995 LIBS="$THREADS_LINK $LIBS"
38996 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38997
38998 cat >conftest.$ac_ext <<_ACEOF
38999 /* confdefs.h. */
39000 _ACEOF
39001 cat confdefs.h >>conftest.$ac_ext
39002 cat >>conftest.$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 #include <pthread.h>
39005 int
39006 main ()
39007 {
39008 pthread_create(0,0,0,0);
39009 ;
39010 return 0;
39011 }
39012 _ACEOF
39013 rm -f conftest.$ac_objext conftest$ac_exeext
39014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39015 (eval $ac_link) 2>conftest.er1
39016 ac_status=$?
39017 grep -v '^ *+' conftest.er1 >conftest.err
39018 rm -f conftest.er1
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } &&
39022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39024 (eval $ac_try) 2>&5
39025 ac_status=$?
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); }; } &&
39028 { ac_try='test -s conftest$ac_exeext'
39029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39030 (eval $ac_try) 2>&5
39031 ac_status=$?
39032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39033 (exit $ac_status); }; }; then
39034 THREADS_OK=yes
39035 else
39036 echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.$ac_ext >&5
39038
39039 fi
39040 rm -f conftest.err conftest.$ac_objext \
39041 conftest$ac_exeext conftest.$ac_ext
39042
39043 LIBS="$save_LIBS"
39044 CFLAGS="$save_CFLAGS"
39045
39046 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39047 echo "${ECHO_T}$THREADS_OK" >&6
39048 if test "x$THREADS_OK" = "xyes"; then
39049 break;
39050 fi
39051
39052 THREADS_LINK=""
39053 THREADS_CFLAGS=""
39054 done
39055
39056 if test "x$THREADS_OK" != "xyes"; then
39057 wxUSE_THREADS=no
39058 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39059 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39060 else
39061 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39062 LIBS="$THREADS_LINK $LIBS"
39063
39064 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39065 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39066 flag=no
39067 case "${host}" in
39068 *-aix*)
39069 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39070 flag="-D_THREAD_SAFE"
39071 ;;
39072 *-freebsd*)
39073 flag="-D_THREAD_SAFE"
39074 ;;
39075 *-hp-hpux* )
39076 flag="-D_REENTRANT"
39077 if test "x$GCC" != "xyes"; then
39078 flag="$flag -D_RWSTD_MULTI_THREAD"
39079 fi
39080 ;;
39081 *solaris* | alpha*-osf*)
39082 flag="-D_REENTRANT"
39083 ;;
39084 esac
39085 echo "$as_me:$LINENO: result: ${flag}" >&5
39086 echo "${ECHO_T}${flag}" >&6
39087 if test "x$flag" != xno; then
39088 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39089 fi
39090
39091 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39092 fi
39093 fi
39094
39095 if test "$wxUSE_THREADS" = "yes" ; then
39096
39097 for ac_func in thr_setconcurrency
39098 do
39099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39100 echo "$as_me:$LINENO: checking for $ac_func" >&5
39101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39102 if eval "test \"\${$as_ac_var+set}\" = set"; then
39103 echo $ECHO_N "(cached) $ECHO_C" >&6
39104 else
39105 cat >conftest.$ac_ext <<_ACEOF
39106 /* confdefs.h. */
39107 _ACEOF
39108 cat confdefs.h >>conftest.$ac_ext
39109 cat >>conftest.$ac_ext <<_ACEOF
39110 /* end confdefs.h. */
39111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39113 #define $ac_func innocuous_$ac_func
39114
39115 /* System header to define __stub macros and hopefully few prototypes,
39116 which can conflict with char $ac_func (); below.
39117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39118 <limits.h> exists even on freestanding compilers. */
39119
39120 #ifdef __STDC__
39121 # include <limits.h>
39122 #else
39123 # include <assert.h>
39124 #endif
39125
39126 #undef $ac_func
39127
39128 /* Override any gcc2 internal prototype to avoid an error. */
39129 #ifdef __cplusplus
39130 extern "C"
39131 {
39132 #endif
39133 /* We use char because int might match the return type of a gcc2
39134 builtin and then its argument prototype would still apply. */
39135 char $ac_func ();
39136 /* The GNU C library defines this for functions which it implements
39137 to always fail with ENOSYS. Some functions are actually named
39138 something starting with __ and the normal name is an alias. */
39139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39140 choke me
39141 #else
39142 char (*f) () = $ac_func;
39143 #endif
39144 #ifdef __cplusplus
39145 }
39146 #endif
39147
39148 int
39149 main ()
39150 {
39151 return f != $ac_func;
39152 ;
39153 return 0;
39154 }
39155 _ACEOF
39156 rm -f conftest.$ac_objext conftest$ac_exeext
39157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39158 (eval $ac_link) 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } &&
39165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39167 (eval $ac_try) 2>&5
39168 ac_status=$?
39169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39170 (exit $ac_status); }; } &&
39171 { ac_try='test -s conftest$ac_exeext'
39172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39173 (eval $ac_try) 2>&5
39174 ac_status=$?
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); }; }; then
39177 eval "$as_ac_var=yes"
39178 else
39179 echo "$as_me: failed program was:" >&5
39180 sed 's/^/| /' conftest.$ac_ext >&5
39181
39182 eval "$as_ac_var=no"
39183 fi
39184 rm -f conftest.err conftest.$ac_objext \
39185 conftest$ac_exeext conftest.$ac_ext
39186 fi
39187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39189 if test `eval echo '${'$as_ac_var'}'` = yes; then
39190 cat >>confdefs.h <<_ACEOF
39191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39192 _ACEOF
39193
39194 fi
39195 done
39196
39197
39198 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39199 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39200 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39202 else
39203
39204 cat >conftest.$ac_ext <<_ACEOF
39205 /* confdefs.h. */
39206 _ACEOF
39207 cat confdefs.h >>conftest.$ac_ext
39208 cat >>conftest.$ac_ext <<_ACEOF
39209 /* end confdefs.h. */
39210 #include <pthread.h>
39211 void ThreadCleanupFunc(void *p);
39212
39213 int
39214 main ()
39215 {
39216
39217 void *p;
39218 pthread_cleanup_push(ThreadCleanupFunc, p);
39219 pthread_cleanup_pop(0);
39220
39221 ;
39222 return 0;
39223 }
39224 _ACEOF
39225 rm -f conftest.$ac_objext
39226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39227 (eval $ac_compile) 2>conftest.er1
39228 ac_status=$?
39229 grep -v '^ *+' conftest.er1 >conftest.err
39230 rm -f conftest.er1
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } &&
39234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest.$ac_objext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246
39247 wx_cv_func_pthread_cleanup=yes
39248
39249 else
39250 echo "$as_me: failed program was:" >&5
39251 sed 's/^/| /' conftest.$ac_ext >&5
39252
39253
39254 wx_cv_func_pthread_cleanup=no
39255
39256
39257 fi
39258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39259
39260 fi
39261 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39262 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39263 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define wxHAVE_PTHREAD_CLEANUP 1
39266 _ACEOF
39267
39268 fi
39269
39270
39271 for ac_header in sched.h
39272 do
39273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39275 echo "$as_me:$LINENO: checking for $ac_header" >&5
39276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 fi
39280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39282 else
39283 # Is the header compilable?
39284 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39285 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39286 cat >conftest.$ac_ext <<_ACEOF
39287 /* confdefs.h. */
39288 _ACEOF
39289 cat confdefs.h >>conftest.$ac_ext
39290 cat >>conftest.$ac_ext <<_ACEOF
39291 /* end confdefs.h. */
39292 $ac_includes_default
39293 #include <$ac_header>
39294 _ACEOF
39295 rm -f conftest.$ac_objext
39296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39297 (eval $ac_compile) 2>conftest.er1
39298 ac_status=$?
39299 grep -v '^ *+' conftest.er1 >conftest.err
39300 rm -f conftest.er1
39301 cat conftest.err >&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } &&
39304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39306 (eval $ac_try) 2>&5
39307 ac_status=$?
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); }; } &&
39310 { ac_try='test -s conftest.$ac_objext'
39311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39312 (eval $ac_try) 2>&5
39313 ac_status=$?
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); }; }; then
39316 ac_header_compiler=yes
39317 else
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.$ac_ext >&5
39320
39321 ac_header_compiler=no
39322 fi
39323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39325 echo "${ECHO_T}$ac_header_compiler" >&6
39326
39327 # Is the header present?
39328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39330 cat >conftest.$ac_ext <<_ACEOF
39331 /* confdefs.h. */
39332 _ACEOF
39333 cat confdefs.h >>conftest.$ac_ext
39334 cat >>conftest.$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39336 #include <$ac_header>
39337 _ACEOF
39338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } >/dev/null; then
39346 if test -s conftest.err; then
39347 ac_cpp_err=$ac_c_preproc_warn_flag
39348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39349 else
39350 ac_cpp_err=
39351 fi
39352 else
39353 ac_cpp_err=yes
39354 fi
39355 if test -z "$ac_cpp_err"; then
39356 ac_header_preproc=yes
39357 else
39358 echo "$as_me: failed program was:" >&5
39359 sed 's/^/| /' conftest.$ac_ext >&5
39360
39361 ac_header_preproc=no
39362 fi
39363 rm -f conftest.err conftest.$ac_ext
39364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39365 echo "${ECHO_T}$ac_header_preproc" >&6
39366
39367 # So? What about this header?
39368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39369 yes:no: )
39370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39374 ac_header_preproc=yes
39375 ;;
39376 no:yes:* )
39377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39389 (
39390 cat <<\_ASBOX
39391 ## ----------------------------------------- ##
39392 ## Report this to wx-dev@lists.wxwidgets.org ##
39393 ## ----------------------------------------- ##
39394 _ASBOX
39395 ) |
39396 sed "s/^/$as_me: WARNING: /" >&2
39397 ;;
39398 esac
39399 echo "$as_me:$LINENO: checking for $ac_header" >&5
39400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 else
39404 eval "$as_ac_Header=\$ac_header_preproc"
39405 fi
39406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39408
39409 fi
39410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39411 cat >>confdefs.h <<_ACEOF
39412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39413 _ACEOF
39414
39415 fi
39416
39417 done
39418
39419 if test "$ac_cv_header_sched_h" = "yes"; then
39420 echo "$as_me:$LINENO: checking for sched_yield" >&5
39421 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39422 if test "${ac_cv_func_sched_yield+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39425 cat >conftest.$ac_ext <<_ACEOF
39426 /* confdefs.h. */
39427 _ACEOF
39428 cat confdefs.h >>conftest.$ac_ext
39429 cat >>conftest.$ac_ext <<_ACEOF
39430 /* end confdefs.h. */
39431 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39433 #define sched_yield innocuous_sched_yield
39434
39435 /* System header to define __stub macros and hopefully few prototypes,
39436 which can conflict with char sched_yield (); below.
39437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39438 <limits.h> exists even on freestanding compilers. */
39439
39440 #ifdef __STDC__
39441 # include <limits.h>
39442 #else
39443 # include <assert.h>
39444 #endif
39445
39446 #undef sched_yield
39447
39448 /* Override any gcc2 internal prototype to avoid an error. */
39449 #ifdef __cplusplus
39450 extern "C"
39451 {
39452 #endif
39453 /* We use char because int might match the return type of a gcc2
39454 builtin and then its argument prototype would still apply. */
39455 char sched_yield ();
39456 /* The GNU C library defines this for functions which it implements
39457 to always fail with ENOSYS. Some functions are actually named
39458 something starting with __ and the normal name is an alias. */
39459 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39460 choke me
39461 #else
39462 char (*f) () = sched_yield;
39463 #endif
39464 #ifdef __cplusplus
39465 }
39466 #endif
39467
39468 int
39469 main ()
39470 {
39471 return f != sched_yield;
39472 ;
39473 return 0;
39474 }
39475 _ACEOF
39476 rm -f conftest.$ac_objext conftest$ac_exeext
39477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39478 (eval $ac_link) 2>conftest.er1
39479 ac_status=$?
39480 grep -v '^ *+' conftest.er1 >conftest.err
39481 rm -f conftest.er1
39482 cat conftest.err >&5
39483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484 (exit $ac_status); } &&
39485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487 (eval $ac_try) 2>&5
39488 ac_status=$?
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); }; } &&
39491 { ac_try='test -s conftest$ac_exeext'
39492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39493 (eval $ac_try) 2>&5
39494 ac_status=$?
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); }; }; then
39497 ac_cv_func_sched_yield=yes
39498 else
39499 echo "$as_me: failed program was:" >&5
39500 sed 's/^/| /' conftest.$ac_ext >&5
39501
39502 ac_cv_func_sched_yield=no
39503 fi
39504 rm -f conftest.err conftest.$ac_objext \
39505 conftest$ac_exeext conftest.$ac_ext
39506 fi
39507 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39508 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39509 if test $ac_cv_func_sched_yield = yes; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_SCHED_YIELD 1
39512 _ACEOF
39513
39514 else
39515
39516 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39517 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39518 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39519 echo $ECHO_N "(cached) $ECHO_C" >&6
39520 else
39521 ac_check_lib_save_LIBS=$LIBS
39522 LIBS="-lposix4 $LIBS"
39523 cat >conftest.$ac_ext <<_ACEOF
39524 /* confdefs.h. */
39525 _ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529
39530 /* Override any gcc2 internal prototype to avoid an error. */
39531 #ifdef __cplusplus
39532 extern "C"
39533 #endif
39534 /* We use char because int might match the return type of a gcc2
39535 builtin and then its argument prototype would still apply. */
39536 char sched_yield ();
39537 int
39538 main ()
39539 {
39540 sched_yield ();
39541 ;
39542 return 0;
39543 }
39544 _ACEOF
39545 rm -f conftest.$ac_objext conftest$ac_exeext
39546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39547 (eval $ac_link) 2>conftest.er1
39548 ac_status=$?
39549 grep -v '^ *+' conftest.er1 >conftest.err
39550 rm -f conftest.er1
39551 cat conftest.err >&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } &&
39554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try='test -s conftest$ac_exeext'
39561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39562 (eval $ac_try) 2>&5
39563 ac_status=$?
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); }; }; then
39566 ac_cv_lib_posix4_sched_yield=yes
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39570
39571 ac_cv_lib_posix4_sched_yield=no
39572 fi
39573 rm -f conftest.err conftest.$ac_objext \
39574 conftest$ac_exeext conftest.$ac_ext
39575 LIBS=$ac_check_lib_save_LIBS
39576 fi
39577 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39578 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39579 if test $ac_cv_lib_posix4_sched_yield = yes; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_SCHED_YIELD 1
39582 _ACEOF
39583 POSIX4_LINK=" -lposix4"
39584 else
39585 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39586 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39587
39588 fi
39589
39590
39591
39592 fi
39593
39594 fi
39595
39596 HAVE_PRIOR_FUNCS=0
39597 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39598 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39599 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39601 else
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39610 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39611
39612 /* System header to define __stub macros and hopefully few prototypes,
39613 which can conflict with char pthread_attr_getschedpolicy (); below.
39614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39615 <limits.h> exists even on freestanding compilers. */
39616
39617 #ifdef __STDC__
39618 # include <limits.h>
39619 #else
39620 # include <assert.h>
39621 #endif
39622
39623 #undef pthread_attr_getschedpolicy
39624
39625 /* Override any gcc2 internal prototype to avoid an error. */
39626 #ifdef __cplusplus
39627 extern "C"
39628 {
39629 #endif
39630 /* We use char because int might match the return type of a gcc2
39631 builtin and then its argument prototype would still apply. */
39632 char pthread_attr_getschedpolicy ();
39633 /* The GNU C library defines this for functions which it implements
39634 to always fail with ENOSYS. Some functions are actually named
39635 something starting with __ and the normal name is an alias. */
39636 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39637 choke me
39638 #else
39639 char (*f) () = pthread_attr_getschedpolicy;
39640 #endif
39641 #ifdef __cplusplus
39642 }
39643 #endif
39644
39645 int
39646 main ()
39647 {
39648 return f != pthread_attr_getschedpolicy;
39649 ;
39650 return 0;
39651 }
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39655 (eval $ac_link) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39664 (eval $ac_try) 2>&5
39665 ac_status=$?
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); }; } &&
39668 { ac_try='test -s conftest$ac_exeext'
39669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39670 (eval $ac_try) 2>&5
39671 ac_status=$?
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); }; }; then
39674 ac_cv_func_pthread_attr_getschedpolicy=yes
39675 else
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39678
39679 ac_cv_func_pthread_attr_getschedpolicy=no
39680 fi
39681 rm -f conftest.err conftest.$ac_objext \
39682 conftest$ac_exeext conftest.$ac_ext
39683 fi
39684 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39685 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39686 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39687 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39688 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39689 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39690 echo $ECHO_N "(cached) $ECHO_C" >&6
39691 else
39692 cat >conftest.$ac_ext <<_ACEOF
39693 /* confdefs.h. */
39694 _ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39700 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39701
39702 /* System header to define __stub macros and hopefully few prototypes,
39703 which can conflict with char pthread_attr_setschedparam (); below.
39704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39705 <limits.h> exists even on freestanding compilers. */
39706
39707 #ifdef __STDC__
39708 # include <limits.h>
39709 #else
39710 # include <assert.h>
39711 #endif
39712
39713 #undef pthread_attr_setschedparam
39714
39715 /* Override any gcc2 internal prototype to avoid an error. */
39716 #ifdef __cplusplus
39717 extern "C"
39718 {
39719 #endif
39720 /* We use char because int might match the return type of a gcc2
39721 builtin and then its argument prototype would still apply. */
39722 char pthread_attr_setschedparam ();
39723 /* The GNU C library defines this for functions which it implements
39724 to always fail with ENOSYS. Some functions are actually named
39725 something starting with __ and the normal name is an alias. */
39726 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39727 choke me
39728 #else
39729 char (*f) () = pthread_attr_setschedparam;
39730 #endif
39731 #ifdef __cplusplus
39732 }
39733 #endif
39734
39735 int
39736 main ()
39737 {
39738 return f != pthread_attr_setschedparam;
39739 ;
39740 return 0;
39741 }
39742 _ACEOF
39743 rm -f conftest.$ac_objext conftest$ac_exeext
39744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39745 (eval $ac_link) 2>conftest.er1
39746 ac_status=$?
39747 grep -v '^ *+' conftest.er1 >conftest.err
39748 rm -f conftest.er1
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } &&
39752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39754 (eval $ac_try) 2>&5
39755 ac_status=$?
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); }; } &&
39758 { ac_try='test -s conftest$ac_exeext'
39759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39760 (eval $ac_try) 2>&5
39761 ac_status=$?
39762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39763 (exit $ac_status); }; }; then
39764 ac_cv_func_pthread_attr_setschedparam=yes
39765 else
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39768
39769 ac_cv_func_pthread_attr_setschedparam=no
39770 fi
39771 rm -f conftest.err conftest.$ac_objext \
39772 conftest$ac_exeext conftest.$ac_ext
39773 fi
39774 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39775 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39776 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39777 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39778 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39779 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39780 echo $ECHO_N "(cached) $ECHO_C" >&6
39781 else
39782 cat >conftest.$ac_ext <<_ACEOF
39783 /* confdefs.h. */
39784 _ACEOF
39785 cat confdefs.h >>conftest.$ac_ext
39786 cat >>conftest.$ac_ext <<_ACEOF
39787 /* end confdefs.h. */
39788 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39790 #define sched_get_priority_max innocuous_sched_get_priority_max
39791
39792 /* System header to define __stub macros and hopefully few prototypes,
39793 which can conflict with char sched_get_priority_max (); below.
39794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39795 <limits.h> exists even on freestanding compilers. */
39796
39797 #ifdef __STDC__
39798 # include <limits.h>
39799 #else
39800 # include <assert.h>
39801 #endif
39802
39803 #undef sched_get_priority_max
39804
39805 /* Override any gcc2 internal prototype to avoid an error. */
39806 #ifdef __cplusplus
39807 extern "C"
39808 {
39809 #endif
39810 /* We use char because int might match the return type of a gcc2
39811 builtin and then its argument prototype would still apply. */
39812 char sched_get_priority_max ();
39813 /* The GNU C library defines this for functions which it implements
39814 to always fail with ENOSYS. Some functions are actually named
39815 something starting with __ and the normal name is an alias. */
39816 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39817 choke me
39818 #else
39819 char (*f) () = sched_get_priority_max;
39820 #endif
39821 #ifdef __cplusplus
39822 }
39823 #endif
39824
39825 int
39826 main ()
39827 {
39828 return f != sched_get_priority_max;
39829 ;
39830 return 0;
39831 }
39832 _ACEOF
39833 rm -f conftest.$ac_objext conftest$ac_exeext
39834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39835 (eval $ac_link) 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } &&
39842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39844 (eval $ac_try) 2>&5
39845 ac_status=$?
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); }; } &&
39848 { ac_try='test -s conftest$ac_exeext'
39849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39850 (eval $ac_try) 2>&5
39851 ac_status=$?
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); }; }; then
39854 ac_cv_func_sched_get_priority_max=yes
39855 else
39856 echo "$as_me: failed program was:" >&5
39857 sed 's/^/| /' conftest.$ac_ext >&5
39858
39859 ac_cv_func_sched_get_priority_max=no
39860 fi
39861 rm -f conftest.err conftest.$ac_objext \
39862 conftest$ac_exeext conftest.$ac_ext
39863 fi
39864 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39865 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39866 if test $ac_cv_func_sched_get_priority_max = yes; then
39867 HAVE_PRIOR_FUNCS=1
39868 else
39869 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39870 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39871 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39872 echo $ECHO_N "(cached) $ECHO_C" >&6
39873 else
39874 ac_check_lib_save_LIBS=$LIBS
39875 LIBS="-lposix4 $LIBS"
39876 cat >conftest.$ac_ext <<_ACEOF
39877 /* confdefs.h. */
39878 _ACEOF
39879 cat confdefs.h >>conftest.$ac_ext
39880 cat >>conftest.$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882
39883 /* Override any gcc2 internal prototype to avoid an error. */
39884 #ifdef __cplusplus
39885 extern "C"
39886 #endif
39887 /* We use char because int might match the return type of a gcc2
39888 builtin and then its argument prototype would still apply. */
39889 char sched_get_priority_max ();
39890 int
39891 main ()
39892 {
39893 sched_get_priority_max ();
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 rm -f conftest.$ac_objext conftest$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39901 ac_status=$?
39902 grep -v '^ *+' conftest.er1 >conftest.err
39903 rm -f conftest.er1
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39909 (eval $ac_try) 2>&5
39910 ac_status=$?
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); }; } &&
39913 { ac_try='test -s conftest$ac_exeext'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39916 ac_status=$?
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; }; then
39919 ac_cv_lib_posix4_sched_get_priority_max=yes
39920 else
39921 echo "$as_me: failed program was:" >&5
39922 sed 's/^/| /' conftest.$ac_ext >&5
39923
39924 ac_cv_lib_posix4_sched_get_priority_max=no
39925 fi
39926 rm -f conftest.err conftest.$ac_objext \
39927 conftest$ac_exeext conftest.$ac_ext
39928 LIBS=$ac_check_lib_save_LIBS
39929 fi
39930 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39931 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39932 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39933
39934 HAVE_PRIOR_FUNCS=1
39935 POSIX4_LINK=" -lposix4"
39936
39937 fi
39938
39939
39940 fi
39941
39942
39943 fi
39944
39945
39946 fi
39947
39948
39949 if test "$HAVE_PRIOR_FUNCS" = 1; then
39950 cat >>confdefs.h <<\_ACEOF
39951 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39952 _ACEOF
39953
39954 else
39955 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39956 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39957 fi
39958
39959 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39960 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39961 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39962 echo $ECHO_N "(cached) $ECHO_C" >&6
39963 else
39964 cat >conftest.$ac_ext <<_ACEOF
39965 /* confdefs.h. */
39966 _ACEOF
39967 cat confdefs.h >>conftest.$ac_ext
39968 cat >>conftest.$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39972 #define pthread_cancel innocuous_pthread_cancel
39973
39974 /* System header to define __stub macros and hopefully few prototypes,
39975 which can conflict with char pthread_cancel (); below.
39976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977 <limits.h> exists even on freestanding compilers. */
39978
39979 #ifdef __STDC__
39980 # include <limits.h>
39981 #else
39982 # include <assert.h>
39983 #endif
39984
39985 #undef pthread_cancel
39986
39987 /* Override any gcc2 internal prototype to avoid an error. */
39988 #ifdef __cplusplus
39989 extern "C"
39990 {
39991 #endif
39992 /* We use char because int might match the return type of a gcc2
39993 builtin and then its argument prototype would still apply. */
39994 char pthread_cancel ();
39995 /* The GNU C library defines this for functions which it implements
39996 to always fail with ENOSYS. Some functions are actually named
39997 something starting with __ and the normal name is an alias. */
39998 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39999 choke me
40000 #else
40001 char (*f) () = pthread_cancel;
40002 #endif
40003 #ifdef __cplusplus
40004 }
40005 #endif
40006
40007 int
40008 main ()
40009 {
40010 return f != pthread_cancel;
40011 ;
40012 return 0;
40013 }
40014 _ACEOF
40015 rm -f conftest.$ac_objext conftest$ac_exeext
40016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40017 (eval $ac_link) 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } &&
40024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40026 (eval $ac_try) 2>&5
40027 ac_status=$?
40028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40029 (exit $ac_status); }; } &&
40030 { ac_try='test -s conftest$ac_exeext'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; }; then
40036 ac_cv_func_pthread_cancel=yes
40037 else
40038 echo "$as_me: failed program was:" >&5
40039 sed 's/^/| /' conftest.$ac_ext >&5
40040
40041 ac_cv_func_pthread_cancel=no
40042 fi
40043 rm -f conftest.err conftest.$ac_objext \
40044 conftest$ac_exeext conftest.$ac_ext
40045 fi
40046 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40047 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40048 if test $ac_cv_func_pthread_cancel = yes; then
40049 cat >>confdefs.h <<\_ACEOF
40050 #define HAVE_PTHREAD_CANCEL 1
40051 _ACEOF
40052
40053 else
40054 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40055 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40056 fi
40057
40058
40059 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40060 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40061 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40062 echo $ECHO_N "(cached) $ECHO_C" >&6
40063 else
40064 cat >conftest.$ac_ext <<_ACEOF
40065 /* confdefs.h. */
40066 _ACEOF
40067 cat confdefs.h >>conftest.$ac_ext
40068 cat >>conftest.$ac_ext <<_ACEOF
40069 /* end confdefs.h. */
40070 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40072 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40073
40074 /* System header to define __stub macros and hopefully few prototypes,
40075 which can conflict with char pthread_attr_setstacksize (); below.
40076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40077 <limits.h> exists even on freestanding compilers. */
40078
40079 #ifdef __STDC__
40080 # include <limits.h>
40081 #else
40082 # include <assert.h>
40083 #endif
40084
40085 #undef pthread_attr_setstacksize
40086
40087 /* Override any gcc2 internal prototype to avoid an error. */
40088 #ifdef __cplusplus
40089 extern "C"
40090 {
40091 #endif
40092 /* We use char because int might match the return type of a gcc2
40093 builtin and then its argument prototype would still apply. */
40094 char pthread_attr_setstacksize ();
40095 /* The GNU C library defines this for functions which it implements
40096 to always fail with ENOSYS. Some functions are actually named
40097 something starting with __ and the normal name is an alias. */
40098 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40099 choke me
40100 #else
40101 char (*f) () = pthread_attr_setstacksize;
40102 #endif
40103 #ifdef __cplusplus
40104 }
40105 #endif
40106
40107 int
40108 main ()
40109 {
40110 return f != pthread_attr_setstacksize;
40111 ;
40112 return 0;
40113 }
40114 _ACEOF
40115 rm -f conftest.$ac_objext conftest$ac_exeext
40116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40117 (eval $ac_link) 2>conftest.er1
40118 ac_status=$?
40119 grep -v '^ *+' conftest.er1 >conftest.err
40120 rm -f conftest.er1
40121 cat conftest.err >&5
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); } &&
40124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40126 (eval $ac_try) 2>&5
40127 ac_status=$?
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); }; } &&
40130 { ac_try='test -s conftest$ac_exeext'
40131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40132 (eval $ac_try) 2>&5
40133 ac_status=$?
40134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135 (exit $ac_status); }; }; then
40136 ac_cv_func_pthread_attr_setstacksize=yes
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141 ac_cv_func_pthread_attr_setstacksize=no
40142 fi
40143 rm -f conftest.err conftest.$ac_objext \
40144 conftest$ac_exeext conftest.$ac_ext
40145 fi
40146 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40147 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40148 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40149 cat >>confdefs.h <<\_ACEOF
40150 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40151 _ACEOF
40152
40153 fi
40154
40155
40156
40157 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40158 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40159 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40160 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 else
40162
40163 cat >conftest.$ac_ext <<_ACEOF
40164 /* confdefs.h. */
40165 _ACEOF
40166 cat confdefs.h >>conftest.$ac_ext
40167 cat >>conftest.$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40169 #include <pthread.h>
40170 int
40171 main ()
40172 {
40173
40174 pthread_mutexattr_t attr;
40175 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40176
40177 ;
40178 return 0;
40179 }
40180 _ACEOF
40181 rm -f conftest.$ac_objext
40182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40183 (eval $ac_compile) 2>conftest.er1
40184 ac_status=$?
40185 grep -v '^ *+' conftest.er1 >conftest.err
40186 rm -f conftest.er1
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40193 ac_status=$?
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try='test -s conftest.$ac_objext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 wx_cv_type_pthread_mutexattr_t=yes
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40206
40207 wx_cv_type_pthread_mutexattr_t=no
40208
40209 fi
40210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40211
40212 fi
40213 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40214 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40215
40216 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40217 cat >>confdefs.h <<\_ACEOF
40218 #define HAVE_PTHREAD_MUTEXATTR_T 1
40219 _ACEOF
40220
40221
40222 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40223 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40224 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40226 else
40227
40228 cat >conftest.$ac_ext <<_ACEOF
40229 /* confdefs.h. */
40230 _ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h. */
40234 #include <pthread.h>
40235 int
40236 main ()
40237 {
40238
40239 pthread_mutexattr_t attr;
40240 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40241
40242 ;
40243 return 0;
40244 }
40245 _ACEOF
40246 rm -f conftest.$ac_objext
40247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40248 (eval $ac_compile) 2>conftest.er1
40249 ac_status=$?
40250 grep -v '^ *+' conftest.er1 >conftest.err
40251 rm -f conftest.er1
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } &&
40255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try='test -s conftest.$ac_objext'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40264 ac_status=$?
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; }; then
40267 wx_cv_func_pthread_mutexattr_settype_decl=yes
40268 else
40269 echo "$as_me: failed program was:" >&5
40270 sed 's/^/| /' conftest.$ac_ext >&5
40271
40272 wx_cv_func_pthread_mutexattr_settype_decl=no
40273
40274 fi
40275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40276
40277 fi
40278 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40279 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40280 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40281 cat >>confdefs.h <<\_ACEOF
40282 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40283 _ACEOF
40284
40285 fi
40286 else
40287 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40288 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40289 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 else
40292
40293 cat >conftest.$ac_ext <<_ACEOF
40294 /* confdefs.h. */
40295 _ACEOF
40296 cat confdefs.h >>conftest.$ac_ext
40297 cat >>conftest.$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40299 #include <pthread.h>
40300 int
40301 main ()
40302 {
40303
40304 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40305
40306 ;
40307 return 0;
40308 }
40309 _ACEOF
40310 rm -f conftest.$ac_objext
40311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40312 (eval $ac_compile) 2>conftest.er1
40313 ac_status=$?
40314 grep -v '^ *+' conftest.er1 >conftest.err
40315 rm -f conftest.er1
40316 cat conftest.err >&5
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); } &&
40319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321 (eval $ac_try) 2>&5
40322 ac_status=$?
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); }; } &&
40325 { ac_try='test -s conftest.$ac_objext'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40328 ac_status=$?
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; }; then
40331
40332 wx_cv_type_pthread_rec_mutex_init=yes
40333
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338
40339 wx_cv_type_pthread_rec_mutex_init=no
40340
40341
40342 fi
40343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40344
40345 fi
40346 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40347 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40348 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40349 cat >>confdefs.h <<\_ACEOF
40350 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40351 _ACEOF
40352
40353 else
40354 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40355 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40356 fi
40357 fi
40358 fi
40359
40360 else
40361 if test "$wxUSE_THREADS" = "yes" ; then
40362 case "${host}" in
40363 *-*-mingw32* )
40364 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40365 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40366 if test "${wx_cv_cflags_mthread+set}" = set; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40368 else
40369
40370 CFLAGS_OLD="$CFLAGS"
40371 CFLAGS="-mthreads $CFLAGS"
40372 cat >conftest.$ac_ext <<_ACEOF
40373 /* confdefs.h. */
40374 _ACEOF
40375 cat confdefs.h >>conftest.$ac_ext
40376 cat >>conftest.$ac_ext <<_ACEOF
40377 /* end confdefs.h. */
40378
40379 int
40380 main ()
40381 {
40382
40383 ;
40384 return 0;
40385 }
40386 _ACEOF
40387 rm -f conftest.$ac_objext
40388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40389 (eval $ac_compile) 2>conftest.er1
40390 ac_status=$?
40391 grep -v '^ *+' conftest.er1 >conftest.err
40392 rm -f conftest.er1
40393 cat conftest.err >&5
40394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40395 (exit $ac_status); } &&
40396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40398 (eval $ac_try) 2>&5
40399 ac_status=$?
40400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401 (exit $ac_status); }; } &&
40402 { ac_try='test -s conftest.$ac_objext'
40403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40404 (eval $ac_try) 2>&5
40405 ac_status=$?
40406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40407 (exit $ac_status); }; }; then
40408 wx_cv_cflags_mthread=yes
40409 else
40410 echo "$as_me: failed program was:" >&5
40411 sed 's/^/| /' conftest.$ac_ext >&5
40412
40413 wx_cv_cflags_mthread=no
40414
40415 fi
40416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40417
40418
40419 fi
40420 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40421 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40422
40423 if test "$wx_cv_cflags_mthread" = "yes"; then
40424 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40425 LDFLAGS="$LDFLAGS -mthreads"
40426 else
40427 CFLAGS="$CFLAGS_OLD"
40428 fi
40429 ;;
40430 *-pc-os2*emx )
40431 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40432 LDFLAGS="$LDFLAGS -Zmt"
40433 ;;
40434 esac
40435 fi
40436 fi
40437
40438 echo "$as_me:$LINENO: checking for localtime_r" >&5
40439 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40440 if test "${ac_cv_func_localtime_r+set}" = set; then
40441 echo $ECHO_N "(cached) $ECHO_C" >&6
40442 else
40443 cat >conftest.$ac_ext <<_ACEOF
40444 /* confdefs.h. */
40445 _ACEOF
40446 cat confdefs.h >>conftest.$ac_ext
40447 cat >>conftest.$ac_ext <<_ACEOF
40448 /* end confdefs.h. */
40449 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40451 #define localtime_r innocuous_localtime_r
40452
40453 /* System header to define __stub macros and hopefully few prototypes,
40454 which can conflict with char localtime_r (); below.
40455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40456 <limits.h> exists even on freestanding compilers. */
40457
40458 #ifdef __STDC__
40459 # include <limits.h>
40460 #else
40461 # include <assert.h>
40462 #endif
40463
40464 #undef localtime_r
40465
40466 /* Override any gcc2 internal prototype to avoid an error. */
40467 #ifdef __cplusplus
40468 extern "C"
40469 {
40470 #endif
40471 /* We use char because int might match the return type of a gcc2
40472 builtin and then its argument prototype would still apply. */
40473 char localtime_r ();
40474 /* The GNU C library defines this for functions which it implements
40475 to always fail with ENOSYS. Some functions are actually named
40476 something starting with __ and the normal name is an alias. */
40477 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40478 choke me
40479 #else
40480 char (*f) () = localtime_r;
40481 #endif
40482 #ifdef __cplusplus
40483 }
40484 #endif
40485
40486 int
40487 main ()
40488 {
40489 return f != localtime_r;
40490 ;
40491 return 0;
40492 }
40493 _ACEOF
40494 rm -f conftest.$ac_objext conftest$ac_exeext
40495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40496 (eval $ac_link) 2>conftest.er1
40497 ac_status=$?
40498 grep -v '^ *+' conftest.er1 >conftest.err
40499 rm -f conftest.er1
40500 cat conftest.err >&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); } &&
40503 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40505 (eval $ac_try) 2>&5
40506 ac_status=$?
40507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40508 (exit $ac_status); }; } &&
40509 { ac_try='test -s conftest$ac_exeext'
40510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40511 (eval $ac_try) 2>&5
40512 ac_status=$?
40513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40514 (exit $ac_status); }; }; then
40515 ac_cv_func_localtime_r=yes
40516 else
40517 echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.$ac_ext >&5
40519
40520 ac_cv_func_localtime_r=no
40521 fi
40522 rm -f conftest.err conftest.$ac_objext \
40523 conftest$ac_exeext conftest.$ac_ext
40524 fi
40525 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40526 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40527 if test $ac_cv_func_localtime_r = yes; then
40528 cat >>confdefs.h <<\_ACEOF
40529 #define HAVE_LOCALTIME_R 1
40530 _ACEOF
40531
40532 fi
40533
40534 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40535 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40536 if test "${ac_cv_func_gmtime_r+set}" = set; then
40537 echo $ECHO_N "(cached) $ECHO_C" >&6
40538 else
40539 cat >conftest.$ac_ext <<_ACEOF
40540 /* confdefs.h. */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40545 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40547 #define gmtime_r innocuous_gmtime_r
40548
40549 /* System header to define __stub macros and hopefully few prototypes,
40550 which can conflict with char gmtime_r (); below.
40551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40552 <limits.h> exists even on freestanding compilers. */
40553
40554 #ifdef __STDC__
40555 # include <limits.h>
40556 #else
40557 # include <assert.h>
40558 #endif
40559
40560 #undef gmtime_r
40561
40562 /* Override any gcc2 internal prototype to avoid an error. */
40563 #ifdef __cplusplus
40564 extern "C"
40565 {
40566 #endif
40567 /* We use char because int might match the return type of a gcc2
40568 builtin and then its argument prototype would still apply. */
40569 char gmtime_r ();
40570 /* The GNU C library defines this for functions which it implements
40571 to always fail with ENOSYS. Some functions are actually named
40572 something starting with __ and the normal name is an alias. */
40573 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40574 choke me
40575 #else
40576 char (*f) () = gmtime_r;
40577 #endif
40578 #ifdef __cplusplus
40579 }
40580 #endif
40581
40582 int
40583 main ()
40584 {
40585 return f != gmtime_r;
40586 ;
40587 return 0;
40588 }
40589 _ACEOF
40590 rm -f conftest.$ac_objext conftest$ac_exeext
40591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40592 (eval $ac_link) 2>conftest.er1
40593 ac_status=$?
40594 grep -v '^ *+' conftest.er1 >conftest.err
40595 rm -f conftest.er1
40596 cat conftest.err >&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } &&
40599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40602 ac_status=$?
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; } &&
40605 { ac_try='test -s conftest$ac_exeext'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40608 ac_status=$?
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; }; then
40611 ac_cv_func_gmtime_r=yes
40612 else
40613 echo "$as_me: failed program was:" >&5
40614 sed 's/^/| /' conftest.$ac_ext >&5
40615
40616 ac_cv_func_gmtime_r=no
40617 fi
40618 rm -f conftest.err conftest.$ac_objext \
40619 conftest$ac_exeext conftest.$ac_ext
40620 fi
40621 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40622 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40623 if test $ac_cv_func_gmtime_r = yes; then
40624 cat >>confdefs.h <<\_ACEOF
40625 #define HAVE_GMTIME_R 1
40626 _ACEOF
40627
40628 fi
40629
40630 echo "$as_me:$LINENO: checking for readdir_r" >&5
40631 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40632 if test "${ac_cv_func_readdir_r+set}" = set; then
40633 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 else
40635 cat >conftest.$ac_ext <<_ACEOF
40636 /* confdefs.h. */
40637 _ACEOF
40638 cat confdefs.h >>conftest.$ac_ext
40639 cat >>conftest.$ac_ext <<_ACEOF
40640 /* end confdefs.h. */
40641 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40643 #define readdir_r innocuous_readdir_r
40644
40645 /* System header to define __stub macros and hopefully few prototypes,
40646 which can conflict with char readdir_r (); below.
40647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40648 <limits.h> exists even on freestanding compilers. */
40649
40650 #ifdef __STDC__
40651 # include <limits.h>
40652 #else
40653 # include <assert.h>
40654 #endif
40655
40656 #undef readdir_r
40657
40658 /* Override any gcc2 internal prototype to avoid an error. */
40659 #ifdef __cplusplus
40660 extern "C"
40661 {
40662 #endif
40663 /* We use char because int might match the return type of a gcc2
40664 builtin and then its argument prototype would still apply. */
40665 char readdir_r ();
40666 /* The GNU C library defines this for functions which it implements
40667 to always fail with ENOSYS. Some functions are actually named
40668 something starting with __ and the normal name is an alias. */
40669 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40670 choke me
40671 #else
40672 char (*f) () = readdir_r;
40673 #endif
40674 #ifdef __cplusplus
40675 }
40676 #endif
40677
40678 int
40679 main ()
40680 {
40681 return f != readdir_r;
40682 ;
40683 return 0;
40684 }
40685 _ACEOF
40686 rm -f conftest.$ac_objext conftest$ac_exeext
40687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40688 (eval $ac_link) 2>conftest.er1
40689 ac_status=$?
40690 grep -v '^ *+' conftest.er1 >conftest.err
40691 rm -f conftest.er1
40692 cat conftest.err >&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); } &&
40695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40697 (eval $ac_try) 2>&5
40698 ac_status=$?
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); }; } &&
40701 { ac_try='test -s conftest$ac_exeext'
40702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40703 (eval $ac_try) 2>&5
40704 ac_status=$?
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); }; }; then
40707 ac_cv_func_readdir_r=yes
40708 else
40709 echo "$as_me: failed program was:" >&5
40710 sed 's/^/| /' conftest.$ac_ext >&5
40711
40712 ac_cv_func_readdir_r=no
40713 fi
40714 rm -f conftest.err conftest.$ac_objext \
40715 conftest$ac_exeext conftest.$ac_ext
40716 fi
40717 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40718 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40719 if test $ac_cv_func_readdir_r = yes; then
40720 cat >>confdefs.h <<\_ACEOF
40721 #define HAVE_READDIR_R 1
40722 _ACEOF
40723
40724 fi
40725
40726
40727
40728
40729 ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40734
40735 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40736 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40737
40738 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40739 echo $ECHO_N "(cached) $ECHO_C" >&6
40740 else
40741
40742
40743 ################################################################
40744
40745 ac_cv_func_which_gethostbyname_r=unknown
40746
40747 #
40748 # ONE ARGUMENT (sanity check)
40749 #
40750
40751 # This should fail, as there is no variant of gethostbyname_r() that takes
40752 # a single argument. If it actually compiles, then we can assume that
40753 # netdb.h is not declaring the function, and the compiler is thereby
40754 # assuming an implicit prototype. In which case, we're out of luck.
40755 #
40756 cat >conftest.$ac_ext <<_ACEOF
40757 /* confdefs.h. */
40758 _ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h. */
40762 #include <netdb.h>
40763 int
40764 main ()
40765 {
40766
40767 char *name = "www.gnu.org";
40768 (void)gethostbyname_r(name) /* ; */
40769
40770 ;
40771 return 0;
40772 }
40773 _ACEOF
40774 rm -f conftest.$ac_objext
40775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40776 (eval $ac_compile) 2>conftest.er1
40777 ac_status=$?
40778 grep -v '^ *+' conftest.er1 >conftest.err
40779 rm -f conftest.er1
40780 cat conftest.err >&5
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); } &&
40783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785 (eval $ac_try) 2>&5
40786 ac_status=$?
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); }; } &&
40789 { ac_try='test -s conftest.$ac_objext'
40790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40791 (eval $ac_try) 2>&5
40792 ac_status=$?
40793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794 (exit $ac_status); }; }; then
40795 ac_cv_func_which_gethostbyname_r=no
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800 fi
40801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40802
40803 #
40804 # SIX ARGUMENTS
40805 # (e.g. Linux)
40806 #
40807
40808 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40809
40810 cat >conftest.$ac_ext <<_ACEOF
40811 /* confdefs.h. */
40812 _ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816 #include <netdb.h>
40817 int
40818 main ()
40819 {
40820
40821 char *name = "www.gnu.org";
40822 struct hostent ret, *retp;
40823 char buf[1024];
40824 int buflen = 1024;
40825 int my_h_errno;
40826 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40827
40828 ;
40829 return 0;
40830 }
40831 _ACEOF
40832 rm -f conftest.$ac_objext
40833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40834 (eval $ac_compile) 2>conftest.er1
40835 ac_status=$?
40836 grep -v '^ *+' conftest.er1 >conftest.err
40837 rm -f conftest.er1
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } &&
40841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40843 (eval $ac_try) 2>&5
40844 ac_status=$?
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); }; } &&
40847 { ac_try='test -s conftest.$ac_objext'
40848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40849 (eval $ac_try) 2>&5
40850 ac_status=$?
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; }; then
40853 ac_cv_func_which_gethostbyname_r=six
40854 else
40855 echo "$as_me: failed program was:" >&5
40856 sed 's/^/| /' conftest.$ac_ext >&5
40857
40858 fi
40859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40860
40861 fi
40862
40863 #
40864 # FIVE ARGUMENTS
40865 # (e.g. Solaris)
40866 #
40867
40868 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40869
40870 cat >conftest.$ac_ext <<_ACEOF
40871 /* confdefs.h. */
40872 _ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876 #include <netdb.h>
40877 int
40878 main ()
40879 {
40880
40881 char *name = "www.gnu.org";
40882 struct hostent ret;
40883 char buf[1024];
40884 int buflen = 1024;
40885 int my_h_errno;
40886 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40887
40888 ;
40889 return 0;
40890 }
40891 _ACEOF
40892 rm -f conftest.$ac_objext
40893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40894 (eval $ac_compile) 2>conftest.er1
40895 ac_status=$?
40896 grep -v '^ *+' conftest.er1 >conftest.err
40897 rm -f conftest.er1
40898 cat conftest.err >&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); } &&
40901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40903 (eval $ac_try) 2>&5
40904 ac_status=$?
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); }; } &&
40907 { ac_try='test -s conftest.$ac_objext'
40908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40909 (eval $ac_try) 2>&5
40910 ac_status=$?
40911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40912 (exit $ac_status); }; }; then
40913 ac_cv_func_which_gethostbyname_r=five
40914 else
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40917
40918 fi
40919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40920
40921 fi
40922
40923 #
40924 # THREE ARGUMENTS
40925 # (e.g. AIX, HP-UX, Tru64)
40926 #
40927
40928 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40929
40930 cat >conftest.$ac_ext <<_ACEOF
40931 /* confdefs.h. */
40932 _ACEOF
40933 cat confdefs.h >>conftest.$ac_ext
40934 cat >>conftest.$ac_ext <<_ACEOF
40935 /* end confdefs.h. */
40936 #include <netdb.h>
40937 int
40938 main ()
40939 {
40940
40941 char *name = "www.gnu.org";
40942 struct hostent ret;
40943 struct hostent_data data;
40944 (void)gethostbyname_r(name, &ret, &data) /* ; */
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 ac_cv_func_which_gethostbyname_r=three
40972 else
40973 echo "$as_me: failed program was:" >&5
40974 sed 's/^/| /' conftest.$ac_ext >&5
40975
40976 fi
40977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40978
40979 fi
40980
40981 ################################################################
40982
40983
40984 fi
40985
40986 case "$ac_cv_func_which_gethostbyname_r" in
40987 three)
40988 echo "$as_me:$LINENO: result: three" >&5
40989 echo "${ECHO_T}three" >&6
40990 cat >>confdefs.h <<\_ACEOF
40991 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40992 _ACEOF
40993
40994 ;;
40995
40996 five)
40997 echo "$as_me:$LINENO: result: five" >&5
40998 echo "${ECHO_T}five" >&6
40999 cat >>confdefs.h <<\_ACEOF
41000 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41001 _ACEOF
41002
41003 ;;
41004
41005 six)
41006 echo "$as_me:$LINENO: result: six" >&5
41007 echo "${ECHO_T}six" >&6
41008 cat >>confdefs.h <<\_ACEOF
41009 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41010 _ACEOF
41011
41012 ;;
41013
41014 no)
41015 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41016 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41017 ;;
41018
41019 unknown)
41020 echo "$as_me:$LINENO: result: can't tell" >&5
41021 echo "${ECHO_T}can't tell" >&6
41022 ;;
41023
41024 *)
41025 { { echo "$as_me:$LINENO: error: internal error" >&5
41026 echo "$as_me: error: internal error" >&2;}
41027 { (exit 1); exit 1; }; }
41028 ;;
41029 esac
41030
41031 ac_ext=c
41032 ac_cpp='$CPP $CPPFLAGS'
41033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41036
41037
41038
41039 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41040 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41041 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41042 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41043 if test "${ac_cv_func_gethostbyname+set}" = set; then
41044 echo $ECHO_N "(cached) $ECHO_C" >&6
41045 else
41046 cat >conftest.$ac_ext <<_ACEOF
41047 /* confdefs.h. */
41048 _ACEOF
41049 cat confdefs.h >>conftest.$ac_ext
41050 cat >>conftest.$ac_ext <<_ACEOF
41051 /* end confdefs.h. */
41052 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41054 #define gethostbyname innocuous_gethostbyname
41055
41056 /* System header to define __stub macros and hopefully few prototypes,
41057 which can conflict with char gethostbyname (); below.
41058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41059 <limits.h> exists even on freestanding compilers. */
41060
41061 #ifdef __STDC__
41062 # include <limits.h>
41063 #else
41064 # include <assert.h>
41065 #endif
41066
41067 #undef gethostbyname
41068
41069 /* Override any gcc2 internal prototype to avoid an error. */
41070 #ifdef __cplusplus
41071 extern "C"
41072 {
41073 #endif
41074 /* We use char because int might match the return type of a gcc2
41075 builtin and then its argument prototype would still apply. */
41076 char gethostbyname ();
41077 /* The GNU C library defines this for functions which it implements
41078 to always fail with ENOSYS. Some functions are actually named
41079 something starting with __ and the normal name is an alias. */
41080 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41081 choke me
41082 #else
41083 char (*f) () = gethostbyname;
41084 #endif
41085 #ifdef __cplusplus
41086 }
41087 #endif
41088
41089 int
41090 main ()
41091 {
41092 return f != gethostbyname;
41093 ;
41094 return 0;
41095 }
41096 _ACEOF
41097 rm -f conftest.$ac_objext conftest$ac_exeext
41098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41099 (eval $ac_link) 2>conftest.er1
41100 ac_status=$?
41101 grep -v '^ *+' conftest.er1 >conftest.err
41102 rm -f conftest.er1
41103 cat conftest.err >&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); } &&
41106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41109 ac_status=$?
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; } &&
41112 { ac_try='test -s conftest$ac_exeext'
41113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41114 (eval $ac_try) 2>&5
41115 ac_status=$?
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); }; }; then
41118 ac_cv_func_gethostbyname=yes
41119 else
41120 echo "$as_me: failed program was:" >&5
41121 sed 's/^/| /' conftest.$ac_ext >&5
41122
41123 ac_cv_func_gethostbyname=no
41124 fi
41125 rm -f conftest.err conftest.$ac_objext \
41126 conftest$ac_exeext conftest.$ac_ext
41127 fi
41128 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41129 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41130 if test $ac_cv_func_gethostbyname = yes; then
41131 cat >>confdefs.h <<\_ACEOF
41132 #define HAVE_GETHOSTBYNAME 1
41133 _ACEOF
41134
41135 fi
41136
41137 fi
41138
41139 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41140 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41141 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41142 echo $ECHO_N "(cached) $ECHO_C" >&6
41143 else
41144
41145 ac_ext=cc
41146 ac_cpp='$CXXCPP $CPPFLAGS'
41147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41150
41151
41152 cat >conftest.$ac_ext <<_ACEOF
41153 /* confdefs.h. */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158 #include <netdb.h>
41159 int
41160 main ()
41161 {
41162
41163 char *name;
41164 char *proto;
41165 struct servent *se, *res;
41166 char buffer[2048];
41167 int buflen = 2048;
41168 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41169
41170 ;
41171 return 0;
41172 }
41173 _ACEOF
41174 rm -f conftest.$ac_objext
41175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41176 (eval $ac_compile) 2>conftest.er1
41177 ac_status=$?
41178 grep -v '^ *+' conftest.er1 >conftest.err
41179 rm -f conftest.er1
41180 cat conftest.err >&5
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); } &&
41183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41185 (eval $ac_try) 2>&5
41186 ac_status=$?
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); }; } &&
41189 { ac_try='test -s conftest.$ac_objext'
41190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41191 (eval $ac_try) 2>&5
41192 ac_status=$?
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); }; }; then
41195 ac_cv_func_which_getservbyname_r=six
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41199
41200
41201 cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 #include <netdb.h>
41208 int
41209 main ()
41210 {
41211
41212 char *name;
41213 char *proto;
41214 struct servent *se;
41215 char buffer[2048];
41216 int buflen = 2048;
41217 (void) getservbyname_r(name, proto, se, buffer, buflen)
41218
41219 ;
41220 return 0;
41221 }
41222 _ACEOF
41223 rm -f conftest.$ac_objext
41224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41225 (eval $ac_compile) 2>conftest.er1
41226 ac_status=$?
41227 grep -v '^ *+' conftest.er1 >conftest.err
41228 rm -f conftest.er1
41229 cat conftest.err >&5
41230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41231 (exit $ac_status); } &&
41232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41234 (eval $ac_try) 2>&5
41235 ac_status=$?
41236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41237 (exit $ac_status); }; } &&
41238 { ac_try='test -s conftest.$ac_objext'
41239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240 (eval $ac_try) 2>&5
41241 ac_status=$?
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); }; }; then
41244 ac_cv_func_which_getservbyname_r=five
41245 else
41246 echo "$as_me: failed program was:" >&5
41247 sed 's/^/| /' conftest.$ac_ext >&5
41248
41249
41250 cat >conftest.$ac_ext <<_ACEOF
41251 /* confdefs.h. */
41252 _ACEOF
41253 cat confdefs.h >>conftest.$ac_ext
41254 cat >>conftest.$ac_ext <<_ACEOF
41255 /* end confdefs.h. */
41256 #include <netdb.h>
41257 int
41258 main ()
41259 {
41260
41261 char *name;
41262 char *proto;
41263 struct servent *se;
41264 struct servent_data data;
41265 (void) getservbyname_r(name, proto, se, &data);
41266
41267 ;
41268 return 0;
41269 }
41270 _ACEOF
41271 rm -f conftest.$ac_objext
41272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41273 (eval $ac_compile) 2>conftest.er1
41274 ac_status=$?
41275 grep -v '^ *+' conftest.er1 >conftest.err
41276 rm -f conftest.er1
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } &&
41280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41282 (eval $ac_try) 2>&5
41283 ac_status=$?
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); }; } &&
41286 { ac_try='test -s conftest.$ac_objext'
41287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41288 (eval $ac_try) 2>&5
41289 ac_status=$?
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); }; }; then
41292 ac_cv_func_which_getservbyname_r=four
41293 else
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41296
41297 ac_cv_func_which_getservbyname_r=no
41298
41299 fi
41300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41301
41302
41303 fi
41304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41305
41306
41307 fi
41308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41309 ac_ext=c
41310 ac_cpp='$CPP $CPPFLAGS'
41311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41314
41315
41316
41317 fi
41318 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41319 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41320
41321 if test $ac_cv_func_which_getservbyname_r = six; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41324 _ACEOF
41325
41326 elif test $ac_cv_func_which_getservbyname_r = five; then
41327 cat >>confdefs.h <<\_ACEOF
41328 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41329 _ACEOF
41330
41331 elif test $ac_cv_func_which_getservbyname_r = four; then
41332 cat >>confdefs.h <<\_ACEOF
41333 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41334 _ACEOF
41335
41336 fi
41337
41338
41339 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41340 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41341
41342 for ac_func in getservbyname
41343 do
41344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41345 echo "$as_me:$LINENO: checking for $ac_func" >&5
41346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41347 if eval "test \"\${$as_ac_var+set}\" = set"; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350 cat >conftest.$ac_ext <<_ACEOF
41351 /* confdefs.h. */
41352 _ACEOF
41353 cat confdefs.h >>conftest.$ac_ext
41354 cat >>conftest.$ac_ext <<_ACEOF
41355 /* end confdefs.h. */
41356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41358 #define $ac_func innocuous_$ac_func
41359
41360 /* System header to define __stub macros and hopefully few prototypes,
41361 which can conflict with char $ac_func (); below.
41362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41363 <limits.h> exists even on freestanding compilers. */
41364
41365 #ifdef __STDC__
41366 # include <limits.h>
41367 #else
41368 # include <assert.h>
41369 #endif
41370
41371 #undef $ac_func
41372
41373 /* Override any gcc2 internal prototype to avoid an error. */
41374 #ifdef __cplusplus
41375 extern "C"
41376 {
41377 #endif
41378 /* We use char because int might match the return type of a gcc2
41379 builtin and then its argument prototype would still apply. */
41380 char $ac_func ();
41381 /* The GNU C library defines this for functions which it implements
41382 to always fail with ENOSYS. Some functions are actually named
41383 something starting with __ and the normal name is an alias. */
41384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41385 choke me
41386 #else
41387 char (*f) () = $ac_func;
41388 #endif
41389 #ifdef __cplusplus
41390 }
41391 #endif
41392
41393 int
41394 main ()
41395 {
41396 return f != $ac_func;
41397 ;
41398 return 0;
41399 }
41400 _ACEOF
41401 rm -f conftest.$ac_objext conftest$ac_exeext
41402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41403 (eval $ac_link) 2>conftest.er1
41404 ac_status=$?
41405 grep -v '^ *+' conftest.er1 >conftest.err
41406 rm -f conftest.er1
41407 cat conftest.err >&5
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); } &&
41410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
41416 { ac_try='test -s conftest$ac_exeext'
41417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41418 (eval $ac_try) 2>&5
41419 ac_status=$?
41420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41421 (exit $ac_status); }; }; then
41422 eval "$as_ac_var=yes"
41423 else
41424 echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.$ac_ext >&5
41426
41427 eval "$as_ac_var=no"
41428 fi
41429 rm -f conftest.err conftest.$ac_objext \
41430 conftest$ac_exeext conftest.$ac_ext
41431 fi
41432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41434 if test `eval echo '${'$as_ac_var'}'` = yes; then
41435 cat >>confdefs.h <<_ACEOF
41436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41437 _ACEOF
41438 cat >>confdefs.h <<\_ACEOF
41439 #define HAVE_GETSERVBYNAME 1
41440 _ACEOF
41441
41442 fi
41443 done
41444
41445 fi
41446
41447 if test "$wxUSE_THREADS" = "yes"; then
41448 cat >>confdefs.h <<\_ACEOF
41449 #define wxUSE_THREADS 1
41450 _ACEOF
41451
41452
41453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41454 else
41455 if test "$wx_cv_func_strtok_r" = "yes"; then
41456 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41457 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41458 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41459 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41460 echo "$as_me:$LINENO: result: yes" >&5
41461 echo "${ECHO_T}yes" >&6
41462 else
41463 echo "$as_me:$LINENO: result: no" >&5
41464 echo "${ECHO_T}no" >&6
41465 fi
41466 fi
41467 fi
41468
41469 if test "$WXGTK20" = 1 ; then
41470 cat >>confdefs.h <<_ACEOF
41471 #define __WXGTK20__ $WXGTK20
41472 _ACEOF
41473
41474 WXGTK12=1
41475 fi
41476
41477 if test "$WXGTK12" = 1 ; then
41478 cat >>confdefs.h <<_ACEOF
41479 #define __WXGTK12__ $WXGTK12
41480 _ACEOF
41481
41482 fi
41483
41484 if test "$WXGTK127" = 1 ; then
41485 cat >>confdefs.h <<_ACEOF
41486 #define __WXGTK127__ $WXGTK127
41487 _ACEOF
41488
41489 fi
41490
41491 if test "$WXGPE" = 1 ; then
41492 cat >>confdefs.h <<_ACEOF
41493 #define __WXGPE__ $WXGPE
41494 _ACEOF
41495
41496 fi
41497
41498 DEBUG_CFLAGS=
41499 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41500 DEBUG_CFLAGS="-g"
41501 wxUSE_OPTIMISE=no
41502 fi
41503
41504 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41505 wxUSE_DEBUG_INFO=yes
41506 if test "$GCC" = yes; then
41507 DEBUG_CFLAGS="-ggdb"
41508 fi
41509 fi
41510
41511 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41512 cat >>confdefs.h <<\_ACEOF
41513 #define WXDEBUG 1
41514 _ACEOF
41515
41516 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41517 else
41518 if test "$wxUSE_GTK" = 1 ; then
41519 if test "x$wxGTK_VERSION" = "x1" ; then
41520 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41521 fi
41522 fi
41523 fi
41524
41525 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41526 cat >>confdefs.h <<\_ACEOF
41527 #define wxUSE_MEMORY_TRACING 1
41528 _ACEOF
41529
41530 cat >>confdefs.h <<\_ACEOF
41531 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41532 _ACEOF
41533
41534 cat >>confdefs.h <<\_ACEOF
41535 #define wxUSE_DEBUG_NEW_ALWAYS 1
41536 _ACEOF
41537
41538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41539 fi
41540
41541 if test "$wxUSE_DMALLOC" = "yes" ; then
41542 DMALLOC_LIBS="-ldmallocthcxx"
41543 fi
41544
41545 PROFILE_FLAGS=
41546 if test "$wxUSE_PROFILE" = "yes" ; then
41547 PROFILE_FLAGS=" -pg"
41548 fi
41549
41550 if test "$GCC" = "yes" ; then
41551 if test "$wxUSE_NO_RTTI" = "yes" ; then
41552 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41553 fi
41554 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41555 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41556 fi
41557 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41558 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41559 fi
41560
41561 case "${host}" in
41562 powerpc*-*-aix* )
41563 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41564 ;;
41565 *-hppa* )
41566 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41567 ;;
41568 esac
41569 fi
41570
41571 OPTIMISE_CFLAGS=
41572 if test "$wxUSE_OPTIMISE" = "no" ; then
41573 if test "$GCC" = yes ; then
41574 OPTIMISE_CFLAGS="-O0"
41575 fi
41576 else
41577 if test "$GCC" = yes ; then
41578 case "${host}" in
41579 *-pc-os2_emx | *-pc-os2-emx )
41580 OPTIMISE_CFLAGS="-O2"
41581 ;;
41582 *)
41583 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41584 ;;
41585 esac
41586 else
41587 OPTIMISE_CFLAGS="-O"
41588 fi
41589 fi
41590
41591
41592 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define WXWIN_COMPATIBILITY_2_4 1
41595 _ACEOF
41596
41597
41598 WXWIN_COMPATIBILITY_2_6="yes"
41599 fi
41600
41601 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define WXWIN_COMPATIBILITY_2_6 1
41604 _ACEOF
41605
41606 fi
41607
41608
41609 if test "$wxUSE_GUI" = "yes"; then
41610 cat >>confdefs.h <<\_ACEOF
41611 #define wxUSE_GUI 1
41612 _ACEOF
41613
41614
41615 fi
41616
41617
41618 if test "$wxUSE_UNIX" = "yes"; then
41619 cat >>confdefs.h <<\_ACEOF
41620 #define wxUSE_UNIX 1
41621 _ACEOF
41622
41623 fi
41624
41625
41626 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41627
41628 HAVE_DL_FUNCS=0
41629 HAVE_SHL_FUNCS=0
41630 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41631 if test "$USE_DARWIN" = 1; then
41632 HAVE_DL_FUNCS=1
41633 elif test "$USE_DOS" = 1; then
41634 HAVE_DL_FUNCS=0
41635 else
41636
41637 for ac_func in dlopen
41638 do
41639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41640 echo "$as_me:$LINENO: checking for $ac_func" >&5
41641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41642 if eval "test \"\${$as_ac_var+set}\" = set"; then
41643 echo $ECHO_N "(cached) $ECHO_C" >&6
41644 else
41645 cat >conftest.$ac_ext <<_ACEOF
41646 /* confdefs.h. */
41647 _ACEOF
41648 cat confdefs.h >>conftest.$ac_ext
41649 cat >>conftest.$ac_ext <<_ACEOF
41650 /* end confdefs.h. */
41651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41653 #define $ac_func innocuous_$ac_func
41654
41655 /* System header to define __stub macros and hopefully few prototypes,
41656 which can conflict with char $ac_func (); below.
41657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41658 <limits.h> exists even on freestanding compilers. */
41659
41660 #ifdef __STDC__
41661 # include <limits.h>
41662 #else
41663 # include <assert.h>
41664 #endif
41665
41666 #undef $ac_func
41667
41668 /* Override any gcc2 internal prototype to avoid an error. */
41669 #ifdef __cplusplus
41670 extern "C"
41671 {
41672 #endif
41673 /* We use char because int might match the return type of a gcc2
41674 builtin and then its argument prototype would still apply. */
41675 char $ac_func ();
41676 /* The GNU C library defines this for functions which it implements
41677 to always fail with ENOSYS. Some functions are actually named
41678 something starting with __ and the normal name is an alias. */
41679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41680 choke me
41681 #else
41682 char (*f) () = $ac_func;
41683 #endif
41684 #ifdef __cplusplus
41685 }
41686 #endif
41687
41688 int
41689 main ()
41690 {
41691 return f != $ac_func;
41692 ;
41693 return 0;
41694 }
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41698 (eval $ac_link) 2>conftest.er1
41699 ac_status=$?
41700 grep -v '^ *+' conftest.er1 >conftest.err
41701 rm -f conftest.er1
41702 cat conftest.err >&5
41703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704 (exit $ac_status); } &&
41705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41707 (eval $ac_try) 2>&5
41708 ac_status=$?
41709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41710 (exit $ac_status); }; } &&
41711 { ac_try='test -s conftest$ac_exeext'
41712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41713 (eval $ac_try) 2>&5
41714 ac_status=$?
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); }; }; then
41717 eval "$as_ac_var=yes"
41718 else
41719 echo "$as_me: failed program was:" >&5
41720 sed 's/^/| /' conftest.$ac_ext >&5
41721
41722 eval "$as_ac_var=no"
41723 fi
41724 rm -f conftest.err conftest.$ac_objext \
41725 conftest$ac_exeext conftest.$ac_ext
41726 fi
41727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41729 if test `eval echo '${'$as_ac_var'}'` = yes; then
41730 cat >>confdefs.h <<_ACEOF
41731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41732 _ACEOF
41733
41734 cat >>confdefs.h <<\_ACEOF
41735 #define HAVE_DLOPEN 1
41736 _ACEOF
41737
41738 HAVE_DL_FUNCS=1
41739
41740 else
41741
41742 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41743 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41744 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41745 echo $ECHO_N "(cached) $ECHO_C" >&6
41746 else
41747 ac_check_lib_save_LIBS=$LIBS
41748 LIBS="-ldl $LIBS"
41749 cat >conftest.$ac_ext <<_ACEOF
41750 /* confdefs.h. */
41751 _ACEOF
41752 cat confdefs.h >>conftest.$ac_ext
41753 cat >>conftest.$ac_ext <<_ACEOF
41754 /* end confdefs.h. */
41755
41756 /* Override any gcc2 internal prototype to avoid an error. */
41757 #ifdef __cplusplus
41758 extern "C"
41759 #endif
41760 /* We use char because int might match the return type of a gcc2
41761 builtin and then its argument prototype would still apply. */
41762 char dlopen ();
41763 int
41764 main ()
41765 {
41766 dlopen ();
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 rm -f conftest.$ac_objext conftest$ac_exeext
41772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41773 (eval $ac_link) 2>conftest.er1
41774 ac_status=$?
41775 grep -v '^ *+' conftest.er1 >conftest.err
41776 rm -f conftest.er1
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } &&
41780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; } &&
41786 { ac_try='test -s conftest$ac_exeext'
41787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41788 (eval $ac_try) 2>&5
41789 ac_status=$?
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; }; then
41792 ac_cv_lib_dl_dlopen=yes
41793 else
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.$ac_ext >&5
41796
41797 ac_cv_lib_dl_dlopen=no
41798 fi
41799 rm -f conftest.err conftest.$ac_objext \
41800 conftest$ac_exeext conftest.$ac_ext
41801 LIBS=$ac_check_lib_save_LIBS
41802 fi
41803 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41804 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41805 if test $ac_cv_lib_dl_dlopen = yes; then
41806
41807 cat >>confdefs.h <<\_ACEOF
41808 #define HAVE_DLOPEN 1
41809 _ACEOF
41810
41811 HAVE_DL_FUNCS=1
41812 DL_LINK=" -ldl$DL_LINK"
41813
41814 else
41815
41816
41817 for ac_func in shl_load
41818 do
41819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41820 echo "$as_me:$LINENO: checking for $ac_func" >&5
41821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41822 if eval "test \"\${$as_ac_var+set}\" = set"; then
41823 echo $ECHO_N "(cached) $ECHO_C" >&6
41824 else
41825 cat >conftest.$ac_ext <<_ACEOF
41826 /* confdefs.h. */
41827 _ACEOF
41828 cat confdefs.h >>conftest.$ac_ext
41829 cat >>conftest.$ac_ext <<_ACEOF
41830 /* end confdefs.h. */
41831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41833 #define $ac_func innocuous_$ac_func
41834
41835 /* System header to define __stub macros and hopefully few prototypes,
41836 which can conflict with char $ac_func (); below.
41837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41838 <limits.h> exists even on freestanding compilers. */
41839
41840 #ifdef __STDC__
41841 # include <limits.h>
41842 #else
41843 # include <assert.h>
41844 #endif
41845
41846 #undef $ac_func
41847
41848 /* Override any gcc2 internal prototype to avoid an error. */
41849 #ifdef __cplusplus
41850 extern "C"
41851 {
41852 #endif
41853 /* We use char because int might match the return type of a gcc2
41854 builtin and then its argument prototype would still apply. */
41855 char $ac_func ();
41856 /* The GNU C library defines this for functions which it implements
41857 to always fail with ENOSYS. Some functions are actually named
41858 something starting with __ and the normal name is an alias. */
41859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41860 choke me
41861 #else
41862 char (*f) () = $ac_func;
41863 #endif
41864 #ifdef __cplusplus
41865 }
41866 #endif
41867
41868 int
41869 main ()
41870 {
41871 return f != $ac_func;
41872 ;
41873 return 0;
41874 }
41875 _ACEOF
41876 rm -f conftest.$ac_objext conftest$ac_exeext
41877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41878 (eval $ac_link) 2>conftest.er1
41879 ac_status=$?
41880 grep -v '^ *+' conftest.er1 >conftest.err
41881 rm -f conftest.er1
41882 cat conftest.err >&5
41883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41884 (exit $ac_status); } &&
41885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41888 ac_status=$?
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; } &&
41891 { ac_try='test -s conftest$ac_exeext'
41892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893 (eval $ac_try) 2>&5
41894 ac_status=$?
41895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896 (exit $ac_status); }; }; then
41897 eval "$as_ac_var=yes"
41898 else
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.$ac_ext >&5
41901
41902 eval "$as_ac_var=no"
41903 fi
41904 rm -f conftest.err conftest.$ac_objext \
41905 conftest$ac_exeext conftest.$ac_ext
41906 fi
41907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41909 if test `eval echo '${'$as_ac_var'}'` = yes; then
41910 cat >>confdefs.h <<_ACEOF
41911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41912 _ACEOF
41913
41914 cat >>confdefs.h <<\_ACEOF
41915 #define HAVE_SHL_LOAD 1
41916 _ACEOF
41917
41918 HAVE_SHL_FUNCS=1
41919
41920 else
41921
41922 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41923 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41924 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41925 echo $ECHO_N "(cached) $ECHO_C" >&6
41926 else
41927 ac_check_lib_save_LIBS=$LIBS
41928 LIBS="-lshl_load $LIBS"
41929 cat >conftest.$ac_ext <<_ACEOF
41930 /* confdefs.h. */
41931 _ACEOF
41932 cat confdefs.h >>conftest.$ac_ext
41933 cat >>conftest.$ac_ext <<_ACEOF
41934 /* end confdefs.h. */
41935
41936 /* Override any gcc2 internal prototype to avoid an error. */
41937 #ifdef __cplusplus
41938 extern "C"
41939 #endif
41940 /* We use char because int might match the return type of a gcc2
41941 builtin and then its argument prototype would still apply. */
41942 char dld ();
41943 int
41944 main ()
41945 {
41946 dld ();
41947 ;
41948 return 0;
41949 }
41950 _ACEOF
41951 rm -f conftest.$ac_objext conftest$ac_exeext
41952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41953 (eval $ac_link) 2>conftest.er1
41954 ac_status=$?
41955 grep -v '^ *+' conftest.er1 >conftest.err
41956 rm -f conftest.er1
41957 cat conftest.err >&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); } &&
41960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41962 (eval $ac_try) 2>&5
41963 ac_status=$?
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); }; } &&
41966 { ac_try='test -s conftest$ac_exeext'
41967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41968 (eval $ac_try) 2>&5
41969 ac_status=$?
41970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41971 (exit $ac_status); }; }; then
41972 ac_cv_lib_shl_load_dld=yes
41973 else
41974 echo "$as_me: failed program was:" >&5
41975 sed 's/^/| /' conftest.$ac_ext >&5
41976
41977 ac_cv_lib_shl_load_dld=no
41978 fi
41979 rm -f conftest.err conftest.$ac_objext \
41980 conftest$ac_exeext conftest.$ac_ext
41981 LIBS=$ac_check_lib_save_LIBS
41982 fi
41983 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41984 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41985 if test $ac_cv_lib_shl_load_dld = yes; then
41986
41987 HAVE_SHL_FUNCS=1
41988 DL_LINK=" -ldld$DL_LINK"
41989
41990 fi
41991
41992
41993 fi
41994 done
41995
41996
41997 fi
41998
41999
42000 fi
42001 done
42002
42003
42004 if test "$HAVE_DL_FUNCS" = 1; then
42005
42006 for ac_func in dlerror
42007 do
42008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42009 echo "$as_me:$LINENO: checking for $ac_func" >&5
42010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42011 if eval "test \"\${$as_ac_var+set}\" = set"; then
42012 echo $ECHO_N "(cached) $ECHO_C" >&6
42013 else
42014 cat >conftest.$ac_ext <<_ACEOF
42015 /* confdefs.h. */
42016 _ACEOF
42017 cat confdefs.h >>conftest.$ac_ext
42018 cat >>conftest.$ac_ext <<_ACEOF
42019 /* end confdefs.h. */
42020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42022 #define $ac_func innocuous_$ac_func
42023
42024 /* System header to define __stub macros and hopefully few prototypes,
42025 which can conflict with char $ac_func (); below.
42026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42027 <limits.h> exists even on freestanding compilers. */
42028
42029 #ifdef __STDC__
42030 # include <limits.h>
42031 #else
42032 # include <assert.h>
42033 #endif
42034
42035 #undef $ac_func
42036
42037 /* Override any gcc2 internal prototype to avoid an error. */
42038 #ifdef __cplusplus
42039 extern "C"
42040 {
42041 #endif
42042 /* We use char because int might match the return type of a gcc2
42043 builtin and then its argument prototype would still apply. */
42044 char $ac_func ();
42045 /* The GNU C library defines this for functions which it implements
42046 to always fail with ENOSYS. Some functions are actually named
42047 something starting with __ and the normal name is an alias. */
42048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42049 choke me
42050 #else
42051 char (*f) () = $ac_func;
42052 #endif
42053 #ifdef __cplusplus
42054 }
42055 #endif
42056
42057 int
42058 main ()
42059 {
42060 return f != $ac_func;
42061 ;
42062 return 0;
42063 }
42064 _ACEOF
42065 rm -f conftest.$ac_objext conftest$ac_exeext
42066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42067 (eval $ac_link) 2>conftest.er1
42068 ac_status=$?
42069 grep -v '^ *+' conftest.er1 >conftest.err
42070 rm -f conftest.er1
42071 cat conftest.err >&5
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); } &&
42074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42076 (eval $ac_try) 2>&5
42077 ac_status=$?
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); }; } &&
42080 { ac_try='test -s conftest$ac_exeext'
42081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42082 (eval $ac_try) 2>&5
42083 ac_status=$?
42084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085 (exit $ac_status); }; }; then
42086 eval "$as_ac_var=yes"
42087 else
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42090
42091 eval "$as_ac_var=no"
42092 fi
42093 rm -f conftest.err conftest.$ac_objext \
42094 conftest$ac_exeext conftest.$ac_ext
42095 fi
42096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42098 if test `eval echo '${'$as_ac_var'}'` = yes; then
42099 cat >>confdefs.h <<_ACEOF
42100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42101 _ACEOF
42102 cat >>confdefs.h <<\_ACEOF
42103 #define HAVE_DLERROR 1
42104 _ACEOF
42105
42106 else
42107
42108 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42109 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42110 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42111 echo $ECHO_N "(cached) $ECHO_C" >&6
42112 else
42113 ac_check_lib_save_LIBS=$LIBS
42114 LIBS="-ldl $LIBS"
42115 cat >conftest.$ac_ext <<_ACEOF
42116 /* confdefs.h. */
42117 _ACEOF
42118 cat confdefs.h >>conftest.$ac_ext
42119 cat >>conftest.$ac_ext <<_ACEOF
42120 /* end confdefs.h. */
42121
42122 /* Override any gcc2 internal prototype to avoid an error. */
42123 #ifdef __cplusplus
42124 extern "C"
42125 #endif
42126 /* We use char because int might match the return type of a gcc2
42127 builtin and then its argument prototype would still apply. */
42128 char dlerror ();
42129 int
42130 main ()
42131 {
42132 dlerror ();
42133 ;
42134 return 0;
42135 }
42136 _ACEOF
42137 rm -f conftest.$ac_objext conftest$ac_exeext
42138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42139 (eval $ac_link) 2>conftest.er1
42140 ac_status=$?
42141 grep -v '^ *+' conftest.er1 >conftest.err
42142 rm -f conftest.er1
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } &&
42146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42148 (eval $ac_try) 2>&5
42149 ac_status=$?
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); }; } &&
42152 { ac_try='test -s conftest$ac_exeext'
42153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42154 (eval $ac_try) 2>&5
42155 ac_status=$?
42156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42157 (exit $ac_status); }; }; then
42158 ac_cv_lib_dl_dlerror=yes
42159 else
42160 echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.$ac_ext >&5
42162
42163 ac_cv_lib_dl_dlerror=no
42164 fi
42165 rm -f conftest.err conftest.$ac_objext \
42166 conftest$ac_exeext conftest.$ac_ext
42167 LIBS=$ac_check_lib_save_LIBS
42168 fi
42169 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42170 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42171 if test $ac_cv_lib_dl_dlerror = yes; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define HAVE_DLERROR 1
42174 _ACEOF
42175
42176 fi
42177
42178
42179
42180 fi
42181 done
42182
42183 fi
42184 fi
42185
42186 if test "$HAVE_DL_FUNCS" = 0; then
42187 if test "$HAVE_SHL_FUNCS" = 0; then
42188 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42189 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42190 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42191 wxUSE_DYNAMIC_LOADER=no
42192 wxUSE_DYNLIB_CLASS=no
42193 else
42194 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42195 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42196 fi
42197 fi
42198 fi
42199 fi
42200 fi
42201
42202 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42203 cat >>confdefs.h <<\_ACEOF
42204 #define wxUSE_DYNAMIC_LOADER 1
42205 _ACEOF
42206
42207 fi
42208 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_DYNLIB_CLASS 1
42211 _ACEOF
42212
42213 fi
42214
42215
42216
42217 if test "$wxUSE_PLUGINS" = "yes" ; then
42218 if test "$wxUSE_SHARED" = "no" ; then
42219 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42220 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42221 wxUSE_PLUGINS=no
42222 fi
42223 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42224 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42225 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42226 wxUSE_PLUGINS=no
42227 fi
42228 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42229 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42230 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42231 wxUSE_PLUGINS=no
42232 fi
42233 if test "$wxUSE_PLUGINS" = "yes" ; then
42234 cat >>confdefs.h <<\_ACEOF
42235 #define wxUSE_PLUGINS 1
42236 _ACEOF
42237
42238 fi
42239 fi
42240
42241
42242 if test "$wxUSE_STL" = "yes"; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define wxUSE_STL 1
42245 _ACEOF
42246
42247 fi
42248
42249 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define wxUSE_APPLE_IEEE 1
42252 _ACEOF
42253
42254 fi
42255
42256 if test "$wxUSE_TIMER" = "yes"; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_TIMER 1
42259 _ACEOF
42260
42261 fi
42262
42263 if test "$USE_UNIX" = "1" ; then
42264 if test "$wxUSE_MGL" != 1; then
42265 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42266 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42267 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 else
42270
42271 cat >conftest.$ac_ext <<_ACEOF
42272 /* confdefs.h. */
42273 _ACEOF
42274 cat confdefs.h >>conftest.$ac_ext
42275 cat >>conftest.$ac_ext <<_ACEOF
42276 /* end confdefs.h. */
42277
42278 #include <sys/ioctl.h>
42279 #include <sys/soundcard.h>
42280
42281 int
42282 main ()
42283 {
42284
42285 ioctl(0, SNDCTL_DSP_SPEED, 0);
42286
42287 ;
42288 return 0;
42289 }
42290 _ACEOF
42291 rm -f conftest.$ac_objext conftest$ac_exeext
42292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42293 (eval $ac_link) 2>conftest.er1
42294 ac_status=$?
42295 grep -v '^ *+' conftest.er1 >conftest.err
42296 rm -f conftest.er1
42297 cat conftest.err >&5
42298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42299 (exit $ac_status); } &&
42300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42302 (eval $ac_try) 2>&5
42303 ac_status=$?
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); }; } &&
42306 { ac_try='test -s conftest$ac_exeext'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42309 ac_status=$?
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; }; then
42312 ac_cv_header_sys_soundcard=yes
42313 else
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.$ac_ext >&5
42316
42317
42318 saveLibs="$LIBS"
42319 LIBS="$saveLibs -lossaudio"
42320 cat >conftest.$ac_ext <<_ACEOF
42321 /* confdefs.h. */
42322 _ACEOF
42323 cat confdefs.h >>conftest.$ac_ext
42324 cat >>conftest.$ac_ext <<_ACEOF
42325 /* end confdefs.h. */
42326
42327 #include <sys/ioctl.h>
42328 #include <sys/soundcard.h>
42329
42330 int
42331 main ()
42332 {
42333
42334 ioctl(0, SNDCTL_DSP_SPEED, 0);
42335
42336 ;
42337 return 0;
42338 }
42339 _ACEOF
42340 rm -f conftest.$ac_objext conftest$ac_exeext
42341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42342 (eval $ac_link) 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } &&
42349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
42355 { ac_try='test -s conftest$ac_exeext'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; }; then
42361 ac_cv_header_sys_soundcard=yes
42362 else
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.$ac_ext >&5
42365
42366
42367 LIBS="$saveLibs"
42368 ac_cv_header_sys_soundcard=no
42369
42370
42371 fi
42372 rm -f conftest.err conftest.$ac_objext \
42373 conftest$ac_exeext conftest.$ac_ext
42374
42375
42376 fi
42377 rm -f conftest.err conftest.$ac_objext \
42378 conftest$ac_exeext conftest.$ac_ext
42379
42380 fi
42381 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42382 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42383 fi
42384
42385 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42386 cat >>confdefs.h <<\_ACEOF
42387 #define HAVE_SYS_SOUNDCARD_H 1
42388 _ACEOF
42389
42390 else
42391 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42392 fi
42393 fi
42394
42395 WITH_PLUGIN_SDL=0
42396 if test "$wxUSE_SOUND" = "yes"; then
42397 if test "$USE_UNIX" = "1" ; then
42398 if test "$wxUSE_LIBSDL" != "no"; then
42399
42400 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42401 if test "${with_sdl_prefix+set}" = set; then
42402 withval="$with_sdl_prefix"
42403 sdl_prefix="$withval"
42404 else
42405 sdl_prefix=""
42406 fi;
42407
42408 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42409 if test "${with_sdl_exec_prefix+set}" = set; then
42410 withval="$with_sdl_exec_prefix"
42411 sdl_exec_prefix="$withval"
42412 else
42413 sdl_exec_prefix=""
42414 fi;
42415 # Check whether --enable-sdltest or --disable-sdltest was given.
42416 if test "${enable_sdltest+set}" = set; then
42417 enableval="$enable_sdltest"
42418
42419 else
42420 enable_sdltest=yes
42421 fi;
42422
42423 if test x$sdl_exec_prefix != x ; then
42424 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42425 if test x${SDL_CONFIG+set} != xset ; then
42426 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42427 fi
42428 fi
42429 if test x$sdl_prefix != x ; then
42430 sdl_args="$sdl_args --prefix=$sdl_prefix"
42431 if test x${SDL_CONFIG+set} != xset ; then
42432 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42433 fi
42434 fi
42435
42436 if test "x$prefix" != xNONE; then
42437 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42438 fi
42439 # Extract the first word of "sdl-config", so it can be a program name with args.
42440 set dummy sdl-config; ac_word=$2
42441 echo "$as_me:$LINENO: checking for $ac_word" >&5
42442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42443 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42444 echo $ECHO_N "(cached) $ECHO_C" >&6
42445 else
42446 case $SDL_CONFIG in
42447 [\\/]* | ?:[\\/]*)
42448 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42449 ;;
42450 *)
42451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42452 for as_dir in $PATH
42453 do
42454 IFS=$as_save_IFS
42455 test -z "$as_dir" && as_dir=.
42456 for ac_exec_ext in '' $ac_executable_extensions; do
42457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42458 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42460 break 2
42461 fi
42462 done
42463 done
42464
42465 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42466 ;;
42467 esac
42468 fi
42469 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42470
42471 if test -n "$SDL_CONFIG"; then
42472 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42473 echo "${ECHO_T}$SDL_CONFIG" >&6
42474 else
42475 echo "$as_me:$LINENO: result: no" >&5
42476 echo "${ECHO_T}no" >&6
42477 fi
42478
42479 min_sdl_version=1.2.0
42480 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42481 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42482 no_sdl=""
42483 if test "$SDL_CONFIG" = "no" ; then
42484 no_sdl=yes
42485 else
42486 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42487 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42488
42489 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42491 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42493 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42495 if test "x$enable_sdltest" = "xyes" ; then
42496 ac_save_CFLAGS="$CFLAGS"
42497 ac_save_CXXFLAGS="$CXXFLAGS"
42498 ac_save_LIBS="$LIBS"
42499 CFLAGS="$CFLAGS $SDL_CFLAGS"
42500 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42501 LIBS="$LIBS $SDL_LIBS"
42502 rm -f conf.sdltest
42503 if test "$cross_compiling" = yes; then
42504 echo $ac_n "cross compiling; assumed OK... $ac_c"
42505 else
42506 cat >conftest.$ac_ext <<_ACEOF
42507 /* confdefs.h. */
42508 _ACEOF
42509 cat confdefs.h >>conftest.$ac_ext
42510 cat >>conftest.$ac_ext <<_ACEOF
42511 /* end confdefs.h. */
42512
42513 #include <stdio.h>
42514 #include <stdlib.h>
42515 #include <string.h>
42516 #include "SDL.h"
42517
42518 char*
42519 my_strdup (char *str)
42520 {
42521 char *new_str;
42522
42523 if (str)
42524 {
42525 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42526 strcpy (new_str, str);
42527 }
42528 else
42529 new_str = NULL;
42530
42531 return new_str;
42532 }
42533
42534 int main (int argc, char *argv[])
42535 {
42536 int major, minor, micro;
42537 char *tmp_version;
42538
42539 /* This hangs on some systems (?)
42540 system ("touch conf.sdltest");
42541 */
42542 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42543
42544 /* HP/UX 9 (%@#!) writes to sscanf strings */
42545 tmp_version = my_strdup("$min_sdl_version");
42546 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42547 printf("%s, bad version string\n", "$min_sdl_version");
42548 exit(1);
42549 }
42550
42551 if (($sdl_major_version > major) ||
42552 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42553 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42554 {
42555 return 0;
42556 }
42557 else
42558 {
42559 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42560 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42561 printf("*** best to upgrade to the required version.\n");
42562 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42563 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42564 printf("*** config.cache before re-running configure\n");
42565 return 1;
42566 }
42567 }
42568
42569
42570 _ACEOF
42571 rm -f conftest$ac_exeext
42572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42573 (eval $ac_link) 2>&5
42574 ac_status=$?
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42578 (eval $ac_try) 2>&5
42579 ac_status=$?
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); }; }; then
42582 :
42583 else
42584 echo "$as_me: program exited with status $ac_status" >&5
42585 echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42587
42588 ( exit $ac_status )
42589 no_sdl=yes
42590 fi
42591 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42592 fi
42593 CFLAGS="$ac_save_CFLAGS"
42594 CXXFLAGS="$ac_save_CXXFLAGS"
42595 LIBS="$ac_save_LIBS"
42596 fi
42597 fi
42598 if test "x$no_sdl" = x ; then
42599 echo "$as_me:$LINENO: result: yes" >&5
42600 echo "${ECHO_T}yes" >&6
42601
42602 EXTRALIBS_SDL="$SDL_LIBS"
42603 CFLAGS="$SDL_CFLAGS $CFLAGS"
42604 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42605 cat >>confdefs.h <<\_ACEOF
42606 #define wxUSE_LIBSDL 1
42607 _ACEOF
42608
42609
42610 else
42611 echo "$as_me:$LINENO: result: no" >&5
42612 echo "${ECHO_T}no" >&6
42613 if test "$SDL_CONFIG" = "no" ; then
42614 echo "*** The sdl-config script installed by SDL could not be found"
42615 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42616 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42617 echo "*** full path to sdl-config."
42618 else
42619 if test -f conf.sdltest ; then
42620 :
42621 else
42622 echo "*** Could not run SDL test program, checking why..."
42623 CFLAGS="$CFLAGS $SDL_CFLAGS"
42624 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42625 LIBS="$LIBS $SDL_LIBS"
42626 cat >conftest.$ac_ext <<_ACEOF
42627 /* confdefs.h. */
42628 _ACEOF
42629 cat confdefs.h >>conftest.$ac_ext
42630 cat >>conftest.$ac_ext <<_ACEOF
42631 /* end confdefs.h. */
42632
42633 #include <stdio.h>
42634 #include "SDL.h"
42635
42636 int main(int argc, char *argv[])
42637 { return 0; }
42638 #undef main
42639 #define main K_and_R_C_main
42640
42641 int
42642 main ()
42643 {
42644 return 0;
42645 ;
42646 return 0;
42647 }
42648 _ACEOF
42649 rm -f conftest.$ac_objext conftest$ac_exeext
42650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42651 (eval $ac_link) 2>conftest.er1
42652 ac_status=$?
42653 grep -v '^ *+' conftest.er1 >conftest.err
42654 rm -f conftest.er1
42655 cat conftest.err >&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); } &&
42658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; } &&
42664 { ac_try='test -s conftest$ac_exeext'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42667 ac_status=$?
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; }; then
42670 echo "*** The test program compiled, but did not run. This usually means"
42671 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42672 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42673 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42674 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42675 echo "*** is required on your system"
42676 echo "***"
42677 echo "*** If you have an old version installed, it is best to remove it, although"
42678 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42679 else
42680 echo "$as_me: failed program was:" >&5
42681 sed 's/^/| /' conftest.$ac_ext >&5
42682
42683 echo "*** The test program failed to compile or link. See the file config.log for the"
42684 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42685 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42686 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42687 fi
42688 rm -f conftest.err conftest.$ac_objext \
42689 conftest$ac_exeext conftest.$ac_ext
42690 CFLAGS="$ac_save_CFLAGS"
42691 CXXFLAGS="$ac_save_CXXFLAGS"
42692 LIBS="$ac_save_LIBS"
42693 fi
42694 fi
42695 SDL_CFLAGS=""
42696 SDL_LIBS=""
42697 wxUSE_LIBSDL="no"
42698 fi
42699
42700
42701 rm -f conf.sdltest
42702
42703 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42704 WITH_PLUGIN_SDL=1
42705 fi
42706 fi
42707 else
42708 if test "$wxUSE_MGL" = 1; then
42709 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42710 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42711 wxUSE_SOUND="no"
42712 fi
42713 fi
42714 fi
42715
42716 if test "$wxUSE_SOUND" = "yes"; then
42717 cat >>confdefs.h <<\_ACEOF
42718 #define wxUSE_SOUND 1
42719 _ACEOF
42720
42721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42722 fi
42723
42724 if test "$WXGTK20" = 1; then
42725
42726
42727 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42728 if test -n "$ac_tool_prefix"; then
42729 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42730 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42731 echo "$as_me:$LINENO: checking for $ac_word" >&5
42732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42733 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42735 else
42736 case $PKG_CONFIG in
42737 [\\/]* | ?:[\\/]*)
42738 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42739 ;;
42740 *)
42741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42742 for as_dir in $PATH
42743 do
42744 IFS=$as_save_IFS
42745 test -z "$as_dir" && as_dir=.
42746 for ac_exec_ext in '' $ac_executable_extensions; do
42747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42748 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42750 break 2
42751 fi
42752 done
42753 done
42754
42755 ;;
42756 esac
42757 fi
42758 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42759
42760 if test -n "$PKG_CONFIG"; then
42761 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42762 echo "${ECHO_T}$PKG_CONFIG" >&6
42763 else
42764 echo "$as_me:$LINENO: result: no" >&5
42765 echo "${ECHO_T}no" >&6
42766 fi
42767
42768 fi
42769 if test -z "$ac_cv_path_PKG_CONFIG"; then
42770 ac_pt_PKG_CONFIG=$PKG_CONFIG
42771 # Extract the first word of "pkg-config", so it can be a program name with args.
42772 set dummy pkg-config; ac_word=$2
42773 echo "$as_me:$LINENO: checking for $ac_word" >&5
42774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42775 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42776 echo $ECHO_N "(cached) $ECHO_C" >&6
42777 else
42778 case $ac_pt_PKG_CONFIG in
42779 [\\/]* | ?:[\\/]*)
42780 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42781 ;;
42782 *)
42783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42784 for as_dir in $PATH
42785 do
42786 IFS=$as_save_IFS
42787 test -z "$as_dir" && as_dir=.
42788 for ac_exec_ext in '' $ac_executable_extensions; do
42789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42790 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42792 break 2
42793 fi
42794 done
42795 done
42796
42797 ;;
42798 esac
42799 fi
42800 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42801
42802 if test -n "$ac_pt_PKG_CONFIG"; then
42803 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42804 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
42805 else
42806 echo "$as_me:$LINENO: result: no" >&5
42807 echo "${ECHO_T}no" >&6
42808 fi
42809
42810 PKG_CONFIG=$ac_pt_PKG_CONFIG
42811 else
42812 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42813 fi
42814
42815 fi
42816 if test -n "$PKG_CONFIG"; then
42817 _pkg_min_version=0.9.0
42818 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42819 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
42820 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42821 echo "$as_me:$LINENO: result: yes" >&5
42822 echo "${ECHO_T}yes" >&6
42823 else
42824 echo "$as_me:$LINENO: result: no" >&5
42825 echo "${ECHO_T}no" >&6
42826 PKG_CONFIG=""
42827 fi
42828
42829 fi
42830
42831 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42832 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42833
42834
42835 pkg_failed=no
42836 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42837 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42838
42839 if test -n "$PKG_CONFIG"; then
42840 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42841 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42842 else
42843 if test -n "$PKG_CONFIG" && \
42844 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42845 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42846 ac_status=$?
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); }; then
42849 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42850 else
42851 pkg_failed=yes
42852 fi
42853 fi
42854 else
42855 pkg_failed=untried
42856 fi
42857 if test -n "$PKG_CONFIG"; then
42858 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42859 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42860 else
42861 if test -n "$PKG_CONFIG" && \
42862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42863 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42864 ac_status=$?
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; then
42867 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42868 else
42869 pkg_failed=yes
42870 fi
42871 fi
42872 else
42873 pkg_failed=untried
42874 fi
42875
42876
42877
42878 if test $pkg_failed = yes; then
42879
42880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42881 _pkg_short_errors_supported=yes
42882 else
42883 _pkg_short_errors_supported=no
42884 fi
42885 if test $_pkg_short_errors_supported = yes; then
42886 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42887 else
42888 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42889 fi
42890 # Put the nasty error message in config.log where it belongs
42891 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42892
42893
42894 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42895 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42896 wxUSE_LIBGNOMEPRINT="no"
42897
42898
42899 elif test $pkg_failed = untried; then
42900
42901 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42902 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42903 wxUSE_LIBGNOMEPRINT="no"
42904
42905
42906 else
42907 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42908 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42909 echo "$as_me:$LINENO: result: yes" >&5
42910 echo "${ECHO_T}yes" >&6
42911
42912 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42913 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42914 cat >>confdefs.h <<\_ACEOF
42915 #define wxUSE_LIBGNOMEPRINT 1
42916 _ACEOF
42917
42918
42919 fi
42920 fi
42921 fi
42922
42923 if test "$wxUSE_MIMETYPE" = "yes" ; then
42924 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42925
42926
42927 pkg_failed=no
42928 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42929 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42930
42931 if test -n "$PKG_CONFIG"; then
42932 if test -n "$GNOMEVFS_CFLAGS"; then
42933 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42934 else
42935 if test -n "$PKG_CONFIG" && \
42936 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42937 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42938 ac_status=$?
42939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42940 (exit $ac_status); }; then
42941 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42942 else
42943 pkg_failed=yes
42944 fi
42945 fi
42946 else
42947 pkg_failed=untried
42948 fi
42949 if test -n "$PKG_CONFIG"; then
42950 if test -n "$GNOMEVFS_LIBS"; then
42951 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42952 else
42953 if test -n "$PKG_CONFIG" && \
42954 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42955 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42956 ac_status=$?
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); }; then
42959 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42960 else
42961 pkg_failed=yes
42962 fi
42963 fi
42964 else
42965 pkg_failed=untried
42966 fi
42967
42968
42969
42970 if test $pkg_failed = yes; then
42971
42972 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42973 _pkg_short_errors_supported=yes
42974 else
42975 _pkg_short_errors_supported=no
42976 fi
42977 if test $_pkg_short_errors_supported = yes; then
42978 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42979 else
42980 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42981 fi
42982 # Put the nasty error message in config.log where it belongs
42983 echo "$GNOMEVFS_PKG_ERRORS" >&5
42984
42985
42986 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42987 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42988 wxUSE_LIBGNOMEVFS="no"
42989
42990
42991 elif test $pkg_failed = untried; then
42992
42993 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42994 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42995 wxUSE_LIBGNOMEVFS="no"
42996
42997
42998 else
42999 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43000 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43001 echo "$as_me:$LINENO: result: yes" >&5
43002 echo "${ECHO_T}yes" >&6
43003
43004 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43005 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43006 cat >>confdefs.h <<\_ACEOF
43007 #define wxUSE_LIBGNOMEVFS 1
43008 _ACEOF
43009
43010
43011 fi
43012 fi
43013 fi
43014
43015 if test "$wxUSE_LIBHILDON" = "yes" ; then
43016
43017 pkg_failed=no
43018 echo "$as_me:$LINENO: checking for HILDON" >&5
43019 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43020
43021 if test -n "$PKG_CONFIG"; then
43022 if test -n "$HILDON_CFLAGS"; then
43023 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43024 else
43025 if test -n "$PKG_CONFIG" && \
43026 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43027 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43028 ac_status=$?
43029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43030 (exit $ac_status); }; then
43031 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43032 else
43033 pkg_failed=yes
43034 fi
43035 fi
43036 else
43037 pkg_failed=untried
43038 fi
43039 if test -n "$PKG_CONFIG"; then
43040 if test -n "$HILDON_LIBS"; then
43041 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43042 else
43043 if test -n "$PKG_CONFIG" && \
43044 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43045 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43046 ac_status=$?
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; then
43049 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43050 else
43051 pkg_failed=yes
43052 fi
43053 fi
43054 else
43055 pkg_failed=untried
43056 fi
43057
43058
43059
43060 if test $pkg_failed = yes; then
43061
43062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43063 _pkg_short_errors_supported=yes
43064 else
43065 _pkg_short_errors_supported=no
43066 fi
43067 if test $_pkg_short_errors_supported = yes; then
43068 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43069 else
43070 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43071 fi
43072 # Put the nasty error message in config.log where it belongs
43073 echo "$HILDON_PKG_ERRORS" >&5
43074
43075
43076 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43077 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43078 wxUSE_LIBHILDON="no"
43079
43080
43081 elif test $pkg_failed = untried; then
43082
43083 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43084 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43085 wxUSE_LIBHILDON="no"
43086
43087
43088 else
43089 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43090 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43091 echo "$as_me:$LINENO: result: yes" >&5
43092 echo "${ECHO_T}yes" >&6
43093
43094 EXTRALIBS_HILDON="$HILDON_LIBS"
43095 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43096 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_LIBHILDON 1
43099 _ACEOF
43100
43101
43102 fi
43103 fi
43104 fi
43105
43106 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43107 cat >>confdefs.h <<\_ACEOF
43108 #define wxUSE_CMDLINE_PARSER 1
43109 _ACEOF
43110
43111 fi
43112
43113 if test "$wxUSE_STOPWATCH" = "yes"; then
43114 cat >>confdefs.h <<\_ACEOF
43115 #define wxUSE_STOPWATCH 1
43116 _ACEOF
43117
43118 fi
43119
43120 if test "$wxUSE_DATETIME" = "yes"; then
43121 cat >>confdefs.h <<\_ACEOF
43122 #define wxUSE_DATETIME 1
43123 _ACEOF
43124
43125 fi
43126
43127 if test "$wxUSE_FILE" = "yes"; then
43128 cat >>confdefs.h <<\_ACEOF
43129 #define wxUSE_FILE 1
43130 _ACEOF
43131
43132 fi
43133
43134 if test "$wxUSE_FFILE" = "yes"; then
43135 cat >>confdefs.h <<\_ACEOF
43136 #define wxUSE_FFILE 1
43137 _ACEOF
43138
43139 fi
43140
43141 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43142 if test "$wxUSE_STREAMS" != yes; then
43143 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43144 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43145 wxUSE_ARCHIVE_STREAMS=no
43146 else
43147 cat >>confdefs.h <<\_ACEOF
43148 #define wxUSE_ARCHIVE_STREAMS 1
43149 _ACEOF
43150
43151 fi
43152 fi
43153
43154 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43155 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43156 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43157 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43158 elif test "$wxUSE_ZLIB" = "no"; then
43159 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43160 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43161 else
43162 cat >>confdefs.h <<\_ACEOF
43163 #define wxUSE_ZIPSTREAM 1
43164 _ACEOF
43165
43166 fi
43167 fi
43168
43169 if test "$wxUSE_TARSTREAM" = "yes"; then
43170 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43171 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43172 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43173 else
43174 cat >>confdefs.h <<\_ACEOF
43175 #define wxUSE_TARSTREAM 1
43176 _ACEOF
43177
43178 fi
43179 fi
43180
43181 if test "$wxUSE_FILESYSTEM" = "yes"; then
43182 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43183 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43184 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43185 wxUSE_FILESYSTEM=no
43186 else
43187 cat >>confdefs.h <<\_ACEOF
43188 #define wxUSE_FILESYSTEM 1
43189 _ACEOF
43190
43191 fi
43192 fi
43193
43194 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43195 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43196 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43197 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43198 else
43199 cat >>confdefs.h <<\_ACEOF
43200 #define wxUSE_FS_ARCHIVE 1
43201 _ACEOF
43202
43203 fi
43204 fi
43205
43206 if test "$wxUSE_FS_ZIP" = "yes"; then
43207 if test "$wxUSE_FS_ARCHIVE" != yes; then
43208 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43209 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43210 else
43211 cat >>confdefs.h <<\_ACEOF
43212 #define wxUSE_FS_ZIP 1
43213 _ACEOF
43214
43215 fi
43216 fi
43217
43218 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43219 if test "$USE_UNIX" != 1; then
43220 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43221 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43222 wxUSE_ON_FATAL_EXCEPTION=no
43223 else
43224 cat >>confdefs.h <<\_ACEOF
43225 #define wxUSE_ON_FATAL_EXCEPTION 1
43226 _ACEOF
43227
43228 fi
43229 fi
43230
43231 if test "$wxUSE_STACKWALKER" = "yes"; then
43232 cat >>confdefs.h <<\_ACEOF
43233 #define wxUSE_STACKWALKER 1
43234 _ACEOF
43235
43236 fi
43237
43238 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43239 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43240 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43241 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43242 wxUSE_DEBUGREPORT=no
43243 else
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_DEBUGREPORT 1
43246 _ACEOF
43247
43248 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43250 fi
43251 fi
43252 fi
43253
43254 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43255 cat >>confdefs.h <<\_ACEOF
43256 #define wxUSE_SNGLINST_CHECKER 1
43257 _ACEOF
43258
43259 fi
43260
43261 if test "$wxUSE_BUSYINFO" = "yes"; then
43262 cat >>confdefs.h <<\_ACEOF
43263 #define wxUSE_BUSYINFO 1
43264 _ACEOF
43265
43266 fi
43267
43268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43269 cat >>confdefs.h <<\_ACEOF
43270 #define wxUSE_STD_IOSTREAM 1
43271 _ACEOF
43272
43273 fi
43274
43275 if test "$wxUSE_STD_STRING" = "yes"; then
43276 cat >>confdefs.h <<\_ACEOF
43277 #define wxUSE_STD_STRING 1
43278 _ACEOF
43279
43280 fi
43281
43282 if test "$wxUSE_STDPATHS" = "yes"; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define wxUSE_STDPATHS 1
43285 _ACEOF
43286
43287 fi
43288
43289 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43290 cat >>confdefs.h <<\_ACEOF
43291 #define wxUSE_TEXTBUFFER 1
43292 _ACEOF
43293
43294 fi
43295
43296 if test "$wxUSE_TEXTFILE" = "yes"; then
43297 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43298 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43299 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43300 else
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_TEXTFILE 1
43303 _ACEOF
43304
43305 fi
43306 fi
43307
43308 if test "$wxUSE_CONFIG" = "yes" ; then
43309 if test "$wxUSE_TEXTFILE" != "yes"; then
43310 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43311 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43312 else
43313 cat >>confdefs.h <<\_ACEOF
43314 #define wxUSE_CONFIG 1
43315 _ACEOF
43316
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_CONFIG_NATIVE 1
43319 _ACEOF
43320
43321 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43322 fi
43323 fi
43324
43325 if test "$wxUSE_INTL" = "yes" ; then
43326 if test "$wxUSE_FILE" != "yes"; then
43327 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43328 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43329 else
43330 cat >>confdefs.h <<\_ACEOF
43331 #define wxUSE_INTL 1
43332 _ACEOF
43333
43334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43335 GUIDIST="$GUIDIST INTL_DIST"
43336 fi
43337 fi
43338
43339 if test "$wxUSE_LOG" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_LOG 1
43342 _ACEOF
43343
43344
43345 if test "$wxUSE_LOGGUI" = "yes"; then
43346 cat >>confdefs.h <<\_ACEOF
43347 #define wxUSE_LOGGUI 1
43348 _ACEOF
43349
43350 fi
43351
43352 if test "$wxUSE_LOGWINDOW" = "yes"; then
43353 cat >>confdefs.h <<\_ACEOF
43354 #define wxUSE_LOGWINDOW 1
43355 _ACEOF
43356
43357 fi
43358
43359 if test "$wxUSE_LOGDIALOG" = "yes"; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_LOG_DIALOG 1
43362 _ACEOF
43363
43364 fi
43365
43366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43367 fi
43368
43369 if test "$wxUSE_LONGLONG" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_LONGLONG 1
43372 _ACEOF
43373
43374 fi
43375
43376 if test "$wxUSE_GEOMETRY" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_GEOMETRY 1
43379 _ACEOF
43380
43381 fi
43382
43383 if test "$wxUSE_STREAMS" = "yes" ; then
43384 cat >>confdefs.h <<\_ACEOF
43385 #define wxUSE_STREAMS 1
43386 _ACEOF
43387
43388 fi
43389
43390 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_PRINTF_POS_PARAMS 1
43393 _ACEOF
43394
43395 fi
43396
43397
43398
43399 if test "$wxUSE_DATETIME" = "yes"; then
43400
43401 for ac_func in strptime
43402 do
43403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43404 echo "$as_me:$LINENO: checking for $ac_func" >&5
43405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43406 if eval "test \"\${$as_ac_var+set}\" = set"; then
43407 echo $ECHO_N "(cached) $ECHO_C" >&6
43408 else
43409 cat >conftest.$ac_ext <<_ACEOF
43410 /* confdefs.h. */
43411 _ACEOF
43412 cat confdefs.h >>conftest.$ac_ext
43413 cat >>conftest.$ac_ext <<_ACEOF
43414 /* end confdefs.h. */
43415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43417 #define $ac_func innocuous_$ac_func
43418
43419 /* System header to define __stub macros and hopefully few prototypes,
43420 which can conflict with char $ac_func (); below.
43421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43422 <limits.h> exists even on freestanding compilers. */
43423
43424 #ifdef __STDC__
43425 # include <limits.h>
43426 #else
43427 # include <assert.h>
43428 #endif
43429
43430 #undef $ac_func
43431
43432 /* Override any gcc2 internal prototype to avoid an error. */
43433 #ifdef __cplusplus
43434 extern "C"
43435 {
43436 #endif
43437 /* We use char because int might match the return type of a gcc2
43438 builtin and then its argument prototype would still apply. */
43439 char $ac_func ();
43440 /* The GNU C library defines this for functions which it implements
43441 to always fail with ENOSYS. Some functions are actually named
43442 something starting with __ and the normal name is an alias. */
43443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43444 choke me
43445 #else
43446 char (*f) () = $ac_func;
43447 #endif
43448 #ifdef __cplusplus
43449 }
43450 #endif
43451
43452 int
43453 main ()
43454 {
43455 return f != $ac_func;
43456 ;
43457 return 0;
43458 }
43459 _ACEOF
43460 rm -f conftest.$ac_objext conftest$ac_exeext
43461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43462 (eval $ac_link) 2>conftest.er1
43463 ac_status=$?
43464 grep -v '^ *+' conftest.er1 >conftest.err
43465 rm -f conftest.er1
43466 cat conftest.err >&5
43467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468 (exit $ac_status); } &&
43469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43471 (eval $ac_try) 2>&5
43472 ac_status=$?
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); }; } &&
43475 { ac_try='test -s conftest$ac_exeext'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43478 ac_status=$?
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; }; then
43481 eval "$as_ac_var=yes"
43482 else
43483 echo "$as_me: failed program was:" >&5
43484 sed 's/^/| /' conftest.$ac_ext >&5
43485
43486 eval "$as_ac_var=no"
43487 fi
43488 rm -f conftest.err conftest.$ac_objext \
43489 conftest$ac_exeext conftest.$ac_ext
43490 fi
43491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43493 if test `eval echo '${'$as_ac_var'}'` = yes; then
43494 cat >>confdefs.h <<_ACEOF
43495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43496 _ACEOF
43497
43498 fi
43499 done
43500
43501 if test "$ac_cv_func_strptime" = "yes"; then
43502 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43503 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43504 if test "${wx_cv_func_strptime_decl+set}" = set; then
43505 echo $ECHO_N "(cached) $ECHO_C" >&6
43506 else
43507
43508 ac_ext=cc
43509 ac_cpp='$CXXCPP $CPPFLAGS'
43510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43513
43514 cat >conftest.$ac_ext <<_ACEOF
43515 /* confdefs.h. */
43516 _ACEOF
43517 cat confdefs.h >>conftest.$ac_ext
43518 cat >>conftest.$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43520
43521 #include <time.h>
43522
43523 int
43524 main ()
43525 {
43526
43527 struct tm t;
43528 strptime("foo", "bar", &t);
43529
43530 ;
43531 return 0;
43532 }
43533 _ACEOF
43534 rm -f conftest.$ac_objext
43535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43536 (eval $ac_compile) 2>conftest.er1
43537 ac_status=$?
43538 grep -v '^ *+' conftest.er1 >conftest.err
43539 rm -f conftest.er1
43540 cat conftest.err >&5
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); } &&
43543 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; } &&
43549 { ac_try='test -s conftest.$ac_objext'
43550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43551 (eval $ac_try) 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; }; then
43555 wx_cv_func_strptime_decl=yes
43556 else
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43559
43560 wx_cv_func_strptime_decl=no
43561
43562 fi
43563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43564 ac_ext=c
43565 ac_cpp='$CPP $CPPFLAGS'
43566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43569
43570
43571
43572 fi
43573 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43574 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43575 fi
43576 if test "$wx_cv_func_strptime_decl" = "yes"; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define HAVE_STRPTIME_DECL 1
43579 _ACEOF
43580
43581 fi
43582
43583 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43584 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43585 if test "${wx_cv_var_timezone+set}" = set; then
43586 echo $ECHO_N "(cached) $ECHO_C" >&6
43587 else
43588
43589 ac_ext=cc
43590 ac_cpp='$CXXCPP $CPPFLAGS'
43591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594
43595 cat >conftest.$ac_ext <<_ACEOF
43596 /* confdefs.h. */
43597 _ACEOF
43598 cat confdefs.h >>conftest.$ac_ext
43599 cat >>conftest.$ac_ext <<_ACEOF
43600 /* end confdefs.h. */
43601
43602 #include <time.h>
43603
43604 int
43605 main ()
43606 {
43607
43608 int tz;
43609 tz = timezone;
43610
43611 ;
43612 return 0;
43613 }
43614 _ACEOF
43615 rm -f conftest.$ac_objext
43616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43617 (eval $ac_compile) 2>conftest.er1
43618 ac_status=$?
43619 grep -v '^ *+' conftest.er1 >conftest.err
43620 rm -f conftest.er1
43621 cat conftest.err >&5
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); } &&
43624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43626 (eval $ac_try) 2>&5
43627 ac_status=$?
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); }; } &&
43630 { ac_try='test -s conftest.$ac_objext'
43631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43632 (eval $ac_try) 2>&5
43633 ac_status=$?
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); }; }; then
43636
43637 wx_cv_var_timezone=timezone
43638
43639 else
43640 echo "$as_me: failed program was:" >&5
43641 sed 's/^/| /' conftest.$ac_ext >&5
43642
43643
43644 cat >conftest.$ac_ext <<_ACEOF
43645 /* confdefs.h. */
43646 _ACEOF
43647 cat confdefs.h >>conftest.$ac_ext
43648 cat >>conftest.$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43650
43651 #include <time.h>
43652
43653 int
43654 main ()
43655 {
43656
43657 int tz;
43658 tz = _timezone;
43659
43660 ;
43661 return 0;
43662 }
43663 _ACEOF
43664 rm -f conftest.$ac_objext
43665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43666 (eval $ac_compile) 2>conftest.er1
43667 ac_status=$?
43668 grep -v '^ *+' conftest.er1 >conftest.err
43669 rm -f conftest.er1
43670 cat conftest.err >&5
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); } &&
43673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43675 (eval $ac_try) 2>&5
43676 ac_status=$?
43677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43678 (exit $ac_status); }; } &&
43679 { ac_try='test -s conftest.$ac_objext'
43680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43681 (eval $ac_try) 2>&5
43682 ac_status=$?
43683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684 (exit $ac_status); }; }; then
43685
43686 wx_cv_var_timezone=_timezone
43687
43688 else
43689 echo "$as_me: failed program was:" >&5
43690 sed 's/^/| /' conftest.$ac_ext >&5
43691
43692
43693 cat >conftest.$ac_ext <<_ACEOF
43694 /* confdefs.h. */
43695 _ACEOF
43696 cat confdefs.h >>conftest.$ac_ext
43697 cat >>conftest.$ac_ext <<_ACEOF
43698 /* end confdefs.h. */
43699
43700 #include <time.h>
43701
43702 int
43703 main ()
43704 {
43705
43706 int tz;
43707 tz = __timezone;
43708
43709 ;
43710 return 0;
43711 }
43712 _ACEOF
43713 rm -f conftest.$ac_objext
43714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43715 (eval $ac_compile) 2>conftest.er1
43716 ac_status=$?
43717 grep -v '^ *+' conftest.er1 >conftest.err
43718 rm -f conftest.er1
43719 cat conftest.err >&5
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); } &&
43722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724 (eval $ac_try) 2>&5
43725 ac_status=$?
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); }; } &&
43728 { ac_try='test -s conftest.$ac_objext'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43731 ac_status=$?
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; }; then
43734
43735 wx_cv_var_timezone=__timezone
43736
43737 else
43738 echo "$as_me: failed program was:" >&5
43739 sed 's/^/| /' conftest.$ac_ext >&5
43740
43741
43742 if test "$USE_DOS" = 0 ; then
43743 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43744 echo "$as_me: WARNING: no timezone variable" >&2;}
43745 fi
43746
43747
43748 fi
43749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43750
43751
43752 fi
43753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43754
43755
43756 fi
43757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43758 ac_ext=c
43759 ac_cpp='$CPP $CPPFLAGS'
43760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43763
43764
43765
43766 fi
43767 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43768 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43769
43770 if test "x$wx_cv_var_timezone" != x ; then
43771 cat >>confdefs.h <<_ACEOF
43772 #define WX_TIMEZONE $wx_cv_var_timezone
43773 _ACEOF
43774
43775 fi
43776
43777
43778 for ac_func in localtime
43779 do
43780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43781 echo "$as_me:$LINENO: checking for $ac_func" >&5
43782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43783 if eval "test \"\${$as_ac_var+set}\" = set"; then
43784 echo $ECHO_N "(cached) $ECHO_C" >&6
43785 else
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43794 #define $ac_func innocuous_$ac_func
43795
43796 /* System header to define __stub macros and hopefully few prototypes,
43797 which can conflict with char $ac_func (); below.
43798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43799 <limits.h> exists even on freestanding compilers. */
43800
43801 #ifdef __STDC__
43802 # include <limits.h>
43803 #else
43804 # include <assert.h>
43805 #endif
43806
43807 #undef $ac_func
43808
43809 /* Override any gcc2 internal prototype to avoid an error. */
43810 #ifdef __cplusplus
43811 extern "C"
43812 {
43813 #endif
43814 /* We use char because int might match the return type of a gcc2
43815 builtin and then its argument prototype would still apply. */
43816 char $ac_func ();
43817 /* The GNU C library defines this for functions which it implements
43818 to always fail with ENOSYS. Some functions are actually named
43819 something starting with __ and the normal name is an alias. */
43820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43821 choke me
43822 #else
43823 char (*f) () = $ac_func;
43824 #endif
43825 #ifdef __cplusplus
43826 }
43827 #endif
43828
43829 int
43830 main ()
43831 {
43832 return f != $ac_func;
43833 ;
43834 return 0;
43835 }
43836 _ACEOF
43837 rm -f conftest.$ac_objext conftest$ac_exeext
43838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43839 (eval $ac_link) 2>conftest.er1
43840 ac_status=$?
43841 grep -v '^ *+' conftest.er1 >conftest.err
43842 rm -f conftest.er1
43843 cat conftest.err >&5
43844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43845 (exit $ac_status); } &&
43846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43848 (eval $ac_try) 2>&5
43849 ac_status=$?
43850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851 (exit $ac_status); }; } &&
43852 { ac_try='test -s conftest$ac_exeext'
43853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43854 (eval $ac_try) 2>&5
43855 ac_status=$?
43856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857 (exit $ac_status); }; }; then
43858 eval "$as_ac_var=yes"
43859 else
43860 echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43862
43863 eval "$as_ac_var=no"
43864 fi
43865 rm -f conftest.err conftest.$ac_objext \
43866 conftest$ac_exeext conftest.$ac_ext
43867 fi
43868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43870 if test `eval echo '${'$as_ac_var'}'` = yes; then
43871 cat >>confdefs.h <<_ACEOF
43872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43873 _ACEOF
43874
43875 fi
43876 done
43877
43878
43879 if test "$ac_cv_func_localtime" = "yes"; then
43880 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43881 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43882 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43883 echo $ECHO_N "(cached) $ECHO_C" >&6
43884 else
43885
43886 cat >conftest.$ac_ext <<_ACEOF
43887 /* confdefs.h. */
43888 _ACEOF
43889 cat confdefs.h >>conftest.$ac_ext
43890 cat >>conftest.$ac_ext <<_ACEOF
43891 /* end confdefs.h. */
43892
43893 #include <time.h>
43894
43895 int
43896 main ()
43897 {
43898
43899 struct tm tm;
43900 tm.tm_gmtoff++;
43901
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext
43907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43908 (eval $ac_compile) 2>conftest.er1
43909 ac_status=$?
43910 grep -v '^ *+' conftest.er1 >conftest.err
43911 rm -f conftest.er1
43912 cat conftest.err >&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); } &&
43915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43917 (eval $ac_try) 2>&5
43918 ac_status=$?
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); }; } &&
43921 { ac_try='test -s conftest.$ac_objext'
43922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923 (eval $ac_try) 2>&5
43924 ac_status=$?
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); }; }; then
43927
43928 wx_cv_struct_tm_has_gmtoff=yes
43929
43930 else
43931 echo "$as_me: failed program was:" >&5
43932 sed 's/^/| /' conftest.$ac_ext >&5
43933
43934 wx_cv_struct_tm_has_gmtoff=no
43935
43936 fi
43937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43938
43939 fi
43940 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43941 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43942 fi
43943
43944 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define WX_GMTOFF_IN_TM 1
43947 _ACEOF
43948
43949 fi
43950
43951
43952
43953 for ac_func in gettimeofday ftime
43954 do
43955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43956 echo "$as_me:$LINENO: checking for $ac_func" >&5
43957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43958 if eval "test \"\${$as_ac_var+set}\" = set"; then
43959 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 else
43961 cat >conftest.$ac_ext <<_ACEOF
43962 /* confdefs.h. */
43963 _ACEOF
43964 cat confdefs.h >>conftest.$ac_ext
43965 cat >>conftest.$ac_ext <<_ACEOF
43966 /* end confdefs.h. */
43967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43969 #define $ac_func innocuous_$ac_func
43970
43971 /* System header to define __stub macros and hopefully few prototypes,
43972 which can conflict with char $ac_func (); below.
43973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43974 <limits.h> exists even on freestanding compilers. */
43975
43976 #ifdef __STDC__
43977 # include <limits.h>
43978 #else
43979 # include <assert.h>
43980 #endif
43981
43982 #undef $ac_func
43983
43984 /* Override any gcc2 internal prototype to avoid an error. */
43985 #ifdef __cplusplus
43986 extern "C"
43987 {
43988 #endif
43989 /* We use char because int might match the return type of a gcc2
43990 builtin and then its argument prototype would still apply. */
43991 char $ac_func ();
43992 /* The GNU C library defines this for functions which it implements
43993 to always fail with ENOSYS. Some functions are actually named
43994 something starting with __ and the normal name is an alias. */
43995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43996 choke me
43997 #else
43998 char (*f) () = $ac_func;
43999 #endif
44000 #ifdef __cplusplus
44001 }
44002 #endif
44003
44004 int
44005 main ()
44006 {
44007 return f != $ac_func;
44008 ;
44009 return 0;
44010 }
44011 _ACEOF
44012 rm -f conftest.$ac_objext conftest$ac_exeext
44013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44014 (eval $ac_link) 2>conftest.er1
44015 ac_status=$?
44016 grep -v '^ *+' conftest.er1 >conftest.err
44017 rm -f conftest.er1
44018 cat conftest.err >&5
44019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44020 (exit $ac_status); } &&
44021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44023 (eval $ac_try) 2>&5
44024 ac_status=$?
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); }; } &&
44027 { ac_try='test -s conftest$ac_exeext'
44028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44029 (eval $ac_try) 2>&5
44030 ac_status=$?
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); }; }; then
44033 eval "$as_ac_var=yes"
44034 else
44035 echo "$as_me: failed program was:" >&5
44036 sed 's/^/| /' conftest.$ac_ext >&5
44037
44038 eval "$as_ac_var=no"
44039 fi
44040 rm -f conftest.err conftest.$ac_objext \
44041 conftest$ac_exeext conftest.$ac_ext
44042 fi
44043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44045 if test `eval echo '${'$as_ac_var'}'` = yes; then
44046 cat >>confdefs.h <<_ACEOF
44047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44048 _ACEOF
44049 break
44050 fi
44051 done
44052
44053
44054 if test "$ac_cv_func_gettimeofday" = "yes"; then
44055 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44056 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44057 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44058 echo $ECHO_N "(cached) $ECHO_C" >&6
44059 else
44060
44061 cat >conftest.$ac_ext <<_ACEOF
44062 /* confdefs.h. */
44063 _ACEOF
44064 cat confdefs.h >>conftest.$ac_ext
44065 cat >>conftest.$ac_ext <<_ACEOF
44066 /* end confdefs.h. */
44067
44068 #include <sys/time.h>
44069 #include <unistd.h>
44070
44071 int
44072 main ()
44073 {
44074
44075 struct timeval tv;
44076 gettimeofday(&tv, NULL);
44077
44078 ;
44079 return 0;
44080 }
44081 _ACEOF
44082 rm -f conftest.$ac_objext
44083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44084 (eval $ac_compile) 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } &&
44091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44093 (eval $ac_try) 2>&5
44094 ac_status=$?
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); }; } &&
44097 { ac_try='test -s conftest.$ac_objext'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44100 ac_status=$?
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; }; then
44103 wx_cv_func_gettimeofday_has_2_args=yes
44104 else
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44107
44108 cat >conftest.$ac_ext <<_ACEOF
44109 /* confdefs.h. */
44110 _ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h. */
44114
44115 #include <sys/time.h>
44116 #include <unistd.h>
44117
44118 int
44119 main ()
44120 {
44121
44122 struct timeval tv;
44123 gettimeofday(&tv);
44124
44125 ;
44126 return 0;
44127 }
44128 _ACEOF
44129 rm -f conftest.$ac_objext
44130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44131 (eval $ac_compile) 2>conftest.er1
44132 ac_status=$?
44133 grep -v '^ *+' conftest.er1 >conftest.err
44134 rm -f conftest.er1
44135 cat conftest.err >&5
44136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44137 (exit $ac_status); } &&
44138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140 (eval $ac_try) 2>&5
44141 ac_status=$?
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); }; } &&
44144 { ac_try='test -s conftest.$ac_objext'
44145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146 (eval $ac_try) 2>&5
44147 ac_status=$?
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; }; then
44150 wx_cv_func_gettimeofday_has_2_args=no
44151 else
44152 echo "$as_me: failed program was:" >&5
44153 sed 's/^/| /' conftest.$ac_ext >&5
44154
44155
44156 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44157 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44158 wx_cv_func_gettimeofday_has_2_args=unknown
44159
44160
44161 fi
44162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44163
44164 fi
44165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44166
44167 fi
44168 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44169 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44170
44171 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define WX_GETTIMEOFDAY_NO_TZ 1
44174 _ACEOF
44175
44176 fi
44177 fi
44178
44179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44180 fi
44181
44182
44183 if test "$wxUSE_SOCKETS" = "yes"; then
44184 if test "$wxUSE_MGL" = "1"; then
44185 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44186 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44187 wxUSE_SOCKETS="no"
44188 fi
44189 fi
44190
44191 if test "$wxUSE_SOCKETS" = "yes"; then
44192 if test "$TOOLKIT" != "MSW"; then
44193 echo "$as_me:$LINENO: checking for socket" >&5
44194 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44195 if test "${ac_cv_func_socket+set}" = set; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 else
44198 cat >conftest.$ac_ext <<_ACEOF
44199 /* confdefs.h. */
44200 _ACEOF
44201 cat confdefs.h >>conftest.$ac_ext
44202 cat >>conftest.$ac_ext <<_ACEOF
44203 /* end confdefs.h. */
44204 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44206 #define socket innocuous_socket
44207
44208 /* System header to define __stub macros and hopefully few prototypes,
44209 which can conflict with char socket (); below.
44210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44211 <limits.h> exists even on freestanding compilers. */
44212
44213 #ifdef __STDC__
44214 # include <limits.h>
44215 #else
44216 # include <assert.h>
44217 #endif
44218
44219 #undef socket
44220
44221 /* Override any gcc2 internal prototype to avoid an error. */
44222 #ifdef __cplusplus
44223 extern "C"
44224 {
44225 #endif
44226 /* We use char because int might match the return type of a gcc2
44227 builtin and then its argument prototype would still apply. */
44228 char socket ();
44229 /* The GNU C library defines this for functions which it implements
44230 to always fail with ENOSYS. Some functions are actually named
44231 something starting with __ and the normal name is an alias. */
44232 #if defined (__stub_socket) || defined (__stub___socket)
44233 choke me
44234 #else
44235 char (*f) () = socket;
44236 #endif
44237 #ifdef __cplusplus
44238 }
44239 #endif
44240
44241 int
44242 main ()
44243 {
44244 return f != socket;
44245 ;
44246 return 0;
44247 }
44248 _ACEOF
44249 rm -f conftest.$ac_objext conftest$ac_exeext
44250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44251 (eval $ac_link) 2>conftest.er1
44252 ac_status=$?
44253 grep -v '^ *+' conftest.er1 >conftest.err
44254 rm -f conftest.er1
44255 cat conftest.err >&5
44256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44257 (exit $ac_status); } &&
44258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44260 (eval $ac_try) 2>&5
44261 ac_status=$?
44262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44263 (exit $ac_status); }; } &&
44264 { ac_try='test -s conftest$ac_exeext'
44265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44266 (eval $ac_try) 2>&5
44267 ac_status=$?
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); }; }; then
44270 ac_cv_func_socket=yes
44271 else
44272 echo "$as_me: failed program was:" >&5
44273 sed 's/^/| /' conftest.$ac_ext >&5
44274
44275 ac_cv_func_socket=no
44276 fi
44277 rm -f conftest.err conftest.$ac_objext \
44278 conftest$ac_exeext conftest.$ac_ext
44279 fi
44280 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44281 echo "${ECHO_T}$ac_cv_func_socket" >&6
44282 if test $ac_cv_func_socket = yes; then
44283 :
44284 else
44285
44286 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44287 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44288 if test "${ac_cv_lib_socket_socket+set}" = set; then
44289 echo $ECHO_N "(cached) $ECHO_C" >&6
44290 else
44291 ac_check_lib_save_LIBS=$LIBS
44292 LIBS="-lsocket $LIBS"
44293 cat >conftest.$ac_ext <<_ACEOF
44294 /* confdefs.h. */
44295 _ACEOF
44296 cat confdefs.h >>conftest.$ac_ext
44297 cat >>conftest.$ac_ext <<_ACEOF
44298 /* end confdefs.h. */
44299
44300 /* Override any gcc2 internal prototype to avoid an error. */
44301 #ifdef __cplusplus
44302 extern "C"
44303 #endif
44304 /* We use char because int might match the return type of a gcc2
44305 builtin and then its argument prototype would still apply. */
44306 char socket ();
44307 int
44308 main ()
44309 {
44310 socket ();
44311 ;
44312 return 0;
44313 }
44314 _ACEOF
44315 rm -f conftest.$ac_objext conftest$ac_exeext
44316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44317 (eval $ac_link) 2>conftest.er1
44318 ac_status=$?
44319 grep -v '^ *+' conftest.er1 >conftest.err
44320 rm -f conftest.er1
44321 cat conftest.err >&5
44322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44323 (exit $ac_status); } &&
44324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326 (eval $ac_try) 2>&5
44327 ac_status=$?
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); }; } &&
44330 { ac_try='test -s conftest$ac_exeext'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; }; then
44336 ac_cv_lib_socket_socket=yes
44337 else
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44340
44341 ac_cv_lib_socket_socket=no
44342 fi
44343 rm -f conftest.err conftest.$ac_objext \
44344 conftest$ac_exeext conftest.$ac_ext
44345 LIBS=$ac_check_lib_save_LIBS
44346 fi
44347 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44348 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44349 if test $ac_cv_lib_socket_socket = yes; then
44350 if test "$INET_LINK" != " -lsocket"; then
44351 INET_LINK="$INET_LINK -lsocket"
44352 fi
44353 else
44354
44355 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44356 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44357 wxUSE_SOCKETS=no
44358
44359
44360 fi
44361
44362
44363
44364 fi
44365
44366 fi
44367 fi
44368
44369 if test "$wxUSE_SOCKETS" = "yes" ; then
44370 if test "$TOOLKIT" != "MSW"; then
44371 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44372 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44373 if test "${wx_cv_type_getsockname3+set}" = set; then
44374 echo $ECHO_N "(cached) $ECHO_C" >&6
44375 else
44376
44377 ac_ext=cc
44378 ac_cpp='$CXXCPP $CPPFLAGS'
44379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44382
44383 cat >conftest.$ac_ext <<_ACEOF
44384 /* confdefs.h. */
44385 _ACEOF
44386 cat confdefs.h >>conftest.$ac_ext
44387 cat >>conftest.$ac_ext <<_ACEOF
44388 /* end confdefs.h. */
44389
44390 #include <sys/types.h>
44391 #include <sys/socket.h>
44392
44393 int
44394 main ()
44395 {
44396
44397 socklen_t len;
44398 getsockname(0, 0, &len);
44399
44400 ;
44401 return 0;
44402 }
44403 _ACEOF
44404 rm -f conftest.$ac_objext
44405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44406 (eval $ac_compile) 2>conftest.er1
44407 ac_status=$?
44408 grep -v '^ *+' conftest.er1 >conftest.err
44409 rm -f conftest.er1
44410 cat conftest.err >&5
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); } &&
44413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44415 (eval $ac_try) 2>&5
44416 ac_status=$?
44417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44418 (exit $ac_status); }; } &&
44419 { ac_try='test -s conftest.$ac_objext'
44420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44421 (eval $ac_try) 2>&5
44422 ac_status=$?
44423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44424 (exit $ac_status); }; }; then
44425 wx_cv_type_getsockname3=socklen_t
44426 else
44427 echo "$as_me: failed program was:" >&5
44428 sed 's/^/| /' conftest.$ac_ext >&5
44429
44430
44431 CFLAGS_OLD="$CFLAGS"
44432 if test "$GCC" = yes ; then
44433 CFLAGS="-Werror $CFLAGS"
44434 fi
44435
44436 cat >conftest.$ac_ext <<_ACEOF
44437 /* confdefs.h. */
44438 _ACEOF
44439 cat confdefs.h >>conftest.$ac_ext
44440 cat >>conftest.$ac_ext <<_ACEOF
44441 /* end confdefs.h. */
44442
44443 #include <sys/types.h>
44444 #include <sys/socket.h>
44445
44446 int
44447 main ()
44448 {
44449
44450 size_t len;
44451 getsockname(0, 0, &len);
44452
44453 ;
44454 return 0;
44455 }
44456 _ACEOF
44457 rm -f conftest.$ac_objext
44458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44459 (eval $ac_compile) 2>conftest.er1
44460 ac_status=$?
44461 grep -v '^ *+' conftest.er1 >conftest.err
44462 rm -f conftest.er1
44463 cat conftest.err >&5
44464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44465 (exit $ac_status); } &&
44466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44468 (eval $ac_try) 2>&5
44469 ac_status=$?
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); }; } &&
44472 { ac_try='test -s conftest.$ac_objext'
44473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44474 (eval $ac_try) 2>&5
44475 ac_status=$?
44476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44477 (exit $ac_status); }; }; then
44478 wx_cv_type_getsockname3=size_t
44479 else
44480 echo "$as_me: failed program was:" >&5
44481 sed 's/^/| /' conftest.$ac_ext >&5
44482
44483 cat >conftest.$ac_ext <<_ACEOF
44484 /* confdefs.h. */
44485 _ACEOF
44486 cat confdefs.h >>conftest.$ac_ext
44487 cat >>conftest.$ac_ext <<_ACEOF
44488 /* end confdefs.h. */
44489
44490 #include <sys/types.h>
44491 #include <sys/socket.h>
44492
44493 int
44494 main ()
44495 {
44496
44497 int len;
44498 getsockname(0, 0, &len);
44499
44500 ;
44501 return 0;
44502 }
44503 _ACEOF
44504 rm -f conftest.$ac_objext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44506 (eval $ac_compile) 2>conftest.er1
44507 ac_status=$?
44508 grep -v '^ *+' conftest.er1 >conftest.err
44509 rm -f conftest.er1
44510 cat conftest.err >&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515 (eval $ac_try) 2>&5
44516 ac_status=$?
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; } &&
44519 { ac_try='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44522 ac_status=$?
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525 wx_cv_type_getsockname3=int
44526 else
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44529
44530 wx_cv_type_getsockname3=unknown
44531
44532 fi
44533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44534
44535 fi
44536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44537
44538 CFLAGS="$CFLAGS_OLD"
44539
44540
44541 fi
44542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44543 ac_ext=c
44544 ac_cpp='$CPP $CPPFLAGS'
44545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44548
44549
44550 fi
44551 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44552 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44553
44554 if test "$wx_cv_type_getsockname3" = "unknown"; then
44555 wxUSE_SOCKETS=no
44556 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44557 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44558 else
44559 cat >>confdefs.h <<_ACEOF
44560 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44561 _ACEOF
44562
44563 fi
44564 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44565 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44566 if test "${wx_cv_type_getsockopt5+set}" = set; then
44567 echo $ECHO_N "(cached) $ECHO_C" >&6
44568 else
44569
44570 cat >conftest.$ac_ext <<_ACEOF
44571 /* confdefs.h. */
44572 _ACEOF
44573 cat confdefs.h >>conftest.$ac_ext
44574 cat >>conftest.$ac_ext <<_ACEOF
44575 /* end confdefs.h. */
44576
44577 #include <sys/types.h>
44578 #include <sys/socket.h>
44579
44580 int
44581 main ()
44582 {
44583
44584 socklen_t len;
44585 getsockopt(0, 0, 0, 0, &len);
44586
44587 ;
44588 return 0;
44589 }
44590 _ACEOF
44591 rm -f conftest.$ac_objext
44592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44593 (eval $ac_compile) 2>conftest.er1
44594 ac_status=$?
44595 grep -v '^ *+' conftest.er1 >conftest.err
44596 rm -f conftest.er1
44597 cat conftest.err >&5
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); } &&
44600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44602 (eval $ac_try) 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; } &&
44606 { ac_try='test -s conftest.$ac_objext'
44607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44608 (eval $ac_try) 2>&5
44609 ac_status=$?
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); }; }; then
44612 wx_cv_type_getsockopt5=socklen_t
44613 else
44614 echo "$as_me: failed program was:" >&5
44615 sed 's/^/| /' conftest.$ac_ext >&5
44616
44617
44618 ac_ext=cc
44619 ac_cpp='$CXXCPP $CPPFLAGS'
44620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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/types.h>
44632 #include <sys/socket.h>
44633
44634 int
44635 main ()
44636 {
44637
44638 size_t len;
44639 getsockopt(0, 0, 0, 0, &len);
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_cxx_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_type_getsockopt5=size_t
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/types.h>
44679 #include <sys/socket.h>
44680
44681 int
44682 main ()
44683 {
44684
44685 int len;
44686 getsockopt(0, 0, 0, 0, &len);
44687
44688 ;
44689 return 0;
44690 }
44691 _ACEOF
44692 rm -f conftest.$ac_objext
44693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44694 (eval $ac_compile) 2>conftest.er1
44695 ac_status=$?
44696 grep -v '^ *+' conftest.er1 >conftest.err
44697 rm -f conftest.er1
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } &&
44701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44703 (eval $ac_try) 2>&5
44704 ac_status=$?
44705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44706 (exit $ac_status); }; } &&
44707 { ac_try='test -s conftest.$ac_objext'
44708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44709 (eval $ac_try) 2>&5
44710 ac_status=$?
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); }; }; then
44713 wx_cv_type_getsockopt5=int
44714 else
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.$ac_ext >&5
44717
44718 wx_cv_type_getsockopt5=unknown
44719
44720 fi
44721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44722
44723 fi
44724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44725 ac_ext=c
44726 ac_cpp='$CPP $CPPFLAGS'
44727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44730
44731
44732
44733 fi
44734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44735
44736 fi
44737 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44738 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44739
44740 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44741 wxUSE_SOCKETS=no
44742 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44743 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44744 else
44745 cat >>confdefs.h <<_ACEOF
44746 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44747 _ACEOF
44748
44749 fi
44750 fi
44751 fi
44752
44753 if test "$wxUSE_SOCKETS" = "yes" ; then
44754 cat >>confdefs.h <<\_ACEOF
44755 #define wxUSE_SOCKETS 1
44756 _ACEOF
44757
44758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44759 fi
44760
44761 if test "$wxUSE_PROTOCOL" = "yes"; then
44762 if test "$wxUSE_SOCKETS" != "yes"; then
44763 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44764 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44765 wxUSE_PROTOCOL=no
44766 fi
44767 fi
44768
44769 if test "$wxUSE_PROTOCOL" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_PROTOCOL 1
44772 _ACEOF
44773
44774
44775 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44776 cat >>confdefs.h <<\_ACEOF
44777 #define wxUSE_PROTOCOL_HTTP 1
44778 _ACEOF
44779
44780 fi
44781 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_PROTOCOL_FTP 1
44784 _ACEOF
44785
44786 fi
44787 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_PROTOCOL_FILE 1
44790 _ACEOF
44791
44792 fi
44793 else
44794 if test "$wxUSE_FS_INET" = "yes"; then
44795 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44796 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44797 wxUSE_FS_INET="no"
44798 fi
44799 fi
44800
44801 if test "$wxUSE_URL" = "yes"; then
44802 if test "$wxUSE_PROTOCOL" != "yes"; then
44803 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44804 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44805 wxUSE_URL=no
44806 fi
44807 if test "$wxUSE_URL" = "yes"; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_URL 1
44810 _ACEOF
44811
44812 fi
44813 fi
44814
44815 if test "$wxUSE_VARIANT" = "yes"; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_VARIANT 1
44818 _ACEOF
44819
44820 fi
44821
44822 if test "$wxUSE_FS_INET" = "yes"; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_FS_INET 1
44825 _ACEOF
44826
44827 fi
44828
44829
44830 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44831 wxUSE_JOYSTICK=no
44832
44833 if test "$TOOLKIT" = "MSW"; then
44834 wxUSE_JOYSTICK=yes
44835
44836 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44837 if test "$USE_DARWIN" = 1; then
44838 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44839 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44840 ac_ext=cc
44841 ac_cpp='$CXXCPP $CPPFLAGS'
44842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44845
44846 cat >conftest.$ac_ext <<_ACEOF
44847 /* confdefs.h. */
44848 _ACEOF
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h. */
44852 #include <IOKit/hid/IOHIDLib.h>
44853 int
44854 main ()
44855 {
44856 IOHIDQueueInterface *qi = NULL;
44857 IOHIDCallbackFunction cb = NULL;
44858 qi->setEventCallout(NULL, cb, NULL, NULL);
44859 ;
44860 return 0;
44861 }
44862 _ACEOF
44863 rm -f conftest.$ac_objext
44864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44865 (eval $ac_compile) 2>conftest.er1
44866 ac_status=$?
44867 grep -v '^ *+' conftest.er1 >conftest.err
44868 rm -f conftest.er1
44869 cat conftest.err >&5
44870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44871 (exit $ac_status); } &&
44872 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; } &&
44878 { ac_try='test -s conftest.$ac_objext'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44881 ac_status=$?
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; }; then
44884 wxUSE_JOYSTICK=yes
44885
44886 else
44887 echo "$as_me: failed program was:" >&5
44888 sed 's/^/| /' conftest.$ac_ext >&5
44889
44890 fi
44891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44897
44898 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44899 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44900 fi
44901
44902 else
44903 if test "$wxUSE_MGL" != "1"; then
44904 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
44905 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
44906 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
44907 echo $ECHO_N "(cached) $ECHO_C" >&6
44908 else
44909 cat >conftest.$ac_ext <<_ACEOF
44910 /* confdefs.h. */
44911 _ACEOF
44912 cat confdefs.h >>conftest.$ac_ext
44913 cat >>conftest.$ac_ext <<_ACEOF
44914 /* end confdefs.h. */
44915 #include <stdio.h>
44916
44917 #include <linux/joystick.h>
44918 _ACEOF
44919 rm -f conftest.$ac_objext
44920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44921 (eval $ac_compile) 2>conftest.er1
44922 ac_status=$?
44923 grep -v '^ *+' conftest.er1 >conftest.err
44924 rm -f conftest.er1
44925 cat conftest.err >&5
44926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927 (exit $ac_status); } &&
44928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44930 (eval $ac_try) 2>&5
44931 ac_status=$?
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); }; } &&
44934 { ac_try='test -s conftest.$ac_objext'
44935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44936 (eval $ac_try) 2>&5
44937 ac_status=$?
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); }; }; then
44940 ac_cv_header_linux_joystick_h=yes
44941 else
44942 echo "$as_me: failed program was:" >&5
44943 sed 's/^/| /' conftest.$ac_ext >&5
44944
44945 ac_cv_header_linux_joystick_h=no
44946 fi
44947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44948 fi
44949 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
44950 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
44951 if test $ac_cv_header_linux_joystick_h = yes; then
44952 wxUSE_JOYSTICK=yes
44953 fi
44954
44955
44956 fi
44957 fi
44958
44959 if test "$wxUSE_JOYSTICK" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_JOYSTICK 1
44962 _ACEOF
44963
44964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44965 else
44966 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44967 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44968 fi
44969 fi
44970
44971
44972
44973 if test "$wxUSE_FONTMAP" = "yes" ; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_FONTMAP 1
44976 _ACEOF
44977
44978 fi
44979
44980 if test "$wxUSE_UNICODE" = "yes" ; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_UNICODE 1
44983 _ACEOF
44984
44985
44986 if test "$USE_WIN32" != 1; then
44987 wxUSE_UNICODE_MSLU=no
44988 fi
44989
44990 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44991 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44992 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44993 if test "${ac_cv_lib_unicows_main+set}" = set; then
44994 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 else
44996 ac_check_lib_save_LIBS=$LIBS
44997 LIBS="-lunicows $LIBS"
44998 cat >conftest.$ac_ext <<_ACEOF
44999 /* confdefs.h. */
45000 _ACEOF
45001 cat confdefs.h >>conftest.$ac_ext
45002 cat >>conftest.$ac_ext <<_ACEOF
45003 /* end confdefs.h. */
45004
45005
45006 int
45007 main ()
45008 {
45009 main ();
45010 ;
45011 return 0;
45012 }
45013 _ACEOF
45014 rm -f conftest.$ac_objext conftest$ac_exeext
45015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45016 (eval $ac_link) 2>conftest.er1
45017 ac_status=$?
45018 grep -v '^ *+' conftest.er1 >conftest.err
45019 rm -f conftest.er1
45020 cat conftest.err >&5
45021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022 (exit $ac_status); } &&
45023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45025 (eval $ac_try) 2>&5
45026 ac_status=$?
45027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45028 (exit $ac_status); }; } &&
45029 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45035 ac_cv_lib_unicows_main=yes
45036 else
45037 echo "$as_me: failed program was:" >&5
45038 sed 's/^/| /' conftest.$ac_ext >&5
45039
45040 ac_cv_lib_unicows_main=no
45041 fi
45042 rm -f conftest.err conftest.$ac_objext \
45043 conftest$ac_exeext conftest.$ac_ext
45044 LIBS=$ac_check_lib_save_LIBS
45045 fi
45046 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45047 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45048 if test $ac_cv_lib_unicows_main = yes; then
45049
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_UNICODE_MSLU 1
45052 _ACEOF
45053
45054
45055 else
45056
45057 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45058 Applications will only run on Windows NT/2000/XP!" >&5
45059 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45060 Applications will only run on Windows NT/2000/XP!" >&2;}
45061 wxUSE_UNICODE_MSLU=no
45062
45063 fi
45064
45065 fi
45066 fi
45067
45068 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45069 cat >>confdefs.h <<\_ACEOF
45070 #define wxUSE_EXPERIMENTAL_PRINTF 1
45071 _ACEOF
45072
45073 fi
45074
45075
45076 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_POSTSCRIPT 1
45079 _ACEOF
45080
45081 fi
45082
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45085 _ACEOF
45086
45087
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_NORMALIZED_PS_FONTS 1
45090 _ACEOF
45091
45092
45093
45094 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_CONSTRAINTS 1
45097 _ACEOF
45098
45099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45100 fi
45101
45102 if test "$wxUSE_MDI" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_MDI 1
45105 _ACEOF
45106
45107
45108 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_MDI_ARCHITECTURE 1
45111 _ACEOF
45112
45113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45114 fi
45115 fi
45116
45117 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45120 _ACEOF
45121
45122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45123 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45125 fi
45126 fi
45127
45128 if test "$wxUSE_HELP" = "yes"; then
45129 cat >>confdefs.h <<\_ACEOF
45130 #define wxUSE_HELP 1
45131 _ACEOF
45132
45133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45134
45135 if test "$wxUSE_MSW" = 1; then
45136 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_MS_HTML_HELP 1
45139 _ACEOF
45140
45141 fi
45142 fi
45143
45144 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45145 if test "$wxUSE_HTML" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_WXHTML_HELP 1
45148 _ACEOF
45149
45150 else
45151 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45152 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45153 wxUSE_WXHTML_HELP=no
45154 fi
45155 fi
45156 fi
45157
45158 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45160 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45161 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45162 else
45163 cat >>confdefs.h <<\_ACEOF
45164 #define wxUSE_PRINTING_ARCHITECTURE 1
45165 _ACEOF
45166
45167 fi
45168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45169 fi
45170
45171 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45172 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45173 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45174 { (exit 1); exit 1; }; }
45175 fi
45176
45177
45178 if test "$wxUSE_METAFILE" = "yes"; then
45179 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45180 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45181 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45182 wxUSE_METAFILE=no
45183 fi
45184 fi
45185
45186
45187 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45188 -o "$wxUSE_CLIPBOARD" = "yes" \
45189 -o "$wxUSE_OLE" = "yes" \
45190 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45191
45192 for ac_header in ole2.h
45193 do
45194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45196 echo "$as_me:$LINENO: checking for $ac_header" >&5
45197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45199 echo $ECHO_N "(cached) $ECHO_C" >&6
45200 fi
45201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45203 else
45204 # Is the header compilable?
45205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213 $ac_includes_default
45214 #include <$ac_header>
45215 _ACEOF
45216 rm -f conftest.$ac_objext
45217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45218 (eval $ac_compile) 2>conftest.er1
45219 ac_status=$?
45220 grep -v '^ *+' conftest.er1 >conftest.err
45221 rm -f conftest.er1
45222 cat conftest.err >&5
45223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45224 (exit $ac_status); } &&
45225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45227 (eval $ac_try) 2>&5
45228 ac_status=$?
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); }; } &&
45231 { ac_try='test -s conftest.$ac_objext'
45232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 (eval $ac_try) 2>&5
45234 ac_status=$?
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; }; then
45237 ac_header_compiler=yes
45238 else
45239 echo "$as_me: failed program was:" >&5
45240 sed 's/^/| /' conftest.$ac_ext >&5
45241
45242 ac_header_compiler=no
45243 fi
45244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45246 echo "${ECHO_T}$ac_header_compiler" >&6
45247
45248 # Is the header present?
45249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45251 cat >conftest.$ac_ext <<_ACEOF
45252 /* confdefs.h. */
45253 _ACEOF
45254 cat confdefs.h >>conftest.$ac_ext
45255 cat >>conftest.$ac_ext <<_ACEOF
45256 /* end confdefs.h. */
45257 #include <$ac_header>
45258 _ACEOF
45259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45261 ac_status=$?
45262 grep -v '^ *+' conftest.er1 >conftest.err
45263 rm -f conftest.er1
45264 cat conftest.err >&5
45265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45266 (exit $ac_status); } >/dev/null; then
45267 if test -s conftest.err; then
45268 ac_cpp_err=$ac_c_preproc_warn_flag
45269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45270 else
45271 ac_cpp_err=
45272 fi
45273 else
45274 ac_cpp_err=yes
45275 fi
45276 if test -z "$ac_cpp_err"; then
45277 ac_header_preproc=yes
45278 else
45279 echo "$as_me: failed program was:" >&5
45280 sed 's/^/| /' conftest.$ac_ext >&5
45281
45282 ac_header_preproc=no
45283 fi
45284 rm -f conftest.err conftest.$ac_ext
45285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45286 echo "${ECHO_T}$ac_header_preproc" >&6
45287
45288 # So? What about this header?
45289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45290 yes:no: )
45291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45295 ac_header_preproc=yes
45296 ;;
45297 no:yes:* )
45298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45310 (
45311 cat <<\_ASBOX
45312 ## ----------------------------------------- ##
45313 ## Report this to wx-dev@lists.wxwidgets.org ##
45314 ## ----------------------------------------- ##
45315 _ASBOX
45316 ) |
45317 sed "s/^/$as_me: WARNING: /" >&2
45318 ;;
45319 esac
45320 echo "$as_me:$LINENO: checking for $ac_header" >&5
45321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45323 echo $ECHO_N "(cached) $ECHO_C" >&6
45324 else
45325 eval "$as_ac_Header=\$ac_header_preproc"
45326 fi
45327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45329
45330 fi
45331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45332 cat >>confdefs.h <<_ACEOF
45333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45334 _ACEOF
45335
45336 fi
45337
45338 done
45339
45340
45341 if test "$ac_cv_header_ole2_h" = "yes" ; then
45342 if test "$GCC" = yes ; then
45343 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45344 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45345 cat >conftest.$ac_ext <<_ACEOF
45346 /* confdefs.h. */
45347 _ACEOF
45348 cat confdefs.h >>conftest.$ac_ext
45349 cat >>conftest.$ac_ext <<_ACEOF
45350 /* end confdefs.h. */
45351 #include <windows.h>
45352 #include <ole2.h>
45353 int
45354 main ()
45355 {
45356
45357 ;
45358 return 0;
45359 }
45360 _ACEOF
45361 rm -f conftest.$ac_objext
45362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45363 (eval $ac_compile) 2>conftest.er1
45364 ac_status=$?
45365 grep -v '^ *+' conftest.er1 >conftest.err
45366 rm -f conftest.er1
45367 cat conftest.err >&5
45368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45369 (exit $ac_status); } &&
45370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45372 (eval $ac_try) 2>&5
45373 ac_status=$?
45374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45375 (exit $ac_status); }; } &&
45376 { ac_try='test -s conftest.$ac_objext'
45377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45378 (eval $ac_try) 2>&5
45379 ac_status=$?
45380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45381 (exit $ac_status); }; }; then
45382 echo "$as_me:$LINENO: result: no" >&5
45383 echo "${ECHO_T}no" >&6
45384 else
45385 echo "$as_me: failed program was:" >&5
45386 sed 's/^/| /' conftest.$ac_ext >&5
45387
45388 echo "$as_me:$LINENO: result: yes" >&5
45389 echo "${ECHO_T}yes" >&6
45390 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45391 fi
45392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45393 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45394 if test "$wxUSE_OLE" = "yes" ; then
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_OLE 1
45397 _ACEOF
45398
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_OLE_AUTOMATION 1
45401 _ACEOF
45402
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_OLE_ACTIVEX 1
45405 _ACEOF
45406
45407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45408 fi
45409 fi
45410
45411 if test "$wxUSE_DATAOBJ" = "yes" ; then
45412 cat >>confdefs.h <<\_ACEOF
45413 #define wxUSE_DATAOBJ 1
45414 _ACEOF
45415
45416 fi
45417 else
45418 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45419 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45420
45421 wxUSE_CLIPBOARD=no
45422 wxUSE_DRAG_AND_DROP=no
45423 wxUSE_DATAOBJ=no
45424 wxUSE_OLE=no
45425 fi
45426
45427 if test "$wxUSE_METAFILE" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_METAFILE 1
45430 _ACEOF
45431
45432
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_ENH_METAFILE 1
45435 _ACEOF
45436
45437 fi
45438 fi
45439
45440 if test "$wxUSE_IPC" = "yes"; then
45441 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45442 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45443 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45444 wxUSE_IPC=no
45445 fi
45446
45447 if test "$wxUSE_IPC" = "yes"; then
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_IPC 1
45450 _ACEOF
45451
45452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45453 fi
45454 fi
45455
45456 if test "$wxUSE_DATAOBJ" = "yes"; then
45457 if test "$wxUSE_MGL" = 1; then
45458 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45459 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45460 wxUSE_DATAOBJ=no
45461 else
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_DATAOBJ 1
45464 _ACEOF
45465
45466 fi
45467 else
45468 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45469 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45470 wxUSE_CLIPBOARD=no
45471 wxUSE_DRAG_AND_DROP=no
45472 fi
45473
45474 if test "$wxUSE_CLIPBOARD" = "yes"; then
45475 if test "$wxUSE_MGL" = 1; then
45476 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45477 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45478 wxUSE_CLIPBOARD=no
45479 fi
45480
45481 if test "$wxUSE_CLIPBOARD" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_CLIPBOARD 1
45484 _ACEOF
45485
45486 fi
45487 fi
45488
45489 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45490 if test "$wxUSE_GTK" = 1; then
45491 if test "$WXGTK12" != 1; then
45492 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45493 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45494 wxUSE_DRAG_AND_DROP=no
45495 fi
45496 fi
45497
45498 if test "$wxUSE_MOTIF" = 1; then
45499 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45500 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45501 wxUSE_DRAG_AND_DROP=no
45502 fi
45503
45504 if test "$wxUSE_X11" = 1; then
45505 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45506 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45507 wxUSE_DRAG_AND_DROP=no
45508 fi
45509
45510 if test "$wxUSE_MGL" = 1; then
45511 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45512 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45513 wxUSE_DRAG_AND_DROP=no
45514 fi
45515
45516 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_DRAG_AND_DROP 1
45519 _ACEOF
45520
45521 fi
45522
45523 fi
45524
45525 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45527 fi
45528
45529 if test "$wxUSE_SPLINES" = "yes" ; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_SPLINES 1
45532 _ACEOF
45533
45534 fi
45535
45536 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_MOUSEWHEEL 1
45539 _ACEOF
45540
45541 fi
45542
45543
45544 USES_CONTROLS=0
45545 if test "$wxUSE_CONTROLS" = "yes"; then
45546 USES_CONTROLS=1
45547 fi
45548
45549 if test "$wxUSE_ACCEL" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_ACCEL 1
45552 _ACEOF
45553
45554 USES_CONTROLS=1
45555 fi
45556
45557 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_ANIMATIONCTRL 1
45560 _ACEOF
45561
45562 USES_CONTROLS=1
45563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45564 fi
45565
45566 if test "$wxUSE_BUTTON" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_BUTTON 1
45569 _ACEOF
45570
45571 USES_CONTROLS=1
45572 fi
45573
45574 if test "$wxUSE_BMPBUTTON" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_BMPBUTTON 1
45577 _ACEOF
45578
45579 USES_CONTROLS=1
45580 fi
45581
45582 if test "$wxUSE_CALCTRL" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_CALENDARCTRL 1
45585 _ACEOF
45586
45587 USES_CONTROLS=1
45588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45589 fi
45590
45591 if test "$wxUSE_CARET" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_CARET 1
45594 _ACEOF
45595
45596 USES_CONTROLS=1
45597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45598 fi
45599
45600 if test "$wxUSE_COLLPANE" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_COLLPANE 1
45603 _ACEOF
45604
45605 USES_CONTROLS=1
45606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45607 fi
45608
45609 if test "$wxUSE_COMBOBOX" = "yes"; then
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_COMBOBOX 1
45612 _ACEOF
45613
45614 USES_CONTROLS=1
45615 fi
45616
45617 if test "$wxUSE_COMBOCTRL" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_COMBOCTRL 1
45620 _ACEOF
45621
45622 USES_CONTROLS=1
45623 fi
45624
45625 if test "$wxUSE_CHOICE" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_CHOICE 1
45628 _ACEOF
45629
45630 USES_CONTROLS=1
45631 fi
45632
45633 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_CHOICEBOOK 1
45636 _ACEOF
45637
45638 USES_CONTROLS=1
45639 fi
45640
45641 if test "$wxUSE_CHECKBOX" = "yes"; then
45642 cat >>confdefs.h <<\_ACEOF
45643 #define wxUSE_CHECKBOX 1
45644 _ACEOF
45645
45646 USES_CONTROLS=1
45647 fi
45648
45649 if test "$wxUSE_CHECKLST" = "yes"; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_CHECKLISTBOX 1
45652 _ACEOF
45653
45654 USES_CONTROLS=1
45655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45656 fi
45657
45658 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_COLOURPICKERCTRL 1
45661 _ACEOF
45662
45663 USES_CONTROLS=1
45664 fi
45665
45666 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45667 cat >>confdefs.h <<\_ACEOF
45668 #define wxUSE_DATEPICKCTRL 1
45669 _ACEOF
45670
45671 USES_CONTROLS=1
45672 fi
45673
45674 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45675 cat >>confdefs.h <<\_ACEOF
45676 #define wxUSE_DIRPICKERCTRL 1
45677 _ACEOF
45678
45679 USES_CONTROLS=1
45680 fi
45681
45682 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_FILEPICKERCTRL 1
45685 _ACEOF
45686
45687 USES_CONTROLS=1
45688 fi
45689
45690 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_FONTPICKERCTRL 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 fi
45697
45698 if test "$wxUSE_DISPLAY" = "yes"; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_DISPLAY 1
45701 _ACEOF
45702
45703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45704 fi
45705
45706 if test "$wxUSE_DETECT_SM" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_DETECT_SM 1
45709 _ACEOF
45710
45711 fi
45712
45713 if test "$wxUSE_GAUGE" = "yes"; then
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_GAUGE 1
45716 _ACEOF
45717
45718 USES_CONTROLS=1
45719 fi
45720
45721 if test "$wxUSE_GRID" = "yes"; then
45722 cat >>confdefs.h <<\_ACEOF
45723 #define wxUSE_GRID 1
45724 _ACEOF
45725
45726 USES_CONTROLS=1
45727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45728 fi
45729
45730 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_HYPERLINKCTRL 1
45733 _ACEOF
45734
45735 USES_CONTROLS=1
45736 fi
45737
45738 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45739 cat >>confdefs.h <<\_ACEOF
45740 #define wxUSE_BITMAPCOMBOBOX 1
45741 _ACEOF
45742
45743 USES_CONTROLS=1
45744 fi
45745
45746 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_DATAVIEWCTRL 1
45749 _ACEOF
45750
45751 USES_CONTROLS=1
45752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45753 fi
45754
45755 if test "$wxUSE_IMAGLIST" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_IMAGLIST 1
45758 _ACEOF
45759
45760 fi
45761
45762 if test "$wxUSE_LISTBOOK" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_LISTBOOK 1
45765 _ACEOF
45766
45767 USES_CONTROLS=1
45768 fi
45769
45770 if test "$wxUSE_LISTBOX" = "yes"; then
45771 cat >>confdefs.h <<\_ACEOF
45772 #define wxUSE_LISTBOX 1
45773 _ACEOF
45774
45775 USES_CONTROLS=1
45776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45777 fi
45778
45779 if test "$wxUSE_LISTCTRL" = "yes"; then
45780 if test "$wxUSE_IMAGLIST" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_LISTCTRL 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45787 else
45788 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45789 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45790 fi
45791 fi
45792
45793 if test "$wxUSE_NOTEBOOK" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_NOTEBOOK 1
45796 _ACEOF
45797
45798 USES_CONTROLS=1
45799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45800 fi
45801
45802 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_ODCOMBOBOX 1
45805 _ACEOF
45806
45807 USES_CONTROLS=1
45808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45809 fi
45810
45811
45812 if test "$wxUSE_RADIOBOX" = "yes"; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_RADIOBOX 1
45815 _ACEOF
45816
45817 USES_CONTROLS=1
45818 fi
45819
45820 if test "$wxUSE_RADIOBTN" = "yes"; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_RADIOBTN 1
45823 _ACEOF
45824
45825 USES_CONTROLS=1
45826 fi
45827
45828 if test "$wxUSE_SASH" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_SASH 1
45831 _ACEOF
45832
45833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45834 fi
45835
45836 if test "$wxUSE_SCROLLBAR" = "yes"; then
45837 cat >>confdefs.h <<\_ACEOF
45838 #define wxUSE_SCROLLBAR 1
45839 _ACEOF
45840
45841 USES_CONTROLS=1
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45843 fi
45844
45845 if test "$wxUSE_SLIDER" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_SLIDER 1
45848 _ACEOF
45849
45850 USES_CONTROLS=1
45851 fi
45852
45853 if test "$wxUSE_SPINBTN" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_SPINBTN 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_SPINCTRL" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_SPINCTRL 1
45864 _ACEOF
45865
45866 USES_CONTROLS=1
45867 fi
45868
45869 if test "$wxUSE_SPLITTER" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_SPLITTER 1
45872 _ACEOF
45873
45874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45875 fi
45876
45877 if test "$wxUSE_STATBMP" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_STATBMP 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 fi
45884
45885 if test "$wxUSE_STATBOX" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_STATBOX 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_STATTEXT" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_STATTEXT 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_STATLINE" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_STATLINE 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 fi
45908
45909 if test "$wxUSE_STATUSBAR" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_NATIVE_STATUSBAR 1
45912 _ACEOF
45913
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_STATUSBAR 1
45916 _ACEOF
45917
45918 USES_CONTROLS=1
45919
45920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45921 fi
45922
45923 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45924 cat >>confdefs.h <<\_ACEOF
45925 #define wxUSE_TAB_DIALOG 1
45926 _ACEOF
45927
45928 fi
45929
45930 if test "$wxUSE_TEXTCTRL" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_TEXTCTRL 1
45933 _ACEOF
45934
45935 USES_CONTROLS=1
45936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45937 fi
45938
45939 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45940 if test "$wxUSE_COCOA" = 1 ; then
45941 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45942 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45943 wxUSE_TOGGLEBTN=no
45944 fi
45945
45946 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_TOGGLEBTN 1
45949 _ACEOF
45950
45951 USES_CONTROLS=1
45952 fi
45953 fi
45954
45955 if test "$wxUSE_TOOLBAR" = "yes"; then
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_TOOLBAR 1
45958 _ACEOF
45959
45960 USES_CONTROLS=1
45961
45962 if test "$wxUSE_UNIVERSAL" = "yes"; then
45963 wxUSE_TOOLBAR_NATIVE="no"
45964 else
45965 wxUSE_TOOLBAR_NATIVE="yes"
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_TOOLBAR_NATIVE 1
45968 _ACEOF
45969
45970 fi
45971
45972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45973 fi
45974
45975 if test "$wxUSE_TOOLTIPS" = "yes"; then
45976 if test "$wxUSE_MOTIF" = 1; then
45977 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45978 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45979 else
45980 if test "$wxUSE_UNIVERSAL" = "yes"; then
45981 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45982 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45983 else
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_TOOLTIPS 1
45986 _ACEOF
45987
45988 fi
45989 fi
45990 fi
45991
45992 if test "$wxUSE_TREEBOOK" = "yes"; then
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_TREEBOOK 1
45995 _ACEOF
45996
45997 USES_CONTROLS=1
45998 fi
45999
46000 if test "$wxUSE_TOOLBOOK" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_TOOLBOOK 1
46003 _ACEOF
46004
46005 USES_CONTROLS=1
46006 fi
46007
46008 if test "$wxUSE_TREECTRL" = "yes"; then
46009 if test "$wxUSE_IMAGLIST" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_TREECTRL 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46016 else
46017 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46018 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46019 fi
46020 fi
46021
46022 if test "$wxUSE_POPUPWIN" = "yes"; then
46023 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46024 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46025 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46026 else
46027 if test "$wxUSE_PM" = 1; then
46028 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46029 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46030 else
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_POPUPWIN 1
46033 _ACEOF
46034
46035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46036
46037 USES_CONTROLS=1
46038 fi
46039 fi
46040 fi
46041
46042 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46043 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46044 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46045 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46046 else
46047 cat >>confdefs.h <<\_ACEOF
46048 #define wxUSE_DIALUP_MANAGER 1
46049 _ACEOF
46050
46051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46052 fi
46053 fi
46054
46055 if test "$wxUSE_TIPWINDOW" = "yes"; then
46056 if test "$wxUSE_PM" = 1; then
46057 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46058 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46059 else
46060 cat >>confdefs.h <<\_ACEOF
46061 #define wxUSE_TIPWINDOW 1
46062 _ACEOF
46063
46064 fi
46065 fi
46066
46067 if test "$USES_CONTROLS" = 1; then
46068 cat >>confdefs.h <<\_ACEOF
46069 #define wxUSE_CONTROLS 1
46070 _ACEOF
46071
46072 fi
46073
46074
46075 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_ACCESSIBILITY 1
46078 _ACEOF
46079
46080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46081 fi
46082
46083 if test "$wxUSE_DC_CACHEING" = "yes"; then
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_DC_CACHEING 1
46086 _ACEOF
46087
46088 fi
46089
46090 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_DRAGIMAGE 1
46093 _ACEOF
46094
46095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46096 fi
46097
46098 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46099 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46100 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46101 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46102 else
46103 cat >>confdefs.h <<\_ACEOF
46104 #define wxUSE_EXCEPTIONS 1
46105 _ACEOF
46106
46107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46108 fi
46109 fi
46110
46111 USE_HTML=0
46112 if test "$wxUSE_HTML" = "yes"; then
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_HTML 1
46115 _ACEOF
46116
46117 USE_HTML=1
46118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46119 if test "$wxUSE_MAC" = 1; then
46120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46121 fi
46122 fi
46123 if test "$wxUSE_WEBKIT" = "yes"; then
46124 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46125 old_CPPFLAGS="$CPPFLAGS"
46126 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46127 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46128 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46129 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46130 echo $ECHO_N "(cached) $ECHO_C" >&6
46131 else
46132 cat >conftest.$ac_ext <<_ACEOF
46133 /* confdefs.h. */
46134 _ACEOF
46135 cat confdefs.h >>conftest.$ac_ext
46136 cat >>conftest.$ac_ext <<_ACEOF
46137 /* end confdefs.h. */
46138 #include <Carbon/Carbon.h>
46139
46140 #include <WebKit/HIWebView.h>
46141 _ACEOF
46142 rm -f conftest.$ac_objext
46143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46144 (eval $ac_compile) 2>conftest.er1
46145 ac_status=$?
46146 grep -v '^ *+' conftest.er1 >conftest.err
46147 rm -f conftest.er1
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46153 (eval $ac_try) 2>&5
46154 ac_status=$?
46155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46156 (exit $ac_status); }; } &&
46157 { ac_try='test -s conftest.$ac_objext'
46158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46159 (eval $ac_try) 2>&5
46160 ac_status=$?
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; }; then
46163 ac_cv_header_WebKit_HIWebView_h=yes
46164 else
46165 echo "$as_me: failed program was:" >&5
46166 sed 's/^/| /' conftest.$ac_ext >&5
46167
46168 ac_cv_header_WebKit_HIWebView_h=no
46169 fi
46170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46171 fi
46172 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46173 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46174 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46175
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_WEBKIT 1
46178 _ACEOF
46179
46180 WEBKIT_LINK="-framework WebKit"
46181
46182 else
46183
46184 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46185 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46186 wxUSE_WEBKIT=no
46187
46188 fi
46189
46190
46191 CPPFLAGS="$old_CPPFLAGS"
46192 elif test "$wxUSE_COCOA" = 1; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_WEBKIT 1
46195 _ACEOF
46196
46197 else
46198 wxUSE_WEBKIT=no
46199 fi
46200 fi
46201
46202 USE_XRC=0
46203 if test "$wxUSE_XRC" = "yes"; then
46204 if test "$wxUSE_XML" != "yes"; then
46205 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46206 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46207 wxUSE_XRC=no
46208 else
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_XRC 1
46211 _ACEOF
46212
46213 USE_XRC=1
46214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46215 fi
46216 fi
46217
46218 USE_AUI=0
46219 if test "$wxUSE_AUI" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_AUI 1
46222 _ACEOF
46223
46224 USE_AUI=1
46225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46226 fi
46227
46228 if test "$wxUSE_MENUS" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_MENUS 1
46231 _ACEOF
46232
46233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46234 fi
46235
46236 if test "$wxUSE_METAFILE" = "yes"; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_METAFILE 1
46239 _ACEOF
46240
46241 fi
46242
46243 if test "$wxUSE_MIMETYPE" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_MIMETYPE 1
46246 _ACEOF
46247
46248 fi
46249
46250 if test "$wxUSE_MINIFRAME" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_MINIFRAME 1
46253 _ACEOF
46254
46255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46256 fi
46257
46258 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_SYSTEM_OPTIONS 1
46261 _ACEOF
46262
46263 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46264 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46266 fi
46267 fi
46268
46269
46270 if test "$wxUSE_VALIDATORS" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_VALIDATORS 1
46273 _ACEOF
46274
46275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46276 fi
46277
46278 if test "$wxUSE_PALETTE" = "yes" ; then
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_PALETTE 1
46281 _ACEOF
46282
46283 fi
46284
46285 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46286 LIBS=" -lunicows $LIBS"
46287 fi
46288
46289 USE_RICHTEXT=0
46290 if test "$wxUSE_RICHTEXT" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_RICHTEXT 1
46293 _ACEOF
46294
46295 USE_RICHTEXT=1
46296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46297 fi
46298
46299
46300 if test "$wxUSE_IMAGE" = "yes" ; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_IMAGE 1
46303 _ACEOF
46304
46305
46306 if test "$wxUSE_GIF" = "yes" ; then
46307 cat >>confdefs.h <<\_ACEOF
46308 #define wxUSE_GIF 1
46309 _ACEOF
46310
46311 fi
46312
46313 if test "$wxUSE_PCX" = "yes" ; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_PCX 1
46316 _ACEOF
46317
46318 fi
46319
46320 if test "$wxUSE_TGA" = "yes" ; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_TGA 1
46323 _ACEOF
46324
46325 fi
46326
46327 if test "$wxUSE_IFF" = "yes" ; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_IFF 1
46330 _ACEOF
46331
46332 fi
46333
46334 if test "$wxUSE_PNM" = "yes" ; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_PNM 1
46337 _ACEOF
46338
46339 fi
46340
46341 if test "$wxUSE_XPM" = "yes" ; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_XPM 1
46344 _ACEOF
46345
46346 fi
46347
46348 if test "$wxUSE_ICO_CUR" = "yes" ; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_ICO_CUR 1
46351 _ACEOF
46352
46353 fi
46354 fi
46355
46356
46357 if test "$wxUSE_ABOUTDLG" = "yes"; then
46358 cat >>confdefs.h <<\_ACEOF
46359 #define wxUSE_ABOUTDLG 1
46360 _ACEOF
46361
46362 fi
46363
46364 if test "$wxUSE_CHOICEDLG" = "yes"; then
46365 cat >>confdefs.h <<\_ACEOF
46366 #define wxUSE_CHOICEDLG 1
46367 _ACEOF
46368
46369 fi
46370
46371 if test "$wxUSE_COLOURDLG" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_COLOURDLG 1
46374 _ACEOF
46375
46376 fi
46377
46378 if test "$wxUSE_FILEDLG" = "yes"; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_FILEDLG 1
46381 _ACEOF
46382
46383 fi
46384
46385 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_FINDREPLDLG 1
46388 _ACEOF
46389
46390 fi
46391
46392 if test "$wxUSE_FONTDLG" = "yes"; then
46393 cat >>confdefs.h <<\_ACEOF
46394 #define wxUSE_FONTDLG 1
46395 _ACEOF
46396
46397 fi
46398
46399 if test "$wxUSE_DIRDLG" = "yes"; then
46400 if test "$wxUSE_TREECTRL" != "yes"; then
46401 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46402 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46403 else
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_DIRDLG 1
46406 _ACEOF
46407
46408 fi
46409 fi
46410
46411 if test "$wxUSE_MSGDLG" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_MSGDLG 1
46414 _ACEOF
46415
46416 fi
46417
46418 if test "$wxUSE_NUMBERDLG" = "yes"; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_NUMBERDLG 1
46421 _ACEOF
46422
46423 fi
46424
46425 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46426 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46427 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46428 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46429 else
46430 cat >>confdefs.h <<\_ACEOF
46431 #define wxUSE_PROGRESSDLG 1
46432 _ACEOF
46433
46434 fi
46435 fi
46436
46437 if test "$wxUSE_SPLASH" = "yes"; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_SPLASH 1
46440 _ACEOF
46441
46442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46443 fi
46444
46445 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46446 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46447 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46448 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46449 else
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_STARTUP_TIPS 1
46452 _ACEOF
46453
46454 fi
46455 fi
46456
46457 if test "$wxUSE_TEXTDLG" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_TEXTDLG 1
46460 _ACEOF
46461
46462 fi
46463
46464 if test "$wxUSE_WIZARDDLG" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_WIZARDDLG 1
46467 _ACEOF
46468
46469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46470 fi
46471
46472
46473 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46474 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_GRAPHICS_CONTEXT 1
46477 _ACEOF
46478
46479 elif test "$wxUSE_GTK" != 1; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_GRAPHICS_CONTEXT 1
46482 _ACEOF
46483
46484 else
46485
46486 pkg_failed=no
46487 echo "$as_me:$LINENO: checking for CAIRO" >&5
46488 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46489
46490 if test -n "$PKG_CONFIG"; then
46491 if test -n "$CAIRO_CFLAGS"; then
46492 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46493 else
46494 if test -n "$PKG_CONFIG" && \
46495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46496 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46497 ac_status=$?
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); }; then
46500 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46501 else
46502 pkg_failed=yes
46503 fi
46504 fi
46505 else
46506 pkg_failed=untried
46507 fi
46508 if test -n "$PKG_CONFIG"; then
46509 if test -n "$CAIRO_LIBS"; then
46510 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46511 else
46512 if test -n "$PKG_CONFIG" && \
46513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46514 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46515 ac_status=$?
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); }; then
46518 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46519 else
46520 pkg_failed=yes
46521 fi
46522 fi
46523 else
46524 pkg_failed=untried
46525 fi
46526
46527
46528
46529 if test $pkg_failed = yes; then
46530
46531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46532 _pkg_short_errors_supported=yes
46533 else
46534 _pkg_short_errors_supported=no
46535 fi
46536 if test $_pkg_short_errors_supported = yes; then
46537 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46538 else
46539 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46540 fi
46541 # Put the nasty error message in config.log where it belongs
46542 echo "$CAIRO_PKG_ERRORS" >&5
46543
46544 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46545 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46546
46547 elif test $pkg_failed = untried; then
46548 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46549 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46550
46551 else
46552 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46553 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46554 echo "$as_me:$LINENO: result: yes" >&5
46555 echo "${ECHO_T}yes" >&6
46556 cat >>confdefs.h <<\_ACEOF
46557 #define wxUSE_GRAPHICS_CONTEXT 1
46558 _ACEOF
46559
46560 fi
46561 fi
46562 fi
46563
46564
46565 USE_MEDIA=0
46566
46567 if test "$wxUSE_MEDIACTRL" = "yes"; then
46568 USE_MEDIA=1
46569
46570 if test "$wxUSE_GTK" = 1; then
46571 wxUSE_GSTREAMER="no"
46572
46573 GST_VERSION_MAJOR=0
46574 GST_VERSION_MINOR=10
46575 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46576
46577 if test "$wxUSE_GSTREAMER8" = "no"; then
46578
46579 pkg_failed=no
46580 echo "$as_me:$LINENO: checking for GST" >&5
46581 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46582
46583 if test -n "$PKG_CONFIG"; then
46584 if test -n "$GST_CFLAGS"; then
46585 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46586 else
46587 if test -n "$PKG_CONFIG" && \
46588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46589 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46590 ac_status=$?
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); }; then
46593 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46594 else
46595 pkg_failed=yes
46596 fi
46597 fi
46598 else
46599 pkg_failed=untried
46600 fi
46601 if test -n "$PKG_CONFIG"; then
46602 if test -n "$GST_LIBS"; then
46603 pkg_cv_GST_LIBS="$GST_LIBS"
46604 else
46605 if test -n "$PKG_CONFIG" && \
46606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46607 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46608 ac_status=$?
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); }; then
46611 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46612 else
46613 pkg_failed=yes
46614 fi
46615 fi
46616 else
46617 pkg_failed=untried
46618 fi
46619
46620
46621
46622 if test $pkg_failed = yes; then
46623
46624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46625 _pkg_short_errors_supported=yes
46626 else
46627 _pkg_short_errors_supported=no
46628 fi
46629 if test $_pkg_short_errors_supported = yes; then
46630 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46631 else
46632 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46633 fi
46634 # Put the nasty error message in config.log where it belongs
46635 echo "$GST_PKG_ERRORS" >&5
46636
46637
46638 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46639 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46640 GST_VERSION_MINOR=8
46641
46642
46643 elif test $pkg_failed = untried; then
46644
46645 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46646 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46647 GST_VERSION_MINOR=8
46648
46649
46650 else
46651 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46652 GST_LIBS=$pkg_cv_GST_LIBS
46653 echo "$as_me:$LINENO: result: yes" >&5
46654 echo "${ECHO_T}yes" >&6
46655
46656 wxUSE_GSTREAMER="yes"
46657 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46658
46659 fi
46660 else
46661 GST_VERSION_MINOR=8
46662 fi
46663
46664 if test $GST_VERSION_MINOR = "8"; then
46665 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46666
46667 pkg_failed=no
46668 echo "$as_me:$LINENO: checking for GST" >&5
46669 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46670
46671 if test -n "$PKG_CONFIG"; then
46672 if test -n "$GST_CFLAGS"; then
46673 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46674 else
46675 if test -n "$PKG_CONFIG" && \
46676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46677 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46678 ac_status=$?
46679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46680 (exit $ac_status); }; then
46681 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46682 else
46683 pkg_failed=yes
46684 fi
46685 fi
46686 else
46687 pkg_failed=untried
46688 fi
46689 if test -n "$PKG_CONFIG"; then
46690 if test -n "$GST_LIBS"; then
46691 pkg_cv_GST_LIBS="$GST_LIBS"
46692 else
46693 if test -n "$PKG_CONFIG" && \
46694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46695 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46696 ac_status=$?
46697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698 (exit $ac_status); }; then
46699 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46700 else
46701 pkg_failed=yes
46702 fi
46703 fi
46704 else
46705 pkg_failed=untried
46706 fi
46707
46708
46709
46710 if test $pkg_failed = yes; then
46711
46712 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46713 _pkg_short_errors_supported=yes
46714 else
46715 _pkg_short_errors_supported=no
46716 fi
46717 if test $_pkg_short_errors_supported = yes; then
46718 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46719 else
46720 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46721 fi
46722 # Put the nasty error message in config.log where it belongs
46723 echo "$GST_PKG_ERRORS" >&5
46724
46725
46726 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46727 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46728
46729 elif test $pkg_failed = untried; then
46730
46731 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46732 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46733
46734 else
46735 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46736 GST_LIBS=$pkg_cv_GST_LIBS
46737 echo "$as_me:$LINENO: result: yes" >&5
46738 echo "${ECHO_T}yes" >&6
46739 wxUSE_GSTREAMER="yes"
46740 fi
46741 fi
46742
46743
46744 if test "$wxUSE_GSTREAMER" = "yes"; then
46745 case "${host}" in
46746 *-*-solaris2* )
46747 if "$GCC" = yes; then
46748 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46749 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46750 fi
46751 esac
46752
46753 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46754 LIBS="$GST_LIBS $LIBS"
46755
46756 cat >>confdefs.h <<\_ACEOF
46757 #define wxUSE_GSTREAMER 1
46758 _ACEOF
46759
46760 else
46761 USE_MEDIA=0
46762 fi
46763 fi
46764
46765 if test $USE_MEDIA = 1; then
46766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_MEDIACTRL 1
46769 _ACEOF
46770
46771 fi
46772 fi
46773
46774
46775 if test "$cross_compiling" = "yes"; then
46776 OSINFO="\"$host\""
46777 else
46778 OSINFO=`uname -s -r -m`
46779 OSINFO="\"$OSINFO\""
46780 fi
46781
46782 cat >>confdefs.h <<_ACEOF
46783 #define WXWIN_OS_DESCRIPTION $OSINFO
46784 _ACEOF
46785
46786
46787
46788 if test "x$prefix" != "xNONE"; then
46789 wxPREFIX=$prefix
46790 else
46791 wxPREFIX=$ac_default_prefix
46792 fi
46793
46794 cat >>confdefs.h <<_ACEOF
46795 #define wxINSTALL_PREFIX "$wxPREFIX"
46796 _ACEOF
46797
46798
46799
46800
46801 CORE_BASE_LIBS="net base"
46802 CORE_GUI_LIBS="adv core"
46803
46804 if test "$wxUSE_XML" = "yes" ; then
46805 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46806 fi
46807 if test "$wxUSE_ODBC" != "no" ; then
46808 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46809 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46810 fi
46811 if test "$wxUSE_HTML" = "yes" ; then
46812 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46813 fi
46814 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46815 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46816 fi
46817 if test "$wxUSE_XRC" = "yes" ; then
46818 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46819 fi
46820 if test "$wxUSE_AUI" = "yes" ; then
46821 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46822 fi
46823
46824 if test "$wxUSE_GUI" != "yes"; then
46825 CORE_GUI_LIBS=""
46826 fi
46827
46828
46829
46830
46831
46832
46833 if test "$wxUSE_MAC" = 1 ; then
46834 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46835 if test "$USE_DARWIN" = 1; then
46836 LDFLAGS="$LDFLAGS -framework QuickTime"
46837 else
46838 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46839 fi
46840 fi
46841 if test "$USE_DARWIN" = 1; then
46842 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46843 else
46844 LDFLAGS="$LDFLAGS -lCarbonLib"
46845 fi
46846 fi
46847 if test "$wxUSE_COCOA" = 1 ; then
46848 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46849 if test "$wxUSE_MEDIACTRL" = "yes"; then
46850 LDFLAGS="$LDFLAGS -framework QuickTime"
46851 fi
46852 fi
46853 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46854 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46855 fi
46856
46857 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46858
46859 if test "$wxUSE_GUI" = "yes"; then
46860
46861
46862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46863 dynamic erase event exec font image minimal mobile \
46864 mobile/wxedit mobile/styles propsize render \
46865 rotate shaped vscroll widgets"
46866
46867 if test "$wxUSE_MONOLITHIC" != "yes"; then
46868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46869 fi
46870 if test "$TOOLKIT" = "MSW"; then
46871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46872 if test "$wxUSE_UNIVERSAL" != "yes"; then
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46874 fi
46875 fi
46876 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46878 fi
46879 else
46880 SAMPLES_SUBDIRS="console"
46881 fi
46882
46883
46884 if test "x$INTELCC" = "xyes" ; then
46885 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46886 elif test "$GCC" = yes ; then
46887 CWARNINGS="-Wall -Wundef"
46888 fi
46889
46890 if test "x$INTELCXX" = "xyes" ; then
46891 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46892 elif test "$GXX" = yes ; then
46893 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46894 fi
46895
46896
46897 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46898 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46899
46900
46901 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46902 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46903 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46904 $CPPFLAGS `
46905
46906 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46907 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46908 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46909
46910 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46911
46912
46913 if test "x$MWCC" = "xyes"; then
46914
46915 CC="$CC -cwd source -I-"
46916 CXX="$CXX -cwd source -I-"
46917 fi
46918
46919
46920 LIBS=`echo $LIBS`
46921 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46922 EXTRALIBS_XML="$EXPAT_LINK"
46923 EXTRALIBS_HTML="$MSPACK_LINK"
46924 EXTRALIBS_ODBC="$ODBC_LINK"
46925 if test "$wxUSE_GUI" = "yes"; then
46926 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46927 fi
46928 if test "$wxUSE_OPENGL" = "yes"; then
46929 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46930 fi
46931
46932 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46933
46934 WXCONFIG_LIBS="$LIBS"
46935
46936 if test "$wxUSE_REGEX" = "builtin" ; then
46937 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46938 fi
46939 if test "$wxUSE_EXPAT" = "builtin" ; then
46940 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46941 fi
46942 if test "$wxUSE_ODBC" = "builtin" ; then
46943 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46944 fi
46945 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46946 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46947 fi
46948 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46949 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46950 fi
46951 if test "$wxUSE_LIBPNG" = "builtin" ; then
46952 wxconfig_3rdparty="png $wxconfig_3rdparty"
46953 fi
46954 if test "$wxUSE_ZLIB" = "builtin" ; then
46955 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46956 fi
46957
46958 for i in $wxconfig_3rdparty ; do
46959 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46960 done
46961
46962
46963 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46964 WXUNIV=1
46965
46966 case "$wxUNIV_THEMES" in
46967 ''|all)
46968 cat >>confdefs.h <<\_ACEOF
46969 #define wxUSE_ALL_THEMES 1
46970 _ACEOF
46971
46972 ;;
46973
46974 *)
46975 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46976 cat >>confdefs.h <<_ACEOF
46977 #define wxUSE_THEME_$t 1
46978 _ACEOF
46979
46980 done
46981 esac
46982 else
46983 WXUNIV=0
46984 fi
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994 if test $wxUSE_MONOLITHIC = "yes" ; then
46995 MONOLITHIC=1
46996 else
46997 MONOLITHIC=0
46998 fi
46999
47000 if test $wxUSE_PLUGINS = "yes" ; then
47001 USE_PLUGINS=1
47002 else
47003 USE_PLUGINS=0
47004 fi
47005
47006 if test $wxUSE_ODBC != "no" ; then
47007 USE_ODBC=1
47008 else
47009 USE_ODBC=0
47010 fi
47011
47012 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47013 USE_QA=1
47014 else
47015 USE_QA=0
47016 fi
47017
47018 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47019 OFFICIAL_BUILD=1
47020 else
47021 OFFICIAL_BUILD=0
47022 fi
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47049
47050
47051
47052
47053
47054
47055
47056
47057 case "$TOOLKIT" in
47058 GTK)
47059 TOOLKIT_DESC="GTK+"
47060 if test "$WXGTK20" = 1; then
47061 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47062 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47063 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47064 fi
47065 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47066 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47067 fi
47068 if test "$wxUSE_LIBHILDON" = "yes"; then
47069 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47070 fi
47071
47072 if test "$TOOLKIT_EXTRA" != ""; then
47073 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47074 fi
47075 fi
47076 ;;
47077
47078 ?*)
47079 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47080 ;;
47081
47082 *)
47083 TOOLKIT_DESC="base only"
47084 ;;
47085 esac
47086
47087 if test "$wxUSE_WINE" = "yes"; then
47088 BAKEFILE_FORCE_PLATFORM=win32
47089 fi
47090
47091 if test "$wxUSE_MAC" = 1 ; then
47092 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47093 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47094 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47095 else
47096 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47097 fi
47098 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47099 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47100 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47101 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47102 bk_use_pch=no
47103 fi
47104 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47105 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47106 fi
47107
47108 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47109 then
47110 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47111 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47112 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47113 echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115
47116 echo '#include <stdio.h>
47117 const wchar_t test_var[] = L"awidetest";' > conftest.h
47118
47119 echo '#include "conftest.h"
47120 int main()
47121 {
47122 printf("%ls", test_var);
47123 return 0;
47124 }' > conftest.cpp
47125
47126 wx_cv_gcc_pch_bug="pch not supported"
47127
47128 if $CXX conftest.h >/dev/null 2>&1
47129 then
47130 wx_cv_gcc_pch_bug=
47131
47132 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47133 then
47134 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47135 grep awidetest >/dev/null
47136 then
47137 wx_cv_gcc_pch_bug=no
47138 else
47139 wx_cv_gcc_pch_bug=yes
47140 fi
47141 fi
47142 fi
47143
47144 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47145
47146 fi
47147 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47148 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47149
47150 if test "$wx_cv_gcc_pch_bug" = yes; then
47151 bk_use_pch=no
47152 fi
47153 fi
47154
47155
47156
47157
47158 if test "x$BAKEFILE_HOST" = "x"; then
47159 if test "x${host}" = "x" ; then
47160 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47161 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47162 { (exit 1); exit 1; }; }
47163 fi
47164
47165 BAKEFILE_HOST="${host}"
47166 fi
47167
47168 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47169
47170 if test -n "$ac_tool_prefix"; then
47171 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47172 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47173 echo "$as_me:$LINENO: checking for $ac_word" >&5
47174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47175 if test "${ac_cv_prog_RANLIB+set}" = set; then
47176 echo $ECHO_N "(cached) $ECHO_C" >&6
47177 else
47178 if test -n "$RANLIB"; then
47179 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47180 else
47181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47182 for as_dir in $PATH
47183 do
47184 IFS=$as_save_IFS
47185 test -z "$as_dir" && as_dir=.
47186 for ac_exec_ext in '' $ac_executable_extensions; do
47187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47188 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47190 break 2
47191 fi
47192 done
47193 done
47194
47195 fi
47196 fi
47197 RANLIB=$ac_cv_prog_RANLIB
47198 if test -n "$RANLIB"; then
47199 echo "$as_me:$LINENO: result: $RANLIB" >&5
47200 echo "${ECHO_T}$RANLIB" >&6
47201 else
47202 echo "$as_me:$LINENO: result: no" >&5
47203 echo "${ECHO_T}no" >&6
47204 fi
47205
47206 fi
47207 if test -z "$ac_cv_prog_RANLIB"; then
47208 ac_ct_RANLIB=$RANLIB
47209 # Extract the first word of "ranlib", so it can be a program name with args.
47210 set dummy ranlib; ac_word=$2
47211 echo "$as_me:$LINENO: checking for $ac_word" >&5
47212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47213 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47214 echo $ECHO_N "(cached) $ECHO_C" >&6
47215 else
47216 if test -n "$ac_ct_RANLIB"; then
47217 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47218 else
47219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47220 for as_dir in $PATH
47221 do
47222 IFS=$as_save_IFS
47223 test -z "$as_dir" && as_dir=.
47224 for ac_exec_ext in '' $ac_executable_extensions; do
47225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47226 ac_cv_prog_ac_ct_RANLIB="ranlib"
47227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47228 break 2
47229 fi
47230 done
47231 done
47232
47233 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47234 fi
47235 fi
47236 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47237 if test -n "$ac_ct_RANLIB"; then
47238 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47239 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47240 else
47241 echo "$as_me:$LINENO: result: no" >&5
47242 echo "${ECHO_T}no" >&6
47243 fi
47244
47245 RANLIB=$ac_ct_RANLIB
47246 else
47247 RANLIB="$ac_cv_prog_RANLIB"
47248 fi
47249
47250 # Find a good install program. We prefer a C program (faster),
47251 # so one script is as good as another. But avoid the broken or
47252 # incompatible versions:
47253 # SysV /etc/install, /usr/sbin/install
47254 # SunOS /usr/etc/install
47255 # IRIX /sbin/install
47256 # AIX /bin/install
47257 # AmigaOS /C/install, which installs bootblocks on floppy discs
47258 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47259 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47260 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47261 # OS/2's system install, which has a completely different semantic
47262 # ./install, which can be erroneously created by make from ./install.sh.
47263 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47264 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47265 if test -z "$INSTALL"; then
47266 if test "${ac_cv_path_install+set}" = set; then
47267 echo $ECHO_N "(cached) $ECHO_C" >&6
47268 else
47269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47270 for as_dir in $PATH
47271 do
47272 IFS=$as_save_IFS
47273 test -z "$as_dir" && as_dir=.
47274 # Account for people who put trailing slashes in PATH elements.
47275 case $as_dir/ in
47276 ./ | .// | /cC/* | \
47277 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47278 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47279 /usr/ucb/* ) ;;
47280 *)
47281 # OSF1 and SCO ODT 3.0 have their own names for install.
47282 # Don't use installbsd from OSF since it installs stuff as root
47283 # by default.
47284 for ac_prog in ginstall scoinst install; do
47285 for ac_exec_ext in '' $ac_executable_extensions; do
47286 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47287 if test $ac_prog = install &&
47288 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47289 # AIX install. It has an incompatible calling convention.
47290 :
47291 elif test $ac_prog = install &&
47292 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47293 # program-specific install script used by HP pwplus--don't use.
47294 :
47295 else
47296 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47297 break 3
47298 fi
47299 fi
47300 done
47301 done
47302 ;;
47303 esac
47304 done
47305
47306
47307 fi
47308 if test "${ac_cv_path_install+set}" = set; then
47309 INSTALL=$ac_cv_path_install
47310 else
47311 # As a last resort, use the slow shell script. We don't cache a
47312 # path for INSTALL within a source directory, because that will
47313 # break other packages using the cache if that directory is
47314 # removed, or if the path is relative.
47315 INSTALL=$ac_install_sh
47316 fi
47317 fi
47318 echo "$as_me:$LINENO: result: $INSTALL" >&5
47319 echo "${ECHO_T}$INSTALL" >&6
47320
47321 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47322 # It thinks the first close brace ends the variable substitution.
47323 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47324
47325 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47326
47327 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47328
47329 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47330 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47331 LN_S=$as_ln_s
47332 if test "$LN_S" = "ln -s"; then
47333 echo "$as_me:$LINENO: result: yes" >&5
47334 echo "${ECHO_T}yes" >&6
47335 else
47336 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47337 echo "${ECHO_T}no, using $LN_S" >&6
47338 fi
47339
47340
47341 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47342 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47343 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47344 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47345 echo $ECHO_N "(cached) $ECHO_C" >&6
47346 else
47347 cat >conftest.make <<\_ACEOF
47348 all:
47349 @echo 'ac_maketemp="$(MAKE)"'
47350 _ACEOF
47351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47352 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47353 if test -n "$ac_maketemp"; then
47354 eval ac_cv_prog_make_${ac_make}_set=yes
47355 else
47356 eval ac_cv_prog_make_${ac_make}_set=no
47357 fi
47358 rm -f conftest.make
47359 fi
47360 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47361 echo "$as_me:$LINENO: result: yes" >&5
47362 echo "${ECHO_T}yes" >&6
47363 SET_MAKE=
47364 else
47365 echo "$as_me:$LINENO: result: no" >&5
47366 echo "${ECHO_T}no" >&6
47367 SET_MAKE="MAKE=${MAKE-make}"
47368 fi
47369
47370
47371
47372 if test "x$SUNCXX" = "xyes"; then
47373 AR=$CXX
47374
47375 AROPTIONS="-xar -o"
47376 else
47377 if test -n "$ac_tool_prefix"; then
47378 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47379 set dummy ${ac_tool_prefix}ar; ac_word=$2
47380 echo "$as_me:$LINENO: checking for $ac_word" >&5
47381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47382 if test "${ac_cv_prog_AR+set}" = set; then
47383 echo $ECHO_N "(cached) $ECHO_C" >&6
47384 else
47385 if test -n "$AR"; then
47386 ac_cv_prog_AR="$AR" # Let the user override the test.
47387 else
47388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47389 for as_dir in $PATH
47390 do
47391 IFS=$as_save_IFS
47392 test -z "$as_dir" && as_dir=.
47393 for ac_exec_ext in '' $ac_executable_extensions; do
47394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47395 ac_cv_prog_AR="${ac_tool_prefix}ar"
47396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47397 break 2
47398 fi
47399 done
47400 done
47401
47402 fi
47403 fi
47404 AR=$ac_cv_prog_AR
47405 if test -n "$AR"; then
47406 echo "$as_me:$LINENO: result: $AR" >&5
47407 echo "${ECHO_T}$AR" >&6
47408 else
47409 echo "$as_me:$LINENO: result: no" >&5
47410 echo "${ECHO_T}no" >&6
47411 fi
47412
47413 fi
47414 if test -z "$ac_cv_prog_AR"; then
47415 ac_ct_AR=$AR
47416 # Extract the first word of "ar", so it can be a program name with args.
47417 set dummy ar; ac_word=$2
47418 echo "$as_me:$LINENO: checking for $ac_word" >&5
47419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47420 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47421 echo $ECHO_N "(cached) $ECHO_C" >&6
47422 else
47423 if test -n "$ac_ct_AR"; then
47424 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47425 else
47426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47427 for as_dir in $PATH
47428 do
47429 IFS=$as_save_IFS
47430 test -z "$as_dir" && as_dir=.
47431 for ac_exec_ext in '' $ac_executable_extensions; do
47432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47433 ac_cv_prog_ac_ct_AR="ar"
47434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47435 break 2
47436 fi
47437 done
47438 done
47439
47440 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47441 fi
47442 fi
47443 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47444 if test -n "$ac_ct_AR"; then
47445 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47446 echo "${ECHO_T}$ac_ct_AR" >&6
47447 else
47448 echo "$as_me:$LINENO: result: no" >&5
47449 echo "${ECHO_T}no" >&6
47450 fi
47451
47452 AR=$ac_ct_AR
47453 else
47454 AR="$ac_cv_prog_AR"
47455 fi
47456
47457 AROPTIONS=rcu
47458 fi
47459
47460
47461 if test -n "$ac_tool_prefix"; then
47462 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47463 set dummy ${ac_tool_prefix}strip; ac_word=$2
47464 echo "$as_me:$LINENO: checking for $ac_word" >&5
47465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47466 if test "${ac_cv_prog_STRIP+set}" = set; then
47467 echo $ECHO_N "(cached) $ECHO_C" >&6
47468 else
47469 if test -n "$STRIP"; then
47470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47471 else
47472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47473 for as_dir in $PATH
47474 do
47475 IFS=$as_save_IFS
47476 test -z "$as_dir" && as_dir=.
47477 for ac_exec_ext in '' $ac_executable_extensions; do
47478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47479 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47481 break 2
47482 fi
47483 done
47484 done
47485
47486 fi
47487 fi
47488 STRIP=$ac_cv_prog_STRIP
47489 if test -n "$STRIP"; then
47490 echo "$as_me:$LINENO: result: $STRIP" >&5
47491 echo "${ECHO_T}$STRIP" >&6
47492 else
47493 echo "$as_me:$LINENO: result: no" >&5
47494 echo "${ECHO_T}no" >&6
47495 fi
47496
47497 fi
47498 if test -z "$ac_cv_prog_STRIP"; then
47499 ac_ct_STRIP=$STRIP
47500 # Extract the first word of "strip", so it can be a program name with args.
47501 set dummy strip; ac_word=$2
47502 echo "$as_me:$LINENO: checking for $ac_word" >&5
47503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47504 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47505 echo $ECHO_N "(cached) $ECHO_C" >&6
47506 else
47507 if test -n "$ac_ct_STRIP"; then
47508 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47509 else
47510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47511 for as_dir in $PATH
47512 do
47513 IFS=$as_save_IFS
47514 test -z "$as_dir" && as_dir=.
47515 for ac_exec_ext in '' $ac_executable_extensions; do
47516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47517 ac_cv_prog_ac_ct_STRIP="strip"
47518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47519 break 2
47520 fi
47521 done
47522 done
47523
47524 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47525 fi
47526 fi
47527 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47528 if test -n "$ac_ct_STRIP"; then
47529 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47530 echo "${ECHO_T}$ac_ct_STRIP" >&6
47531 else
47532 echo "$as_me:$LINENO: result: no" >&5
47533 echo "${ECHO_T}no" >&6
47534 fi
47535
47536 STRIP=$ac_ct_STRIP
47537 else
47538 STRIP="$ac_cv_prog_STRIP"
47539 fi
47540
47541 if test -n "$ac_tool_prefix"; then
47542 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47543 set dummy ${ac_tool_prefix}nm; ac_word=$2
47544 echo "$as_me:$LINENO: checking for $ac_word" >&5
47545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47546 if test "${ac_cv_prog_NM+set}" = set; then
47547 echo $ECHO_N "(cached) $ECHO_C" >&6
47548 else
47549 if test -n "$NM"; then
47550 ac_cv_prog_NM="$NM" # Let the user override the test.
47551 else
47552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47553 for as_dir in $PATH
47554 do
47555 IFS=$as_save_IFS
47556 test -z "$as_dir" && as_dir=.
47557 for ac_exec_ext in '' $ac_executable_extensions; do
47558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47559 ac_cv_prog_NM="${ac_tool_prefix}nm"
47560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47561 break 2
47562 fi
47563 done
47564 done
47565
47566 fi
47567 fi
47568 NM=$ac_cv_prog_NM
47569 if test -n "$NM"; then
47570 echo "$as_me:$LINENO: result: $NM" >&5
47571 echo "${ECHO_T}$NM" >&6
47572 else
47573 echo "$as_me:$LINENO: result: no" >&5
47574 echo "${ECHO_T}no" >&6
47575 fi
47576
47577 fi
47578 if test -z "$ac_cv_prog_NM"; then
47579 ac_ct_NM=$NM
47580 # Extract the first word of "nm", so it can be a program name with args.
47581 set dummy nm; ac_word=$2
47582 echo "$as_me:$LINENO: checking for $ac_word" >&5
47583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47584 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47585 echo $ECHO_N "(cached) $ECHO_C" >&6
47586 else
47587 if test -n "$ac_ct_NM"; then
47588 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47589 else
47590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47591 for as_dir in $PATH
47592 do
47593 IFS=$as_save_IFS
47594 test -z "$as_dir" && as_dir=.
47595 for ac_exec_ext in '' $ac_executable_extensions; do
47596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47597 ac_cv_prog_ac_ct_NM="nm"
47598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47599 break 2
47600 fi
47601 done
47602 done
47603
47604 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47605 fi
47606 fi
47607 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47608 if test -n "$ac_ct_NM"; then
47609 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47610 echo "${ECHO_T}$ac_ct_NM" >&6
47611 else
47612 echo "$as_me:$LINENO: result: no" >&5
47613 echo "${ECHO_T}no" >&6
47614 fi
47615
47616 NM=$ac_ct_NM
47617 else
47618 NM="$ac_cv_prog_NM"
47619 fi
47620
47621
47622 case ${BAKEFILE_HOST} in
47623 *-hp-hpux* )
47624 INSTALL_DIR="mkdir -p"
47625 ;;
47626 * )
47627 INSTALL_DIR='$(INSTALL) -d'
47628 ;;
47629 esac
47630
47631
47632 LDFLAGS_GUI=
47633 case ${BAKEFILE_HOST} in
47634 *-*-cygwin* | *-*-mingw32* )
47635 LDFLAGS_GUI="-mwindows"
47636 esac
47637
47638
47639 fi
47640
47641 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47642 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47643 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47644 echo $ECHO_N "(cached) $ECHO_C" >&6
47645 else
47646
47647 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47648 egrep -s GNU > /dev/null); then
47649 bakefile_cv_prog_makeisgnu="yes"
47650 else
47651 bakefile_cv_prog_makeisgnu="no"
47652 fi
47653
47654 fi
47655 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47656 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47657
47658 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47659 IF_GNU_MAKE=""
47660 else
47661 IF_GNU_MAKE="#"
47662 fi
47663
47664
47665
47666 PLATFORM_UNIX=0
47667 PLATFORM_WIN32=0
47668 PLATFORM_MSDOS=0
47669 PLATFORM_MAC=0
47670 PLATFORM_MACOS=0
47671 PLATFORM_MACOSX=0
47672 PLATFORM_OS2=0
47673 PLATFORM_BEOS=0
47674
47675 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47676 case "${BAKEFILE_HOST}" in
47677 *-*-mingw32* )
47678 PLATFORM_WIN32=1
47679 ;;
47680 *-pc-msdosdjgpp )
47681 PLATFORM_MSDOS=1
47682 ;;
47683 *-pc-os2_emx | *-pc-os2-emx )
47684 PLATFORM_OS2=1
47685 ;;
47686 *-*-darwin* )
47687 PLATFORM_MAC=1
47688 PLATFORM_MACOSX=1
47689 ;;
47690 *-*-beos* )
47691 PLATFORM_BEOS=1
47692 ;;
47693 powerpc-apple-macos* )
47694 PLATFORM_MAC=1
47695 PLATFORM_MACOS=1
47696 ;;
47697 * )
47698 PLATFORM_UNIX=1
47699 ;;
47700 esac
47701 else
47702 case "$BAKEFILE_FORCE_PLATFORM" in
47703 win32 )
47704 PLATFORM_WIN32=1
47705 ;;
47706 msdos )
47707 PLATFORM_MSDOS=1
47708 ;;
47709 os2 )
47710 PLATFORM_OS2=1
47711 ;;
47712 darwin )
47713 PLATFORM_MAC=1
47714 PLATFORM_MACOSX=1
47715 ;;
47716 unix )
47717 PLATFORM_UNIX=1
47718 ;;
47719 beos )
47720 PLATFORM_BEOS=1
47721 ;;
47722 * )
47723 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47724 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47725 { (exit 1); exit 1; }; }
47726 ;;
47727 esac
47728 fi
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740 # Check whether --enable-omf or --disable-omf was given.
47741 if test "${enable_omf+set}" = set; then
47742 enableval="$enable_omf"
47743 bk_os2_use_omf="$enableval"
47744 fi;
47745
47746 case "${BAKEFILE_HOST}" in
47747 *-*-darwin* )
47748 if test "x$GCC" = "xyes"; then
47749 CFLAGS="$CFLAGS -fno-common"
47750 CXXFLAGS="$CXXFLAGS -fno-common"
47751 fi
47752 if test "x$XLCC" = "xyes"; then
47753 CFLAGS="$CFLAGS -qnocommon"
47754 CXXFLAGS="$CXXFLAGS -qnocommon"
47755 fi
47756 ;;
47757
47758 *-pc-os2_emx | *-pc-os2-emx )
47759 if test "x$bk_os2_use_omf" = "xyes" ; then
47760 AR=emxomfar
47761 RANLIB=:
47762 LDFLAGS="-Zomf $LDFLAGS"
47763 CFLAGS="-Zomf $CFLAGS"
47764 CXXFLAGS="-Zomf $CXXFLAGS"
47765 OS2_LIBEXT="lib"
47766 else
47767 OS2_LIBEXT="a"
47768 fi
47769 ;;
47770
47771 i*86-*-beos* )
47772 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47773 ;;
47774 esac
47775
47776
47777 SO_SUFFIX="so"
47778 SO_SUFFIX_MODULE="so"
47779 EXEEXT=""
47780 LIBPREFIX="lib"
47781 LIBEXT=".a"
47782 DLLPREFIX="lib"
47783 DLLPREFIX_MODULE=""
47784 DLLIMP_SUFFIX=""
47785 dlldir="$libdir"
47786
47787 case "${BAKEFILE_HOST}" in
47788 *-hp-hpux* )
47789 SO_SUFFIX="sl"
47790 SO_SUFFIX_MODULE="sl"
47791 ;;
47792 *-*-aix* )
47793 SO_SUFFIX="a"
47794 SO_SUFFIX_MODULE="a"
47795 ;;
47796 *-*-cygwin* )
47797 SO_SUFFIX="dll"
47798 SO_SUFFIX_MODULE="dll"
47799 DLLIMP_SUFFIX="dll.a"
47800 EXEEXT=".exe"
47801 DLLPREFIX="cyg"
47802 dlldir="$bindir"
47803 ;;
47804 *-*-mingw32* )
47805 SO_SUFFIX="dll"
47806 SO_SUFFIX_MODULE="dll"
47807 DLLIMP_SUFFIX="dll.a"
47808 EXEEXT=".exe"
47809 DLLPREFIX=""
47810 dlldir="$bindir"
47811 ;;
47812 *-pc-msdosdjgpp )
47813 EXEEXT=".exe"
47814 DLLPREFIX=""
47815 dlldir="$bindir"
47816 ;;
47817 *-pc-os2_emx | *-pc-os2-emx )
47818 SO_SUFFIX="dll"
47819 SO_SUFFIX_MODULE="dll"
47820 DLLIMP_SUFFIX=$OS2_LIBEXT
47821 EXEEXT=".exe"
47822 DLLPREFIX=""
47823 LIBPREFIX=""
47824 LIBEXT=".$OS2_LIBEXT"
47825 dlldir="$bindir"
47826 ;;
47827 *-*-darwin* )
47828 SO_SUFFIX="dylib"
47829 SO_SUFFIX_MODULE="bundle"
47830 ;;
47831 esac
47832
47833 if test "x$DLLIMP_SUFFIX" = "x" ; then
47834 DLLIMP_SUFFIX="$SO_SUFFIX"
47835 fi
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848 PIC_FLAG=""
47849 if test "x$GCC" = "xyes"; then
47850 PIC_FLAG="-fPIC"
47851 fi
47852
47853 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47854 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47855 WINDOWS_IMPLIB=0
47856
47857 case "${BAKEFILE_HOST}" in
47858 *-hp-hpux* )
47859 if test "x$GCC" != "xyes"; then
47860 LDFLAGS="$LDFLAGS -L/usr/lib"
47861
47862 SHARED_LD_CC="${CC} -b -o"
47863 SHARED_LD_CXX="${CXX} -b -o"
47864 PIC_FLAG="+Z"
47865 fi
47866 ;;
47867
47868 *-*-linux* )
47869 if test "x$GCC" != "xyes"; then
47870 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47871 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47872 if test "${bakefile_cv_prog_icc+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 else
47875
47876 cat >conftest.$ac_ext <<_ACEOF
47877 /* confdefs.h. */
47878 _ACEOF
47879 cat confdefs.h >>conftest.$ac_ext
47880 cat >>conftest.$ac_ext <<_ACEOF
47881 /* end confdefs.h. */
47882
47883 int
47884 main ()
47885 {
47886
47887 #ifndef __INTEL_COMPILER
47888 This is not ICC
47889 #endif
47890
47891 ;
47892 return 0;
47893 }
47894 _ACEOF
47895 rm -f conftest.$ac_objext
47896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47897 (eval $ac_compile) 2>conftest.er1
47898 ac_status=$?
47899 grep -v '^ *+' conftest.er1 >conftest.err
47900 rm -f conftest.er1
47901 cat conftest.err >&5
47902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47903 (exit $ac_status); } &&
47904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47906 (eval $ac_try) 2>&5
47907 ac_status=$?
47908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47909 (exit $ac_status); }; } &&
47910 { ac_try='test -s conftest.$ac_objext'
47911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47912 (eval $ac_try) 2>&5
47913 ac_status=$?
47914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47915 (exit $ac_status); }; }; then
47916 bakefile_cv_prog_icc=yes
47917 else
47918 echo "$as_me: failed program was:" >&5
47919 sed 's/^/| /' conftest.$ac_ext >&5
47920
47921 bakefile_cv_prog_icc=no
47922
47923 fi
47924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47925
47926 fi
47927 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47928 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47929 if test "$bakefile_cv_prog_icc" = "yes"; then
47930 PIC_FLAG="-KPIC"
47931 fi
47932 fi
47933 ;;
47934
47935 *-*-solaris2* )
47936 if test "x$GCC" != xyes ; then
47937 SHARED_LD_CC="${CC} -G -o"
47938 SHARED_LD_CXX="${CXX} -G -o"
47939 PIC_FLAG="-KPIC"
47940 fi
47941 ;;
47942
47943 *-*-darwin* )
47944
47945 D='$'
47946 cat <<EOF >shared-ld-sh
47947 #!/bin/sh
47948 #-----------------------------------------------------------------------------
47949 #-- Name: distrib/mac/shared-ld-sh
47950 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47951 #-- Author: Gilles Depeyrot
47952 #-- Copyright: (c) 2002 Gilles Depeyrot
47953 #-- Licence: any use permitted
47954 #-----------------------------------------------------------------------------
47955
47956 verbose=0
47957 args=""
47958 objects=""
47959 linking_flag="-dynamiclib"
47960 ldargs="-r -keep_private_externs -nostdlib"
47961
47962 while test ${D}# -gt 0; do
47963 case ${D}1 in
47964
47965 -v)
47966 verbose=1
47967 ;;
47968
47969 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47970 # collect these options and values
47971 args="${D}{args} ${D}1 ${D}2"
47972 shift
47973 ;;
47974
47975 -s|-Wl,*)
47976 # collect these load args
47977 ldargs="${D}{ldargs} ${D}1"
47978 ;;
47979
47980 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47981 # collect these options
47982 args="${D}{args} ${D}1"
47983 ;;
47984
47985 -dynamiclib|-bundle)
47986 linking_flag="${D}1"
47987 ;;
47988
47989 -*)
47990 echo "shared-ld: unhandled option '${D}1'"
47991 exit 1
47992 ;;
47993
47994 *.o | *.a | *.dylib)
47995 # collect object files
47996 objects="${D}{objects} ${D}1"
47997 ;;
47998
47999 *)
48000 echo "shared-ld: unhandled argument '${D}1'"
48001 exit 1
48002 ;;
48003
48004 esac
48005 shift
48006 done
48007
48008 status=0
48009
48010 #
48011 # Link one module containing all the others
48012 #
48013 if test ${D}{verbose} = 1; then
48014 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48015 fi
48016 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48017 status=${D}?
48018
48019 #
48020 # Link the shared library from the single module created, but only if the
48021 # previous command didn't fail:
48022 #
48023 if test ${D}{status} = 0; then
48024 if test ${D}{verbose} = 1; then
48025 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48026 fi
48027 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48028 status=${D}?
48029 fi
48030
48031 #
48032 # Remove intermediate module
48033 #
48034 rm -f master.${D}${D}.o
48035
48036 exit ${D}status
48037 EOF
48038
48039 chmod +x shared-ld-sh
48040
48041 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48042 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48043
48044
48045 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48046 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48047 if test "${bakefile_cv_gcc31+set}" = set; then
48048 echo $ECHO_N "(cached) $ECHO_C" >&6
48049 else
48050
48051 cat >conftest.$ac_ext <<_ACEOF
48052 /* confdefs.h. */
48053 _ACEOF
48054 cat confdefs.h >>conftest.$ac_ext
48055 cat >>conftest.$ac_ext <<_ACEOF
48056 /* end confdefs.h. */
48057
48058 int
48059 main ()
48060 {
48061
48062 #if (__GNUC__ < 3) || \
48063 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48064 This is old gcc
48065 #endif
48066
48067 ;
48068 return 0;
48069 }
48070 _ACEOF
48071 rm -f conftest.$ac_objext
48072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48073 (eval $ac_compile) 2>conftest.er1
48074 ac_status=$?
48075 grep -v '^ *+' conftest.er1 >conftest.err
48076 rm -f conftest.er1
48077 cat conftest.err >&5
48078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079 (exit $ac_status); } &&
48080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48082 (eval $ac_try) 2>&5
48083 ac_status=$?
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); }; } &&
48086 { ac_try='test -s conftest.$ac_objext'
48087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48088 (eval $ac_try) 2>&5
48089 ac_status=$?
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }; }; then
48092
48093 bakefile_cv_gcc31=yes
48094
48095 else
48096 echo "$as_me: failed program was:" >&5
48097 sed 's/^/| /' conftest.$ac_ext >&5
48098
48099
48100 bakefile_cv_gcc31=no
48101
48102
48103 fi
48104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48105
48106 fi
48107 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48108 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48109 if test "$bakefile_cv_gcc31" = "no"; then
48110 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48111 SHARED_LD_CXX="$SHARED_LD_CC"
48112 else
48113 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48114 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48115 fi
48116
48117 if test "x$GCC" == "xyes"; then
48118 PIC_FLAG="-dynamic -fPIC"
48119 fi
48120 if test "x$XLCC" = "xyes"; then
48121 PIC_FLAG="-dynamic -DPIC"
48122 fi
48123 ;;
48124
48125 *-*-aix* )
48126 if test "x$GCC" = "xyes"; then
48127 PIC_FLAG=""
48128
48129 case "${BAKEFILE_HOST}" in
48130 *-*-aix5* )
48131 LD_EXPFULL="-Wl,-bexpfull"
48132 ;;
48133 esac
48134
48135 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48136 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48137 else
48138 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48139 set dummy makeC++SharedLib; ac_word=$2
48140 echo "$as_me:$LINENO: checking for $ac_word" >&5
48141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48142 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48143 echo $ECHO_N "(cached) $ECHO_C" >&6
48144 else
48145 if test -n "$AIX_CXX_LD"; then
48146 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48147 else
48148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48149 for as_dir in $PATH
48150 do
48151 IFS=$as_save_IFS
48152 test -z "$as_dir" && as_dir=.
48153 for ac_exec_ext in '' $ac_executable_extensions; do
48154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48155 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48157 break 2
48158 fi
48159 done
48160 done
48161
48162 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48163 fi
48164 fi
48165 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48166 if test -n "$AIX_CXX_LD"; then
48167 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48168 echo "${ECHO_T}$AIX_CXX_LD" >&6
48169 else
48170 echo "$as_me:$LINENO: result: no" >&5
48171 echo "${ECHO_T}no" >&6
48172 fi
48173
48174 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48175 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48176 fi
48177 ;;
48178
48179 *-*-beos* )
48180 SHARED_LD_CC="${LD} -nostart -o"
48181 SHARED_LD_CXX="${LD} -nostart -o"
48182 ;;
48183
48184 *-*-irix* )
48185 if test "x$GCC" != "xyes"; then
48186 PIC_FLAG="-KPIC"
48187 fi
48188 ;;
48189
48190 *-*-cygwin* | *-*-mingw32* )
48191 PIC_FLAG=""
48192 SHARED_LD_CC="\$(CC) -shared -o"
48193 SHARED_LD_CXX="\$(CXX) -shared -o"
48194 WINDOWS_IMPLIB=1
48195 ;;
48196
48197 *-pc-os2_emx | *-pc-os2-emx )
48198 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48199 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48200 PIC_FLAG=""
48201
48202 D='$'
48203 cat <<EOF >dllar.sh
48204 #!/bin/sh
48205 #
48206 # dllar - a tool to build both a .dll and an .a file
48207 # from a set of object (.o) files for EMX/OS2.
48208 #
48209 # Written by Andrew Zabolotny, bit@freya.etu.ru
48210 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48211 #
48212 # This script will accept a set of files on the command line.
48213 # All the public symbols from the .o files will be exported into
48214 # a .DEF file, then linker will be run (through gcc) against them to
48215 # build a shared library consisting of all given .o files. All libraries
48216 # (.a) will be first decompressed into component .o files then act as
48217 # described above. You can optionally give a description (-d "description")
48218 # which will be put into .DLL. To see the list of accepted options (as well
48219 # as command-line format) simply run this program without options. The .DLL
48220 # is built to be imported by name (there is no guarantee that new versions
48221 # of the library you build will have same ordinals for same symbols).
48222 #
48223 # dllar is free software; you can redistribute it and/or modify
48224 # it under the terms of the GNU General Public License as published by
48225 # the Free Software Foundation; either version 2, or (at your option)
48226 # any later version.
48227 #
48228 # dllar is distributed in the hope that it will be useful,
48229 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48230 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48231 # GNU General Public License for more details.
48232 #
48233 # You should have received a copy of the GNU General Public License
48234 # along with dllar; see the file COPYING. If not, write to the Free
48235 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48236 # 02111-1307, USA.
48237
48238 # To successfuly run this program you will need:
48239 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48240 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48241 # - gcc
48242 # (used to build the .dll)
48243 # - emxexp
48244 # (used to create .def file from .o files)
48245 # - emximp
48246 # (used to create .a file from .def file)
48247 # - GNU text utilites (cat, sort, uniq)
48248 # used to process emxexp output
48249 # - GNU file utilities (mv, rm)
48250 # - GNU sed
48251 # - lxlite (optional, see flag below)
48252 # (used for general .dll cleanup)
48253 #
48254
48255 flag_USE_LXLITE=1;
48256
48257 #
48258 # helper functions
48259 # basnam, variant of basename, which does _not_ remove the path, _iff_
48260 # second argument (suffix to remove) is given
48261 basnam(){
48262 case ${D}# in
48263 1)
48264 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48265 ;;
48266 2)
48267 echo ${D}1 | sed 's/'${D}2'${D}//'
48268 ;;
48269 *)
48270 echo "error in basnam ${D}*"
48271 exit 8
48272 ;;
48273 esac
48274 }
48275
48276 # Cleanup temporary files and output
48277 CleanUp() {
48278 cd ${D}curDir
48279 for i in ${D}inputFiles ; do
48280 case ${D}i in
48281 *!)
48282 rm -rf \`basnam ${D}i !\`
48283 ;;
48284 *)
48285 ;;
48286 esac
48287 done
48288
48289 # Kill result in case of failure as there is just to many stupid make/nmake
48290 # things out there which doesn't do this.
48291 if [ ${D}# -eq 0 ]; then
48292 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48293 fi
48294 }
48295
48296 # Print usage and exit script with rc=1.
48297 PrintHelp() {
48298 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48299 echo ' [-name-mangler-script script.sh]'
48300 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48301 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48302 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48303 echo ' [*.o] [*.a]'
48304 echo '*> "output_file" should have no extension.'
48305 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48306 echo ' The import library name is derived from this and is set to "name".a,'
48307 echo ' unless overridden by -import'
48308 echo '*> "importlib_name" should have no extension.'
48309 echo ' If it has the .o, or .a extension, it is automatically removed.'
48310 echo ' This name is used as the import library name and may be longer and'
48311 echo ' more descriptive than the DLL name which has to follow the old '
48312 echo ' 8.3 convention of FAT.'
48313 echo '*> "script.sh may be given to override the output_file name by a'
48314 echo ' different name. It is mainly useful if the regular make process'
48315 echo ' of some package does not take into account OS/2 restriction of'
48316 echo ' DLL name lengths. It takes the importlib name as input and is'
48317 echo ' supposed to procude a shorter name as output. The script should'
48318 echo ' expect to get importlib_name without extension and should produce'
48319 echo ' a (max.) 8 letter name without extension.'
48320 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48321 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48322 echo ' These flags will be put at the start of GCC command line.'
48323 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48324 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48325 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48326 echo ' If the last character of a symbol is "*", all symbols beginning'
48327 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48328 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48329 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48330 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48331 echo ' C runtime DLLs.'
48332 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48333 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48334 echo ' unchanged to GCC at the end of command line.'
48335 echo '*> If you create a DLL from a library and you do not specify -o,'
48336 echo ' the basename for DLL and import library will be set to library name,'
48337 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48338 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48339 echo ' library will be renamed into gcc_s.a.'
48340 echo '--------'
48341 echo 'Example:'
48342 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48343 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48344 CleanUp
48345 exit 1
48346 }
48347
48348 # Execute a command.
48349 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48350 # @Uses Whatever CleanUp() uses.
48351 doCommand() {
48352 echo "${D}*"
48353 eval ${D}*
48354 rcCmd=${D}?
48355
48356 if [ ${D}rcCmd -ne 0 ]; then
48357 echo "command failed, exit code="${D}rcCmd
48358 CleanUp
48359 exit ${D}rcCmd
48360 fi
48361 }
48362
48363 # main routine
48364 # setup globals
48365 cmdLine=${D}*
48366 outFile=""
48367 outimpFile=""
48368 inputFiles=""
48369 renameScript=""
48370 description=""
48371 CC=gcc.exe
48372 CFLAGS="-s -Zcrtdll"
48373 EXTRA_CFLAGS=""
48374 EXPORT_BY_ORDINALS=0
48375 exclude_symbols=""
48376 library_flags=""
48377 curDir=\`pwd\`
48378 curDirS=curDir
48379 case ${D}curDirS in
48380 */)
48381 ;;
48382 *)
48383 curDirS=${D}{curDirS}"/"
48384 ;;
48385 esac
48386 # Parse commandline
48387 libsToLink=0
48388 omfLinking=0
48389 while [ ${D}1 ]; do
48390 case ${D}1 in
48391 -ord*)
48392 EXPORT_BY_ORDINALS=1;
48393 ;;
48394 -o*)
48395 shift
48396 outFile=${D}1
48397 ;;
48398 -i*)
48399 shift
48400 outimpFile=${D}1
48401 ;;
48402 -name-mangler-script)
48403 shift
48404 renameScript=${D}1
48405 ;;
48406 -d*)
48407 shift
48408 description=${D}1
48409 ;;
48410 -f*)
48411 shift
48412 CFLAGS=${D}1
48413 ;;
48414 -c*)
48415 shift
48416 CC=${D}1
48417 ;;
48418 -h*)
48419 PrintHelp
48420 ;;
48421 -ex*)
48422 shift
48423 exclude_symbols=${D}{exclude_symbols}${D}1" "
48424 ;;
48425 -libf*)
48426 shift
48427 library_flags=${D}{library_flags}${D}1" "
48428 ;;
48429 -nocrt*)
48430 CFLAGS="-s"
48431 ;;
48432 -nolxl*)
48433 flag_USE_LXLITE=0
48434 ;;
48435 -* | /*)
48436 case ${D}1 in
48437 -L* | -l*)
48438 libsToLink=1
48439 ;;
48440 -Zomf)
48441 omfLinking=1
48442 ;;
48443 *)
48444 ;;
48445 esac
48446 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48447 ;;
48448 *.dll)
48449 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48450 if [ ${D}omfLinking -eq 1 ]; then
48451 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48452 else
48453 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48454 fi
48455 ;;
48456 *)
48457 found=0;
48458 if [ ${D}libsToLink -ne 0 ]; then
48459 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48460 else
48461 for file in ${D}1 ; do
48462 if [ -f ${D}file ]; then
48463 inputFiles="${D}{inputFiles} ${D}file"
48464 found=1
48465 fi
48466 done
48467 if [ ${D}found -eq 0 ]; then
48468 echo "ERROR: No file(s) found: "${D}1
48469 exit 8
48470 fi
48471 fi
48472 ;;
48473 esac
48474 shift
48475 done # iterate cmdline words
48476
48477 #
48478 if [ -z "${D}inputFiles" ]; then
48479 echo "dllar: no input files"
48480 PrintHelp
48481 fi
48482
48483 # Now extract all .o files from .a files
48484 newInputFiles=""
48485 for file in ${D}inputFiles ; do
48486 case ${D}file in
48487 *.a | *.lib)
48488 case ${D}file in
48489 *.a)
48490 suffix=".a"
48491 AR="ar"
48492 ;;
48493 *.lib)
48494 suffix=".lib"
48495 AR="emxomfar"
48496 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48497 ;;
48498 *)
48499 ;;
48500 esac
48501 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48502 mkdir ${D}dirname
48503 if [ ${D}? -ne 0 ]; then
48504 echo "Failed to create subdirectory ./${D}dirname"
48505 CleanUp
48506 exit 8;
48507 fi
48508 # Append '!' to indicate archive
48509 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48510 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48511 cd ${D}curDir
48512 found=0;
48513 for subfile in ${D}dirname/*.o* ; do
48514 if [ -f ${D}subfile ]; then
48515 found=1
48516 if [ -s ${D}subfile ]; then
48517 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48518 newInputFiles="${D}newInputFiles ${D}subfile"
48519 fi
48520 fi
48521 done
48522 if [ ${D}found -eq 0 ]; then
48523 echo "WARNING: there are no files in archive \\'${D}file\\'"
48524 fi
48525 ;;
48526 *)
48527 newInputFiles="${D}{newInputFiles} ${D}file"
48528 ;;
48529 esac
48530 done
48531 inputFiles="${D}newInputFiles"
48532
48533 # Output filename(s).
48534 do_backup=0;
48535 if [ -z ${D}outFile ]; then
48536 do_backup=1;
48537 set outFile ${D}inputFiles; outFile=${D}2
48538 fi
48539
48540 # If it is an archive, remove the '!' and the '_%' suffixes
48541 case ${D}outFile in
48542 *_%!)
48543 outFile=\`basnam ${D}outFile _%!\`
48544 ;;
48545 *)
48546 ;;
48547 esac
48548 case ${D}outFile in
48549 *.dll)
48550 outFile=\`basnam ${D}outFile .dll\`
48551 ;;
48552 *.DLL)
48553 outFile=\`basnam ${D}outFile .DLL\`
48554 ;;
48555 *.o)
48556 outFile=\`basnam ${D}outFile .o\`
48557 ;;
48558 *.obj)
48559 outFile=\`basnam ${D}outFile .obj\`
48560 ;;
48561 *.a)
48562 outFile=\`basnam ${D}outFile .a\`
48563 ;;
48564 *.lib)
48565 outFile=\`basnam ${D}outFile .lib\`
48566 ;;
48567 *)
48568 ;;
48569 esac
48570 case ${D}outimpFile in
48571 *.a)
48572 outimpFile=\`basnam ${D}outimpFile .a\`
48573 ;;
48574 *.lib)
48575 outimpFile=\`basnam ${D}outimpFile .lib\`
48576 ;;
48577 *)
48578 ;;
48579 esac
48580 if [ -z ${D}outimpFile ]; then
48581 outimpFile=${D}outFile
48582 fi
48583 defFile="${D}{outFile}.def"
48584 arcFile="${D}{outimpFile}.a"
48585 arcFile2="${D}{outimpFile}.lib"
48586
48587 #create ${D}dllFile as something matching 8.3 restrictions,
48588 if [ -z ${D}renameScript ] ; then
48589 dllFile="${D}outFile"
48590 else
48591 dllFile=\`${D}renameScript ${D}outimpFile\`
48592 fi
48593
48594 if [ ${D}do_backup -ne 0 ] ; then
48595 if [ -f ${D}arcFile ] ; then
48596 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48597 fi
48598 if [ -f ${D}arcFile2 ] ; then
48599 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48600 fi
48601 fi
48602
48603 # Extract public symbols from all the object files.
48604 tmpdefFile=${D}{defFile}_%
48605 rm -f ${D}tmpdefFile
48606 for file in ${D}inputFiles ; do
48607 case ${D}file in
48608 *!)
48609 ;;
48610 *)
48611 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48612 ;;
48613 esac
48614 done
48615
48616 # Create the def file.
48617 rm -f ${D}defFile
48618 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48619 dllFile="${D}{dllFile}.dll"
48620 if [ ! -z ${D}description ]; then
48621 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48622 fi
48623 echo "EXPORTS" >> ${D}defFile
48624
48625 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48626 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48627
48628 # Checks if the export is ok or not.
48629 for word in ${D}exclude_symbols; do
48630 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48631 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48632 done
48633
48634
48635 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48636 sed "=" < ${D}tmpdefFile | \\
48637 sed '
48638 N
48639 : loop
48640 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48641 t loop
48642 ' > ${D}{tmpdefFile}%
48643 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48644 else
48645 rm -f ${D}{tmpdefFile}%
48646 fi
48647 cat ${D}tmpdefFile >> ${D}defFile
48648 rm -f ${D}tmpdefFile
48649
48650 # Do linking, create implib, and apply lxlite.
48651 gccCmdl="";
48652 for file in ${D}inputFiles ; do
48653 case ${D}file in
48654 *!)
48655 ;;
48656 *)
48657 gccCmdl="${D}gccCmdl ${D}file"
48658 ;;
48659 esac
48660 done
48661 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48662 touch "${D}{outFile}.dll"
48663
48664 doCommand "emximp -o ${D}arcFile ${D}defFile"
48665 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48666 add_flags="";
48667 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48668 add_flags="-ynd"
48669 fi
48670 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48671 fi
48672 doCommand "emxomf -s -l ${D}arcFile"
48673
48674 # Successful exit.
48675 CleanUp 1
48676 exit 0
48677 EOF
48678
48679 chmod +x dllar.sh
48680 ;;
48681
48682 powerpc-apple-macos* | \
48683 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48684 *-*-mirbsd* | \
48685 *-*-sunos4* | \
48686 *-*-osf* | \
48687 *-*-dgux5* | \
48688 *-*-sysv5* | \
48689 *-pc-msdosdjgpp )
48690 ;;
48691
48692 *)
48693 esac
48694
48695 if test "x$PIC_FLAG" != "x" ; then
48696 PIC_FLAG="$PIC_FLAG -DPIC"
48697 fi
48698
48699 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48700 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48701 fi
48702 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48703 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48704 fi
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714 USE_SOVERSION=0
48715 USE_SOVERLINUX=0
48716 USE_SOVERSOLARIS=0
48717 USE_SOVERCYGWIN=0
48718 USE_SOSYMLINKS=0
48719 USE_MACVERSION=0
48720 SONAME_FLAG=
48721
48722 case "${BAKEFILE_HOST}" in
48723 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48724 SONAME_FLAG="-Wl,-soname,"
48725 USE_SOVERSION=1
48726 USE_SOVERLINUX=1
48727 USE_SOSYMLINKS=1
48728 ;;
48729
48730 *-*-solaris2* )
48731 SONAME_FLAG="-h "
48732 USE_SOVERSION=1
48733 USE_SOVERSOLARIS=1
48734 USE_SOSYMLINKS=1
48735 ;;
48736
48737 *-*-darwin* )
48738 USE_MACVERSION=1
48739 USE_SOVERSION=1
48740 USE_SOSYMLINKS=1
48741 ;;
48742
48743 *-*-cygwin* )
48744 USE_SOVERSION=1
48745 USE_SOVERCYGWIN=1
48746 ;;
48747 esac
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48759 if test "${enable_dependency_tracking+set}" = set; then
48760 enableval="$enable_dependency_tracking"
48761 bk_use_trackdeps="$enableval"
48762 fi;
48763
48764 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48765 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48766
48767 BK_DEPS=""
48768 if test "x$bk_use_trackdeps" = "xno" ; then
48769 DEPS_TRACKING=0
48770 echo "$as_me:$LINENO: result: disabled" >&5
48771 echo "${ECHO_T}disabled" >&6
48772 else
48773 DEPS_TRACKING=1
48774
48775 if test "x$GCC" = "xyes"; then
48776 DEPSMODE=gcc
48777 case "${BAKEFILE_HOST}" in
48778 *-*-darwin* )
48779 DEPSFLAG="-no-cpp-precomp -MMD"
48780 ;;
48781 * )
48782 DEPSFLAG="-MMD"
48783 ;;
48784 esac
48785 echo "$as_me:$LINENO: result: gcc" >&5
48786 echo "${ECHO_T}gcc" >&6
48787 elif test "x$MWCC" = "xyes"; then
48788 DEPSMODE=mwcc
48789 DEPSFLAG="-MM"
48790 echo "$as_me:$LINENO: result: mwcc" >&5
48791 echo "${ECHO_T}mwcc" >&6
48792 elif test "x$SUNCC" = "xyes"; then
48793 DEPSMODE=unixcc
48794 DEPSFLAG="-xM1"
48795 echo "$as_me:$LINENO: result: Sun cc" >&5
48796 echo "${ECHO_T}Sun cc" >&6
48797 elif test "x$SGICC" = "xyes"; then
48798 DEPSMODE=unixcc
48799 DEPSFLAG="-M"
48800 echo "$as_me:$LINENO: result: SGI cc" >&5
48801 echo "${ECHO_T}SGI cc" >&6
48802 elif test "x$HPCC" = "xyes"; then
48803 DEPSMODE=unixcc
48804 DEPSFLAG="+make"
48805 echo "$as_me:$LINENO: result: HP cc" >&5
48806 echo "${ECHO_T}HP cc" >&6
48807 elif test "x$COMPAQCC" = "xyes"; then
48808 DEPSMODE=gcc
48809 DEPSFLAG="-MD"
48810 echo "$as_me:$LINENO: result: Compaq cc" >&5
48811 echo "${ECHO_T}Compaq cc" >&6
48812 else
48813 DEPS_TRACKING=0
48814 echo "$as_me:$LINENO: result: none" >&5
48815 echo "${ECHO_T}none" >&6
48816 fi
48817
48818 if test $DEPS_TRACKING = 1 ; then
48819
48820 D='$'
48821 cat <<EOF >bk-deps
48822 #!/bin/sh
48823
48824 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48825 # script. It is used to track C/C++ files dependencies in portable way.
48826 #
48827 # Permission is given to use this file in any way.
48828
48829 DEPSMODE=${DEPSMODE}
48830 DEPSDIR=.deps
48831 DEPSFLAG="${DEPSFLAG}"
48832
48833 mkdir -p ${D}DEPSDIR
48834
48835 if test ${D}DEPSMODE = gcc ; then
48836 ${D}* ${D}{DEPSFLAG}
48837 status=${D}?
48838 if test ${D}{status} != 0 ; then
48839 exit ${D}{status}
48840 fi
48841 # move created file to the location we want it in:
48842 while test ${D}# -gt 0; do
48843 case "${D}1" in
48844 -o )
48845 shift
48846 objfile=${D}1
48847 ;;
48848 -* )
48849 ;;
48850 * )
48851 srcfile=${D}1
48852 ;;
48853 esac
48854 shift
48855 done
48856 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48857 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48858 if test -f ${D}depfile ; then
48859 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48860 rm -f ${D}depfile
48861 else
48862 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48863 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48864 if test ! -f ${D}depfile ; then
48865 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48866 depfile="${D}objfile.d"
48867 fi
48868 if test -f ${D}depfile ; then
48869 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48870 rm -f ${D}depfile
48871 fi
48872 fi
48873 exit 0
48874 elif test ${D}DEPSMODE = mwcc ; then
48875 ${D}* || exit ${D}?
48876 # Run mwcc again with -MM and redirect into the dep file we want
48877 # NOTE: We can't use shift here because we need ${D}* to be valid
48878 prevarg=
48879 for arg in ${D}* ; do
48880 if test "${D}prevarg" = "-o"; then
48881 objfile=${D}arg
48882 else
48883 case "${D}arg" in
48884 -* )
48885 ;;
48886 * )
48887 srcfile=${D}arg
48888 ;;
48889 esac
48890 fi
48891 prevarg="${D}arg"
48892 done
48893 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48894 exit 0
48895 elif test ${D}DEPSMODE = unixcc; then
48896 ${D}* || exit ${D}?
48897 # Run compiler again with deps flag and redirect into the dep file.
48898 # It doesn't work if the '-o FILE' option is used, but without it the
48899 # dependency file will contain the wrong name for the object. So it is
48900 # removed from the command line, and the dep file is fixed with sed.
48901 cmd=""
48902 while test ${D}# -gt 0; do
48903 case "${D}1" in
48904 -o )
48905 shift
48906 objfile=${D}1
48907 ;;
48908 * )
48909 eval arg${D}#=\\${D}1
48910 cmd="${D}cmd \\${D}arg${D}#"
48911 ;;
48912 esac
48913 shift
48914 done
48915 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48916 exit 0
48917 else
48918 ${D}*
48919 exit ${D}?
48920 fi
48921 EOF
48922
48923 chmod +x bk-deps
48924 BK_DEPS="`pwd`/bk-deps"
48925 fi
48926 fi
48927
48928
48929
48930
48931
48932 case ${BAKEFILE_HOST} in
48933 *-*-cygwin* | *-*-mingw32* )
48934 if test -n "$ac_tool_prefix"; then
48935 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48936 set dummy ${ac_tool_prefix}windres; ac_word=$2
48937 echo "$as_me:$LINENO: checking for $ac_word" >&5
48938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48939 if test "${ac_cv_prog_WINDRES+set}" = set; then
48940 echo $ECHO_N "(cached) $ECHO_C" >&6
48941 else
48942 if test -n "$WINDRES"; then
48943 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48944 else
48945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48946 for as_dir in $PATH
48947 do
48948 IFS=$as_save_IFS
48949 test -z "$as_dir" && as_dir=.
48950 for ac_exec_ext in '' $ac_executable_extensions; do
48951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48952 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48954 break 2
48955 fi
48956 done
48957 done
48958
48959 fi
48960 fi
48961 WINDRES=$ac_cv_prog_WINDRES
48962 if test -n "$WINDRES"; then
48963 echo "$as_me:$LINENO: result: $WINDRES" >&5
48964 echo "${ECHO_T}$WINDRES" >&6
48965 else
48966 echo "$as_me:$LINENO: result: no" >&5
48967 echo "${ECHO_T}no" >&6
48968 fi
48969
48970 fi
48971 if test -z "$ac_cv_prog_WINDRES"; then
48972 ac_ct_WINDRES=$WINDRES
48973 # Extract the first word of "windres", so it can be a program name with args.
48974 set dummy windres; ac_word=$2
48975 echo "$as_me:$LINENO: checking for $ac_word" >&5
48976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48977 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48978 echo $ECHO_N "(cached) $ECHO_C" >&6
48979 else
48980 if test -n "$ac_ct_WINDRES"; then
48981 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48982 else
48983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48984 for as_dir in $PATH
48985 do
48986 IFS=$as_save_IFS
48987 test -z "$as_dir" && as_dir=.
48988 for ac_exec_ext in '' $ac_executable_extensions; do
48989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48990 ac_cv_prog_ac_ct_WINDRES="windres"
48991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48992 break 2
48993 fi
48994 done
48995 done
48996
48997 fi
48998 fi
48999 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49000 if test -n "$ac_ct_WINDRES"; then
49001 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49002 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49003 else
49004 echo "$as_me:$LINENO: result: no" >&5
49005 echo "${ECHO_T}no" >&6
49006 fi
49007
49008 WINDRES=$ac_ct_WINDRES
49009 else
49010 WINDRES="$ac_cv_prog_WINDRES"
49011 fi
49012
49013 ;;
49014
49015 *-*-darwin* | powerpc-apple-macos* )
49016 # Extract the first word of "Rez", so it can be a program name with args.
49017 set dummy Rez; ac_word=$2
49018 echo "$as_me:$LINENO: checking for $ac_word" >&5
49019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49020 if test "${ac_cv_prog_REZ+set}" = set; then
49021 echo $ECHO_N "(cached) $ECHO_C" >&6
49022 else
49023 if test -n "$REZ"; then
49024 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49025 else
49026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49027 for as_dir in $PATH
49028 do
49029 IFS=$as_save_IFS
49030 test -z "$as_dir" && as_dir=.
49031 for ac_exec_ext in '' $ac_executable_extensions; do
49032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49033 ac_cv_prog_REZ="Rez"
49034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49035 break 2
49036 fi
49037 done
49038 done
49039
49040 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49041 fi
49042 fi
49043 REZ=$ac_cv_prog_REZ
49044 if test -n "$REZ"; then
49045 echo "$as_me:$LINENO: result: $REZ" >&5
49046 echo "${ECHO_T}$REZ" >&6
49047 else
49048 echo "$as_me:$LINENO: result: no" >&5
49049 echo "${ECHO_T}no" >&6
49050 fi
49051
49052 # Extract the first word of "SetFile", so it can be a program name with args.
49053 set dummy SetFile; ac_word=$2
49054 echo "$as_me:$LINENO: checking for $ac_word" >&5
49055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49056 if test "${ac_cv_prog_SETFILE+set}" = set; then
49057 echo $ECHO_N "(cached) $ECHO_C" >&6
49058 else
49059 if test -n "$SETFILE"; then
49060 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49061 else
49062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49063 for as_dir in $PATH
49064 do
49065 IFS=$as_save_IFS
49066 test -z "$as_dir" && as_dir=.
49067 for ac_exec_ext in '' $ac_executable_extensions; do
49068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49069 ac_cv_prog_SETFILE="SetFile"
49070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49071 break 2
49072 fi
49073 done
49074 done
49075
49076 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49077 fi
49078 fi
49079 SETFILE=$ac_cv_prog_SETFILE
49080 if test -n "$SETFILE"; then
49081 echo "$as_me:$LINENO: result: $SETFILE" >&5
49082 echo "${ECHO_T}$SETFILE" >&6
49083 else
49084 echo "$as_me:$LINENO: result: no" >&5
49085 echo "${ECHO_T}no" >&6
49086 fi
49087
49088 ;;
49089 esac
49090
49091
49092
49093
49094
49095
49096 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49097
49098
49099 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49100
49101
49102
49103 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49104 if test "${enable_precomp_headers+set}" = set; then
49105 enableval="$enable_precomp_headers"
49106 bk_use_pch="$enableval"
49107 fi;
49108
49109 GCC_PCH=0
49110 ICC_PCH=0
49111 USE_PCH=0
49112 BK_MAKE_PCH=""
49113
49114 case ${BAKEFILE_HOST} in
49115 *-*-cygwin* )
49116 bk_use_pch="no"
49117 ;;
49118 esac
49119
49120 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49121 if test "x$GCC" = "xyes"; then
49122 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49123 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49124 cat >conftest.$ac_ext <<_ACEOF
49125 /* confdefs.h. */
49126 _ACEOF
49127 cat confdefs.h >>conftest.$ac_ext
49128 cat >>conftest.$ac_ext <<_ACEOF
49129 /* end confdefs.h. */
49130
49131 int
49132 main ()
49133 {
49134
49135 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49136 There is no PCH support
49137 #endif
49138 #if (__GNUC__ < 3)
49139 There is no PCH support
49140 #endif
49141 #if (__GNUC__ == 3) && \
49142 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49143 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49144 ( defined(__INTEL_COMPILER) )
49145 There is no PCH support
49146 #endif
49147
49148 ;
49149 return 0;
49150 }
49151 _ACEOF
49152 rm -f conftest.$ac_objext
49153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49154 (eval $ac_compile) 2>conftest.er1
49155 ac_status=$?
49156 grep -v '^ *+' conftest.er1 >conftest.err
49157 rm -f conftest.er1
49158 cat conftest.err >&5
49159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49160 (exit $ac_status); } &&
49161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49163 (eval $ac_try) 2>&5
49164 ac_status=$?
49165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166 (exit $ac_status); }; } &&
49167 { ac_try='test -s conftest.$ac_objext'
49168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49169 (eval $ac_try) 2>&5
49170 ac_status=$?
49171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49172 (exit $ac_status); }; }; then
49173
49174 echo "$as_me:$LINENO: result: yes" >&5
49175 echo "${ECHO_T}yes" >&6
49176 GCC_PCH=1
49177
49178 else
49179 echo "$as_me: failed program was:" >&5
49180 sed 's/^/| /' conftest.$ac_ext >&5
49181
49182
49183 cat >conftest.$ac_ext <<_ACEOF
49184 /* confdefs.h. */
49185 _ACEOF
49186 cat confdefs.h >>conftest.$ac_ext
49187 cat >>conftest.$ac_ext <<_ACEOF
49188 /* end confdefs.h. */
49189
49190 int
49191 main ()
49192 {
49193
49194 #if !defined(__INTEL_COMPILER) || \
49195 (__INTEL_COMPILER < 800)
49196 There is no PCH support
49197 #endif
49198
49199 ;
49200 return 0;
49201 }
49202 _ACEOF
49203 rm -f conftest.$ac_objext
49204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49205 (eval $ac_compile) 2>conftest.er1
49206 ac_status=$?
49207 grep -v '^ *+' conftest.er1 >conftest.err
49208 rm -f conftest.er1
49209 cat conftest.err >&5
49210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49211 (exit $ac_status); } &&
49212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49214 (eval $ac_try) 2>&5
49215 ac_status=$?
49216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217 (exit $ac_status); }; } &&
49218 { ac_try='test -s conftest.$ac_objext'
49219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49220 (eval $ac_try) 2>&5
49221 ac_status=$?
49222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49223 (exit $ac_status); }; }; then
49224
49225 echo "$as_me:$LINENO: result: yes" >&5
49226 echo "${ECHO_T}yes" >&6
49227 ICC_PCH=1
49228
49229 else
49230 echo "$as_me: failed program was:" >&5
49231 sed 's/^/| /' conftest.$ac_ext >&5
49232
49233
49234 echo "$as_me:$LINENO: result: no" >&5
49235 echo "${ECHO_T}no" >&6
49236
49237 fi
49238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49239
49240 fi
49241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49242 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49243 USE_PCH=1
49244
49245 D='$'
49246 cat <<EOF >bk-make-pch
49247 #!/bin/sh
49248
49249 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49250 # script. It is used to generated precompiled headers.
49251 #
49252 # Permission is given to use this file in any way.
49253
49254 outfile="${D}{1}"
49255 header="${D}{2}"
49256 shift
49257 shift
49258
49259 compiler=""
49260 headerfile=""
49261
49262 while test ${D}{#} -gt 0; do
49263 add_to_cmdline=1
49264 case "${D}{1}" in
49265 -I* )
49266 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49267 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49268 headerfile="${D}{incdir}/${D}{header}"
49269 fi
49270 ;;
49271 -use-pch|-use_pch )
49272 shift
49273 add_to_cmdline=0
49274 ;;
49275 esac
49276 if test ${D}add_to_cmdline = 1 ; then
49277 compiler="${D}{compiler} ${D}{1}"
49278 fi
49279 shift
49280 done
49281
49282 if test "x${D}{headerfile}" = "x" ; then
49283 echo "error: can't find header ${D}{header} in include paths" >&2
49284 else
49285 if test -f ${D}{outfile} ; then
49286 rm -f ${D}{outfile}
49287 else
49288 mkdir -p \`dirname ${D}{outfile}\`
49289 fi
49290 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49291 mkdir -p .deps
49292 if test "x${GCC_PCH}" = "x1" ; then
49293 # can do this because gcc is >= 3.4:
49294 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49295 elif test "x${ICC_PCH}" = "x1" ; then
49296 filename=pch_gen-${D}${D}
49297 file=${D}{filename}.c
49298 dfile=${D}{filename}.d
49299 cat > ${D}file <<EOT
49300 #include "${D}header"
49301 EOT
49302 # using -MF icc complains about differing command lines in creation/use
49303 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49304 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49305 rm -f ${D}file ${D}dfile ${D}{filename}.o
49306 fi
49307 exit ${D}{?}
49308 fi
49309 EOF
49310
49311 chmod +x bk-make-pch
49312 BK_MAKE_PCH="`pwd`/bk-make-pch"
49313 fi
49314 fi
49315 fi
49316
49317
49318
49319
49320
49321 COND_BUILD_DEBUG="#"
49322 if test "x$BUILD" = "xdebug" ; then
49323 COND_BUILD_DEBUG=""
49324 fi
49325
49326 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49327 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49328 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49329 fi
49330
49331 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49332 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49333 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49334 fi
49335
49336 COND_BUILD_DEBUG_UNICODE_0="#"
49337 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49338 COND_BUILD_DEBUG_UNICODE_0=""
49339 fi
49340
49341 COND_BUILD_DEBUG_UNICODE_1="#"
49342 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49343 COND_BUILD_DEBUG_UNICODE_1=""
49344 fi
49345
49346 COND_BUILD_RELEASE="#"
49347 if test "x$BUILD" = "xrelease" ; then
49348 COND_BUILD_RELEASE=""
49349 fi
49350
49351 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49352 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49353 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49354 fi
49355
49356 COND_BUILD_RELEASE_UNICODE_0="#"
49357 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49358 COND_BUILD_RELEASE_UNICODE_0=""
49359 fi
49360
49361 COND_BUILD_RELEASE_UNICODE_1="#"
49362 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49363 COND_BUILD_RELEASE_UNICODE_1=""
49364 fi
49365
49366 COND_DEBUG_FLAG_1="#"
49367 if test "x$DEBUG_FLAG" = "x1" ; then
49368 COND_DEBUG_FLAG_1=""
49369 fi
49370
49371 COND_DEBUG_INFO_0="#"
49372 if test "x$DEBUG_INFO" = "x0" ; then
49373 COND_DEBUG_INFO_0=""
49374 fi
49375
49376 COND_DEBUG_INFO_1="#"
49377 if test "x$DEBUG_INFO" = "x1" ; then
49378 COND_DEBUG_INFO_1=""
49379 fi
49380
49381 COND_DEPS_TRACKING_0="#"
49382 if test "x$DEPS_TRACKING" = "x0" ; then
49383 COND_DEPS_TRACKING_0=""
49384 fi
49385
49386 COND_DEPS_TRACKING_1="#"
49387 if test "x$DEPS_TRACKING" = "x1" ; then
49388 COND_DEPS_TRACKING_1=""
49389 fi
49390
49391 COND_GCC_PCH_1="#"
49392 if test "x$GCC_PCH" = "x1" ; then
49393 COND_GCC_PCH_1=""
49394 fi
49395
49396 COND_ICC_PCH_1="#"
49397 if test "x$ICC_PCH" = "x1" ; then
49398 COND_ICC_PCH_1=""
49399 fi
49400
49401 COND_MONOLITHIC_0="#"
49402 if test "x$MONOLITHIC" = "x0" ; then
49403 COND_MONOLITHIC_0=""
49404 fi
49405
49406 COND_MONOLITHIC_0_SHARED_0="#"
49407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49408 COND_MONOLITHIC_0_SHARED_0=""
49409 fi
49410
49411 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49413 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49414 fi
49415
49416 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49419 fi
49420
49421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49424 fi
49425
49426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49429 fi
49430
49431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49434 fi
49435
49436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49439 fi
49440
49441 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49443 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49444 fi
49445
49446 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49448 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49449 fi
49450
49451 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49453 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49454 fi
49455
49456 COND_MONOLITHIC_0_SHARED_1="#"
49457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49458 COND_MONOLITHIC_0_SHARED_1=""
49459 fi
49460
49461 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49463 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49464 fi
49465
49466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49469 fi
49470
49471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49474 fi
49475
49476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49479 fi
49480
49481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49484 fi
49485
49486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49489 fi
49490
49491 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49493 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49494 fi
49495
49496 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49498 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49499 fi
49500
49501 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49503 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49504 fi
49505
49506 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49507 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49508 COND_MONOLITHIC_0_USE_MEDIA_1=""
49509 fi
49510
49511 COND_MONOLITHIC_0_USE_ODBC_1="#"
49512 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49513 COND_MONOLITHIC_0_USE_ODBC_1=""
49514 fi
49515
49516 COND_MONOLITHIC_1="#"
49517 if test "x$MONOLITHIC" = "x1" ; then
49518 COND_MONOLITHIC_1=""
49519 fi
49520
49521 COND_MONOLITHIC_1_SHARED_0="#"
49522 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49523 COND_MONOLITHIC_1_SHARED_0=""
49524 fi
49525
49526 COND_MONOLITHIC_1_SHARED_1="#"
49527 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49528 COND_MONOLITHIC_1_SHARED_1=""
49529 fi
49530
49531 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49532 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49533 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49534 fi
49535
49536 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49537 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49538 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49539 fi
49540
49541 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49542 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49543 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49544 fi
49545
49546 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49547 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49549 fi
49550
49551 COND_PLATFORM_MACOSX_1="#"
49552 if test "x$PLATFORM_MACOSX" = "x1" ; then
49553 COND_PLATFORM_MACOSX_1=""
49554 fi
49555
49556 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49558 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49559 fi
49560
49561 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49563 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49564 fi
49565
49566 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49568 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49569 fi
49570
49571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49572 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49573 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49574 fi
49575
49576 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49578 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49579 fi
49580
49581 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49583 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49584 fi
49585
49586 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49587 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49588 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49589 fi
49590
49591 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49592 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49593 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49594 fi
49595
49596 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49597 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49598 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49599 fi
49600
49601 COND_PLATFORM_MACOS_1="#"
49602 if test "x$PLATFORM_MACOS" = "x1" ; then
49603 COND_PLATFORM_MACOS_1=""
49604 fi
49605
49606 COND_PLATFORM_MAC_1="#"
49607 if test "x$PLATFORM_MAC" = "x1" ; then
49608 COND_PLATFORM_MAC_1=""
49609 fi
49610
49611 COND_PLATFORM_MSDOS_0="#"
49612 if test "x$PLATFORM_MSDOS" = "x0" ; then
49613 COND_PLATFORM_MSDOS_0=""
49614 fi
49615
49616 COND_PLATFORM_MSDOS_1="#"
49617 if test "x$PLATFORM_MSDOS" = "x1" ; then
49618 COND_PLATFORM_MSDOS_1=""
49619 fi
49620
49621 COND_PLATFORM_OS2_1="#"
49622 if test "x$PLATFORM_OS2" = "x1" ; then
49623 COND_PLATFORM_OS2_1=""
49624 fi
49625
49626 COND_PLATFORM_UNIX_0="#"
49627 if test "x$PLATFORM_UNIX" = "x0" ; then
49628 COND_PLATFORM_UNIX_0=""
49629 fi
49630
49631 COND_PLATFORM_UNIX_1="#"
49632 if test "x$PLATFORM_UNIX" = "x1" ; then
49633 COND_PLATFORM_UNIX_1=""
49634 fi
49635
49636 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49637 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49638 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49639 fi
49640
49641 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49642 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49643 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49644 fi
49645
49646 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49647 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49648 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49649 fi
49650
49651 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49652 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49653 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49654 fi
49655
49656 COND_PLATFORM_WIN32_0="#"
49657 if test "x$PLATFORM_WIN32" = "x0" ; then
49658 COND_PLATFORM_WIN32_0=""
49659 fi
49660
49661 COND_PLATFORM_WIN32_1="#"
49662 if test "x$PLATFORM_WIN32" = "x1" ; then
49663 COND_PLATFORM_WIN32_1=""
49664 fi
49665
49666 COND_SHARED_0="#"
49667 if test "x$SHARED" = "x0" ; then
49668 COND_SHARED_0=""
49669 fi
49670
49671 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49672 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49673 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49674 fi
49675
49676 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49677 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49678 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49679 fi
49680
49681 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49682 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49683 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49684 fi
49685
49686 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49687 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49688 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49689 fi
49690
49691 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49692 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49693 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49694 fi
49695
49696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49697 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49698 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49699 fi
49700
49701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49702 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49703 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49704 fi
49705
49706 COND_SHARED_0_USE_XRC_1="#"
49707 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49708 COND_SHARED_0_USE_XRC_1=""
49709 fi
49710
49711 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49712 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49713 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49714 fi
49715
49716 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49717 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49718 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49719 fi
49720
49721 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49722 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49723 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49724 fi
49725
49726 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49727 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49728 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49729 fi
49730
49731 COND_SHARED_1="#"
49732 if test "x$SHARED" = "x1" ; then
49733 COND_SHARED_1=""
49734 fi
49735
49736 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49737 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49738 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49739 fi
49740
49741 COND_SHARED_1_USE_XRC_1="#"
49742 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49743 COND_SHARED_1_USE_XRC_1=""
49744 fi
49745
49746 COND_TOOLKIT_="#"
49747 if test "x$TOOLKIT" = "x" ; then
49748 COND_TOOLKIT_=""
49749 fi
49750
49751 COND_TOOLKIT_COCOA="#"
49752 if test "x$TOOLKIT" = "xCOCOA" ; then
49753 COND_TOOLKIT_COCOA=""
49754 fi
49755
49756 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49757 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49758 COND_TOOLKIT_COCOA_USE_GUI_1=""
49759 fi
49760
49761 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49762 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49763 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49764 fi
49765
49766 COND_TOOLKIT_DFB="#"
49767 if test "x$TOOLKIT" = "xDFB" ; then
49768 COND_TOOLKIT_DFB=""
49769 fi
49770
49771 COND_TOOLKIT_DFB_USE_GUI_1="#"
49772 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49773 COND_TOOLKIT_DFB_USE_GUI_1=""
49774 fi
49775
49776 COND_TOOLKIT_GTK="#"
49777 if test "x$TOOLKIT" = "xGTK" ; then
49778 COND_TOOLKIT_GTK=""
49779 fi
49780
49781 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49782 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49783 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49784 fi
49785
49786 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49787 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49788 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49789 fi
49790
49791 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49792 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49793 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49794 fi
49795
49796 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49797 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49798 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49799 fi
49800
49801 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49802 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49803 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49804 fi
49805
49806 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49807 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49808 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49809 fi
49810
49811 COND_TOOLKIT_GTK_USE_GUI_1="#"
49812 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49813 COND_TOOLKIT_GTK_USE_GUI_1=""
49814 fi
49815
49816 COND_TOOLKIT_MAC="#"
49817 if test "x$TOOLKIT" = "xMAC" ; then
49818 COND_TOOLKIT_MAC=""
49819 fi
49820
49821 COND_TOOLKIT_MAC_USE_GUI_1="#"
49822 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49823 COND_TOOLKIT_MAC_USE_GUI_1=""
49824 fi
49825
49826 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49827 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49828 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49829 fi
49830
49831 COND_TOOLKIT_MGL="#"
49832 if test "x$TOOLKIT" = "xMGL" ; then
49833 COND_TOOLKIT_MGL=""
49834 fi
49835
49836 COND_TOOLKIT_MGL_USE_GUI_1="#"
49837 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49838 COND_TOOLKIT_MGL_USE_GUI_1=""
49839 fi
49840
49841 COND_TOOLKIT_MOTIF="#"
49842 if test "x$TOOLKIT" = "xMOTIF" ; then
49843 COND_TOOLKIT_MOTIF=""
49844 fi
49845
49846 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49847 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49848 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49849 fi
49850
49851 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49852 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49853 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49854 fi
49855
49856 COND_TOOLKIT_MSW="#"
49857 if test "x$TOOLKIT" = "xMSW" ; then
49858 COND_TOOLKIT_MSW=""
49859 fi
49860
49861 COND_TOOLKIT_MSW_USE_GUI_1="#"
49862 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49863 COND_TOOLKIT_MSW_USE_GUI_1=""
49864 fi
49865
49866 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49867 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49868 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49869 fi
49870
49871 COND_TOOLKIT_MSW_WXUNIV_0="#"
49872 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49873 COND_TOOLKIT_MSW_WXUNIV_0=""
49874 fi
49875
49876 COND_TOOLKIT_PM="#"
49877 if test "x$TOOLKIT" = "xPM" ; then
49878 COND_TOOLKIT_PM=""
49879 fi
49880
49881 COND_TOOLKIT_PM_USE_GUI_1="#"
49882 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49883 COND_TOOLKIT_PM_USE_GUI_1=""
49884 fi
49885
49886 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49887 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49888 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49889 fi
49890
49891 COND_TOOLKIT_WINCE="#"
49892 if test "x$TOOLKIT" = "xWINCE" ; then
49893 COND_TOOLKIT_WINCE=""
49894 fi
49895
49896 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49897 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49898 COND_TOOLKIT_WINCE_USE_GUI_1=""
49899 fi
49900
49901 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49902 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49903 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49904 fi
49905
49906 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49907 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49908 COND_TOOLKIT_WINCE_WXUNIV_0=""
49909 fi
49910
49911 COND_TOOLKIT_X11="#"
49912 if test "x$TOOLKIT" = "xX11" ; then
49913 COND_TOOLKIT_X11=""
49914 fi
49915
49916 COND_TOOLKIT_X11_USE_GUI_1="#"
49917 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49918 COND_TOOLKIT_X11_USE_GUI_1=""
49919 fi
49920
49921 COND_UNICODE_1="#"
49922 if test "x$UNICODE" = "x1" ; then
49923 COND_UNICODE_1=""
49924 fi
49925
49926 COND_USE_EXCEPTIONS_0="#"
49927 if test "x$USE_EXCEPTIONS" = "x0" ; then
49928 COND_USE_EXCEPTIONS_0=""
49929 fi
49930
49931 COND_USE_EXCEPTIONS_1="#"
49932 if test "x$USE_EXCEPTIONS" = "x1" ; then
49933 COND_USE_EXCEPTIONS_1=""
49934 fi
49935
49936 COND_USE_GUI_0="#"
49937 if test "x$USE_GUI" = "x0" ; then
49938 COND_USE_GUI_0=""
49939 fi
49940
49941 COND_USE_GUI_1="#"
49942 if test "x$USE_GUI" = "x1" ; then
49943 COND_USE_GUI_1=""
49944 fi
49945
49946 COND_USE_GUI_1_WXUNIV_0="#"
49947 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49948 COND_USE_GUI_1_WXUNIV_0=""
49949 fi
49950
49951 COND_USE_GUI_1_WXUNIV_1="#"
49952 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49953 COND_USE_GUI_1_WXUNIV_1=""
49954 fi
49955
49956 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49957 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49958 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49959 fi
49960
49961 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49962 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49964 fi
49965
49966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49967 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49968 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49969 fi
49970
49971 COND_USE_ODBC_1="#"
49972 if test "x$USE_ODBC" = "x1" ; then
49973 COND_USE_ODBC_1=""
49974 fi
49975
49976 COND_USE_OPENGL_1="#"
49977 if test "x$USE_OPENGL" = "x1" ; then
49978 COND_USE_OPENGL_1=""
49979 fi
49980
49981 COND_USE_PCH_1="#"
49982 if test "x$USE_PCH" = "x1" ; then
49983 COND_USE_PCH_1=""
49984 fi
49985
49986 COND_USE_PLUGINS_0="#"
49987 if test "x$USE_PLUGINS" = "x0" ; then
49988 COND_USE_PLUGINS_0=""
49989 fi
49990
49991 COND_USE_RTTI_0="#"
49992 if test "x$USE_RTTI" = "x0" ; then
49993 COND_USE_RTTI_0=""
49994 fi
49995
49996 COND_USE_RTTI_1="#"
49997 if test "x$USE_RTTI" = "x1" ; then
49998 COND_USE_RTTI_1=""
49999 fi
50000
50001 COND_USE_SOSYMLINKS_1="#"
50002 if test "x$USE_SOSYMLINKS" = "x1" ; then
50003 COND_USE_SOSYMLINKS_1=""
50004 fi
50005
50006 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50007 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50008 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50009 fi
50010
50011 COND_USE_SOVERLINUX_1="#"
50012 if test "x$USE_SOVERLINUX" = "x1" ; then
50013 COND_USE_SOVERLINUX_1=""
50014 fi
50015
50016 COND_USE_SOVERSION_0="#"
50017 if test "x$USE_SOVERSION" = "x0" ; then
50018 COND_USE_SOVERSION_0=""
50019 fi
50020
50021 COND_USE_SOVERSOLARIS_1="#"
50022 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50023 COND_USE_SOVERSOLARIS_1=""
50024 fi
50025
50026 COND_USE_THREADS_0="#"
50027 if test "x$USE_THREADS" = "x0" ; then
50028 COND_USE_THREADS_0=""
50029 fi
50030
50031 COND_USE_THREADS_1="#"
50032 if test "x$USE_THREADS" = "x1" ; then
50033 COND_USE_THREADS_1=""
50034 fi
50035
50036 COND_USE_XRC_1="#"
50037 if test "x$USE_XRC" = "x1" ; then
50038 COND_USE_XRC_1=""
50039 fi
50040
50041 COND_WINDOWS_IMPLIB_1="#"
50042 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50043 COND_WINDOWS_IMPLIB_1=""
50044 fi
50045
50046 COND_WITH_PLUGIN_SDL_1="#"
50047 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50048 COND_WITH_PLUGIN_SDL_1=""
50049 fi
50050
50051 COND_WXUNIV_0="#"
50052 if test "x$WXUNIV" = "x0" ; then
50053 COND_WXUNIV_0=""
50054 fi
50055
50056 COND_WXUNIV_1="#"
50057 if test "x$WXUNIV" = "x1" ; then
50058 COND_WXUNIV_1=""
50059 fi
50060
50061 COND_WXUSE_EXPAT_BUILTIN="#"
50062 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50063 COND_WXUSE_EXPAT_BUILTIN=""
50064 fi
50065
50066 COND_WXUSE_LIBJPEG_BUILTIN="#"
50067 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50068 COND_WXUSE_LIBJPEG_BUILTIN=""
50069 fi
50070
50071 COND_WXUSE_LIBPNG_BUILTIN="#"
50072 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50073 COND_WXUSE_LIBPNG_BUILTIN=""
50074 fi
50075
50076 COND_WXUSE_LIBTIFF_BUILTIN="#"
50077 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50078 COND_WXUSE_LIBTIFF_BUILTIN=""
50079 fi
50080
50081 COND_WXUSE_ODBC_BUILTIN="#"
50082 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50083 COND_WXUSE_ODBC_BUILTIN=""
50084 fi
50085
50086 COND_WXUSE_REGEX_BUILTIN="#"
50087 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50088 COND_WXUSE_REGEX_BUILTIN=""
50089 fi
50090
50091 COND_WXUSE_ZLIB_BUILTIN="#"
50092 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50093 COND_WXUSE_ZLIB_BUILTIN=""
50094 fi
50095
50096
50097
50098 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50099 { { 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
50100 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;}
50101 { (exit 1); exit 1; }; }
50102 fi
50103
50104 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50105 { { 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
50106 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;}
50107 { (exit 1); exit 1; }; }
50108 fi
50109
50110
50111 if test $GCC_PCH = 1
50112 then
50113 if test "$wx_cv_gcc_pch_bug" = yes; then
50114 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50115 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50116 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50117 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50118 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50119 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50120 fi
50121
50122 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50123 fi
50124
50125
50126 if test "$wxUSE_MAC" = 1 ; then
50127 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50128 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50129 mv temp bk-deps
50130 chmod +x bk-deps
50131 fi
50132 fi
50133
50134 if test "$wxUSE_SHARED" = "yes"; then
50135
50136 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50137 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50138
50139 case "${host}" in
50140 *-pc-os2_emx | *-pc-os2-emx )
50141 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50142 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50143 cp -p ${srcdir}/src/os2/dllnames.sh .
50144 cp -p ${srcdir}/src/os2/dllar.sh .
50145 ;;
50146 esac
50147 else
50148
50149 EXE_LINKER="$CXX -o"
50150
50151 fi
50152 if test "$wxUSE_OMF" = "yes"; then
50153 case "${host}" in
50154 *-pc-os2_emx | *-pc-os2-emx )
50155 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50156 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50157 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50158 ;;
50159 esac
50160 fi
50161
50162 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50163
50164 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213
50214
50215
50216
50217
50218
50219
50220
50221
50222
50223
50224
50225
50226 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50227 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50228 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50229 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50230 echo $ECHO_N "(cached) $ECHO_C" >&6
50231 else
50232 cat >conftest.make <<\_ACEOF
50233 all:
50234 @echo 'ac_maketemp="$(MAKE)"'
50235 _ACEOF
50236 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50237 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50238 if test -n "$ac_maketemp"; then
50239 eval ac_cv_prog_make_${ac_make}_set=yes
50240 else
50241 eval ac_cv_prog_make_${ac_make}_set=no
50242 fi
50243 rm -f conftest.make
50244 fi
50245 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50246 echo "$as_me:$LINENO: result: yes" >&5
50247 echo "${ECHO_T}yes" >&6
50248 SET_MAKE=
50249 else
50250 echo "$as_me:$LINENO: result: no" >&5
50251 echo "${ECHO_T}no" >&6
50252 SET_MAKE="MAKE=${MAKE-make}"
50253 fi
50254
50255
50256
50257 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50258
50259
50260 if test "$USE_WIN32" = 1; then
50261 ac_config_commands="$ac_config_commands
50262 rcdefs.h
50263 "
50264
50265 fi
50266
50267 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50268
50269
50270 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50271
50272
50273 if test "$wx_cv_version_script" = "yes"; then
50274 ac_config_files="$ac_config_files version-script"
50275
50276 fi
50277 ac_config_files="$ac_config_files Makefile"
50278
50279
50280 ac_config_commands="$ac_config_commands wx-config"
50281
50282
50283
50284 if test "$wxWITH_SUBDIRS" != "no"; then
50285 if test "$wxUSE_GUI" = "yes"; then
50286 SUBDIRS="samples demos utils contrib"
50287 else SUBDIRS="samples utils"
50288 fi
50289
50290
50291
50292 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50293 if test "${with_cppunit_prefix+set}" = set; then
50294 withval="$with_cppunit_prefix"
50295 cppunit_config_prefix="$withval"
50296 else
50297 cppunit_config_prefix=""
50298 fi;
50299
50300 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50301 if test "${with_cppunit_exec_prefix+set}" = set; then
50302 withval="$with_cppunit_exec_prefix"
50303 cppunit_config_exec_prefix="$withval"
50304 else
50305 cppunit_config_exec_prefix=""
50306 fi;
50307
50308 if test x$cppunit_config_exec_prefix != x ; then
50309 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50310 if test x${CPPUNIT_CONFIG+set} != xset ; then
50311 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50312 fi
50313 fi
50314 if test x$cppunit_config_prefix != x ; then
50315 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50316 if test x${CPPUNIT_CONFIG+set} != xset ; then
50317 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50318 fi
50319 fi
50320
50321 # Extract the first word of "cppunit-config", so it can be a program name with args.
50322 set dummy cppunit-config; ac_word=$2
50323 echo "$as_me:$LINENO: checking for $ac_word" >&5
50324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50325 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50326 echo $ECHO_N "(cached) $ECHO_C" >&6
50327 else
50328 case $CPPUNIT_CONFIG in
50329 [\\/]* | ?:[\\/]*)
50330 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50331 ;;
50332 *)
50333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50334 for as_dir in $PATH
50335 do
50336 IFS=$as_save_IFS
50337 test -z "$as_dir" && as_dir=.
50338 for ac_exec_ext in '' $ac_executable_extensions; do
50339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50340 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50342 break 2
50343 fi
50344 done
50345 done
50346
50347 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50348 ;;
50349 esac
50350 fi
50351 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50352
50353 if test -n "$CPPUNIT_CONFIG"; then
50354 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50355 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50356 else
50357 echo "$as_me:$LINENO: result: no" >&5
50358 echo "${ECHO_T}no" >&6
50359 fi
50360
50361 cppunit_version_min=1.8.0
50362
50363 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50364 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50365 no_cppunit=""
50366 if test "$CPPUNIT_CONFIG" = "no" ; then
50367 echo "$as_me:$LINENO: result: no" >&5
50368 echo "${ECHO_T}no" >&6
50369 no_cppunit=yes
50370 else
50371 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50372 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50373 cppunit_version=`$CPPUNIT_CONFIG --version`
50374
50375 cppunit_major_version=`echo $cppunit_version | \
50376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50377 cppunit_minor_version=`echo $cppunit_version | \
50378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50379 cppunit_micro_version=`echo $cppunit_version | \
50380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50381
50382 cppunit_major_min=`echo $cppunit_version_min | \
50383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50384 cppunit_minor_min=`echo $cppunit_version_min | \
50385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50386 cppunit_micro_min=`echo $cppunit_version_min | \
50387 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50388
50389 cppunit_version_proper=`expr \
50390 $cppunit_major_version \> $cppunit_major_min \| \
50391 $cppunit_major_version \= $cppunit_major_min \& \
50392 $cppunit_minor_version \> $cppunit_minor_min \| \
50393 $cppunit_major_version \= $cppunit_major_min \& \
50394 $cppunit_minor_version \= $cppunit_minor_min \& \
50395 $cppunit_micro_version \>= $cppunit_micro_min `
50396
50397 if test "$cppunit_version_proper" = "1" ; then
50398 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50399 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50400 else
50401 echo "$as_me:$LINENO: result: no" >&5
50402 echo "${ECHO_T}no" >&6
50403 no_cppunit=yes
50404 fi
50405 fi
50406
50407 if test "x$no_cppunit" = x ; then
50408 SUBDIRS="$SUBDIRS tests"
50409 else
50410 CPPUNIT_CFLAGS=""
50411 CPPUNIT_LIBS=""
50412 :
50413 fi
50414
50415
50416
50417
50418
50419 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50420 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50421 fi
50422
50423 for subdir in `echo $SUBDIRS`; do
50424 if test -d ${srcdir}/${subdir} ; then
50425 if test "$wxUSE_GUI" = "yes"; then
50426 if test ${subdir} = "samples"; then
50427 makefiles="samples/Makefile.in $makefiles"
50428 for sample in `echo $SAMPLES_SUBDIRS`; do
50429 if test -d $srcdir/samples/$sample; then
50430 makefiles="samples/$sample/Makefile.in $makefiles"
50431 fi
50432 done
50433 else
50434 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50435 eval "disabled=\$$disabled_var"
50436 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50437 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50438 fi
50439 else if test ${subdir} = "samples"; then
50440 makefiles="samples/Makefile.in samples/console/Makefile.in"
50441 elif test ${subdir} = "utils"; then
50442 makefiles=""
50443 for util in HelpGen tex2rtf ; do
50444 if test -d $srcdir/utils/$util ; then
50445 makefiles="utils/$util/Makefile.in \
50446 utils/$util/src/Makefile.in \
50447 $makefiles"
50448 fi
50449 done
50450 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50451 fi
50452 fi
50453
50454 for mkin in $makefiles ; do
50455 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50456 ac_config_files="$ac_config_files $mk"
50457
50458 done
50459 fi
50460 done
50461 fi
50462 cat >confcache <<\_ACEOF
50463 # This file is a shell script that caches the results of configure
50464 # tests run on this system so they can be shared between configure
50465 # scripts and configure runs, see configure's option --config-cache.
50466 # It is not useful on other systems. If it contains results you don't
50467 # want to keep, you may remove or edit it.
50468 #
50469 # config.status only pays attention to the cache file if you give it
50470 # the --recheck option to rerun configure.
50471 #
50472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50474 # following values.
50475
50476 _ACEOF
50477
50478 # The following way of writing the cache mishandles newlines in values,
50479 # but we know of no workaround that is simple, portable, and efficient.
50480 # So, don't put newlines in cache variables' values.
50481 # Ultrix sh set writes to stderr and can't be redirected directly,
50482 # and sets the high bit in the cache file unless we assign to the vars.
50483 {
50484 (set) 2>&1 |
50485 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50486 *ac_space=\ *)
50487 # `set' does not quote correctly, so add quotes (double-quote
50488 # substitution turns \\\\ into \\, and sed turns \\ into \).
50489 sed -n \
50490 "s/'/'\\\\''/g;
50491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50492 ;;
50493 *)
50494 # `set' quotes correctly as required by POSIX, so do not add quotes.
50495 sed -n \
50496 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50497 ;;
50498 esac;
50499 } |
50500 sed '
50501 t clear
50502 : clear
50503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50504 t end
50505 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50506 : end' >>confcache
50507 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50508 if test -w $cache_file; then
50509 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50510 cat confcache >$cache_file
50511 else
50512 echo "not updating unwritable cache $cache_file"
50513 fi
50514 fi
50515 rm -f confcache
50516
50517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50518 # Let make expand exec_prefix.
50519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50520
50521 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50522 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50523 # trailing colons and then remove the whole line if VPATH becomes empty
50524 # (actually we leave an empty line to preserve line numbers).
50525 if test "x$srcdir" = x.; then
50526 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50527 s/:*\$(srcdir):*/:/;
50528 s/:*\${srcdir}:*/:/;
50529 s/:*@srcdir@:*/:/;
50530 s/^\([^=]*=[ ]*\):*/\1/;
50531 s/:*$//;
50532 s/^[^=]*=[ ]*$//;
50533 }'
50534 fi
50535
50536 DEFS=-DHAVE_CONFIG_H
50537
50538 ac_libobjs=
50539 ac_ltlibobjs=
50540 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50541 # 1. Remove the extension, and $U if already installed.
50542 ac_i=`echo "$ac_i" |
50543 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50544 # 2. Add them.
50545 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50546 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50547 done
50548 LIBOBJS=$ac_libobjs
50549
50550 LTLIBOBJS=$ac_ltlibobjs
50551
50552
50553
50554 : ${CONFIG_STATUS=./config.status}
50555 ac_clean_files_save=$ac_clean_files
50556 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50557 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50558 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50559 cat >$CONFIG_STATUS <<_ACEOF
50560 #! $SHELL
50561 # Generated by $as_me.
50562 # Run this file to recreate the current configuration.
50563 # Compiler output produced by configure, useful for debugging
50564 # configure, is in config.log if it exists.
50565
50566 debug=false
50567 ac_cs_recheck=false
50568 ac_cs_silent=false
50569 SHELL=\${CONFIG_SHELL-$SHELL}
50570 _ACEOF
50571
50572 cat >>$CONFIG_STATUS <<\_ACEOF
50573 ## --------------------- ##
50574 ## M4sh Initialization. ##
50575 ## --------------------- ##
50576
50577 # Be Bourne compatible
50578 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50579 emulate sh
50580 NULLCMD=:
50581 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50582 # is contrary to our usage. Disable this feature.
50583 alias -g '${1+"$@"}'='"$@"'
50584 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50585 set -o posix
50586 fi
50587 DUALCASE=1; export DUALCASE # for MKS sh
50588
50589 # Support unset when possible.
50590 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50591 as_unset=unset
50592 else
50593 as_unset=false
50594 fi
50595
50596
50597 # Work around bugs in pre-3.0 UWIN ksh.
50598 $as_unset ENV MAIL MAILPATH
50599 PS1='$ '
50600 PS2='> '
50601 PS4='+ '
50602
50603 # NLS nuisances.
50604 for as_var in \
50605 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50606 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50607 LC_TELEPHONE LC_TIME
50608 do
50609 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50610 eval $as_var=C; export $as_var
50611 else
50612 $as_unset $as_var
50613 fi
50614 done
50615
50616 # Required to use basename.
50617 if expr a : '\(a\)' >/dev/null 2>&1; then
50618 as_expr=expr
50619 else
50620 as_expr=false
50621 fi
50622
50623 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50624 as_basename=basename
50625 else
50626 as_basename=false
50627 fi
50628
50629
50630 # Name of the executable.
50631 as_me=`$as_basename "$0" ||
50632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50633 X"$0" : 'X\(//\)$' \| \
50634 X"$0" : 'X\(/\)$' \| \
50635 . : '\(.\)' 2>/dev/null ||
50636 echo X/"$0" |
50637 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50638 /^X\/\(\/\/\)$/{ s//\1/; q; }
50639 /^X\/\(\/\).*/{ s//\1/; q; }
50640 s/.*/./; q'`
50641
50642
50643 # PATH needs CR, and LINENO needs CR and PATH.
50644 # Avoid depending upon Character Ranges.
50645 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50646 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50647 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50648 as_cr_digits='0123456789'
50649 as_cr_alnum=$as_cr_Letters$as_cr_digits
50650
50651 # The user is always right.
50652 if test "${PATH_SEPARATOR+set}" != set; then
50653 echo "#! /bin/sh" >conf$$.sh
50654 echo "exit 0" >>conf$$.sh
50655 chmod +x conf$$.sh
50656 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50657 PATH_SEPARATOR=';'
50658 else
50659 PATH_SEPARATOR=:
50660 fi
50661 rm -f conf$$.sh
50662 fi
50663
50664
50665 as_lineno_1=$LINENO
50666 as_lineno_2=$LINENO
50667 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50668 test "x$as_lineno_1" != "x$as_lineno_2" &&
50669 test "x$as_lineno_3" = "x$as_lineno_2" || {
50670 # Find who we are. Look in the path if we contain no path at all
50671 # relative or not.
50672 case $0 in
50673 *[\\/]* ) as_myself=$0 ;;
50674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50675 for as_dir in $PATH
50676 do
50677 IFS=$as_save_IFS
50678 test -z "$as_dir" && as_dir=.
50679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50680 done
50681
50682 ;;
50683 esac
50684 # We did not find ourselves, most probably we were run as `sh COMMAND'
50685 # in which case we are not to be found in the path.
50686 if test "x$as_myself" = x; then
50687 as_myself=$0
50688 fi
50689 if test ! -f "$as_myself"; then
50690 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50691 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50692 { (exit 1); exit 1; }; }
50693 fi
50694 case $CONFIG_SHELL in
50695 '')
50696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50697 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50698 do
50699 IFS=$as_save_IFS
50700 test -z "$as_dir" && as_dir=.
50701 for as_base in sh bash ksh sh5; do
50702 case $as_dir in
50703 /*)
50704 if ("$as_dir/$as_base" -c '
50705 as_lineno_1=$LINENO
50706 as_lineno_2=$LINENO
50707 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50708 test "x$as_lineno_1" != "x$as_lineno_2" &&
50709 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50710 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50711 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50712 CONFIG_SHELL=$as_dir/$as_base
50713 export CONFIG_SHELL
50714 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50715 fi;;
50716 esac
50717 done
50718 done
50719 ;;
50720 esac
50721
50722 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50723 # uniformly replaced by the line number. The first 'sed' inserts a
50724 # line-number line before each line; the second 'sed' does the real
50725 # work. The second script uses 'N' to pair each line-number line
50726 # with the numbered line, and appends trailing '-' during
50727 # substitution so that $LINENO is not a special case at line end.
50728 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50729 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50730 sed '=' <$as_myself |
50731 sed '
50732 N
50733 s,$,-,
50734 : loop
50735 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50736 t loop
50737 s,-$,,
50738 s,^['$as_cr_digits']*\n,,
50739 ' >$as_me.lineno &&
50740 chmod +x $as_me.lineno ||
50741 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50742 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50743 { (exit 1); exit 1; }; }
50744
50745 # Don't try to exec as it changes $[0], causing all sort of problems
50746 # (the dirname of $[0] is not the place where we might find the
50747 # original and so on. Autoconf is especially sensible to this).
50748 . ./$as_me.lineno
50749 # Exit status is that of the last command.
50750 exit
50751 }
50752
50753
50754 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50755 *c*,-n*) ECHO_N= ECHO_C='
50756 ' ECHO_T=' ' ;;
50757 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50758 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50759 esac
50760
50761 if expr a : '\(a\)' >/dev/null 2>&1; then
50762 as_expr=expr
50763 else
50764 as_expr=false
50765 fi
50766
50767 rm -f conf$$ conf$$.exe conf$$.file
50768 echo >conf$$.file
50769 if ln -s conf$$.file conf$$ 2>/dev/null; then
50770 # We could just check for DJGPP; but this test a) works b) is more generic
50771 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50772 if test -f conf$$.exe; then
50773 # Don't use ln at all; we don't have any links
50774 as_ln_s='cp -p'
50775 else
50776 as_ln_s='ln -s'
50777 fi
50778 elif ln conf$$.file conf$$ 2>/dev/null; then
50779 as_ln_s=ln
50780 else
50781 as_ln_s='cp -p'
50782 fi
50783 rm -f conf$$ conf$$.exe conf$$.file
50784
50785 if mkdir -p . 2>/dev/null; then
50786 as_mkdir_p=:
50787 else
50788 test -d ./-p && rmdir ./-p
50789 as_mkdir_p=false
50790 fi
50791
50792 as_executable_p="test -f"
50793
50794 # Sed expression to map a string onto a valid CPP name.
50795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50796
50797 # Sed expression to map a string onto a valid variable name.
50798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50799
50800
50801 # IFS
50802 # We need space, tab and new line, in precisely that order.
50803 as_nl='
50804 '
50805 IFS=" $as_nl"
50806
50807 # CDPATH.
50808 $as_unset CDPATH
50809
50810 exec 6>&1
50811
50812 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50813 # report actual input values of CONFIG_FILES etc. instead of their
50814 # values after options handling. Logging --version etc. is OK.
50815 exec 5>>config.log
50816 {
50817 echo
50818 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50819 ## Running $as_me. ##
50820 _ASBOX
50821 } >&5
50822 cat >&5 <<_CSEOF
50823
50824 This file was extended by wxWidgets $as_me 2.8.0, which was
50825 generated by GNU Autoconf 2.59. Invocation command line was
50826
50827 CONFIG_FILES = $CONFIG_FILES
50828 CONFIG_HEADERS = $CONFIG_HEADERS
50829 CONFIG_LINKS = $CONFIG_LINKS
50830 CONFIG_COMMANDS = $CONFIG_COMMANDS
50831 $ $0 $@
50832
50833 _CSEOF
50834 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50835 echo >&5
50836 _ACEOF
50837
50838 # Files that config.status was made for.
50839 if test -n "$ac_config_files"; then
50840 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50841 fi
50842
50843 if test -n "$ac_config_headers"; then
50844 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50845 fi
50846
50847 if test -n "$ac_config_links"; then
50848 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50849 fi
50850
50851 if test -n "$ac_config_commands"; then
50852 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50853 fi
50854
50855 cat >>$CONFIG_STATUS <<\_ACEOF
50856
50857 ac_cs_usage="\
50858 \`$as_me' instantiates files from templates according to the
50859 current configuration.
50860
50861 Usage: $0 [OPTIONS] [FILE]...
50862
50863 -h, --help print this help, then exit
50864 -V, --version print version number, then exit
50865 -q, --quiet do not print progress messages
50866 -d, --debug don't remove temporary files
50867 --recheck update $as_me by reconfiguring in the same conditions
50868 --file=FILE[:TEMPLATE]
50869 instantiate the configuration file FILE
50870 --header=FILE[:TEMPLATE]
50871 instantiate the configuration header FILE
50872
50873 Configuration files:
50874 $config_files
50875
50876 Configuration headers:
50877 $config_headers
50878
50879 Configuration commands:
50880 $config_commands
50881
50882 Report bugs to <bug-autoconf@gnu.org>."
50883 _ACEOF
50884
50885 cat >>$CONFIG_STATUS <<_ACEOF
50886 ac_cs_version="\\
50887 wxWidgets config.status 2.8.0
50888 configured by $0, generated by GNU Autoconf 2.59,
50889 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50890
50891 Copyright (C) 2003 Free Software Foundation, Inc.
50892 This config.status script is free software; the Free Software Foundation
50893 gives unlimited permission to copy, distribute and modify it."
50894 srcdir=$srcdir
50895 INSTALL="$INSTALL"
50896 _ACEOF
50897
50898 cat >>$CONFIG_STATUS <<\_ACEOF
50899 # If no file are specified by the user, then we need to provide default
50900 # value. By we need to know if files were specified by the user.
50901 ac_need_defaults=:
50902 while test $# != 0
50903 do
50904 case $1 in
50905 --*=*)
50906 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50907 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50908 ac_shift=:
50909 ;;
50910 -*)
50911 ac_option=$1
50912 ac_optarg=$2
50913 ac_shift=shift
50914 ;;
50915 *) # This is not an option, so the user has probably given explicit
50916 # arguments.
50917 ac_option=$1
50918 ac_need_defaults=false;;
50919 esac
50920
50921 case $ac_option in
50922 # Handling of the options.
50923 _ACEOF
50924 cat >>$CONFIG_STATUS <<\_ACEOF
50925 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50926 ac_cs_recheck=: ;;
50927 --version | --vers* | -V )
50928 echo "$ac_cs_version"; exit 0 ;;
50929 --he | --h)
50930 # Conflict between --help and --header
50931 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50932 Try \`$0 --help' for more information." >&5
50933 echo "$as_me: error: ambiguous option: $1
50934 Try \`$0 --help' for more information." >&2;}
50935 { (exit 1); exit 1; }; };;
50936 --help | --hel | -h )
50937 echo "$ac_cs_usage"; exit 0 ;;
50938 --debug | --d* | -d )
50939 debug=: ;;
50940 --file | --fil | --fi | --f )
50941 $ac_shift
50942 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50943 ac_need_defaults=false;;
50944 --header | --heade | --head | --hea )
50945 $ac_shift
50946 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50947 ac_need_defaults=false;;
50948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50949 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50950 ac_cs_silent=: ;;
50951
50952 # This is an error.
50953 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50954 Try \`$0 --help' for more information." >&5
50955 echo "$as_me: error: unrecognized option: $1
50956 Try \`$0 --help' for more information." >&2;}
50957 { (exit 1); exit 1; }; } ;;
50958
50959 *) ac_config_targets="$ac_config_targets $1" ;;
50960
50961 esac
50962 shift
50963 done
50964
50965 ac_configure_extra_args=
50966
50967 if $ac_cs_silent; then
50968 exec 6>/dev/null
50969 ac_configure_extra_args="$ac_configure_extra_args --silent"
50970 fi
50971
50972 _ACEOF
50973 cat >>$CONFIG_STATUS <<_ACEOF
50974 if \$ac_cs_recheck; then
50975 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50976 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50977 fi
50978
50979 _ACEOF
50980
50981 cat >>$CONFIG_STATUS <<_ACEOF
50982 #
50983 # INIT-COMMANDS section.
50984 #
50985
50986
50987 CPP="$CPP"
50988 infile="$srcdir/include/wx/msw/genrcdefs.h"
50989 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50990
50991
50992 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50993 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50994 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50995 LN_S="${LN_S}"
50996
50997
50998 _ACEOF
50999
51000
51001
51002 cat >>$CONFIG_STATUS <<\_ACEOF
51003 for ac_config_target in $ac_config_targets
51004 do
51005 case "$ac_config_target" in
51006 # Handling of arguments.
51007 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51008 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51009 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51010 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51011 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51012 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51013 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51014 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51015 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51016 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51017 { (exit 1); exit 1; }; };;
51018 esac
51019 done
51020
51021 # If the user did not use the arguments to specify the items to instantiate,
51022 # then the envvar interface is used. Set only those that are not.
51023 # We use the long form for the default assignment because of an extremely
51024 # bizarre bug on SunOS 4.1.3.
51025 if $ac_need_defaults; then
51026 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51027 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51028 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51029 fi
51030
51031 # Have a temporary directory for convenience. Make it in the build tree
51032 # simply because there is no reason to put it here, and in addition,
51033 # creating and moving files from /tmp can sometimes cause problems.
51034 # Create a temporary directory, and hook for its removal unless debugging.
51035 $debug ||
51036 {
51037 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51038 trap '{ (exit 1); exit 1; }' 1 2 13 15
51039 }
51040
51041 # Create a (secure) tmp directory for tmp files.
51042
51043 {
51044 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51045 test -n "$tmp" && test -d "$tmp"
51046 } ||
51047 {
51048 tmp=./confstat$$-$RANDOM
51049 (umask 077 && mkdir $tmp)
51050 } ||
51051 {
51052 echo "$me: cannot create a temporary directory in ." >&2
51053 { (exit 1); exit 1; }
51054 }
51055
51056 _ACEOF
51057
51058 cat >>$CONFIG_STATUS <<_ACEOF
51059
51060 #
51061 # CONFIG_FILES section.
51062 #
51063
51064 # No need to generate the scripts if there are no CONFIG_FILES.
51065 # This happens for instance when ./config.status config.h
51066 if test -n "\$CONFIG_FILES"; then
51067 # Protect against being on the right side of a sed subst in config.status.
51068 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51069 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51070 s,@SHELL@,$SHELL,;t t
51071 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51072 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51073 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51074 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51075 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51076 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51077 s,@exec_prefix@,$exec_prefix,;t t
51078 s,@prefix@,$prefix,;t t
51079 s,@program_transform_name@,$program_transform_name,;t t
51080 s,@bindir@,$bindir,;t t
51081 s,@sbindir@,$sbindir,;t t
51082 s,@libexecdir@,$libexecdir,;t t
51083 s,@datadir@,$datadir,;t t
51084 s,@sysconfdir@,$sysconfdir,;t t
51085 s,@sharedstatedir@,$sharedstatedir,;t t
51086 s,@localstatedir@,$localstatedir,;t t
51087 s,@libdir@,$libdir,;t t
51088 s,@includedir@,$includedir,;t t
51089 s,@oldincludedir@,$oldincludedir,;t t
51090 s,@infodir@,$infodir,;t t
51091 s,@mandir@,$mandir,;t t
51092 s,@build_alias@,$build_alias,;t t
51093 s,@host_alias@,$host_alias,;t t
51094 s,@target_alias@,$target_alias,;t t
51095 s,@DEFS@,$DEFS,;t t
51096 s,@ECHO_C@,$ECHO_C,;t t
51097 s,@ECHO_N@,$ECHO_N,;t t
51098 s,@ECHO_T@,$ECHO_T,;t t
51099 s,@LIBS@,$LIBS,;t t
51100 s,@build@,$build,;t t
51101 s,@build_cpu@,$build_cpu,;t t
51102 s,@build_vendor@,$build_vendor,;t t
51103 s,@build_os@,$build_os,;t t
51104 s,@host@,$host,;t t
51105 s,@host_cpu@,$host_cpu,;t t
51106 s,@host_vendor@,$host_vendor,;t t
51107 s,@host_os@,$host_os,;t t
51108 s,@target@,$target,;t t
51109 s,@target_cpu@,$target_cpu,;t t
51110 s,@target_vendor@,$target_vendor,;t t
51111 s,@target_os@,$target_os,;t t
51112 s,@wx_top_builddir@,$wx_top_builddir,;t t
51113 s,@CC@,$CC,;t t
51114 s,@CFLAGS@,$CFLAGS,;t t
51115 s,@LDFLAGS@,$LDFLAGS,;t t
51116 s,@CPPFLAGS@,$CPPFLAGS,;t t
51117 s,@ac_ct_CC@,$ac_ct_CC,;t t
51118 s,@EXEEXT@,$EXEEXT,;t t
51119 s,@OBJEXT@,$OBJEXT,;t t
51120 s,@CPP@,$CPP,;t t
51121 s,@EGREP@,$EGREP,;t t
51122 s,@CXX@,$CXX,;t t
51123 s,@CXXFLAGS@,$CXXFLAGS,;t t
51124 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51125 s,@RANLIB@,$RANLIB,;t t
51126 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51127 s,@AR@,$AR,;t t
51128 s,@ac_ct_AR@,$ac_ct_AR,;t t
51129 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51130 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51131 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51132 s,@STRIP@,$STRIP,;t t
51133 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51134 s,@WINDRES@,$WINDRES,;t t
51135 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51136 s,@DLLTOOL@,$DLLTOOL,;t t
51137 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51138 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51139 s,@LN_S@,$LN_S,;t t
51140 s,@CXXCPP@,$CXXCPP,;t t
51141 s,@subdirs@,$subdirs,;t t
51142 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51143 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51144 s,@GTK_LIBS@,$GTK_LIBS,;t t
51145 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51146 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51147 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51148 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51149 s,@X_CFLAGS@,$X_CFLAGS,;t t
51150 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51151 s,@X_LIBS@,$X_LIBS,;t t
51152 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51153 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51154 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51155 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51156 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51157 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51158 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51159 s,@REZ@,$REZ,;t t
51160 s,@DEREZ@,$DEREZ,;t t
51161 s,@SETFILE@,$SETFILE,;t t
51162 s,@LIBICONV@,$LIBICONV,;t t
51163 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51164 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51165 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51166 s,@SDL_LIBS@,$SDL_LIBS,;t t
51167 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51168 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51169 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51170 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51171 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51172 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51173 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51174 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51175 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51176 s,@GST_LIBS@,$GST_LIBS,;t t
51177 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51178 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51179 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51180 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51181 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51182 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51183 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51184 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51185 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51186 s,@VENDOR@,$VENDOR,;t t
51187 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51188 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51189 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51190 s,@WXUNIV@,$WXUNIV,;t t
51191 s,@MONOLITHIC@,$MONOLITHIC,;t t
51192 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51193 s,@EXTRALIBS@,$EXTRALIBS,;t t
51194 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51195 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51196 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51197 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51198 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51199 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51200 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51201 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51202 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51203 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51204 s,@UNICODE@,$UNICODE,;t t
51205 s,@BUILD@,$BUILD,;t t
51206 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51207 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51208 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51209 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51210 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51211 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51212 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51213 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51214 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51215 s,@SET_MAKE@,$SET_MAKE,;t t
51216 s,@MAKE_SET@,$MAKE_SET,;t t
51217 s,@AROPTIONS@,$AROPTIONS,;t t
51218 s,@NM@,$NM,;t t
51219 s,@ac_ct_NM@,$ac_ct_NM,;t t
51220 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51221 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51222 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51223 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51224 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51225 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51226 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51227 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51228 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51229 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51230 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51231 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51232 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51233 s,@LIBPREFIX@,$LIBPREFIX,;t t
51234 s,@LIBEXT@,$LIBEXT,;t t
51235 s,@DLLPREFIX@,$DLLPREFIX,;t t
51236 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51237 s,@dlldir@,$dlldir,;t t
51238 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51239 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51240 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51241 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51242 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51243 s,@PIC_FLAG@,$PIC_FLAG,;t t
51244 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51245 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51246 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51247 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51248 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51249 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51250 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51251 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51252 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51253 s,@BK_DEPS@,$BK_DEPS,;t t
51254 s,@GCC_PCH@,$GCC_PCH,;t t
51255 s,@ICC_PCH@,$ICC_PCH,;t t
51256 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51257 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51258 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51259 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51260 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51261 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51262 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51263 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51264 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51265 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51266 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51267 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51268 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51269 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51270 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51271 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51272 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51273 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51274 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51275 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51276 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51277 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
51278 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
51279 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
51280 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
51281 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51282 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51283 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51284 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51285 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51286 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51287 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
51288 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
51289 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
51290 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
51291 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51292 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51293 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51294 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51295 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51296 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51297 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51298 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51299 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51300 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51301 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51302 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51303 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51304 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51305 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51306 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51307 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51308 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51309 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51310 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51311 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51312 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51313 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51314 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51315 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51316 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51317 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51318 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51319 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51320 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51321 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51322 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51323 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51324 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51325 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51326 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51327 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51328 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51329 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51330 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51331 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51332 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51333 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51334 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51335 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51336 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51337 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51338 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51339 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51340 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51341 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51342 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51343 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51344 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51345 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51346 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51347 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51348 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51349 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51350 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51351 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51352 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
51353 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51354 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51355 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51356 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51357 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51358 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51359 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51360 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51361 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51362 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51363 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51364 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51365 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51366 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51367 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51368 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51369 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51370 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51371 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51372 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51373 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51374 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51375 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51376 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51377 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51378 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51379 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51380 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51381 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51382 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51383 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51384 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51385 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51386 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51387 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51388 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51389 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51390 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51391 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51392 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51393 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51394 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51395 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51396 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51397 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51398 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51399 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51400 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51401 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51402 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51403 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51404 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51405 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51406 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51407 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51408 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51409 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51410 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51411 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51412 s,@SHARED@,$SHARED,;t t
51413 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51414 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51415 s,@USE_GUI@,$USE_GUI,;t t
51416 s,@AFMINSTALL@,$AFMINSTALL,;t t
51417 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51418 s,@TOOLKIT@,$TOOLKIT,;t t
51419 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51420 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51421 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51422 s,@cross_compiling@,$cross_compiling,;t t
51423 s,@WIDGET_SET@,$WIDGET_SET,;t t
51424 s,@WX_RELEASE@,$WX_RELEASE,;t t
51425 s,@WX_VERSION@,$WX_VERSION,;t t
51426 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51427 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51428 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51429 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51430 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51431 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51432 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51433 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51434 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51435 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51436 s,@EXE_LINKER@,$EXE_LINKER,;t t
51437 s,@GUIDIST@,$GUIDIST,;t t
51438 s,@DISTDIR@,$DISTDIR,;t t
51439 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51440 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51441 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51442 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51443 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51444 s,@RESCOMP@,$RESCOMP,;t t
51445 s,@RESFLAGS@,$RESFLAGS,;t t
51446 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51447 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51448 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51449 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51450 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51451 s,@MACSETFILE@,$MACSETFILE,;t t
51452 s,@GCC@,$GCC,;t t
51453 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51454 s,@LIBOBJS@,$LIBOBJS,;t t
51455 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51456 CEOF
51457
51458 _ACEOF
51459
51460 cat >>$CONFIG_STATUS <<\_ACEOF
51461 # Split the substitutions into bite-sized pieces for seds with
51462 # small command number limits, like on Digital OSF/1 and HP-UX.
51463 ac_max_sed_lines=48
51464 ac_sed_frag=1 # Number of current file.
51465 ac_beg=1 # First line for current file.
51466 ac_end=$ac_max_sed_lines # Line after last line for current file.
51467 ac_more_lines=:
51468 ac_sed_cmds=
51469 while $ac_more_lines; do
51470 if test $ac_beg -gt 1; then
51471 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51472 else
51473 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51474 fi
51475 if test ! -s $tmp/subs.frag; then
51476 ac_more_lines=false
51477 else
51478 # The purpose of the label and of the branching condition is to
51479 # speed up the sed processing (if there are no `@' at all, there
51480 # is no need to browse any of the substitutions).
51481 # These are the two extra sed commands mentioned above.
51482 (echo ':t
51483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51484 if test -z "$ac_sed_cmds"; then
51485 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51486 else
51487 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51488 fi
51489 ac_sed_frag=`expr $ac_sed_frag + 1`
51490 ac_beg=$ac_end
51491 ac_end=`expr $ac_end + $ac_max_sed_lines`
51492 fi
51493 done
51494 if test -z "$ac_sed_cmds"; then
51495 ac_sed_cmds=cat
51496 fi
51497 fi # test -n "$CONFIG_FILES"
51498
51499 _ACEOF
51500 cat >>$CONFIG_STATUS <<\_ACEOF
51501 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51502 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51503 case $ac_file in
51504 - | *:- | *:-:* ) # input from stdin
51505 cat >$tmp/stdin
51506 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51507 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51508 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51509 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51510 * ) ac_file_in=$ac_file.in ;;
51511 esac
51512
51513 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51514 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51515 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51516 X"$ac_file" : 'X\(//\)[^/]' \| \
51517 X"$ac_file" : 'X\(//\)$' \| \
51518 X"$ac_file" : 'X\(/\)' \| \
51519 . : '\(.\)' 2>/dev/null ||
51520 echo X"$ac_file" |
51521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51523 /^X\(\/\/\)$/{ s//\1/; q; }
51524 /^X\(\/\).*/{ s//\1/; q; }
51525 s/.*/./; q'`
51526 { if $as_mkdir_p; then
51527 mkdir -p "$ac_dir"
51528 else
51529 as_dir="$ac_dir"
51530 as_dirs=
51531 while test ! -d "$as_dir"; do
51532 as_dirs="$as_dir $as_dirs"
51533 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51535 X"$as_dir" : 'X\(//\)[^/]' \| \
51536 X"$as_dir" : 'X\(//\)$' \| \
51537 X"$as_dir" : 'X\(/\)' \| \
51538 . : '\(.\)' 2>/dev/null ||
51539 echo X"$as_dir" |
51540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51542 /^X\(\/\/\)$/{ s//\1/; q; }
51543 /^X\(\/\).*/{ s//\1/; q; }
51544 s/.*/./; q'`
51545 done
51546 test ! -n "$as_dirs" || mkdir $as_dirs
51547 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51549 { (exit 1); exit 1; }; }; }
51550
51551 ac_builddir=.
51552
51553 if test "$ac_dir" != .; then
51554 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51555 # A "../" for each directory in $ac_dir_suffix.
51556 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51557 else
51558 ac_dir_suffix= ac_top_builddir=
51559 fi
51560
51561 case $srcdir in
51562 .) # No --srcdir option. We are building in place.
51563 ac_srcdir=.
51564 if test -z "$ac_top_builddir"; then
51565 ac_top_srcdir=.
51566 else
51567 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51568 fi ;;
51569 [\\/]* | ?:[\\/]* ) # Absolute path.
51570 ac_srcdir=$srcdir$ac_dir_suffix;
51571 ac_top_srcdir=$srcdir ;;
51572 *) # Relative path.
51573 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51574 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51575 esac
51576
51577 # Do not use `cd foo && pwd` to compute absolute paths, because
51578 # the directories may not exist.
51579 case `pwd` in
51580 .) ac_abs_builddir="$ac_dir";;
51581 *)
51582 case "$ac_dir" in
51583 .) ac_abs_builddir=`pwd`;;
51584 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51585 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51586 esac;;
51587 esac
51588 case $ac_abs_builddir in
51589 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51590 *)
51591 case ${ac_top_builddir}. in
51592 .) ac_abs_top_builddir=$ac_abs_builddir;;
51593 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51594 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51595 esac;;
51596 esac
51597 case $ac_abs_builddir in
51598 .) ac_abs_srcdir=$ac_srcdir;;
51599 *)
51600 case $ac_srcdir in
51601 .) ac_abs_srcdir=$ac_abs_builddir;;
51602 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51603 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51604 esac;;
51605 esac
51606 case $ac_abs_builddir in
51607 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51608 *)
51609 case $ac_top_srcdir in
51610 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51611 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51612 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51613 esac;;
51614 esac
51615
51616
51617 case $INSTALL in
51618 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51619 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51620 esac
51621
51622 # Let's still pretend it is `configure' which instantiates (i.e., don't
51623 # use $as_me), people would be surprised to read:
51624 # /* config.h. Generated by config.status. */
51625 if test x"$ac_file" = x-; then
51626 configure_input=
51627 else
51628 configure_input="$ac_file. "
51629 fi
51630 configure_input=$configure_input"Generated from `echo $ac_file_in |
51631 sed 's,.*/,,'` by configure."
51632
51633 # First look for the input files in the build tree, otherwise in the
51634 # src tree.
51635 ac_file_inputs=`IFS=:
51636 for f in $ac_file_in; do
51637 case $f in
51638 -) echo $tmp/stdin ;;
51639 [\\/$]*)
51640 # Absolute (can't be DOS-style, as IFS=:)
51641 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51642 echo "$as_me: error: cannot find input file: $f" >&2;}
51643 { (exit 1); exit 1; }; }
51644 echo "$f";;
51645 *) # Relative
51646 if test -f "$f"; then
51647 # Build tree
51648 echo "$f"
51649 elif test -f "$srcdir/$f"; then
51650 # Source tree
51651 echo "$srcdir/$f"
51652 else
51653 # /dev/null tree
51654 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51655 echo "$as_me: error: cannot find input file: $f" >&2;}
51656 { (exit 1); exit 1; }; }
51657 fi;;
51658 esac
51659 done` || { (exit 1); exit 1; }
51660
51661 if test x"$ac_file" != x-; then
51662 { echo "$as_me:$LINENO: creating $ac_file" >&5
51663 echo "$as_me: creating $ac_file" >&6;}
51664 rm -f "$ac_file"
51665 fi
51666 _ACEOF
51667 cat >>$CONFIG_STATUS <<_ACEOF
51668 sed "$ac_vpsub
51669 $extrasub
51670 _ACEOF
51671 cat >>$CONFIG_STATUS <<\_ACEOF
51672 :t
51673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51674 s,@configure_input@,$configure_input,;t t
51675 s,@srcdir@,$ac_srcdir,;t t
51676 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51677 s,@top_srcdir@,$ac_top_srcdir,;t t
51678 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51679 s,@builddir@,$ac_builddir,;t t
51680 s,@abs_builddir@,$ac_abs_builddir,;t t
51681 s,@top_builddir@,$ac_top_builddir,;t t
51682 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51683 s,@INSTALL@,$ac_INSTALL,;t t
51684 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51685 rm -f $tmp/stdin
51686 if test x"$ac_file" != x-; then
51687 mv $tmp/out $ac_file
51688 else
51689 cat $tmp/out
51690 rm -f $tmp/out
51691 fi
51692
51693 # Run the commands associated with the file.
51694 case $ac_file in
51695 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51696 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51697 esac
51698 done
51699 _ACEOF
51700 cat >>$CONFIG_STATUS <<\_ACEOF
51701
51702 #
51703 # CONFIG_HEADER section.
51704 #
51705
51706 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51707 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51708 #
51709 # ac_d sets the value in "#define NAME VALUE" lines.
51710 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51711 ac_dB='[ ].*$,\1#\2'
51712 ac_dC=' '
51713 ac_dD=',;t'
51714 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51715 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51716 ac_uB='$,\1#\2define\3'
51717 ac_uC=' '
51718 ac_uD=',;t'
51719
51720 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51721 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51722 case $ac_file in
51723 - | *:- | *:-:* ) # input from stdin
51724 cat >$tmp/stdin
51725 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51726 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51727 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51729 * ) ac_file_in=$ac_file.in ;;
51730 esac
51731
51732 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51733 echo "$as_me: creating $ac_file" >&6;}
51734
51735 # First look for the input files in the build tree, otherwise in the
51736 # src tree.
51737 ac_file_inputs=`IFS=:
51738 for f in $ac_file_in; do
51739 case $f in
51740 -) echo $tmp/stdin ;;
51741 [\\/$]*)
51742 # Absolute (can't be DOS-style, as IFS=:)
51743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51744 echo "$as_me: error: cannot find input file: $f" >&2;}
51745 { (exit 1); exit 1; }; }
51746 # Do quote $f, to prevent DOS paths from being IFS'd.
51747 echo "$f";;
51748 *) # Relative
51749 if test -f "$f"; then
51750 # Build tree
51751 echo "$f"
51752 elif test -f "$srcdir/$f"; then
51753 # Source tree
51754 echo "$srcdir/$f"
51755 else
51756 # /dev/null tree
51757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51758 echo "$as_me: error: cannot find input file: $f" >&2;}
51759 { (exit 1); exit 1; }; }
51760 fi;;
51761 esac
51762 done` || { (exit 1); exit 1; }
51763 # Remove the trailing spaces.
51764 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51765
51766 _ACEOF
51767
51768 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51769 # `conftest.undefs', that substitutes the proper values into
51770 # config.h.in to produce config.h. The first handles `#define'
51771 # templates, and the second `#undef' templates.
51772 # And first: Protect against being on the right side of a sed subst in
51773 # config.status. Protect against being in an unquoted here document
51774 # in config.status.
51775 rm -f conftest.defines conftest.undefs
51776 # Using a here document instead of a string reduces the quoting nightmare.
51777 # Putting comments in sed scripts is not portable.
51778 #
51779 # `end' is used to avoid that the second main sed command (meant for
51780 # 0-ary CPP macros) applies to n-ary macro definitions.
51781 # See the Autoconf documentation for `clear'.
51782 cat >confdef2sed.sed <<\_ACEOF
51783 s/[\\&,]/\\&/g
51784 s,[\\$`],\\&,g
51785 t clear
51786 : clear
51787 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51788 t end
51789 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51790 : end
51791 _ACEOF
51792 # If some macros were called several times there might be several times
51793 # the same #defines, which is useless. Nevertheless, we may not want to
51794 # sort them, since we want the *last* AC-DEFINE to be honored.
51795 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51796 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51797 rm -f confdef2sed.sed
51798
51799 # This sed command replaces #undef with comments. This is necessary, for
51800 # example, in the case of _POSIX_SOURCE, which is predefined and required
51801 # on some systems where configure will not decide to define it.
51802 cat >>conftest.undefs <<\_ACEOF
51803 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51804 _ACEOF
51805
51806 # Break up conftest.defines because some shells have a limit on the size
51807 # of here documents, and old seds have small limits too (100 cmds).
51808 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51809 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51810 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51811 echo ' :' >>$CONFIG_STATUS
51812 rm -f conftest.tail
51813 while grep . conftest.defines >/dev/null
51814 do
51815 # Write a limited-size here document to $tmp/defines.sed.
51816 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51817 # Speed up: don't consider the non `#define' lines.
51818 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51819 # Work around the forget-to-reset-the-flag bug.
51820 echo 't clr' >>$CONFIG_STATUS
51821 echo ': clr' >>$CONFIG_STATUS
51822 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51823 echo 'CEOF
51824 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51825 rm -f $tmp/in
51826 mv $tmp/out $tmp/in
51827 ' >>$CONFIG_STATUS
51828 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51829 rm -f conftest.defines
51830 mv conftest.tail conftest.defines
51831 done
51832 rm -f conftest.defines
51833 echo ' fi # grep' >>$CONFIG_STATUS
51834 echo >>$CONFIG_STATUS
51835
51836 # Break up conftest.undefs because some shells have a limit on the size
51837 # of here documents, and old seds have small limits too (100 cmds).
51838 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51839 rm -f conftest.tail
51840 while grep . conftest.undefs >/dev/null
51841 do
51842 # Write a limited-size here document to $tmp/undefs.sed.
51843 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51844 # Speed up: don't consider the non `#undef'
51845 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51846 # Work around the forget-to-reset-the-flag bug.
51847 echo 't clr' >>$CONFIG_STATUS
51848 echo ': clr' >>$CONFIG_STATUS
51849 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51850 echo 'CEOF
51851 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51852 rm -f $tmp/in
51853 mv $tmp/out $tmp/in
51854 ' >>$CONFIG_STATUS
51855 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51856 rm -f conftest.undefs
51857 mv conftest.tail conftest.undefs
51858 done
51859 rm -f conftest.undefs
51860
51861 cat >>$CONFIG_STATUS <<\_ACEOF
51862 # Let's still pretend it is `configure' which instantiates (i.e., don't
51863 # use $as_me), people would be surprised to read:
51864 # /* config.h. Generated by config.status. */
51865 if test x"$ac_file" = x-; then
51866 echo "/* Generated by configure. */" >$tmp/config.h
51867 else
51868 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51869 fi
51870 cat $tmp/in >>$tmp/config.h
51871 rm -f $tmp/in
51872 if test x"$ac_file" != x-; then
51873 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51875 echo "$as_me: $ac_file is unchanged" >&6;}
51876 else
51877 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51879 X"$ac_file" : 'X\(//\)[^/]' \| \
51880 X"$ac_file" : 'X\(//\)$' \| \
51881 X"$ac_file" : 'X\(/\)' \| \
51882 . : '\(.\)' 2>/dev/null ||
51883 echo X"$ac_file" |
51884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51886 /^X\(\/\/\)$/{ s//\1/; q; }
51887 /^X\(\/\).*/{ s//\1/; q; }
51888 s/.*/./; q'`
51889 { if $as_mkdir_p; then
51890 mkdir -p "$ac_dir"
51891 else
51892 as_dir="$ac_dir"
51893 as_dirs=
51894 while test ! -d "$as_dir"; do
51895 as_dirs="$as_dir $as_dirs"
51896 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51898 X"$as_dir" : 'X\(//\)[^/]' \| \
51899 X"$as_dir" : 'X\(//\)$' \| \
51900 X"$as_dir" : 'X\(/\)' \| \
51901 . : '\(.\)' 2>/dev/null ||
51902 echo X"$as_dir" |
51903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51905 /^X\(\/\/\)$/{ s//\1/; q; }
51906 /^X\(\/\).*/{ s//\1/; q; }
51907 s/.*/./; q'`
51908 done
51909 test ! -n "$as_dirs" || mkdir $as_dirs
51910 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51912 { (exit 1); exit 1; }; }; }
51913
51914 rm -f $ac_file
51915 mv $tmp/config.h $ac_file
51916 fi
51917 else
51918 cat $tmp/config.h
51919 rm -f $tmp/config.h
51920 fi
51921 done
51922 _ACEOF
51923 cat >>$CONFIG_STATUS <<\_ACEOF
51924
51925 #
51926 # CONFIG_COMMANDS section.
51927 #
51928 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51929 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51930 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51931 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51932 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51933 X"$ac_dest" : 'X\(//\)[^/]' \| \
51934 X"$ac_dest" : 'X\(//\)$' \| \
51935 X"$ac_dest" : 'X\(/\)' \| \
51936 . : '\(.\)' 2>/dev/null ||
51937 echo X"$ac_dest" |
51938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51940 /^X\(\/\/\)$/{ s//\1/; q; }
51941 /^X\(\/\).*/{ s//\1/; q; }
51942 s/.*/./; q'`
51943 { if $as_mkdir_p; then
51944 mkdir -p "$ac_dir"
51945 else
51946 as_dir="$ac_dir"
51947 as_dirs=
51948 while test ! -d "$as_dir"; do
51949 as_dirs="$as_dir $as_dirs"
51950 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51952 X"$as_dir" : 'X\(//\)[^/]' \| \
51953 X"$as_dir" : 'X\(//\)$' \| \
51954 X"$as_dir" : 'X\(/\)' \| \
51955 . : '\(.\)' 2>/dev/null ||
51956 echo X"$as_dir" |
51957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51959 /^X\(\/\/\)$/{ s//\1/; q; }
51960 /^X\(\/\).*/{ s//\1/; q; }
51961 s/.*/./; q'`
51962 done
51963 test ! -n "$as_dirs" || mkdir $as_dirs
51964 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51965 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51966 { (exit 1); exit 1; }; }; }
51967
51968 ac_builddir=.
51969
51970 if test "$ac_dir" != .; then
51971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51972 # A "../" for each directory in $ac_dir_suffix.
51973 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51974 else
51975 ac_dir_suffix= ac_top_builddir=
51976 fi
51977
51978 case $srcdir in
51979 .) # No --srcdir option. We are building in place.
51980 ac_srcdir=.
51981 if test -z "$ac_top_builddir"; then
51982 ac_top_srcdir=.
51983 else
51984 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51985 fi ;;
51986 [\\/]* | ?:[\\/]* ) # Absolute path.
51987 ac_srcdir=$srcdir$ac_dir_suffix;
51988 ac_top_srcdir=$srcdir ;;
51989 *) # Relative path.
51990 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51991 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51992 esac
51993
51994 # Do not use `cd foo && pwd` to compute absolute paths, because
51995 # the directories may not exist.
51996 case `pwd` in
51997 .) ac_abs_builddir="$ac_dir";;
51998 *)
51999 case "$ac_dir" in
52000 .) ac_abs_builddir=`pwd`;;
52001 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52002 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52003 esac;;
52004 esac
52005 case $ac_abs_builddir in
52006 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52007 *)
52008 case ${ac_top_builddir}. in
52009 .) ac_abs_top_builddir=$ac_abs_builddir;;
52010 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52011 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52012 esac;;
52013 esac
52014 case $ac_abs_builddir in
52015 .) ac_abs_srcdir=$ac_srcdir;;
52016 *)
52017 case $ac_srcdir in
52018 .) ac_abs_srcdir=$ac_abs_builddir;;
52019 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52020 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52021 esac;;
52022 esac
52023 case $ac_abs_builddir in
52024 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52025 *)
52026 case $ac_top_srcdir in
52027 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52028 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52029 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52030 esac;;
52031 esac
52032
52033
52034 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52035 echo "$as_me: executing $ac_dest commands" >&6;}
52036 case $ac_dest in
52037 rcdefs.h )
52038 mkdir -p $outdir &&
52039 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52040 ;;
52041 wx-config ) rm -f wx-config
52042 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52043 ;;
52044 esac
52045 done
52046 _ACEOF
52047
52048 cat >>$CONFIG_STATUS <<\_ACEOF
52049
52050 { (exit 0); exit 0; }
52051 _ACEOF
52052 chmod +x $CONFIG_STATUS
52053 ac_clean_files=$ac_clean_files_save
52054
52055
52056 # configure is writing to config.log, and then calls config.status.
52057 # config.status does its own redirection, appending to config.log.
52058 # Unfortunately, on DOS this fails, as config.log is still kept open
52059 # by configure, so config.status won't be able to write to it; its
52060 # output is simply discarded. So we exec the FD to /dev/null,
52061 # effectively closing config.log, so it can be properly (re)opened and
52062 # appended to by config.status. When coming back to configure, we
52063 # need to make the FD available again.
52064 if test "$no_create" != yes; then
52065 ac_cs_success=:
52066 ac_config_status_args=
52067 test "$silent" = yes &&
52068 ac_config_status_args="$ac_config_status_args --quiet"
52069 exec 5>/dev/null
52070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52071 exec 5>>config.log
52072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52073 # would make configure fail if this is the last instruction.
52074 $ac_cs_success || { (exit 1); exit 1; }
52075 fi
52076
52077 #
52078 # CONFIG_SUBDIRS section.
52079 #
52080 if test "$no_recursion" != yes; then
52081
52082 # Remove --cache-file and --srcdir arguments so they do not pile up.
52083 ac_sub_configure_args=
52084 ac_prev=
52085 for ac_arg in $ac_configure_args; do
52086 if test -n "$ac_prev"; then
52087 ac_prev=
52088 continue
52089 fi
52090 case $ac_arg in
52091 -cache-file | --cache-file | --cache-fil | --cache-fi \
52092 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52093 ac_prev=cache_file ;;
52094 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52095 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52096 | --c=*)
52097 ;;
52098 --config-cache | -C)
52099 ;;
52100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52101 ac_prev=srcdir ;;
52102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52103 ;;
52104 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52105 ac_prev=prefix ;;
52106 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52107 ;;
52108 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52109 esac
52110 done
52111
52112 # Always prepend --prefix to ensure using the same prefix
52113 # in subdir configurations.
52114 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52115
52116 ac_popdir=`pwd`
52117 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52118
52119 # Do not complain, so a configure script can configure whichever
52120 # parts of a large source tree are present.
52121 test -d $srcdir/$ac_dir || continue
52122
52123 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52124 echo "$as_me: configuring in $ac_dir" >&6;}
52125 { if $as_mkdir_p; then
52126 mkdir -p "$ac_dir"
52127 else
52128 as_dir="$ac_dir"
52129 as_dirs=
52130 while test ! -d "$as_dir"; do
52131 as_dirs="$as_dir $as_dirs"
52132 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52133 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52134 X"$as_dir" : 'X\(//\)[^/]' \| \
52135 X"$as_dir" : 'X\(//\)$' \| \
52136 X"$as_dir" : 'X\(/\)' \| \
52137 . : '\(.\)' 2>/dev/null ||
52138 echo X"$as_dir" |
52139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52141 /^X\(\/\/\)$/{ s//\1/; q; }
52142 /^X\(\/\).*/{ s//\1/; q; }
52143 s/.*/./; q'`
52144 done
52145 test ! -n "$as_dirs" || mkdir $as_dirs
52146 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52147 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52148 { (exit 1); exit 1; }; }; }
52149
52150 ac_builddir=.
52151
52152 if test "$ac_dir" != .; then
52153 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52154 # A "../" for each directory in $ac_dir_suffix.
52155 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52156 else
52157 ac_dir_suffix= ac_top_builddir=
52158 fi
52159
52160 case $srcdir in
52161 .) # No --srcdir option. We are building in place.
52162 ac_srcdir=.
52163 if test -z "$ac_top_builddir"; then
52164 ac_top_srcdir=.
52165 else
52166 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52167 fi ;;
52168 [\\/]* | ?:[\\/]* ) # Absolute path.
52169 ac_srcdir=$srcdir$ac_dir_suffix;
52170 ac_top_srcdir=$srcdir ;;
52171 *) # Relative path.
52172 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52173 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52174 esac
52175
52176 # Do not use `cd foo && pwd` to compute absolute paths, because
52177 # the directories may not exist.
52178 case `pwd` in
52179 .) ac_abs_builddir="$ac_dir";;
52180 *)
52181 case "$ac_dir" in
52182 .) ac_abs_builddir=`pwd`;;
52183 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52184 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52185 esac;;
52186 esac
52187 case $ac_abs_builddir in
52188 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52189 *)
52190 case ${ac_top_builddir}. in
52191 .) ac_abs_top_builddir=$ac_abs_builddir;;
52192 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52193 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52194 esac;;
52195 esac
52196 case $ac_abs_builddir in
52197 .) ac_abs_srcdir=$ac_srcdir;;
52198 *)
52199 case $ac_srcdir in
52200 .) ac_abs_srcdir=$ac_abs_builddir;;
52201 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52202 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52203 esac;;
52204 esac
52205 case $ac_abs_builddir in
52206 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52207 *)
52208 case $ac_top_srcdir in
52209 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52210 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52211 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52212 esac;;
52213 esac
52214
52215
52216 cd $ac_dir
52217
52218 # Check for guested configure; otherwise get Cygnus style configure.
52219 if test -f $ac_srcdir/configure.gnu; then
52220 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52221 elif test -f $ac_srcdir/configure; then
52222 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52223 elif test -f $ac_srcdir/configure.in; then
52224 ac_sub_configure=$ac_configure
52225 else
52226 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52227 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52228 ac_sub_configure=
52229 fi
52230
52231 # The recursion is here.
52232 if test -n "$ac_sub_configure"; then
52233 # Make the cache file name correct relative to the subdirectory.
52234 case $cache_file in
52235 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52236 *) # Relative path.
52237 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52238 esac
52239
52240 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52241 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52242 # The eval makes quoting arguments work.
52243 eval $ac_sub_configure $ac_sub_configure_args \
52244 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52245 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52246 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52247 { (exit 1); exit 1; }; }
52248 fi
52249
52250 cd "$ac_popdir"
52251 done
52252 fi
52253
52254
52255 echo
52256 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52257 echo ""
52258 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52259 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52260
52261 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52262 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52263 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52264
52265 echo " What level of wxWidgets compatibility should be enabled?"
52266 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52267 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52268
52269 echo " Which libraries should wxWidgets use?"
52270 echo " jpeg ${wxUSE_LIBJPEG-none}"
52271 echo " png ${wxUSE_LIBPNG-none}"
52272 echo " regex ${wxUSE_REGEX}"
52273 echo " tiff ${wxUSE_LIBTIFF-none}"
52274 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52275 echo " xpm ${wxUSE_LIBXPM-none}"
52276 fi
52277 echo " zlib ${wxUSE_ZLIB}"
52278 echo " odbc ${wxUSE_ODBC}"
52279 echo " expat ${wxUSE_EXPAT}"
52280 echo " libmspack ${wxUSE_LIBMSPACK}"
52281 echo " sdl ${wxUSE_LIBSDL}"
52282
52283 echo ""
52284