]> git.saurik.com Git - wxWidgets.git/blob - configure
removed explicit initial size for BugsGridFrame, it's not needed as its size is set...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.8.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.8.0'
274 PACKAGE_STRING='wxWidgets 2.8.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.8.0 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.8.0:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --disable-vararg_macros don't use vararg macros, even if they are supported
969 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
970 --enable-compat24 enable wxWidgets 2.4 compatibility
971 --disable-compat26 disable wxWidgets 2.6 compatibility
972 --disable-rpath disable use of rpath for uninstalled builds
973 --enable-intl use internationalization system
974 --enable-config use wxConfig (and derived) classes
975 --enable-protocols use wxProtocol and derived classes
976 --enable-ftp use wxFTP (requires wxProtocol
977 --enable-http use wxHTTP (requires wxProtocol
978 --enable-fileproto use wxFileProto class (requires wxProtocol
979 --enable-sockets use socket/network classes
980 --enable-ole use OLE classes (Win32 only)
981 --enable-dataobj use data object classes
982 --enable-ipc use interprocess communication (wxSocket etc.)
983 --enable-apple_ieee use the Apple IEEE codec
984 --enable-arcstream use wxArchive streams
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip now replaced by fs_archive
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-filepicker use wxFilePickerCtrl class
1074 --enable-fontpicker use wxFontPickerCtrl class
1075 --enable-gauge use wxGauge class
1076 --enable-grid use wxGrid class
1077 --enable-dataviewctrl, use wxDataViewCtrl class
1078 --enable-hyperlink use wxHyperlinkCtrl class
1079 --enable-imaglist use wxImageList class
1080 --enable-listbook use wxListbook class
1081 --enable-listbox use wxListBox class
1082 --enable-listctrl use wxListCtrl class
1083 --enable-notebook use wxNotebook class
1084 --enable-odcombobox use wxOwnerDrawnComboBox class
1085 --enable-radiobox use wxRadioBox class
1086 --enable-radiobtn use wxRadioButton class
1087 --enable-sash use wxSashWindow class
1088 --enable-scrollbar use wxScrollBar class and scrollable windows
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even if the compiler
1153 can
1154 --disable-precomp-headers
1155 don't use precompiled headers even if compiler can
1156
1157 Optional Packages:
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles for samples/demos/...
1161 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1162 --with-motif use Motif/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS-Windows
1167 --with-pm use OS/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1171 --with-x11 use X11
1172 --with-libpng use libpng (PNG image format)
1173 --with-libjpeg use libjpeg (JPEG file format)
1174 --with-libtiff use libtiff (TIFF file format)
1175 --with-libxpm use libxpm (XPM file format)
1176 --with-libmspack use libmspack (CHM help files loading)
1177 --with-sdl use SDL for audio on Unix
1178 --with-gnomeprint use GNOME print for printing under GNOME
1179 --with-gnomevfs use GNOME VFS for associating MIME types
1180 --with-hildon use Hildon framework for Nokia 770
1181 --with-opengl use OpenGL (or Mesa)
1182 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1184 --with-regex enable support for wxRegEx class
1185 --with-zlib use zlib for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1197
1198 Some influential environment variables:
1199 CC C compiler command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1202 nonstandard directory <lib dir>
1203 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1204 headers in a nonstandard directory <include dir>
1205 CPP C preprocessor
1206 CXX C++ compiler command
1207 CXXFLAGS C++ compiler flags
1208 CXXCPP C++ preprocessor
1209 PKG_CONFIG path to pkg-config utility
1210 DIRECTFB_CFLAGS
1211 C compiler flags for DIRECTFB, overriding pkg-config
1212 DIRECTFB_LIBS
1213 linker flags for DIRECTFB, overriding pkg-config
1214 PANGOX_CFLAGS
1215 C compiler flags for PANGOX, overriding pkg-config
1216 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1217 PANGOFT2_CFLAGS
1218 C compiler flags for PANGOFT2, overriding pkg-config
1219 PANGOFT2_LIBS
1220 linker flags for PANGOFT2, overriding pkg-config
1221 PANGOXFT_CFLAGS
1222 C compiler flags for PANGOXFT, overriding pkg-config
1223 PANGOXFT_LIBS
1224 linker flags for PANGOXFT, overriding pkg-config
1225 LIBGNOMEPRINTUI_CFLAGS
1226 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 LIBGNOMEPRINTUI_LIBS
1228 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1229 GNOMEVFS_CFLAGS
1230 C compiler flags for GNOMEVFS, overriding pkg-config
1231 GNOMEVFS_LIBS
1232 linker flags for GNOMEVFS, overriding pkg-config
1233 HILDON_CFLAGS
1234 C compiler flags for HILDON, overriding pkg-config
1235 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1236 CAIRO_CFLAGS
1237 C compiler flags for CAIRO, overriding pkg-config
1238 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1239 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1240 GST_LIBS linker flags for GST, overriding pkg-config
1241
1242 Use these variables to override the choices made by `configure' or to help
1243 it to find libraries and programs with nonstandard names/locations.
1244
1245 Report bugs to <wx-dev@lists.wxwidgets.org>.
1246 _ACEOF
1247 fi
1248
1249 if test "$ac_init_help" = "recursive"; then
1250 # If there are subdirs, report their specific --help.
1251 ac_popdir=`pwd`
1252 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1253 test -d $ac_dir || continue
1254 ac_builddir=.
1255
1256 if test "$ac_dir" != .; then
1257 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1258 # A "../" for each directory in $ac_dir_suffix.
1259 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 else
1261 ac_dir_suffix= ac_top_builddir=
1262 fi
1263
1264 case $srcdir in
1265 .) # No --srcdir option. We are building in place.
1266 ac_srcdir=.
1267 if test -z "$ac_top_builddir"; then
1268 ac_top_srcdir=.
1269 else
1270 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1271 fi ;;
1272 [\\/]* | ?:[\\/]* ) # Absolute path.
1273 ac_srcdir=$srcdir$ac_dir_suffix;
1274 ac_top_srcdir=$srcdir ;;
1275 *) # Relative path.
1276 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1277 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1278 esac
1279
1280 # Do not use `cd foo && pwd` to compute absolute paths, because
1281 # the directories may not exist.
1282 case `pwd` in
1283 .) ac_abs_builddir="$ac_dir";;
1284 *)
1285 case "$ac_dir" in
1286 .) ac_abs_builddir=`pwd`;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1288 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1289 esac;;
1290 esac
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1293 *)
1294 case ${ac_top_builddir}. in
1295 .) ac_abs_top_builddir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1297 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1298 esac;;
1299 esac
1300 case $ac_abs_builddir in
1301 .) ac_abs_srcdir=$ac_srcdir;;
1302 *)
1303 case $ac_srcdir in
1304 .) ac_abs_srcdir=$ac_abs_builddir;;
1305 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1306 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1307 esac;;
1308 esac
1309 case $ac_abs_builddir in
1310 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1311 *)
1312 case $ac_top_srcdir in
1313 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1314 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1315 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1316 esac;;
1317 esac
1318
1319 cd $ac_dir
1320 # Check for guested configure; otherwise get Cygnus style configure.
1321 if test -f $ac_srcdir/configure.gnu; then
1322 echo
1323 $SHELL $ac_srcdir/configure.gnu --help=recursive
1324 elif test -f $ac_srcdir/configure; then
1325 echo
1326 $SHELL $ac_srcdir/configure --help=recursive
1327 elif test -f $ac_srcdir/configure.ac ||
1328 test -f $ac_srcdir/configure.in; then
1329 echo
1330 $ac_configure --help
1331 else
1332 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1333 fi
1334 cd "$ac_popdir"
1335 done
1336 fi
1337
1338 test -n "$ac_init_help" && exit 0
1339 if $ac_init_version; then
1340 cat <<\_ACEOF
1341 wxWidgets configure 2.8.0
1342 generated by GNU Autoconf 2.59
1343
1344 Copyright (C) 2003 Free Software Foundation, Inc.
1345 This configure script is free software; the Free Software Foundation
1346 gives unlimited permission to copy, distribute and modify it.
1347 _ACEOF
1348 exit 0
1349 fi
1350 exec 5>config.log
1351 cat >&5 <<_ACEOF
1352 This file contains any messages produced by compilers while
1353 running configure, to aid debugging if configure makes a mistake.
1354
1355 It was created by wxWidgets $as_me 2.8.0, which was
1356 generated by GNU Autoconf 2.59. Invocation command line was
1357
1358 $ $0 $@
1359
1360 _ACEOF
1361 {
1362 cat <<_ASUNAME
1363 ## --------- ##
1364 ## Platform. ##
1365 ## --------- ##
1366
1367 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1368 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1369 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1370 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1371 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1372
1373 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1374 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1375
1376 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1377 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1378 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1379 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1380 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1381 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1382 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1383
1384 _ASUNAME
1385
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1387 for as_dir in $PATH
1388 do
1389 IFS=$as_save_IFS
1390 test -z "$as_dir" && as_dir=.
1391 echo "PATH: $as_dir"
1392 done
1393
1394 } >&5
1395
1396 cat >&5 <<_ACEOF
1397
1398
1399 ## ----------- ##
1400 ## Core tests. ##
1401 ## ----------- ##
1402
1403 _ACEOF
1404
1405
1406 # Keep a trace of the command line.
1407 # Strip out --no-create and --no-recursion so they do not pile up.
1408 # Strip out --silent because we don't want to record it for future runs.
1409 # Also quote any args containing shell meta-characters.
1410 # Make two passes to allow for proper duplicate-argument suppression.
1411 ac_configure_args=
1412 ac_configure_args0=
1413 ac_configure_args1=
1414 ac_sep=
1415 ac_must_keep_next=false
1416 for ac_pass in 1 2
1417 do
1418 for ac_arg
1419 do
1420 case $ac_arg in
1421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1423 | -silent | --silent | --silen | --sile | --sil)
1424 continue ;;
1425 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1426 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 esac
1428 case $ac_pass in
1429 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1430 2)
1431 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1432 if test $ac_must_keep_next = true; then
1433 ac_must_keep_next=false # Got value, back to normal.
1434 else
1435 case $ac_arg in
1436 *=* | --config-cache | -C | -disable-* | --disable-* \
1437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1439 | -with-* | --with-* | -without-* | --without-* | --x)
1440 case "$ac_configure_args0 " in
1441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 esac
1443 ;;
1444 -* ) ac_must_keep_next=true ;;
1445 esac
1446 fi
1447 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1448 # Get rid of the leading space.
1449 ac_sep=" "
1450 ;;
1451 esac
1452 done
1453 done
1454 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1455 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1456
1457 # When interrupted or exit'd, cleanup temporary files, and complete
1458 # config.log. We remove comments because anyway the quotes in there
1459 # would cause problems or look ugly.
1460 # WARNING: Be sure not to use single quotes in there, as some shells,
1461 # such as our DU 5.0 friend, will then `close' the trap.
1462 trap 'exit_status=$?
1463 # Save into config.log some information that might help in debugging.
1464 {
1465 echo
1466
1467 cat <<\_ASBOX
1468 ## ---------------- ##
1469 ## Cache variables. ##
1470 ## ---------------- ##
1471 _ASBOX
1472 echo
1473 # The following way of writing the cache mishandles newlines in values,
1474 {
1475 (set) 2>&1 |
1476 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1477 *ac_space=\ *)
1478 sed -n \
1479 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1481 ;;
1482 *)
1483 sed -n \
1484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1485 ;;
1486 esac;
1487 }
1488 echo
1489
1490 cat <<\_ASBOX
1491 ## ----------------- ##
1492 ## Output variables. ##
1493 ## ----------------- ##
1494 _ASBOX
1495 echo
1496 for ac_var in $ac_subst_vars
1497 do
1498 eval ac_val=$`echo $ac_var`
1499 echo "$ac_var='"'"'$ac_val'"'"'"
1500 done | sort
1501 echo
1502
1503 if test -n "$ac_subst_files"; then
1504 cat <<\_ASBOX
1505 ## ------------- ##
1506 ## Output files. ##
1507 ## ------------- ##
1508 _ASBOX
1509 echo
1510 for ac_var in $ac_subst_files
1511 do
1512 eval ac_val=$`echo $ac_var`
1513 echo "$ac_var='"'"'$ac_val'"'"'"
1514 done | sort
1515 echo
1516 fi
1517
1518 if test -s confdefs.h; then
1519 cat <<\_ASBOX
1520 ## ----------- ##
1521 ## confdefs.h. ##
1522 ## ----------- ##
1523 _ASBOX
1524 echo
1525 sed "/^$/d" confdefs.h | sort
1526 echo
1527 fi
1528 test "$ac_signal" != 0 &&
1529 echo "$as_me: caught signal $ac_signal"
1530 echo "$as_me: exit $exit_status"
1531 } >&5
1532 rm -f core *.core &&
1533 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1534 exit $exit_status
1535 ' 0
1536 for ac_signal in 1 2 13 15; do
1537 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1538 done
1539 ac_signal=0
1540
1541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1542 rm -rf conftest* confdefs.h
1543 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1544 echo >confdefs.h
1545
1546 # Predefined preprocessor variables.
1547
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1550 _ACEOF
1551
1552
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1555 _ACEOF
1556
1557
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1560 _ACEOF
1561
1562
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1565 _ACEOF
1566
1567
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1570 _ACEOF
1571
1572
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -z "$CONFIG_SITE"; then
1576 if test "x$prefix" != xNONE; then
1577 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1578 else
1579 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 fi
1581 fi
1582 for ac_site_file in $CONFIG_SITE; do
1583 if test -r "$ac_site_file"; then
1584 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1585 echo "$as_me: loading site script $ac_site_file" >&6;}
1586 sed 's/^/| /' "$ac_site_file" >&5
1587 . "$ac_site_file"
1588 fi
1589 done
1590
1591 if test -r "$cache_file"; then
1592 # Some versions of bash will fail to source /dev/null (special
1593 # files actually), so we avoid doing that.
1594 if test -f "$cache_file"; then
1595 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1596 echo "$as_me: loading cache $cache_file" >&6;}
1597 case $cache_file in
1598 [\\/]* | ?:[\\/]* ) . $cache_file;;
1599 *) . ./$cache_file;;
1600 esac
1601 fi
1602 else
1603 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1604 echo "$as_me: creating cache $cache_file" >&6;}
1605 >$cache_file
1606 fi
1607
1608 # Check that the precious variables saved in the cache have kept the same
1609 # value.
1610 ac_cache_corrupted=false
1611 for ac_var in `(set) 2>&1 |
1612 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1616 eval ac_new_val="\$ac_env_${ac_var}_value"
1617 case $ac_old_set,$ac_new_set in
1618 set,)
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,set)
1623 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1624 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1626 ,);;
1627 *)
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1630 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1632 echo "$as_me: former value: $ac_old_val" >&2;}
1633 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1634 echo "$as_me: current value: $ac_new_val" >&2;}
1635 ac_cache_corrupted=:
1636 fi;;
1637 esac
1638 # Pass precious variables to config.status.
1639 if test "$ac_new_set" = set; then
1640 case $ac_new_val in
1641 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1642 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1643 *) ac_arg=$ac_var=$ac_new_val ;;
1644 esac
1645 case " $ac_configure_args " in
1646 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1647 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1648 esac
1649 fi
1650 done
1651 if $ac_cache_corrupted; then
1652 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1653 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1654 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1655 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1656 { (exit 1); exit 1; }; }
1657 fi
1658
1659 ac_ext=c
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694 ac_aux_dir=
1695 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1696 if test -f $ac_dir/install-sh; then
1697 ac_aux_dir=$ac_dir
1698 ac_install_sh="$ac_aux_dir/install-sh -c"
1699 break
1700 elif test -f $ac_dir/install.sh; then
1701 ac_aux_dir=$ac_dir
1702 ac_install_sh="$ac_aux_dir/install.sh -c"
1703 break
1704 elif test -f $ac_dir/shtool; then
1705 ac_aux_dir=$ac_dir
1706 ac_install_sh="$ac_aux_dir/shtool install -c"
1707 break
1708 fi
1709 done
1710 if test -z "$ac_aux_dir"; then
1711 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1712 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1713 { (exit 1); exit 1; }; }
1714 fi
1715 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1716 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1717 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718
1719 # Make sure we can run config.sub.
1720 $ac_config_sub sun4 >/dev/null 2>&1 ||
1721 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1722 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1723 { (exit 1); exit 1; }; }
1724
1725 echo "$as_me:$LINENO: checking build system type" >&5
1726 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1727 if test "${ac_cv_build+set}" = set; then
1728 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 else
1730 ac_cv_build_alias=$build_alias
1731 test -z "$ac_cv_build_alias" &&
1732 ac_cv_build_alias=`$ac_config_guess`
1733 test -z "$ac_cv_build_alias" &&
1734 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1735 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1736 { (exit 1); exit 1; }; }
1737 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1738 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1739 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1740 { (exit 1); exit 1; }; }
1741
1742 fi
1743 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1744 echo "${ECHO_T}$ac_cv_build" >&6
1745 build=$ac_cv_build
1746 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1749
1750
1751 echo "$as_me:$LINENO: checking host system type" >&5
1752 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1753 if test "${ac_cv_host+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 ac_cv_host_alias=$host_alias
1757 test -z "$ac_cv_host_alias" &&
1758 ac_cv_host_alias=$ac_cv_build_alias
1759 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1760 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1761 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1762 { (exit 1); exit 1; }; }
1763
1764 fi
1765 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766 echo "${ECHO_T}$ac_cv_host" >&6
1767 host=$ac_cv_host
1768 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1771
1772
1773 echo "$as_me:$LINENO: checking target system type" >&5
1774 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1775 if test "${ac_cv_target+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778 ac_cv_target_alias=$target_alias
1779 test "x$ac_cv_target_alias" = "x" &&
1780 ac_cv_target_alias=$ac_cv_host_alias
1781 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1782 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1783 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1784 { (exit 1); exit 1; }; }
1785
1786 fi
1787 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1788 echo "${ECHO_T}$ac_cv_target" >&6
1789 target=$ac_cv_target
1790 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1791 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1792 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1793
1794
1795 # The aliases save the names the user supplied, while $host etc.
1796 # will get canonicalized.
1797 test -n "$target_alias" &&
1798 test "$program_prefix$program_suffix$program_transform_name" = \
1799 NONENONEs,x,x, &&
1800 program_prefix=${target_alias}-
1801
1802
1803
1804 wx_major_version_number=2
1805 wx_minor_version_number=8
1806 wx_release_number=0
1807 wx_subrelease_number=0
1808
1809 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1810 WX_VERSION=$WX_RELEASE.$wx_release_number
1811 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1812
1813 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1814
1815
1816 wx_top_builddir="`pwd`"
1817
1818
1819
1820
1821 USE_UNIX=1
1822 USE_OS2=0
1823 USE_WIN32=0
1824 USE_DOS=0
1825 USE_BEOS=0
1826 USE_MAC=0
1827
1828 USE_AIX=
1829 USE_BSD= USE_DARWIN= USE_FREEBSD=
1830 USE_GNU= USE_HPUX=
1831 USE_LINUX=
1832 USE_NETBSD=
1833 USE_OPENBSD=
1834 USE_OSF= USE_SGI=
1835 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1836 USE_ULTRIX=
1837 USE_UNIXWARE=
1838
1839 USE_ALPHA=
1840
1841 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1842
1843 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1844
1845 DEFAULT_wxUSE_COCOA=0
1846 DEFAULT_wxUSE_GTK=0
1847 DEFAULT_wxUSE_MAC=0
1848 DEFAULT_wxUSE_MGL=0
1849 DEFAULT_wxUSE_MICROWIN=0
1850 DEFAULT_wxUSE_MOTIF=0
1851 DEFAULT_wxUSE_MSW=0
1852 DEFAULT_wxUSE_PM=0
1853 DEFAULT_wxUSE_X11=0
1854 DEFAULT_wxUSE_DFB=0
1855
1856 DEFAULT_DEFAULT_wxUSE_COCOA=0
1857 DEFAULT_DEFAULT_wxUSE_GTK=0
1858 DEFAULT_DEFAULT_wxUSE_MAC=0
1859 DEFAULT_DEFAULT_wxUSE_MGL=0
1860 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1862 DEFAULT_DEFAULT_wxUSE_MSW=0
1863 DEFAULT_DEFAULT_wxUSE_PM=0
1864 DEFAULT_DEFAULT_wxUSE_X11=0
1865 DEFAULT_DEFAULT_wxUSE_DFB=0
1866
1867 PROGRAM_EXT=
1868 SO_SUFFIX=so
1869 SAMPLES_RPATH_FLAG=
1870 SAMPLES_RPATH_POSTLINK=
1871
1872 DEFAULT_STD_FLAG=yes
1873
1874 case "${host}" in
1875 *-hp-hpux* )
1876 USE_HPUX=1
1877 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 SO_SUFFIX=sl
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __HPUX__ 1
1882 _ACEOF
1883
1884
1885 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1886 ;;
1887 *-*-linux* )
1888 USE_LINUX=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __LINUX__ 1
1891 _ACEOF
1892
1893 TMP=`uname -m`
1894 if test "x$TMP" = "xalpha"; then
1895 USE_ALPHA=1
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __ALPHA__ 1
1898 _ACEOF
1899
1900 fi
1901 DEFAULT_DEFAULT_wxUSE_GTK=1
1902 ;;
1903 *-*-gnu* | *-*-k*bsd*-gnu )
1904 USE_GNU=1
1905 TMP=`uname -m`
1906 if test "x$TMP" = "xalpha"; then
1907 USE_ALPHA=1
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __ALPHA__ 1
1910 _ACEOF
1911
1912 fi
1913 DEFAULT_DEFAULT_wxUSE_GTK=1
1914 ;;
1915 *-*-irix5* | *-*-irix6* )
1916 USE_SGI=1
1917 USE_SVR4=1
1918 cat >>confdefs.h <<\_ACEOF
1919 #define __SGI__ 1
1920 _ACEOF
1921
1922 cat >>confdefs.h <<\_ACEOF
1923 #define __SVR4__ 1
1924 _ACEOF
1925
1926 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1927 ;;
1928 *-*-solaris2* )
1929 USE_SUN=1
1930 USE_SOLARIS=1
1931 USE_SVR4=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __SUN__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __SOLARIS__ 1
1938 _ACEOF
1939
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __SVR4__ 1
1942 _ACEOF
1943
1944 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1945 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1946 ;;
1947 *-*-sunos4* )
1948 USE_SUN=1
1949 USE_SUNOS=1
1950 USE_BSD=1
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __SUN__ 1
1953 _ACEOF
1954
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __SUNOS__ 1
1957 _ACEOF
1958
1959 cat >>confdefs.h <<\_ACEOF
1960 #define __BSD__ 1
1961 _ACEOF
1962
1963 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1964 ;;
1965 *-*-freebsd*)
1966 USE_BSD=1
1967 USE_FREEBSD=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __FREEBSD__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 ;;
1978 *-*-openbsd*|*-*-mirbsd*)
1979 USE_BSD=1
1980 USE_OPENBSD=1
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __OPENBSD__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __BSD__ 1
1987 _ACEOF
1988
1989 DEFAULT_DEFAULT_wxUSE_GTK=1
1990 ;;
1991 *-*-netbsd*)
1992 USE_BSD=1
1993 USE_NETBSD=1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __NETBSD__ 1
1996 _ACEOF
1997
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __BSD__ 1
2000 _ACEOF
2001
2002 DEFAULT_DEFAULT_wxUSE_GTK=1
2003 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2004
2005 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2006 ;;
2007 *-*-osf* )
2008 USE_ALPHA=1
2009 USE_OSF=1
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __ALPHA__ 1
2012 _ACEOF
2013
2014 cat >>confdefs.h <<\_ACEOF
2015 #define __OSF__ 1
2016 _ACEOF
2017
2018 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2019 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2020 ;;
2021 *-*-dgux5* )
2022 USE_ALPHA=1
2023 USE_SVR4=1
2024 cat >>confdefs.h <<\_ACEOF
2025 #define __ALPHA__ 1
2026 _ACEOF
2027
2028 cat >>confdefs.h <<\_ACEOF
2029 #define __SVR4__ 1
2030 _ACEOF
2031
2032 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2033 ;;
2034 *-*-sysv5* )
2035 USE_SYSV=1
2036 USE_SVR4=1
2037 cat >>confdefs.h <<\_ACEOF
2038 #define __SYSV__ 1
2039 _ACEOF
2040
2041 cat >>confdefs.h <<\_ACEOF
2042 #define __SVR4__ 1
2043 _ACEOF
2044
2045 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2046 ;;
2047 *-*-aix* )
2048 USE_AIX=1
2049 USE_SYSV=1
2050 USE_SVR4=1
2051 SO_SUFFIX=a
2052 cat >>confdefs.h <<\_ACEOF
2053 #define __AIX__ 1
2054 _ACEOF
2055
2056 cat >>confdefs.h <<\_ACEOF
2057 #define __SYSV__ 1
2058 _ACEOF
2059
2060 cat >>confdefs.h <<\_ACEOF
2061 #define __SVR4__ 1
2062 _ACEOF
2063
2064 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2065 ;;
2066
2067 *-*-*UnixWare*)
2068 USE_SYSV=1
2069 USE_SVR4=1
2070 USE_UNIXWARE=1
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __UNIXWARE__ 1
2073 _ACEOF
2074
2075 ;;
2076
2077 *-*-cygwin* | *-*-mingw32* )
2078 SO_SUFFIX=dll
2079 PROGRAM_EXT=".exe"
2080 DEFAULT_DEFAULT_wxUSE_MSW=1
2081 ;;
2082
2083 *-pc-msdosdjgpp )
2084 USE_UNIX=0
2085 USE_DOS=1
2086 cat >>confdefs.h <<\_ACEOF
2087 #define __DOS__ 1
2088 _ACEOF
2089
2090 PROGRAM_EXT=".exe"
2091 DEFAULT_DEFAULT_wxUSE_MGL=1
2092 ;;
2093
2094 *-pc-os2_emx | *-pc-os2-emx )
2095 cat >>confdefs.h <<\_ACEOF
2096 #define __EMX__ 1
2097 _ACEOF
2098
2099 USE_OS2=1
2100 cat >>confdefs.h <<\_ACEOF
2101 #define __OS2__ 1
2102 _ACEOF
2103
2104 PROGRAM_EXT=".exe"
2105 DEFAULT_DEFAULT_wxUSE_PM=1
2106 CXX=gcc
2107 LDFLAGS="$LDFLAGS -Zcrtdll"
2108 ac_executable_extensions=".exe"
2109 export ac_executable_extensions
2110 ac_save_IFS="$IFS"
2111 IFS='\\'
2112 ac_TEMP_PATH=
2113 for ac_dir in $PATH; do
2114 IFS=$ac_save_IFS
2115 if test -z "$ac_TEMP_PATH"; then
2116 ac_TEMP_PATH="$ac_dir"
2117 else
2118 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2119 fi
2120 done
2121 export PATH="$ac_TEMP_PATH"
2122 unset ac_TEMP_PATH
2123 DEFAULT_STD_FLAG=no
2124 ;;
2125
2126 *-*-darwin* )
2127 USE_BSD=1
2128 USE_DARWIN=1
2129 SO_SUFFIX=dylib
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __BSD__ 1
2132 _ACEOF
2133
2134 cat >>confdefs.h <<\_ACEOF
2135 #define __DARWIN__ 1
2136 _ACEOF
2137
2138 cat >>confdefs.h <<\_ACEOF
2139 #define TARGET_CARBON 1
2140 _ACEOF
2141
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2143 DEFAULT_STD_FLAG=no
2144 ;;
2145 powerpc-apple-macos* )
2146 USE_UNIX=0
2147 ac_cv_c_bigendian=yes
2148 SO_SUFFIX=shlib
2149 DEFAULT_DEFAULT_wxUSE_MAC=1
2150 DEFAULT_STD_FLAG=no
2151 ;;
2152
2153 *-*-beos* )
2154 USE_BEOS=1
2155 cat >>confdefs.h <<\_ACEOF
2156 #define __BEOS__ 1
2157 _ACEOF
2158
2159 ;;
2160
2161 *)
2162 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2163 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2164 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2165 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2166
2167 DEFAULT_DEFAULT_wxUSE_X11=1
2168 DEFAULT_wxUSE_SHARED=no
2169 esac
2170
2171
2172
2173
2174 wx_arg_cache_file="configarg.cache"
2175 echo "loading argument cache $wx_arg_cache_file"
2176 rm -f ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}
2179
2180
2181 DEBUG_CONFIGURE=0
2182 if test $DEBUG_CONFIGURE = 1; then
2183 DEFAULT_wxUSE_UNIVERSAL=no
2184 DEFAULT_wxUSE_STL=no
2185
2186 DEFAULT_wxUSE_NANOX=no
2187
2188 DEFAULT_wxUSE_THREADS=yes
2189
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2207
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2213
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2216
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2232
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2265
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2269
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2276
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2281
2282 DEFAULT_wxUSE_RESOURCES=no
2283 DEFAULT_wxUSE_CONSTRAINTS=no
2284 DEFAULT_wxUSE_IPC=no
2285 DEFAULT_wxUSE_HELP=no
2286 DEFAULT_wxUSE_MS_HTML_HELP=no
2287 DEFAULT_wxUSE_WXHTML_HELP=no
2288 DEFAULT_wxUSE_TREELAYOUT=no
2289 DEFAULT_wxUSE_METAFILE=no
2290 DEFAULT_wxUSE_MIMETYPE=no
2291 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2292 DEFAULT_wxUSE_PROTOCOL=no
2293 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FILE=no
2296 DEFAULT_wxUSE_URL=no
2297 DEFAULT_wxUSE_VARIANT=no
2298
2299 DEFAULT_wxUSE_ABOUTDLG=no
2300 DEFAULT_wxUSE_COMMONDLGS=no
2301 DEFAULT_wxUSE_CHOICEDLG=no
2302 DEFAULT_wxUSE_COLOURDLG=no
2303 DEFAULT_wxUSE_DIRDLG=no
2304 DEFAULT_wxUSE_FILEDLG=no
2305 DEFAULT_wxUSE_FINDREPLDLG=no
2306 DEFAULT_wxUSE_FONTDLG=no
2307 DEFAULT_wxUSE_MSGDLG=no
2308 DEFAULT_wxUSE_NUMBERDLG=no
2309 DEFAULT_wxUSE_TEXTDLG=no
2310 DEFAULT_wxUSE_SPLASH=no
2311 DEFAULT_wxUSE_STARTUP_TIPS=no
2312 DEFAULT_wxUSE_PROGRESSDLG=no
2313 DEFAULT_wxUSE_WIZARDDLG=no
2314
2315 DEFAULT_wxUSE_MENUS=no
2316 DEFAULT_wxUSE_MINIFRAME=no
2317 DEFAULT_wxUSE_HTML=no
2318 DEFAULT_wxUSE_RICHTEXT=no
2319 DEFAULT_wxUSE_XRC=no
2320 DEFAULT_wxUSE_AUI=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2331
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_FILEPICKERCTRL=no
2352 DEFAULT_wxUSE_FONTPICKERCTRL=no
2353 DEFAULT_wxUSE_GAUGE=no
2354 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2355 DEFAULT_wxUSE_GRID=no
2356 DEFAULT_wxUSE_HYPERLINKCTRL=no
2357 DEFAULT_wxUSE_DATAVIEWCTRL=no
2358 DEFAULT_wxUSE_IMAGLIST=no
2359 DEFAULT_wxUSE_LISTBOOK=no
2360 DEFAULT_wxUSE_LISTBOX=no
2361 DEFAULT_wxUSE_LISTCTRL=no
2362 DEFAULT_wxUSE_NOTEBOOK=no
2363 DEFAULT_wxUSE_ODCOMBOBOX=no
2364 DEFAULT_wxUSE_RADIOBOX=no
2365 DEFAULT_wxUSE_RADIOBTN=no
2366 DEFAULT_wxUSE_SASH=no
2367 DEFAULT_wxUSE_SCROLLBAR=no
2368 DEFAULT_wxUSE_SLIDER=no
2369 DEFAULT_wxUSE_SPINBTN=no
2370 DEFAULT_wxUSE_SPINCTRL=no
2371 DEFAULT_wxUSE_SPLITTER=no
2372 DEFAULT_wxUSE_STATBMP=no
2373 DEFAULT_wxUSE_STATBOX=no
2374 DEFAULT_wxUSE_STATLINE=no
2375 DEFAULT_wxUSE_STATTEXT=no
2376 DEFAULT_wxUSE_STATUSBAR=yes
2377 DEFAULT_wxUSE_TAB_DIALOG=no
2378 DEFAULT_wxUSE_TEXTCTRL=no
2379 DEFAULT_wxUSE_TOGGLEBTN=no
2380 DEFAULT_wxUSE_TOOLBAR=no
2381 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2382 DEFAULT_wxUSE_TREEBOOK=no
2383 DEFAULT_wxUSE_TOOLBOOK=no
2384 DEFAULT_wxUSE_TREECTRL=no
2385 DEFAULT_wxUSE_POPUPWIN=no
2386 DEFAULT_wxUSE_TIPWINDOW=no
2387
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=no
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2391
2392 DEFAULT_wxUSE_PALETTE=no
2393 DEFAULT_wxUSE_IMAGE=no
2394 DEFAULT_wxUSE_GIF=no
2395 DEFAULT_wxUSE_PCX=no
2396 DEFAULT_wxUSE_TGA=no
2397 DEFAULT_wxUSE_PNM=no
2398 DEFAULT_wxUSE_IFF=no
2399 DEFAULT_wxUSE_XPM=no
2400 DEFAULT_wxUSE_ICO_CUR=no
2401 DEFAULT_wxUSE_ACCESSIBILITY=no
2402
2403 DEFAULT_wxUSE_MONOLITHIC=no
2404 DEFAULT_wxUSE_PLUGINS=no
2405 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2406 else
2407 DEFAULT_wxUSE_UNIVERSAL=no
2408 DEFAULT_wxUSE_STL=no
2409
2410 DEFAULT_wxUSE_NANOX=no
2411
2412 DEFAULT_wxUSE_THREADS=yes
2413
2414 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2415 DEFAULT_wxUSE_OPTIMISE=yes
2416 DEFAULT_wxUSE_PROFILE=no
2417 DEFAULT_wxUSE_NO_DEPS=no
2418 DEFAULT_wxUSE_VARARG_MACROS=yes
2419 DEFAULT_wxUSE_NO_RTTI=no
2420 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2421 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2422 DEFAULT_wxUSE_RPATH=yes
2423 DEFAULT_wxUSE_PERMISSIVE=no
2424 DEFAULT_wxUSE_DEBUG_FLAG=no
2425 DEFAULT_wxUSE_DEBUG_INFO=no
2426 DEFAULT_wxUSE_DEBUG_GDB=no
2427 DEFAULT_wxUSE_MEM_TRACING=no
2428 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2429 DEFAULT_wxUSE_DMALLOC=no
2430 DEFAULT_wxUSE_APPLE_IEEE=yes
2431
2432 DEFAULT_wxUSE_EXCEPTIONS=yes
2433 DEFAULT_wxUSE_LOG=yes
2434 DEFAULT_wxUSE_LOGWINDOW=yes
2435 DEFAULT_wxUSE_LOGGUI=yes
2436 DEFAULT_wxUSE_LOGDIALOG=yes
2437
2438 DEFAULT_wxUSE_GUI=yes
2439
2440 DEFAULT_wxUSE_REGEX=yes
2441 DEFAULT_wxUSE_XML=yes
2442 DEFAULT_wxUSE_EXPAT=yes
2443 DEFAULT_wxUSE_ZLIB=yes
2444 DEFAULT_wxUSE_LIBPNG=yes
2445 DEFAULT_wxUSE_LIBJPEG=yes
2446 DEFAULT_wxUSE_LIBTIFF=yes
2447 DEFAULT_wxUSE_LIBXPM=yes
2448 DEFAULT_wxUSE_LIBMSPACK=yes
2449 DEFAULT_wxUSE_LIBSDL=no
2450 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2451 DEFAULT_wxUSE_LIBGNOMEVFS=no
2452 DEFAULT_wxUSE_LIBHILDON=no
2453 DEFAULT_wxUSE_ODBC=no
2454 DEFAULT_wxUSE_OPENGL=no
2455
2456 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2457 DEFAULT_wxUSE_STACKWALKER=yes
2458 DEFAULT_wxUSE_DEBUGREPORT=yes
2459 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2460 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2461 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2462 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2463 DEFAULT_wxUSE_DATETIME=yes
2464 DEFAULT_wxUSE_TIMER=yes
2465 DEFAULT_wxUSE_STOPWATCH=yes
2466 DEFAULT_wxUSE_FILE=yes
2467 DEFAULT_wxUSE_FFILE=yes
2468 DEFAULT_wxUSE_STDPATHS=yes
2469 DEFAULT_wxUSE_TEXTBUFFER=yes
2470 DEFAULT_wxUSE_TEXTFILE=yes
2471 DEFAULT_wxUSE_SOUND=yes
2472 DEFAULT_wxUSE_MEDIACTRL=no
2473 DEFAULT_wxUSE_GSTREAMER8=no
2474 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2475 DEFAULT_wxUSE_INTL=yes
2476 DEFAULT_wxUSE_CONFIG=yes
2477 DEFAULT_wxUSE_FONTMAP=yes
2478 DEFAULT_wxUSE_STREAMS=yes
2479 DEFAULT_wxUSE_SOCKETS=yes
2480 DEFAULT_wxUSE_OLE=yes
2481 DEFAULT_wxUSE_DATAOBJ=yes
2482 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2483 DEFAULT_wxUSE_JOYSTICK=yes
2484 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2485 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2486 DEFAULT_wxUSE_LONGLONG=yes
2487 DEFAULT_wxUSE_GEOMETRY=yes
2488
2489 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2490 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2491 DEFAULT_wxUSE_POSTSCRIPT=yes
2492
2493 DEFAULT_wxUSE_CLIPBOARD=yes
2494 DEFAULT_wxUSE_TOOLTIPS=yes
2495 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2496 DEFAULT_wxUSE_DRAGIMAGE=yes
2497 DEFAULT_wxUSE_SPLINES=yes
2498 DEFAULT_wxUSE_MOUSEWHEEL=yes
2499
2500 DEFAULT_wxUSE_MDI=yes
2501 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2502 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2503 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2504
2505 DEFAULT_wxUSE_RESOURCES=no
2506 DEFAULT_wxUSE_CONSTRAINTS=yes
2507 DEFAULT_wxUSE_IPC=yes
2508 DEFAULT_wxUSE_HELP=yes
2509 DEFAULT_wxUSE_MS_HTML_HELP=yes
2510 DEFAULT_wxUSE_WXHTML_HELP=yes
2511 DEFAULT_wxUSE_TREELAYOUT=yes
2512 DEFAULT_wxUSE_METAFILE=yes
2513 DEFAULT_wxUSE_MIMETYPE=yes
2514 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2515 DEFAULT_wxUSE_PROTOCOL=yes
2516 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2517 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2518 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2519 DEFAULT_wxUSE_URL=yes
2520 DEFAULT_wxUSE_VARIANT=yes
2521
2522 DEFAULT_wxUSE_ABOUTDLG=yes
2523 DEFAULT_wxUSE_COMMONDLGS=yes
2524 DEFAULT_wxUSE_CHOICEDLG=yes
2525 DEFAULT_wxUSE_COLOURDLG=yes
2526 DEFAULT_wxUSE_DIRDLG=yes
2527 DEFAULT_wxUSE_FILEDLG=yes
2528 DEFAULT_wxUSE_FINDREPLDLG=yes
2529 DEFAULT_wxUSE_FONTDLG=yes
2530 DEFAULT_wxUSE_MSGDLG=yes
2531 DEFAULT_wxUSE_NUMBERDLG=yes
2532 DEFAULT_wxUSE_TEXTDLG=yes
2533 DEFAULT_wxUSE_SPLASH=yes
2534 DEFAULT_wxUSE_STARTUP_TIPS=yes
2535 DEFAULT_wxUSE_PROGRESSDLG=yes
2536 DEFAULT_wxUSE_WIZARDDLG=yes
2537
2538 DEFAULT_wxUSE_MENUS=yes
2539 DEFAULT_wxUSE_MINIFRAME=yes
2540 DEFAULT_wxUSE_HTML=yes
2541 DEFAULT_wxUSE_RICHTEXT=yes
2542 DEFAULT_wxUSE_XRC=yes
2543 DEFAULT_wxUSE_AUI=yes
2544 DEFAULT_wxUSE_WEBKIT=yes
2545 DEFAULT_wxUSE_FILESYSTEM=yes
2546 DEFAULT_wxUSE_FS_INET=yes
2547 DEFAULT_wxUSE_FS_ZIP=yes
2548 DEFAULT_wxUSE_FS_ARCHIVE=yes
2549 DEFAULT_wxUSE_BUSYINFO=yes
2550 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2551 DEFAULT_wxUSE_ZIPSTREAM=yes
2552 DEFAULT_wxUSE_TARSTREAM=yes
2553 DEFAULT_wxUSE_VALIDATORS=yes
2554
2555 DEFAULT_wxUSE_ACCEL=yes
2556 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2557 DEFAULT_wxUSE_BUTTON=yes
2558 DEFAULT_wxUSE_BMPBUTTON=yes
2559 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2560 DEFAULT_wxUSE_CALCTRL=yes
2561 DEFAULT_wxUSE_CARET=yes
2562 DEFAULT_wxUSE_CHECKBOX=yes
2563 DEFAULT_wxUSE_CHECKLST=yes
2564 DEFAULT_wxUSE_CHOICE=yes
2565 DEFAULT_wxUSE_CHOICEBOOK=yes
2566 DEFAULT_wxUSE_COLLPANE=yes
2567 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2568 DEFAULT_wxUSE_COMBOBOX=yes
2569 DEFAULT_wxUSE_COMBOCTRL=yes
2570 DEFAULT_wxUSE_DATEPICKCTRL=yes
2571 DEFAULT_wxUSE_DISPLAY=yes
2572 DEFAULT_wxUSE_DETECT_SM=yes
2573 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2574 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2575 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2576 DEFAULT_wxUSE_GAUGE=yes
2577 DEFAULT_wxUSE_GRID=yes
2578 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2579 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2580 DEFAULT_wxUSE_DATAVIEWCTRL=no
2581 DEFAULT_wxUSE_IMAGLIST=yes
2582 DEFAULT_wxUSE_LISTBOOK=yes
2583 DEFAULT_wxUSE_LISTBOX=yes
2584 DEFAULT_wxUSE_LISTCTRL=yes
2585 DEFAULT_wxUSE_NOTEBOOK=yes
2586 DEFAULT_wxUSE_ODCOMBOBOX=yes
2587 DEFAULT_wxUSE_RADIOBOX=yes
2588 DEFAULT_wxUSE_RADIOBTN=yes
2589 DEFAULT_wxUSE_SASH=yes
2590 DEFAULT_wxUSE_SCROLLBAR=yes
2591 DEFAULT_wxUSE_SLIDER=yes
2592 DEFAULT_wxUSE_SPINBTN=yes
2593 DEFAULT_wxUSE_SPINCTRL=yes
2594 DEFAULT_wxUSE_SPLITTER=yes
2595 DEFAULT_wxUSE_STATBMP=yes
2596 DEFAULT_wxUSE_STATBOX=yes
2597 DEFAULT_wxUSE_STATLINE=yes
2598 DEFAULT_wxUSE_STATTEXT=yes
2599 DEFAULT_wxUSE_STATUSBAR=yes
2600 DEFAULT_wxUSE_TAB_DIALOG=no
2601 DEFAULT_wxUSE_TEXTCTRL=yes
2602 DEFAULT_wxUSE_TOGGLEBTN=yes
2603 DEFAULT_wxUSE_TOOLBAR=yes
2604 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2605 DEFAULT_wxUSE_TREEBOOK=yes
2606 DEFAULT_wxUSE_TOOLBOOK=yes
2607 DEFAULT_wxUSE_TREECTRL=yes
2608 DEFAULT_wxUSE_POPUPWIN=yes
2609 DEFAULT_wxUSE_TIPWINDOW=yes
2610
2611 DEFAULT_wxUSE_UNICODE=no
2612 DEFAULT_wxUSE_UNICODE_MSLU=yes
2613 DEFAULT_wxUSE_WCSRTOMBS=no
2614
2615 DEFAULT_wxUSE_PALETTE=yes
2616 DEFAULT_wxUSE_IMAGE=yes
2617 DEFAULT_wxUSE_GIF=yes
2618 DEFAULT_wxUSE_PCX=yes
2619 DEFAULT_wxUSE_TGA=yes
2620 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2621 DEFAULT_wxUSE_XPM=yes
2622 DEFAULT_wxUSE_ICO_CUR=yes
2623 DEFAULT_wxUSE_ACCESSIBILITY=no
2624
2625 DEFAULT_wxUSE_MONOLITHIC=no
2626 DEFAULT_wxUSE_PLUGINS=no
2627 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2628
2629 DEFAULT_wxUSE_GTK2=yes
2630 fi
2631
2632
2633
2634
2635 for toolkit in `echo $ALL_TOOLKITS`; do
2636 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2637 if test "x$LINE" != "x" ; then
2638 has_toolkit_in_cache=1
2639 eval "DEFAULT_$LINE"
2640 eval "CACHE_$toolkit=1"
2641
2642 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 eval "DEFAULT_$LINE"
2645 fi
2646 fi
2647 done
2648
2649
2650
2651 enablestring=
2652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2653 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2654 no_cache=0
2655 # Check whether --enable-gui or --disable-gui was given.
2656 if test "${enable_gui+set}" = set; then
2657 enableval="$enable_gui"
2658
2659 if test "$enableval" = yes; then
2660 ac_cv_use_gui='wxUSE_GUI=yes'
2661 else
2662 ac_cv_use_gui='wxUSE_GUI=no'
2663 fi
2664
2665 else
2666
2667 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2670 else
2671 no_cache=1
2672 fi
2673
2674 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2675
2676 fi;
2677
2678 eval "$ac_cv_use_gui"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2681 fi
2682
2683 if test "$wxUSE_GUI" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2686 else
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2689 fi
2690
2691
2692 enablestring=
2693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2694 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2695 no_cache=0
2696 # Check whether --enable-monolithic or --disable-monolithic was given.
2697 if test "${enable_monolithic+set}" = set; then
2698 enableval="$enable_monolithic"
2699
2700 if test "$enableval" = yes; then
2701 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2702 else
2703 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2704 fi
2705
2706 else
2707
2708 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x ; then
2710 eval "DEFAULT_$LINE"
2711 else
2712 no_cache=1
2713 fi
2714
2715 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2716
2717 fi;
2718
2719 eval "$ac_cv_use_monolithic"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2722 fi
2723
2724 if test "$wxUSE_MONOLITHIC" = yes; then
2725 echo "$as_me:$LINENO: result: yes" >&5
2726 echo "${ECHO_T}yes" >&6
2727 else
2728 echo "$as_me:$LINENO: result: no" >&5
2729 echo "${ECHO_T}no" >&6
2730 fi
2731
2732
2733 enablestring=
2734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2735 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2736 no_cache=0
2737 # Check whether --enable-plugins or --disable-plugins was given.
2738 if test "${enable_plugins+set}" = set; then
2739 enableval="$enable_plugins"
2740
2741 if test "$enableval" = yes; then
2742 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2743 else
2744 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2745 fi
2746
2747 else
2748
2749 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x ; then
2751 eval "DEFAULT_$LINE"
2752 else
2753 no_cache=1
2754 fi
2755
2756 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2757
2758 fi;
2759
2760 eval "$ac_cv_use_plugins"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2763 fi
2764
2765 if test "$wxUSE_PLUGINS" = yes; then
2766 echo "$as_me:$LINENO: result: yes" >&5
2767 echo "${ECHO_T}yes" >&6
2768 else
2769 echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2771 fi
2772
2773
2774 withstring=without
2775 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2776 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2777 no_cache=0
2778
2779 # Check whether --with-subdirs or --without-subdirs was given.
2780 if test "${with_subdirs+set}" = set; then
2781 withval="$with_subdirs"
2782
2783 if test "$withval" = yes; then
2784 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2785 else
2786 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2787 fi
2788
2789 else
2790
2791 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2794 else
2795 no_cache=1
2796 fi
2797
2798 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2799
2800 fi;
2801
2802 eval "$ac_cv_use_subdirs"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2805 fi
2806
2807 if test "$wxWITH_SUBDIRS" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2810 else
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2813 fi
2814
2815
2816 if test "$wxUSE_GUI" = "yes"; then
2817
2818
2819 enablestring=
2820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2821 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2822 no_cache=0
2823 # Check whether --enable-universal or --disable-universal was given.
2824 if test "${enable_universal+set}" = set; then
2825 enableval="$enable_universal"
2826
2827 if test "$enableval" = yes; then
2828 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2829 else
2830 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2831 fi
2832
2833 else
2834
2835 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2838 else
2839 no_cache=1
2840 fi
2841
2842 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2843
2844 fi;
2845
2846 eval "$ac_cv_use_universal"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2849 fi
2850
2851 if test "$wxUSE_UNIVERSAL" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2854 else
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2857 fi
2858
2859
2860 # Check whether --with-gtk or --without-gtk was given.
2861 if test "${with_gtk+set}" = set; then
2862 withval="$with_gtk"
2863 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2864 fi;
2865
2866 # Check whether --with-motif or --without-motif was given.
2867 if test "${with_motif+set}" = set; then
2868 withval="$with_motif"
2869 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-mac or --without-mac was given.
2873 if test "${with_mac+set}" = set; then
2874 withval="$with_mac"
2875 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-cocoa or --without-cocoa was given.
2879 if test "${with_cocoa+set}" = set; then
2880 withval="$with_cocoa"
2881 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2882 fi;
2883
2884 # Check whether --with-wine or --without-wine was given.
2885 if test "${with_wine+set}" = set; then
2886 withval="$with_wine"
2887 wxUSE_WINE="$withval" CACHE_WINE=1
2888 fi;
2889
2890 # Check whether --with-msw or --without-msw was given.
2891 if test "${with_msw+set}" = set; then
2892 withval="$with_msw"
2893 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2894 fi;
2895
2896 # Check whether --with-pm or --without-pm was given.
2897 if test "${with_pm+set}" = set; then
2898 withval="$with_pm"
2899 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2900 fi;
2901
2902 # Check whether --with-mgl or --without-mgl was given.
2903 if test "${with_mgl+set}" = set; then
2904 withval="$with_mgl"
2905 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2906 fi;
2907
2908 # Check whether --with-directfb or --without-directfb was given.
2909 if test "${with_directfb+set}" = set; then
2910 withval="$with_directfb"
2911 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2912 fi;
2913
2914 # Check whether --with-microwin or --without-microwin was given.
2915 if test "${with_microwin+set}" = set; then
2916 withval="$with_microwin"
2917 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2918 fi;
2919
2920 # Check whether --with-x11 or --without-x11 was given.
2921 if test "${with_x11+set}" = set; then
2922 withval="$with_x11"
2923 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2924 fi;
2925
2926 enablestring=
2927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2928 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2929 no_cache=0
2930 # Check whether --enable-nanox or --disable-nanox was given.
2931 if test "${enable_nanox+set}" = set; then
2932 enableval="$enable_nanox"
2933
2934 if test "$enableval" = yes; then
2935 ac_cv_use_nanox='wxUSE_NANOX=yes'
2936 else
2937 ac_cv_use_nanox='wxUSE_NANOX=no'
2938 fi
2939
2940 else
2941
2942 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x ; then
2944 eval "DEFAULT_$LINE"
2945 else
2946 no_cache=1
2947 fi
2948
2949 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2950
2951 fi;
2952
2953 eval "$ac_cv_use_nanox"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2956 fi
2957
2958 if test "$wxUSE_NANOX" = yes; then
2959 echo "$as_me:$LINENO: result: yes" >&5
2960 echo "${ECHO_T}yes" >&6
2961 else
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2964 fi
2965
2966
2967 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2968 if test "${enable_gtk2+set}" = set; then
2969 enableval="$enable_gtk2"
2970 wxUSE_GTK2="$enableval"
2971 fi;
2972
2973 enablestring=
2974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2975 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2976 no_cache=0
2977 # Check whether --enable-gpe or --disable-gpe was given.
2978 if test "${enable_gpe+set}" = set; then
2979 enableval="$enable_gpe"
2980
2981 if test "$enableval" = yes; then
2982 ac_cv_use_gpe='wxUSE_GPE=yes'
2983 else
2984 ac_cv_use_gpe='wxUSE_GPE=no'
2985 fi
2986
2987 else
2988
2989 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x ; then
2991 eval "DEFAULT_$LINE"
2992 else
2993 no_cache=1
2994 fi
2995
2996 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2997
2998 fi;
2999
3000 eval "$ac_cv_use_gpe"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3003 fi
3004
3005 if test "$wxUSE_GPE" = yes; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3008 else
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3011 fi
3012
3013
3014
3015 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3016 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3017 no_cache=0
3018
3019 # Check whether --with-libpng or --without-libpng was given.
3020 if test "${with_libpng+set}" = set; then
3021 withval="$with_libpng"
3022
3023 if test "$withval" = yes; then
3024 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3025 elif test "$withval" = no; then
3026 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3027 elif test "$withval" = sys; then
3028 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3029 elif test "$withval" = builtin; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037 else
3038
3039 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3047
3048 fi;
3049
3050 eval "$ac_cv_use_libpng"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3053 fi
3054
3055 if test "$wxUSE_LIBPNG" = yes; then
3056 echo "$as_me:$LINENO: result: yes" >&5
3057 echo "${ECHO_T}yes" >&6
3058 elif test "$wxUSE_LIBPNG" = no; then
3059 echo "$as_me:$LINENO: result: no" >&5
3060 echo "${ECHO_T}no" >&6
3061 elif test "$wxUSE_LIBPNG" = sys; then
3062 echo "$as_me:$LINENO: result: system version" >&5
3063 echo "${ECHO_T}system version" >&6
3064 elif test "$wxUSE_LIBPNG" = builtin; then
3065 echo "$as_me:$LINENO: result: builtin version" >&5
3066 echo "${ECHO_T}builtin version" >&6
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073
3074 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3075 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3076 no_cache=0
3077
3078 # Check whether --with-libjpeg or --without-libjpeg was given.
3079 if test "${with_libjpeg+set}" = set; then
3080 withval="$with_libjpeg"
3081
3082 if test "$withval" = yes; then
3083 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3084 elif test "$withval" = no; then
3085 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3086 elif test "$withval" = sys; then
3087 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3088 elif test "$withval" = builtin; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3090 else
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3094 fi
3095
3096 else
3097
3098 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 else
3102 no_cache=1
3103 fi
3104
3105 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3106
3107 fi;
3108
3109 eval "$ac_cv_use_libjpeg"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3112 fi
3113
3114 if test "$wxUSE_LIBJPEG" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3117 elif test "$wxUSE_LIBJPEG" = no; then
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3120 elif test "$wxUSE_LIBJPEG" = sys; then
3121 echo "$as_me:$LINENO: result: system version" >&5
3122 echo "${ECHO_T}system version" >&6
3123 elif test "$wxUSE_LIBJPEG" = builtin; then
3124 echo "$as_me:$LINENO: result: builtin version" >&5
3125 echo "${ECHO_T}builtin version" >&6
3126 else
3127 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3128 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3129 { (exit 1); exit 1; }; }
3130 fi
3131
3132
3133 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3134 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3135 no_cache=0
3136
3137 # Check whether --with-libtiff or --without-libtiff was given.
3138 if test "${with_libtiff+set}" = set; then
3139 withval="$with_libtiff"
3140
3141 if test "$withval" = yes; then
3142 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3143 elif test "$withval" = no; then
3144 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3145 elif test "$withval" = sys; then
3146 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3147 elif test "$withval" = builtin; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3149 else
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3153 fi
3154
3155 else
3156
3157 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x ; then
3159 eval "DEFAULT_$LINE"
3160 else
3161 no_cache=1
3162 fi
3163
3164 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3165
3166 fi;
3167
3168 eval "$ac_cv_use_libtiff"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3171 fi
3172
3173 if test "$wxUSE_LIBTIFF" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3176 elif test "$wxUSE_LIBTIFF" = no; then
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3179 elif test "$wxUSE_LIBTIFF" = sys; then
3180 echo "$as_me:$LINENO: result: system version" >&5
3181 echo "${ECHO_T}system version" >&6
3182 elif test "$wxUSE_LIBTIFF" = builtin; then
3183 echo "$as_me:$LINENO: result: builtin version" >&5
3184 echo "${ECHO_T}builtin version" >&6
3185 else
3186 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3187 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3188 { (exit 1); exit 1; }; }
3189 fi
3190
3191
3192 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3193 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3194 no_cache=0
3195
3196 # Check whether --with-libxpm or --without-libxpm was given.
3197 if test "${with_libxpm+set}" = set; then
3198 withval="$with_libxpm"
3199
3200 if test "$withval" = yes; then
3201 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3202 elif test "$withval" = no; then
3203 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3204 elif test "$withval" = sys; then
3205 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3206 elif test "$withval" = builtin; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3208 else
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3212 fi
3213
3214 else
3215
3216 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3219 else
3220 no_cache=1
3221 fi
3222
3223 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3224
3225 fi;
3226
3227 eval "$ac_cv_use_libxpm"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3230 fi
3231
3232 if test "$wxUSE_LIBXPM" = yes; then
3233 echo "$as_me:$LINENO: result: yes" >&5
3234 echo "${ECHO_T}yes" >&6
3235 elif test "$wxUSE_LIBXPM" = no; then
3236 echo "$as_me:$LINENO: result: no" >&5
3237 echo "${ECHO_T}no" >&6
3238 elif test "$wxUSE_LIBXPM" = sys; then
3239 echo "$as_me:$LINENO: result: system version" >&5
3240 echo "${ECHO_T}system version" >&6
3241 elif test "$wxUSE_LIBXPM" = builtin; then
3242 echo "$as_me:$LINENO: result: builtin version" >&5
3243 echo "${ECHO_T}builtin version" >&6
3244 else
3245 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3246 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3247 { (exit 1); exit 1; }; }
3248 fi
3249
3250
3251 withstring=
3252 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3253 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3254 no_cache=0
3255
3256 # Check whether --with-libmspack or --without-libmspack was given.
3257 if test "${with_libmspack+set}" = set; then
3258 withval="$with_libmspack"
3259
3260 if test "$withval" = yes; then
3261 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3262 else
3263 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3264 fi
3265
3266 else
3267
3268 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x ; then
3270 eval "DEFAULT_$LINE"
3271 else
3272 no_cache=1
3273 fi
3274
3275 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3276
3277 fi;
3278
3279 eval "$ac_cv_use_libmspack"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3282 fi
3283
3284 if test "$wxUSE_LIBMSPACK" = yes; then
3285 echo "$as_me:$LINENO: result: yes" >&5
3286 echo "${ECHO_T}yes" >&6
3287 else
3288 echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6
3290 fi
3291
3292
3293 withstring=
3294 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3295 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3296 no_cache=0
3297
3298 # Check whether --with-sdl or --without-sdl was given.
3299 if test "${with_sdl+set}" = set; then
3300 withval="$with_sdl"
3301
3302 if test "$withval" = yes; then
3303 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3304 else
3305 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3306 fi
3307
3308 else
3309
3310 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x ; then
3312 eval "DEFAULT_$LINE"
3313 else
3314 no_cache=1
3315 fi
3316
3317 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3318
3319 fi;
3320
3321 eval "$ac_cv_use_sdl"
3322 if test "$no_cache" != 1; then
3323 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3324 fi
3325
3326 if test "$wxUSE_LIBSDL" = yes; then
3327 echo "$as_me:$LINENO: result: yes" >&5
3328 echo "${ECHO_T}yes" >&6
3329 else
3330 echo "$as_me:$LINENO: result: no" >&5
3331 echo "${ECHO_T}no" >&6
3332 fi
3333
3334
3335 withstring=
3336 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3337 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3338 no_cache=0
3339
3340 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3341 if test "${with_gnomeprint+set}" = set; then
3342 withval="$with_gnomeprint"
3343
3344 if test "$withval" = yes; then
3345 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3346 else
3347 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3348 fi
3349
3350 else
3351
3352 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3360
3361 fi;
3362
3363 eval "$ac_cv_use_gnomeprint"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3366 fi
3367
3368 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3374 fi
3375
3376
3377 withstring=
3378 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3379 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3380 no_cache=0
3381
3382 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3383 if test "${with_gnomevfs+set}" = set; then
3384 withval="$with_gnomevfs"
3385
3386 if test "$withval" = yes; then
3387 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3388 else
3389 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3390 fi
3391
3392 else
3393
3394 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3395 if test "x$LINE" != x ; then
3396 eval "DEFAULT_$LINE"
3397 else
3398 no_cache=1
3399 fi
3400
3401 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3402
3403 fi;
3404
3405 eval "$ac_cv_use_gnomevfs"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3408 fi
3409
3410 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3411 echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6
3413 else
3414 echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6
3416 fi
3417
3418
3419 withstring=
3420 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3421 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3422 no_cache=0
3423
3424 # Check whether --with-hildon or --without-hildon was given.
3425 if test "${with_hildon+set}" = set; then
3426 withval="$with_hildon"
3427
3428 if test "$withval" = yes; then
3429 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3430 else
3431 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3432 fi
3433
3434 else
3435
3436 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x ; then
3438 eval "DEFAULT_$LINE"
3439 else
3440 no_cache=1
3441 fi
3442
3443 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3444
3445 fi;
3446
3447 eval "$ac_cv_use_hildon"
3448 if test "$no_cache" != 1; then
3449 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3450 fi
3451
3452 if test "$wxUSE_LIBHILDON" = yes; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3455 else
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3458 fi
3459
3460
3461 withstring=
3462 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3463 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3464 no_cache=0
3465
3466 # Check whether --with-opengl or --without-opengl was given.
3467 if test "${with_opengl+set}" = set; then
3468 withval="$with_opengl"
3469
3470 if test "$withval" = yes; then
3471 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3472 else
3473 ac_cv_use_opengl='wxUSE_OPENGL=no'
3474 fi
3475
3476 else
3477
3478 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3481 else
3482 no_cache=1
3483 fi
3484
3485 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3486
3487 fi;
3488
3489 eval "$ac_cv_use_opengl"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3492 fi
3493
3494 if test "$wxUSE_OPENGL" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3497 else
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3500 fi
3501
3502
3503 if test "$wxUSE_UNIVERSAL" = "yes"; then
3504
3505 # Check whether --with-themes or --without-themes was given.
3506 if test "${with_themes+set}" = set; then
3507 withval="$with_themes"
3508 wxUNIV_THEMES="$withval"
3509 fi;
3510 fi
3511
3512 fi
3513
3514
3515 withstring=
3516 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3517 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3518 no_cache=0
3519
3520 # Check whether --with-dmalloc or --without-dmalloc was given.
3521 if test "${with_dmalloc+set}" = set; then
3522 withval="$with_dmalloc"
3523
3524 if test "$withval" = yes; then
3525 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3526 else
3527 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3528 fi
3529
3530 else
3531
3532 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3540
3541 fi;
3542
3543 eval "$ac_cv_use_dmalloc"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_DMALLOC" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 else
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 fi
3555
3556
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3559 no_cache=0
3560
3561 # Check whether --with-regex or --without-regex was given.
3562 if test "${with_regex+set}" = set; then
3563 withval="$with_regex"
3564
3565 if test "$withval" = yes; then
3566 ac_cv_use_regex='wxUSE_REGEX=yes'
3567 elif test "$withval" = no; then
3568 ac_cv_use_regex='wxUSE_REGEX=no'
3569 elif test "$withval" = sys; then
3570 ac_cv_use_regex='wxUSE_REGEX=sys'
3571 elif test "$withval" = builtin; then
3572 ac_cv_use_regex='wxUSE_REGEX=builtin'
3573 else
3574 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3575 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3576 { (exit 1); exit 1; }; }
3577 fi
3578
3579 else
3580
3581 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3584 else
3585 no_cache=1
3586 fi
3587
3588 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3589
3590 fi;
3591
3592 eval "$ac_cv_use_regex"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3595 fi
3596
3597 if test "$wxUSE_REGEX" = yes; then
3598 echo "$as_me:$LINENO: result: yes" >&5
3599 echo "${ECHO_T}yes" >&6
3600 elif test "$wxUSE_REGEX" = no; then
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3603 elif test "$wxUSE_REGEX" = sys; then
3604 echo "$as_me:$LINENO: result: system version" >&5
3605 echo "${ECHO_T}system version" >&6
3606 elif test "$wxUSE_REGEX" = builtin; then
3607 echo "$as_me:$LINENO: result: builtin version" >&5
3608 echo "${ECHO_T}builtin version" >&6
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615
3616 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3617 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3618 no_cache=0
3619
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3623
3624 if test "$withval" = yes; then
3625 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3626 elif test "$withval" = no; then
3627 ac_cv_use_zlib='wxUSE_ZLIB=no'
3628 elif test "$withval" = sys; then
3629 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3630 elif test "$withval" = builtin; then
3631 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3632 else
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3636 fi
3637
3638 else
3639
3640 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 else
3644 no_cache=1
3645 fi
3646
3647 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3648
3649 fi;
3650
3651 eval "$ac_cv_use_zlib"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test "$wxUSE_ZLIB" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3659 elif test "$wxUSE_ZLIB" = no; then
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3662 elif test "$wxUSE_ZLIB" = sys; then
3663 echo "$as_me:$LINENO: result: system version" >&5
3664 echo "${ECHO_T}system version" >&6
3665 elif test "$wxUSE_ZLIB" = builtin; then
3666 echo "$as_me:$LINENO: result: builtin version" >&5
3667 echo "${ECHO_T}builtin version" >&6
3668 else
3669 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3670 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3671 { (exit 1); exit 1; }; }
3672 fi
3673
3674
3675 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3676 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3677 no_cache=0
3678
3679 # Check whether --with-odbc or --without-odbc was given.
3680 if test "${with_odbc+set}" = set; then
3681 withval="$with_odbc"
3682
3683 if test "$withval" = yes; then
3684 ac_cv_use_odbc='wxUSE_ODBC=yes'
3685 elif test "$withval" = no; then
3686 ac_cv_use_odbc='wxUSE_ODBC=no'
3687 elif test "$withval" = sys; then
3688 ac_cv_use_odbc='wxUSE_ODBC=sys'
3689 elif test "$withval" = builtin; then
3690 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3691 else
3692 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3693 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3694 { (exit 1); exit 1; }; }
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3707
3708 fi;
3709
3710 eval "$ac_cv_use_odbc"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3713 fi
3714
3715 if test "$wxUSE_ODBC" = yes; then
3716 echo "$as_me:$LINENO: result: yes" >&5
3717 echo "${ECHO_T}yes" >&6
3718 elif test "$wxUSE_ODBC" = no; then
3719 echo "$as_me:$LINENO: result: no" >&5
3720 echo "${ECHO_T}no" >&6
3721 elif test "$wxUSE_ODBC" = sys; then
3722 echo "$as_me:$LINENO: result: system version" >&5
3723 echo "${ECHO_T}system version" >&6
3724 elif test "$wxUSE_ODBC" = builtin; then
3725 echo "$as_me:$LINENO: result: builtin version" >&5
3726 echo "${ECHO_T}builtin version" >&6
3727 else
3728 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3729 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3730 { (exit 1); exit 1; }; }
3731 fi
3732
3733
3734 echo "$as_me:$LINENO: checking for --with-expat" >&5
3735 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3736 no_cache=0
3737
3738 # Check whether --with-expat or --without-expat was given.
3739 if test "${with_expat+set}" = set; then
3740 withval="$with_expat"
3741
3742 if test "$withval" = yes; then
3743 ac_cv_use_expat='wxUSE_EXPAT=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_expat='wxUSE_EXPAT=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_expat='wxUSE_EXPAT=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756 else
3757
3758 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3766
3767 fi;
3768
3769 eval "$ac_cv_use_expat"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3772 fi
3773
3774 if test "$wxUSE_EXPAT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3777 elif test "$wxUSE_EXPAT" = no; then
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3780 elif test "$wxUSE_EXPAT" = sys; then
3781 echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6
3783 elif test "$wxUSE_EXPAT" = builtin; then
3784 echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6
3786 else
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3790 fi
3791
3792
3793
3794
3795 enablestring=
3796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3797 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3798 no_cache=0
3799 # Check whether --enable-shared or --disable-shared was given.
3800 if test "${enable_shared+set}" = set; then
3801 enableval="$enable_shared"
3802
3803 if test "$enableval" = yes; then
3804 ac_cv_use_shared='wxUSE_SHARED=yes'
3805 else
3806 ac_cv_use_shared='wxUSE_SHARED=no'
3807 fi
3808
3809 else
3810
3811 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x ; then
3813 eval "DEFAULT_$LINE"
3814 else
3815 no_cache=1
3816 fi
3817
3818 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3819
3820 fi;
3821
3822 eval "$ac_cv_use_shared"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3825 fi
3826
3827 if test "$wxUSE_SHARED" = yes; then
3828 echo "$as_me:$LINENO: result: yes" >&5
3829 echo "${ECHO_T}yes" >&6
3830 else
3831 echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6
3833 fi
3834
3835
3836 enablestring=
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3839 no_cache=0
3840 # Check whether --enable-optimise or --disable-optimise was given.
3841 if test "${enable_optimise+set}" = set; then
3842 enableval="$enable_optimise"
3843
3844 if test "$enableval" = yes; then
3845 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3846 else
3847 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3848 fi
3849
3850 else
3851
3852 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 else
3856 no_cache=1
3857 fi
3858
3859 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3860
3861 fi;
3862
3863 eval "$ac_cv_use_optimise"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test "$wxUSE_OPTIMISE" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3871 else
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3874 fi
3875
3876
3877 enablestring=
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3880 no_cache=0
3881 # Check whether --enable-debug or --disable-debug was given.
3882 if test "${enable_debug+set}" = set; then
3883 enableval="$enable_debug"
3884
3885 if test "$enableval" = yes; then
3886 ac_cv_use_debug='wxUSE_DEBUG=yes'
3887 else
3888 ac_cv_use_debug='wxUSE_DEBUG=no'
3889 fi
3890
3891 else
3892
3893 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3896 else
3897 no_cache=1
3898 fi
3899
3900 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3901
3902 fi;
3903
3904 eval "$ac_cv_use_debug"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_DEBUG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3912 else
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3915 fi
3916
3917
3918 enablestring=
3919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3920 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3921 no_cache=0
3922 # Check whether --enable-stl or --disable-stl was given.
3923 if test "${enable_stl+set}" = set; then
3924 enableval="$enable_stl"
3925
3926 if test "$enableval" = yes; then
3927 ac_cv_use_stl='wxUSE_STL=yes'
3928 else
3929 ac_cv_use_stl='wxUSE_STL=no'
3930 fi
3931
3932 else
3933
3934 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3937 else
3938 no_cache=1
3939 fi
3940
3941 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3942
3943 fi;
3944
3945 eval "$ac_cv_use_stl"
3946 if test "$no_cache" != 1; then
3947 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3948 fi
3949
3950 if test "$wxUSE_STL" = yes; then
3951 echo "$as_me:$LINENO: result: yes" >&5
3952 echo "${ECHO_T}yes" >&6
3953 else
3954 echo "$as_me:$LINENO: result: no" >&5
3955 echo "${ECHO_T}no" >&6
3956 fi
3957
3958 if test "$USE_OS2" = "1"; then
3959 DEFAULT_wxUSE_OMF=no
3960
3961 enablestring=
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3964 no_cache=0
3965 # Check whether --enable-omf or --disable-omf was given.
3966 if test "${enable_omf+set}" = set; then
3967 enableval="$enable_omf"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_omf='wxUSE_OMF=yes'
3971 else
3972 ac_cv_use_omf='wxUSE_OMF=no'
3973 fi
3974
3975 else
3976
3977 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3985
3986 fi;
3987
3988 eval "$ac_cv_use_omf"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_OMF" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3996 else
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
3999 fi
4000
4001 fi
4002
4003 if test "$wxUSE_DEBUG" = "yes"; then
4004 DEFAULT_wxUSE_DEBUG_FLAG=yes
4005 DEFAULT_wxUSE_DEBUG_INFO=yes
4006 BUILD=debug
4007 elif test "$wxUSE_DEBUG" = "no"; then
4008 DEFAULT_wxUSE_DEBUG_FLAG=no
4009 DEFAULT_wxUSE_DEBUG_INFO=no
4010 BUILD=release
4011 fi
4012
4013
4014 enablestring=
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4017 no_cache=0
4018 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4019 if test "${enable_debug_flag+set}" = set; then
4020 enableval="$enable_debug_flag"
4021
4022 if test "$enableval" = yes; then
4023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4024 else
4025 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4026 fi
4027
4028 else
4029
4030 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4033 else
4034 no_cache=1
4035 fi
4036
4037 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4038
4039 fi;
4040
4041 eval "$ac_cv_use_debug_flag"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_DEBUG_FLAG" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054
4055 enablestring=
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4058 no_cache=0
4059 # Check whether --enable-debug_info or --disable-debug_info was given.
4060 if test "${enable_debug_info+set}" = set; then
4061 enableval="$enable_debug_info"
4062
4063 if test "$enableval" = yes; then
4064 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4065 else
4066 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4079
4080 fi;
4081
4082 eval "$ac_cv_use_debug_info"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test "$wxUSE_DEBUG_INFO" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4101 if test "${enable_debug_gdb+set}" = set; then
4102 enableval="$enable_debug_gdb"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4106 else
4107 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4120
4121 fi;
4122
4123 eval "$ac_cv_use_debug_gdb"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$wxUSE_DEBUG_GDB" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4142 if test "${enable_debug_cntxt+set}" = set; then
4143 enableval="$enable_debug_cntxt"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4147 else
4148 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4161
4162 fi;
4163
4164 eval "$ac_cv_use_debug_cntxt"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178 enablestring=
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4181 no_cache=0
4182 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4183 if test "${enable_mem_tracing+set}" = set; then
4184 enableval="$enable_mem_tracing"
4185
4186 if test "$enableval" = yes; then
4187 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4188 else
4189 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4190 fi
4191
4192 else
4193
4194 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 else
4198 no_cache=1
4199 fi
4200
4201 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4202
4203 fi;
4204
4205 eval "$ac_cv_use_mem_tracing"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4208 fi
4209
4210 if test "$wxUSE_MEM_TRACING" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4213 else
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4216 fi
4217
4218
4219 enablestring=
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4222 no_cache=0
4223 # Check whether --enable-profile or --disable-profile was given.
4224 if test "${enable_profile+set}" = set; then
4225 enableval="$enable_profile"
4226
4227 if test "$enableval" = yes; then
4228 ac_cv_use_profile='wxUSE_PROFILE=yes'
4229 else
4230 ac_cv_use_profile='wxUSE_PROFILE=no'
4231 fi
4232
4233 else
4234
4235 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4238 else
4239 no_cache=1
4240 fi
4241
4242 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4243
4244 fi;
4245
4246 eval "$ac_cv_use_profile"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4249 fi
4250
4251 if test "$wxUSE_PROFILE" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4254 else
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4257 fi
4258
4259
4260 enablestring=
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4263 no_cache=0
4264 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4265 if test "${enable_no_rtti+set}" = set; then
4266 enableval="$enable_no_rtti"
4267
4268 if test "$enableval" = yes; then
4269 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4270 else
4271 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4272 fi
4273
4274 else
4275
4276 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4279 else
4280 no_cache=1
4281 fi
4282
4283 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4284
4285 fi;
4286
4287 eval "$ac_cv_use_no_rtti"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4290 fi
4291
4292 if test "$wxUSE_NO_RTTI" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4295 else
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4298 fi
4299
4300
4301 enablestring=
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4304 no_cache=0
4305 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4306 if test "${enable_no_exceptions+set}" = set; then
4307 enableval="$enable_no_exceptions"
4308
4309 if test "$enableval" = yes; then
4310 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4311 else
4312 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4313 fi
4314
4315 else
4316
4317 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4320 else
4321 no_cache=1
4322 fi
4323
4324 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4325
4326 fi;
4327
4328 eval "$ac_cv_use_no_exceptions"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4331 fi
4332
4333 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4336 else
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4339 fi
4340
4341
4342 enablestring=
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4345 no_cache=0
4346 # Check whether --enable-permissive or --disable-permissive was given.
4347 if test "${enable_permissive+set}" = set; then
4348 enableval="$enable_permissive"
4349
4350 if test "$enableval" = yes; then
4351 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4352 else
4353 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4354 fi
4355
4356 else
4357
4358 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4361 else
4362 no_cache=1
4363 fi
4364
4365 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4366
4367 fi;
4368
4369 eval "$ac_cv_use_permissive"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4372 fi
4373
4374 if test "$wxUSE_PERMISSIVE" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4377 else
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4380 fi
4381
4382
4383 enablestring=
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4386 no_cache=0
4387 # Check whether --enable-no_deps or --disable-no_deps was given.
4388 if test "${enable_no_deps+set}" = set; then
4389 enableval="$enable_no_deps"
4390
4391 if test "$enableval" = yes; then
4392 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4393 else
4394 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4395 fi
4396
4397 else
4398
4399 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4402 else
4403 no_cache=1
4404 fi
4405
4406 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4407
4408 fi;
4409
4410 eval "$ac_cv_use_no_deps"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4413 fi
4414
4415 if test "$wxUSE_NO_DEPS" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4418 else
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4421 fi
4422
4423
4424 enablestring=
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4427 no_cache=0
4428 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4429 if test "${enable_vararg_macros+set}" = set; then
4430 enableval="$enable_vararg_macros"
4431
4432 if test "$enableval" = yes; then
4433 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4434 else
4435 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4436 fi
4437
4438 else
4439
4440 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4443 else
4444 no_cache=1
4445 fi
4446
4447 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4448
4449 fi;
4450
4451 eval "$ac_cv_use_vararg_macros"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4454 fi
4455
4456 if test "$wxUSE_VARARG_MACROS" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459 else
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462 fi
4463
4464
4465 enablestring=
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4468 no_cache=0
4469 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4470 if test "${enable_universal_binary+set}" = set; then
4471 enableval="$enable_universal_binary"
4472
4473 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4474
4475 else
4476
4477 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4481 else
4482 no_cache=1
4483 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4484 fi
4485
4486 fi;
4487
4488 eval "$wx_cv_use_universal_binary"
4489 if test "$no_cache" != 1; then
4490 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4491 fi
4492
4493 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4494 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4495
4496
4497
4498 enablestring=enable
4499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4500 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4501 no_cache=0
4502 # Check whether --enable-compat24 or --disable-compat24 was given.
4503 if test "${enable_compat24+set}" = set; then
4504 enableval="$enable_compat24"
4505
4506 if test "$enableval" = yes; then
4507 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4508 else
4509 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4510 fi
4511
4512 else
4513
4514 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x ; then
4516 eval "DEFAULT_$LINE"
4517 else
4518 no_cache=1
4519 fi
4520
4521 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4522
4523 fi;
4524
4525 eval "$ac_cv_use_compat24"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4528 fi
4529
4530 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4531 echo "$as_me:$LINENO: result: yes" >&5
4532 echo "${ECHO_T}yes" >&6
4533 else
4534 echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6
4536 fi
4537
4538
4539 enablestring=disable
4540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4542 no_cache=0
4543 # Check whether --enable-compat26 or --disable-compat26 was given.
4544 if test "${enable_compat26+set}" = set; then
4545 enableval="$enable_compat26"
4546
4547 if test "$enableval" = yes; then
4548 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4549 else
4550 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4551 fi
4552
4553 else
4554
4555 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x ; then
4557 eval "DEFAULT_$LINE"
4558 else
4559 no_cache=1
4560 fi
4561
4562 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4563
4564 fi;
4565
4566 eval "$ac_cv_use_compat26"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4569 fi
4570
4571 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4572 echo "$as_me:$LINENO: result: yes" >&5
4573 echo "${ECHO_T}yes" >&6
4574 else
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4577 fi
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-rpath or --disable-rpath was given.
4586 if test "${enable_rpath+set}" = set; then
4587 enableval="$enable_rpath"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_rpath='wxUSE_RPATH=yes'
4591 else
4592 ac_cv_use_rpath='wxUSE_RPATH=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4605
4606 fi;
4607
4608 eval "$ac_cv_use_rpath"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_RPATH" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622
4623
4624
4625 enablestring=
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-intl or --disable-intl was given.
4630 if test "${enable_intl+set}" = set; then
4631 enableval="$enable_intl"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_intl='wxUSE_INTL=yes'
4635 else
4636 ac_cv_use_intl='wxUSE_INTL=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4649
4650 fi;
4651
4652 eval "$ac_cv_use_intl"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_INTL" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665
4666 enablestring=
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4669 no_cache=0
4670 # Check whether --enable-config or --disable-config was given.
4671 if test "${enable_config+set}" = set; then
4672 enableval="$enable_config"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_config='wxUSE_CONFIG=yes'
4676 else
4677 ac_cv_use_config='wxUSE_CONFIG=no'
4678 fi
4679
4680 else
4681
4682 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4690
4691 fi;
4692
4693 eval "$ac_cv_use_config"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_CONFIG" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 fi
4705
4706
4707
4708 enablestring=
4709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4711 no_cache=0
4712 # Check whether --enable-protocols or --disable-protocols was given.
4713 if test "${enable_protocols+set}" = set; then
4714 enableval="$enable_protocols"
4715
4716 if test "$enableval" = yes; then
4717 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4718 else
4719 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4720 fi
4721
4722 else
4723
4724 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4727 else
4728 no_cache=1
4729 fi
4730
4731 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4732
4733 fi;
4734
4735 eval "$ac_cv_use_protocols"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4738 fi
4739
4740 if test "$wxUSE_PROTOCOL" = yes; then
4741 echo "$as_me:$LINENO: result: yes" >&5
4742 echo "${ECHO_T}yes" >&6
4743 else
4744 echo "$as_me:$LINENO: result: no" >&5
4745 echo "${ECHO_T}no" >&6
4746 fi
4747
4748
4749 enablestring=
4750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4752 no_cache=0
4753 # Check whether --enable-ftp or --disable-ftp was given.
4754 if test "${enable_ftp+set}" = set; then
4755 enableval="$enable_ftp"
4756
4757 if test "$enableval" = yes; then
4758 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4759 else
4760 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4761 fi
4762
4763 else
4764
4765 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x ; then
4767 eval "DEFAULT_$LINE"
4768 else
4769 no_cache=1
4770 fi
4771
4772 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4773
4774 fi;
4775
4776 eval "$ac_cv_use_ftp"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4782 echo "$as_me:$LINENO: result: yes" >&5
4783 echo "${ECHO_T}yes" >&6
4784 else
4785 echo "$as_me:$LINENO: result: no" >&5
4786 echo "${ECHO_T}no" >&6
4787 fi
4788
4789
4790 enablestring=
4791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4793 no_cache=0
4794 # Check whether --enable-http or --disable-http was given.
4795 if test "${enable_http+set}" = set; then
4796 enableval="$enable_http"
4797
4798 if test "$enableval" = yes; then
4799 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4800 else
4801 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4802 fi
4803
4804 else
4805
4806 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4814
4815 fi;
4816
4817 eval "$ac_cv_use_http"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4820 fi
4821
4822 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4823 echo "$as_me:$LINENO: result: yes" >&5
4824 echo "${ECHO_T}yes" >&6
4825 else
4826 echo "$as_me:$LINENO: result: no" >&5
4827 echo "${ECHO_T}no" >&6
4828 fi
4829
4830
4831 enablestring=
4832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4834 no_cache=0
4835 # Check whether --enable-fileproto or --disable-fileproto was given.
4836 if test "${enable_fileproto+set}" = set; then
4837 enableval="$enable_fileproto"
4838
4839 if test "$enableval" = yes; then
4840 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4841 else
4842 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4843 fi
4844
4845 else
4846
4847 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4848 if test "x$LINE" != x ; then
4849 eval "DEFAULT_$LINE"
4850 else
4851 no_cache=1
4852 fi
4853
4854 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4855
4856 fi;
4857
4858 eval "$ac_cv_use_fileproto"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4861 fi
4862
4863 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4864 echo "$as_me:$LINENO: result: yes" >&5
4865 echo "${ECHO_T}yes" >&6
4866 else
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4869 fi
4870
4871
4872 enablestring=
4873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4874 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4875 no_cache=0
4876 # Check whether --enable-sockets or --disable-sockets was given.
4877 if test "${enable_sockets+set}" = set; then
4878 enableval="$enable_sockets"
4879
4880 if test "$enableval" = yes; then
4881 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4882 else
4883 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4884 fi
4885
4886 else
4887
4888 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4889 if test "x$LINE" != x ; then
4890 eval "DEFAULT_$LINE"
4891 else
4892 no_cache=1
4893 fi
4894
4895 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4896
4897 fi;
4898
4899 eval "$ac_cv_use_sockets"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4902 fi
4903
4904 if test "$wxUSE_SOCKETS" = yes; then
4905 echo "$as_me:$LINENO: result: yes" >&5
4906 echo "${ECHO_T}yes" >&6
4907 else
4908 echo "$as_me:$LINENO: result: no" >&5
4909 echo "${ECHO_T}no" >&6
4910 fi
4911
4912
4913 enablestring=
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4916 no_cache=0
4917 # Check whether --enable-ole or --disable-ole was given.
4918 if test "${enable_ole+set}" = set; then
4919 enableval="$enable_ole"
4920
4921 if test "$enableval" = yes; then
4922 ac_cv_use_ole='wxUSE_OLE=yes'
4923 else
4924 ac_cv_use_ole='wxUSE_OLE=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4937
4938 fi;
4939
4940 eval "$ac_cv_use_ole"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test "$wxUSE_OLE" = yes; then
4946 echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6
4948 else
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4951 fi
4952
4953
4954 enablestring=
4955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4956 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4957 no_cache=0
4958 # Check whether --enable-dataobj or --disable-dataobj was given.
4959 if test "${enable_dataobj+set}" = set; then
4960 enableval="$enable_dataobj"
4961
4962 if test "$enableval" = yes; then
4963 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4964 else
4965 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4966 fi
4967
4968 else
4969
4970 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x ; then
4972 eval "DEFAULT_$LINE"
4973 else
4974 no_cache=1
4975 fi
4976
4977 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4978
4979 fi;
4980
4981 eval "$ac_cv_use_dataobj"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4984 fi
4985
4986 if test "$wxUSE_DATAOBJ" = yes; then
4987 echo "$as_me:$LINENO: result: yes" >&5
4988 echo "${ECHO_T}yes" >&6
4989 else
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4992 fi
4993
4994
4995
4996 enablestring=
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4999 no_cache=0
5000 # Check whether --enable-ipc or --disable-ipc was given.
5001 if test "${enable_ipc+set}" = set; then
5002 enableval="$enable_ipc"
5003
5004 if test "$enableval" = yes; then
5005 ac_cv_use_ipc='wxUSE_IPC=yes'
5006 else
5007 ac_cv_use_ipc='wxUSE_IPC=no'
5008 fi
5009
5010 else
5011
5012 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5015 else
5016 no_cache=1
5017 fi
5018
5019 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5020
5021 fi;
5022
5023 eval "$ac_cv_use_ipc"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5026 fi
5027
5028 if test "$wxUSE_IPC" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5031 else
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5034 fi
5035
5036
5037
5038 enablestring=
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5041 no_cache=0
5042 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5043 if test "${enable_apple_ieee+set}" = set; then
5044 enableval="$enable_apple_ieee"
5045
5046 if test "$enableval" = yes; then
5047 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5048 else
5049 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5050 fi
5051
5052 else
5053
5054 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x ; then
5056 eval "DEFAULT_$LINE"
5057 else
5058 no_cache=1
5059 fi
5060
5061 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5062
5063 fi;
5064
5065 eval "$ac_cv_use_apple_ieee"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5068 fi
5069
5070 if test "$wxUSE_APPLE_IEEE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5073 else
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5076 fi
5077
5078
5079 enablestring=
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5082 no_cache=0
5083 # Check whether --enable-arcstream or --disable-arcstream was given.
5084 if test "${enable_arcstream+set}" = set; then
5085 enableval="$enable_arcstream"
5086
5087 if test "$enableval" = yes; then
5088 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5089 else
5090 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5091 fi
5092
5093 else
5094
5095 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x ; then
5097 eval "DEFAULT_$LINE"
5098 else
5099 no_cache=1
5100 fi
5101
5102 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5103
5104 fi;
5105
5106 eval "$ac_cv_use_arcstream"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5109 fi
5110
5111 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5114 else
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5117 fi
5118
5119
5120 enablestring=
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5123 no_cache=0
5124 # Check whether --enable-backtrace or --disable-backtrace was given.
5125 if test "${enable_backtrace+set}" = set; then
5126 enableval="$enable_backtrace"
5127
5128 if test "$enableval" = yes; then
5129 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5130 else
5131 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5132 fi
5133
5134 else
5135
5136 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 else
5140 no_cache=1
5141 fi
5142
5143 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5144
5145 fi;
5146
5147 eval "$ac_cv_use_backtrace"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5150 fi
5151
5152 if test "$wxUSE_STACKWALKER" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5155 else
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5158 fi
5159
5160
5161 enablestring=
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5164 no_cache=0
5165 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5166 if test "${enable_catch_segvs+set}" = set; then
5167 enableval="$enable_catch_segvs"
5168
5169 if test "$enableval" = yes; then
5170 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5171 else
5172 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5173 fi
5174
5175 else
5176
5177 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x ; then
5179 eval "DEFAULT_$LINE"
5180 else
5181 no_cache=1
5182 fi
5183
5184 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5185
5186 fi;
5187
5188 eval "$ac_cv_use_catch_segvs"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5191 fi
5192
5193 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5199 fi
5200
5201
5202 enablestring=
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5205 no_cache=0
5206 # Check whether --enable-cmdline or --disable-cmdline was given.
5207 if test "${enable_cmdline+set}" = set; then
5208 enableval="$enable_cmdline"
5209
5210 if test "$enableval" = yes; then
5211 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5212 else
5213 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5214 fi
5215
5216 else
5217
5218 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x ; then
5220 eval "DEFAULT_$LINE"
5221 else
5222 no_cache=1
5223 fi
5224
5225 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5226
5227 fi;
5228
5229 eval "$ac_cv_use_cmdline"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5232 fi
5233
5234 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5240 fi
5241
5242
5243 enablestring=
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5246 no_cache=0
5247 # Check whether --enable-datetime or --disable-datetime was given.
5248 if test "${enable_datetime+set}" = set; then
5249 enableval="$enable_datetime"
5250
5251 if test "$enableval" = yes; then
5252 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5253 else
5254 ac_cv_use_datetime='wxUSE_DATETIME=no'
5255 fi
5256
5257 else
5258
5259 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x ; then
5261 eval "DEFAULT_$LINE"
5262 else
5263 no_cache=1
5264 fi
5265
5266 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5267
5268 fi;
5269
5270 eval "$ac_cv_use_datetime"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5273 fi
5274
5275 if test "$wxUSE_DATETIME" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5278 else
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5281 fi
5282
5283
5284 enablestring=
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5287 no_cache=0
5288 # Check whether --enable-debugreport or --disable-debugreport was given.
5289 if test "${enable_debugreport+set}" = set; then
5290 enableval="$enable_debugreport"
5291
5292 if test "$enableval" = yes; then
5293 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5294 else
5295 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5296 fi
5297
5298 else
5299
5300 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x ; then
5302 eval "DEFAULT_$LINE"
5303 else
5304 no_cache=1
5305 fi
5306
5307 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5308
5309 fi;
5310
5311 eval "$ac_cv_use_debugreport"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5314 fi
5315
5316 if test "$wxUSE_DEBUGREPORT" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5319 else
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5322 fi
5323
5324
5325 enablestring=
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5328 no_cache=0
5329 # Check whether --enable-dialupman or --disable-dialupman was given.
5330 if test "${enable_dialupman+set}" = set; then
5331 enableval="$enable_dialupman"
5332
5333 if test "$enableval" = yes; then
5334 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5335 else
5336 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5337 fi
5338
5339 else
5340
5341 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5344 else
5345 no_cache=1
5346 fi
5347
5348 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5349
5350 fi;
5351
5352 eval "$ac_cv_use_dialupman"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5355 fi
5356
5357 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5360 else
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5363 fi
5364
5365
5366 enablestring=
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5369 no_cache=0
5370 # Check whether --enable-dynlib or --disable-dynlib was given.
5371 if test "${enable_dynlib+set}" = set; then
5372 enableval="$enable_dynlib"
5373
5374 if test "$enableval" = yes; then
5375 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5376 else
5377 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5378 fi
5379
5380 else
5381
5382 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5385 else
5386 no_cache=1
5387 fi
5388
5389 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5390
5391 fi;
5392
5393 eval "$ac_cv_use_dynlib"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5396 fi
5397
5398 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5401 else
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5404 fi
5405
5406
5407 enablestring=
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5410 no_cache=0
5411 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5412 if test "${enable_dynamicloader+set}" = set; then
5413 enableval="$enable_dynamicloader"
5414
5415 if test "$enableval" = yes; then
5416 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5417 else
5418 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5419 fi
5420
5421 else
5422
5423 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x ; then
5425 eval "DEFAULT_$LINE"
5426 else
5427 no_cache=1
5428 fi
5429
5430 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5431
5432 fi;
5433
5434 eval "$ac_cv_use_dynamicloader"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5437 fi
5438
5439 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5442 else
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5445 fi
5446
5447
5448 enablestring=
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5451 no_cache=0
5452 # Check whether --enable-exceptions or --disable-exceptions was given.
5453 if test "${enable_exceptions+set}" = set; then
5454 enableval="$enable_exceptions"
5455
5456 if test "$enableval" = yes; then
5457 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5458 else
5459 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5460 fi
5461
5462 else
5463
5464 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x ; then
5466 eval "DEFAULT_$LINE"
5467 else
5468 no_cache=1
5469 fi
5470
5471 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5472
5473 fi;
5474
5475 eval "$ac_cv_use_exceptions"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5478 fi
5479
5480 if test "$wxUSE_EXCEPTIONS" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5483 else
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5486 fi
5487
5488
5489 enablestring=
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5492 no_cache=0
5493 # Check whether --enable-ffile or --disable-ffile was given.
5494 if test "${enable_ffile+set}" = set; then
5495 enableval="$enable_ffile"
5496
5497 if test "$enableval" = yes; then
5498 ac_cv_use_ffile='wxUSE_FFILE=yes'
5499 else
5500 ac_cv_use_ffile='wxUSE_FFILE=no'
5501 fi
5502
5503 else
5504
5505 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x ; then
5507 eval "DEFAULT_$LINE"
5508 else
5509 no_cache=1
5510 fi
5511
5512 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5513
5514 fi;
5515
5516 eval "$ac_cv_use_ffile"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5519 fi
5520
5521 if test "$wxUSE_FFILE" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5524 else
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5527 fi
5528
5529
5530 enablestring=
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5533 no_cache=0
5534 # Check whether --enable-file or --disable-file was given.
5535 if test "${enable_file+set}" = set; then
5536 enableval="$enable_file"
5537
5538 if test "$enableval" = yes; then
5539 ac_cv_use_file='wxUSE_FILE=yes'
5540 else
5541 ac_cv_use_file='wxUSE_FILE=no'
5542 fi
5543
5544 else
5545
5546 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x ; then
5548 eval "DEFAULT_$LINE"
5549 else
5550 no_cache=1
5551 fi
5552
5553 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5554
5555 fi;
5556
5557 eval "$ac_cv_use_file"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5560 fi
5561
5562 if test "$wxUSE_FILE" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5565 else
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5568 fi
5569
5570
5571 enablestring=
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5574 no_cache=0
5575 # Check whether --enable-filesystem or --disable-filesystem was given.
5576 if test "${enable_filesystem+set}" = set; then
5577 enableval="$enable_filesystem"
5578
5579 if test "$enableval" = yes; then
5580 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5581 else
5582 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5583 fi
5584
5585 else
5586
5587 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x ; then
5589 eval "DEFAULT_$LINE"
5590 else
5591 no_cache=1
5592 fi
5593
5594 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5595
5596 fi;
5597
5598 eval "$ac_cv_use_filesystem"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5601 fi
5602
5603 if test "$wxUSE_FILESYSTEM" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5606 else
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5609 fi
5610
5611
5612 enablestring=
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5615 no_cache=0
5616 # Check whether --enable-fontmap or --disable-fontmap was given.
5617 if test "${enable_fontmap+set}" = set; then
5618 enableval="$enable_fontmap"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5622 else
5623 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5624 fi
5625
5626 else
5627
5628 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5636
5637 fi;
5638
5639 eval "$ac_cv_use_fontmap"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5642 fi
5643
5644 if test "$wxUSE_FONTMAP" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5647 else
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5650 fi
5651
5652
5653 enablestring=
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5656 no_cache=0
5657 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5658 if test "${enable_fs_archive+set}" = set; then
5659 enableval="$enable_fs_archive"
5660
5661 if test "$enableval" = yes; then
5662 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5663 else
5664 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5665 fi
5666
5667 else
5668
5669 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x ; then
5671 eval "DEFAULT_$LINE"
5672 else
5673 no_cache=1
5674 fi
5675
5676 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5677
5678 fi;
5679
5680 eval "$ac_cv_use_fs_archive"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test "$wxUSE_FS_ARCHIVE" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5688 else
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5691 fi
5692
5693
5694 enablestring=
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5697 no_cache=0
5698 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5699 if test "${enable_fs_inet+set}" = set; then
5700 enableval="$enable_fs_inet"
5701
5702 if test "$enableval" = yes; then
5703 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5704 else
5705 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5706 fi
5707
5708 else
5709
5710 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x ; then
5712 eval "DEFAULT_$LINE"
5713 else
5714 no_cache=1
5715 fi
5716
5717 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5718
5719 fi;
5720
5721 eval "$ac_cv_use_fs_inet"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5724 fi
5725
5726 if test "$wxUSE_FS_INET" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5729 else
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5732 fi
5733
5734
5735 enablestring=
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5738 no_cache=0
5739 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5740 if test "${enable_fs_zip+set}" = set; then
5741 enableval="$enable_fs_zip"
5742
5743 if test "$enableval" = yes; then
5744 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5745 else
5746 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5747 fi
5748
5749 else
5750
5751 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 else
5755 no_cache=1
5756 fi
5757
5758 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5759
5760 fi;
5761
5762 eval "$ac_cv_use_fs_zip"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5765 fi
5766
5767 if test "$wxUSE_FS_ZIP" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5770 else
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5773 fi
5774
5775
5776 enablestring=
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5779 no_cache=0
5780 # Check whether --enable-geometry or --disable-geometry was given.
5781 if test "${enable_geometry+set}" = set; then
5782 enableval="$enable_geometry"
5783
5784 if test "$enableval" = yes; then
5785 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5786 else
5787 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5788 fi
5789
5790 else
5791
5792 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5795 else
5796 no_cache=1
5797 fi
5798
5799 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5800
5801 fi;
5802
5803 eval "$ac_cv_use_geometry"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5806 fi
5807
5808 if test "$wxUSE_GEOMETRY" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5811 else
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5814 fi
5815
5816
5817 enablestring=
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5820 no_cache=0
5821 # Check whether --enable-log or --disable-log was given.
5822 if test "${enable_log+set}" = set; then
5823 enableval="$enable_log"
5824
5825 if test "$enableval" = yes; then
5826 ac_cv_use_log='wxUSE_LOG=yes'
5827 else
5828 ac_cv_use_log='wxUSE_LOG=no'
5829 fi
5830
5831 else
5832
5833 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5836 else
5837 no_cache=1
5838 fi
5839
5840 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5841
5842 fi;
5843
5844 eval "$ac_cv_use_log"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5847 fi
5848
5849 if test "$wxUSE_LOG" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5852 else
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5855 fi
5856
5857
5858 enablestring=
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5861 no_cache=0
5862 # Check whether --enable-longlong or --disable-longlong was given.
5863 if test "${enable_longlong+set}" = set; then
5864 enableval="$enable_longlong"
5865
5866 if test "$enableval" = yes; then
5867 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5868 else
5869 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5870 fi
5871
5872 else
5873
5874 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x ; then
5876 eval "DEFAULT_$LINE"
5877 else
5878 no_cache=1
5879 fi
5880
5881 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5882
5883 fi;
5884
5885 eval "$ac_cv_use_longlong"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5888 fi
5889
5890 if test "$wxUSE_LONGLONG" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5893 else
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5896 fi
5897
5898
5899 enablestring=
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5902 no_cache=0
5903 # Check whether --enable-mimetype or --disable-mimetype was given.
5904 if test "${enable_mimetype+set}" = set; then
5905 enableval="$enable_mimetype"
5906
5907 if test "$enableval" = yes; then
5908 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5909 else
5910 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5911 fi
5912
5913 else
5914
5915 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x ; then
5917 eval "DEFAULT_$LINE"
5918 else
5919 no_cache=1
5920 fi
5921
5922 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5923
5924 fi;
5925
5926 eval "$ac_cv_use_mimetype"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5929 fi
5930
5931 if test "$wxUSE_MIMETYPE" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5934 else
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5937 fi
5938
5939
5940 enablestring=
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5943 no_cache=0
5944 # Check whether --enable-mslu or --disable-mslu was given.
5945 if test "${enable_mslu+set}" = set; then
5946 enableval="$enable_mslu"
5947
5948 if test "$enableval" = yes; then
5949 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5950 else
5951 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5952 fi
5953
5954 else
5955
5956 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x ; then
5958 eval "DEFAULT_$LINE"
5959 else
5960 no_cache=1
5961 fi
5962
5963 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5964
5965 fi;
5966
5967 eval "$ac_cv_use_mslu"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5970 fi
5971
5972 if test "$wxUSE_UNICODE_MSLU" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5975 else
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5978 fi
5979
5980
5981 enablestring=
5982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5984 no_cache=0
5985 # Check whether --enable-snglinst or --disable-snglinst was given.
5986 if test "${enable_snglinst+set}" = set; then
5987 enableval="$enable_snglinst"
5988
5989 if test "$enableval" = yes; then
5990 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5991 else
5992 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5993 fi
5994
5995 else
5996
5997 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5998 if test "x$LINE" != x ; then
5999 eval "DEFAULT_$LINE"
6000 else
6001 no_cache=1
6002 fi
6003
6004 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6005
6006 fi;
6007
6008 eval "$ac_cv_use_snglinst"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6011 fi
6012
6013 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6014 echo "$as_me:$LINENO: result: yes" >&5
6015 echo "${ECHO_T}yes" >&6
6016 else
6017 echo "$as_me:$LINENO: result: no" >&5
6018 echo "${ECHO_T}no" >&6
6019 fi
6020
6021
6022 enablestring=
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6025 no_cache=0
6026 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6027 if test "${enable_std_iostreams+set}" = set; then
6028 enableval="$enable_std_iostreams"
6029
6030 if test "$enableval" = yes; then
6031 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6032 else
6033 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6034 fi
6035
6036 else
6037
6038 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6041 else
6042 no_cache=1
6043 fi
6044
6045 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6046
6047 fi;
6048
6049 eval "$ac_cv_use_std_iostreams"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6052 fi
6053
6054 if test "$wxUSE_STD_IOSTREAM" = yes; then
6055 echo "$as_me:$LINENO: result: yes" >&5
6056 echo "${ECHO_T}yes" >&6
6057 else
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6060 fi
6061
6062
6063 enablestring=
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6066 no_cache=0
6067 # Check whether --enable-std_string or --disable-std_string was given.
6068 if test "${enable_std_string+set}" = set; then
6069 enableval="$enable_std_string"
6070
6071 if test "$enableval" = yes; then
6072 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6073 else
6074 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6075 fi
6076
6077 else
6078
6079 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 else
6083 no_cache=1
6084 fi
6085
6086 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6087
6088 fi;
6089
6090 eval "$ac_cv_use_std_string"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_STD_STRING" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6098 else
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6101 fi
6102
6103
6104 enablestring=
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6107 no_cache=0
6108 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6109 if test "${enable_stdpaths+set}" = set; then
6110 enableval="$enable_stdpaths"
6111
6112 if test "$enableval" = yes; then
6113 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6114 else
6115 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6116 fi
6117
6118 else
6119
6120 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6123 else
6124 no_cache=1
6125 fi
6126
6127 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6128
6129 fi;
6130
6131 eval "$ac_cv_use_stdpaths"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_STDPATHS" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6139 else
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6142 fi
6143
6144
6145 enablestring=
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6148 no_cache=0
6149 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6150 if test "${enable_stopwatch+set}" = set; then
6151 enableval="$enable_stopwatch"
6152
6153 if test "$enableval" = yes; then
6154 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6155 else
6156 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6157 fi
6158
6159 else
6160
6161 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6164 else
6165 no_cache=1
6166 fi
6167
6168 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6169
6170 fi;
6171
6172 eval "$ac_cv_use_stopwatch"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6175 fi
6176
6177 if test "$wxUSE_STOPWATCH" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6180 else
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6183 fi
6184
6185
6186 enablestring=
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6189 no_cache=0
6190 # Check whether --enable-streams or --disable-streams was given.
6191 if test "${enable_streams+set}" = set; then
6192 enableval="$enable_streams"
6193
6194 if test "$enableval" = yes; then
6195 ac_cv_use_streams='wxUSE_STREAMS=yes'
6196 else
6197 ac_cv_use_streams='wxUSE_STREAMS=no'
6198 fi
6199
6200 else
6201
6202 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6205 else
6206 no_cache=1
6207 fi
6208
6209 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6210
6211 fi;
6212
6213 eval "$ac_cv_use_streams"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_STREAMS" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6221 else
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6224 fi
6225
6226
6227 enablestring=
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6230 no_cache=0
6231 # Check whether --enable-system_options or --disable-system_options was given.
6232 if test "${enable_system_options+set}" = set; then
6233 enableval="$enable_system_options"
6234
6235 if test "$enableval" = yes; then
6236 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6237 else
6238 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6239 fi
6240
6241 else
6242
6243 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6246 else
6247 no_cache=1
6248 fi
6249
6250 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6251
6252 fi;
6253
6254 eval "$ac_cv_use_system_options"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6257 fi
6258
6259 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6262 else
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6265 fi
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-tarstream or --disable-tarstream was given.
6273 if test "${enable_tarstream+set}" = set; then
6274 enableval="$enable_tarstream"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6278 else
6279 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6280 fi
6281
6282 else
6283
6284 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6292
6293 fi;
6294
6295 eval "$ac_cv_use_tarstream"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_TARSTREAM" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-textbuf or --disable-textbuf was given.
6314 if test "${enable_textbuf+set}" = set; then
6315 enableval="$enable_textbuf"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6319 else
6320 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6321 fi
6322
6323 else
6324
6325 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6333
6334 fi;
6335
6336 eval "$ac_cv_use_textbuf"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_TEXTBUFFER" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350 enablestring=
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6353 no_cache=0
6354 # Check whether --enable-textfile or --disable-textfile was given.
6355 if test "${enable_textfile+set}" = set; then
6356 enableval="$enable_textfile"
6357
6358 if test "$enableval" = yes; then
6359 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6360 else
6361 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6362 fi
6363
6364 else
6365
6366 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6369 else
6370 no_cache=1
6371 fi
6372
6373 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6374
6375 fi;
6376
6377 eval "$ac_cv_use_textfile"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6380 fi
6381
6382 if test "$wxUSE_TEXTFILE" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6385 else
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6388 fi
6389
6390
6391 enablestring=
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6394 no_cache=0
6395 # Check whether --enable-timer or --disable-timer was given.
6396 if test "${enable_timer+set}" = set; then
6397 enableval="$enable_timer"
6398
6399 if test "$enableval" = yes; then
6400 ac_cv_use_timer='wxUSE_TIMER=yes'
6401 else
6402 ac_cv_use_timer='wxUSE_TIMER=no'
6403 fi
6404
6405 else
6406
6407 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6410 else
6411 no_cache=1
6412 fi
6413
6414 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6415
6416 fi;
6417
6418 eval "$ac_cv_use_timer"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6421 fi
6422
6423 if test "$wxUSE_TIMER" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6426 else
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6429 fi
6430
6431
6432 enablestring=
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6435 no_cache=0
6436 # Check whether --enable-unicode or --disable-unicode was given.
6437 if test "${enable_unicode+set}" = set; then
6438 enableval="$enable_unicode"
6439
6440 if test "$enableval" = yes; then
6441 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6442 else
6443 ac_cv_use_unicode='wxUSE_UNICODE=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6456
6457 fi;
6458
6459 eval "$ac_cv_use_unicode"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_UNICODE" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6467 else
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6470 fi
6471
6472
6473 enablestring=
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6476 no_cache=0
6477 # Check whether --enable-sound or --disable-sound was given.
6478 if test "${enable_sound+set}" = set; then
6479 enableval="$enable_sound"
6480
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sound='wxUSE_SOUND=yes'
6483 else
6484 ac_cv_use_sound='wxUSE_SOUND=no'
6485 fi
6486
6487 else
6488
6489 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6492 else
6493 no_cache=1
6494 fi
6495
6496 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6497
6498 fi;
6499
6500 eval "$ac_cv_use_sound"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_SOUND" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6508 else
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6511 fi
6512
6513
6514 enablestring=
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6517 no_cache=0
6518 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6519 if test "${enable_mediactrl+set}" = set; then
6520 enableval="$enable_mediactrl"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6524 else
6525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6538
6539 fi;
6540
6541 eval "$ac_cv_use_mediactrl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_MEDIACTRL" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6549 else
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6560 if test "${enable_gstreamer8+set}" = set; then
6561 enableval="$enable_gstreamer8"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6565 else
6566 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6579
6580 fi;
6581
6582 eval "$ac_cv_use_gstreamer8"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_GSTREAMER8" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6601 if test "${enable_printfposparam+set}" = set; then
6602 enableval="$enable_printfposparam"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6606 else
6607 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6620
6621 fi;
6622
6623 eval "$ac_cv_use_printfposparam"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-zipstream or --disable-zipstream was given.
6642 if test "${enable_zipstream+set}" = set; then
6643 enableval="$enable_zipstream"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6647 else
6648 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6661
6662 fi;
6663
6664 eval "$ac_cv_use_zipstream"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_ZIPSTREAM" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678
6679 enablestring=
6680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6682 no_cache=0
6683 # Check whether --enable-url or --disable-url was given.
6684 if test "${enable_url+set}" = set; then
6685 enableval="$enable_url"
6686
6687 if test "$enableval" = yes; then
6688 ac_cv_use_url='wxUSE_URL=yes'
6689 else
6690 ac_cv_use_url='wxUSE_URL=no'
6691 fi
6692
6693 else
6694
6695 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6696 if test "x$LINE" != x ; then
6697 eval "DEFAULT_$LINE"
6698 else
6699 no_cache=1
6700 fi
6701
6702 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6703
6704 fi;
6705
6706 eval "$ac_cv_use_url"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6709 fi
6710
6711 if test "$wxUSE_URL" = yes; then
6712 echo "$as_me:$LINENO: result: yes" >&5
6713 echo "${ECHO_T}yes" >&6
6714 else
6715 echo "$as_me:$LINENO: result: no" >&5
6716 echo "${ECHO_T}no" >&6
6717 fi
6718
6719
6720 enablestring=
6721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6723 no_cache=0
6724 # Check whether --enable-variant or --disable-variant was given.
6725 if test "${enable_variant+set}" = set; then
6726 enableval="$enable_variant"
6727
6728 if test "$enableval" = yes; then
6729 ac_cv_use_variant='wxUSE_VARIANT=yes'
6730 else
6731 ac_cv_use_variant='wxUSE_VARIANT=no'
6732 fi
6733
6734 else
6735
6736 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x ; then
6738 eval "DEFAULT_$LINE"
6739 else
6740 no_cache=1
6741 fi
6742
6743 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6744
6745 fi;
6746
6747 eval "$ac_cv_use_variant"
6748 if test "$no_cache" != 1; then
6749 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6750 fi
6751
6752 if test "$wxUSE_VARIANT" = yes; then
6753 echo "$as_me:$LINENO: result: yes" >&5
6754 echo "${ECHO_T}yes" >&6
6755 else
6756 echo "$as_me:$LINENO: result: no" >&5
6757 echo "${ECHO_T}no" >&6
6758 fi
6759
6760
6761 enablestring=
6762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6764 no_cache=0
6765 # Check whether --enable-protocol or --disable-protocol was given.
6766 if test "${enable_protocol+set}" = set; then
6767 enableval="$enable_protocol"
6768
6769 if test "$enableval" = yes; then
6770 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6771 else
6772 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6773 fi
6774
6775 else
6776
6777 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6778 if test "x$LINE" != x ; then
6779 eval "DEFAULT_$LINE"
6780 else
6781 no_cache=1
6782 fi
6783
6784 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6785
6786 fi;
6787
6788 eval "$ac_cv_use_protocol"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6791 fi
6792
6793 if test "$wxUSE_PROTOCOL" = yes; then
6794 echo "$as_me:$LINENO: result: yes" >&5
6795 echo "${ECHO_T}yes" >&6
6796 else
6797 echo "$as_me:$LINENO: result: no" >&5
6798 echo "${ECHO_T}no" >&6
6799 fi
6800
6801
6802 enablestring=
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6805 no_cache=0
6806 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6807 if test "${enable_protocol_http+set}" = set; then
6808 enableval="$enable_protocol_http"
6809
6810 if test "$enableval" = yes; then
6811 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6812 else
6813 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6814 fi
6815
6816 else
6817
6818 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6821 else
6822 no_cache=1
6823 fi
6824
6825 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6826
6827 fi;
6828
6829 eval "$ac_cv_use_protocol_http"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6832 fi
6833
6834 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6837 else
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6840 fi
6841
6842
6843 enablestring=
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6846 no_cache=0
6847 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6848 if test "${enable_protocol_ftp+set}" = set; then
6849 enableval="$enable_protocol_ftp"
6850
6851 if test "$enableval" = yes; then
6852 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6853 else
6854 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6855 fi
6856
6857 else
6858
6859 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6862 else
6863 no_cache=1
6864 fi
6865
6866 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6867
6868 fi;
6869
6870 eval "$ac_cv_use_protocol_ftp"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6873 fi
6874
6875 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6878 else
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6881 fi
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6889 if test "${enable_protocol_file+set}" = set; then
6890 enableval="$enable_protocol_file"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6894 else
6895 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6908
6909 fi;
6910
6911 eval "$ac_cv_use_protocol_file"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925
6926
6927
6928 enablestring=
6929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6931 no_cache=0
6932 # Check whether --enable-threads or --disable-threads was given.
6933 if test "${enable_threads+set}" = set; then
6934 enableval="$enable_threads"
6935
6936 if test "$enableval" = yes; then
6937 ac_cv_use_threads='wxUSE_THREADS=yes'
6938 else
6939 ac_cv_use_threads='wxUSE_THREADS=no'
6940 fi
6941
6942 else
6943
6944 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x ; then
6946 eval "DEFAULT_$LINE"
6947 else
6948 no_cache=1
6949 fi
6950
6951 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6952
6953 fi;
6954
6955 eval "$ac_cv_use_threads"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6958 fi
6959
6960 if test "$wxUSE_THREADS" = yes; then
6961 echo "$as_me:$LINENO: result: yes" >&5
6962 echo "${ECHO_T}yes" >&6
6963 else
6964 echo "$as_me:$LINENO: result: no" >&5
6965 echo "${ECHO_T}no" >&6
6966 fi
6967
6968
6969 if test "$wxUSE_GUI" = "yes"; then
6970
6971
6972
6973 enablestring=
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6976 no_cache=0
6977 # Check whether --enable-docview or --disable-docview was given.
6978 if test "${enable_docview+set}" = set; then
6979 enableval="$enable_docview"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6983 else
6984 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6997
6998 fi;
6999
7000 eval "$ac_cv_use_docview"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7008 else
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7011 fi
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-help or --disable-help was given.
7019 if test "${enable_help+set}" = set; then
7020 enableval="$enable_help"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_help='wxUSE_HELP=yes'
7024 else
7025 ac_cv_use_help='wxUSE_HELP=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7038
7039 fi;
7040
7041 eval "$ac_cv_use_help"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_HELP" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055 enablestring=
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7058 no_cache=0
7059 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7060 if test "${enable_mshtmlhelp+set}" = set; then
7061 enableval="$enable_mshtmlhelp"
7062
7063 if test "$enableval" = yes; then
7064 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7065 else
7066 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7067 fi
7068
7069 else
7070
7071 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7074 else
7075 no_cache=1
7076 fi
7077
7078 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7079
7080 fi;
7081
7082 eval "$ac_cv_use_mshtmlhelp"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7085 fi
7086
7087 if test "$wxUSE_MS_HTML_HELP" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7090 else
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7093 fi
7094
7095
7096 enablestring=
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7099 no_cache=0
7100 # Check whether --enable-html or --disable-html was given.
7101 if test "${enable_html+set}" = set; then
7102 enableval="$enable_html"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_html='wxUSE_HTML=yes'
7106 else
7107 ac_cv_use_html='wxUSE_HTML=no'
7108 fi
7109
7110 else
7111
7112 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7120
7121 fi;
7122
7123 eval "$ac_cv_use_html"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_HTML" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7131 else
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 fi
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7142 if test "${enable_htmlhelp+set}" = set; then
7143 enableval="$enable_htmlhelp"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7147 else
7148 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7161
7162 fi;
7163
7164 eval "$ac_cv_use_htmlhelp"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_WXHTML_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-xrc or --disable-xrc was given.
7183 if test "${enable_xrc+set}" = set; then
7184 enableval="$enable_xrc"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_xrc='wxUSE_XRC=yes'
7188 else
7189 ac_cv_use_xrc='wxUSE_XRC=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7202
7203 fi;
7204
7205 eval "$ac_cv_use_xrc"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_XRC" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-aui or --disable-aui was given.
7224 if test "${enable_aui+set}" = set; then
7225 enableval="$enable_aui"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_aui='wxUSE_AUI=yes'
7229 else
7230 ac_cv_use_aui='wxUSE_AUI=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7243
7244 fi;
7245
7246 eval "$ac_cv_use_aui"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_AUI" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260 enablestring=
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7263 no_cache=0
7264 # Check whether --enable-constraints or --disable-constraints was given.
7265 if test "${enable_constraints+set}" = set; then
7266 enableval="$enable_constraints"
7267
7268 if test "$enableval" = yes; then
7269 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7270 else
7271 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7272 fi
7273
7274 else
7275
7276 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7279 else
7280 no_cache=1
7281 fi
7282
7283 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7284
7285 fi;
7286
7287 eval "$ac_cv_use_constraints"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_CONSTRAINTS" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7295 else
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7298 fi
7299
7300
7301 enablestring=
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7304 no_cache=0
7305 # Check whether --enable-printarch or --disable-printarch was given.
7306 if test "${enable_printarch+set}" = set; then
7307 enableval="$enable_printarch"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7311 else
7312 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7313 fi
7314
7315 else
7316
7317 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7325
7326 fi;
7327
7328 eval "$ac_cv_use_printarch"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7336 else
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-mdi or --disable-mdi was given.
7347 if test "${enable_mdi+set}" = set; then
7348 enableval="$enable_mdi"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_mdi='wxUSE_MDI=yes'
7352 else
7353 ac_cv_use_mdi='wxUSE_MDI=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7366
7367 fi;
7368
7369 eval "$ac_cv_use_mdi"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_MDI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7388 if test "${enable_mdidoc+set}" = set; then
7389 enableval="$enable_mdidoc"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7393 else
7394 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7407
7408 fi;
7409
7410 eval "$ac_cv_use_mdidoc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-loggui or --disable-loggui was given.
7429 if test "${enable_loggui+set}" = set; then
7430 enableval="$enable_loggui"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7434 else
7435 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7448
7449 fi;
7450
7451 eval "$ac_cv_use_loggui"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_LOGGUI" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-logwin or --disable-logwin was given.
7470 if test "${enable_logwin+set}" = set; then
7471 enableval="$enable_logwin"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7475 else
7476 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7489
7490 fi;
7491
7492 eval "$ac_cv_use_logwin"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_LOGWINDOW" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-logdialog or --disable-logdialog was given.
7511 if test "${enable_logdialog+set}" = set; then
7512 enableval="$enable_logdialog"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7516 else
7517 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7530
7531 fi;
7532
7533 eval "$ac_cv_use_logdialog"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_LOGDIALOG" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-webkit or --disable-webkit was given.
7552 if test "${enable_webkit+set}" = set; then
7553 enableval="$enable_webkit"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7557 else
7558 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7571
7572 fi;
7573
7574 eval "$ac_cv_use_webkit"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_WEBKIT" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-richtext or --disable-richtext was given.
7593 if test "${enable_richtext+set}" = set; then
7594 enableval="$enable_richtext"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7598 else
7599 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7612
7613 fi;
7614
7615 eval "$ac_cv_use_richtext"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_RICHTEXT" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7634 if test "${enable_graphics_ctx+set}" = set; then
7635 enableval="$enable_graphics_ctx"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7639 else
7640 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7653
7654 fi;
7655
7656 eval "$ac_cv_use_graphics_ctx"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-postscript or --disable-postscript was given.
7676 if test "${enable_postscript+set}" = set; then
7677 enableval="$enable_postscript"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7681 else
7682 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7695
7696 fi;
7697
7698 eval "$ac_cv_use_postscript"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_POSTSCRIPT" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712
7713
7714
7715 enablestring=
7716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7718 no_cache=0
7719 # Check whether --enable-prologio or --disable-prologio was given.
7720 if test "${enable_prologio+set}" = set; then
7721 enableval="$enable_prologio"
7722
7723 if test "$enableval" = yes; then
7724 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7725 else
7726 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7727 fi
7728
7729 else
7730
7731 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7732 if test "x$LINE" != x ; then
7733 eval "DEFAULT_$LINE"
7734 else
7735 no_cache=1
7736 fi
7737
7738 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7739
7740 fi;
7741
7742 eval "$ac_cv_use_prologio"
7743 if test "$no_cache" != 1; then
7744 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7745 fi
7746
7747 if test "$wxUSE_PROLOGIO" = yes; then
7748 echo "$as_me:$LINENO: result: yes" >&5
7749 echo "${ECHO_T}yes" >&6
7750 else
7751 echo "$as_me:$LINENO: result: no" >&5
7752 echo "${ECHO_T}no" >&6
7753 fi
7754
7755
7756 enablestring=
7757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7758 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7759 no_cache=0
7760 # Check whether --enable-resources or --disable-resources was given.
7761 if test "${enable_resources+set}" = set; then
7762 enableval="$enable_resources"
7763
7764 if test "$enableval" = yes; then
7765 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7766 else
7767 ac_cv_use_resources='wxUSE_RESOURCES=no'
7768 fi
7769
7770 else
7771
7772 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7773 if test "x$LINE" != x ; then
7774 eval "DEFAULT_$LINE"
7775 else
7776 no_cache=1
7777 fi
7778
7779 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7780
7781 fi;
7782
7783 eval "$ac_cv_use_resources"
7784 if test "$no_cache" != 1; then
7785 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test "$wxUSE_RESOURCES" = yes; then
7789 echo "$as_me:$LINENO: result: yes" >&5
7790 echo "${ECHO_T}yes" >&6
7791 else
7792 echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6
7794 fi
7795
7796
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-clipboard or --disable-clipboard was given.
7804 if test "${enable_clipboard+set}" = set; then
7805 enableval="$enable_clipboard"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7809 else
7810 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7823
7824 fi;
7825
7826 eval "$ac_cv_use_clipboard"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_CLIPBOARD" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-dnd or --disable-dnd was given.
7845 if test "${enable_dnd+set}" = set; then
7846 enableval="$enable_dnd"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7850 else
7851 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7864
7865 fi;
7866
7867 eval "$ac_cv_use_dnd"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-metafile or --disable-metafile was given.
7886 if test "${enable_metafile+set}" = set; then
7887 enableval="$enable_metafile"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7891 else
7892 ac_cv_use_metafile='wxUSE_METAFILE=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7905
7906 fi;
7907
7908 eval "$ac_cv_use_metafile"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_METAFILE" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922
7923
7924
7925 enablestring=
7926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7927 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7928 no_cache=0
7929 # Check whether --enable-controls or --disable-controls was given.
7930 if test "${enable_controls+set}" = set; then
7931 enableval="$enable_controls"
7932
7933 if test "$enableval" = yes; then
7934 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7935 else
7936 ac_cv_use_controls='wxUSE_CONTROLS=no'
7937 fi
7938
7939 else
7940
7941 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x ; then
7943 eval "DEFAULT_$LINE"
7944 else
7945 no_cache=1
7946 fi
7947
7948 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7949
7950 fi;
7951
7952 eval "$ac_cv_use_controls"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7955 fi
7956
7957 if test "$wxUSE_CONTROLS" = yes; then
7958 echo "$as_me:$LINENO: result: yes" >&5
7959 echo "${ECHO_T}yes" >&6
7960 else
7961 echo "$as_me:$LINENO: result: no" >&5
7962 echo "${ECHO_T}no" >&6
7963 fi
7964
7965
7966 if test "$wxUSE_CONTROLS" = "yes"; then
7967 DEFAULT_wxUSE_ACCEL=yes
7968 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7969 DEFAULT_wxUSE_BMPBUTTON=yes
7970 DEFAULT_wxUSE_BUTTON=yes
7971 DEFAULT_wxUSE_CALCTRL=yes
7972 DEFAULT_wxUSE_CARET=yes
7973 DEFAULT_wxUSE_COMBOBOX=yes
7974 DEFAULT_wxUSE_CHECKBOX=yes
7975 DEFAULT_wxUSE_CHECKLISTBOX=yes
7976 DEFAULT_wxUSE_CHOICE=yes
7977 DEFAULT_wxUSE_CHOICEBOOK=yes
7978 DEFAULT_wxUSE_COLLPANE=yes
7979 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7980 DEFAULT_wxUSE_COMBOBOX=yes
7981 DEFAULT_wxUSE_DATEPICKCTRL=yes
7982 DEFAULT_wxUSE_DISPLAY=yes
7983 DEFAULT_wxUSE_DETECT_SM=yes
7984 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7985 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7986 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7987 DEFAULT_wxUSE_GAUGE=yes
7988 DEFAULT_wxUSE_GRID=yes
7989 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7990 DEFAULT_wxUSE_DATAVIEWCTRL=no
7991 DEFAULT_wxUSE_IMAGLIST=yes
7992 DEFAULT_wxUSE_LISTBOOK=yes
7993 DEFAULT_wxUSE_LISTBOX=yes
7994 DEFAULT_wxUSE_LISTCTRL=yes
7995 DEFAULT_wxUSE_NOTEBOOK=yes
7996 DEFAULT_wxUSE_RADIOBOX=yes
7997 DEFAULT_wxUSE_RADIOBTN=yes
7998 DEFAULT_wxUSE_SASH=yes
7999 DEFAULT_wxUSE_SCROLLBAR=yes
8000 DEFAULT_wxUSE_SLIDER=yes
8001 DEFAULT_wxUSE_SPINBTN=yes
8002 DEFAULT_wxUSE_SPINCTRL=yes
8003 DEFAULT_wxUSE_SPLITTER=yes
8004 DEFAULT_wxUSE_STATBMP=yes
8005 DEFAULT_wxUSE_STATBOX=yes
8006 DEFAULT_wxUSE_STATLINE=yes
8007 DEFAULT_wxUSE_STATUSBAR=yes
8008 DEFAULT_wxUSE_TAB_DIALOG=yes
8009 DEFAULT_wxUSE_TOGGLEBTN=yes
8010 DEFAULT_wxUSE_TOOLBAR=yes
8011 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8012 DEFAULT_wxUSE_TOOLTIPS=yes
8013 DEFAULT_wxUSE_TREEBOOK=yes
8014 DEFAULT_wxUSE_TOOLBOOK=yes
8015 DEFAULT_wxUSE_TREECTRL=yes
8016 DEFAULT_wxUSE_POPUPWIN=yes
8017 DEFAULT_wxUSE_TIPWINDOW=yes
8018 elif test "$wxUSE_CONTROLS" = "no"; then
8019 DEFAULT_wxUSE_ACCEL=no
8020 DEFAULT_wxUSE_ANIMATIONCTRL=no
8021 DEFAULT_wxUSE_BMPBUTTON=no
8022 DEFAULT_wxUSE_BUTTON=no
8023 DEFAULT_wxUSE_CALCTRL=no
8024 DEFAULT_wxUSE_CARET=no
8025 DEFAULT_wxUSE_COLLPANE=no
8026 DEFAULT_wxUSE_COMBOBOX=no
8027 DEFAULT_wxUSE_CHECKBOX=no
8028 DEFAULT_wxUSE_CHECKLISTBOX=no
8029 DEFAULT_wxUSE_CHOICE=no
8030 DEFAULT_wxUSE_CHOICEBOOK=no
8031 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8032 DEFAULT_wxUSE_COMBOBOX=no
8033 DEFAULT_wxUSE_DATEPICKCTRL=no
8034 DEFAULT_wxUSE_DISPLAY=no
8035 DEFAULT_wxUSE_DETECT_SM=no
8036 DEFAULT_wxUSE_DIRPICKERCTRL=no
8037 DEFAULT_wxUSE_FILEPICKERCTRL=no
8038 DEFAULT_wxUSE_FONTPICKERCTRL=no
8039 DEFAULT_wxUSE_GAUGE=no
8040 DEFAULT_wxUSE_GRID=no
8041 DEFAULT_wxUSE_HYPERLINKCTRL=no
8042 DEFAULT_wxUSE_DATAVIEWCTRL=no
8043 DEFAULT_wxUSE_IMAGLIST=no
8044 DEFAULT_wxUSE_LISTBOOK=no
8045 DEFAULT_wxUSE_LISTBOX=no
8046 DEFAULT_wxUSE_LISTCTRL=no
8047 DEFAULT_wxUSE_NOTEBOOK=no
8048 DEFAULT_wxUSE_RADIOBOX=no
8049 DEFAULT_wxUSE_RADIOBTN=no
8050 DEFAULT_wxUSE_SASH=no
8051 DEFAULT_wxUSE_SCROLLBAR=no
8052 DEFAULT_wxUSE_SLIDER=no
8053 DEFAULT_wxUSE_SPINBTN=no
8054 DEFAULT_wxUSE_SPINCTRL=no
8055 DEFAULT_wxUSE_SPLITTER=no
8056 DEFAULT_wxUSE_STATBMP=no
8057 DEFAULT_wxUSE_STATBOX=no
8058 DEFAULT_wxUSE_STATLINE=no
8059 DEFAULT_wxUSE_STATUSBAR=no
8060 DEFAULT_wxUSE_TAB_DIALOG=no
8061 DEFAULT_wxUSE_TOGGLEBTN=no
8062 DEFAULT_wxUSE_TOOLBAR=no
8063 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8064 DEFAULT_wxUSE_TOOLTIPS=no
8065 DEFAULT_wxUSE_TREEBOOK=no
8066 DEFAULT_wxUSE_TOOLBOOK=no
8067 DEFAULT_wxUSE_TREECTRL=no
8068 DEFAULT_wxUSE_POPUPWIN=no
8069 DEFAULT_wxUSE_TIPWINDOW=no
8070 fi
8071
8072
8073 enablestring=
8074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8076 no_cache=0
8077 # Check whether --enable-accel or --disable-accel was given.
8078 if test "${enable_accel+set}" = set; then
8079 enableval="$enable_accel"
8080
8081 if test "$enableval" = yes; then
8082 ac_cv_use_accel='wxUSE_ACCEL=yes'
8083 else
8084 ac_cv_use_accel='wxUSE_ACCEL=no'
8085 fi
8086
8087 else
8088
8089 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8090 if test "x$LINE" != x ; then
8091 eval "DEFAULT_$LINE"
8092 else
8093 no_cache=1
8094 fi
8095
8096 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8097
8098 fi;
8099
8100 eval "$ac_cv_use_accel"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8103 fi
8104
8105 if test "$wxUSE_ACCEL" = yes; then
8106 echo "$as_me:$LINENO: result: yes" >&5
8107 echo "${ECHO_T}yes" >&6
8108 else
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8111 fi
8112
8113
8114 enablestring=
8115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8116 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8117 no_cache=0
8118 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8119 if test "${enable_animatectrl+set}" = set; then
8120 enableval="$enable_animatectrl"
8121
8122 if test "$enableval" = yes; then
8123 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8124 else
8125 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8126 fi
8127
8128 else
8129
8130 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8131 if test "x$LINE" != x ; then
8132 eval "DEFAULT_$LINE"
8133 else
8134 no_cache=1
8135 fi
8136
8137 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8138
8139 fi;
8140
8141 eval "$ac_cv_use_animatectrl"
8142 if test "$no_cache" != 1; then
8143 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8144 fi
8145
8146 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8149 else
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8152 fi
8153
8154
8155 enablestring=
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8158 no_cache=0
8159 # Check whether --enable-button or --disable-button was given.
8160 if test "${enable_button+set}" = set; then
8161 enableval="$enable_button"
8162
8163 if test "$enableval" = yes; then
8164 ac_cv_use_button='wxUSE_BUTTON=yes'
8165 else
8166 ac_cv_use_button='wxUSE_BUTTON=no'
8167 fi
8168
8169 else
8170
8171 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8174 else
8175 no_cache=1
8176 fi
8177
8178 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8179
8180 fi;
8181
8182 eval "$ac_cv_use_button"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8185 fi
8186
8187 if test "$wxUSE_BUTTON" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8190 else
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8193 fi
8194
8195
8196 enablestring=
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8199 no_cache=0
8200 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8201 if test "${enable_bmpbutton+set}" = set; then
8202 enableval="$enable_bmpbutton"
8203
8204 if test "$enableval" = yes; then
8205 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8206 else
8207 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8208 fi
8209
8210 else
8211
8212 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 else
8216 no_cache=1
8217 fi
8218
8219 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8220
8221 fi;
8222
8223 eval "$ac_cv_use_bmpbutton"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8226 fi
8227
8228 if test "$wxUSE_BMPBUTTON" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8231 else
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8234 fi
8235
8236
8237 enablestring=
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8240 no_cache=0
8241 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8242 if test "${enable_bmpcombobox+set}" = set; then
8243 enableval="$enable_bmpcombobox"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8247 else
8248 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8261
8262 fi;
8263
8264 eval "$ac_cv_use_bmpcombobox"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8267 fi
8268
8269 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8272 else
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8275 fi
8276
8277
8278 enablestring=
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8281 no_cache=0
8282 # Check whether --enable-calendar or --disable-calendar was given.
8283 if test "${enable_calendar+set}" = set; then
8284 enableval="$enable_calendar"
8285
8286 if test "$enableval" = yes; then
8287 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8288 else
8289 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8290 fi
8291
8292 else
8293
8294 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8297 else
8298 no_cache=1
8299 fi
8300
8301 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8302
8303 fi;
8304
8305 eval "$ac_cv_use_calendar"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8308 fi
8309
8310 if test "$wxUSE_CALCTRL" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8313 else
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8316 fi
8317
8318
8319 enablestring=
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8322 no_cache=0
8323 # Check whether --enable-caret or --disable-caret was given.
8324 if test "${enable_caret+set}" = set; then
8325 enableval="$enable_caret"
8326
8327 if test "$enableval" = yes; then
8328 ac_cv_use_caret='wxUSE_CARET=yes'
8329 else
8330 ac_cv_use_caret='wxUSE_CARET=no'
8331 fi
8332
8333 else
8334
8335 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8338 else
8339 no_cache=1
8340 fi
8341
8342 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8343
8344 fi;
8345
8346 eval "$ac_cv_use_caret"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8349 fi
8350
8351 if test "$wxUSE_CARET" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8354 else
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8357 fi
8358
8359
8360 enablestring=
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8363 no_cache=0
8364 # Check whether --enable-checkbox or --disable-checkbox was given.
8365 if test "${enable_checkbox+set}" = set; then
8366 enableval="$enable_checkbox"
8367
8368 if test "$enableval" = yes; then
8369 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8370 else
8371 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8372 fi
8373
8374 else
8375
8376 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8379 else
8380 no_cache=1
8381 fi
8382
8383 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8384
8385 fi;
8386
8387 eval "$ac_cv_use_checkbox"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8390 fi
8391
8392 if test "$wxUSE_CHECKBOX" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8395 else
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8398 fi
8399
8400
8401 enablestring=
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8404 no_cache=0
8405 # Check whether --enable-checklst or --disable-checklst was given.
8406 if test "${enable_checklst+set}" = set; then
8407 enableval="$enable_checklst"
8408
8409 if test "$enableval" = yes; then
8410 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8411 else
8412 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8413 fi
8414
8415 else
8416
8417 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8420 else
8421 no_cache=1
8422 fi
8423
8424 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8425
8426 fi;
8427
8428 eval "$ac_cv_use_checklst"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8431 fi
8432
8433 if test "$wxUSE_CHECKLST" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8436 else
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8439 fi
8440
8441
8442 enablestring=
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8445 no_cache=0
8446 # Check whether --enable-choice or --disable-choice was given.
8447 if test "${enable_choice+set}" = set; then
8448 enableval="$enable_choice"
8449
8450 if test "$enableval" = yes; then
8451 ac_cv_use_choice='wxUSE_CHOICE=yes'
8452 else
8453 ac_cv_use_choice='wxUSE_CHOICE=no'
8454 fi
8455
8456 else
8457
8458 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8461 else
8462 no_cache=1
8463 fi
8464
8465 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8466
8467 fi;
8468
8469 eval "$ac_cv_use_choice"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8472 fi
8473
8474 if test "$wxUSE_CHOICE" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8477 else
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8480 fi
8481
8482
8483 enablestring=
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8486 no_cache=0
8487 # Check whether --enable-choicebook or --disable-choicebook was given.
8488 if test "${enable_choicebook+set}" = set; then
8489 enableval="$enable_choicebook"
8490
8491 if test "$enableval" = yes; then
8492 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8493 else
8494 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8495 fi
8496
8497 else
8498
8499 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 else
8503 no_cache=1
8504 fi
8505
8506 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8507
8508 fi;
8509
8510 eval "$ac_cv_use_choicebook"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8513 fi
8514
8515 if test "$wxUSE_CHOICEBOOK" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8518 else
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8521 fi
8522
8523
8524 enablestring=
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8527 no_cache=0
8528 # Check whether --enable-collpane or --disable-collpane was given.
8529 if test "${enable_collpane+set}" = set; then
8530 enableval="$enable_collpane"
8531
8532 if test "$enableval" = yes; then
8533 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8534 else
8535 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8543 else
8544 no_cache=1
8545 fi
8546
8547 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8548
8549 fi;
8550
8551 eval "$ac_cv_use_collpane"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8554 fi
8555
8556 if test "$wxUSE_COLLPANE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8559 else
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8562 fi
8563
8564
8565 enablestring=
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8568 no_cache=0
8569 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8570 if test "${enable_colourpicker+set}" = set; then
8571 enableval="$enable_colourpicker"
8572
8573 if test "$enableval" = yes; then
8574 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8575 else
8576 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8577 fi
8578
8579 else
8580
8581 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8584 else
8585 no_cache=1
8586 fi
8587
8588 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8589
8590 fi;
8591
8592 eval "$ac_cv_use_colourpicker"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8595 fi
8596
8597 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8600 else
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8603 fi
8604
8605
8606 enablestring=
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8609 no_cache=0
8610 # Check whether --enable-combobox or --disable-combobox was given.
8611 if test "${enable_combobox+set}" = set; then
8612 enableval="$enable_combobox"
8613
8614 if test "$enableval" = yes; then
8615 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8616 else
8617 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8618 fi
8619
8620 else
8621
8622 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 else
8626 no_cache=1
8627 fi
8628
8629 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8630
8631 fi;
8632
8633 eval "$ac_cv_use_combobox"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test "$wxUSE_COMBOBOX" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8641 else
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8644 fi
8645
8646
8647 enablestring=
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8650 no_cache=0
8651 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8652 if test "${enable_comboctrl+set}" = set; then
8653 enableval="$enable_comboctrl"
8654
8655 if test "$enableval" = yes; then
8656 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8657 else
8658 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8659 fi
8660
8661 else
8662
8663 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8666 else
8667 no_cache=1
8668 fi
8669
8670 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8671
8672 fi;
8673
8674 eval "$ac_cv_use_comboctrl"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_COMBOCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8682 else
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8685 fi
8686
8687
8688 enablestring=
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8691 no_cache=0
8692 # Check whether --enable-datepick or --disable-datepick was given.
8693 if test "${enable_datepick+set}" = set; then
8694 enableval="$enable_datepick"
8695
8696 if test "$enableval" = yes; then
8697 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8698 else
8699 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8700 fi
8701
8702 else
8703
8704 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8707 else
8708 no_cache=1
8709 fi
8710
8711 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8712
8713 fi;
8714
8715 eval "$ac_cv_use_datepick"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_DATEPICKCTRL" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8723 else
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8726 fi
8727
8728
8729 enablestring=
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8732 no_cache=0
8733 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8734 if test "${enable_dirpicker+set}" = set; then
8735 enableval="$enable_dirpicker"
8736
8737 if test "$enableval" = yes; then
8738 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8739 else
8740 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8741 fi
8742
8743 else
8744
8745 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8748 else
8749 no_cache=1
8750 fi
8751
8752 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8753
8754 fi;
8755
8756 eval "$ac_cv_use_dirpicker"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8764 else
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8767 fi
8768
8769
8770 enablestring=
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8773 no_cache=0
8774 # Check whether --enable-display or --disable-display was given.
8775 if test "${enable_display+set}" = set; then
8776 enableval="$enable_display"
8777
8778 if test "$enableval" = yes; then
8779 ac_cv_use_display='wxUSE_DISPLAY=yes'
8780 else
8781 ac_cv_use_display='wxUSE_DISPLAY=no'
8782 fi
8783
8784 else
8785
8786 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 else
8790 no_cache=1
8791 fi
8792
8793 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8794
8795 fi;
8796
8797 eval "$ac_cv_use_display"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8800 fi
8801
8802 if test "$wxUSE_DISPLAY" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8805 else
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8808 fi
8809
8810
8811 enablestring=
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8814 no_cache=0
8815 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8816 if test "${enable_detect_sm+set}" = set; then
8817 enableval="$enable_detect_sm"
8818
8819 if test "$enableval" = yes; then
8820 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8821 else
8822 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8835
8836 fi;
8837
8838 eval "$ac_cv_use_detect_sm"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test "$wxUSE_DETECT_SM" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8846 else
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8849 fi
8850
8851
8852 enablestring=
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8855 no_cache=0
8856 # Check whether --enable-filepicker or --disable-filepicker was given.
8857 if test "${enable_filepicker+set}" = set; then
8858 enableval="$enable_filepicker"
8859
8860 if test "$enableval" = yes; then
8861 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8862 else
8863 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8876
8877 fi;
8878
8879 eval "$ac_cv_use_filepicker"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8882 fi
8883
8884 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8887 else
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8890 fi
8891
8892
8893 enablestring=
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8896 no_cache=0
8897 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8898 if test "${enable_fontpicker+set}" = set; then
8899 enableval="$enable_fontpicker"
8900
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8903 else
8904 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8905 fi
8906
8907 else
8908
8909 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8912 else
8913 no_cache=1
8914 fi
8915
8916 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8917
8918 fi;
8919
8920 eval "$ac_cv_use_fontpicker"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8923 fi
8924
8925 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8928 else
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8931 fi
8932
8933
8934 enablestring=
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8937 no_cache=0
8938 # Check whether --enable-gauge or --disable-gauge was given.
8939 if test "${enable_gauge+set}" = set; then
8940 enableval="$enable_gauge"
8941
8942 if test "$enableval" = yes; then
8943 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8944 else
8945 ac_cv_use_gauge='wxUSE_GAUGE=no'
8946 fi
8947
8948 else
8949
8950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8953 else
8954 no_cache=1
8955 fi
8956
8957 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8958
8959 fi;
8960
8961 eval "$ac_cv_use_gauge"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test "$wxUSE_GAUGE" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8969 else
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8972 fi
8973
8974
8975 enablestring=
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8978 no_cache=0
8979 # Check whether --enable-grid or --disable-grid was given.
8980 if test "${enable_grid+set}" = set; then
8981 enableval="$enable_grid"
8982
8983 if test "$enableval" = yes; then
8984 ac_cv_use_grid='wxUSE_GRID=yes'
8985 else
8986 ac_cv_use_grid='wxUSE_GRID=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8999
9000 fi;
9001
9002 eval "$ac_cv_use_grid"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9005 fi
9006
9007 if test "$wxUSE_GRID" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9010 else
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9013 fi
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9021 if test "${enable_dataviewctrl+set}" = set; then
9022 enableval="$enable_dataviewctrl"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9026 else
9027 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9040
9041 fi;
9042
9043 eval "$ac_cv_use_dataviewctrl"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9062 if test "${enable_hyperlink+set}" = set; then
9063 enableval="$enable_hyperlink"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9067 else
9068 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9081
9082 fi;
9083
9084 eval "$ac_cv_use_hyperlink"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-imaglist or --disable-imaglist was given.
9103 if test "${enable_imaglist+set}" = set; then
9104 enableval="$enable_imaglist"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9108 else
9109 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9122
9123 fi;
9124
9125 eval "$ac_cv_use_imaglist"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_IMAGLIST" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-listbook or --disable-listbook was given.
9144 if test "${enable_listbook+set}" = set; then
9145 enableval="$enable_listbook"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9149 else
9150 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9163
9164 fi;
9165
9166 eval "$ac_cv_use_listbook"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_LISTBOOK" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-listbox or --disable-listbox was given.
9185 if test "${enable_listbox+set}" = set; then
9186 enableval="$enable_listbox"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9190 else
9191 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9204
9205 fi;
9206
9207 eval "$ac_cv_use_listbox"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_LISTBOX" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-listctrl or --disable-listctrl was given.
9226 if test "${enable_listctrl+set}" = set; then
9227 enableval="$enable_listctrl"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9231 else
9232 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9245
9246 fi;
9247
9248 eval "$ac_cv_use_listctrl"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_LISTCTRL" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-notebook or --disable-notebook was given.
9267 if test "${enable_notebook+set}" = set; then
9268 enableval="$enable_notebook"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9272 else
9273 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9286
9287 fi;
9288
9289 eval "$ac_cv_use_notebook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_NOTEBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9308 if test "${enable_odcombobox+set}" = set; then
9309 enableval="$enable_odcombobox"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9313 else
9314 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9327
9328 fi;
9329
9330 eval "$ac_cv_use_odcombobox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_ODCOMBOBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-radiobox or --disable-radiobox was given.
9349 if test "${enable_radiobox+set}" = set; then
9350 enableval="$enable_radiobox"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9354 else
9355 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9368
9369 fi;
9370
9371 eval "$ac_cv_use_radiobox"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_RADIOBOX" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9390 if test "${enable_radiobtn+set}" = set; then
9391 enableval="$enable_radiobtn"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9395 else
9396 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9409
9410 fi;
9411
9412 eval "$ac_cv_use_radiobtn"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_RADIOBTN" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426 enablestring=
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9429 no_cache=0
9430 # Check whether --enable-sash or --disable-sash was given.
9431 if test "${enable_sash+set}" = set; then
9432 enableval="$enable_sash"
9433
9434 if test "$enableval" = yes; then
9435 ac_cv_use_sash='wxUSE_SASH=yes'
9436 else
9437 ac_cv_use_sash='wxUSE_SASH=no'
9438 fi
9439
9440 else
9441
9442 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9445 else
9446 no_cache=1
9447 fi
9448
9449 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9450
9451 fi;
9452
9453 eval "$ac_cv_use_sash"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9456 fi
9457
9458 if test "$wxUSE_SASH" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9461 else
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9464 fi
9465
9466
9467 enablestring=
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9470 no_cache=0
9471 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9472 if test "${enable_scrollbar+set}" = set; then
9473 enableval="$enable_scrollbar"
9474
9475 if test "$enableval" = yes; then
9476 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9477 else
9478 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9479 fi
9480
9481 else
9482
9483 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9486 else
9487 no_cache=1
9488 fi
9489
9490 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9491
9492 fi;
9493
9494 eval "$ac_cv_use_scrollbar"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9497 fi
9498
9499 if test "$wxUSE_SCROLLBAR" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9502 else
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9505 fi
9506
9507
9508 enablestring=
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9511 no_cache=0
9512 # Check whether --enable-slider or --disable-slider was given.
9513 if test "${enable_slider+set}" = set; then
9514 enableval="$enable_slider"
9515
9516 if test "$enableval" = yes; then
9517 ac_cv_use_slider='wxUSE_SLIDER=yes'
9518 else
9519 ac_cv_use_slider='wxUSE_SLIDER=no'
9520 fi
9521
9522 else
9523
9524 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9527 else
9528 no_cache=1
9529 fi
9530
9531 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9532
9533 fi;
9534
9535 eval "$ac_cv_use_slider"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9538 fi
9539
9540 if test "$wxUSE_SLIDER" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9543 else
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9546 fi
9547
9548
9549 enablestring=
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9554 if test "${enable_spinbtn+set}" = set; then
9555 enableval="$enable_spinbtn"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9559 else
9560 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9573
9574 fi;
9575
9576 eval "$ac_cv_use_spinbtn"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test "$wxUSE_SPINBTN" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9584 else
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9587 fi
9588
9589
9590 enablestring=
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9593 no_cache=0
9594 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9595 if test "${enable_spinctrl+set}" = set; then
9596 enableval="$enable_spinctrl"
9597
9598 if test "$enableval" = yes; then
9599 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9600 else
9601 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9602 fi
9603
9604 else
9605
9606 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 else
9610 no_cache=1
9611 fi
9612
9613 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9614
9615 fi;
9616
9617 eval "$ac_cv_use_spinctrl"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9620 fi
9621
9622 if test "$wxUSE_SPINCTRL" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9625 else
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9628 fi
9629
9630
9631 enablestring=
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9634 no_cache=0
9635 # Check whether --enable-splitter or --disable-splitter was given.
9636 if test "${enable_splitter+set}" = set; then
9637 enableval="$enable_splitter"
9638
9639 if test "$enableval" = yes; then
9640 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9641 else
9642 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9643 fi
9644
9645 else
9646
9647 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9650 else
9651 no_cache=1
9652 fi
9653
9654 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9655
9656 fi;
9657
9658 eval "$ac_cv_use_splitter"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9661 fi
9662
9663 if test "$wxUSE_SPLITTER" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9666 else
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9669 fi
9670
9671
9672 enablestring=
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9675 no_cache=0
9676 # Check whether --enable-statbmp or --disable-statbmp was given.
9677 if test "${enable_statbmp+set}" = set; then
9678 enableval="$enable_statbmp"
9679
9680 if test "$enableval" = yes; then
9681 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9682 else
9683 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9684 fi
9685
9686 else
9687
9688 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 else
9692 no_cache=1
9693 fi
9694
9695 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9696
9697 fi;
9698
9699 eval "$ac_cv_use_statbmp"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test "$wxUSE_STATBMP" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9707 else
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9710 fi
9711
9712
9713 enablestring=
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9716 no_cache=0
9717 # Check whether --enable-statbox or --disable-statbox was given.
9718 if test "${enable_statbox+set}" = set; then
9719 enableval="$enable_statbox"
9720
9721 if test "$enableval" = yes; then
9722 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9723 else
9724 ac_cv_use_statbox='wxUSE_STATBOX=no'
9725 fi
9726
9727 else
9728
9729 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9732 else
9733 no_cache=1
9734 fi
9735
9736 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9737
9738 fi;
9739
9740 eval "$ac_cv_use_statbox"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test "$wxUSE_STATBOX" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9748 else
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9751 fi
9752
9753
9754 enablestring=
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9757 no_cache=0
9758 # Check whether --enable-statline or --disable-statline was given.
9759 if test "${enable_statline+set}" = set; then
9760 enableval="$enable_statline"
9761
9762 if test "$enableval" = yes; then
9763 ac_cv_use_statline='wxUSE_STATLINE=yes'
9764 else
9765 ac_cv_use_statline='wxUSE_STATLINE=no'
9766 fi
9767
9768 else
9769
9770 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9773 else
9774 no_cache=1
9775 fi
9776
9777 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9778
9779 fi;
9780
9781 eval "$ac_cv_use_statline"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9784 fi
9785
9786 if test "$wxUSE_STATLINE" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9789 else
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9792 fi
9793
9794
9795 enablestring=
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9798 no_cache=0
9799 # Check whether --enable-stattext or --disable-stattext was given.
9800 if test "${enable_stattext+set}" = set; then
9801 enableval="$enable_stattext"
9802
9803 if test "$enableval" = yes; then
9804 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9805 else
9806 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9819
9820 fi;
9821
9822 eval "$ac_cv_use_stattext"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9825 fi
9826
9827 if test "$wxUSE_STATTEXT" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9830 else
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9833 fi
9834
9835
9836 enablestring=
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9839 no_cache=0
9840 # Check whether --enable-statusbar or --disable-statusbar was given.
9841 if test "${enable_statusbar+set}" = set; then
9842 enableval="$enable_statusbar"
9843
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9846 else
9847 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9848 fi
9849
9850 else
9851
9852 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 else
9856 no_cache=1
9857 fi
9858
9859 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9860
9861 fi;
9862
9863 eval "$ac_cv_use_statusbar"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test "$wxUSE_STATUSBAR" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9871 else
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9874 fi
9875
9876
9877 enablestring=
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9880 no_cache=0
9881 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9882 if test "${enable_tabdialog+set}" = set; then
9883 enableval="$enable_tabdialog"
9884
9885 if test "$enableval" = yes; then
9886 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9887 else
9888 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9889 fi
9890
9891 else
9892
9893 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9896 else
9897 no_cache=1
9898 fi
9899
9900 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9901
9902 fi;
9903
9904 eval "$ac_cv_use_tabdialog"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9907 fi
9908
9909 if test "$wxUSE_TAB_DIALOG" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9912 else
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9915 fi
9916
9917
9918 enablestring=
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9921 no_cache=0
9922 # Check whether --enable-textctrl or --disable-textctrl was given.
9923 if test "${enable_textctrl+set}" = set; then
9924 enableval="$enable_textctrl"
9925
9926 if test "$enableval" = yes; then
9927 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9928 else
9929 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9930 fi
9931
9932 else
9933
9934 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9937 else
9938 no_cache=1
9939 fi
9940
9941 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9942
9943 fi;
9944
9945 eval "$ac_cv_use_textctrl"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9948 fi
9949
9950 if test "$wxUSE_TEXTCTRL" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9953 else
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9956 fi
9957
9958
9959 enablestring=
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9962 no_cache=0
9963 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9964 if test "${enable_togglebtn+set}" = set; then
9965 enableval="$enable_togglebtn"
9966
9967 if test "$enableval" = yes; then
9968 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9969 else
9970 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9971 fi
9972
9973 else
9974
9975 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9978 else
9979 no_cache=1
9980 fi
9981
9982 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9983
9984 fi;
9985
9986 eval "$ac_cv_use_togglebtn"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9989 fi
9990
9991 if test "$wxUSE_TOGGLEBTN" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9994 else
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
9997 fi
9998
9999
10000 enablestring=
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10003 no_cache=0
10004 # Check whether --enable-toolbar or --disable-toolbar was given.
10005 if test "${enable_toolbar+set}" = set; then
10006 enableval="$enable_toolbar"
10007
10008 if test "$enableval" = yes; then
10009 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10010 else
10011 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10012 fi
10013
10014 else
10015
10016 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10019 else
10020 no_cache=1
10021 fi
10022
10023 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10024
10025 fi;
10026
10027 eval "$ac_cv_use_toolbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10030 fi
10031
10032 if test "$wxUSE_TOOLBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10035 else
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10038 fi
10039
10040
10041 enablestring=
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10044 no_cache=0
10045 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10046 if test "${enable_tbarnative+set}" = set; then
10047 enableval="$enable_tbarnative"
10048
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10051 else
10052 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10053 fi
10054
10055 else
10056
10057 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10060 else
10061 no_cache=1
10062 fi
10063
10064 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10065
10066 fi;
10067
10068 eval "$ac_cv_use_tbarnative"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10071 fi
10072
10073 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10076 else
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10079 fi
10080
10081
10082 enablestring=
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10085 no_cache=0
10086 # Check whether --enable-treebook or --disable-treebook was given.
10087 if test "${enable_treebook+set}" = set; then
10088 enableval="$enable_treebook"
10089
10090 if test "$enableval" = yes; then
10091 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10092 else
10093 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10094 fi
10095
10096 else
10097
10098 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10101 else
10102 no_cache=1
10103 fi
10104
10105 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10106
10107 fi;
10108
10109 eval "$ac_cv_use_treebook"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10112 fi
10113
10114 if test "$wxUSE_TREEBOOK" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10117 else
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10120 fi
10121
10122
10123 enablestring=
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10126 no_cache=0
10127 # Check whether --enable-toolbook or --disable-toolbook was given.
10128 if test "${enable_toolbook+set}" = set; then
10129 enableval="$enable_toolbook"
10130
10131 if test "$enableval" = yes; then
10132 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10133 else
10134 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10147
10148 fi;
10149
10150 eval "$ac_cv_use_toolbook"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10153 fi
10154
10155 if test "$wxUSE_TOOLBOOK" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10158 else
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10161 fi
10162
10163
10164 enablestring=
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10167 no_cache=0
10168 # Check whether --enable-treectrl or --disable-treectrl was given.
10169 if test "${enable_treectrl+set}" = set; then
10170 enableval="$enable_treectrl"
10171
10172 if test "$enableval" = yes; then
10173 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10174 else
10175 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10176 fi
10177
10178 else
10179
10180 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10183 else
10184 no_cache=1
10185 fi
10186
10187 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10188
10189 fi;
10190
10191 eval "$ac_cv_use_treectrl"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10194 fi
10195
10196 if test "$wxUSE_TREECTRL" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10199 else
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10202 fi
10203
10204
10205 enablestring=
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10208 no_cache=0
10209 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10210 if test "${enable_tipwindow+set}" = set; then
10211 enableval="$enable_tipwindow"
10212
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10215 else
10216 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10217 fi
10218
10219 else
10220
10221 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10224 else
10225 no_cache=1
10226 fi
10227
10228 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10229
10230 fi;
10231
10232 eval "$ac_cv_use_tipwindow"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10235 fi
10236
10237 if test "$wxUSE_TIPWINDOW" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10240 else
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10243 fi
10244
10245
10246 enablestring=
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10249 no_cache=0
10250 # Check whether --enable-popupwin or --disable-popupwin was given.
10251 if test "${enable_popupwin+set}" = set; then
10252 enableval="$enable_popupwin"
10253
10254 if test "$enableval" = yes; then
10255 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10256 else
10257 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10258 fi
10259
10260 else
10261
10262 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10265 else
10266 no_cache=1
10267 fi
10268
10269 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10270
10271 fi;
10272
10273 eval "$ac_cv_use_popupwin"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10276 fi
10277
10278 if test "$wxUSE_POPUPWIN" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10281 else
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10284 fi
10285
10286
10287
10288
10289 enablestring=
10290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10292 no_cache=0
10293 # Check whether --enable-commondlg or --disable-commondlg was given.
10294 if test "${enable_commondlg+set}" = set; then
10295 enableval="$enable_commondlg"
10296
10297 if test "$enableval" = yes; then
10298 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10299 else
10300 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10301 fi
10302
10303 else
10304
10305 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10306 if test "x$LINE" != x ; then
10307 eval "DEFAULT_$LINE"
10308 else
10309 no_cache=1
10310 fi
10311
10312 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10313
10314 fi;
10315
10316 eval "$ac_cv_use_commondlg"
10317 if test "$no_cache" != 1; then
10318 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10319 fi
10320
10321 if test "$wxUSE_COMMONDLGS" = yes; then
10322 echo "$as_me:$LINENO: result: yes" >&5
10323 echo "${ECHO_T}yes" >&6
10324 else
10325 echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6
10327 fi
10328
10329
10330 enablestring=
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10335 if test "${enable_aboutdlg+set}" = set; then
10336 enableval="$enable_aboutdlg"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10340 else
10341 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10354
10355 fi;
10356
10357 eval "$ac_cv_use_aboutdlg"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test "$wxUSE_ABOUTDLG" = yes; then
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365 else
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10368 fi
10369
10370
10371 enablestring=
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10374 no_cache=0
10375 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10376 if test "${enable_choicedlg+set}" = set; then
10377 enableval="$enable_choicedlg"
10378
10379 if test "$enableval" = yes; then
10380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10381 else
10382 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10383 fi
10384
10385 else
10386
10387 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 else
10391 no_cache=1
10392 fi
10393
10394 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10395
10396 fi;
10397
10398 eval "$ac_cv_use_choicedlg"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10401 fi
10402
10403 if test "$wxUSE_CHOICEDLG" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10406 else
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10409 fi
10410
10411
10412 enablestring=
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10415 no_cache=0
10416 # Check whether --enable-coldlg or --disable-coldlg was given.
10417 if test "${enable_coldlg+set}" = set; then
10418 enableval="$enable_coldlg"
10419
10420 if test "$enableval" = yes; then
10421 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10422 else
10423 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10424 fi
10425
10426 else
10427
10428 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10431 else
10432 no_cache=1
10433 fi
10434
10435 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10436
10437 fi;
10438
10439 eval "$ac_cv_use_coldlg"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10442 fi
10443
10444 if test "$wxUSE_COLOURDLG" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10447 else
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10450 fi
10451
10452
10453 enablestring=
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10456 no_cache=0
10457 # Check whether --enable-filedlg or --disable-filedlg was given.
10458 if test "${enable_filedlg+set}" = set; then
10459 enableval="$enable_filedlg"
10460
10461 if test "$enableval" = yes; then
10462 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10463 else
10464 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10465 fi
10466
10467 else
10468
10469 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10472 else
10473 no_cache=1
10474 fi
10475
10476 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10477
10478 fi;
10479
10480 eval "$ac_cv_use_filedlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test "$wxUSE_FILEDLG" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10488 else
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10491 fi
10492
10493
10494 enablestring=
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10497 no_cache=0
10498 # Check whether --enable-finddlg or --disable-finddlg was given.
10499 if test "${enable_finddlg+set}" = set; then
10500 enableval="$enable_finddlg"
10501
10502 if test "$enableval" = yes; then
10503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10504 else
10505 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10506 fi
10507
10508 else
10509
10510 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10513 else
10514 no_cache=1
10515 fi
10516
10517 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10518
10519 fi;
10520
10521 eval "$ac_cv_use_finddlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10524 fi
10525
10526 if test "$wxUSE_FINDREPLDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10529 else
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10532 fi
10533
10534
10535 enablestring=
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10538 no_cache=0
10539 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10540 if test "${enable_fontdlg+set}" = set; then
10541 enableval="$enable_fontdlg"
10542
10543 if test "$enableval" = yes; then
10544 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10545 else
10546 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10547 fi
10548
10549 else
10550
10551 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10554 else
10555 no_cache=1
10556 fi
10557
10558 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10559
10560 fi;
10561
10562 eval "$ac_cv_use_fontdlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10565 fi
10566
10567 if test "$wxUSE_FONTDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10570 else
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10573 fi
10574
10575
10576 enablestring=
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10579 no_cache=0
10580 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10581 if test "${enable_dirdlg+set}" = set; then
10582 enableval="$enable_dirdlg"
10583
10584 if test "$enableval" = yes; then
10585 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10586 else
10587 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10588 fi
10589
10590 else
10591
10592 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10595 else
10596 no_cache=1
10597 fi
10598
10599 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10600
10601 fi;
10602
10603 eval "$ac_cv_use_dirdlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10606 fi
10607
10608 if test "$wxUSE_DIRDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10611 else
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10614 fi
10615
10616
10617 enablestring=
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10620 no_cache=0
10621 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10622 if test "${enable_msgdlg+set}" = set; then
10623 enableval="$enable_msgdlg"
10624
10625 if test "$enableval" = yes; then
10626 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10627 else
10628 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10641
10642 fi;
10643
10644 eval "$ac_cv_use_msgdlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10647 fi
10648
10649 if test "$wxUSE_MSGDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10652 else
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10655 fi
10656
10657
10658 enablestring=
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10661 no_cache=0
10662 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10663 if test "${enable_numberdlg+set}" = set; then
10664 enableval="$enable_numberdlg"
10665
10666 if test "$enableval" = yes; then
10667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10668 else
10669 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10670 fi
10671
10672 else
10673
10674 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 else
10678 no_cache=1
10679 fi
10680
10681 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10682
10683 fi;
10684
10685 eval "$ac_cv_use_numberdlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10688 fi
10689
10690 if test "$wxUSE_NUMBERDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10693 else
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10696 fi
10697
10698
10699 enablestring=
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10702 no_cache=0
10703 # Check whether --enable-splash or --disable-splash was given.
10704 if test "${enable_splash+set}" = set; then
10705 enableval="$enable_splash"
10706
10707 if test "$enableval" = yes; then
10708 ac_cv_use_splash='wxUSE_SPLASH=yes'
10709 else
10710 ac_cv_use_splash='wxUSE_SPLASH=no'
10711 fi
10712
10713 else
10714
10715 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10718 else
10719 no_cache=1
10720 fi
10721
10722 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10723
10724 fi;
10725
10726 eval "$ac_cv_use_splash"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10729 fi
10730
10731 if test "$wxUSE_SPLASH" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10734 else
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10737 fi
10738
10739
10740 enablestring=
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10743 no_cache=0
10744 # Check whether --enable-textdlg or --disable-textdlg was given.
10745 if test "${enable_textdlg+set}" = set; then
10746 enableval="$enable_textdlg"
10747
10748 if test "$enableval" = yes; then
10749 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10750 else
10751 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10752 fi
10753
10754 else
10755
10756 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10759 else
10760 no_cache=1
10761 fi
10762
10763 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10764
10765 fi;
10766
10767 eval "$ac_cv_use_textdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10770 fi
10771
10772 if test "$wxUSE_TEXTDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10775 else
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10778 fi
10779
10780
10781 enablestring=
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10784 no_cache=0
10785 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10786 if test "${enable_tipdlg+set}" = set; then
10787 enableval="$enable_tipdlg"
10788
10789 if test "$enableval" = yes; then
10790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10791 else
10792 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10793 fi
10794
10795 else
10796
10797 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 else
10801 no_cache=1
10802 fi
10803
10804 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10805
10806 fi;
10807
10808 eval "$ac_cv_use_tipdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10811 fi
10812
10813 if test "$wxUSE_STARTUP_TIPS" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10816 else
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10819 fi
10820
10821
10822 enablestring=
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10825 no_cache=0
10826 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10827 if test "${enable_progressdlg+set}" = set; then
10828 enableval="$enable_progressdlg"
10829
10830 if test "$enableval" = yes; then
10831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10832 else
10833 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10834 fi
10835
10836 else
10837
10838 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10841 else
10842 no_cache=1
10843 fi
10844
10845 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10846
10847 fi;
10848
10849 eval "$ac_cv_use_progressdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10852 fi
10853
10854 if test "$wxUSE_PROGRESSDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10857 else
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10860 fi
10861
10862
10863 enablestring=
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10866 no_cache=0
10867 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10868 if test "${enable_wizarddlg+set}" = set; then
10869 enableval="$enable_wizarddlg"
10870
10871 if test "$enableval" = yes; then
10872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10873 else
10874 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10875 fi
10876
10877 else
10878
10879 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10882 else
10883 no_cache=1
10884 fi
10885
10886 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10887
10888 fi;
10889
10890 eval "$ac_cv_use_wizarddlg"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10893 fi
10894
10895 if test "$wxUSE_WIZARDDLG" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10898 else
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10901 fi
10902
10903
10904
10905
10906 enablestring=
10907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10909 no_cache=0
10910 # Check whether --enable-menus or --disable-menus was given.
10911 if test "${enable_menus+set}" = set; then
10912 enableval="$enable_menus"
10913
10914 if test "$enableval" = yes; then
10915 ac_cv_use_menus='wxUSE_MENUS=yes'
10916 else
10917 ac_cv_use_menus='wxUSE_MENUS=no'
10918 fi
10919
10920 else
10921
10922 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10923 if test "x$LINE" != x ; then
10924 eval "DEFAULT_$LINE"
10925 else
10926 no_cache=1
10927 fi
10928
10929 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10930
10931 fi;
10932
10933 eval "$ac_cv_use_menus"
10934 if test "$no_cache" != 1; then
10935 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10936 fi
10937
10938 if test "$wxUSE_MENUS" = yes; then
10939 echo "$as_me:$LINENO: result: yes" >&5
10940 echo "${ECHO_T}yes" >&6
10941 else
10942 echo "$as_me:$LINENO: result: no" >&5
10943 echo "${ECHO_T}no" >&6
10944 fi
10945
10946
10947 enablestring=
10948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10949 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10950 no_cache=0
10951 # Check whether --enable-miniframe or --disable-miniframe was given.
10952 if test "${enable_miniframe+set}" = set; then
10953 enableval="$enable_miniframe"
10954
10955 if test "$enableval" = yes; then
10956 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10957 else
10958 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10959 fi
10960
10961 else
10962
10963 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10964 if test "x$LINE" != x ; then
10965 eval "DEFAULT_$LINE"
10966 else
10967 no_cache=1
10968 fi
10969
10970 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10971
10972 fi;
10973
10974 eval "$ac_cv_use_miniframe"
10975 if test "$no_cache" != 1; then
10976 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10977 fi
10978
10979 if test "$wxUSE_MINIFRAME" = yes; then
10980 echo "$as_me:$LINENO: result: yes" >&5
10981 echo "${ECHO_T}yes" >&6
10982 else
10983 echo "$as_me:$LINENO: result: no" >&5
10984 echo "${ECHO_T}no" >&6
10985 fi
10986
10987
10988 enablestring=
10989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10991 no_cache=0
10992 # Check whether --enable-tooltips or --disable-tooltips was given.
10993 if test "${enable_tooltips+set}" = set; then
10994 enableval="$enable_tooltips"
10995
10996 if test "$enableval" = yes; then
10997 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10998 else
10999 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11000 fi
11001
11002 else
11003
11004 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11005 if test "x$LINE" != x ; then
11006 eval "DEFAULT_$LINE"
11007 else
11008 no_cache=1
11009 fi
11010
11011 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11012
11013 fi;
11014
11015 eval "$ac_cv_use_tooltips"
11016 if test "$no_cache" != 1; then
11017 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11018 fi
11019
11020 if test "$wxUSE_TOOLTIPS" = yes; then
11021 echo "$as_me:$LINENO: result: yes" >&5
11022 echo "${ECHO_T}yes" >&6
11023 else
11024 echo "$as_me:$LINENO: result: no" >&5
11025 echo "${ECHO_T}no" >&6
11026 fi
11027
11028
11029 enablestring=
11030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11031 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11032 no_cache=0
11033 # Check whether --enable-splines or --disable-splines was given.
11034 if test "${enable_splines+set}" = set; then
11035 enableval="$enable_splines"
11036
11037 if test "$enableval" = yes; then
11038 ac_cv_use_splines='wxUSE_SPLINES=yes'
11039 else
11040 ac_cv_use_splines='wxUSE_SPLINES=no'
11041 fi
11042
11043 else
11044
11045 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11046 if test "x$LINE" != x ; then
11047 eval "DEFAULT_$LINE"
11048 else
11049 no_cache=1
11050 fi
11051
11052 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11053
11054 fi;
11055
11056 eval "$ac_cv_use_splines"
11057 if test "$no_cache" != 1; then
11058 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11059 fi
11060
11061 if test "$wxUSE_SPLINES" = yes; then
11062 echo "$as_me:$LINENO: result: yes" >&5
11063 echo "${ECHO_T}yes" >&6
11064 else
11065 echo "$as_me:$LINENO: result: no" >&5
11066 echo "${ECHO_T}no" >&6
11067 fi
11068
11069
11070 enablestring=
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11073 no_cache=0
11074 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11075 if test "${enable_mousewheel+set}" = set; then
11076 enableval="$enable_mousewheel"
11077
11078 if test "$enableval" = yes; then
11079 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11080 else
11081 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11082 fi
11083
11084 else
11085
11086 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11089 else
11090 no_cache=1
11091 fi
11092
11093 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11094
11095 fi;
11096
11097 eval "$ac_cv_use_mousewheel"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11100 fi
11101
11102 if test "$wxUSE_MOUSEWHEEL" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11105 else
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11108 fi
11109
11110
11111 enablestring=
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11114 no_cache=0
11115 # Check whether --enable-validators or --disable-validators was given.
11116 if test "${enable_validators+set}" = set; then
11117 enableval="$enable_validators"
11118
11119 if test "$enableval" = yes; then
11120 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11121 else
11122 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11123 fi
11124
11125 else
11126
11127 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11130 else
11131 no_cache=1
11132 fi
11133
11134 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11135
11136 fi;
11137
11138 eval "$ac_cv_use_validators"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11141 fi
11142
11143 if test "$wxUSE_VALIDATORS" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11146 else
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11149 fi
11150
11151
11152 enablestring=
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11155 no_cache=0
11156 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11157 if test "${enable_busyinfo+set}" = set; then
11158 enableval="$enable_busyinfo"
11159
11160 if test "$enableval" = yes; then
11161 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11162 else
11163 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11164 fi
11165
11166 else
11167
11168 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11171 else
11172 no_cache=1
11173 fi
11174
11175 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11176
11177 fi;
11178
11179 eval "$ac_cv_use_busyinfo"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11182 fi
11183
11184 if test "$wxUSE_BUSYINFO" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11187 else
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11190 fi
11191
11192
11193 enablestring=
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11196 no_cache=0
11197 # Check whether --enable-joystick or --disable-joystick was given.
11198 if test "${enable_joystick+set}" = set; then
11199 enableval="$enable_joystick"
11200
11201 if test "$enableval" = yes; then
11202 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11203 else
11204 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11205 fi
11206
11207 else
11208
11209 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11212 else
11213 no_cache=1
11214 fi
11215
11216 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11217
11218 fi;
11219
11220 eval "$ac_cv_use_joystick"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11223 fi
11224
11225 if test "$wxUSE_JOYSTICK" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11228 else
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11231 fi
11232
11233
11234 enablestring=
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11237 no_cache=0
11238 # Check whether --enable-metafile or --disable-metafile was given.
11239 if test "${enable_metafile+set}" = set; then
11240 enableval="$enable_metafile"
11241
11242 if test "$enableval" = yes; then
11243 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11244 else
11245 ac_cv_use_metafile='wxUSE_METAFILE=no'
11246 fi
11247
11248 else
11249
11250 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11253 else
11254 no_cache=1
11255 fi
11256
11257 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11258
11259 fi;
11260
11261 eval "$ac_cv_use_metafile"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11264 fi
11265
11266 if test "$wxUSE_METAFILE" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11269 else
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11272 fi
11273
11274
11275 enablestring=
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11278 no_cache=0
11279 # Check whether --enable-dragimage or --disable-dragimage was given.
11280 if test "${enable_dragimage+set}" = set; then
11281 enableval="$enable_dragimage"
11282
11283 if test "$enableval" = yes; then
11284 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11285 else
11286 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11287 fi
11288
11289 else
11290
11291 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11294 else
11295 no_cache=1
11296 fi
11297
11298 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11299
11300 fi;
11301
11302 eval "$ac_cv_use_dragimage"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11305 fi
11306
11307 if test "$wxUSE_DRAGIMAGE" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11310 else
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11313 fi
11314
11315
11316 enablestring=
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11319 no_cache=0
11320 # Check whether --enable-accessibility or --disable-accessibility was given.
11321 if test "${enable_accessibility+set}" = set; then
11322 enableval="$enable_accessibility"
11323
11324 if test "$enableval" = yes; then
11325 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11326 else
11327 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11328 fi
11329
11330 else
11331
11332 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 else
11336 no_cache=1
11337 fi
11338
11339 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11340
11341 fi;
11342
11343 eval "$ac_cv_use_accessibility"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11346 fi
11347
11348 if test "$wxUSE_ACCESSIBILITY" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11351 else
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11354 fi
11355
11356
11357 if test "$wxUSE_MSW" = "1"; then
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-dccache or --disable-dccache was given.
11364 if test "${enable_dccache+set}" = set; then
11365 enableval="$enable_dccache"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11369 else
11370 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11383
11384 fi;
11385
11386 eval "$ac_cv_use_dccache"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_DC_CACHEING" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399 fi
11400
11401
11402
11403 enablestring=
11404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11405 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11406 no_cache=0
11407 # Check whether --enable-palette or --disable-palette was given.
11408 if test "${enable_palette+set}" = set; then
11409 enableval="$enable_palette"
11410
11411 if test "$enableval" = yes; then
11412 ac_cv_use_palette='wxUSE_PALETTE=yes'
11413 else
11414 ac_cv_use_palette='wxUSE_PALETTE=no'
11415 fi
11416
11417 else
11418
11419 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11420 if test "x$LINE" != x ; then
11421 eval "DEFAULT_$LINE"
11422 else
11423 no_cache=1
11424 fi
11425
11426 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11427
11428 fi;
11429
11430 eval "$ac_cv_use_palette"
11431 if test "$no_cache" != 1; then
11432 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11433 fi
11434
11435 if test "$wxUSE_PALETTE" = yes; then
11436 echo "$as_me:$LINENO: result: yes" >&5
11437 echo "${ECHO_T}yes" >&6
11438 else
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11441 fi
11442
11443
11444 enablestring=
11445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11446 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11447 no_cache=0
11448 # Check whether --enable-image or --disable-image was given.
11449 if test "${enable_image+set}" = set; then
11450 enableval="$enable_image"
11451
11452 if test "$enableval" = yes; then
11453 ac_cv_use_image='wxUSE_IMAGE=yes'
11454 else
11455 ac_cv_use_image='wxUSE_IMAGE=no'
11456 fi
11457
11458 else
11459
11460 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11461 if test "x$LINE" != x ; then
11462 eval "DEFAULT_$LINE"
11463 else
11464 no_cache=1
11465 fi
11466
11467 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11468
11469 fi;
11470
11471 eval "$ac_cv_use_image"
11472 if test "$no_cache" != 1; then
11473 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11474 fi
11475
11476 if test "$wxUSE_IMAGE" = yes; then
11477 echo "$as_me:$LINENO: result: yes" >&5
11478 echo "${ECHO_T}yes" >&6
11479 else
11480 echo "$as_me:$LINENO: result: no" >&5
11481 echo "${ECHO_T}no" >&6
11482 fi
11483
11484
11485 enablestring=
11486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11487 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11488 no_cache=0
11489 # Check whether --enable-gif or --disable-gif was given.
11490 if test "${enable_gif+set}" = set; then
11491 enableval="$enable_gif"
11492
11493 if test "$enableval" = yes; then
11494 ac_cv_use_gif='wxUSE_GIF=yes'
11495 else
11496 ac_cv_use_gif='wxUSE_GIF=no'
11497 fi
11498
11499 else
11500
11501 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11502 if test "x$LINE" != x ; then
11503 eval "DEFAULT_$LINE"
11504 else
11505 no_cache=1
11506 fi
11507
11508 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11509
11510 fi;
11511
11512 eval "$ac_cv_use_gif"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11515 fi
11516
11517 if test "$wxUSE_GIF" = yes; then
11518 echo "$as_me:$LINENO: result: yes" >&5
11519 echo "${ECHO_T}yes" >&6
11520 else
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11523 fi
11524
11525
11526 enablestring=
11527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11528 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11529 no_cache=0
11530 # Check whether --enable-pcx or --disable-pcx was given.
11531 if test "${enable_pcx+set}" = set; then
11532 enableval="$enable_pcx"
11533
11534 if test "$enableval" = yes; then
11535 ac_cv_use_pcx='wxUSE_PCX=yes'
11536 else
11537 ac_cv_use_pcx='wxUSE_PCX=no'
11538 fi
11539
11540 else
11541
11542 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11543 if test "x$LINE" != x ; then
11544 eval "DEFAULT_$LINE"
11545 else
11546 no_cache=1
11547 fi
11548
11549 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11550
11551 fi;
11552
11553 eval "$ac_cv_use_pcx"
11554 if test "$no_cache" != 1; then
11555 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11556 fi
11557
11558 if test "$wxUSE_PCX" = yes; then
11559 echo "$as_me:$LINENO: result: yes" >&5
11560 echo "${ECHO_T}yes" >&6
11561 else
11562 echo "$as_me:$LINENO: result: no" >&5
11563 echo "${ECHO_T}no" >&6
11564 fi
11565
11566
11567 enablestring=
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11570 no_cache=0
11571 # Check whether --enable-tga or --disable-tga was given.
11572 if test "${enable_tga+set}" = set; then
11573 enableval="$enable_tga"
11574
11575 if test "$enableval" = yes; then
11576 ac_cv_use_tga='wxUSE_TGA=yes'
11577 else
11578 ac_cv_use_tga='wxUSE_TGA=no'
11579 fi
11580
11581 else
11582
11583 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11586 else
11587 no_cache=1
11588 fi
11589
11590 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11591
11592 fi;
11593
11594 eval "$ac_cv_use_tga"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11597 fi
11598
11599 if test "$wxUSE_TGA" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11602 else
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11605 fi
11606
11607
11608 enablestring=
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11611 no_cache=0
11612 # Check whether --enable-iff or --disable-iff was given.
11613 if test "${enable_iff+set}" = set; then
11614 enableval="$enable_iff"
11615
11616 if test "$enableval" = yes; then
11617 ac_cv_use_iff='wxUSE_IFF=yes'
11618 else
11619 ac_cv_use_iff='wxUSE_IFF=no'
11620 fi
11621
11622 else
11623
11624 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11627 else
11628 no_cache=1
11629 fi
11630
11631 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11632
11633 fi;
11634
11635 eval "$ac_cv_use_iff"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11638 fi
11639
11640 if test "$wxUSE_IFF" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11643 else
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11646 fi
11647
11648
11649 enablestring=
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11652 no_cache=0
11653 # Check whether --enable-pnm or --disable-pnm was given.
11654 if test "${enable_pnm+set}" = set; then
11655 enableval="$enable_pnm"
11656
11657 if test "$enableval" = yes; then
11658 ac_cv_use_pnm='wxUSE_PNM=yes'
11659 else
11660 ac_cv_use_pnm='wxUSE_PNM=no'
11661 fi
11662
11663 else
11664
11665 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11668 else
11669 no_cache=1
11670 fi
11671
11672 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11673
11674 fi;
11675
11676 eval "$ac_cv_use_pnm"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11679 fi
11680
11681 if test "$wxUSE_PNM" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11684 else
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11687 fi
11688
11689
11690 enablestring=
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11693 no_cache=0
11694 # Check whether --enable-xpm or --disable-xpm was given.
11695 if test "${enable_xpm+set}" = set; then
11696 enableval="$enable_xpm"
11697
11698 if test "$enableval" = yes; then
11699 ac_cv_use_xpm='wxUSE_XPM=yes'
11700 else
11701 ac_cv_use_xpm='wxUSE_XPM=no'
11702 fi
11703
11704 else
11705
11706 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11709 else
11710 no_cache=1
11711 fi
11712
11713 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11714
11715 fi;
11716
11717 eval "$ac_cv_use_xpm"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11720 fi
11721
11722 if test "$wxUSE_XPM" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730
11731 enablestring=
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11734 no_cache=0
11735 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11736 if test "${enable_ico_cur+set}" = set; then
11737 enableval="$enable_ico_cur"
11738
11739 if test "$enableval" = yes; then
11740 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11741 else
11742 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11743 fi
11744
11745 else
11746
11747 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11750 else
11751 no_cache=1
11752 fi
11753
11754 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11755
11756 fi;
11757
11758 eval "$ac_cv_use_ico_cur"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11761 fi
11762
11763 if test "$wxUSE_ICO_CUR" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11766 else
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11769 fi
11770
11771
11772 fi
11773
11774
11775
11776 # Check whether --with-flavour or --without-flavour was given.
11777 if test "${with_flavour+set}" = set; then
11778 withval="$with_flavour"
11779 WX_FLAVOUR="$withval"
11780 fi;
11781
11782
11783
11784 enablestring=
11785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11787 no_cache=0
11788 # Check whether --enable-official_build or --disable-official_build was given.
11789 if test "${enable_official_build+set}" = set; then
11790 enableval="$enable_official_build"
11791
11792 if test "$enableval" = yes; then
11793 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11794 else
11795 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11796 fi
11797
11798 else
11799
11800 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11801 if test "x$LINE" != x ; then
11802 eval "DEFAULT_$LINE"
11803 else
11804 no_cache=1
11805 fi
11806
11807 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11808
11809 fi;
11810
11811 eval "$ac_cv_use_official_build"
11812 if test "$no_cache" != 1; then
11813 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11814 fi
11815
11816 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11817 echo "$as_me:$LINENO: result: yes" >&5
11818 echo "${ECHO_T}yes" >&6
11819 else
11820 echo "$as_me:$LINENO: result: no" >&5
11821 echo "${ECHO_T}no" >&6
11822 fi
11823
11824 # Check whether --enable-vendor or --disable-vendor was given.
11825 if test "${enable_vendor+set}" = set; then
11826 enableval="$enable_vendor"
11827 VENDOR="$enableval"
11828 fi;
11829 if test "x$VENDOR" = "x"; then
11830 VENDOR="custom"
11831 fi
11832
11833
11834
11835
11836 echo "saving argument cache $wx_arg_cache_file"
11837 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11838
11839
11840
11841 echo "$as_me:$LINENO: checking for toolkit" >&5
11842 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11843
11844 # In Wine, we need to default to MSW, not GTK or MOTIF
11845 if test "$wxUSE_WINE" = "yes"; then
11846 DEFAULT_DEFAULT_wxUSE_GTK=0
11847 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11848 DEFAULT_DEFAULT_wxUSE_MSW=1
11849 wxUSE_SHARED=no
11850 CC=${CC:-winegcc}
11851 CXX=${CXX:-wineg++}
11852 fi
11853
11854
11855 if test "$wxUSE_GUI" = "yes"; then
11856
11857 if test "$USE_BEOS" = 1; then
11858 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11859 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11860 { (exit 1); exit 1; }; }
11861 fi
11862
11863 if test "$TOOLKIT_GIVEN" = 1; then
11864 for toolkit in `echo $ALL_TOOLKITS`; do
11865 var=wxUSE_$toolkit
11866 eval "value=\$${var}"
11867 if test "x$value" = "xno"; then
11868 eval "$var=0"
11869 elif test "x$value" != "x"; then
11870 eval "$var=1"
11871 fi
11872
11873 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11874 eval "wx${toolkit}_VERSION=$value"
11875 fi
11876 done
11877 else
11878 for toolkit in `echo $ALL_TOOLKITS`; do
11879 if test "$has_toolkit_in_cache" != 1; then
11880 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11881 else
11882 var=DEFAULT_wxUSE_$toolkit
11883
11884 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11885 if test "x$version" != "x"; then
11886 eval "wx${toolkit}_VERSION=$version"
11887 fi
11888 fi
11889 eval "wxUSE_$toolkit=\$${var}"
11890 done
11891 fi
11892
11893 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11894 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11895 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11896
11897 case "${host}" in
11898 *-pc-os2_emx | *-pc-os2-emx )
11899 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11900 esac
11901
11902 case "$NUM_TOOLKITS" in
11903 1)
11904 ;;
11905 0)
11906 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11907 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11908 { (exit 1); exit 1; }; }
11909 ;;
11910 *)
11911 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11912 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11913 { (exit 1); exit 1; }; }
11914 esac
11915
11916 # to be removed when --disable-gtk2 isn't needed
11917 if test "x$wxUSE_GTK2" = "xyes"; then
11918 wxGTK_VERSION=2
11919 elif test "x$wxUSE_GTK2" = "xno"; then
11920 wxGTK_VERSION=1
11921 fi
11922
11923 for toolkit in `echo $ALL_TOOLKITS`; do
11924 var=wxUSE_$toolkit
11925 eval "value=\$${var}"
11926 if test "x$value" != x; then
11927 cache_var=CACHE_$toolkit
11928 eval "cache=\$${cache_var}"
11929 if test "$cache" = 1; then
11930 echo "$var=$value" >> ${wx_arg_cache_file}
11931 eval "version=\$wx${toolkit}_VERSION"
11932 if test "x$version" != "x"; then
11933 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11934 fi
11935 fi
11936 if test "$value" = 1; then
11937 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11938 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11939 echo "${ECHO_T}$toolkit_echo" >&6
11940 fi
11941 fi
11942 done
11943 else
11944 if test "x$host_alias" != "x"; then
11945 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11946 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11947 else
11948 echo "$as_me:$LINENO: result: base only" >&5
11949 echo "${ECHO_T}base only" >&6
11950 fi
11951 fi
11952
11953
11954 cat >confcache <<\_ACEOF
11955 # This file is a shell script that caches the results of configure
11956 # tests run on this system so they can be shared between configure
11957 # scripts and configure runs, see configure's option --config-cache.
11958 # It is not useful on other systems. If it contains results you don't
11959 # want to keep, you may remove or edit it.
11960 #
11961 # config.status only pays attention to the cache file if you give it
11962 # the --recheck option to rerun configure.
11963 #
11964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11966 # following values.
11967
11968 _ACEOF
11969
11970 # The following way of writing the cache mishandles newlines in values,
11971 # but we know of no workaround that is simple, portable, and efficient.
11972 # So, don't put newlines in cache variables' values.
11973 # Ultrix sh set writes to stderr and can't be redirected directly,
11974 # and sets the high bit in the cache file unless we assign to the vars.
11975 {
11976 (set) 2>&1 |
11977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11978 *ac_space=\ *)
11979 # `set' does not quote correctly, so add quotes (double-quote
11980 # substitution turns \\\\ into \\, and sed turns \\ into \).
11981 sed -n \
11982 "s/'/'\\\\''/g;
11983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11984 ;;
11985 *)
11986 # `set' quotes correctly as required by POSIX, so do not add quotes.
11987 sed -n \
11988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11989 ;;
11990 esac;
11991 } |
11992 sed '
11993 t clear
11994 : clear
11995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11996 t end
11997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11998 : end' >>confcache
11999 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12000 if test -w $cache_file; then
12001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12002 cat confcache >$cache_file
12003 else
12004 echo "not updating unwritable cache $cache_file"
12005 fi
12006 fi
12007 rm -f confcache
12008
12009 CFLAGS=${CFLAGS:=}
12010
12011
12012
12013 ac_ext=c
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018 if test -n "$ac_tool_prefix"; then
12019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12020 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026 if test -n "$CC"; then
12027 ac_cv_prog_CC="$CC" # Let the user override the test.
12028 else
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12031 do
12032 IFS=$as_save_IFS
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 break 2
12039 fi
12040 done
12041 done
12042
12043 fi
12044 fi
12045 CC=$ac_cv_prog_CC
12046 if test -n "$CC"; then
12047 echo "$as_me:$LINENO: result: $CC" >&5
12048 echo "${ECHO_T}$CC" >&6
12049 else
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12052 fi
12053
12054 fi
12055 if test -z "$ac_cv_prog_CC"; then
12056 ac_ct_CC=$CC
12057 # Extract the first word of "gcc", so it can be a program name with args.
12058 set dummy gcc; ac_word=$2
12059 echo "$as_me:$LINENO: checking for $ac_word" >&5
12060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12061 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12063 else
12064 if test -n "$ac_ct_CC"; then
12065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12066 else
12067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12068 for as_dir in $PATH
12069 do
12070 IFS=$as_save_IFS
12071 test -z "$as_dir" && as_dir=.
12072 for ac_exec_ext in '' $ac_executable_extensions; do
12073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12074 ac_cv_prog_ac_ct_CC="gcc"
12075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12076 break 2
12077 fi
12078 done
12079 done
12080
12081 fi
12082 fi
12083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12084 if test -n "$ac_ct_CC"; then
12085 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12086 echo "${ECHO_T}$ac_ct_CC" >&6
12087 else
12088 echo "$as_me:$LINENO: result: no" >&5
12089 echo "${ECHO_T}no" >&6
12090 fi
12091
12092 CC=$ac_ct_CC
12093 else
12094 CC="$ac_cv_prog_CC"
12095 fi
12096
12097 if test -z "$CC"; then
12098 if test -n "$ac_tool_prefix"; then
12099 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12100 set dummy ${ac_tool_prefix}cc; ac_word=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_prog_CC+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 else
12106 if test -n "$CC"; then
12107 ac_cv_prog_CC="$CC" # Let the user override the test.
12108 else
12109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12110 for as_dir in $PATH
12111 do
12112 IFS=$as_save_IFS
12113 test -z "$as_dir" && as_dir=.
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_CC="${ac_tool_prefix}cc"
12117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12118 break 2
12119 fi
12120 done
12121 done
12122
12123 fi
12124 fi
12125 CC=$ac_cv_prog_CC
12126 if test -n "$CC"; then
12127 echo "$as_me:$LINENO: result: $CC" >&5
12128 echo "${ECHO_T}$CC" >&6
12129 else
12130 echo "$as_me:$LINENO: result: no" >&5
12131 echo "${ECHO_T}no" >&6
12132 fi
12133
12134 fi
12135 if test -z "$ac_cv_prog_CC"; then
12136 ac_ct_CC=$CC
12137 # Extract the first word of "cc", so it can be a program name with args.
12138 set dummy cc; ac_word=$2
12139 echo "$as_me:$LINENO: checking for $ac_word" >&5
12140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 else
12144 if test -n "$ac_ct_CC"; then
12145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12146 else
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12149 do
12150 IFS=$as_save_IFS
12151 test -z "$as_dir" && as_dir=.
12152 for ac_exec_ext in '' $ac_executable_extensions; do
12153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154 ac_cv_prog_ac_ct_CC="cc"
12155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12156 break 2
12157 fi
12158 done
12159 done
12160
12161 fi
12162 fi
12163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12164 if test -n "$ac_ct_CC"; then
12165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12166 echo "${ECHO_T}$ac_ct_CC" >&6
12167 else
12168 echo "$as_me:$LINENO: result: no" >&5
12169 echo "${ECHO_T}no" >&6
12170 fi
12171
12172 CC=$ac_ct_CC
12173 else
12174 CC="$ac_cv_prog_CC"
12175 fi
12176
12177 fi
12178 if test -z "$CC"; then
12179 # Extract the first word of "cc", so it can be a program name with args.
12180 set dummy cc; ac_word=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_CC+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12185 else
12186 if test -n "$CC"; then
12187 ac_cv_prog_CC="$CC" # Let the user override the test.
12188 else
12189 ac_prog_rejected=no
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12192 do
12193 IFS=$as_save_IFS
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12197 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12198 ac_prog_rejected=yes
12199 continue
12200 fi
12201 ac_cv_prog_CC="cc"
12202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12203 break 2
12204 fi
12205 done
12206 done
12207
12208 if test $ac_prog_rejected = yes; then
12209 # We found a bogon in the path, so make sure we never use it.
12210 set dummy $ac_cv_prog_CC
12211 shift
12212 if test $# != 0; then
12213 # We chose a different compiler from the bogus one.
12214 # However, it has the same basename, so the bogon will be chosen
12215 # first if we set CC to just the basename; use the full file name.
12216 shift
12217 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12218 fi
12219 fi
12220 fi
12221 fi
12222 CC=$ac_cv_prog_CC
12223 if test -n "$CC"; then
12224 echo "$as_me:$LINENO: result: $CC" >&5
12225 echo "${ECHO_T}$CC" >&6
12226 else
12227 echo "$as_me:$LINENO: result: no" >&5
12228 echo "${ECHO_T}no" >&6
12229 fi
12230
12231 fi
12232 if test -z "$CC"; then
12233 if test -n "$ac_tool_prefix"; then
12234 for ac_prog in cl
12235 do
12236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12238 echo "$as_me:$LINENO: checking for $ac_word" >&5
12239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12240 if test "${ac_cv_prog_CC+set}" = set; then
12241 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 else
12243 if test -n "$CC"; then
12244 ac_cv_prog_CC="$CC" # Let the user override the test.
12245 else
12246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12247 for as_dir in $PATH
12248 do
12249 IFS=$as_save_IFS
12250 test -z "$as_dir" && as_dir=.
12251 for ac_exec_ext in '' $ac_executable_extensions; do
12252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12253 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 break 2
12256 fi
12257 done
12258 done
12259
12260 fi
12261 fi
12262 CC=$ac_cv_prog_CC
12263 if test -n "$CC"; then
12264 echo "$as_me:$LINENO: result: $CC" >&5
12265 echo "${ECHO_T}$CC" >&6
12266 else
12267 echo "$as_me:$LINENO: result: no" >&5
12268 echo "${ECHO_T}no" >&6
12269 fi
12270
12271 test -n "$CC" && break
12272 done
12273 fi
12274 if test -z "$CC"; then
12275 ac_ct_CC=$CC
12276 for ac_prog in cl
12277 do
12278 # Extract the first word of "$ac_prog", so it can be a program name with args.
12279 set dummy $ac_prog; ac_word=$2
12280 echo "$as_me:$LINENO: checking for $ac_word" >&5
12281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12283 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 else
12285 if test -n "$ac_ct_CC"; then
12286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12287 else
12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12289 for as_dir in $PATH
12290 do
12291 IFS=$as_save_IFS
12292 test -z "$as_dir" && as_dir=.
12293 for ac_exec_ext in '' $ac_executable_extensions; do
12294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12295 ac_cv_prog_ac_ct_CC="$ac_prog"
12296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12297 break 2
12298 fi
12299 done
12300 done
12301
12302 fi
12303 fi
12304 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12305 if test -n "$ac_ct_CC"; then
12306 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12307 echo "${ECHO_T}$ac_ct_CC" >&6
12308 else
12309 echo "$as_me:$LINENO: result: no" >&5
12310 echo "${ECHO_T}no" >&6
12311 fi
12312
12313 test -n "$ac_ct_CC" && break
12314 done
12315
12316 CC=$ac_ct_CC
12317 fi
12318
12319 fi
12320
12321
12322 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12323 See \`config.log' for more details." >&5
12324 echo "$as_me: error: no acceptable C compiler found in \$PATH
12325 See \`config.log' for more details." >&2;}
12326 { (exit 1); exit 1; }; }
12327
12328 # Provide some information about the compiler.
12329 echo "$as_me:$LINENO:" \
12330 "checking for C compiler version" >&5
12331 ac_compiler=`set X $ac_compile; echo $2`
12332 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12333 (eval $ac_compiler --version </dev/null >&5) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); }
12337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12338 (eval $ac_compiler -v </dev/null >&5) 2>&5
12339 ac_status=$?
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); }
12342 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12343 (eval $ac_compiler -V </dev/null >&5) 2>&5
12344 ac_status=$?
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }
12347
12348 cat >conftest.$ac_ext <<_ACEOF
12349 /* confdefs.h. */
12350 _ACEOF
12351 cat confdefs.h >>conftest.$ac_ext
12352 cat >>conftest.$ac_ext <<_ACEOF
12353 /* end confdefs.h. */
12354
12355 int
12356 main ()
12357 {
12358
12359 ;
12360 return 0;
12361 }
12362 _ACEOF
12363 ac_clean_files_save=$ac_clean_files
12364 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12365 # Try to create an executable without -o first, disregard a.out.
12366 # It will help us diagnose broken compilers, and finding out an intuition
12367 # of exeext.
12368 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12369 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12370 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12371 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12372 (eval $ac_link_default) 2>&5
12373 ac_status=$?
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; then
12376 # Find the output, starting from the most likely. This scheme is
12377 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12378 # resort.
12379
12380 # Be careful to initialize this variable, since it used to be cached.
12381 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12382 ac_cv_exeext=
12383 # b.out is created by i960 compilers.
12384 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12385 do
12386 test -f "$ac_file" || continue
12387 case $ac_file in
12388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12389 ;;
12390 conftest.$ac_ext )
12391 # This is the source file.
12392 ;;
12393 [ab].out )
12394 # We found the default executable, but exeext='' is most
12395 # certainly right.
12396 break;;
12397 *.* )
12398 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12399 # FIXME: I believe we export ac_cv_exeext for Libtool,
12400 # but it would be cool to find out if it's true. Does anybody
12401 # maintain Libtool? --akim.
12402 export ac_cv_exeext
12403 break;;
12404 * )
12405 break;;
12406 esac
12407 done
12408 else
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12411
12412 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: C compiler cannot create executables
12415 See \`config.log' for more details." >&2;}
12416 { (exit 77); exit 77; }; }
12417 fi
12418
12419 ac_exeext=$ac_cv_exeext
12420 echo "$as_me:$LINENO: result: $ac_file" >&5
12421 echo "${ECHO_T}$ac_file" >&6
12422
12423 # Check the compiler produces executables we can run. If not, either
12424 # the compiler is broken, or we cross compile.
12425 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12428 # If not cross compiling, check that we can run a simple program.
12429 if test "$cross_compiling" != yes; then
12430 if { ac_try='./$ac_file'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12433 ac_status=$?
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12436 cross_compiling=no
12437 else
12438 if test "$cross_compiling" = maybe; then
12439 cross_compiling=yes
12440 else
12441 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12442 If you meant to cross compile, use \`--host'.
12443 See \`config.log' for more details." >&5
12444 echo "$as_me: error: cannot run C compiled programs.
12445 If you meant to cross compile, use \`--host'.
12446 See \`config.log' for more details." >&2;}
12447 { (exit 1); exit 1; }; }
12448 fi
12449 fi
12450 fi
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6
12453
12454 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12455 ac_clean_files=$ac_clean_files_save
12456 # Check the compiler produces executables we can run. If not, either
12457 # the compiler is broken, or we cross compile.
12458 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12459 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12460 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12461 echo "${ECHO_T}$cross_compiling" >&6
12462
12463 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12464 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12466 (eval $ac_link) 2>&5
12467 ac_status=$?
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; then
12470 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12472 # work properly (i.e., refer to `conftest.exe'), while it won't with
12473 # `rm'.
12474 for ac_file in conftest.exe conftest conftest.*; do
12475 test -f "$ac_file" || continue
12476 case $ac_file in
12477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12478 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12479 export ac_cv_exeext
12480 break;;
12481 * ) break;;
12482 esac
12483 done
12484 else
12485 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12486 See \`config.log' for more details." >&5
12487 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12488 See \`config.log' for more details." >&2;}
12489 { (exit 1); exit 1; }; }
12490 fi
12491
12492 rm -f conftest$ac_cv_exeext
12493 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12494 echo "${ECHO_T}$ac_cv_exeext" >&6
12495
12496 rm -f conftest.$ac_ext
12497 EXEEXT=$ac_cv_exeext
12498 ac_exeext=$EXEEXT
12499 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12500 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12501 if test "${ac_cv_objext+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 else
12504 cat >conftest.$ac_ext <<_ACEOF
12505 /* confdefs.h. */
12506 _ACEOF
12507 cat confdefs.h >>conftest.$ac_ext
12508 cat >>conftest.$ac_ext <<_ACEOF
12509 /* end confdefs.h. */
12510
12511 int
12512 main ()
12513 {
12514
12515 ;
12516 return 0;
12517 }
12518 _ACEOF
12519 rm -f conftest.o conftest.obj
12520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12521 (eval $ac_compile) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; then
12525 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12526 case $ac_file in
12527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12528 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12529 break;;
12530 esac
12531 done
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12535
12536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12537 See \`config.log' for more details." >&5
12538 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12539 See \`config.log' for more details." >&2;}
12540 { (exit 1); exit 1; }; }
12541 fi
12542
12543 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12544 fi
12545 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12546 echo "${ECHO_T}$ac_cv_objext" >&6
12547 OBJEXT=$ac_cv_objext
12548 ac_objext=$OBJEXT
12549 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12551 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12552 echo $ECHO_N "(cached) $ECHO_C" >&6
12553 else
12554 cat >conftest.$ac_ext <<_ACEOF
12555 /* confdefs.h. */
12556 _ACEOF
12557 cat confdefs.h >>conftest.$ac_ext
12558 cat >>conftest.$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560
12561 int
12562 main ()
12563 {
12564 #ifndef __GNUC__
12565 choke me
12566 #endif
12567
12568 ;
12569 return 0;
12570 }
12571 _ACEOF
12572 rm -f conftest.$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12584 ac_status=$?
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12590 ac_status=$?
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_compiler_gnu=yes
12594 else
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12597
12598 ac_compiler_gnu=no
12599 fi
12600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12601 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12602
12603 fi
12604 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12605 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12606 GCC=`test $ac_compiler_gnu = yes && echo yes`
12607 ac_test_CFLAGS=${CFLAGS+set}
12608 ac_save_CFLAGS=$CFLAGS
12609 CFLAGS="-g"
12610 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12611 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12612 if test "${ac_cv_prog_cc_g+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 else
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621
12622 int
12623 main ()
12624 {
12625
12626 ;
12627 return 0;
12628 }
12629 _ACEOF
12630 rm -f conftest.$ac_objext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12632 (eval $ac_compile) 2>conftest.er1
12633 ac_status=$?
12634 grep -v '^ *+' conftest.er1 >conftest.err
12635 rm -f conftest.er1
12636 cat conftest.err >&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12642 ac_status=$?
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try='test -s conftest.$ac_objext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12648 ac_status=$?
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_prog_cc_g=yes
12652 else
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.$ac_ext >&5
12655
12656 ac_cv_prog_cc_g=no
12657 fi
12658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12659 fi
12660 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12661 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12662 if test "$ac_test_CFLAGS" = set; then
12663 CFLAGS=$ac_save_CFLAGS
12664 elif test $ac_cv_prog_cc_g = yes; then
12665 if test "$GCC" = yes; then
12666 CFLAGS="-g -O2"
12667 else
12668 CFLAGS="-g"
12669 fi
12670 else
12671 if test "$GCC" = yes; then
12672 CFLAGS="-O2"
12673 else
12674 CFLAGS=
12675 fi
12676 fi
12677 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12678 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12679 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12680 echo $ECHO_N "(cached) $ECHO_C" >&6
12681 else
12682 ac_cv_prog_cc_stdc=no
12683 ac_save_CC=$CC
12684 cat >conftest.$ac_ext <<_ACEOF
12685 /* confdefs.h. */
12686 _ACEOF
12687 cat confdefs.h >>conftest.$ac_ext
12688 cat >>conftest.$ac_ext <<_ACEOF
12689 /* end confdefs.h. */
12690 #include <stdarg.h>
12691 #include <stdio.h>
12692 #include <sys/types.h>
12693 #include <sys/stat.h>
12694 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12695 struct buf { int x; };
12696 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12697 static char *e (p, i)
12698 char **p;
12699 int i;
12700 {
12701 return p[i];
12702 }
12703 static char *f (char * (*g) (char **, int), char **p, ...)
12704 {
12705 char *s;
12706 va_list v;
12707 va_start (v,p);
12708 s = g (p, va_arg (v,int));
12709 va_end (v);
12710 return s;
12711 }
12712
12713 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12714 function prototypes and stuff, but not '\xHH' hex character constants.
12715 These don't provoke an error unfortunately, instead are silently treated
12716 as 'x'. The following induces an error, until -std1 is added to get
12717 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12718 array size at least. It's necessary to write '\x00'==0 to get something
12719 that's true only with -std1. */
12720 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12721
12722 int test (int i, double x);
12723 struct s1 {int (*f) (int a);};
12724 struct s2 {int (*f) (double a);};
12725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12726 int argc;
12727 char **argv;
12728 int
12729 main ()
12730 {
12731 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12732 ;
12733 return 0;
12734 }
12735 _ACEOF
12736 # Don't try gcc -ansi; that turns off useful extensions and
12737 # breaks some systems' header files.
12738 # AIX -qlanglvl=ansi
12739 # Ultrix and OSF/1 -std1
12740 # HP-UX 10.20 and later -Ae
12741 # HP-UX older versions -Aa -D_HPUX_SOURCE
12742 # SVR4 -Xc -D__EXTENSIONS__
12743 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12744 do
12745 CC="$ac_save_CC $ac_arg"
12746 rm -f conftest.$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12749 ac_status=$?
12750 grep -v '^ *+' conftest.er1 >conftest.err
12751 rm -f conftest.er1
12752 cat conftest.err >&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_cv_prog_cc_stdc=$ac_arg
12768 break
12769 else
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5
12772
12773 fi
12774 rm -f conftest.err conftest.$ac_objext
12775 done
12776 rm -f conftest.$ac_ext conftest.$ac_objext
12777 CC=$ac_save_CC
12778
12779 fi
12780
12781 case "x$ac_cv_prog_cc_stdc" in
12782 x|xno)
12783 echo "$as_me:$LINENO: result: none needed" >&5
12784 echo "${ECHO_T}none needed" >&6 ;;
12785 *)
12786 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12787 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12788 CC="$CC $ac_cv_prog_cc_stdc" ;;
12789 esac
12790
12791 # Some people use a C++ compiler to compile C. Since we use `exit',
12792 # in C++ we need to declare it. In case someone uses the same compiler
12793 # for both compiling C and C++ we need to have the C++ compiler decide
12794 # the declaration of exit, since it's the most demanding environment.
12795 cat >conftest.$ac_ext <<_ACEOF
12796 #ifndef __cplusplus
12797 choke me
12798 #endif
12799 _ACEOF
12800 rm -f conftest.$ac_objext
12801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12802 (eval $ac_compile) 2>conftest.er1
12803 ac_status=$?
12804 grep -v '^ *+' conftest.er1 >conftest.err
12805 rm -f conftest.er1
12806 cat conftest.err >&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); } &&
12809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12812 ac_status=$?
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; } &&
12815 { ac_try='test -s conftest.$ac_objext'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12818 ac_status=$?
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; }; then
12821 for ac_declaration in \
12822 '' \
12823 'extern "C" void std::exit (int) throw (); using std::exit;' \
12824 'extern "C" void std::exit (int); using std::exit;' \
12825 'extern "C" void exit (int) throw ();' \
12826 'extern "C" void exit (int);' \
12827 'void exit (int);'
12828 do
12829 cat >conftest.$ac_ext <<_ACEOF
12830 /* confdefs.h. */
12831 _ACEOF
12832 cat confdefs.h >>conftest.$ac_ext
12833 cat >>conftest.$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12835 $ac_declaration
12836 #include <stdlib.h>
12837 int
12838 main ()
12839 {
12840 exit (42);
12841 ;
12842 return 0;
12843 }
12844 _ACEOF
12845 rm -f conftest.$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>conftest.er1
12848 ac_status=$?
12849 grep -v '^ *+' conftest.er1 >conftest.err
12850 rm -f conftest.er1
12851 cat conftest.err >&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; } &&
12860 { ac_try='test -s conftest.$ac_objext'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; }; then
12866 :
12867 else
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12870
12871 continue
12872 fi
12873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12874 cat >conftest.$ac_ext <<_ACEOF
12875 /* confdefs.h. */
12876 _ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 $ac_declaration
12881 int
12882 main ()
12883 {
12884 exit (42);
12885 ;
12886 return 0;
12887 }
12888 _ACEOF
12889 rm -f conftest.$ac_objext
12890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12891 (eval $ac_compile) 2>conftest.er1
12892 ac_status=$?
12893 grep -v '^ *+' conftest.er1 >conftest.err
12894 rm -f conftest.er1
12895 cat conftest.err >&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); } &&
12898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; } &&
12904 { ac_try='test -s conftest.$ac_objext'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; }; then
12910 break
12911 else
12912 echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12914
12915 fi
12916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12917 done
12918 rm -f conftest*
12919 if test -n "$ac_declaration"; then
12920 echo '#ifdef __cplusplus' >>confdefs.h
12921 echo $ac_declaration >>confdefs.h
12922 echo '#endif' >>confdefs.h
12923 fi
12924
12925 else
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12928
12929 fi
12930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12931 ac_ext=c
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12936
12937
12938
12939 ac_ext=c
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944
12945 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960
12961 #ifndef __INTEL_COMPILER
12962 choke me
12963 #endif
12964
12965 ;
12966 return 0;
12967 }
12968 _ACEOF
12969 rm -f conftest.$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12972 ac_status=$?
12973 grep -v '^ *+' conftest.er1 >conftest.err
12974 rm -f conftest.er1
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12981 ac_status=$?
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try='test -s conftest.$ac_objext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12987 ac_status=$?
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12991 else
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 bakefile_cv_c_compiler___INTEL_COMPILER=no
12996
12997 fi
12998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12999
13000
13001 fi
13002 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13004 ac_ext=c
13005 ac_cpp='$CPP $CPPFLAGS'
13006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13009
13010 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13011 :; INTELCC=yes
13012 else
13013 :;
13014 fi
13015
13016
13017 if test "x$GCC" != "xyes"; then
13018 if test "xCC" = "xC"; then
13019 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13020 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13021 if test "${bakefile_cv_c_exto+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 else
13024 cat >conftest.$ac_ext <<_ACEOF
13025 /* confdefs.h. */
13026 _ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030
13031 int
13032 main ()
13033 {
13034
13035 ;
13036 return 0;
13037 }
13038 _ACEOF
13039 rm -f conftest.$ac_objext conftest.$ac_ext.o
13040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13041 (eval $ac_compile) 2>&5
13042 ac_status=$?
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; then
13045 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13046 case $ac_file in
13047 conftest.$ac_ext.o)
13048 bakefile_cv_c_exto="-ext o"
13049 ;;
13050 *)
13051 ;;
13052 esac
13053 done
13054 else
13055 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13060
13061 fi
13062
13063 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13064
13065 fi
13066 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13067 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13068 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13069 if test "c" = "c"; then
13070 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13071 fi
13072 if test "c" = "cxx"; then
13073 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13074 fi
13075 fi
13076
13077 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13078 unset ac_cv_prog_cc_g
13079 ac_test_CFLAGS=${CFLAGS+set}
13080 ac_save_CFLAGS=$CFLAGS
13081 CFLAGS="-g"
13082 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13083 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13084 if test "${ac_cv_prog_cc_g+set}" = set; then
13085 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 else
13087 cat >conftest.$ac_ext <<_ACEOF
13088 /* confdefs.h. */
13089 _ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093
13094 int
13095 main ()
13096 {
13097
13098 ;
13099 return 0;
13100 }
13101 _ACEOF
13102 rm -f conftest.$ac_objext
13103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104 (eval $ac_compile) 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } &&
13111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13113 (eval $ac_try) 2>&5
13114 ac_status=$?
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); }; } &&
13117 { ac_try='test -s conftest.$ac_objext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13120 ac_status=$?
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 ac_cv_prog_cc_g=yes
13124 else
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.$ac_ext >&5
13127
13128 ac_cv_prog_cc_g=no
13129 fi
13130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13131 fi
13132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13133 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13134 if test "$ac_test_CFLAGS" = set; then
13135 CFLAGS=$ac_save_CFLAGS
13136 elif test $ac_cv_prog_cc_g = yes; then
13137 if test "$GCC" = yes; then
13138 CFLAGS="-g -O2"
13139 else
13140 CFLAGS="-g"
13141 fi
13142 else
13143 if test "$GCC" = yes; then
13144 CFLAGS="-O2"
13145 else
13146 CFLAGS=
13147 fi
13148 fi
13149 fi
13150 fi
13151
13152 case `uname -s` in
13153 AIX*)
13154 ac_ext=c
13155 ac_cpp='$CPP $CPPFLAGS'
13156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13159
13160 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13162 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13163 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 else
13165 cat >conftest.$ac_ext <<_ACEOF
13166 /* confdefs.h. */
13167 _ACEOF
13168 cat confdefs.h >>conftest.$ac_ext
13169 cat >>conftest.$ac_ext <<_ACEOF
13170 /* end confdefs.h. */
13171
13172 int
13173 main ()
13174 {
13175 #ifndef __xlC__
13176 choke me
13177 #endif
13178
13179 ;
13180 return 0;
13181 }
13182 _ACEOF
13183 rm -f conftest.$ac_objext
13184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13185 (eval $ac_compile) 2>conftest.er1
13186 ac_status=$?
13187 grep -v '^ *+' conftest.er1 >conftest.err
13188 rm -f conftest.er1
13189 cat conftest.err >&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13195 ac_status=$?
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; } &&
13198 { ac_try='test -s conftest.$ac_objext'
13199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13200 (eval $ac_try) 2>&5
13201 ac_status=$?
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); }; }; then
13204 bakefile_compiler_xlc=yes
13205 else
13206 echo "$as_me: failed program was:" >&5
13207 sed 's/^/| /' conftest.$ac_ext >&5
13208
13209 bakefile_compiler_xlc=no
13210 fi
13211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13212 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13213
13214 fi
13215 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13216 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13217
13218 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13219 ac_ext=c
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13224
13225
13226 ;;
13227
13228 Darwin)
13229 ac_ext=c
13230 ac_cpp='$CPP $CPPFLAGS'
13231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13234
13235 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13236 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13237 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13238 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 else
13240 cat >conftest.$ac_ext <<_ACEOF
13241 /* confdefs.h. */
13242 _ACEOF
13243 cat confdefs.h >>conftest.$ac_ext
13244 cat >>conftest.$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246
13247 int
13248 main ()
13249 {
13250 #ifndef __MWERKS__
13251 choke me
13252 #endif
13253
13254 ;
13255 return 0;
13256 }
13257 _ACEOF
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260 (eval $ac_compile) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } &&
13267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13269 (eval $ac_try) 2>&5
13270 ac_status=$?
13271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); }; } &&
13273 { ac_try='test -s conftest.$ac_objext'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then
13279 bakefile_compiler_mwerks=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13283
13284 bakefile_compiler_mwerks=no
13285 fi
13286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13287 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13288
13289 fi
13290 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13291 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13292
13293 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13294 ac_ext=c
13295 ac_cpp='$CPP $CPPFLAGS'
13296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13299
13300
13301 ac_ext=c
13302 ac_cpp='$CPP $CPPFLAGS'
13303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13306
13307 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13308 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13309 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13311 else
13312 cat >conftest.$ac_ext <<_ACEOF
13313 /* confdefs.h. */
13314 _ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318
13319 int
13320 main ()
13321 {
13322 #ifndef __xlC__
13323 choke me
13324 #endif
13325
13326 ;
13327 return 0;
13328 }
13329 _ACEOF
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13333 ac_status=$?
13334 grep -v '^ *+' conftest.er1 >conftest.err
13335 rm -f conftest.er1
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13342 ac_status=$?
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; } &&
13345 { ac_try='test -s conftest.$ac_objext'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; }; then
13351 bakefile_compiler_xlc=yes
13352 else
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.$ac_ext >&5
13355
13356 bakefile_compiler_xlc=no
13357 fi
13358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13359 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13360
13361 fi
13362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13364
13365 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13366 ac_ext=c
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13371
13372
13373 ;;
13374
13375 IRIX*)
13376
13377
13378 ac_ext=c
13379 ac_cpp='$CPP $CPPFLAGS'
13380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13383
13384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 cat >conftest.$ac_ext <<_ACEOF
13390 /* confdefs.h. */
13391 _ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395
13396 int
13397 main ()
13398 {
13399
13400 #ifndef _SGI_COMPILER_VERSION
13401 choke me
13402 #endif
13403
13404 ;
13405 return 0;
13406 }
13407 _ACEOF
13408 rm -f conftest.$ac_objext
13409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13410 (eval $ac_compile) 2>conftest.er1
13411 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } &&
13417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; } &&
13423 { ac_try='test -s conftest.$ac_objext'
13424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13425 (eval $ac_try) 2>&5
13426 ac_status=$?
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); }; }; then
13429 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13430 else
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13433
13434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13435
13436 fi
13437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13438
13439
13440 fi
13441 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13442 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13443 ac_ext=c
13444 ac_cpp='$CPP $CPPFLAGS'
13445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13448
13449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13450 :; SGICC=yes
13451 else
13452 :;
13453 fi
13454
13455
13456 ;;
13457
13458 HP-UX*)
13459
13460
13461 ac_ext=c
13462 ac_cpp='$CPP $CPPFLAGS'
13463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13466
13467 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13468 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13469 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13472 cat >conftest.$ac_ext <<_ACEOF
13473 /* confdefs.h. */
13474 _ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478
13479 int
13480 main ()
13481 {
13482
13483 #ifndef __HP_cc
13484 choke me
13485 #endif
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13493 (eval $ac_compile) 2>conftest.er1
13494 ac_status=$?
13495 grep -v '^ *+' conftest.er1 >conftest.err
13496 rm -f conftest.er1
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13502 (eval $ac_try) 2>&5
13503 ac_status=$?
13504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13505 (exit $ac_status); }; } &&
13506 { ac_try='test -s conftest.$ac_objext'
13507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13508 (eval $ac_try) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); }; }; then
13512 bakefile_cv_c_compiler___HP_cc=yes
13513 else
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13516
13517 bakefile_cv_c_compiler___HP_cc=no
13518
13519 fi
13520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13521
13522
13523 fi
13524 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13525 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13526 ac_ext=c
13527 ac_cpp='$CPP $CPPFLAGS'
13528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13531
13532 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13533 :; HPCC=yes
13534 else
13535 :;
13536 fi
13537
13538
13539 ;;
13540
13541 OSF1)
13542
13543
13544 ac_ext=c
13545 ac_cpp='$CPP $CPPFLAGS'
13546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13549
13550 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13551 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13552 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 else
13555 cat >conftest.$ac_ext <<_ACEOF
13556 /* confdefs.h. */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561
13562 int
13563 main ()
13564 {
13565
13566 #ifndef __DECC
13567 choke me
13568 #endif
13569
13570 ;
13571 return 0;
13572 }
13573 _ACEOF
13574 rm -f conftest.$ac_objext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 (eval $ac_compile) 2>conftest.er1
13577 ac_status=$?
13578 grep -v '^ *+' conftest.er1 >conftest.err
13579 rm -f conftest.er1
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13586 ac_status=$?
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; } &&
13589 { ac_try='test -s conftest.$ac_objext'
13590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 (eval $ac_try) 2>&5
13592 ac_status=$?
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); }; }; then
13595 bakefile_cv_c_compiler___DECC=yes
13596 else
13597 echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 bakefile_cv_c_compiler___DECC=no
13601
13602 fi
13603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13604
13605
13606 fi
13607 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13608 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13609 ac_ext=c
13610 ac_cpp='$CPP $CPPFLAGS'
13611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13614
13615 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13616 :; COMPAQCC=yes
13617 else
13618 :;
13619 fi
13620
13621
13622 ;;
13623
13624 SunOS)
13625
13626
13627 ac_ext=c
13628 ac_cpp='$CPP $CPPFLAGS'
13629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13632
13633 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13634 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13635 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 cat >conftest.$ac_ext <<_ACEOF
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644
13645 int
13646 main ()
13647 {
13648
13649 #ifndef __SUNPRO_C
13650 choke me
13651 #endif
13652
13653 ;
13654 return 0;
13655 }
13656 _ACEOF
13657 rm -f conftest.$ac_objext
13658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13659 (eval $ac_compile) 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } &&
13666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13669 ac_status=$?
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; } &&
13672 { ac_try='test -s conftest.$ac_objext'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; }; then
13678 bakefile_cv_c_compiler___SUNPRO_C=yes
13679 else
13680 echo "$as_me: failed program was:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13682
13683 bakefile_cv_c_compiler___SUNPRO_C=no
13684
13685 fi
13686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13687
13688
13689 fi
13690 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13691 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13692 ac_ext=c
13693 ac_cpp='$CPP $CPPFLAGS'
13694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13697
13698 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13699 :; SUNCC=yes
13700 else
13701 :;
13702 fi
13703
13704
13705 ;;
13706 esac
13707 fi
13708
13709
13710
13711 ac_ext=c
13712 ac_cpp='$CPP $CPPFLAGS'
13713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13716 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13717 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13718 # On Suns, sometimes $CPP names a directory.
13719 if test -n "$CPP" && test -d "$CPP"; then
13720 CPP=
13721 fi
13722 if test -z "$CPP"; then
13723 if test "${ac_cv_prog_CPP+set}" = set; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 else
13726 # Double quotes because CPP needs to be expanded
13727 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13728 do
13729 ac_preproc_ok=false
13730 for ac_c_preproc_warn_flag in '' yes
13731 do
13732 # Use a header file that comes with gcc, so configuring glibc
13733 # with a fresh cross-compiler works.
13734 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13735 # <limits.h> exists even on freestanding compilers.
13736 # On the NeXT, cc -E runs the code through the compiler's parser,
13737 # not just through cpp. "Syntax error" is here to catch this case.
13738 cat >conftest.$ac_ext <<_ACEOF
13739 /* confdefs.h. */
13740 _ACEOF
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 #ifdef __STDC__
13745 # include <limits.h>
13746 #else
13747 # include <assert.h>
13748 #endif
13749 Syntax error
13750 _ACEOF
13751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } >/dev/null; then
13759 if test -s conftest.err; then
13760 ac_cpp_err=$ac_c_preproc_warn_flag
13761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13762 else
13763 ac_cpp_err=
13764 fi
13765 else
13766 ac_cpp_err=yes
13767 fi
13768 if test -z "$ac_cpp_err"; then
13769 :
13770 else
13771 echo "$as_me: failed program was:" >&5
13772 sed 's/^/| /' conftest.$ac_ext >&5
13773
13774 # Broken: fails on valid input.
13775 continue
13776 fi
13777 rm -f conftest.err conftest.$ac_ext
13778
13779 # OK, works on sane cases. Now check whether non-existent headers
13780 # can be detected and how.
13781 cat >conftest.$ac_ext <<_ACEOF
13782 /* confdefs.h. */
13783 _ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787 #include <ac_nonexistent.h>
13788 _ACEOF
13789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13791 ac_status=$?
13792 grep -v '^ *+' conftest.er1 >conftest.err
13793 rm -f conftest.er1
13794 cat conftest.err >&5
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); } >/dev/null; then
13797 if test -s conftest.err; then
13798 ac_cpp_err=$ac_c_preproc_warn_flag
13799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13800 else
13801 ac_cpp_err=
13802 fi
13803 else
13804 ac_cpp_err=yes
13805 fi
13806 if test -z "$ac_cpp_err"; then
13807 # Broken: success on invalid input.
13808 continue
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13812
13813 # Passes both tests.
13814 ac_preproc_ok=:
13815 break
13816 fi
13817 rm -f conftest.err conftest.$ac_ext
13818
13819 done
13820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13821 rm -f conftest.err conftest.$ac_ext
13822 if $ac_preproc_ok; then
13823 break
13824 fi
13825
13826 done
13827 ac_cv_prog_CPP=$CPP
13828
13829 fi
13830 CPP=$ac_cv_prog_CPP
13831 else
13832 ac_cv_prog_CPP=$CPP
13833 fi
13834 echo "$as_me:$LINENO: result: $CPP" >&5
13835 echo "${ECHO_T}$CPP" >&6
13836 ac_preproc_ok=false
13837 for ac_c_preproc_warn_flag in '' yes
13838 do
13839 # Use a header file that comes with gcc, so configuring glibc
13840 # with a fresh cross-compiler works.
13841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13842 # <limits.h> exists even on freestanding compilers.
13843 # On the NeXT, cc -E runs the code through the compiler's parser,
13844 # not just through cpp. "Syntax error" is here to catch this case.
13845 cat >conftest.$ac_ext <<_ACEOF
13846 /* confdefs.h. */
13847 _ACEOF
13848 cat confdefs.h >>conftest.$ac_ext
13849 cat >>conftest.$ac_ext <<_ACEOF
13850 /* end confdefs.h. */
13851 #ifdef __STDC__
13852 # include <limits.h>
13853 #else
13854 # include <assert.h>
13855 #endif
13856 Syntax error
13857 _ACEOF
13858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13860 ac_status=$?
13861 grep -v '^ *+' conftest.er1 >conftest.err
13862 rm -f conftest.er1
13863 cat conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } >/dev/null; then
13866 if test -s conftest.err; then
13867 ac_cpp_err=$ac_c_preproc_warn_flag
13868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13869 else
13870 ac_cpp_err=
13871 fi
13872 else
13873 ac_cpp_err=yes
13874 fi
13875 if test -z "$ac_cpp_err"; then
13876 :
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13880
13881 # Broken: fails on valid input.
13882 continue
13883 fi
13884 rm -f conftest.err conftest.$ac_ext
13885
13886 # OK, works on sane cases. Now check whether non-existent headers
13887 # can be detected and how.
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h. */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h. */
13894 #include <ac_nonexistent.h>
13895 _ACEOF
13896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } >/dev/null; then
13904 if test -s conftest.err; then
13905 ac_cpp_err=$ac_c_preproc_warn_flag
13906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13907 else
13908 ac_cpp_err=
13909 fi
13910 else
13911 ac_cpp_err=yes
13912 fi
13913 if test -z "$ac_cpp_err"; then
13914 # Broken: success on invalid input.
13915 continue
13916 else
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13919
13920 # Passes both tests.
13921 ac_preproc_ok=:
13922 break
13923 fi
13924 rm -f conftest.err conftest.$ac_ext
13925
13926 done
13927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13928 rm -f conftest.err conftest.$ac_ext
13929 if $ac_preproc_ok; then
13930 :
13931 else
13932 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13933 See \`config.log' for more details." >&5
13934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13935 See \`config.log' for more details." >&2;}
13936 { (exit 1); exit 1; }; }
13937 fi
13938
13939 ac_ext=c
13940 ac_cpp='$CPP $CPPFLAGS'
13941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13944
13945
13946 echo "$as_me:$LINENO: checking for egrep" >&5
13947 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13948 if test "${ac_cv_prog_egrep+set}" = set; then
13949 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 else
13951 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13952 then ac_cv_prog_egrep='grep -E'
13953 else ac_cv_prog_egrep='egrep'
13954 fi
13955 fi
13956 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13957 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13958 EGREP=$ac_cv_prog_egrep
13959
13960
13961 if test $ac_cv_c_compiler_gnu = yes; then
13962 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13963 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13964 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13966 else
13967 ac_pattern="Autoconf.*'x'"
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 #include <sgtty.h>
13975 Autoconf TIOCGETP
13976 _ACEOF
13977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13978 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13979 ac_cv_prog_gcc_traditional=yes
13980 else
13981 ac_cv_prog_gcc_traditional=no
13982 fi
13983 rm -f conftest*
13984
13985
13986 if test $ac_cv_prog_gcc_traditional = no; then
13987 cat >conftest.$ac_ext <<_ACEOF
13988 /* confdefs.h. */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993 #include <termio.h>
13994 Autoconf TCGETA
13995 _ACEOF
13996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13997 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13998 ac_cv_prog_gcc_traditional=yes
13999 fi
14000 rm -f conftest*
14001
14002 fi
14003 fi
14004 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14005 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14006 if test $ac_cv_prog_gcc_traditional = yes; then
14007 CC="$CC -traditional"
14008 fi
14009 fi
14010
14011
14012 CXXFLAGS=${CXXFLAGS:=}
14013
14014
14015
14016 ac_ext=cc
14017 ac_cpp='$CXXCPP $CPPFLAGS'
14018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14021 if test -n "$ac_tool_prefix"; then
14022 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14023 do
14024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14026 echo "$as_me:$LINENO: checking for $ac_word" >&5
14027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14028 if test "${ac_cv_prog_CXX+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 if test -n "$CXX"; then
14032 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14033 else
14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14035 for as_dir in $PATH
14036 do
14037 IFS=$as_save_IFS
14038 test -z "$as_dir" && as_dir=.
14039 for ac_exec_ext in '' $ac_executable_extensions; do
14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14041 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14043 break 2
14044 fi
14045 done
14046 done
14047
14048 fi
14049 fi
14050 CXX=$ac_cv_prog_CXX
14051 if test -n "$CXX"; then
14052 echo "$as_me:$LINENO: result: $CXX" >&5
14053 echo "${ECHO_T}$CXX" >&6
14054 else
14055 echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6
14057 fi
14058
14059 test -n "$CXX" && break
14060 done
14061 fi
14062 if test -z "$CXX"; then
14063 ac_ct_CXX=$CXX
14064 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14065 do
14066 # Extract the first word of "$ac_prog", so it can be a program name with args.
14067 set dummy $ac_prog; ac_word=$2
14068 echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 else
14073 if test -n "$ac_ct_CXX"; then
14074 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14075 else
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14078 do
14079 IFS=$as_save_IFS
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14083 ac_cv_prog_ac_ct_CXX="$ac_prog"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14085 break 2
14086 fi
14087 done
14088 done
14089
14090 fi
14091 fi
14092 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14093 if test -n "$ac_ct_CXX"; then
14094 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14095 echo "${ECHO_T}$ac_ct_CXX" >&6
14096 else
14097 echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6
14099 fi
14100
14101 test -n "$ac_ct_CXX" && break
14102 done
14103 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14104
14105 CXX=$ac_ct_CXX
14106 fi
14107
14108
14109 # Provide some information about the compiler.
14110 echo "$as_me:$LINENO:" \
14111 "checking for C++ compiler version" >&5
14112 ac_compiler=`set X $ac_compile; echo $2`
14113 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14114 (eval $ac_compiler --version </dev/null >&5) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }
14118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14119 (eval $ac_compiler -v </dev/null >&5) 2>&5
14120 ac_status=$?
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }
14123 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14124 (eval $ac_compiler -V </dev/null >&5) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }
14128
14129 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14130 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 else
14134 cat >conftest.$ac_ext <<_ACEOF
14135 /* confdefs.h. */
14136 _ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14140
14141 int
14142 main ()
14143 {
14144 #ifndef __GNUC__
14145 choke me
14146 #endif
14147
14148 ;
14149 return 0;
14150 }
14151 _ACEOF
14152 rm -f conftest.$ac_objext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14154 (eval $ac_compile) 2>conftest.er1
14155 ac_status=$?
14156 grep -v '^ *+' conftest.er1 >conftest.err
14157 rm -f conftest.er1
14158 cat conftest.err >&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14164 ac_status=$?
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try='test -s conftest.$ac_objext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14170 ac_status=$?
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_compiler_gnu=yes
14174 else
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.$ac_ext >&5
14177
14178 ac_compiler_gnu=no
14179 fi
14180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14181 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14182
14183 fi
14184 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14185 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14186 GXX=`test $ac_compiler_gnu = yes && echo yes`
14187 ac_test_CXXFLAGS=${CXXFLAGS+set}
14188 ac_save_CXXFLAGS=$CXXFLAGS
14189 CXXFLAGS="-g"
14190 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14192 if test "${ac_cv_prog_cxx_g+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201
14202 int
14203 main ()
14204 {
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221 (eval $ac_try) 2>&5
14222 ac_status=$?
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; } &&
14225 { ac_try='test -s conftest.$ac_objext'
14226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227 (eval $ac_try) 2>&5
14228 ac_status=$?
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); }; }; then
14231 ac_cv_prog_cxx_g=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 ac_cv_prog_cxx_g=no
14237 fi
14238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 fi
14240 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14241 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14242 if test "$ac_test_CXXFLAGS" = set; then
14243 CXXFLAGS=$ac_save_CXXFLAGS
14244 elif test $ac_cv_prog_cxx_g = yes; then
14245 if test "$GXX" = yes; then
14246 CXXFLAGS="-g -O2"
14247 else
14248 CXXFLAGS="-g"
14249 fi
14250 else
14251 if test "$GXX" = yes; then
14252 CXXFLAGS="-O2"
14253 else
14254 CXXFLAGS=
14255 fi
14256 fi
14257 for ac_declaration in \
14258 '' \
14259 'extern "C" void std::exit (int) throw (); using std::exit;' \
14260 'extern "C" void std::exit (int); using std::exit;' \
14261 'extern "C" void exit (int) throw ();' \
14262 'extern "C" void exit (int);' \
14263 'void exit (int);'
14264 do
14265 cat >conftest.$ac_ext <<_ACEOF
14266 /* confdefs.h. */
14267 _ACEOF
14268 cat confdefs.h >>conftest.$ac_ext
14269 cat >>conftest.$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271 $ac_declaration
14272 #include <stdlib.h>
14273 int
14274 main ()
14275 {
14276 exit (42);
14277 ;
14278 return 0;
14279 }
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>conftest.er1
14284 ac_status=$?
14285 grep -v '^ *+' conftest.er1 >conftest.err
14286 rm -f conftest.er1
14287 cat conftest.err >&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); } &&
14290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 :
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14306
14307 continue
14308 fi
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14310 cat >conftest.$ac_ext <<_ACEOF
14311 /* confdefs.h. */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_declaration
14317 int
14318 main ()
14319 {
14320 exit (42);
14321 ;
14322 return 0;
14323 }
14324 _ACEOF
14325 rm -f conftest.$ac_objext
14326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14327 (eval $ac_compile) 2>conftest.er1
14328 ac_status=$?
14329 grep -v '^ *+' conftest.er1 >conftest.err
14330 rm -f conftest.er1
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; } &&
14340 { ac_try='test -s conftest.$ac_objext'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14343 ac_status=$?
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; }; then
14346 break
14347 else
14348 echo "$as_me: failed program was:" >&5
14349 sed 's/^/| /' conftest.$ac_ext >&5
14350
14351 fi
14352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14353 done
14354 rm -f conftest*
14355 if test -n "$ac_declaration"; then
14356 echo '#ifdef __cplusplus' >>confdefs.h
14357 echo $ac_declaration >>confdefs.h
14358 echo '#endif' >>confdefs.h
14359 fi
14360
14361 ac_ext=c
14362 ac_cpp='$CPP $CPPFLAGS'
14363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14366
14367
14368
14369 ac_ext=cc
14370 ac_cpp='$CXXCPP $CPPFLAGS'
14371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14374
14375 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14376 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14377 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 else
14380 cat >conftest.$ac_ext <<_ACEOF
14381 /* confdefs.h. */
14382 _ACEOF
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386
14387 int
14388 main ()
14389 {
14390
14391 #ifndef __INTEL_COMPILER
14392 choke me
14393 #endif
14394
14395 ;
14396 return 0;
14397 }
14398 _ACEOF
14399 rm -f conftest.$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14402 ac_status=$?
14403 grep -v '^ *+' conftest.er1 >conftest.err
14404 rm -f conftest.er1
14405 cat conftest.err >&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14417 ac_status=$?
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14421 else
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14424
14425 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14426
14427 fi
14428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14429
14430
14431 fi
14432 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14433 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14434 ac_ext=c
14435 ac_cpp='$CPP $CPPFLAGS'
14436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14439
14440 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14441 :; INTELCXX=yes
14442 else
14443 :;
14444 fi
14445
14446
14447 if test "x$GCXX" != "xyes"; then
14448 if test "xCXX" = "xC"; then
14449 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14450 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14451 if test "${bakefile_cv_c_exto+set}" = set; then
14452 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 else
14454 cat >conftest.$ac_ext <<_ACEOF
14455 /* confdefs.h. */
14456 _ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460
14461 int
14462 main ()
14463 {
14464
14465 ;
14466 return 0;
14467 }
14468 _ACEOF
14469 rm -f conftest.$ac_objext conftest.$ac_ext.o
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>&5
14472 ac_status=$?
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; then
14475 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14476 case $ac_file in
14477 conftest.$ac_ext.o)
14478 bakefile_cv_c_exto="-ext o"
14479 ;;
14480 *)
14481 ;;
14482 esac
14483 done
14484 else
14485 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14486 See \`config.log' for more details." >&5
14487 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14488 See \`config.log' for more details." >&2;}
14489 { (exit 1); exit 1; }; }
14490
14491 fi
14492
14493 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14494
14495 fi
14496 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14497 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14498 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14499 if test "c" = "c"; then
14500 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14501 fi
14502 if test "c" = "cxx"; then
14503 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14504 fi
14505 fi
14506
14507 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14508 unset ac_cv_prog_cc_g
14509 ac_test_CFLAGS=${CFLAGS+set}
14510 ac_save_CFLAGS=$CFLAGS
14511 CFLAGS="-g"
14512 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14513 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14514 if test "${ac_cv_prog_cc_g+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 cat >conftest.$ac_ext <<_ACEOF
14518 /* confdefs.h. */
14519 _ACEOF
14520 cat confdefs.h >>conftest.$ac_ext
14521 cat >>conftest.$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523
14524 int
14525 main ()
14526 {
14527
14528 ;
14529 return 0;
14530 }
14531 _ACEOF
14532 rm -f conftest.$ac_objext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14534 (eval $ac_compile) 2>conftest.er1
14535 ac_status=$?
14536 grep -v '^ *+' conftest.er1 >conftest.err
14537 rm -f conftest.er1
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543 (eval $ac_try) 2>&5
14544 ac_status=$?
14545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546 (exit $ac_status); }; } &&
14547 { ac_try='test -s conftest.$ac_objext'
14548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14549 (eval $ac_try) 2>&5
14550 ac_status=$?
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; }; then
14553 ac_cv_prog_cc_g=yes
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 ac_cv_prog_cc_g=no
14559 fi
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14561 fi
14562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14564 if test "$ac_test_CFLAGS" = set; then
14565 CFLAGS=$ac_save_CFLAGS
14566 elif test $ac_cv_prog_cc_g = yes; then
14567 if test "$GCC" = yes; then
14568 CFLAGS="-g -O2"
14569 else
14570 CFLAGS="-g"
14571 fi
14572 else
14573 if test "$GCC" = yes; then
14574 CFLAGS="-O2"
14575 else
14576 CFLAGS=
14577 fi
14578 fi
14579 fi
14580 fi
14581
14582 case `uname -s` in
14583 AIX*)
14584 ac_ext=cc
14585 ac_cpp='$CXXCPP $CPPFLAGS'
14586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14589
14590 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601
14602 int
14603 main ()
14604 {
14605 #ifndef __xlC__
14606 choke me
14607 #endif
14608
14609 ;
14610 return 0;
14611 }
14612 _ACEOF
14613 rm -f conftest.$ac_objext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14615 (eval $ac_compile) 2>conftest.er1
14616 ac_status=$?
14617 grep -v '^ *+' conftest.er1 >conftest.err
14618 rm -f conftest.er1
14619 cat conftest.err >&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 bakefile_compiler_xlc=yes
14635 else
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14638
14639 bakefile_compiler_xlc=no
14640 fi
14641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14642 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14643
14644 fi
14645 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14646 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14647
14648 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14649 ac_ext=c
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14654
14655
14656 ;;
14657
14658 Darwin)
14659 ac_ext=cc
14660 ac_cpp='$CXXCPP $CPPFLAGS'
14661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14664
14665 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14666 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14667 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14668 echo $ECHO_N "(cached) $ECHO_C" >&6
14669 else
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676
14677 int
14678 main ()
14679 {
14680 #ifndef __MWERKS__
14681 choke me
14682 #endif
14683
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 rm -f conftest.$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690 (eval $ac_compile) 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } &&
14697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; } &&
14703 { ac_try='test -s conftest.$ac_objext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 bakefile_compiler_mwerks=yes
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 bakefile_compiler_mwerks=no
14715 fi
14716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14717 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14718
14719 fi
14720 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14721 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14722
14723 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14724 ac_ext=c
14725 ac_cpp='$CPP $CPPFLAGS'
14726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14729
14730
14731 ac_ext=cc
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14736
14737 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14738 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14739 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748
14749 int
14750 main ()
14751 {
14752 #ifndef __xlC__
14753 choke me
14754 #endif
14755
14756 ;
14757 return 0;
14758 }
14759 _ACEOF
14760 rm -f conftest.$ac_objext
14761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14762 (eval $ac_compile) 2>conftest.er1
14763 ac_status=$?
14764 grep -v '^ *+' conftest.er1 >conftest.err
14765 rm -f conftest.er1
14766 cat conftest.err >&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; } &&
14775 { ac_try='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14778 ac_status=$?
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14781 bakefile_compiler_xlc=yes
14782 else
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14785
14786 bakefile_compiler_xlc=no
14787 fi
14788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14789 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14790
14791 fi
14792 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14793 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14794
14795 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14796 ac_ext=c
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14801
14802
14803 ;;
14804
14805 IRIX*)
14806
14807
14808 ac_ext=cc
14809 ac_cpp='$CXXCPP $CPPFLAGS'
14810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14813
14814 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14815 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14816 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 else
14819 cat >conftest.$ac_ext <<_ACEOF
14820 /* confdefs.h. */
14821 _ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14825
14826 int
14827 main ()
14828 {
14829
14830 #ifndef _SGI_COMPILER_VERSION
14831 choke me
14832 #endif
14833
14834 ;
14835 return 0;
14836 }
14837 _ACEOF
14838 rm -f conftest.$ac_objext
14839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14840 (eval $ac_compile) 2>conftest.er1
14841 ac_status=$?
14842 grep -v '^ *+' conftest.er1 >conftest.err
14843 rm -f conftest.er1
14844 cat conftest.err >&5
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; } &&
14853 { ac_try='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14860 else
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14863
14864 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14865
14866 fi
14867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14868
14869
14870 fi
14871 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14872 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14873 ac_ext=c
14874 ac_cpp='$CPP $CPPFLAGS'
14875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14878
14879 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14880 :; SGICXX=yes
14881 else
14882 :;
14883 fi
14884
14885
14886 ;;
14887
14888 HP-UX*)
14889
14890
14891 ac_ext=cc
14892 ac_cpp='$CXXCPP $CPPFLAGS'
14893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14896
14897 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14898 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14899 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908
14909 int
14910 main ()
14911 {
14912
14913 #ifndef __HP_aCC
14914 choke me
14915 #endif
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14933 ac_status=$?
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try='test -s conftest.$ac_objext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14939 ac_status=$?
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 bakefile_cv_cxx_compiler___HP_aCC=yes
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14946
14947 bakefile_cv_cxx_compiler___HP_aCC=no
14948
14949 fi
14950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14951
14952
14953 fi
14954 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14955 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14956 ac_ext=c
14957 ac_cpp='$CPP $CPPFLAGS'
14958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14961
14962 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
14963 :; HPCXX=yes
14964 else
14965 :;
14966 fi
14967
14968
14969 ;;
14970
14971 OSF1)
14972
14973
14974 ac_ext=cc
14975 ac_cpp='$CXXCPP $CPPFLAGS'
14976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14979
14980 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14981 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14982 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991
14992 int
14993 main ()
14994 {
14995
14996 #ifndef __DECCXX
14997 choke me
14998 #endif
14999
15000 ;
15001 return 0;
15002 }
15003 _ACEOF
15004 rm -f conftest.$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15007 ac_status=$?
15008 grep -v '^ *+' conftest.er1 >conftest.err
15009 rm -f conftest.er1
15010 cat conftest.err >&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15022 ac_status=$?
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 bakefile_cv_cxx_compiler___DECCXX=yes
15026 else
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 bakefile_cv_cxx_compiler___DECCXX=no
15031
15032 fi
15033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15034
15035
15036 fi
15037 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15038 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15039 ac_ext=c
15040 ac_cpp='$CPP $CPPFLAGS'
15041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15044
15045 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15046 :; COMPAQCXX=yes
15047 else
15048 :;
15049 fi
15050
15051
15052 ;;
15053
15054 SunOS)
15055
15056
15057 ac_ext=cc
15058 ac_cpp='$CXXCPP $CPPFLAGS'
15059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15062
15063 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15064 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15065 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15066 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 else
15068 cat >conftest.$ac_ext <<_ACEOF
15069 /* confdefs.h. */
15070 _ACEOF
15071 cat confdefs.h >>conftest.$ac_ext
15072 cat >>conftest.$ac_ext <<_ACEOF
15073 /* end confdefs.h. */
15074
15075 int
15076 main ()
15077 {
15078
15079 #ifndef __SUNPRO_CC
15080 choke me
15081 #endif
15082
15083 ;
15084 return 0;
15085 }
15086 _ACEOF
15087 rm -f conftest.$ac_objext
15088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15089 (eval $ac_compile) 2>conftest.er1
15090 ac_status=$?
15091 grep -v '^ *+' conftest.er1 >conftest.err
15092 rm -f conftest.er1
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; } &&
15102 { ac_try='test -s conftest.$ac_objext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15109 else
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.$ac_ext >&5
15112
15113 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15114
15115 fi
15116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15117
15118
15119 fi
15120 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15122 ac_ext=c
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15127
15128 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15129 :; SUNCXX=yes
15130 else
15131 :;
15132 fi
15133
15134
15135 ;;
15136 esac
15137 fi
15138
15139
15140
15141 if test -n "$ac_tool_prefix"; then
15142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15144 echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15146 if test "${ac_cv_prog_RANLIB+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 if test -n "$RANLIB"; then
15150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15151 else
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15154 do
15155 IFS=$as_save_IFS
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 break 2
15162 fi
15163 done
15164 done
15165
15166 fi
15167 fi
15168 RANLIB=$ac_cv_prog_RANLIB
15169 if test -n "$RANLIB"; then
15170 echo "$as_me:$LINENO: result: $RANLIB" >&5
15171 echo "${ECHO_T}$RANLIB" >&6
15172 else
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15175 fi
15176
15177 fi
15178 if test -z "$ac_cv_prog_RANLIB"; then
15179 ac_ct_RANLIB=$RANLIB
15180 # Extract the first word of "ranlib", so it can be a program name with args.
15181 set dummy ranlib; ac_word=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 else
15187 if test -n "$ac_ct_RANLIB"; then
15188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15189 else
15190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15191 for as_dir in $PATH
15192 do
15193 IFS=$as_save_IFS
15194 test -z "$as_dir" && as_dir=.
15195 for ac_exec_ext in '' $ac_executable_extensions; do
15196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15197 ac_cv_prog_ac_ct_RANLIB="ranlib"
15198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15199 break 2
15200 fi
15201 done
15202 done
15203
15204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15205 fi
15206 fi
15207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15208 if test -n "$ac_ct_RANLIB"; then
15209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15211 else
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15214 fi
15215
15216 RANLIB=$ac_ct_RANLIB
15217 else
15218 RANLIB="$ac_cv_prog_RANLIB"
15219 fi
15220
15221
15222 if test -n "$ac_tool_prefix"; then
15223 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15224 set dummy ${ac_tool_prefix}ar; ac_word=$2
15225 echo "$as_me:$LINENO: checking for $ac_word" >&5
15226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15227 if test "${ac_cv_prog_AR+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15229 else
15230 if test -n "$AR"; then
15231 ac_cv_prog_AR="$AR" # Let the user override the test.
15232 else
15233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15234 for as_dir in $PATH
15235 do
15236 IFS=$as_save_IFS
15237 test -z "$as_dir" && as_dir=.
15238 for ac_exec_ext in '' $ac_executable_extensions; do
15239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15240 ac_cv_prog_AR="${ac_tool_prefix}ar"
15241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15242 break 2
15243 fi
15244 done
15245 done
15246
15247 fi
15248 fi
15249 AR=$ac_cv_prog_AR
15250 if test -n "$AR"; then
15251 echo "$as_me:$LINENO: result: $AR" >&5
15252 echo "${ECHO_T}$AR" >&6
15253 else
15254 echo "$as_me:$LINENO: result: no" >&5
15255 echo "${ECHO_T}no" >&6
15256 fi
15257
15258 fi
15259 if test -z "$ac_cv_prog_AR"; then
15260 ac_ct_AR=$AR
15261 # Extract the first word of "ar", so it can be a program name with args.
15262 set dummy ar; ac_word=$2
15263 echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15265 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 else
15268 if test -n "$ac_ct_AR"; then
15269 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15270 else
15271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15272 for as_dir in $PATH
15273 do
15274 IFS=$as_save_IFS
15275 test -z "$as_dir" && as_dir=.
15276 for ac_exec_ext in '' $ac_executable_extensions; do
15277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15278 ac_cv_prog_ac_ct_AR="ar"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15280 break 2
15281 fi
15282 done
15283 done
15284
15285 fi
15286 fi
15287 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15288 if test -n "$ac_ct_AR"; then
15289 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15290 echo "${ECHO_T}$ac_ct_AR" >&6
15291 else
15292 echo "$as_me:$LINENO: result: no" >&5
15293 echo "${ECHO_T}no" >&6
15294 fi
15295
15296 AR=$ac_ct_AR
15297 else
15298 AR="$ac_cv_prog_AR"
15299 fi
15300
15301 if test "x$AR" = "x" ; then
15302 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15303 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15304 { (exit 1); exit 1; }; }
15305 fi
15306
15307 # Find a good install program. We prefer a C program (faster),
15308 # so one script is as good as another. But avoid the broken or
15309 # incompatible versions:
15310 # SysV /etc/install, /usr/sbin/install
15311 # SunOS /usr/etc/install
15312 # IRIX /sbin/install
15313 # AIX /bin/install
15314 # AmigaOS /C/install, which installs bootblocks on floppy discs
15315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15318 # OS/2's system install, which has a completely different semantic
15319 # ./install, which can be erroneously created by make from ./install.sh.
15320 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15321 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15322 if test -z "$INSTALL"; then
15323 if test "${ac_cv_path_install+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 else
15326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15327 for as_dir in $PATH
15328 do
15329 IFS=$as_save_IFS
15330 test -z "$as_dir" && as_dir=.
15331 # Account for people who put trailing slashes in PATH elements.
15332 case $as_dir/ in
15333 ./ | .// | /cC/* | \
15334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15335 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15336 /usr/ucb/* ) ;;
15337 *)
15338 # OSF1 and SCO ODT 3.0 have their own names for install.
15339 # Don't use installbsd from OSF since it installs stuff as root
15340 # by default.
15341 for ac_prog in ginstall scoinst install; do
15342 for ac_exec_ext in '' $ac_executable_extensions; do
15343 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15344 if test $ac_prog = install &&
15345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15346 # AIX install. It has an incompatible calling convention.
15347 :
15348 elif test $ac_prog = install &&
15349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15350 # program-specific install script used by HP pwplus--don't use.
15351 :
15352 else
15353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15354 break 3
15355 fi
15356 fi
15357 done
15358 done
15359 ;;
15360 esac
15361 done
15362
15363
15364 fi
15365 if test "${ac_cv_path_install+set}" = set; then
15366 INSTALL=$ac_cv_path_install
15367 else
15368 # As a last resort, use the slow shell script. We don't cache a
15369 # path for INSTALL within a source directory, because that will
15370 # break other packages using the cache if that directory is
15371 # removed, or if the path is relative.
15372 INSTALL=$ac_install_sh
15373 fi
15374 fi
15375 echo "$as_me:$LINENO: result: $INSTALL" >&5
15376 echo "${ECHO_T}$INSTALL" >&6
15377
15378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15379 # It thinks the first close brace ends the variable substitution.
15380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15381
15382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15383
15384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15385
15386
15387 case ${INSTALL} in
15388 /* ) # Absolute
15389 ;;
15390 ?:* ) # Drive letter, considered as absolute.
15391 ;;
15392 *)
15393 INSTALL=`pwd`/${INSTALL} ;;
15394 esac
15395
15396
15397 case "${host}" in
15398
15399 *-*-darwin* )
15400 INSTALL_PROGRAM="cp -fp"
15401 INSTALL_DATA="cp -fp"
15402 ;;
15403 *)
15404 ;;
15405 esac
15406
15407 if test -n "$ac_tool_prefix"; then
15408 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15409 set dummy ${ac_tool_prefix}strip; ac_word=$2
15410 echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15412 if test "${ac_cv_prog_STRIP+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415 if test -n "$STRIP"; then
15416 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15417 else
15418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15419 for as_dir in $PATH
15420 do
15421 IFS=$as_save_IFS
15422 test -z "$as_dir" && as_dir=.
15423 for ac_exec_ext in '' $ac_executable_extensions; do
15424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15425 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15427 break 2
15428 fi
15429 done
15430 done
15431
15432 fi
15433 fi
15434 STRIP=$ac_cv_prog_STRIP
15435 if test -n "$STRIP"; then
15436 echo "$as_me:$LINENO: result: $STRIP" >&5
15437 echo "${ECHO_T}$STRIP" >&6
15438 else
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15441 fi
15442
15443 fi
15444 if test -z "$ac_cv_prog_STRIP"; then
15445 ac_ct_STRIP=$STRIP
15446 # Extract the first word of "strip", so it can be a program name with args.
15447 set dummy strip; 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_ac_ct_STRIP+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 else
15453 if test -n "$ac_ct_STRIP"; then
15454 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
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 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15471 fi
15472 fi
15473 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15474 if test -n "$ac_ct_STRIP"; then
15475 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15476 echo "${ECHO_T}$ac_ct_STRIP" >&6
15477 else
15478 echo "$as_me:$LINENO: result: no" >&5
15479 echo "${ECHO_T}no" >&6
15480 fi
15481
15482 STRIP=$ac_ct_STRIP
15483 else
15484 STRIP="$ac_cv_prog_STRIP"
15485 fi
15486
15487
15488 if test "$wxUSE_WINE" = "yes"; then
15489 if test -n "$ac_tool_prefix"; then
15490 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15491 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15492 echo "$as_me:$LINENO: checking for $ac_word" >&5
15493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15494 if test "${ac_cv_prog_WINDRES+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 else
15497 if test -n "$WINDRES"; then
15498 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15499 else
15500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15501 for as_dir in $PATH
15502 do
15503 IFS=$as_save_IFS
15504 test -z "$as_dir" && as_dir=.
15505 for ac_exec_ext in '' $ac_executable_extensions; do
15506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15507 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15509 break 2
15510 fi
15511 done
15512 done
15513
15514 fi
15515 fi
15516 WINDRES=$ac_cv_prog_WINDRES
15517 if test -n "$WINDRES"; then
15518 echo "$as_me:$LINENO: result: $WINDRES" >&5
15519 echo "${ECHO_T}$WINDRES" >&6
15520 else
15521 echo "$as_me:$LINENO: result: no" >&5
15522 echo "${ECHO_T}no" >&6
15523 fi
15524
15525 fi
15526 if test -z "$ac_cv_prog_WINDRES"; then
15527 ac_ct_WINDRES=$WINDRES
15528 # Extract the first word of "wrc", so it can be a program name with args.
15529 set dummy wrc; ac_word=$2
15530 echo "$as_me:$LINENO: checking for $ac_word" >&5
15531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15532 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535 if test -n "$ac_ct_WINDRES"; then
15536 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15537 else
15538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15539 for as_dir in $PATH
15540 do
15541 IFS=$as_save_IFS
15542 test -z "$as_dir" && as_dir=.
15543 for ac_exec_ext in '' $ac_executable_extensions; do
15544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15545 ac_cv_prog_ac_ct_WINDRES="wrc"
15546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15547 break 2
15548 fi
15549 done
15550 done
15551
15552 fi
15553 fi
15554 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15555 if test -n "$ac_ct_WINDRES"; then
15556 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15557 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15558 else
15559 echo "$as_me:$LINENO: result: no" >&5
15560 echo "${ECHO_T}no" >&6
15561 fi
15562
15563 WINDRES=$ac_ct_WINDRES
15564 else
15565 WINDRES="$ac_cv_prog_WINDRES"
15566 fi
15567
15568 RESCOMP="$WINDRES"
15569 else
15570 case "${host}" in
15571 *-*-cygwin* | *-*-mingw32* )
15572 if test -n "$ac_tool_prefix"; then
15573 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15574 set dummy ${ac_tool_prefix}windres; ac_word=$2
15575 echo "$as_me:$LINENO: checking for $ac_word" >&5
15576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15577 if test "${ac_cv_prog_WINDRES+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 else
15580 if test -n "$WINDRES"; then
15581 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15582 else
15583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15584 for as_dir in $PATH
15585 do
15586 IFS=$as_save_IFS
15587 test -z "$as_dir" && as_dir=.
15588 for ac_exec_ext in '' $ac_executable_extensions; do
15589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15590 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15592 break 2
15593 fi
15594 done
15595 done
15596
15597 fi
15598 fi
15599 WINDRES=$ac_cv_prog_WINDRES
15600 if test -n "$WINDRES"; then
15601 echo "$as_me:$LINENO: result: $WINDRES" >&5
15602 echo "${ECHO_T}$WINDRES" >&6
15603 else
15604 echo "$as_me:$LINENO: result: no" >&5
15605 echo "${ECHO_T}no" >&6
15606 fi
15607
15608 fi
15609 if test -z "$ac_cv_prog_WINDRES"; then
15610 ac_ct_WINDRES=$WINDRES
15611 # Extract the first word of "windres", so it can be a program name with args.
15612 set dummy windres; ac_word=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 if test -n "$ac_ct_WINDRES"; then
15619 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15620 else
15621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622 for as_dir in $PATH
15623 do
15624 IFS=$as_save_IFS
15625 test -z "$as_dir" && as_dir=.
15626 for ac_exec_ext in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_ac_ct_WINDRES="windres"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15630 break 2
15631 fi
15632 done
15633 done
15634
15635 fi
15636 fi
15637 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15638 if test -n "$ac_ct_WINDRES"; then
15639 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15640 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15641 else
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15644 fi
15645
15646 WINDRES=$ac_ct_WINDRES
15647 else
15648 WINDRES="$ac_cv_prog_WINDRES"
15649 fi
15650
15651 RESCOMP="$WINDRES"
15652 if test -n "$ac_tool_prefix"; then
15653 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15654 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15655 echo "$as_me:$LINENO: checking for $ac_word" >&5
15656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15657 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15659 else
15660 if test -n "$DLLTOOL"; then
15661 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15662 else
15663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15664 for as_dir in $PATH
15665 do
15666 IFS=$as_save_IFS
15667 test -z "$as_dir" && as_dir=.
15668 for ac_exec_ext in '' $ac_executable_extensions; do
15669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15670 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15672 break 2
15673 fi
15674 done
15675 done
15676
15677 fi
15678 fi
15679 DLLTOOL=$ac_cv_prog_DLLTOOL
15680 if test -n "$DLLTOOL"; then
15681 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15682 echo "${ECHO_T}$DLLTOOL" >&6
15683 else
15684 echo "$as_me:$LINENO: result: no" >&5
15685 echo "${ECHO_T}no" >&6
15686 fi
15687
15688 fi
15689 if test -z "$ac_cv_prog_DLLTOOL"; then
15690 ac_ct_DLLTOOL=$DLLTOOL
15691 # Extract the first word of "dlltool", so it can be a program name with args.
15692 set dummy dlltool; ac_word=$2
15693 echo "$as_me:$LINENO: checking for $ac_word" >&5
15694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15695 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698 if test -n "$ac_ct_DLLTOOL"; then
15699 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15700 else
15701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15702 for as_dir in $PATH
15703 do
15704 IFS=$as_save_IFS
15705 test -z "$as_dir" && as_dir=.
15706 for ac_exec_ext in '' $ac_executable_extensions; do
15707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15708 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15710 break 2
15711 fi
15712 done
15713 done
15714
15715 fi
15716 fi
15717 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15718 if test -n "$ac_ct_DLLTOOL"; then
15719 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15720 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15721 else
15722 echo "$as_me:$LINENO: result: no" >&5
15723 echo "${ECHO_T}no" >&6
15724 fi
15725
15726 DLLTOOL=$ac_ct_DLLTOOL
15727 else
15728 DLLTOOL="$ac_cv_prog_DLLTOOL"
15729 fi
15730
15731 ;;
15732 esac
15733 fi
15734
15735 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15736 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15737 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740
15741 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15742 $EGREP -s GNU > /dev/null); then
15743 wx_cv_prog_makeisgnu="yes"
15744 else
15745 wx_cv_prog_makeisgnu="no"
15746 fi
15747
15748 fi
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15751
15752 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15753 IF_GNU_MAKE=""
15754 else
15755 IF_GNU_MAKE="#"
15756 fi
15757
15758
15759
15760 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15761 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15762 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15763 if test "${wx_cv_prog_makevpath+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 else
15766
15767 cat - << EOF > confMake
15768 check : file
15769 cp \$? \$@
15770 cp \$? final_file
15771 EOF
15772
15773 if test ! -d sub ; then
15774 mkdir sub
15775 fi
15776 echo dummy > sub/file
15777 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15778 RESULT=$?
15779 rm -f sub/file check final_file confMake
15780 rmdir sub
15781 if test "$RESULT" = 0; then
15782 wx_cv_prog_makevpath="yes"
15783 else
15784 wx_cv_prog_makevpath="no"
15785 fi
15786
15787 fi
15788 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15789 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15790
15791 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15792 { { echo "$as_me:$LINENO: error:
15793 You need a make-utility that is able to use the variable
15794 VPATH correctly.
15795 If your version of make does not support VPATH correctly,
15796 please install GNU-make (possibly as gmake), and start
15797 configure with the following command:
15798 export MAKE=gmake; ./configure for sh-type shells
15799 setenv MAKE gmake; ./configure for csh-type shells
15800 Also please do remember to use gmake in this case every time
15801 you are trying to compile.
15802 " >&5
15803 echo "$as_me: error:
15804 You need a make-utility that is able to use the variable
15805 VPATH correctly.
15806 If your version of make does not support VPATH correctly,
15807 please install GNU-make (possibly as gmake), and start
15808 configure with the following command:
15809 export MAKE=gmake; ./configure for sh-type shells
15810 setenv MAKE gmake; ./configure for csh-type shells
15811 Also please do remember to use gmake in this case every time
15812 you are trying to compile.
15813 " >&2;}
15814 { (exit 1); exit 1; }; }
15815 fi fi
15816 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15817 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15818 LN_S=$as_ln_s
15819 if test "$LN_S" = "ln -s"; then
15820 echo "$as_me:$LINENO: result: yes" >&5
15821 echo "${ECHO_T}yes" >&6
15822 else
15823 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15824 echo "${ECHO_T}no, using $LN_S" >&6
15825 fi
15826
15827
15828
15829
15830 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15831 CXXFLAGS="-qunique $CXXFLAGS"
15832 fi
15833
15834 case "${host}" in
15835 powerpc-*-darwin* )
15836 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15837 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 int
15846 main ()
15847 {
15848 #ifndef __POWERPC__
15849 choke me for lack of PowerPC
15850 #endif
15851
15852 ;
15853 return 0;
15854 }
15855 _ACEOF
15856 rm -f conftest.$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>conftest.er1
15859 ac_status=$?
15860 grep -v '^ *+' conftest.er1 >conftest.err
15861 rm -f conftest.er1
15862 cat conftest.err >&5
15863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864 (exit $ac_status); } &&
15865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15868 ac_status=$?
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try='test -s conftest.$ac_objext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 echo "$as_me:$LINENO: result: yes" >&5
15878 echo "${ECHO_T}yes" >&6
15879 else
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15882
15883 echo "$as_me:$LINENO: result: no" >&5
15884 echo "${ECHO_T}no" >&6
15885 cat >>confdefs.h <<\_ACEOF
15886 #define __POWERPC__ 1
15887 _ACEOF
15888
15889
15890 fi
15891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15892 ;;
15893 esac
15894
15895 case "${host}" in
15896 *-*-darwin* )
15897 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15898 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15899 cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h. */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #include <CoreFoundation/CFBase.h>
15906
15907 int
15908 main ()
15909 {
15910
15911 ;
15912 return 0;
15913 }
15914 _ACEOF
15915 rm -f conftest.$ac_objext
15916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15917 (eval $ac_compile) 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } &&
15924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15926 (eval $ac_try) 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; } &&
15930 { ac_try='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15933 ac_status=$?
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 echo "$as_me:$LINENO: result: yes" >&5
15937 echo "${ECHO_T}yes" >&6
15938 else
15939 echo "$as_me: failed program was:" >&5
15940 sed 's/^/| /' conftest.$ac_ext >&5
15941
15942 echo "$as_me:$LINENO: result: no" >&5
15943 echo "${ECHO_T}no" >&6
15944 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15945 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #define __CF_USE_FRAMEWORK_INCLUDES__
15953 #include <CoreFoundation/CFBase.h>
15954
15955 int
15956 main ()
15957 {
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 echo "$as_me:$LINENO: result: yes" >&5
15985 echo "${ECHO_T}yes" >&6
15986 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15987 else
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15990
15991 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15992 See \`config.log' for more details." >&5
15993 echo "$as_me: error: no. CoreFoundation not available.
15994 See \`config.log' for more details." >&2;}
15995 { (exit 1); exit 1; }; }
15996
15997 fi
15998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15999
16000
16001 fi
16002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16003 ;;
16004 esac
16005
16006 wants_win32=0
16007 doesnt_want_win32=0
16008 case "${host}" in
16009 *-*-cygwin*)
16010 if test "$wxUSE_MSW" = 1 ; then
16011 wants_win32=1
16012 else
16013 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16014 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16015 if test "${wx_cv_nocygwin+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018
16019 cat >conftest.$ac_ext <<_ACEOF
16020 /* confdefs.h. */
16021 _ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025
16026 int
16027 main ()
16028 {
16029
16030 #ifdef __MINGW32__
16031 choke me
16032 #endif
16033
16034 ;
16035 return 0;
16036 }
16037 _ACEOF
16038 rm -f conftest.$ac_objext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16040 (eval $ac_compile) 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } &&
16047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16049 (eval $ac_try) 2>&5
16050 ac_status=$?
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; } &&
16053 { ac_try='test -s conftest.$ac_objext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16056 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16059 wx_cv_nocygwin=no
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 wx_cv_nocygwin=yes
16065
16066 fi
16067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16068
16069
16070 fi
16071 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16072 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16073
16074 if test "$wx_cv_nocygwin" = "yes"; then
16075 wants_win32=1
16076 else
16077 doesnt_want_win32=1
16078 fi
16079 fi
16080 if test "$wants_win32" = 1 ; then
16081 BAKEFILE_FORCE_PLATFORM=win32
16082 fi
16083 ;;
16084 *-*-mingw*)
16085 wants_win32=1
16086 ;;
16087 esac
16088
16089 if test "$wxUSE_WINE" = "yes"; then
16090 wants_win32=1
16091 LDFLAGS_GUI="-mwindows"
16092 fi
16093
16094 if test "$wants_win32" = 1 ; then
16095 USE_UNIX=0
16096 USE_WIN32=1
16097 cat >>confdefs.h <<\_ACEOF
16098 #define __WIN32__ 1
16099 _ACEOF
16100
16101 cat >>confdefs.h <<\_ACEOF
16102 #define __WIN95__ 1
16103 _ACEOF
16104
16105 cat >>confdefs.h <<\_ACEOF
16106 #define __WINDOWS__ 1
16107 _ACEOF
16108
16109 cat >>confdefs.h <<\_ACEOF
16110 #define __GNUWIN32__ 1
16111 _ACEOF
16112
16113 cat >>confdefs.h <<\_ACEOF
16114 #define STRICT 1
16115 _ACEOF
16116
16117 fi
16118 if test "$doesnt_want_win32" = 1 ; then
16119 USE_UNIX=1
16120 USE_WIN32=0
16121 fi
16122
16123 if test "$USE_UNIX" = 1 ; then
16124 wxUSE_UNIX=yes
16125 cat >>confdefs.h <<\_ACEOF
16126 #define __UNIX__ 1
16127 _ACEOF
16128
16129 fi
16130
16131 case "${host}" in
16132 *-pc-os2_emx | *-pc-os2-emx )
16133 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16134 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16135 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16136 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16137 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 else
16139 ac_check_lib_save_LIBS=$LIBS
16140 LIBS="-lcExt $LIBS"
16141 cat >conftest.$ac_ext <<_ACEOF
16142 /* confdefs.h. */
16143 _ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147
16148 /* Override any gcc2 internal prototype to avoid an error. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 /* We use char because int might match the return type of a gcc2
16153 builtin and then its argument prototype would still apply. */
16154 char drand48 ();
16155 int
16156 main ()
16157 {
16158 drand48 ();
16159 ;
16160 return 0;
16161 }
16162 _ACEOF
16163 rm -f conftest.$ac_objext conftest$ac_exeext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16165 (eval $ac_link) 2>conftest.er1
16166 ac_status=$?
16167 grep -v '^ *+' conftest.er1 >conftest.err
16168 rm -f conftest.er1
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16174 (eval $ac_try) 2>&5
16175 ac_status=$?
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); }; } &&
16178 { ac_try='test -s conftest$ac_exeext'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; }; then
16184 ac_cv_lib_cExt_drand48=yes
16185 else
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16188
16189 ac_cv_lib_cExt_drand48=no
16190 fi
16191 rm -f conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_lib_save_LIBS
16194 fi
16195 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16196 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16197 if test $ac_cv_lib_cExt_drand48 = yes; then
16198 LIBS="$LIBS -lcExt"
16199 fi
16200
16201 else
16202 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16203 fi
16204 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16205 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16206 if test "${wx_cv_gccversion+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209
16210 if test "$cross_compiling" = yes; then
16211 wx_cv_gccversion="EMX2"
16212
16213 else
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220
16221 #include <stdio.h>
16222
16223 int main()
16224 {
16225 FILE *f=fopen("conftestval", "w");
16226 if (!f) exit(1);
16227 fprintf(f,
16228 #if (__GNUC__ < 3)
16229 "EMX2"
16230 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16231 "EMX3"
16232 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16233 "Innotek5"
16234 #else
16235 "Innotek6"
16236 #endif
16237 );
16238 exit(0);
16239 }
16240
16241 _ACEOF
16242 rm -f conftest$ac_exeext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16244 (eval $ac_link) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 wx_cv_gccversion=`cat conftestval`
16254 else
16255 echo "$as_me: program exited with status $ac_status" >&5
16256 echo "$as_me: failed program was:" >&5
16257 sed 's/^/| /' conftest.$ac_ext >&5
16258
16259 ( exit $ac_status )
16260 wx_cv_gccversion="EMX2"
16261 fi
16262 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16263 fi
16264
16265 fi
16266 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16267 echo "${ECHO_T}$wx_cv_gccversion" >&6
16268 if test "$wx_cv_gccversion" = "EMX2"; then
16269 LIBS="$LIBS -lstdcpp"
16270 LDFLAGS="$LDFLAGS -Zsysv-signals"
16271 else
16272 if test "$wx_cv_gccversion" = "EMX3"; then
16273 LIBS="$LIBS -lstdcxx -lgcc"
16274 LDFLAGS="$LDFLAGS -Zsysv-signals"
16275 else
16276 LIBS="$LIBS -lstdc++"
16277 fi
16278 fi
16279 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16280 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16281 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16282 wxUSE_OMF=yes
16283 enable_omf=yes
16284 fi
16285 ;;
16286 *)
16287
16288 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16289 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16290 if test "${ac_cv_string_strcasecmp+set}" = set; then
16291 echo $ECHO_N "(cached) $ECHO_C" >&6
16292 else
16293
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300
16301 #include <string.h>
16302
16303 int
16304 main ()
16305 {
16306
16307 strcasecmp("foo", "bar");
16308
16309 ;
16310 return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest.$ac_objext conftest$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>conftest.er1
16316 ac_status=$?
16317 grep -v '^ *+' conftest.er1 >conftest.err
16318 rm -f conftest.er1
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try='test -s conftest$ac_exeext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16331 ac_status=$?
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_string_strcasecmp=yes
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 ac_cv_string_strcasecmp=no
16340
16341 fi
16342 rm -f conftest.err conftest.$ac_objext \
16343 conftest$ac_exeext conftest.$ac_ext
16344
16345 fi
16346 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16347 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16348
16349 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16350 cat >>confdefs.h <<\_ACEOF
16351 #define HAVE_STRCASECMP_IN_STRING_H 1
16352 _ACEOF
16353
16354 else
16355 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16356 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16357 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 else
16360
16361 cat >conftest.$ac_ext <<_ACEOF
16362 /* confdefs.h. */
16363 _ACEOF
16364 cat confdefs.h >>conftest.$ac_ext
16365 cat >>conftest.$ac_ext <<_ACEOF
16366 /* end confdefs.h. */
16367
16368 #include <strings.h>
16369
16370 int
16371 main ()
16372 {
16373
16374 strcasecmp("foo", "bar");
16375
16376 ;
16377 return 0;
16378 }
16379 _ACEOF
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>conftest.er1
16383 ac_status=$?
16384 grep -v '^ *+' conftest.er1 >conftest.err
16385 rm -f conftest.er1
16386 cat conftest.err >&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try='test -s conftest$ac_exeext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16398 ac_status=$?
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16401 ac_cv_strings_strcasecmp=yes
16402 else
16403 echo "$as_me: failed program was:" >&5
16404 sed 's/^/| /' conftest.$ac_ext >&5
16405
16406 ac_cv_strings_strcasecmp=no
16407
16408 fi
16409 rm -f conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16411
16412 fi
16413 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16414 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16415
16416 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16417 cat >>confdefs.h <<\_ACEOF
16418 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16419 _ACEOF
16420
16421 else
16422 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16423 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16424 { (exit 1); exit 1; }; }
16425 fi
16426 fi
16427
16428 ;;
16429 esac
16430
16431
16432 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16433 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16434 if test "${ac_cv_header_stdc+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 cat >conftest.$ac_ext <<_ACEOF
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 #include <stdlib.h>
16444 #include <stdarg.h>
16445 #include <string.h>
16446 #include <float.h>
16447
16448 int
16449 main ()
16450 {
16451
16452 ;
16453 return 0;
16454 }
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16459 ac_status=$?
16460 grep -v '^ *+' conftest.er1 >conftest.err
16461 rm -f conftest.er1
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16468 ac_status=$?
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16474 ac_status=$?
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_cv_header_stdc=yes
16478 else
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16481
16482 ac_cv_header_stdc=no
16483 fi
16484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16485
16486 if test $ac_cv_header_stdc = yes; then
16487 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <string.h>
16495
16496 _ACEOF
16497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16498 $EGREP "memchr" >/dev/null 2>&1; then
16499 :
16500 else
16501 ac_cv_header_stdc=no
16502 fi
16503 rm -f conftest*
16504
16505 fi
16506
16507 if test $ac_cv_header_stdc = yes; then
16508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16509 cat >conftest.$ac_ext <<_ACEOF
16510 /* confdefs.h. */
16511 _ACEOF
16512 cat confdefs.h >>conftest.$ac_ext
16513 cat >>conftest.$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 #include <stdlib.h>
16516
16517 _ACEOF
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "free" >/dev/null 2>&1; then
16520 :
16521 else
16522 ac_cv_header_stdc=no
16523 fi
16524 rm -f conftest*
16525
16526 fi
16527
16528 if test $ac_cv_header_stdc = yes; then
16529 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16530 if test "$cross_compiling" = yes; then
16531 :
16532 else
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <ctype.h>
16540 #if ((' ' & 0x0FF) == 0x020)
16541 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16543 #else
16544 # define ISLOWER(c) \
16545 (('a' <= (c) && (c) <= 'i') \
16546 || ('j' <= (c) && (c) <= 'r') \
16547 || ('s' <= (c) && (c) <= 'z'))
16548 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16549 #endif
16550
16551 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16552 int
16553 main ()
16554 {
16555 int i;
16556 for (i = 0; i < 256; i++)
16557 if (XOR (islower (i), ISLOWER (i))
16558 || toupper (i) != TOUPPER (i))
16559 exit(2);
16560 exit (0);
16561 }
16562 _ACEOF
16563 rm -f conftest$ac_exeext
16564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16565 (eval $ac_link) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 :
16575 else
16576 echo "$as_me: program exited with status $ac_status" >&5
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 ( exit $ac_status )
16581 ac_cv_header_stdc=no
16582 fi
16583 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16584 fi
16585 fi
16586 fi
16587 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16588 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16589 if test $ac_cv_header_stdc = yes; then
16590
16591 cat >>confdefs.h <<\_ACEOF
16592 #define STDC_HEADERS 1
16593 _ACEOF
16594
16595 fi
16596
16597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16608 inttypes.h stdint.h unistd.h
16609 do
16610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16611 echo "$as_me:$LINENO: checking for $ac_header" >&5
16612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 else
16616 cat >conftest.$ac_ext <<_ACEOF
16617 /* confdefs.h. */
16618 _ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16622 $ac_includes_default
16623
16624 #include <$ac_header>
16625 _ACEOF
16626 rm -f conftest.$ac_objext
16627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628 (eval $ac_compile) 2>conftest.er1
16629 ac_status=$?
16630 grep -v '^ *+' conftest.er1 >conftest.err
16631 rm -f conftest.er1
16632 cat conftest.err >&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } &&
16635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637 (eval $ac_try) 2>&5
16638 ac_status=$?
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); }; } &&
16641 { ac_try='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 eval "$as_ac_Header=yes"
16648 else
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16651
16652 eval "$as_ac_Header=no"
16653 fi
16654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16655 fi
16656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16659 cat >>confdefs.h <<_ACEOF
16660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16661 _ACEOF
16662
16663 fi
16664
16665 done
16666
16667
16668
16669
16670
16671
16672
16673
16674 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16675 do
16676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16678 echo "$as_me:$LINENO: checking for $ac_header" >&5
16679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 fi
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16685 else
16686 # Is the header compilable?
16687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16688 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
16696 #include <$ac_header>
16697 _ACEOF
16698 rm -f conftest.$ac_objext
16699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16700 (eval $ac_compile) 2>conftest.er1
16701 ac_status=$?
16702 grep -v '^ *+' conftest.er1 >conftest.err
16703 rm -f conftest.er1
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } &&
16707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_header_compiler=yes
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 ac_header_compiler=no
16725 fi
16726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16728 echo "${ECHO_T}$ac_header_compiler" >&6
16729
16730 # Is the header present?
16731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <$ac_header>
16740 _ACEOF
16741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16743 ac_status=$?
16744 grep -v '^ *+' conftest.er1 >conftest.err
16745 rm -f conftest.er1
16746 cat conftest.err >&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } >/dev/null; then
16749 if test -s conftest.err; then
16750 ac_cpp_err=$ac_c_preproc_warn_flag
16751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16752 else
16753 ac_cpp_err=
16754 fi
16755 else
16756 ac_cpp_err=yes
16757 fi
16758 if test -z "$ac_cpp_err"; then
16759 ac_header_preproc=yes
16760 else
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.$ac_ext >&5
16763
16764 ac_header_preproc=no
16765 fi
16766 rm -f conftest.err conftest.$ac_ext
16767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16768 echo "${ECHO_T}$ac_header_preproc" >&6
16769
16770 # So? What about this header?
16771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16772 yes:no: )
16773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16777 ac_header_preproc=yes
16778 ;;
16779 no:yes:* )
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16792 (
16793 cat <<\_ASBOX
16794 ## ----------------------------------------- ##
16795 ## Report this to wx-dev@lists.wxwidgets.org ##
16796 ## ----------------------------------------- ##
16797 _ASBOX
16798 ) |
16799 sed "s/^/$as_me: WARNING: /" >&2
16800 ;;
16801 esac
16802 echo "$as_me:$LINENO: checking for $ac_header" >&5
16803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 else
16807 eval "$as_ac_Header=\$ac_header_preproc"
16808 fi
16809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16811
16812 fi
16813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16814 cat >>confdefs.h <<_ACEOF
16815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16816 _ACEOF
16817
16818 fi
16819
16820 done
16821
16822
16823 if test "$ac_cv_header_wchar_h" != "yes"; then
16824
16825 for ac_header in wcstr.h
16826 do
16827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 fi
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16836 else
16837 # Is the header compilable?
16838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16839 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
16847 #include <$ac_header>
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16867 ac_status=$?
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_header_compiler=yes
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 ac_header_compiler=no
16876 fi
16877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16879 echo "${ECHO_T}$ac_header_compiler" >&6
16880
16881 # Is the header present?
16882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 #include <$ac_header>
16891 _ACEOF
16892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } >/dev/null; then
16900 if test -s conftest.err; then
16901 ac_cpp_err=$ac_c_preproc_warn_flag
16902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16903 else
16904 ac_cpp_err=
16905 fi
16906 else
16907 ac_cpp_err=yes
16908 fi
16909 if test -z "$ac_cpp_err"; then
16910 ac_header_preproc=yes
16911 else
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16914
16915 ac_header_preproc=no
16916 fi
16917 rm -f conftest.err conftest.$ac_ext
16918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16919 echo "${ECHO_T}$ac_header_preproc" >&6
16920
16921 # So? What about this header?
16922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16923 yes:no: )
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16928 ac_header_preproc=yes
16929 ;;
16930 no:yes:* )
16931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16943 (
16944 cat <<\_ASBOX
16945 ## ----------------------------------------- ##
16946 ## Report this to wx-dev@lists.wxwidgets.org ##
16947 ## ----------------------------------------- ##
16948 _ASBOX
16949 ) |
16950 sed "s/^/$as_me: WARNING: /" >&2
16951 ;;
16952 esac
16953 echo "$as_me:$LINENO: checking for $ac_header" >&5
16954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 else
16958 eval "$as_ac_Header=\$ac_header_preproc"
16959 fi
16960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16962
16963 fi
16964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16965 cat >>confdefs.h <<_ACEOF
16966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16967 _ACEOF
16968
16969 fi
16970
16971 done
16972
16973 fi
16974
16975 case "${host}" in
16976 *-pc-os2_emx | *-pc-os2-emx )
16977 if test $ac_cv_header_langinfo_h = "yes" \
16978 -a \( "$wx_cv_gccversion" = "EMX2" \
16979 -o "$wx_cv_gccversion" = "EMX3" \
16980 -o "$wx_cv_gccversion" = "Innotek5" \); then
16981 LIBS="$LIBS -lintl"
16982 fi
16983 ;;
16984 esac
16985
16986 if test "$USE_UNIX" = 1 ; then
16987
16988 for ac_header in sys/select.h
16989 do
16990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16992 echo "$as_me:$LINENO: checking for $ac_header" >&5
16993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 fi
16997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16999 else
17000 # Is the header compilable?
17001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17002 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17010 #include <$ac_header>
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17015 ac_status=$?
17016 grep -v '^ *+' conftest.er1 >conftest.err
17017 rm -f conftest.er1
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; } &&
17027 { ac_try='test -s conftest.$ac_objext'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17030 ac_status=$?
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; }; then
17033 ac_header_compiler=yes
17034 else
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17037
17038 ac_header_compiler=no
17039 fi
17040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17042 echo "${ECHO_T}$ac_header_compiler" >&6
17043
17044 # Is the header present?
17045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <$ac_header>
17054 _ACEOF
17055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } >/dev/null; then
17063 if test -s conftest.err; then
17064 ac_cpp_err=$ac_c_preproc_warn_flag
17065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17066 else
17067 ac_cpp_err=
17068 fi
17069 else
17070 ac_cpp_err=yes
17071 fi
17072 if test -z "$ac_cpp_err"; then
17073 ac_header_preproc=yes
17074 else
17075 echo "$as_me: failed program was:" >&5
17076 sed 's/^/| /' conftest.$ac_ext >&5
17077
17078 ac_header_preproc=no
17079 fi
17080 rm -f conftest.err conftest.$ac_ext
17081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17082 echo "${ECHO_T}$ac_header_preproc" >&6
17083
17084 # So? What about this header?
17085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17086 yes:no: )
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17091 ac_header_preproc=yes
17092 ;;
17093 no:yes:* )
17094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17106 (
17107 cat <<\_ASBOX
17108 ## ----------------------------------------- ##
17109 ## Report this to wx-dev@lists.wxwidgets.org ##
17110 ## ----------------------------------------- ##
17111 _ASBOX
17112 ) |
17113 sed "s/^/$as_me: WARNING: /" >&2
17114 ;;
17115 esac
17116 echo "$as_me:$LINENO: checking for $ac_header" >&5
17117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 eval "$as_ac_Header=\$ac_header_preproc"
17122 fi
17123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17125
17126 fi
17127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17128 cat >>confdefs.h <<_ACEOF
17129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17130 _ACEOF
17131
17132 fi
17133
17134 done
17135
17136 fi
17137
17138
17139 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17140 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17141 if test "${ac_cv_c_const+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 else
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150
17151 int
17152 main ()
17153 {
17154 /* FIXME: Include the comments suggested by Paul. */
17155 #ifndef __cplusplus
17156 /* Ultrix mips cc rejects this. */
17157 typedef int charset[2];
17158 const charset x;
17159 /* SunOS 4.1.1 cc rejects this. */
17160 char const *const *ccp;
17161 char **p;
17162 /* NEC SVR4.0.2 mips cc rejects this. */
17163 struct point {int x, y;};
17164 static struct point const zero = {0,0};
17165 /* AIX XL C 1.02.0.0 rejects this.
17166 It does not let you subtract one const X* pointer from another in
17167 an arm of an if-expression whose if-part is not a constant
17168 expression */
17169 const char *g = "string";
17170 ccp = &g + (g ? g-g : 0);
17171 /* HPUX 7.0 cc rejects these. */
17172 ++ccp;
17173 p = (char**) ccp;
17174 ccp = (char const *const *) p;
17175 { /* SCO 3.2v4 cc rejects this. */
17176 char *t;
17177 char const *s = 0 ? (char *) 0 : (char const *) 0;
17178
17179 *t++ = 0;
17180 }
17181 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17182 int x[] = {25, 17};
17183 const int *foo = &x[0];
17184 ++foo;
17185 }
17186 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17187 typedef const int *iptr;
17188 iptr p = 0;
17189 ++p;
17190 }
17191 { /* AIX XL C 1.02.0.0 rejects this saying
17192 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17193 struct s { int j; const int *ap[3]; };
17194 struct s *b; b->j = 5;
17195 }
17196 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17197 const int foo = 10;
17198 }
17199 #endif
17200
17201 ;
17202 return 0;
17203 }
17204 _ACEOF
17205 rm -f conftest.$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17217 ac_status=$?
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17223 ac_status=$?
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17226 ac_cv_c_const=yes
17227 else
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17230
17231 ac_cv_c_const=no
17232 fi
17233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17234 fi
17235 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17236 echo "${ECHO_T}$ac_cv_c_const" >&6
17237 if test $ac_cv_c_const = no; then
17238
17239 cat >>confdefs.h <<\_ACEOF
17240 #define const
17241 _ACEOF
17242
17243 fi
17244
17245 echo "$as_me:$LINENO: checking for inline" >&5
17246 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17247 if test "${ac_cv_c_inline+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17250 ac_cv_c_inline=no
17251 for ac_kw in inline __inline__ __inline; do
17252 cat >conftest.$ac_ext <<_ACEOF
17253 /* confdefs.h. */
17254 _ACEOF
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17258 #ifndef __cplusplus
17259 typedef int foo_t;
17260 static $ac_kw foo_t static_foo () {return 0; }
17261 $ac_kw foo_t foo () {return 0; }
17262 #endif
17263
17264 _ACEOF
17265 rm -f conftest.$ac_objext
17266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17267 (eval $ac_compile) 2>conftest.er1
17268 ac_status=$?
17269 grep -v '^ *+' conftest.er1 >conftest.err
17270 rm -f conftest.er1
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } &&
17274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17277 ac_status=$?
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; } &&
17280 { ac_try='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17283 ac_status=$?
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286 ac_cv_c_inline=$ac_kw; break
17287 else
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17290
17291 fi
17292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17293 done
17294
17295 fi
17296 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17297 echo "${ECHO_T}$ac_cv_c_inline" >&6
17298
17299
17300 case $ac_cv_c_inline in
17301 inline | yes) ;;
17302 *)
17303 case $ac_cv_c_inline in
17304 no) ac_val=;;
17305 *) ac_val=$ac_cv_c_inline;;
17306 esac
17307 cat >>confdefs.h <<_ACEOF
17308 #ifndef __cplusplus
17309 #define inline $ac_val
17310 #endif
17311 _ACEOF
17312 ;;
17313 esac
17314
17315
17316 echo "$as_me:$LINENO: checking for char" >&5
17317 echo $ECHO_N "checking for char... $ECHO_C" >&6
17318 if test "${ac_cv_type_char+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17328 int
17329 main ()
17330 {
17331 if ((char *) 0)
17332 return 0;
17333 if (sizeof (char))
17334 return 0;
17335 ;
17336 return 0;
17337 }
17338 _ACEOF
17339 rm -f conftest.$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17342 ac_status=$?
17343 grep -v '^ *+' conftest.er1 >conftest.err
17344 rm -f conftest.er1
17345 cat conftest.err >&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17351 ac_status=$?
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_cv_type_char=yes
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17364
17365 ac_cv_type_char=no
17366 fi
17367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17368 fi
17369 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17370 echo "${ECHO_T}$ac_cv_type_char" >&6
17371
17372 echo "$as_me:$LINENO: checking size of char" >&5
17373 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17374 if test "${ac_cv_sizeof_char+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 else
17377 if test "$ac_cv_type_char" = yes; then
17378 # The cast to unsigned long works around a bug in the HP C Compiler
17379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17380 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17381 # This bug is HP SR number 8606223364.
17382 if test "$cross_compiling" = yes; then
17383 # Depending upon the size, compute the lo and hi bounds.
17384 cat >conftest.$ac_ext <<_ACEOF
17385 /* confdefs.h. */
17386 _ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17391 int
17392 main ()
17393 {
17394 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17395 test_array [0] = 0
17396
17397 ;
17398 return 0;
17399 }
17400 _ACEOF
17401 rm -f conftest.$ac_objext
17402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17403 (eval $ac_compile) 2>conftest.er1
17404 ac_status=$?
17405 grep -v '^ *+' conftest.er1 >conftest.err
17406 rm -f conftest.er1
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } &&
17410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; } &&
17416 { ac_try='test -s conftest.$ac_objext'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17419 ac_status=$?
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17422 ac_lo=0 ac_mid=0
17423 while :; do
17424 cat >conftest.$ac_ext <<_ACEOF
17425 /* confdefs.h. */
17426 _ACEOF
17427 cat confdefs.h >>conftest.$ac_ext
17428 cat >>conftest.$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430 $ac_includes_default
17431 int
17432 main ()
17433 {
17434 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17435 test_array [0] = 0
17436
17437 ;
17438 return 0;
17439 }
17440 _ACEOF
17441 rm -f conftest.$ac_objext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17443 (eval $ac_compile) 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17453 ac_status=$?
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_hi=$ac_mid; break
17463 else
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 ac_lo=`expr $ac_mid + 1`
17468 if test $ac_lo -le $ac_mid; then
17469 ac_lo= ac_hi=
17470 break
17471 fi
17472 ac_mid=`expr 2 '*' $ac_mid + 1`
17473 fi
17474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17475 done
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 cat >conftest.$ac_ext <<_ACEOF
17481 /* confdefs.h. */
17482 _ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17487 int
17488 main ()
17489 {
17490 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17491 test_array [0] = 0
17492
17493 ;
17494 return 0;
17495 }
17496 _ACEOF
17497 rm -f conftest.$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17500 ac_status=$?
17501 grep -v '^ *+' conftest.er1 >conftest.err
17502 rm -f conftest.er1
17503 cat conftest.err >&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518 ac_hi=-1 ac_mid=-1
17519 while :; do
17520 cat >conftest.$ac_ext <<_ACEOF
17521 /* confdefs.h. */
17522 _ACEOF
17523 cat confdefs.h >>conftest.$ac_ext
17524 cat >>conftest.$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526 $ac_includes_default
17527 int
17528 main ()
17529 {
17530 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17531 test_array [0] = 0
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17540 ac_status=$?
17541 grep -v '^ *+' conftest.er1 >conftest.err
17542 rm -f conftest.er1
17543 cat conftest.err >&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_lo=$ac_mid; break
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 ac_hi=`expr '(' $ac_mid ')' - 1`
17564 if test $ac_mid -le $ac_hi; then
17565 ac_lo= ac_hi=
17566 break
17567 fi
17568 ac_mid=`expr 2 '*' $ac_mid`
17569 fi
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17571 done
17572 else
17573 echo "$as_me: failed program was:" >&5
17574 sed 's/^/| /' conftest.$ac_ext >&5
17575
17576 ac_lo= ac_hi=
17577 fi
17578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17579 fi
17580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17581 # Binary search between lo and hi bounds.
17582 while test "x$ac_lo" != "x$ac_hi"; do
17583 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17584 cat >conftest.$ac_ext <<_ACEOF
17585 /* confdefs.h. */
17586 _ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590 $ac_includes_default
17591 int
17592 main ()
17593 {
17594 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17595 test_array [0] = 0
17596
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17603 (eval $ac_compile) 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } &&
17610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; } &&
17616 { ac_try='test -s conftest.$ac_objext'
17617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17618 (eval $ac_try) 2>&5
17619 ac_status=$?
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); }; }; then
17622 ac_hi=$ac_mid
17623 else
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.$ac_ext >&5
17626
17627 ac_lo=`expr '(' $ac_mid ')' + 1`
17628 fi
17629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17630 done
17631 case $ac_lo in
17632 ?*) ac_cv_sizeof_char=$ac_lo;;
17633 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17634 See \`config.log' for more details." >&5
17635 echo "$as_me: error: cannot compute sizeof (char), 77
17636 See \`config.log' for more details." >&2;}
17637 { (exit 1); exit 1; }; } ;;
17638 esac
17639 else
17640 if test "$cross_compiling" = yes; then
17641 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17642 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17643 { (exit 1); exit 1; }; }
17644 else
17645 cat >conftest.$ac_ext <<_ACEOF
17646 /* confdefs.h. */
17647 _ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17651 $ac_includes_default
17652 long longval () { return (long) (sizeof (char)); }
17653 unsigned long ulongval () { return (long) (sizeof (char)); }
17654 #include <stdio.h>
17655 #include <stdlib.h>
17656 int
17657 main ()
17658 {
17659
17660 FILE *f = fopen ("conftest.val", "w");
17661 if (! f)
17662 exit (1);
17663 if (((long) (sizeof (char))) < 0)
17664 {
17665 long i = longval ();
17666 if (i != ((long) (sizeof (char))))
17667 exit (1);
17668 fprintf (f, "%ld\n", i);
17669 }
17670 else
17671 {
17672 unsigned long i = ulongval ();
17673 if (i != ((long) (sizeof (char))))
17674 exit (1);
17675 fprintf (f, "%lu\n", i);
17676 }
17677 exit (ferror (f) || fclose (f) != 0);
17678
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest$ac_exeext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17685 (eval $ac_link) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_sizeof_char=`cat conftest.val`
17695 else
17696 echo "$as_me: program exited with status $ac_status" >&5
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17699
17700 ( exit $ac_status )
17701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17702 See \`config.log' for more details." >&5
17703 echo "$as_me: error: cannot compute sizeof (char), 77
17704 See \`config.log' for more details." >&2;}
17705 { (exit 1); exit 1; }; }
17706 fi
17707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17708 fi
17709 fi
17710 rm -f conftest.val
17711 else
17712 ac_cv_sizeof_char=0
17713 fi
17714 fi
17715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17716 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17717 cat >>confdefs.h <<_ACEOF
17718 #define SIZEOF_CHAR $ac_cv_sizeof_char
17719 _ACEOF
17720
17721
17722 echo "$as_me:$LINENO: checking for short" >&5
17723 echo $ECHO_N "checking for short... $ECHO_C" >&6
17724 if test "${ac_cv_type_short+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17734 int
17735 main ()
17736 {
17737 if ((short *) 0)
17738 return 0;
17739 if (sizeof (short))
17740 return 0;
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 ac_cv_type_short=yes
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 ac_cv_type_short=no
17772 fi
17773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17774 fi
17775 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17776 echo "${ECHO_T}$ac_cv_type_short" >&6
17777
17778 echo "$as_me:$LINENO: checking size of short" >&5
17779 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17780 if test "${ac_cv_sizeof_short+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783 if test "$ac_cv_type_short" = yes; then
17784 # The cast to unsigned long works around a bug in the HP C Compiler
17785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17787 # This bug is HP SR number 8606223364.
17788 if test "$cross_compiling" = yes; then
17789 # Depending upon the size, compute the lo and hi bounds.
17790 cat >conftest.$ac_ext <<_ACEOF
17791 /* confdefs.h. */
17792 _ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 $ac_includes_default
17797 int
17798 main ()
17799 {
17800 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17801 test_array [0] = 0
17802
17803 ;
17804 return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17809 (eval $ac_compile) 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } &&
17816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17818 (eval $ac_try) 2>&5
17819 ac_status=$?
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); }; } &&
17822 { ac_try='test -s conftest.$ac_objext'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17825 ac_status=$?
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; }; then
17828 ac_lo=0 ac_mid=0
17829 while :; do
17830 cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 $ac_includes_default
17837 int
17838 main ()
17839 {
17840 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17841 test_array [0] = 0
17842
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 rm -f conftest.$ac_objext
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>conftest.er1
17850 ac_status=$?
17851 grep -v '^ *+' conftest.er1 >conftest.err
17852 rm -f conftest.er1
17853 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_hi=$ac_mid; break
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17872
17873 ac_lo=`expr $ac_mid + 1`
17874 if test $ac_lo -le $ac_mid; then
17875 ac_lo= ac_hi=
17876 break
17877 fi
17878 ac_mid=`expr 2 '*' $ac_mid + 1`
17879 fi
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17881 done
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 cat >conftest.$ac_ext <<_ACEOF
17887 /* confdefs.h. */
17888 _ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17893 int
17894 main ()
17895 {
17896 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17897 test_array [0] = 0
17898
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17906 ac_status=$?
17907 grep -v '^ *+' conftest.er1 >conftest.err
17908 rm -f conftest.er1
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914 (eval $ac_try) 2>&5
17915 ac_status=$?
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); }; } &&
17918 { ac_try='test -s conftest.$ac_objext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_hi=-1 ac_mid=-1
17925 while :; do
17926 cat >conftest.$ac_ext <<_ACEOF
17927 /* confdefs.h. */
17928 _ACEOF
17929 cat confdefs.h >>conftest.$ac_ext
17930 cat >>conftest.$ac_ext <<_ACEOF
17931 /* end confdefs.h. */
17932 $ac_includes_default
17933 int
17934 main ()
17935 {
17936 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17937 test_array [0] = 0
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>conftest.er1
17946 ac_status=$?
17947 grep -v '^ *+' conftest.er1 >conftest.err
17948 rm -f conftest.er1
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } &&
17952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17955 ac_status=$?
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try='test -s conftest.$ac_objext'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17961 ac_status=$?
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; }; then
17964 ac_lo=$ac_mid; break
17965 else
17966 echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.$ac_ext >&5
17968
17969 ac_hi=`expr '(' $ac_mid ')' - 1`
17970 if test $ac_mid -le $ac_hi; then
17971 ac_lo= ac_hi=
17972 break
17973 fi
17974 ac_mid=`expr 2 '*' $ac_mid`
17975 fi
17976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17977 done
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 ac_lo= ac_hi=
17983 fi
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17985 fi
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17987 # Binary search between lo and hi bounds.
17988 while test "x$ac_lo" != "x$ac_hi"; do
17989 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17990 cat >conftest.$ac_ext <<_ACEOF
17991 /* confdefs.h. */
17992 _ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
17997 int
17998 main ()
17999 {
18000 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18001 test_array [0] = 0
18002
18003 ;
18004 return 0;
18005 }
18006 _ACEOF
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_hi=$ac_mid
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18032
18033 ac_lo=`expr '(' $ac_mid ')' + 1`
18034 fi
18035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18036 done
18037 case $ac_lo in
18038 ?*) ac_cv_sizeof_short=$ac_lo;;
18039 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18040 See \`config.log' for more details." >&5
18041 echo "$as_me: error: cannot compute sizeof (short), 77
18042 See \`config.log' for more details." >&2;}
18043 { (exit 1); exit 1; }; } ;;
18044 esac
18045 else
18046 if test "$cross_compiling" = yes; then
18047 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18048 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18049 { (exit 1); exit 1; }; }
18050 else
18051 cat >conftest.$ac_ext <<_ACEOF
18052 /* confdefs.h. */
18053 _ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18057 $ac_includes_default
18058 long longval () { return (long) (sizeof (short)); }
18059 unsigned long ulongval () { return (long) (sizeof (short)); }
18060 #include <stdio.h>
18061 #include <stdlib.h>
18062 int
18063 main ()
18064 {
18065
18066 FILE *f = fopen ("conftest.val", "w");
18067 if (! f)
18068 exit (1);
18069 if (((long) (sizeof (short))) < 0)
18070 {
18071 long i = longval ();
18072 if (i != ((long) (sizeof (short))))
18073 exit (1);
18074 fprintf (f, "%ld\n", i);
18075 }
18076 else
18077 {
18078 unsigned long i = ulongval ();
18079 if (i != ((long) (sizeof (short))))
18080 exit (1);
18081 fprintf (f, "%lu\n", i);
18082 }
18083 exit (ferror (f) || fclose (f) != 0);
18084
18085 ;
18086 return 0;
18087 }
18088 _ACEOF
18089 rm -f conftest$ac_exeext
18090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18091 (eval $ac_link) 2>&5
18092 ac_status=$?
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18096 (eval $ac_try) 2>&5
18097 ac_status=$?
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 ac_cv_sizeof_short=`cat conftest.val`
18101 else
18102 echo "$as_me: program exited with status $ac_status" >&5
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18105
18106 ( exit $ac_status )
18107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18108 See \`config.log' for more details." >&5
18109 echo "$as_me: error: cannot compute sizeof (short), 77
18110 See \`config.log' for more details." >&2;}
18111 { (exit 1); exit 1; }; }
18112 fi
18113 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18114 fi
18115 fi
18116 rm -f conftest.val
18117 else
18118 ac_cv_sizeof_short=0
18119 fi
18120 fi
18121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18122 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18123 cat >>confdefs.h <<_ACEOF
18124 #define SIZEOF_SHORT $ac_cv_sizeof_short
18125 _ACEOF
18126
18127
18128 echo "$as_me:$LINENO: checking for void *" >&5
18129 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18130 if test "${ac_cv_type_void_p+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133 cat >conftest.$ac_ext <<_ACEOF
18134 /* confdefs.h. */
18135 _ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 int
18141 main ()
18142 {
18143 if ((void * *) 0)
18144 return 0;
18145 if (sizeof (void *))
18146 return 0;
18147 ;
18148 return 0;
18149 }
18150 _ACEOF
18151 rm -f conftest.$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153 (eval $ac_compile) 2>conftest.er1
18154 ac_status=$?
18155 grep -v '^ *+' conftest.er1 >conftest.err
18156 rm -f conftest.er1
18157 cat conftest.err >&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } &&
18160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 ac_cv_type_void_p=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 ac_cv_type_void_p=no
18178 fi
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18180 fi
18181 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18182 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18183
18184 echo "$as_me:$LINENO: checking size of void *" >&5
18185 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18186 if test "${ac_cv_sizeof_void_p+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18189 if test "$ac_cv_type_void_p" = yes; then
18190 # The cast to unsigned long works around a bug in the HP C Compiler
18191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18193 # This bug is HP SR number 8606223364.
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 int
18204 main ()
18205 {
18206 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18207 test_array [0] = 0
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_lo=0 ac_mid=0
18235 while :; do
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18243 int
18244 main ()
18245 {
18246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18247 test_array [0] = 0
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18255 (eval $ac_compile) 2>conftest.er1
18256 ac_status=$?
18257 grep -v '^ *+' conftest.er1 >conftest.err
18258 rm -f conftest.er1
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18265 ac_status=$?
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; } &&
18268 { ac_try='test -s conftest.$ac_objext'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18271 ac_status=$?
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; }; then
18274 ac_hi=$ac_mid; break
18275 else
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.$ac_ext >&5
18278
18279 ac_lo=`expr $ac_mid + 1`
18280 if test $ac_lo -le $ac_mid; then
18281 ac_lo= ac_hi=
18282 break
18283 fi
18284 ac_mid=`expr 2 '*' $ac_mid + 1`
18285 fi
18286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18287 done
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18291
18292 cat >conftest.$ac_ext <<_ACEOF
18293 /* confdefs.h. */
18294 _ACEOF
18295 cat confdefs.h >>conftest.$ac_ext
18296 cat >>conftest.$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18299 int
18300 main ()
18301 {
18302 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18303 test_array [0] = 0
18304
18305 ;
18306 return 0;
18307 }
18308 _ACEOF
18309 rm -f conftest.$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18312 ac_status=$?
18313 grep -v '^ *+' conftest.er1 >conftest.err
18314 rm -f conftest.er1
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_hi=-1 ac_mid=-1
18331 while :; do
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18339 int
18340 main ()
18341 {
18342 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18343 test_array [0] = 0
18344
18345 ;
18346 return 0;
18347 }
18348 _ACEOF
18349 rm -f conftest.$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_lo=$ac_mid; break
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 ac_hi=`expr '(' $ac_mid ')' - 1`
18376 if test $ac_mid -le $ac_hi; then
18377 ac_lo= ac_hi=
18378 break
18379 fi
18380 ac_mid=`expr 2 '*' $ac_mid`
18381 fi
18382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18383 done
18384 else
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18387
18388 ac_lo= ac_hi=
18389 fi
18390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18391 fi
18392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18393 # Binary search between lo and hi bounds.
18394 while test "x$ac_lo" != "x$ac_hi"; do
18395 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18396 cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h. */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402 $ac_includes_default
18403 int
18404 main ()
18405 {
18406 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18407 test_array [0] = 0
18408
18409 ;
18410 return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18415 (eval $ac_compile) 2>conftest.er1
18416 ac_status=$?
18417 grep -v '^ *+' conftest.er1 >conftest.err
18418 rm -f conftest.er1
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; } &&
18428 { ac_try='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18434 ac_hi=$ac_mid
18435 else
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 ac_lo=`expr '(' $ac_mid ')' + 1`
18440 fi
18441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18442 done
18443 case $ac_lo in
18444 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18445 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18446 See \`config.log' for more details." >&5
18447 echo "$as_me: error: cannot compute sizeof (void *), 77
18448 See \`config.log' for more details." >&2;}
18449 { (exit 1); exit 1; }; } ;;
18450 esac
18451 else
18452 if test "$cross_compiling" = yes; then
18453 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18454 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18455 { (exit 1); exit 1; }; }
18456 else
18457 cat >conftest.$ac_ext <<_ACEOF
18458 /* confdefs.h. */
18459 _ACEOF
18460 cat confdefs.h >>conftest.$ac_ext
18461 cat >>conftest.$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18463 $ac_includes_default
18464 long longval () { return (long) (sizeof (void *)); }
18465 unsigned long ulongval () { return (long) (sizeof (void *)); }
18466 #include <stdio.h>
18467 #include <stdlib.h>
18468 int
18469 main ()
18470 {
18471
18472 FILE *f = fopen ("conftest.val", "w");
18473 if (! f)
18474 exit (1);
18475 if (((long) (sizeof (void *))) < 0)
18476 {
18477 long i = longval ();
18478 if (i != ((long) (sizeof (void *))))
18479 exit (1);
18480 fprintf (f, "%ld\n", i);
18481 }
18482 else
18483 {
18484 unsigned long i = ulongval ();
18485 if (i != ((long) (sizeof (void *))))
18486 exit (1);
18487 fprintf (f, "%lu\n", i);
18488 }
18489 exit (ferror (f) || fclose (f) != 0);
18490
18491 ;
18492 return 0;
18493 }
18494 _ACEOF
18495 rm -f conftest$ac_exeext
18496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18497 (eval $ac_link) 2>&5
18498 ac_status=$?
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_sizeof_void_p=`cat conftest.val`
18507 else
18508 echo "$as_me: program exited with status $ac_status" >&5
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18511
18512 ( exit $ac_status )
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18514 See \`config.log' for more details." >&5
18515 echo "$as_me: error: cannot compute sizeof (void *), 77
18516 See \`config.log' for more details." >&2;}
18517 { (exit 1); exit 1; }; }
18518 fi
18519 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18520 fi
18521 fi
18522 rm -f conftest.val
18523 else
18524 ac_cv_sizeof_void_p=0
18525 fi
18526 fi
18527 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18528 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18529 cat >>confdefs.h <<_ACEOF
18530 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18531 _ACEOF
18532
18533
18534 echo "$as_me:$LINENO: checking for int" >&5
18535 echo $ECHO_N "checking for int... $ECHO_C" >&6
18536 if test "${ac_cv_type_int+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 else
18539 cat >conftest.$ac_ext <<_ACEOF
18540 /* confdefs.h. */
18541 _ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 $ac_includes_default
18546 int
18547 main ()
18548 {
18549 if ((int *) 0)
18550 return 0;
18551 if (sizeof (int))
18552 return 0;
18553 ;
18554 return 0;
18555 }
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18575 ac_status=$?
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_cv_type_int=yes
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 ac_cv_type_int=no
18584 fi
18585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18588 echo "${ECHO_T}$ac_cv_type_int" >&6
18589
18590 echo "$as_me:$LINENO: checking size of int" >&5
18591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18592 if test "${ac_cv_sizeof_int+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 else
18595 if test "$ac_cv_type_int" = yes; then
18596 # The cast to unsigned long works around a bug in the HP C Compiler
18597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18599 # This bug is HP SR number 8606223364.
18600 if test "$cross_compiling" = yes; then
18601 # Depending upon the size, compute the lo and hi bounds.
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 $ac_includes_default
18609 int
18610 main ()
18611 {
18612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18613 test_array [0] = 0
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621 (eval $ac_compile) 2>conftest.er1
18622 ac_status=$?
18623 grep -v '^ *+' conftest.er1 >conftest.err
18624 rm -f conftest.er1
18625 cat conftest.err >&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); } &&
18628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; } &&
18634 { ac_try='test -s conftest.$ac_objext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18637 ac_status=$?
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18640 ac_lo=0 ac_mid=0
18641 while :; do
18642 cat >conftest.$ac_ext <<_ACEOF
18643 /* confdefs.h. */
18644 _ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 $ac_includes_default
18649 int
18650 main ()
18651 {
18652 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18653 test_array [0] = 0
18654
18655 ;
18656 return 0;
18657 }
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>conftest.er1
18662 ac_status=$?
18663 grep -v '^ *+' conftest.er1 >conftest.err
18664 rm -f conftest.er1
18665 cat conftest.err >&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); } &&
18668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18671 ac_status=$?
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; } &&
18674 { ac_try='test -s conftest.$ac_objext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18677 ac_status=$?
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_hi=$ac_mid; break
18681 else
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 ac_lo=`expr $ac_mid + 1`
18686 if test $ac_lo -le $ac_mid; then
18687 ac_lo= ac_hi=
18688 break
18689 fi
18690 ac_mid=`expr 2 '*' $ac_mid + 1`
18691 fi
18692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18693 done
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18705 int
18706 main ()
18707 {
18708 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18709 test_array [0] = 0
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18727 ac_status=$?
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18733 ac_status=$?
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_hi=-1 ac_mid=-1
18737 while :; do
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18745 int
18746 main ()
18747 {
18748 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18749 test_array [0] = 0
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_lo=$ac_mid; break
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 ac_hi=`expr '(' $ac_mid ')' - 1`
18782 if test $ac_mid -le $ac_hi; then
18783 ac_lo= ac_hi=
18784 break
18785 fi
18786 ac_mid=`expr 2 '*' $ac_mid`
18787 fi
18788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18789 done
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 ac_lo= ac_hi=
18795 fi
18796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18797 fi
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 # Binary search between lo and hi bounds.
18800 while test "x$ac_lo" != "x$ac_hi"; do
18801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18809 int
18810 main ()
18811 {
18812 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18813 test_array [0] = 0
18814
18815 ;
18816 return 0;
18817 }
18818 _ACEOF
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18822 ac_status=$?
18823 grep -v '^ *+' conftest.er1 >conftest.err
18824 rm -f conftest.er1
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18830 (eval $ac_try) 2>&5
18831 ac_status=$?
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); }; } &&
18834 { ac_try='test -s conftest.$ac_objext'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; }; then
18840 ac_hi=$ac_mid
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845 ac_lo=`expr '(' $ac_mid ')' + 1`
18846 fi
18847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18848 done
18849 case $ac_lo in
18850 ?*) ac_cv_sizeof_int=$ac_lo;;
18851 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18852 See \`config.log' for more details." >&5
18853 echo "$as_me: error: cannot compute sizeof (int), 77
18854 See \`config.log' for more details." >&2;}
18855 { (exit 1); exit 1; }; } ;;
18856 esac
18857 else
18858 if test "$cross_compiling" = yes; then
18859 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18860 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18861 { (exit 1); exit 1; }; }
18862 else
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 long longval () { return (long) (sizeof (int)); }
18871 unsigned long ulongval () { return (long) (sizeof (int)); }
18872 #include <stdio.h>
18873 #include <stdlib.h>
18874 int
18875 main ()
18876 {
18877
18878 FILE *f = fopen ("conftest.val", "w");
18879 if (! f)
18880 exit (1);
18881 if (((long) (sizeof (int))) < 0)
18882 {
18883 long i = longval ();
18884 if (i != ((long) (sizeof (int))))
18885 exit (1);
18886 fprintf (f, "%ld\n", i);
18887 }
18888 else
18889 {
18890 unsigned long i = ulongval ();
18891 if (i != ((long) (sizeof (int))))
18892 exit (1);
18893 fprintf (f, "%lu\n", i);
18894 }
18895 exit (ferror (f) || fclose (f) != 0);
18896
18897 ;
18898 return 0;
18899 }
18900 _ACEOF
18901 rm -f conftest$ac_exeext
18902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18903 (eval $ac_link) 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_cv_sizeof_int=`cat conftest.val`
18913 else
18914 echo "$as_me: program exited with status $ac_status" >&5
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18917
18918 ( exit $ac_status )
18919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18920 See \`config.log' for more details." >&5
18921 echo "$as_me: error: cannot compute sizeof (int), 77
18922 See \`config.log' for more details." >&2;}
18923 { (exit 1); exit 1; }; }
18924 fi
18925 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18926 fi
18927 fi
18928 rm -f conftest.val
18929 else
18930 ac_cv_sizeof_int=0
18931 fi
18932 fi
18933 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18934 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18935 cat >>confdefs.h <<_ACEOF
18936 #define SIZEOF_INT $ac_cv_sizeof_int
18937 _ACEOF
18938
18939
18940 echo "$as_me:$LINENO: checking for long" >&5
18941 echo $ECHO_N "checking for long... $ECHO_C" >&6
18942 if test "${ac_cv_type_long+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 else
18945 cat >conftest.$ac_ext <<_ACEOF
18946 /* confdefs.h. */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18952 int
18953 main ()
18954 {
18955 if ((long *) 0)
18956 return 0;
18957 if (sizeof (long))
18958 return 0;
18959 ;
18960 return 0;
18961 }
18962 _ACEOF
18963 rm -f conftest.$ac_objext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965 (eval $ac_compile) 2>conftest.er1
18966 ac_status=$?
18967 grep -v '^ *+' conftest.er1 >conftest.err
18968 rm -f conftest.er1
18969 cat conftest.err >&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 ac_cv_type_long=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18988
18989 ac_cv_type_long=no
18990 fi
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18992 fi
18993 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18994 echo "${ECHO_T}$ac_cv_type_long" >&6
18995
18996 echo "$as_me:$LINENO: checking size of long" >&5
18997 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18998 if test "${ac_cv_sizeof_long+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19000 else
19001 if test "$ac_cv_type_long" = yes; then
19002 # The cast to unsigned long works around a bug in the HP C Compiler
19003 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19004 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19005 # This bug is HP SR number 8606223364.
19006 if test "$cross_compiling" = yes; then
19007 # Depending upon the size, compute the lo and hi bounds.
19008 cat >conftest.$ac_ext <<_ACEOF
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 $ac_includes_default
19015 int
19016 main ()
19017 {
19018 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19019 test_array [0] = 0
19020
19021 ;
19022 return 0;
19023 }
19024 _ACEOF
19025 rm -f conftest.$ac_objext
19026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19027 (eval $ac_compile) 2>conftest.er1
19028 ac_status=$?
19029 grep -v '^ *+' conftest.er1 >conftest.err
19030 rm -f conftest.er1
19031 cat conftest.err >&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); } &&
19034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; } &&
19040 { ac_try='test -s conftest.$ac_objext'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; }; then
19046 ac_lo=0 ac_mid=0
19047 while :; do
19048 cat >conftest.$ac_ext <<_ACEOF
19049 /* confdefs.h. */
19050 _ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19055 int
19056 main ()
19057 {
19058 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19059 test_array [0] = 0
19060
19061 ;
19062 return 0;
19063 }
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067 (eval $ac_compile) 2>conftest.er1
19068 ac_status=$?
19069 grep -v '^ *+' conftest.er1 >conftest.err
19070 rm -f conftest.er1
19071 cat conftest.err >&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19083 ac_status=$?
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_hi=$ac_mid; break
19087 else
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19090
19091 ac_lo=`expr $ac_mid + 1`
19092 if test $ac_lo -le $ac_mid; then
19093 ac_lo= ac_hi=
19094 break
19095 fi
19096 ac_mid=`expr 2 '*' $ac_mid + 1`
19097 fi
19098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19099 done
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110 $ac_includes_default
19111 int
19112 main ()
19113 {
19114 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19115 test_array [0] = 0
19116
19117 ;
19118 return 0;
19119 }
19120 _ACEOF
19121 rm -f conftest.$ac_objext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19123 (eval $ac_compile) 2>conftest.er1
19124 ac_status=$?
19125 grep -v '^ *+' conftest.er1 >conftest.err
19126 rm -f conftest.er1
19127 cat conftest.err >&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); } &&
19130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19133 ac_status=$?
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; } &&
19136 { ac_try='test -s conftest.$ac_objext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19139 ac_status=$?
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19142 ac_hi=-1 ac_mid=-1
19143 while :; do
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19151 int
19152 main ()
19153 {
19154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19155 test_array [0] = 0
19156
19157 ;
19158 return 0;
19159 }
19160 _ACEOF
19161 rm -f conftest.$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19179 ac_status=$?
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_lo=$ac_mid; break
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 ac_hi=`expr '(' $ac_mid ')' - 1`
19188 if test $ac_mid -le $ac_hi; then
19189 ac_lo= ac_hi=
19190 break
19191 fi
19192 ac_mid=`expr 2 '*' $ac_mid`
19193 fi
19194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19195 done
19196 else
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19199
19200 ac_lo= ac_hi=
19201 fi
19202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19203 fi
19204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19205 # Binary search between lo and hi bounds.
19206 while test "x$ac_lo" != "x$ac_hi"; do
19207 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19208 cat >conftest.$ac_ext <<_ACEOF
19209 /* confdefs.h. */
19210 _ACEOF
19211 cat confdefs.h >>conftest.$ac_ext
19212 cat >>conftest.$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 $ac_includes_default
19215 int
19216 main ()
19217 {
19218 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19219 test_array [0] = 0
19220
19221 ;
19222 return 0;
19223 }
19224 _ACEOF
19225 rm -f conftest.$ac_objext
19226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19227 (eval $ac_compile) 2>conftest.er1
19228 ac_status=$?
19229 grep -v '^ *+' conftest.er1 >conftest.err
19230 rm -f conftest.er1
19231 cat conftest.err >&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19237 ac_status=$?
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; } &&
19240 { ac_try='test -s conftest.$ac_objext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_hi=$ac_mid
19247 else
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 ac_lo=`expr '(' $ac_mid ')' + 1`
19252 fi
19253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19254 done
19255 case $ac_lo in
19256 ?*) ac_cv_sizeof_long=$ac_lo;;
19257 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19258 See \`config.log' for more details." >&5
19259 echo "$as_me: error: cannot compute sizeof (long), 77
19260 See \`config.log' for more details." >&2;}
19261 { (exit 1); exit 1; }; } ;;
19262 esac
19263 else
19264 if test "$cross_compiling" = yes; then
19265 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19266 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19267 { (exit 1); exit 1; }; }
19268 else
19269 cat >conftest.$ac_ext <<_ACEOF
19270 /* confdefs.h. */
19271 _ACEOF
19272 cat confdefs.h >>conftest.$ac_ext
19273 cat >>conftest.$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 $ac_includes_default
19276 long longval () { return (long) (sizeof (long)); }
19277 unsigned long ulongval () { return (long) (sizeof (long)); }
19278 #include <stdio.h>
19279 #include <stdlib.h>
19280 int
19281 main ()
19282 {
19283
19284 FILE *f = fopen ("conftest.val", "w");
19285 if (! f)
19286 exit (1);
19287 if (((long) (sizeof (long))) < 0)
19288 {
19289 long i = longval ();
19290 if (i != ((long) (sizeof (long))))
19291 exit (1);
19292 fprintf (f, "%ld\n", i);
19293 }
19294 else
19295 {
19296 unsigned long i = ulongval ();
19297 if (i != ((long) (sizeof (long))))
19298 exit (1);
19299 fprintf (f, "%lu\n", i);
19300 }
19301 exit (ferror (f) || fclose (f) != 0);
19302
19303 ;
19304 return 0;
19305 }
19306 _ACEOF
19307 rm -f conftest$ac_exeext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19309 (eval $ac_link) 2>&5
19310 ac_status=$?
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_sizeof_long=`cat conftest.val`
19319 else
19320 echo "$as_me: program exited with status $ac_status" >&5
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19323
19324 ( exit $ac_status )
19325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19326 See \`config.log' for more details." >&5
19327 echo "$as_me: error: cannot compute sizeof (long), 77
19328 See \`config.log' for more details." >&2;}
19329 { (exit 1); exit 1; }; }
19330 fi
19331 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19332 fi
19333 fi
19334 rm -f conftest.val
19335 else
19336 ac_cv_sizeof_long=0
19337 fi
19338 fi
19339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19340 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19341 cat >>confdefs.h <<_ACEOF
19342 #define SIZEOF_LONG $ac_cv_sizeof_long
19343 _ACEOF
19344
19345
19346 echo "$as_me:$LINENO: checking for size_t" >&5
19347 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19348 if test "${ac_cv_type_size_t+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 int
19359 main ()
19360 {
19361 if ((size_t *) 0)
19362 return 0;
19363 if (sizeof (size_t))
19364 return 0;
19365 ;
19366 return 0;
19367 }
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19371 (eval $ac_compile) 2>conftest.er1
19372 ac_status=$?
19373 grep -v '^ *+' conftest.er1 >conftest.err
19374 rm -f conftest.er1
19375 cat conftest.err >&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; } &&
19384 { ac_try='test -s conftest.$ac_objext'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; }; then
19390 ac_cv_type_size_t=yes
19391 else
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19394
19395 ac_cv_type_size_t=no
19396 fi
19397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19398 fi
19399 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19400 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19401
19402 echo "$as_me:$LINENO: checking size of size_t" >&5
19403 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19404 if test "${ac_cv_sizeof_size_t+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 if test "$ac_cv_type_size_t" = yes; then
19408 # The cast to unsigned long works around a bug in the HP C Compiler
19409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19411 # This bug is HP SR number 8606223364.
19412 if test "$cross_compiling" = yes; then
19413 # Depending upon the size, compute the lo and hi bounds.
19414 cat >conftest.$ac_ext <<_ACEOF
19415 /* confdefs.h. */
19416 _ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 $ac_includes_default
19421 int
19422 main ()
19423 {
19424 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19425 test_array [0] = 0
19426
19427 ;
19428 return 0;
19429 }
19430 _ACEOF
19431 rm -f conftest.$ac_objext
19432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19433 (eval $ac_compile) 2>conftest.er1
19434 ac_status=$?
19435 grep -v '^ *+' conftest.er1 >conftest.err
19436 rm -f conftest.er1
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } &&
19440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest.$ac_objext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 ac_lo=0 ac_mid=0
19453 while :; do
19454 cat >conftest.$ac_ext <<_ACEOF
19455 /* confdefs.h. */
19456 _ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 int
19462 main ()
19463 {
19464 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19465 test_array [0] = 0
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19473 (eval $ac_compile) 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19482 (eval $ac_try) 2>&5
19483 ac_status=$?
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); }; } &&
19486 { ac_try='test -s conftest.$ac_objext'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19489 ac_status=$?
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; }; then
19492 ac_hi=$ac_mid; break
19493 else
19494 echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.$ac_ext >&5
19496
19497 ac_lo=`expr $ac_mid + 1`
19498 if test $ac_lo -le $ac_mid; then
19499 ac_lo= ac_hi=
19500 break
19501 fi
19502 ac_mid=`expr 2 '*' $ac_mid + 1`
19503 fi
19504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19505 done
19506 else
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.$ac_ext >&5
19509
19510 cat >conftest.$ac_ext <<_ACEOF
19511 /* confdefs.h. */
19512 _ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 $ac_includes_default
19517 int
19518 main ()
19519 {
19520 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19521 test_array [0] = 0
19522
19523 ;
19524 return 0;
19525 }
19526 _ACEOF
19527 rm -f conftest.$ac_objext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19529 (eval $ac_compile) 2>conftest.er1
19530 ac_status=$?
19531 grep -v '^ *+' conftest.er1 >conftest.err
19532 rm -f conftest.er1
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19539 ac_status=$?
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; } &&
19542 { ac_try='test -s conftest.$ac_objext'
19543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544 (eval $ac_try) 2>&5
19545 ac_status=$?
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); }; }; then
19548 ac_hi=-1 ac_mid=-1
19549 while :; do
19550 cat >conftest.$ac_ext <<_ACEOF
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19557 int
19558 main ()
19559 {
19560 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19561 test_array [0] = 0
19562
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 rm -f conftest.$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19570 ac_status=$?
19571 grep -v '^ *+' conftest.er1 >conftest.err
19572 rm -f conftest.er1
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_lo=$ac_mid; break
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593 ac_hi=`expr '(' $ac_mid ')' - 1`
19594 if test $ac_mid -le $ac_hi; then
19595 ac_lo= ac_hi=
19596 break
19597 fi
19598 ac_mid=`expr 2 '*' $ac_mid`
19599 fi
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19601 done
19602 else
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19605
19606 ac_lo= ac_hi=
19607 fi
19608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19609 fi
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611 # Binary search between lo and hi bounds.
19612 while test "x$ac_lo" != "x$ac_hi"; do
19613 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19614 cat >conftest.$ac_ext <<_ACEOF
19615 /* confdefs.h. */
19616 _ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 $ac_includes_default
19621 int
19622 main ()
19623 {
19624 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19625 test_array [0] = 0
19626
19627 ;
19628 return 0;
19629 }
19630 _ACEOF
19631 rm -f conftest.$ac_objext
19632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19633 (eval $ac_compile) 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } &&
19640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19643 ac_status=$?
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try='test -s conftest.$ac_objext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19649 ac_status=$?
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 ac_hi=$ac_mid
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_lo=`expr '(' $ac_mid ')' + 1`
19658 fi
19659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19660 done
19661 case $ac_lo in
19662 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19663 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19664 See \`config.log' for more details." >&5
19665 echo "$as_me: error: cannot compute sizeof (size_t), 77
19666 See \`config.log' for more details." >&2;}
19667 { (exit 1); exit 1; }; } ;;
19668 esac
19669 else
19670 if test "$cross_compiling" = yes; then
19671 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19672 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19673 { (exit 1); exit 1; }; }
19674 else
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 long longval () { return (long) (sizeof (size_t)); }
19683 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19684 #include <stdio.h>
19685 #include <stdlib.h>
19686 int
19687 main ()
19688 {
19689
19690 FILE *f = fopen ("conftest.val", "w");
19691 if (! f)
19692 exit (1);
19693 if (((long) (sizeof (size_t))) < 0)
19694 {
19695 long i = longval ();
19696 if (i != ((long) (sizeof (size_t))))
19697 exit (1);
19698 fprintf (f, "%ld\n", i);
19699 }
19700 else
19701 {
19702 unsigned long i = ulongval ();
19703 if (i != ((long) (sizeof (size_t))))
19704 exit (1);
19705 fprintf (f, "%lu\n", i);
19706 }
19707 exit (ferror (f) || fclose (f) != 0);
19708
19709 ;
19710 return 0;
19711 }
19712 _ACEOF
19713 rm -f conftest$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_sizeof_size_t=`cat conftest.val`
19725 else
19726 echo "$as_me: program exited with status $ac_status" >&5
19727 echo "$as_me: failed program was:" >&5
19728 sed 's/^/| /' conftest.$ac_ext >&5
19729
19730 ( exit $ac_status )
19731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19732 See \`config.log' for more details." >&5
19733 echo "$as_me: error: cannot compute sizeof (size_t), 77
19734 See \`config.log' for more details." >&2;}
19735 { (exit 1); exit 1; }; }
19736 fi
19737 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19738 fi
19739 fi
19740 rm -f conftest.val
19741 else
19742 ac_cv_sizeof_size_t=0
19743 fi
19744 fi
19745 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19746 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19747 cat >>confdefs.h <<_ACEOF
19748 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19749 _ACEOF
19750
19751
19752
19753 case "${host}" in
19754 arm-*-linux* )
19755 echo "$as_me:$LINENO: checking for long long" >&5
19756 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19757 if test "${ac_cv_type_long_long+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 else
19760 cat >conftest.$ac_ext <<_ACEOF
19761 /* confdefs.h. */
19762 _ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19766 $ac_includes_default
19767 int
19768 main ()
19769 {
19770 if ((long long *) 0)
19771 return 0;
19772 if (sizeof (long long))
19773 return 0;
19774 ;
19775 return 0;
19776 }
19777 _ACEOF
19778 rm -f conftest.$ac_objext
19779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19780 (eval $ac_compile) 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } &&
19787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19796 ac_status=$?
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 ac_cv_type_long_long=yes
19800 else
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19803
19804 ac_cv_type_long_long=no
19805 fi
19806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19807 fi
19808 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19809 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19810
19811 echo "$as_me:$LINENO: checking size of long long" >&5
19812 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19813 if test "${ac_cv_sizeof_long_long+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816 if test "$ac_cv_type_long_long" = yes; then
19817 # The cast to unsigned long works around a bug in the HP C Compiler
19818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19819 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19820 # This bug is HP SR number 8606223364.
19821 if test "$cross_compiling" = yes; then
19822 # Depending upon the size, compute the lo and hi bounds.
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 $ac_includes_default
19830 int
19831 main ()
19832 {
19833 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19834 test_array [0] = 0
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19842 (eval $ac_compile) 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try='test -s conftest.$ac_objext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 ac_lo=0 ac_mid=0
19862 while :; do
19863 cat >conftest.$ac_ext <<_ACEOF
19864 /* confdefs.h. */
19865 _ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 $ac_includes_default
19870 int
19871 main ()
19872 {
19873 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19874 test_array [0] = 0
19875
19876 ;
19877 return 0;
19878 }
19879 _ACEOF
19880 rm -f conftest.$ac_objext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19882 (eval $ac_compile) 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; } &&
19895 { ac_try='test -s conftest.$ac_objext'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19898 ac_status=$?
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_hi=$ac_mid; break
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19905
19906 ac_lo=`expr $ac_mid + 1`
19907 if test $ac_lo -le $ac_mid; then
19908 ac_lo= ac_hi=
19909 break
19910 fi
19911 ac_mid=`expr 2 '*' $ac_mid + 1`
19912 fi
19913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19914 done
19915 else
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 int
19927 main ()
19928 {
19929 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19930 test_array [0] = 0
19931
19932 ;
19933 return 0;
19934 }
19935 _ACEOF
19936 rm -f conftest.$ac_objext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 (eval $ac_compile) 2>conftest.er1
19939 ac_status=$?
19940 grep -v '^ *+' conftest.er1 >conftest.err
19941 rm -f conftest.er1
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19957 ac_hi=-1 ac_mid=-1
19958 while :; do
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19966 int
19967 main ()
19968 {
19969 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19970 test_array [0] = 0
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_lo=$ac_mid; break
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20001
20002 ac_hi=`expr '(' $ac_mid ')' - 1`
20003 if test $ac_mid -le $ac_hi; then
20004 ac_lo= ac_hi=
20005 break
20006 fi
20007 ac_mid=`expr 2 '*' $ac_mid`
20008 fi
20009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20010 done
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20014
20015 ac_lo= ac_hi=
20016 fi
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20018 fi
20019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20020 # Binary search between lo and hi bounds.
20021 while test "x$ac_lo" != "x$ac_hi"; do
20022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20023 cat >conftest.$ac_ext <<_ACEOF
20024 /* confdefs.h. */
20025 _ACEOF
20026 cat confdefs.h >>conftest.$ac_ext
20027 cat >>conftest.$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 $ac_includes_default
20030 int
20031 main ()
20032 {
20033 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20034 test_array [0] = 0
20035
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20052 ac_status=$?
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20058 ac_status=$?
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20061 ac_hi=$ac_mid
20062 else
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20065
20066 ac_lo=`expr '(' $ac_mid ')' + 1`
20067 fi
20068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20069 done
20070 case $ac_lo in
20071 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&5
20074 echo "$as_me: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&2;}
20076 { (exit 1); exit 1; }; } ;;
20077 esac
20078 else
20079 if test "$cross_compiling" = yes; then
20080 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20081 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20082 { (exit 1); exit 1; }; }
20083 else
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 long longval () { return (long) (sizeof (long long)); }
20092 unsigned long ulongval () { return (long) (sizeof (long long)); }
20093 #include <stdio.h>
20094 #include <stdlib.h>
20095 int
20096 main ()
20097 {
20098
20099 FILE *f = fopen ("conftest.val", "w");
20100 if (! f)
20101 exit (1);
20102 if (((long) (sizeof (long long))) < 0)
20103 {
20104 long i = longval ();
20105 if (i != ((long) (sizeof (long long))))
20106 exit (1);
20107 fprintf (f, "%ld\n", i);
20108 }
20109 else
20110 {
20111 unsigned long i = ulongval ();
20112 if (i != ((long) (sizeof (long long))))
20113 exit (1);
20114 fprintf (f, "%lu\n", i);
20115 }
20116 exit (ferror (f) || fclose (f) != 0);
20117
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 rm -f conftest$ac_exeext
20123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20124 (eval $ac_link) 2>&5
20125 ac_status=$?
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; }; then
20133 ac_cv_sizeof_long_long=`cat conftest.val`
20134 else
20135 echo "$as_me: program exited with status $ac_status" >&5
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.$ac_ext >&5
20138
20139 ( exit $ac_status )
20140 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20141 See \`config.log' for more details." >&5
20142 echo "$as_me: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&2;}
20144 { (exit 1); exit 1; }; }
20145 fi
20146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20147 fi
20148 fi
20149 rm -f conftest.val
20150 else
20151 ac_cv_sizeof_long_long=0
20152 fi
20153 fi
20154 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20155 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20156 cat >>confdefs.h <<_ACEOF
20157 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20158 _ACEOF
20159
20160
20161 ;;
20162 *-hp-hpux* )
20163 echo "$as_me:$LINENO: checking for long long" >&5
20164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20165 if test "${ac_cv_type_long_long+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20167 else
20168 cat >conftest.$ac_ext <<_ACEOF
20169 /* confdefs.h. */
20170 _ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20175 int
20176 main ()
20177 {
20178 if ((long long *) 0)
20179 return 0;
20180 if (sizeof (long long))
20181 return 0;
20182 ;
20183 return 0;
20184 }
20185 _ACEOF
20186 rm -f conftest.$ac_objext
20187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20188 (eval $ac_compile) 2>conftest.er1
20189 ac_status=$?
20190 grep -v '^ *+' conftest.er1 >conftest.err
20191 rm -f conftest.er1
20192 cat conftest.err >&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20198 ac_status=$?
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20204 ac_status=$?
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_cv_type_long_long=yes
20208 else
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20211
20212 ac_cv_type_long_long=no
20213 fi
20214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20215 fi
20216 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20217 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20218
20219 echo "$as_me:$LINENO: checking size of long long" >&5
20220 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20221 if test "${ac_cv_sizeof_long_long+set}" = set; then
20222 echo $ECHO_N "(cached) $ECHO_C" >&6
20223 else
20224 if test "$ac_cv_type_long_long" = yes; then
20225 # The cast to unsigned long works around a bug in the HP C Compiler
20226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20228 # This bug is HP SR number 8606223364.
20229 if test "$cross_compiling" = yes; then
20230 # Depending upon the size, compute the lo and hi bounds.
20231 cat >conftest.$ac_ext <<_ACEOF
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 $ac_includes_default
20238 int
20239 main ()
20240 {
20241 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20242 test_array [0] = 0
20243
20244 ;
20245 return 0;
20246 }
20247 _ACEOF
20248 rm -f conftest.$ac_objext
20249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20250 (eval $ac_compile) 2>conftest.er1
20251 ac_status=$?
20252 grep -v '^ *+' conftest.er1 >conftest.err
20253 rm -f conftest.er1
20254 cat conftest.err >&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } &&
20257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20260 ac_status=$?
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try='test -s conftest.$ac_objext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20266 ac_status=$?
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_lo=0 ac_mid=0
20270 while :; do
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20278 int
20279 main ()
20280 {
20281 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20282 test_array [0] = 0
20283
20284 ;
20285 return 0;
20286 }
20287 _ACEOF
20288 rm -f conftest.$ac_objext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20290 (eval $ac_compile) 2>conftest.er1
20291 ac_status=$?
20292 grep -v '^ *+' conftest.er1 >conftest.err
20293 rm -f conftest.er1
20294 cat conftest.err >&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); } &&
20297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20300 ac_status=$?
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; } &&
20303 { ac_try='test -s conftest.$ac_objext'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_hi=$ac_mid; break
20310 else
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20313
20314 ac_lo=`expr $ac_mid + 1`
20315 if test $ac_lo -le $ac_mid; then
20316 ac_lo= ac_hi=
20317 break
20318 fi
20319 ac_mid=`expr 2 '*' $ac_mid + 1`
20320 fi
20321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20322 done
20323 else
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
20326
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 int
20335 main ()
20336 {
20337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20338 test_array [0] = 0
20339
20340 ;
20341 return 0;
20342 }
20343 _ACEOF
20344 rm -f conftest.$ac_objext
20345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20346 (eval $ac_compile) 2>conftest.er1
20347 ac_status=$?
20348 grep -v '^ *+' conftest.er1 >conftest.err
20349 rm -f conftest.er1
20350 cat conftest.err >&5
20351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352 (exit $ac_status); } &&
20353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; } &&
20359 { ac_try='test -s conftest.$ac_objext'
20360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20361 (eval $ac_try) 2>&5
20362 ac_status=$?
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; }; then
20365 ac_hi=-1 ac_mid=-1
20366 while :; do
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20374 int
20375 main ()
20376 {
20377 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20378 test_array [0] = 0
20379
20380 ;
20381 return 0;
20382 }
20383 _ACEOF
20384 rm -f conftest.$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>conftest.er1
20387 ac_status=$?
20388 grep -v '^ *+' conftest.er1 >conftest.err
20389 rm -f conftest.er1
20390 cat conftest.err >&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); } &&
20393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; } &&
20399 { ac_try='test -s conftest.$ac_objext'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20402 ac_status=$?
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; }; then
20405 ac_lo=$ac_mid; break
20406 else
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20409
20410 ac_hi=`expr '(' $ac_mid ')' - 1`
20411 if test $ac_mid -le $ac_hi; then
20412 ac_lo= ac_hi=
20413 break
20414 fi
20415 ac_mid=`expr 2 '*' $ac_mid`
20416 fi
20417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20418 done
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20422
20423 ac_lo= ac_hi=
20424 fi
20425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20426 fi
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 # Binary search between lo and hi bounds.
20429 while test "x$ac_lo" != "x$ac_hi"; do
20430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20431 cat >conftest.$ac_ext <<_ACEOF
20432 /* confdefs.h. */
20433 _ACEOF
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20438 int
20439 main ()
20440 {
20441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20442 test_array [0] = 0
20443
20444 ;
20445 return 0;
20446 }
20447 _ACEOF
20448 rm -f conftest.$ac_objext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20450 (eval $ac_compile) 2>conftest.er1
20451 ac_status=$?
20452 grep -v '^ *+' conftest.er1 >conftest.err
20453 rm -f conftest.er1
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20460 ac_status=$?
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; } &&
20463 { ac_try='test -s conftest.$ac_objext'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20466 ac_status=$?
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; }; then
20469 ac_hi=$ac_mid
20470 else
20471 echo "$as_me: failed program was:" >&5
20472 sed 's/^/| /' conftest.$ac_ext >&5
20473
20474 ac_lo=`expr '(' $ac_mid ')' + 1`
20475 fi
20476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20477 done
20478 case $ac_lo in
20479 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20480 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: cannot compute sizeof (long long), 77
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; } ;;
20485 esac
20486 else
20487 if test "$cross_compiling" = yes; then
20488 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20489 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20490 { (exit 1); exit 1; }; }
20491 else
20492 cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h. */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 long longval () { return (long) (sizeof (long long)); }
20500 unsigned long ulongval () { return (long) (sizeof (long long)); }
20501 #include <stdio.h>
20502 #include <stdlib.h>
20503 int
20504 main ()
20505 {
20506
20507 FILE *f = fopen ("conftest.val", "w");
20508 if (! f)
20509 exit (1);
20510 if (((long) (sizeof (long long))) < 0)
20511 {
20512 long i = longval ();
20513 if (i != ((long) (sizeof (long long))))
20514 exit (1);
20515 fprintf (f, "%ld\n", i);
20516 }
20517 else
20518 {
20519 unsigned long i = ulongval ();
20520 if (i != ((long) (sizeof (long long))))
20521 exit (1);
20522 fprintf (f, "%lu\n", i);
20523 }
20524 exit (ferror (f) || fclose (f) != 0);
20525
20526 ;
20527 return 0;
20528 }
20529 _ACEOF
20530 rm -f conftest$ac_exeext
20531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20532 (eval $ac_link) 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20537 (eval $ac_try) 2>&5
20538 ac_status=$?
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; }; then
20541 ac_cv_sizeof_long_long=`cat conftest.val`
20542 else
20543 echo "$as_me: program exited with status $ac_status" >&5
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20546
20547 ( exit $ac_status )
20548 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20549 See \`config.log' for more details." >&5
20550 echo "$as_me: error: cannot compute sizeof (long long), 77
20551 See \`config.log' for more details." >&2;}
20552 { (exit 1); exit 1; }; }
20553 fi
20554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20555 fi
20556 fi
20557 rm -f conftest.val
20558 else
20559 ac_cv_sizeof_long_long=0
20560 fi
20561 fi
20562 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20563 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20564 cat >>confdefs.h <<_ACEOF
20565 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20566 _ACEOF
20567
20568
20569 if test "$ac_cv_sizeof_long_long" != "0"; then
20570 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20571 fi
20572 ;;
20573 * )
20574 echo "$as_me:$LINENO: checking for long long" >&5
20575 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20576 if test "${ac_cv_type_long_long+set}" = set; then
20577 echo $ECHO_N "(cached) $ECHO_C" >&6
20578 else
20579 cat >conftest.$ac_ext <<_ACEOF
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20586 int
20587 main ()
20588 {
20589 if ((long long *) 0)
20590 return 0;
20591 if (sizeof (long long))
20592 return 0;
20593 ;
20594 return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20599 (eval $ac_compile) 2>conftest.er1
20600 ac_status=$?
20601 grep -v '^ *+' conftest.er1 >conftest.err
20602 rm -f conftest.er1
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20608 (eval $ac_try) 2>&5
20609 ac_status=$?
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; } &&
20612 { ac_try='test -s conftest.$ac_objext'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20615 ac_status=$?
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; }; then
20618 ac_cv_type_long_long=yes
20619 else
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20622
20623 ac_cv_type_long_long=no
20624 fi
20625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20626 fi
20627 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20628 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20629
20630 echo "$as_me:$LINENO: checking size of long long" >&5
20631 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20632 if test "${ac_cv_sizeof_long_long+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 else
20635 if test "$ac_cv_type_long_long" = yes; then
20636 # The cast to unsigned long works around a bug in the HP C Compiler
20637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20638 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20639 # This bug is HP SR number 8606223364.
20640 if test "$cross_compiling" = yes; then
20641 # Depending upon the size, compute the lo and hi bounds.
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 int
20650 main ()
20651 {
20652 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20653 test_array [0] = 0
20654
20655 ;
20656 return 0;
20657 }
20658 _ACEOF
20659 rm -f conftest.$ac_objext
20660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20661 (eval $ac_compile) 2>conftest.er1
20662 ac_status=$?
20663 grep -v '^ *+' conftest.er1 >conftest.err
20664 rm -f conftest.er1
20665 cat conftest.err >&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20671 ac_status=$?
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; } &&
20674 { ac_try='test -s conftest.$ac_objext'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20677 ac_status=$?
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; }; then
20680 ac_lo=0 ac_mid=0
20681 while :; do
20682 cat >conftest.$ac_ext <<_ACEOF
20683 /* confdefs.h. */
20684 _ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 $ac_includes_default
20689 int
20690 main ()
20691 {
20692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20693 test_array [0] = 0
20694
20695 ;
20696 return 0;
20697 }
20698 _ACEOF
20699 rm -f conftest.$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20702 ac_status=$?
20703 grep -v '^ *+' conftest.er1 >conftest.err
20704 rm -f conftest.er1
20705 cat conftest.err >&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_hi=$ac_mid; break
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20724
20725 ac_lo=`expr $ac_mid + 1`
20726 if test $ac_lo -le $ac_mid; then
20727 ac_lo= ac_hi=
20728 break
20729 fi
20730 ac_mid=`expr 2 '*' $ac_mid + 1`
20731 fi
20732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20733 done
20734 else
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.$ac_ext >&5
20737
20738 cat >conftest.$ac_ext <<_ACEOF
20739 /* confdefs.h. */
20740 _ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 int
20746 main ()
20747 {
20748 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20749 test_array [0] = 0
20750
20751 ;
20752 return 0;
20753 }
20754 _ACEOF
20755 rm -f conftest.$ac_objext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20757 (eval $ac_compile) 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try='test -s conftest.$ac_objext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 ac_hi=-1 ac_mid=-1
20777 while :; do
20778 cat >conftest.$ac_ext <<_ACEOF
20779 /* confdefs.h. */
20780 _ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20785 int
20786 main ()
20787 {
20788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20789 test_array [0] = 0
20790
20791 ;
20792 return 0;
20793 }
20794 _ACEOF
20795 rm -f conftest.$ac_objext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20797 (eval $ac_compile) 2>conftest.er1
20798 ac_status=$?
20799 grep -v '^ *+' conftest.er1 >conftest.err
20800 rm -f conftest.er1
20801 cat conftest.err >&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } &&
20804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; } &&
20810 { ac_try='test -s conftest.$ac_objext'
20811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20812 (eval $ac_try) 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); }; }; then
20816 ac_lo=$ac_mid; break
20817 else
20818 echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20820
20821 ac_hi=`expr '(' $ac_mid ')' - 1`
20822 if test $ac_mid -le $ac_hi; then
20823 ac_lo= ac_hi=
20824 break
20825 fi
20826 ac_mid=`expr 2 '*' $ac_mid`
20827 fi
20828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20829 done
20830 else
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20833
20834 ac_lo= ac_hi=
20835 fi
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20837 fi
20838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20839 # Binary search between lo and hi bounds.
20840 while test "x$ac_lo" != "x$ac_hi"; do
20841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20849 int
20850 main ()
20851 {
20852 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20853 test_array [0] = 0
20854
20855 ;
20856 return 0;
20857 }
20858 _ACEOF
20859 rm -f conftest.$ac_objext
20860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20861 (eval $ac_compile) 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } &&
20868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870 (eval $ac_try) 2>&5
20871 ac_status=$?
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; } &&
20874 { ac_try='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_hi=$ac_mid
20881 else
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20884
20885 ac_lo=`expr '(' $ac_mid ')' + 1`
20886 fi
20887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20888 done
20889 case $ac_lo in
20890 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20891 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&5
20893 echo "$as_me: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&2;}
20895 { (exit 1); exit 1; }; } ;;
20896 esac
20897 else
20898 if test "$cross_compiling" = yes; then
20899 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20900 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20901 { (exit 1); exit 1; }; }
20902 else
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 $ac_includes_default
20910 long longval () { return (long) (sizeof (long long)); }
20911 unsigned long ulongval () { return (long) (sizeof (long long)); }
20912 #include <stdio.h>
20913 #include <stdlib.h>
20914 int
20915 main ()
20916 {
20917
20918 FILE *f = fopen ("conftest.val", "w");
20919 if (! f)
20920 exit (1);
20921 if (((long) (sizeof (long long))) < 0)
20922 {
20923 long i = longval ();
20924 if (i != ((long) (sizeof (long long))))
20925 exit (1);
20926 fprintf (f, "%ld\n", i);
20927 }
20928 else
20929 {
20930 unsigned long i = ulongval ();
20931 if (i != ((long) (sizeof (long long))))
20932 exit (1);
20933 fprintf (f, "%lu\n", i);
20934 }
20935 exit (ferror (f) || fclose (f) != 0);
20936
20937 ;
20938 return 0;
20939 }
20940 _ACEOF
20941 rm -f conftest$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20944 ac_status=$?
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948 (eval $ac_try) 2>&5
20949 ac_status=$?
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); }; }; then
20952 ac_cv_sizeof_long_long=`cat conftest.val`
20953 else
20954 echo "$as_me: program exited with status $ac_status" >&5
20955 echo "$as_me: failed program was:" >&5
20956 sed 's/^/| /' conftest.$ac_ext >&5
20957
20958 ( exit $ac_status )
20959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20960 See \`config.log' for more details." >&5
20961 echo "$as_me: error: cannot compute sizeof (long long), 77
20962 See \`config.log' for more details." >&2;}
20963 { (exit 1); exit 1; }; }
20964 fi
20965 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20966 fi
20967 fi
20968 rm -f conftest.val
20969 else
20970 ac_cv_sizeof_long_long=0
20971 fi
20972 fi
20973 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20974 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20975 cat >>confdefs.h <<_ACEOF
20976 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20977 _ACEOF
20978
20979
20980 esac
20981
20982 echo "$as_me:$LINENO: checking for wchar_t" >&5
20983 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20984 if test "${ac_cv_type_wchar_t+set}" = set; then
20985 echo $ECHO_N "(cached) $ECHO_C" >&6
20986 else
20987 cat >conftest.$ac_ext <<_ACEOF
20988 /* confdefs.h. */
20989 _ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993
20994 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20995 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20996 # error "fake wchar_t"
20997 #endif
20998 #ifdef HAVE_WCHAR_H
20999 # ifdef __CYGWIN__
21000 # include <stddef.h>
21001 # endif
21002 # include <wchar.h>
21003 #endif
21004 #ifdef HAVE_STDLIB_H
21005 # include <stdlib.h>
21006 #endif
21007 #include <stdio.h>
21008
21009
21010
21011 int
21012 main ()
21013 {
21014 if ((wchar_t *) 0)
21015 return 0;
21016 if (sizeof (wchar_t))
21017 return 0;
21018 ;
21019 return 0;
21020 }
21021 _ACEOF
21022 rm -f conftest.$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21025 ac_status=$?
21026 grep -v '^ *+' conftest.er1 >conftest.err
21027 rm -f conftest.er1
21028 cat conftest.err >&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21034 ac_status=$?
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21040 ac_status=$?
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_cv_type_wchar_t=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_cv_type_wchar_t=no
21049 fi
21050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21051 fi
21052 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21053 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21054
21055 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21056 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21057 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21060 if test "$ac_cv_type_wchar_t" = yes; then
21061 # The cast to unsigned long works around a bug in the HP C Compiler
21062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21064 # This bug is HP SR number 8606223364.
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073
21074 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21075 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21076 # error "fake wchar_t"
21077 #endif
21078 #ifdef HAVE_WCHAR_H
21079 # ifdef __CYGWIN__
21080 # include <stddef.h>
21081 # endif
21082 # include <wchar.h>
21083 #endif
21084 #ifdef HAVE_STDLIB_H
21085 # include <stdlib.h>
21086 #endif
21087 #include <stdio.h>
21088
21089
21090
21091 int
21092 main ()
21093 {
21094 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21095 test_array [0] = 0
21096
21097 ;
21098 return 0;
21099 }
21100 _ACEOF
21101 rm -f conftest.$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21103 (eval $ac_compile) 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21113 ac_status=$?
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; } &&
21116 { ac_try='test -s conftest.$ac_objext'
21117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21118 (eval $ac_try) 2>&5
21119 ac_status=$?
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); }; }; then
21122 ac_lo=0 ac_mid=0
21123 while :; do
21124 cat >conftest.$ac_ext <<_ACEOF
21125 /* confdefs.h. */
21126 _ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21130
21131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21133 # error "fake wchar_t"
21134 #endif
21135 #ifdef HAVE_WCHAR_H
21136 # ifdef __CYGWIN__
21137 # include <stddef.h>
21138 # endif
21139 # include <wchar.h>
21140 #endif
21141 #ifdef HAVE_STDLIB_H
21142 # include <stdlib.h>
21143 #endif
21144 #include <stdio.h>
21145
21146
21147
21148 int
21149 main ()
21150 {
21151 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21152 test_array [0] = 0
21153
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21170 ac_status=$?
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest.$ac_objext'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_hi=$ac_mid; break
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_lo=`expr $ac_mid + 1`
21185 if test $ac_lo -le $ac_mid; then
21186 ac_lo= ac_hi=
21187 break
21188 fi
21189 ac_mid=`expr 2 '*' $ac_mid + 1`
21190 fi
21191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21192 done
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21196
21197 cat >conftest.$ac_ext <<_ACEOF
21198 /* confdefs.h. */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203
21204 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21205 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21206 # error "fake wchar_t"
21207 #endif
21208 #ifdef HAVE_WCHAR_H
21209 # ifdef __CYGWIN__
21210 # include <stddef.h>
21211 # endif
21212 # include <wchar.h>
21213 #endif
21214 #ifdef HAVE_STDLIB_H
21215 # include <stdlib.h>
21216 #endif
21217 #include <stdio.h>
21218
21219
21220
21221 int
21222 main ()
21223 {
21224 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21225 test_array [0] = 0
21226
21227 ;
21228 return 0;
21229 }
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242 (eval $ac_try) 2>&5
21243 ac_status=$?
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; } &&
21246 { ac_try='test -s conftest.$ac_objext'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21249 ac_status=$?
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; }; then
21252 ac_hi=-1 ac_mid=-1
21253 while :; do
21254 cat >conftest.$ac_ext <<_ACEOF
21255 /* confdefs.h. */
21256 _ACEOF
21257 cat confdefs.h >>conftest.$ac_ext
21258 cat >>conftest.$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21260
21261 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21262 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21263 # error "fake wchar_t"
21264 #endif
21265 #ifdef HAVE_WCHAR_H
21266 # ifdef __CYGWIN__
21267 # include <stddef.h>
21268 # endif
21269 # include <wchar.h>
21270 #endif
21271 #ifdef HAVE_STDLIB_H
21272 # include <stdlib.h>
21273 #endif
21274 #include <stdio.h>
21275
21276
21277
21278 int
21279 main ()
21280 {
21281 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21282 test_array [0] = 0
21283
21284 ;
21285 return 0;
21286 }
21287 _ACEOF
21288 rm -f conftest.$ac_objext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21290 (eval $ac_compile) 2>conftest.er1
21291 ac_status=$?
21292 grep -v '^ *+' conftest.er1 >conftest.err
21293 rm -f conftest.er1
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21300 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_lo=$ac_mid; break
21310 else
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21313
21314 ac_hi=`expr '(' $ac_mid ')' - 1`
21315 if test $ac_mid -le $ac_hi; then
21316 ac_lo= ac_hi=
21317 break
21318 fi
21319 ac_mid=`expr 2 '*' $ac_mid`
21320 fi
21321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21322 done
21323 else
21324 echo "$as_me: failed program was:" >&5
21325 sed 's/^/| /' conftest.$ac_ext >&5
21326
21327 ac_lo= ac_hi=
21328 fi
21329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21330 fi
21331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21332 # Binary search between lo and hi bounds.
21333 while test "x$ac_lo" != "x$ac_hi"; do
21334 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21335 cat >conftest.$ac_ext <<_ACEOF
21336 /* confdefs.h. */
21337 _ACEOF
21338 cat confdefs.h >>conftest.$ac_ext
21339 cat >>conftest.$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341
21342 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21343 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21344 # error "fake wchar_t"
21345 #endif
21346 #ifdef HAVE_WCHAR_H
21347 # ifdef __CYGWIN__
21348 # include <stddef.h>
21349 # endif
21350 # include <wchar.h>
21351 #endif
21352 #ifdef HAVE_STDLIB_H
21353 # include <stdlib.h>
21354 #endif
21355 #include <stdio.h>
21356
21357
21358
21359 int
21360 main ()
21361 {
21362 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21363 test_array [0] = 0
21364
21365 ;
21366 return 0;
21367 }
21368 _ACEOF
21369 rm -f conftest.$ac_objext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21371 (eval $ac_compile) 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21381 ac_status=$?
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 ac_hi=$ac_mid
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21394
21395 ac_lo=`expr '(' $ac_mid ')' + 1`
21396 fi
21397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21398 done
21399 case $ac_lo in
21400 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21401 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21402 See \`config.log' for more details." >&5
21403 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21404 See \`config.log' for more details." >&2;}
21405 { (exit 1); exit 1; }; } ;;
21406 esac
21407 else
21408 if test "$cross_compiling" = yes; then
21409 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21410 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21411 { (exit 1); exit 1; }; }
21412 else
21413 cat >conftest.$ac_ext <<_ACEOF
21414 /* confdefs.h. */
21415 _ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419
21420 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21421 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21422 # error "fake wchar_t"
21423 #endif
21424 #ifdef HAVE_WCHAR_H
21425 # ifdef __CYGWIN__
21426 # include <stddef.h>
21427 # endif
21428 # include <wchar.h>
21429 #endif
21430 #ifdef HAVE_STDLIB_H
21431 # include <stdlib.h>
21432 #endif
21433 #include <stdio.h>
21434
21435
21436
21437 long longval () { return (long) (sizeof (wchar_t)); }
21438 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21439 #include <stdio.h>
21440 #include <stdlib.h>
21441 int
21442 main ()
21443 {
21444
21445 FILE *f = fopen ("conftest.val", "w");
21446 if (! f)
21447 exit (1);
21448 if (((long) (sizeof (wchar_t))) < 0)
21449 {
21450 long i = longval ();
21451 if (i != ((long) (sizeof (wchar_t))))
21452 exit (1);
21453 fprintf (f, "%ld\n", i);
21454 }
21455 else
21456 {
21457 unsigned long i = ulongval ();
21458 if (i != ((long) (sizeof (wchar_t))))
21459 exit (1);
21460 fprintf (f, "%lu\n", i);
21461 }
21462 exit (ferror (f) || fclose (f) != 0);
21463
21464 ;
21465 return 0;
21466 }
21467 _ACEOF
21468 rm -f conftest$ac_exeext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 (eval $ac_link) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21476 ac_status=$?
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 ac_cv_sizeof_wchar_t=`cat conftest.val`
21480 else
21481 echo "$as_me: program exited with status $ac_status" >&5
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21484
21485 ( exit $ac_status )
21486 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21487 See \`config.log' for more details." >&5
21488 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21489 See \`config.log' for more details." >&2;}
21490 { (exit 1); exit 1; }; }
21491 fi
21492 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21493 fi
21494 fi
21495 rm -f conftest.val
21496 else
21497 ac_cv_sizeof_wchar_t=0
21498 fi
21499 fi
21500 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21501 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21502 cat >>confdefs.h <<_ACEOF
21503 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21504 _ACEOF
21505
21506
21507 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21508 wxUSE_WCHAR_T=yes
21509 else
21510 wxUSE_WCHAR_T=no
21511 fi
21512
21513 echo "$as_me:$LINENO: checking for va_copy" >&5
21514 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21515 if test "${wx_cv_func_va_copy+set}" = set; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 else
21518
21519 cat >conftest.$ac_ext <<_ACEOF
21520
21521 #include <stdarg.h>
21522 void foo(char *f, ...)
21523 {
21524 va_list ap1, ap2;
21525 va_start(ap1, f);
21526 va_copy(ap2, ap1);
21527 va_end(ap2);
21528 va_end(ap1);
21529 }
21530 int main()
21531 {
21532 foo("hi", 17);
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest$ac_exeext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 wx_cv_func_va_copy=yes
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 wx_cv_func_va_copy=no
21563
21564 fi
21565 rm -f conftest.err conftest.$ac_objext \
21566 conftest$ac_exeext conftest.$ac_ext
21567
21568
21569 fi
21570 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21571 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21572
21573 if test $wx_cv_func_va_copy = "yes"; then
21574 cat >>confdefs.h <<\_ACEOF
21575 #define HAVE_VA_COPY 1
21576 _ACEOF
21577
21578 else
21579 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21580 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21581 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21583 else
21584
21585 if test "$cross_compiling" = yes; then
21586 wx_cv_type_va_list_lvalue=yes
21587
21588 else
21589 cat >conftest.$ac_ext <<_ACEOF
21590
21591 #include <stdarg.h>
21592 int foo(char *f, ...)
21593 {
21594 va_list ap1, ap2;
21595 va_start(ap1, f);
21596 ap2 = ap1;
21597 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21598 return 1;
21599 va_end(ap2);
21600 va_end(ap1);
21601 return 0;
21602 }
21603 int main()
21604 {
21605 return foo("hi", 17);
21606 }
21607 _ACEOF
21608 rm -f conftest$ac_exeext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21610 (eval $ac_link) 2>&5
21611 ac_status=$?
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21615 (eval $ac_try) 2>&5
21616 ac_status=$?
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; }; then
21619 wx_cv_type_va_list_lvalue=yes
21620 else
21621 echo "$as_me: program exited with status $ac_status" >&5
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.$ac_ext >&5
21624
21625 ( exit $ac_status )
21626 wx_cv_type_va_list_lvalue=no
21627 fi
21628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21629 fi
21630
21631
21632 fi
21633 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21634 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21635
21636 if test $wx_cv_type_va_list_lvalue != "yes"; then
21637 cat >>confdefs.h <<\_ACEOF
21638 #define VA_LIST_IS_ARRAY 1
21639 _ACEOF
21640
21641 fi
21642 fi
21643
21644 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21645
21646 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21647 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21648 if test "${wx_cv_have_variadic_macros+set}" = set; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21650 else
21651
21652 ac_ext=cc
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657
21658 cat >conftest.$ac_ext <<_ACEOF
21659 /* confdefs.h. */
21660 _ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664
21665 #include <stdio.h>
21666 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21667
21668 int
21669 main ()
21670 {
21671
21672 test("%s %d %p", "test", 1, 0);
21673
21674
21675 ;
21676 return 0;
21677 }
21678 _ACEOF
21679 rm -f conftest.$ac_objext
21680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21681 (eval $ac_compile) 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } &&
21688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690 (eval $ac_try) 2>&5
21691 ac_status=$?
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); }; } &&
21694 { ac_try='test -s conftest.$ac_objext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21697 ac_status=$?
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 wx_cv_have_variadic_macros=yes
21701 else
21702 echo "$as_me: failed program was:" >&5
21703 sed 's/^/| /' conftest.$ac_ext >&5
21704
21705 wx_cv_have_variadic_macros=no
21706
21707 fi
21708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21709 ac_ext=c
21710 ac_cpp='$CPP $CPPFLAGS'
21711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21714
21715
21716
21717 fi
21718 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21719 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21720
21721 if test $wx_cv_have_variadic_macros = "yes"; then
21722 cat >>confdefs.h <<\_ACEOF
21723 #define HAVE_VARIADIC_MACROS 1
21724 _ACEOF
21725
21726 fi
21727
21728 fi
21729 # Check whether --enable-largefile or --disable-largefile was given.
21730 if test "${enable_largefile+set}" = set; then
21731 enableval="$enable_largefile"
21732
21733 fi;
21734 if test "$enable_largefile" != no; then
21735 wx_largefile=no
21736
21737 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21738 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21739 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 else
21742
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 #define _FILE_OFFSET_BITS 64
21750 #include <sys/types.h>
21751 int
21752 main ()
21753 {
21754 typedef struct {
21755 unsigned int field: sizeof(off_t) == 8;
21756 } wxlf;
21757
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21764 (eval $ac_compile) 2>conftest.er1
21765 ac_status=$?
21766 grep -v '^ *+' conftest.er1 >conftest.err
21767 rm -f conftest.er1
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } &&
21771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21774 ac_status=$?
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; } &&
21777 { ac_try='test -s conftest.$ac_objext'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21780 ac_status=$?
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; }; then
21783 ac_cv_sys_file_offset_bits=64
21784 else
21785 echo "$as_me: failed program was:" >&5
21786 sed 's/^/| /' conftest.$ac_ext >&5
21787
21788 ac_cv_sys_file_offset_bits=no
21789 fi
21790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21791
21792
21793 fi
21794 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21795 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21796
21797 if test "$ac_cv_sys_file_offset_bits" != no; then
21798 wx_largefile=yes
21799 cat >>confdefs.h <<_ACEOF
21800 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21801 _ACEOF
21802
21803 fi
21804
21805 if test "x$wx_largefile" != "xyes"; then
21806
21807 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21808 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21809 if test "${ac_cv_sys_large_files+set}" = set; then
21810 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 else
21812
21813 cat >conftest.$ac_ext <<_ACEOF
21814 /* confdefs.h. */
21815 _ACEOF
21816 cat confdefs.h >>conftest.$ac_ext
21817 cat >>conftest.$ac_ext <<_ACEOF
21818 /* end confdefs.h. */
21819 #define _LARGE_FILES 1
21820 #include <sys/types.h>
21821 int
21822 main ()
21823 {
21824 typedef struct {
21825 unsigned int field: sizeof(off_t) == 8;
21826 } wxlf;
21827
21828 ;
21829 return 0;
21830 }
21831 _ACEOF
21832 rm -f conftest.$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834 (eval $ac_compile) 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843 (eval $ac_try) 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try='test -s conftest.$ac_objext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_sys_large_files=1
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21857
21858 ac_cv_sys_large_files=no
21859 fi
21860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21861
21862
21863 fi
21864 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21865 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21866
21867 if test "$ac_cv_sys_large_files" != no; then
21868 wx_largefile=yes
21869 cat >>confdefs.h <<_ACEOF
21870 #define _LARGE_FILES $ac_cv_sys_large_files
21871 _ACEOF
21872
21873 fi
21874
21875 fi
21876
21877 echo "$as_me:$LINENO: checking if large file support is available" >&5
21878 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21879 if test "x$wx_largefile" = "xyes"; then
21880 cat >>confdefs.h <<\_ACEOF
21881 #define HAVE_LARGEFILE_SUPPORT 1
21882 _ACEOF
21883
21884 fi
21885 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21886 echo "${ECHO_T}$wx_largefile" >&6
21887 fi
21888
21889
21890 if test "x$wx_largefile" = "xyes"; then
21891 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21892 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21893
21894 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21895 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21896 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21897 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 else
21900
21901 ac_ext=cc
21902 ac_cpp='$CXXCPP $CPPFLAGS'
21903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21906
21907 cat >conftest.$ac_ext <<_ACEOF
21908 /* confdefs.h. */
21909 _ACEOF
21910 cat confdefs.h >>conftest.$ac_ext
21911 cat >>conftest.$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21913
21914 int
21915 main ()
21916 {
21917
21918 #ifndef __STDC_EXT__
21919 choke me
21920 #endif
21921
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 rm -f conftest.$ac_objext
21927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21928 (eval $ac_compile) 2>conftest.er1
21929 ac_status=$?
21930 grep -v '^ *+' conftest.er1 >conftest.err
21931 rm -f conftest.er1
21932 cat conftest.err >&5
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } &&
21935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937 (eval $ac_try) 2>&5
21938 ac_status=$?
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); }; } &&
21941 { ac_try='test -s conftest.$ac_objext'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; }; then
21947 wx_cv_STDC_EXT_required=no
21948 else
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21951
21952 wx_cv_STDC_EXT_required=yes
21953
21954 fi
21955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21956 ac_ext=c
21957 ac_cpp='$CPP $CPPFLAGS'
21958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21961
21962
21963
21964 fi
21965 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21966 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21967 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21968 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21969 fi
21970 fi
21971 else
21972 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21973 fi
21974 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21975 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21976 if test "${ac_cv_sys_largefile_source+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 else
21979 while :; do
21980 ac_cv_sys_largefile_source=no
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 #include <stdio.h>
21988 int
21989 main ()
21990 {
21991 return !fseeko;
21992 ;
21993 return 0;
21994 }
21995 _ACEOF
21996 rm -f conftest.$ac_objext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21998 (eval $ac_compile) 2>conftest.er1
21999 ac_status=$?
22000 grep -v '^ *+' conftest.er1 >conftest.err
22001 rm -f conftest.er1
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22007 (eval $ac_try) 2>&5
22008 ac_status=$?
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; } &&
22011 { ac_try='test -s conftest.$ac_objext'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; }; then
22017 break
22018 else
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.$ac_ext >&5
22021
22022 fi
22023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 #define _LARGEFILE_SOURCE 1
22031 #include <stdio.h>
22032 int
22033 main ()
22034 {
22035 return !fseeko;
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest.$ac_objext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_sys_largefile_source=1; break
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 fi
22067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22068 break
22069 done
22070 fi
22071 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22072 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22073 if test "$ac_cv_sys_largefile_source" != no; then
22074
22075 cat >>confdefs.h <<_ACEOF
22076 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22077 _ACEOF
22078
22079 fi
22080 rm -f conftest*
22081
22082 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22083 # in glibc 2.1.3, but that breaks too many other things.
22084 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22085 echo "$as_me:$LINENO: checking for fseeko" >&5
22086 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22087 if test "${ac_cv_func_fseeko+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22090 cat >conftest.$ac_ext <<_ACEOF
22091 /* confdefs.h. */
22092 _ACEOF
22093 cat confdefs.h >>conftest.$ac_ext
22094 cat >>conftest.$ac_ext <<_ACEOF
22095 /* end confdefs.h. */
22096 #include <stdio.h>
22097 int
22098 main ()
22099 {
22100 return fseeko && fseeko (stdin, 0, 0);
22101 ;
22102 return 0;
22103 }
22104 _ACEOF
22105 rm -f conftest.$ac_objext conftest$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107 (eval $ac_link) 2>conftest.er1
22108 ac_status=$?
22109 grep -v '^ *+' conftest.er1 >conftest.err
22110 rm -f conftest.er1
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22117 ac_status=$?
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; } &&
22120 { ac_try='test -s conftest$ac_exeext'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; }; then
22126 ac_cv_func_fseeko=yes
22127 else
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 ac_cv_func_fseeko=no
22132 fi
22133 rm -f conftest.err conftest.$ac_objext \
22134 conftest$ac_exeext conftest.$ac_ext
22135 fi
22136 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22137 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22138 if test $ac_cv_func_fseeko = yes; then
22139
22140 cat >>confdefs.h <<\_ACEOF
22141 #define HAVE_FSEEKO 1
22142 _ACEOF
22143
22144 fi
22145
22146 if test "$ac_cv_sys_largefile_source" != no; then
22147 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22148 fi
22149 fi
22150
22151 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22152 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22153 if test "${ac_cv_c_bigendian+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22155 else
22156 ac_cv_c_bigendian=unknown
22157 # See if sys/param.h defines the BYTE_ORDER macro.
22158 cat >conftest.$ac_ext <<_ACEOF
22159 /* confdefs.h. */
22160 _ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 #include <sys/types.h>
22165 #include <sys/param.h>
22166 int
22167 main ()
22168 {
22169
22170 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22171 bogus endian macros
22172 #endif
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 rm -f conftest.$ac_objext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22179 (eval $ac_compile) 2>conftest.er1
22180 ac_status=$?
22181 grep -v '^ *+' conftest.er1 >conftest.err
22182 rm -f conftest.er1
22183 cat conftest.err >&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } &&
22186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22192 { ac_try='test -s conftest.$ac_objext'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22195 ac_status=$?
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; }; then
22198 # It does; now see whether it defined to BIG_ENDIAN or not.
22199 cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h. */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 #include <sys/types.h>
22206 #include <sys/param.h>
22207 int
22208 main ()
22209 {
22210
22211 #if BYTE_ORDER != BIG_ENDIAN
22212 not big endian
22213 #endif
22214 ;
22215 return 0;
22216 }
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22220 (eval $ac_compile) 2>conftest.er1
22221 ac_status=$?
22222 grep -v '^ *+' conftest.er1 >conftest.err
22223 rm -f conftest.er1
22224 cat conftest.err >&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; } &&
22233 { ac_try='test -s conftest.$ac_objext'
22234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235 (eval $ac_try) 2>&5
22236 ac_status=$?
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); }; }; then
22239 ac_cv_c_bigendian=yes
22240 else
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.$ac_ext >&5
22243
22244 ac_cv_c_bigendian=no
22245 fi
22246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22247 else
22248 echo "$as_me: failed program was:" >&5
22249 sed 's/^/| /' conftest.$ac_ext >&5
22250
22251 fi
22252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22253 if test $ac_cv_c_bigendian = unknown; then
22254 if test "$cross_compiling" = yes; then
22255 ac_cv_c_bigendian=unknown
22256 else
22257 cat >conftest.$ac_ext <<_ACEOF
22258 /* confdefs.h. */
22259 _ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h. */
22263 main () {
22264 /* Are we little or big endian? From Harbison&Steele. */
22265 union
22266 {
22267 long l;
22268 char c[sizeof (long)];
22269 } u;
22270 u.l = 1;
22271 exit (u.c[sizeof (long) - 1] == 1);
22272 }
22273 _ACEOF
22274 rm -f conftest$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22282 ac_status=$?
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; }; then
22285 ac_cv_c_bigendian=no
22286 else
22287 echo "$as_me: program exited with status $ac_status" >&5
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22290
22291 ( exit $ac_status )
22292 ac_cv_c_bigendian=yes
22293 fi
22294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22295 fi
22296 fi
22297 fi
22298 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22299 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22300 if test $ac_cv_c_bigendian = unknown; then
22301 { 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
22302 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;}
22303 fi
22304 if test $ac_cv_c_bigendian = yes; then
22305 cat >>confdefs.h <<\_ACEOF
22306 #define WORDS_BIGENDIAN 1
22307 _ACEOF
22308
22309 fi
22310
22311
22312 ac_ext=cc
22313 ac_cpp='$CXXCPP $CPPFLAGS'
22314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22317 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22318 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22319 if test -z "$CXXCPP"; then
22320 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22321 echo $ECHO_N "(cached) $ECHO_C" >&6
22322 else
22323 # Double quotes because CXXCPP needs to be expanded
22324 for CXXCPP in "$CXX -E" "/lib/cpp"
22325 do
22326 ac_preproc_ok=false
22327 for ac_cxx_preproc_warn_flag in '' yes
22328 do
22329 # Use a header file that comes with gcc, so configuring glibc
22330 # with a fresh cross-compiler works.
22331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22332 # <limits.h> exists even on freestanding compilers.
22333 # On the NeXT, cc -E runs the code through the compiler's parser,
22334 # not just through cpp. "Syntax error" is here to catch this case.
22335 cat >conftest.$ac_ext <<_ACEOF
22336 /* confdefs.h. */
22337 _ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 #ifdef __STDC__
22342 # include <limits.h>
22343 #else
22344 # include <assert.h>
22345 #endif
22346 Syntax error
22347 _ACEOF
22348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } >/dev/null; then
22356 if test -s conftest.err; then
22357 ac_cpp_err=$ac_cxx_preproc_warn_flag
22358 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22359 else
22360 ac_cpp_err=
22361 fi
22362 else
22363 ac_cpp_err=yes
22364 fi
22365 if test -z "$ac_cpp_err"; then
22366 :
22367 else
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.$ac_ext >&5
22370
22371 # Broken: fails on valid input.
22372 continue
22373 fi
22374 rm -f conftest.err conftest.$ac_ext
22375
22376 # OK, works on sane cases. Now check whether non-existent headers
22377 # can be detected and how.
22378 cat >conftest.$ac_ext <<_ACEOF
22379 /* confdefs.h. */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22384 #include <ac_nonexistent.h>
22385 _ACEOF
22386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22388 ac_status=$?
22389 grep -v '^ *+' conftest.er1 >conftest.err
22390 rm -f conftest.er1
22391 cat conftest.err >&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); } >/dev/null; then
22394 if test -s conftest.err; then
22395 ac_cpp_err=$ac_cxx_preproc_warn_flag
22396 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22397 else
22398 ac_cpp_err=
22399 fi
22400 else
22401 ac_cpp_err=yes
22402 fi
22403 if test -z "$ac_cpp_err"; then
22404 # Broken: success on invalid input.
22405 continue
22406 else
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22409
22410 # Passes both tests.
22411 ac_preproc_ok=:
22412 break
22413 fi
22414 rm -f conftest.err conftest.$ac_ext
22415
22416 done
22417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22418 rm -f conftest.err conftest.$ac_ext
22419 if $ac_preproc_ok; then
22420 break
22421 fi
22422
22423 done
22424 ac_cv_prog_CXXCPP=$CXXCPP
22425
22426 fi
22427 CXXCPP=$ac_cv_prog_CXXCPP
22428 else
22429 ac_cv_prog_CXXCPP=$CXXCPP
22430 fi
22431 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22432 echo "${ECHO_T}$CXXCPP" >&6
22433 ac_preproc_ok=false
22434 for ac_cxx_preproc_warn_flag in '' yes
22435 do
22436 # Use a header file that comes with gcc, so configuring glibc
22437 # with a fresh cross-compiler works.
22438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22439 # <limits.h> exists even on freestanding compilers.
22440 # On the NeXT, cc -E runs the code through the compiler's parser,
22441 # not just through cpp. "Syntax error" is here to catch this case.
22442 cat >conftest.$ac_ext <<_ACEOF
22443 /* confdefs.h. */
22444 _ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 #ifdef __STDC__
22449 # include <limits.h>
22450 #else
22451 # include <assert.h>
22452 #endif
22453 Syntax error
22454 _ACEOF
22455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } >/dev/null; then
22463 if test -s conftest.err; then
22464 ac_cpp_err=$ac_cxx_preproc_warn_flag
22465 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22466 else
22467 ac_cpp_err=
22468 fi
22469 else
22470 ac_cpp_err=yes
22471 fi
22472 if test -z "$ac_cpp_err"; then
22473 :
22474 else
22475 echo "$as_me: failed program was:" >&5
22476 sed 's/^/| /' conftest.$ac_ext >&5
22477
22478 # Broken: fails on valid input.
22479 continue
22480 fi
22481 rm -f conftest.err conftest.$ac_ext
22482
22483 # OK, works on sane cases. Now check whether non-existent headers
22484 # can be detected and how.
22485 cat >conftest.$ac_ext <<_ACEOF
22486 /* confdefs.h. */
22487 _ACEOF
22488 cat confdefs.h >>conftest.$ac_ext
22489 cat >>conftest.$ac_ext <<_ACEOF
22490 /* end confdefs.h. */
22491 #include <ac_nonexistent.h>
22492 _ACEOF
22493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } >/dev/null; then
22501 if test -s conftest.err; then
22502 ac_cpp_err=$ac_cxx_preproc_warn_flag
22503 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22504 else
22505 ac_cpp_err=
22506 fi
22507 else
22508 ac_cpp_err=yes
22509 fi
22510 if test -z "$ac_cpp_err"; then
22511 # Broken: success on invalid input.
22512 continue
22513 else
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 # Passes both tests.
22518 ac_preproc_ok=:
22519 break
22520 fi
22521 rm -f conftest.err conftest.$ac_ext
22522
22523 done
22524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22525 rm -f conftest.err conftest.$ac_ext
22526 if $ac_preproc_ok; then
22527 :
22528 else
22529 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22530 See \`config.log' for more details." >&5
22531 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22532 See \`config.log' for more details." >&2;}
22533 { (exit 1); exit 1; }; }
22534 fi
22535
22536 ac_ext=cc
22537 ac_cpp='$CXXCPP $CPPFLAGS'
22538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22541
22542
22543
22544
22545
22546 ac_ext=cc
22547 ac_cpp='$CXXCPP $CPPFLAGS'
22548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22551
22552
22553
22554 for ac_header in iostream
22555 do
22556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22558 echo "$as_me:$LINENO: checking for $ac_header" >&5
22559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 fi
22563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22565 else
22566 # Is the header compilable?
22567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22569 cat >conftest.$ac_ext <<_ACEOF
22570 /* confdefs.h. */
22571 _ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22576 #include <$ac_header>
22577 _ACEOF
22578 rm -f conftest.$ac_objext
22579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22580 (eval $ac_compile) 2>conftest.er1
22581 ac_status=$?
22582 grep -v '^ *+' conftest.er1 >conftest.err
22583 rm -f conftest.er1
22584 cat conftest.err >&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } &&
22587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest.$ac_objext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_header_compiler=yes
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22603
22604 ac_header_compiler=no
22605 fi
22606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22608 echo "${ECHO_T}$ac_header_compiler" >&6
22609
22610 # Is the header present?
22611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <$ac_header>
22620 _ACEOF
22621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22623 ac_status=$?
22624 grep -v '^ *+' conftest.er1 >conftest.err
22625 rm -f conftest.er1
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } >/dev/null; then
22629 if test -s conftest.err; then
22630 ac_cpp_err=$ac_cxx_preproc_warn_flag
22631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22632 else
22633 ac_cpp_err=
22634 fi
22635 else
22636 ac_cpp_err=yes
22637 fi
22638 if test -z "$ac_cpp_err"; then
22639 ac_header_preproc=yes
22640 else
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22643
22644 ac_header_preproc=no
22645 fi
22646 rm -f conftest.err conftest.$ac_ext
22647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22648 echo "${ECHO_T}$ac_header_preproc" >&6
22649
22650 # So? What about this header?
22651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22652 yes:no: )
22653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22657 ac_header_preproc=yes
22658 ;;
22659 no:yes:* )
22660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22672 (
22673 cat <<\_ASBOX
22674 ## ----------------------------------------- ##
22675 ## Report this to wx-dev@lists.wxwidgets.org ##
22676 ## ----------------------------------------- ##
22677 _ASBOX
22678 ) |
22679 sed "s/^/$as_me: WARNING: /" >&2
22680 ;;
22681 esac
22682 echo "$as_me:$LINENO: checking for $ac_header" >&5
22683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22685 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 else
22687 eval "$as_ac_Header=\$ac_header_preproc"
22688 fi
22689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22691
22692 fi
22693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22694 cat >>confdefs.h <<_ACEOF
22695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22696 _ACEOF
22697
22698 fi
22699
22700 done
22701
22702
22703 if test "$ac_cv_header_iostream" = "yes" ; then
22704 :
22705 else
22706 cat >>confdefs.h <<\_ACEOF
22707 #define wxUSE_IOSTREAMH 1
22708 _ACEOF
22709
22710 fi
22711
22712 ac_ext=c
22713 ac_cpp='$CPP $CPPFLAGS'
22714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22717
22718
22719
22720
22721 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22722 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22723 if test "${wx_cv_cpp_bool+set}" = set; then
22724 echo $ECHO_N "(cached) $ECHO_C" >&6
22725 else
22726
22727
22728
22729 ac_ext=cc
22730 ac_cpp='$CXXCPP $CPPFLAGS'
22731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22734
22735
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742
22743
22744 int
22745 main ()
22746 {
22747
22748 bool b = true;
22749
22750 return 0;
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22759 ac_status=$?
22760 grep -v '^ *+' conftest.er1 >conftest.err
22761 rm -f conftest.er1
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22777
22778 wx_cv_cpp_bool=yes
22779
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784
22785 wx_cv_cpp_bool=no
22786
22787
22788 fi
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22790
22791 ac_ext=c
22792 ac_cpp='$CPP $CPPFLAGS'
22793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22796
22797
22798 fi
22799 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22800 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22801
22802 if test "$wx_cv_cpp_bool" = "yes"; then
22803 cat >>confdefs.h <<\_ACEOF
22804 #define HAVE_BOOL 1
22805 _ACEOF
22806
22807 fi
22808
22809
22810
22811 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22812 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22813 if test "${wx_cv_explicit+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816
22817
22818
22819 ac_ext=cc
22820 ac_cpp='$CXXCPP $CPPFLAGS'
22821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22824
22825
22826 cat >conftest.$ac_ext <<_ACEOF
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22832
22833 class Foo { public: explicit Foo(int) {} };
22834
22835 int
22836 main ()
22837 {
22838
22839 return 0;
22840
22841 ;
22842 return 0;
22843 }
22844 _ACEOF
22845 rm -f conftest.$ac_objext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22847 (eval $ac_compile) 2>conftest.er1
22848 ac_status=$?
22849 grep -v '^ *+' conftest.er1 >conftest.err
22850 rm -f conftest.er1
22851 cat conftest.err >&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22863 ac_status=$?
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866
22867 cat >conftest.$ac_ext <<_ACEOF
22868 /* confdefs.h. */
22869 _ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873
22874 class Foo { public: explicit Foo(int) {} };
22875 static void TakeFoo(const Foo& foo) { }
22876
22877 int
22878 main ()
22879 {
22880
22881 TakeFoo(17);
22882 return 0;
22883
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 rm -f conftest.$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22891 ac_status=$?
22892 grep -v '^ *+' conftest.er1 >conftest.err
22893 rm -f conftest.er1
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22900 ac_status=$?
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try='test -s conftest.$ac_objext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22906 ac_status=$?
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22909 wx_cv_explicit=no
22910 else
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22913
22914 wx_cv_explicit=yes
22915
22916 fi
22917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22918
22919 else
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 wx_cv_explicit=no
22924
22925 fi
22926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22927
22928 ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933
22934
22935 fi
22936 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22937 echo "${ECHO_T}$wx_cv_explicit" >&6
22938
22939 if test "$wx_cv_explicit" = "yes"; then
22940 cat >>confdefs.h <<\_ACEOF
22941 #define HAVE_EXPLICIT 1
22942 _ACEOF
22943
22944 fi
22945
22946
22947 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22948 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22949 if test "${ac_cv_cxx_const_cast+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22951 else
22952
22953
22954 ac_ext=cc
22955 ac_cpp='$CXXCPP $CPPFLAGS'
22956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22959
22960 cat >conftest.$ac_ext <<_ACEOF
22961 /* confdefs.h. */
22962 _ACEOF
22963 cat confdefs.h >>conftest.$ac_ext
22964 cat >>conftest.$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966
22967 int
22968 main ()
22969 {
22970 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22971 ;
22972 return 0;
22973 }
22974 _ACEOF
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 ac_cv_cxx_const_cast=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 ac_cv_cxx_const_cast=no
23002 fi
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009
23010
23011 fi
23012 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23014 if test "$ac_cv_cxx_const_cast" = yes; then
23015
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_CONST_CAST
23018 _ACEOF
23019
23020 fi
23021
23022 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027
23028
23029 ac_ext=cc
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23034
23035 cat >conftest.$ac_ext <<_ACEOF
23036 /* confdefs.h. */
23037 _ACEOF
23038 cat confdefs.h >>conftest.$ac_ext
23039 cat >>conftest.$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <typeinfo>
23042 class Base { public : Base () {} virtual void f () = 0;};
23043 class Derived : public Base { public : Derived () {} virtual void f () {} };
23044 class Unrelated { public : Unrelated () {} };
23045 int g (Unrelated&) { return 0; }
23046 int
23047 main ()
23048 {
23049
23050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23051 ;
23052 return 0;
23053 }
23054 _ACEOF
23055 rm -f conftest.$ac_objext
23056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23057 (eval $ac_compile) 2>conftest.er1
23058 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } &&
23064 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; } &&
23070 { ac_try='test -s conftest.$ac_objext'
23071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23072 (eval $ac_try) 2>&5
23073 ac_status=$?
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; }; then
23076 ac_cv_cxx_reinterpret_cast=yes
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_cv_cxx_reinterpret_cast=no
23082 fi
23083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23084 ac_ext=c
23085 ac_cpp='$CPP $CPPFLAGS'
23086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23089
23090
23091 fi
23092 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23093 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23094 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23095
23096 cat >>confdefs.h <<\_ACEOF
23097 #define HAVE_REINTERPRET_CAST
23098 _ACEOF
23099
23100 fi
23101
23102 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23103 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23104 if test "${ac_cv_cxx_static_cast+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23106 else
23107
23108
23109 ac_ext=cc
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23114
23115 cat >conftest.$ac_ext <<_ACEOF
23116 /* confdefs.h. */
23117 _ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <typeinfo>
23122 class Base { public : Base () {} virtual void f () = 0; };
23123 class Derived : public Base { public : Derived () {} virtual void f () {} };
23124 int g (Derived&) { return 0; }
23125 int
23126 main ()
23127 {
23128
23129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23136 (eval $ac_compile) 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23152 ac_status=$?
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 ac_cv_cxx_static_cast=yes
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 ac_cv_cxx_static_cast=no
23161 fi
23162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23163 ac_ext=c
23164 ac_cpp='$CPP $CPPFLAGS'
23165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23168
23169
23170 fi
23171 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23172 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23173 if test "$ac_cv_cxx_static_cast" = yes; then
23174
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_STATIC_CAST
23177 _ACEOF
23178
23179 fi
23180
23181
23182 if test "x$SUNCXX" = xyes; then
23183 CXXFLAGS="-features=tmplife $CXXFLAGS"
23184 fi
23185
23186 if test "x$SUNCC" = xyes; then
23187 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23188 fi
23189
23190 if test "x$SGICC" = "xyes"; then
23191 CFLAGS="-woff 3970 $CFLAGS"
23192 fi
23193 if test "x$SGICXX" = "xyes"; then
23194 CXXFLAGS="-woff 3970 $CXXFLAGS"
23195 fi
23196
23197 if test "x$HPCC" = "xyes"; then
23198 CFLAGS="+W 2011,2450 $CFLAGS"
23199 fi
23200 if test "x$HPCXX" = "xyes"; then
23201 CXXFLAGS="+W 2340 $CXXFLAGS"
23202 fi
23203
23204 if test "x$COMPAQCXX" = "xyes"; then
23205 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23206 fi
23207
23208 ac_ext=cc
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213
23214
23215 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23216 if test "$wxUSE_UNICODE" = "yes"; then
23217 std_string="std::wstring"
23218 char_type="wchar_t"
23219 else
23220 std_string="std::string"
23221 char_type="char"
23222 fi
23223
23224 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23225 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23226 if test "${wx_cv_class_stdstring+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23228 else
23229
23230 cat >conftest.$ac_ext <<_ACEOF
23231 /* confdefs.h. */
23232 _ACEOF
23233 cat confdefs.h >>conftest.$ac_ext
23234 cat >>conftest.$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23236 #include <string>
23237 int
23238 main ()
23239 {
23240 $std_string foo;
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23247 (eval $ac_compile) 2>conftest.er1
23248 ac_status=$?
23249 grep -v '^ *+' conftest.er1 >conftest.err
23250 rm -f conftest.er1
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } &&
23254 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23257 ac_status=$?
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; } &&
23260 { ac_try='test -s conftest.$ac_objext'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23263 ac_status=$?
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 wx_cv_class_stdstring=yes
23267 else
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.$ac_ext >&5
23270
23271 wx_cv_class_stdstring=no
23272
23273 fi
23274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23275
23276
23277 fi
23278 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23279 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23280
23281 if test "$wx_cv_class_stdstring" = yes; then
23282 if test "$wxUSE_UNICODE" = "yes"; then
23283 cat >>confdefs.h <<\_ACEOF
23284 #define HAVE_STD_WSTRING 1
23285 _ACEOF
23286
23287 fi
23288 else
23289 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23290 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23291 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23293 else
23294
23295 cat >conftest.$ac_ext <<_ACEOF
23296 /* confdefs.h. */
23297 _ACEOF
23298 cat confdefs.h >>conftest.$ac_ext
23299 cat >>conftest.$ac_ext <<_ACEOF
23300 /* end confdefs.h. */
23301
23302 #ifdef HAVE_WCHAR_H
23303 # ifdef __CYGWIN__
23304 # include <stddef.h>
23305 # endif
23306 # include <wchar.h>
23307 #endif
23308 #ifdef HAVE_STDLIB_H
23309 # include <stdlib.h>
23310 #endif
23311 #include <stdio.h>
23312 #include <string>
23313
23314 int
23315 main ()
23316 {
23317 std::basic_string<$char_type> foo;
23318 const $char_type* dummy = foo.c_str();
23319 ;
23320 return 0;
23321 }
23322 _ACEOF
23323 rm -f conftest.$ac_objext
23324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23325 (eval $ac_compile) 2>conftest.er1
23326 ac_status=$?
23327 grep -v '^ *+' conftest.er1 >conftest.err
23328 rm -f conftest.er1
23329 cat conftest.err >&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23335 ac_status=$?
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; } &&
23338 { ac_try='test -s conftest.$ac_objext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23341 ac_status=$?
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 wx_cv_class_stdbasicstring=yes
23345 else
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23348
23349 wx_cv_class_stdbasicstring=no
23350
23351 fi
23352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23353
23354
23355 fi
23356 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23357 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23358
23359 if test "$wx_cv_class_stdbasicstring" != yes; then
23360 if test "$wxUSE_STL" = "yes"; then
23361 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23362 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23363 { (exit 1); exit 1; }; }
23364 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23365 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23366 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23367 { (exit 1); exit 1; }; }
23368 else
23369 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23370 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23371 wxUSE_STD_STRING=no
23372 fi
23373 fi
23374 fi
23375 fi
23376
23377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23378 echo "$as_me:$LINENO: checking for std::istream" >&5
23379 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23380 if test "${ac_cv_type_std__istream+set}" = set; then
23381 echo $ECHO_N "(cached) $ECHO_C" >&6
23382 else
23383 cat >conftest.$ac_ext <<_ACEOF
23384 /* confdefs.h. */
23385 _ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389 #include <iostream>
23390
23391 int
23392 main ()
23393 {
23394 if ((std::istream *) 0)
23395 return 0;
23396 if (sizeof (std::istream))
23397 return 0;
23398 ;
23399 return 0;
23400 }
23401 _ACEOF
23402 rm -f conftest.$ac_objext
23403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23404 (eval $ac_compile) 2>conftest.er1
23405 ac_status=$?
23406 grep -v '^ *+' conftest.er1 >conftest.err
23407 rm -f conftest.er1
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try='test -s conftest.$ac_objext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_type_std__istream=yes
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23427
23428 ac_cv_type_std__istream=no
23429 fi
23430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23431 fi
23432 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23433 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23434 if test $ac_cv_type_std__istream = yes; then
23435
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE_STD__ISTREAM 1
23438 _ACEOF
23439
23440
23441 else
23442 wxUSE_STD_IOSTREAM=no
23443 fi
23444 echo "$as_me:$LINENO: checking for std::ostream" >&5
23445 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23446 if test "${ac_cv_type_std__ostream+set}" = set; then
23447 echo $ECHO_N "(cached) $ECHO_C" >&6
23448 else
23449 cat >conftest.$ac_ext <<_ACEOF
23450 /* confdefs.h. */
23451 _ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23455 #include <iostream>
23456
23457 int
23458 main ()
23459 {
23460 if ((std::ostream *) 0)
23461 return 0;
23462 if (sizeof (std::ostream))
23463 return 0;
23464 ;
23465 return 0;
23466 }
23467 _ACEOF
23468 rm -f conftest.$ac_objext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23470 (eval $ac_compile) 2>conftest.er1
23471 ac_status=$?
23472 grep -v '^ *+' conftest.er1 >conftest.err
23473 rm -f conftest.er1
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } &&
23477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23480 ac_status=$?
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; } &&
23483 { ac_try='test -s conftest.$ac_objext'
23484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485 (eval $ac_try) 2>&5
23486 ac_status=$?
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); }; }; then
23489 ac_cv_type_std__ostream=yes
23490 else
23491 echo "$as_me: failed program was:" >&5
23492 sed 's/^/| /' conftest.$ac_ext >&5
23493
23494 ac_cv_type_std__ostream=no
23495 fi
23496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23497 fi
23498 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23499 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23500 if test $ac_cv_type_std__ostream = yes; then
23501
23502 cat >>confdefs.h <<_ACEOF
23503 #define HAVE_STD__OSTREAM 1
23504 _ACEOF
23505
23506
23507 else
23508 wxUSE_STD_IOSTREAM=no
23509 fi
23510
23511
23512 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23513 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23514 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23515 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23516 { (exit 1); exit 1; }; }
23517 else
23518 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23519 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23520 fi
23521 fi
23522 fi
23523
23524 if test "$wxUSE_STL" = "yes"; then
23525 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23526 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23527 if test "${wx_cv_lib_stl+set}" = set; then
23528 echo $ECHO_N "(cached) $ECHO_C" >&6
23529 else
23530 cat >conftest.$ac_ext <<_ACEOF
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 #include <string>
23537 #include <functional>
23538 #include <algorithm>
23539 #include <vector>
23540 #include <list>
23541 int
23542 main ()
23543 {
23544 std::vector<int> moo;
23545 std::list<int> foo;
23546 std::vector<int>::iterator it =
23547 std::find_if(moo.begin(), moo.end(),
23548 std::bind2nd(std::less<int>(), 3));
23549 ;
23550 return 0;
23551 }
23552 _ACEOF
23553 rm -f conftest.$ac_objext
23554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23555 (eval $ac_compile) 2>conftest.er1
23556 ac_status=$?
23557 grep -v '^ *+' conftest.er1 >conftest.err
23558 rm -f conftest.er1
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } &&
23562 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23565 ac_status=$?
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; } &&
23568 { ac_try='test -s conftest.$ac_objext'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; }; then
23574 wx_cv_lib_stl=yes
23575 else
23576 echo "$as_me: failed program was:" >&5
23577 sed 's/^/| /' conftest.$ac_ext >&5
23578
23579 wx_cv_lib_stl=no
23580
23581 fi
23582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23583
23584 fi
23585 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23586 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23587
23588 if test "$wx_cv_lib_stl" != yes; then
23589 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23590 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23591 { (exit 1); exit 1; }; }
23592 fi
23593
23594 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23595 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23596 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23597 echo $ECHO_N "(cached) $ECHO_C" >&6
23598 else
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 #include <string>
23606 int
23607 main ()
23608 {
23609 std::string foo, bar;
23610 foo.compare(bar);
23611 foo.compare(1, 1, bar);
23612 foo.compare(1, 1, bar, 1, 1);
23613 foo.compare("");
23614 foo.compare(1, 1, "");
23615 foo.compare(1, 1, "", 2);
23616 ;
23617 return 0;
23618 }
23619 _ACEOF
23620 rm -f conftest.$ac_objext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23622 (eval $ac_compile) 2>conftest.er1
23623 ac_status=$?
23624 grep -v '^ *+' conftest.er1 >conftest.err
23625 rm -f conftest.er1
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 wx_cv_func_stdstring_compare=yes
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 wx_cv_func_stdstring_compare=no
23647
23648 fi
23649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23650
23651 fi
23652 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23653 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23654
23655 if test "$wx_cv_func_stdstring_compare" = yes; then
23656 cat >>confdefs.h <<\_ACEOF
23657 #define HAVE_STD_STRING_COMPARE 1
23658 _ACEOF
23659
23660 fi
23661
23662 if test "${ac_cv_header_hash_map+set}" = set; then
23663 echo "$as_me:$LINENO: checking for hash_map" >&5
23664 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23665 if test "${ac_cv_header_hash_map+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 fi
23668 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23669 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23670 else
23671 # Is the header compilable?
23672 echo "$as_me:$LINENO: checking hash_map usability" >&5
23673 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23674 cat >conftest.$ac_ext <<_ACEOF
23675 /* confdefs.h. */
23676 _ACEOF
23677 cat confdefs.h >>conftest.$ac_ext
23678 cat >>conftest.$ac_ext <<_ACEOF
23679 /* end confdefs.h. */
23680 $ac_includes_default
23681 #include <hash_map>
23682 _ACEOF
23683 rm -f conftest.$ac_objext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23685 (eval $ac_compile) 2>conftest.er1
23686 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } &&
23692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694 (eval $ac_try) 2>&5
23695 ac_status=$?
23696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697 (exit $ac_status); }; } &&
23698 { ac_try='test -s conftest.$ac_objext'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23701 ac_status=$?
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; }; then
23704 ac_header_compiler=yes
23705 else
23706 echo "$as_me: failed program was:" >&5
23707 sed 's/^/| /' conftest.$ac_ext >&5
23708
23709 ac_header_compiler=no
23710 fi
23711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23713 echo "${ECHO_T}$ac_header_compiler" >&6
23714
23715 # Is the header present?
23716 echo "$as_me:$LINENO: checking hash_map presence" >&5
23717 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23718 cat >conftest.$ac_ext <<_ACEOF
23719 /* confdefs.h. */
23720 _ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 #include <hash_map>
23725 _ACEOF
23726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23728 ac_status=$?
23729 grep -v '^ *+' conftest.er1 >conftest.err
23730 rm -f conftest.er1
23731 cat conftest.err >&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } >/dev/null; then
23734 if test -s conftest.err; then
23735 ac_cpp_err=$ac_cxx_preproc_warn_flag
23736 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23737 else
23738 ac_cpp_err=
23739 fi
23740 else
23741 ac_cpp_err=yes
23742 fi
23743 if test -z "$ac_cpp_err"; then
23744 ac_header_preproc=yes
23745 else
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23748
23749 ac_header_preproc=no
23750 fi
23751 rm -f conftest.err conftest.$ac_ext
23752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23753 echo "${ECHO_T}$ac_header_preproc" >&6
23754
23755 # So? What about this header?
23756 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23757 yes:no: )
23758 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23759 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23760 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23761 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23762 ac_header_preproc=yes
23763 ;;
23764 no:yes:* )
23765 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23766 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23767 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23768 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23769 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23770 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23771 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23772 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23773 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23774 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23775 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23776 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23777 (
23778 cat <<\_ASBOX
23779 ## ----------------------------------------- ##
23780 ## Report this to wx-dev@lists.wxwidgets.org ##
23781 ## ----------------------------------------- ##
23782 _ASBOX
23783 ) |
23784 sed "s/^/$as_me: WARNING: /" >&2
23785 ;;
23786 esac
23787 echo "$as_me:$LINENO: checking for hash_map" >&5
23788 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23789 if test "${ac_cv_header_hash_map+set}" = set; then
23790 echo $ECHO_N "(cached) $ECHO_C" >&6
23791 else
23792 ac_cv_header_hash_map=$ac_header_preproc
23793 fi
23794 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23795 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23796
23797 fi
23798 if test $ac_cv_header_hash_map = yes; then
23799 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23800 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23801 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 else
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <hash_map>
23811 #include <hash_set>
23812 int
23813 main ()
23814 {
23815 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23816 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23817 ;
23818 return 0;
23819 }
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 wx_cv_class_stdhashmapset=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 wx_cv_class_stdhashmapset=no
23848 fi
23849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23850
23851
23852 fi
23853 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23854 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23855
23856 fi
23857
23858
23859
23860 if test "$wx_cv_class_stdhashmapset" = yes; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_HASH_MAP 1
23863 _ACEOF
23864
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_STD_HASH_MAP 1
23867 _ACEOF
23868
23869 fi
23870
23871 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23872 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23873 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23874 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23875 echo $ECHO_N "(cached) $ECHO_C" >&6
23876 fi
23877 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23878 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23879 else
23880 # Is the header compilable?
23881 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23882 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23883 cat >conftest.$ac_ext <<_ACEOF
23884 /* confdefs.h. */
23885 _ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889 $ac_includes_default
23890 #include <ext/hash_map>
23891 _ACEOF
23892 rm -f conftest.$ac_objext
23893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23894 (eval $ac_compile) 2>conftest.er1
23895 ac_status=$?
23896 grep -v '^ *+' conftest.er1 >conftest.err
23897 rm -f conftest.er1
23898 cat conftest.err >&5
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); } &&
23901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23904 ac_status=$?
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; } &&
23907 { ac_try='test -s conftest.$ac_objext'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; }; then
23913 ac_header_compiler=yes
23914 else
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.$ac_ext >&5
23917
23918 ac_header_compiler=no
23919 fi
23920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23922 echo "${ECHO_T}$ac_header_compiler" >&6
23923
23924 # Is the header present?
23925 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23926 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23927 cat >conftest.$ac_ext <<_ACEOF
23928 /* confdefs.h. */
23929 _ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #include <ext/hash_map>
23934 _ACEOF
23935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } >/dev/null; then
23943 if test -s conftest.err; then
23944 ac_cpp_err=$ac_cxx_preproc_warn_flag
23945 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23946 else
23947 ac_cpp_err=
23948 fi
23949 else
23950 ac_cpp_err=yes
23951 fi
23952 if test -z "$ac_cpp_err"; then
23953 ac_header_preproc=yes
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 ac_header_preproc=no
23959 fi
23960 rm -f conftest.err conftest.$ac_ext
23961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23962 echo "${ECHO_T}$ac_header_preproc" >&6
23963
23964 # So? What about this header?
23965 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23966 yes:no: )
23967 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23968 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23970 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23971 ac_header_preproc=yes
23972 ;;
23973 no:yes:* )
23974 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23975 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23976 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23977 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23978 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23979 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23980 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23981 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23982 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23983 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23984 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23985 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23986 (
23987 cat <<\_ASBOX
23988 ## ----------------------------------------- ##
23989 ## Report this to wx-dev@lists.wxwidgets.org ##
23990 ## ----------------------------------------- ##
23991 _ASBOX
23992 ) |
23993 sed "s/^/$as_me: WARNING: /" >&2
23994 ;;
23995 esac
23996 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23997 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23998 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 else
24001 ac_cv_header_ext_hash_map=$ac_header_preproc
24002 fi
24003 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24004 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24005
24006 fi
24007 if test $ac_cv_header_ext_hash_map = yes; then
24008 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24009 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24010 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 else
24013 cat >conftest.$ac_ext <<_ACEOF
24014 /* confdefs.h. */
24015 _ACEOF
24016 cat confdefs.h >>conftest.$ac_ext
24017 cat >>conftest.$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 #include <ext/hash_map>
24020 #include <ext/hash_set>
24021 int
24022 main ()
24023 {
24024 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24025 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 rm -f conftest.$ac_objext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24032 (eval $ac_compile) 2>conftest.er1
24033 ac_status=$?
24034 grep -v '^ *+' conftest.er1 >conftest.err
24035 rm -f conftest.er1
24036 cat conftest.err >&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24042 ac_status=$?
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; } &&
24045 { ac_try='test -s conftest.$ac_objext'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24048 ac_status=$?
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; }; then
24051 wx_cv_class_gnuhashmapset=yes
24052 else
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24055
24056 wx_cv_class_gnuhashmapset=no
24057 fi
24058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24059
24060
24061 fi
24062 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24063 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24064
24065 fi
24066
24067
24068
24069 if test "$wx_cv_class_gnuhashmapset" = yes; then
24070 cat >>confdefs.h <<\_ACEOF
24071 #define HAVE_EXT_HASH_MAP 1
24072 _ACEOF
24073
24074 cat >>confdefs.h <<\_ACEOF
24075 #define HAVE_GNU_CXX_HASH_MAP 1
24076 _ACEOF
24077
24078 fi
24079 fi
24080
24081 ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087
24088
24089 SEARCH_INCLUDE="\
24090 /usr/local/include \
24091 \
24092 /usr/Motif-2.1/include \
24093 /usr/Motif-1.2/include \
24094 /usr/include/Motif1.2 \
24095 \
24096 /usr/dt/include \
24097 /usr/openwin/include \
24098 \
24099 /usr/include/Xm \
24100 \
24101 /usr/X11R6/include \
24102 /usr/X11R6.4/include \
24103 /usr/X11R5/include \
24104 /usr/X11R4/include \
24105 \
24106 /usr/include/X11R6 \
24107 /usr/include/X11R5 \
24108 /usr/include/X11R4 \
24109 \
24110 /usr/local/X11R6/include \
24111 /usr/local/X11R5/include \
24112 /usr/local/X11R4/include \
24113 \
24114 /usr/local/include/X11R6 \
24115 /usr/local/include/X11R5 \
24116 /usr/local/include/X11R4 \
24117 \
24118 /usr/X11/include \
24119 /usr/include/X11 \
24120 /usr/local/X11/include \
24121 /usr/local/include/X11 \
24122 \
24123 /usr/XFree86/include/X11 \
24124 /usr/pkg/include \
24125 \
24126 /usr/openwin/share/include"
24127
24128 echo "$as_me:$LINENO: checking for libraries directory" >&5
24129 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24130
24131 case "${host}" in
24132 *-*-irix6* )
24133 if test "${wx_cv_std_libpath+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 else
24136
24137 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24138 for e in a so sl dylib dll.a; do
24139 libc="$d/libc.$e"
24140 if test -f $libc; then
24141 save_LIBS="$LIBS"
24142 LIBS="$libc"
24143 cat >conftest.$ac_ext <<_ACEOF
24144 int main() { return 0; }
24145 _ACEOF
24146 rm -f conftest.$ac_objext conftest$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>conftest.er1
24149 ac_status=$?
24150 grep -v '^ *+' conftest.er1 >conftest.err
24151 rm -f conftest.er1
24152 cat conftest.err >&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24158 ac_status=$?
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; } &&
24161 { ac_try='test -s conftest$ac_exeext'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24164 ac_status=$?
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; }; then
24167 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24168 else
24169 echo "$as_me: failed program was:" >&5
24170 sed 's/^/| /' conftest.$ac_ext >&5
24171
24172 fi
24173 rm -f conftest.err conftest.$ac_objext \
24174 conftest$ac_exeext conftest.$ac_ext
24175 LIBS="$save_LIBS"
24176 if test "x$wx_cv_std_libpath" != "x"; then
24177 break 2
24178 fi
24179 fi
24180 done
24181 done
24182 if test "x$wx_cv_std_libpath" = "x"; then
24183 wx_cv_std_libpath="lib"
24184 fi
24185
24186
24187 fi
24188
24189 ;;
24190
24191 *-*-solaris2* )
24192 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24193 wx_cv_std_libpath="lib/64"
24194 else
24195 wx_cv_std_libpath="lib"
24196 fi
24197 ;;
24198
24199 *-*-linux* )
24200 if test "$ac_cv_sizeof_void_p" = 8 -a \
24201 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24202 wx_cv_std_libpath="lib64"
24203 else
24204 wx_cv_std_libpath="lib"
24205 fi
24206 ;;
24207
24208 *)
24209 wx_cv_std_libpath="lib";
24210 ;;
24211 esac
24212
24213 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24214 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24215
24216 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24217
24218 if test "$build" != "$host" -a "$GCC" = yes; then
24219 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24220 cross_root=`dirname $cross_root`
24221 cross_root=`dirname $cross_root`
24222
24223 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24224 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24225 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24226
24227 if test -z "$PKG_CONFIG_PATH"; then
24228 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24229 export PKG_CONFIG_PATH
24230 fi
24231
24232 if test -z "$x_includes" -o "$x_includes" = NONE; then
24233
24234 ac_find_includes=
24235 for ac_dir in $SEARCH_INCLUDE /usr/include;
24236 do
24237 if test -f "$ac_dir/X11/Intrinsic.h"; then
24238 ac_find_includes=$ac_dir
24239 break
24240 fi
24241 done
24242
24243 x_includes=$ac_find_includes
24244 fi
24245 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24246
24247 ac_find_libraries=
24248 for ac_dir in $SEARCH_LIB;
24249 do
24250 for ac_extension in a so sl dylib dll.a; do
24251 if test -f "$ac_dir/libXt.$ac_extension"; then
24252 ac_find_libraries=$ac_dir
24253 break 2
24254 fi
24255 done
24256 done
24257
24258 x_libraries=$ac_find_libraries
24259 fi
24260 fi
24261 fi
24262
24263
24264 cat >confcache <<\_ACEOF
24265 # This file is a shell script that caches the results of configure
24266 # tests run on this system so they can be shared between configure
24267 # scripts and configure runs, see configure's option --config-cache.
24268 # It is not useful on other systems. If it contains results you don't
24269 # want to keep, you may remove or edit it.
24270 #
24271 # config.status only pays attention to the cache file if you give it
24272 # the --recheck option to rerun configure.
24273 #
24274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24276 # following values.
24277
24278 _ACEOF
24279
24280 # The following way of writing the cache mishandles newlines in values,
24281 # but we know of no workaround that is simple, portable, and efficient.
24282 # So, don't put newlines in cache variables' values.
24283 # Ultrix sh set writes to stderr and can't be redirected directly,
24284 # and sets the high bit in the cache file unless we assign to the vars.
24285 {
24286 (set) 2>&1 |
24287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24288 *ac_space=\ *)
24289 # `set' does not quote correctly, so add quotes (double-quote
24290 # substitution turns \\\\ into \\, and sed turns \\ into \).
24291 sed -n \
24292 "s/'/'\\\\''/g;
24293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24294 ;;
24295 *)
24296 # `set' quotes correctly as required by POSIX, so do not add quotes.
24297 sed -n \
24298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24299 ;;
24300 esac;
24301 } |
24302 sed '
24303 t clear
24304 : clear
24305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24306 t end
24307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24308 : end' >>confcache
24309 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24310 if test -w $cache_file; then
24311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24312 cat confcache >$cache_file
24313 else
24314 echo "not updating unwritable cache $cache_file"
24315 fi
24316 fi
24317 rm -f confcache
24318
24319 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24320 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24321 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24322 if test "${wx_cv_lib_glibc21+set}" = set; then
24323 echo $ECHO_N "(cached) $ECHO_C" >&6
24324 else
24325
24326 cat >conftest.$ac_ext <<_ACEOF
24327 /* confdefs.h. */
24328 _ACEOF
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24332 #include <features.h>
24333 int
24334 main ()
24335 {
24336
24337 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24338 not glibc 2.1
24339 #endif
24340
24341 ;
24342 return 0;
24343 }
24344 _ACEOF
24345 rm -f conftest.$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24357 ac_status=$?
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; } &&
24360 { ac_try='test -s conftest.$ac_objext'
24361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24362 (eval $ac_try) 2>&5
24363 ac_status=$?
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); }; }; then
24366
24367 wx_cv_lib_glibc21=yes
24368
24369 else
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373
24374 wx_cv_lib_glibc21=no
24375
24376
24377 fi
24378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24379
24380 fi
24381 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24382 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24383 if test "$wx_cv_lib_glibc21" = "yes"; then
24384 cat >>confdefs.h <<\_ACEOF
24385 #define wxHAVE_GLIBC2 1
24386 _ACEOF
24387
24388 fi
24389 fi
24390
24391 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24392 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24393 cat >>confdefs.h <<\_ACEOF
24394 #define _GNU_SOURCE 1
24395 _ACEOF
24396
24397 fi
24398 fi
24399
24400 have_cos=0
24401 have_floor=0
24402
24403 for ac_func in cos
24404 do
24405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24406 echo "$as_me:$LINENO: checking for $ac_func" >&5
24407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24408 if eval "test \"\${$as_ac_var+set}\" = set"; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 else
24411 cat >conftest.$ac_ext <<_ACEOF
24412 /* confdefs.h. */
24413 _ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24419 #define $ac_func innocuous_$ac_func
24420
24421 /* System header to define __stub macros and hopefully few prototypes,
24422 which can conflict with char $ac_func (); below.
24423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24424 <limits.h> exists even on freestanding compilers. */
24425
24426 #ifdef __STDC__
24427 # include <limits.h>
24428 #else
24429 # include <assert.h>
24430 #endif
24431
24432 #undef $ac_func
24433
24434 /* Override any gcc2 internal prototype to avoid an error. */
24435 #ifdef __cplusplus
24436 extern "C"
24437 {
24438 #endif
24439 /* We use char because int might match the return type of a gcc2
24440 builtin and then its argument prototype would still apply. */
24441 char $ac_func ();
24442 /* The GNU C library defines this for functions which it implements
24443 to always fail with ENOSYS. Some functions are actually named
24444 something starting with __ and the normal name is an alias. */
24445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24446 choke me
24447 #else
24448 char (*f) () = $ac_func;
24449 #endif
24450 #ifdef __cplusplus
24451 }
24452 #endif
24453
24454 int
24455 main ()
24456 {
24457 return f != $ac_func;
24458 ;
24459 return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext conftest$ac_exeext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24464 (eval $ac_link) 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try='test -s conftest$ac_exeext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24480 ac_status=$?
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 eval "$as_ac_var=yes"
24484 else
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24487
24488 eval "$as_ac_var=no"
24489 fi
24490 rm -f conftest.err conftest.$ac_objext \
24491 conftest$ac_exeext conftest.$ac_ext
24492 fi
24493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24495 if test `eval echo '${'$as_ac_var'}'` = yes; then
24496 cat >>confdefs.h <<_ACEOF
24497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24498 _ACEOF
24499 have_cos=1
24500 fi
24501 done
24502
24503
24504 for ac_func in floor
24505 do
24506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24507 echo "$as_me:$LINENO: checking for $ac_func" >&5
24508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24509 if eval "test \"\${$as_ac_var+set}\" = set"; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512 cat >conftest.$ac_ext <<_ACEOF
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24520 #define $ac_func innocuous_$ac_func
24521
24522 /* System header to define __stub macros and hopefully few prototypes,
24523 which can conflict with char $ac_func (); below.
24524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24525 <limits.h> exists even on freestanding compilers. */
24526
24527 #ifdef __STDC__
24528 # include <limits.h>
24529 #else
24530 # include <assert.h>
24531 #endif
24532
24533 #undef $ac_func
24534
24535 /* Override any gcc2 internal prototype to avoid an error. */
24536 #ifdef __cplusplus
24537 extern "C"
24538 {
24539 #endif
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24542 char $ac_func ();
24543 /* The GNU C library defines this for functions which it implements
24544 to always fail with ENOSYS. Some functions are actually named
24545 something starting with __ and the normal name is an alias. */
24546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24547 choke me
24548 #else
24549 char (*f) () = $ac_func;
24550 #endif
24551 #ifdef __cplusplus
24552 }
24553 #endif
24554
24555 int
24556 main ()
24557 {
24558 return f != $ac_func;
24559 ;
24560 return 0;
24561 }
24562 _ACEOF
24563 rm -f conftest.$ac_objext conftest$ac_exeext
24564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24565 (eval $ac_link) 2>conftest.er1
24566 ac_status=$?
24567 grep -v '^ *+' conftest.er1 >conftest.err
24568 rm -f conftest.er1
24569 cat conftest.err >&5
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); } &&
24572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24575 ac_status=$?
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; } &&
24578 { ac_try='test -s conftest$ac_exeext'
24579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24580 (eval $ac_try) 2>&5
24581 ac_status=$?
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); }; }; then
24584 eval "$as_ac_var=yes"
24585 else
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24588
24589 eval "$as_ac_var=no"
24590 fi
24591 rm -f conftest.err conftest.$ac_objext \
24592 conftest$ac_exeext conftest.$ac_ext
24593 fi
24594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24596 if test `eval echo '${'$as_ac_var'}'` = yes; then
24597 cat >>confdefs.h <<_ACEOF
24598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24599 _ACEOF
24600 have_floor=1
24601 fi
24602 done
24603
24604 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24605 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24606 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24607 echo "$as_me:$LINENO: result: yes" >&5
24608 echo "${ECHO_T}yes" >&6
24609 else
24610 echo "$as_me:$LINENO: result: no" >&5
24611 echo "${ECHO_T}no" >&6
24612 LIBS="$LIBS -lm"
24613 # use different functions to avoid configure caching
24614 have_sin=0
24615 have_ceil=0
24616
24617 for ac_func in sin
24618 do
24619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24620 echo "$as_me:$LINENO: checking for $ac_func" >&5
24621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24622 if eval "test \"\${$as_ac_var+set}\" = set"; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 else
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24633 #define $ac_func innocuous_$ac_func
24634
24635 /* System header to define __stub macros and hopefully few prototypes,
24636 which can conflict with char $ac_func (); below.
24637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24638 <limits.h> exists even on freestanding compilers. */
24639
24640 #ifdef __STDC__
24641 # include <limits.h>
24642 #else
24643 # include <assert.h>
24644 #endif
24645
24646 #undef $ac_func
24647
24648 /* Override any gcc2 internal prototype to avoid an error. */
24649 #ifdef __cplusplus
24650 extern "C"
24651 {
24652 #endif
24653 /* We use char because int might match the return type of a gcc2
24654 builtin and then its argument prototype would still apply. */
24655 char $ac_func ();
24656 /* The GNU C library defines this for functions which it implements
24657 to always fail with ENOSYS. Some functions are actually named
24658 something starting with __ and the normal name is an alias. */
24659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24660 choke me
24661 #else
24662 char (*f) () = $ac_func;
24663 #endif
24664 #ifdef __cplusplus
24665 }
24666 #endif
24667
24668 int
24669 main ()
24670 {
24671 return f != $ac_func;
24672 ;
24673 return 0;
24674 }
24675 _ACEOF
24676 rm -f conftest.$ac_objext conftest$ac_exeext
24677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24678 (eval $ac_link) 2>conftest.er1
24679 ac_status=$?
24680 grep -v '^ *+' conftest.er1 >conftest.err
24681 rm -f conftest.er1
24682 cat conftest.err >&5
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } &&
24685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24687 (eval $ac_try) 2>&5
24688 ac_status=$?
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); }; } &&
24691 { ac_try='test -s conftest$ac_exeext'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24694 ac_status=$?
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; }; then
24697 eval "$as_ac_var=yes"
24698 else
24699 echo "$as_me: failed program was:" >&5
24700 sed 's/^/| /' conftest.$ac_ext >&5
24701
24702 eval "$as_ac_var=no"
24703 fi
24704 rm -f conftest.err conftest.$ac_objext \
24705 conftest$ac_exeext conftest.$ac_ext
24706 fi
24707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24709 if test `eval echo '${'$as_ac_var'}'` = yes; then
24710 cat >>confdefs.h <<_ACEOF
24711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24712 _ACEOF
24713 have_sin=1
24714 fi
24715 done
24716
24717
24718 for ac_func in ceil
24719 do
24720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24721 echo "$as_me:$LINENO: checking for $ac_func" >&5
24722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24723 if eval "test \"\${$as_ac_var+set}\" = set"; then
24724 echo $ECHO_N "(cached) $ECHO_C" >&6
24725 else
24726 cat >conftest.$ac_ext <<_ACEOF
24727 /* confdefs.h. */
24728 _ACEOF
24729 cat confdefs.h >>conftest.$ac_ext
24730 cat >>conftest.$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24734 #define $ac_func innocuous_$ac_func
24735
24736 /* System header to define __stub macros and hopefully few prototypes,
24737 which can conflict with char $ac_func (); below.
24738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24739 <limits.h> exists even on freestanding compilers. */
24740
24741 #ifdef __STDC__
24742 # include <limits.h>
24743 #else
24744 # include <assert.h>
24745 #endif
24746
24747 #undef $ac_func
24748
24749 /* Override any gcc2 internal prototype to avoid an error. */
24750 #ifdef __cplusplus
24751 extern "C"
24752 {
24753 #endif
24754 /* We use char because int might match the return type of a gcc2
24755 builtin and then its argument prototype would still apply. */
24756 char $ac_func ();
24757 /* The GNU C library defines this for functions which it implements
24758 to always fail with ENOSYS. Some functions are actually named
24759 something starting with __ and the normal name is an alias. */
24760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24761 choke me
24762 #else
24763 char (*f) () = $ac_func;
24764 #endif
24765 #ifdef __cplusplus
24766 }
24767 #endif
24768
24769 int
24770 main ()
24771 {
24772 return f != $ac_func;
24773 ;
24774 return 0;
24775 }
24776 _ACEOF
24777 rm -f conftest.$ac_objext conftest$ac_exeext
24778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24779 (eval $ac_link) 2>conftest.er1
24780 ac_status=$?
24781 grep -v '^ *+' conftest.er1 >conftest.err
24782 rm -f conftest.er1
24783 cat conftest.err >&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); } &&
24786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24789 ac_status=$?
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; } &&
24792 { ac_try='test -s conftest$ac_exeext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24798 eval "$as_ac_var=yes"
24799 else
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24802
24803 eval "$as_ac_var=no"
24804 fi
24805 rm -f conftest.err conftest.$ac_objext \
24806 conftest$ac_exeext conftest.$ac_ext
24807 fi
24808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24810 if test `eval echo '${'$as_ac_var'}'` = yes; then
24811 cat >>confdefs.h <<_ACEOF
24812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24813 _ACEOF
24814 have_ceil=1
24815 fi
24816 done
24817
24818 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24821 echo "$as_me:$LINENO: result: yes" >&5
24822 echo "${ECHO_T}yes" >&6
24823 else
24824 echo "$as_me:$LINENO: result: no" >&5
24825 echo "${ECHO_T}no" >&6
24826 # not sure we should warn the user, crash, etc.
24827 fi
24828 fi
24829
24830 if test "wxUSE_UNICODE" = "yes"; then
24831
24832 for wx_func in wcstoull
24833 do
24834 echo "$as_me:$LINENO: checking for $wx_func" >&5
24835 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24836 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 else
24839
24840 cat >conftest.$ac_ext <<_ACEOF
24841
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847
24848
24849 $ac_includes_default
24850
24851 int
24852 main ()
24853 {
24854
24855 #ifndef $wx_func
24856 &$wx_func;
24857 #endif
24858
24859
24860 ;
24861 return 0;
24862 }
24863
24864 _ACEOF
24865 rm -f conftest.$ac_objext conftest$ac_exeext
24866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24867 (eval $ac_link) 2>conftest.er1
24868 ac_status=$?
24869 grep -v '^ *+' conftest.er1 >conftest.err
24870 rm -f conftest.er1
24871 cat conftest.err >&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); } &&
24874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24877 ac_status=$?
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; } &&
24880 { ac_try='test -s conftest$ac_exeext'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24883 ac_status=$?
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; }; then
24886 eval wx_cv_func_$wx_func=yes
24887 else
24888 echo "$as_me: failed program was:" >&5
24889 sed 's/^/| /' conftest.$ac_ext >&5
24890
24891 eval wx_cv_func_$wx_func=no
24892 fi
24893 rm -f conftest.err conftest.$ac_objext \
24894 conftest$ac_exeext conftest.$ac_ext
24895
24896 fi
24897 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24898 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24899
24900 if eval test \$wx_cv_func_$wx_func = yes
24901 then
24902 cat >>confdefs.h <<_ACEOF
24903 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24904 _ACEOF
24905
24906
24907 else
24908 :
24909
24910 fi
24911 done
24912
24913 else
24914
24915 for wx_func in strtoull
24916 do
24917 echo "$as_me:$LINENO: checking for $wx_func" >&5
24918 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24919 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24921 else
24922
24923 cat >conftest.$ac_ext <<_ACEOF
24924
24925 /* confdefs.h. */
24926 _ACEOF
24927 cat confdefs.h >>conftest.$ac_ext
24928 cat >>conftest.$ac_ext <<_ACEOF
24929 /* end confdefs.h. */
24930
24931
24932 $ac_includes_default
24933
24934 int
24935 main ()
24936 {
24937
24938 #ifndef $wx_func
24939 &$wx_func;
24940 #endif
24941
24942
24943 ;
24944 return 0;
24945 }
24946
24947 _ACEOF
24948 rm -f conftest.$ac_objext conftest$ac_exeext
24949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24950 (eval $ac_link) 2>conftest.er1
24951 ac_status=$?
24952 grep -v '^ *+' conftest.er1 >conftest.err
24953 rm -f conftest.er1
24954 cat conftest.err >&5
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); } &&
24957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959 (eval $ac_try) 2>&5
24960 ac_status=$?
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); }; } &&
24963 { ac_try='test -s conftest$ac_exeext'
24964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24965 (eval $ac_try) 2>&5
24966 ac_status=$?
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); }; }; then
24969 eval wx_cv_func_$wx_func=yes
24970 else
24971 echo "$as_me: failed program was:" >&5
24972 sed 's/^/| /' conftest.$ac_ext >&5
24973
24974 eval wx_cv_func_$wx_func=no
24975 fi
24976 rm -f conftest.err conftest.$ac_objext \
24977 conftest$ac_exeext conftest.$ac_ext
24978
24979 fi
24980 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24981 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24982
24983 if eval test \$wx_cv_func_$wx_func = yes
24984 then
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24987 _ACEOF
24988
24989
24990 else
24991 :
24992
24993 fi
24994 done
24995
24996 fi
24997
24998
24999
25000 if test "$wxUSE_REGEX" != "no"; then
25001 cat >>confdefs.h <<\_ACEOF
25002 #define wxUSE_REGEX 1
25003 _ACEOF
25004
25005
25006 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25007 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25008 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25009 wxUSE_REGEX=builtin
25010 fi
25011
25012 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25013 if test "${ac_cv_header_regex_h+set}" = set; then
25014 echo "$as_me:$LINENO: checking for regex.h" >&5
25015 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25016 if test "${ac_cv_header_regex_h+set}" = set; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 fi
25019 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25020 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25021 else
25022 # Is the header compilable?
25023 echo "$as_me:$LINENO: checking regex.h usability" >&5
25024 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h. */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 $ac_includes_default
25032 #include <regex.h>
25033 _ACEOF
25034 rm -f conftest.$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>conftest.er1
25037 ac_status=$?
25038 grep -v '^ *+' conftest.er1 >conftest.err
25039 rm -f conftest.er1
25040 cat conftest.err >&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); } &&
25043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25046 ac_status=$?
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try='test -s conftest.$ac_objext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25052 ac_status=$?
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_header_compiler=yes
25056 else
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.$ac_ext >&5
25059
25060 ac_header_compiler=no
25061 fi
25062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25064 echo "${ECHO_T}$ac_header_compiler" >&6
25065
25066 # Is the header present?
25067 echo "$as_me:$LINENO: checking regex.h presence" >&5
25068 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25069 cat >conftest.$ac_ext <<_ACEOF
25070 /* confdefs.h. */
25071 _ACEOF
25072 cat confdefs.h >>conftest.$ac_ext
25073 cat >>conftest.$ac_ext <<_ACEOF
25074 /* end confdefs.h. */
25075 #include <regex.h>
25076 _ACEOF
25077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25079 ac_status=$?
25080 grep -v '^ *+' conftest.er1 >conftest.err
25081 rm -f conftest.er1
25082 cat conftest.err >&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); } >/dev/null; then
25085 if test -s conftest.err; then
25086 ac_cpp_err=$ac_c_preproc_warn_flag
25087 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25088 else
25089 ac_cpp_err=
25090 fi
25091 else
25092 ac_cpp_err=yes
25093 fi
25094 if test -z "$ac_cpp_err"; then
25095 ac_header_preproc=yes
25096 else
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.$ac_ext >&5
25099
25100 ac_header_preproc=no
25101 fi
25102 rm -f conftest.err conftest.$ac_ext
25103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25104 echo "${ECHO_T}$ac_header_preproc" >&6
25105
25106 # So? What about this header?
25107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25108 yes:no: )
25109 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25110 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25111 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25112 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25113 ac_header_preproc=yes
25114 ;;
25115 no:yes:* )
25116 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25117 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25119 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25120 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25121 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25122 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25123 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25124 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25125 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25126 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25127 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25128 (
25129 cat <<\_ASBOX
25130 ## ----------------------------------------- ##
25131 ## Report this to wx-dev@lists.wxwidgets.org ##
25132 ## ----------------------------------------- ##
25133 _ASBOX
25134 ) |
25135 sed "s/^/$as_me: WARNING: /" >&2
25136 ;;
25137 esac
25138 echo "$as_me:$LINENO: checking for regex.h" >&5
25139 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25140 if test "${ac_cv_header_regex_h+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25143 ac_cv_header_regex_h=$ac_header_preproc
25144 fi
25145 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25146 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25147
25148 fi
25149 if test $ac_cv_header_regex_h = yes; then
25150
25151
25152 for ac_func in regcomp re_search
25153 do
25154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25155 echo "$as_me:$LINENO: checking for $ac_func" >&5
25156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25157 if eval "test \"\${$as_ac_var+set}\" = set"; then
25158 echo $ECHO_N "(cached) $ECHO_C" >&6
25159 else
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25168 #define $ac_func innocuous_$ac_func
25169
25170 /* System header to define __stub macros and hopefully few prototypes,
25171 which can conflict with char $ac_func (); below.
25172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25173 <limits.h> exists even on freestanding compilers. */
25174
25175 #ifdef __STDC__
25176 # include <limits.h>
25177 #else
25178 # include <assert.h>
25179 #endif
25180
25181 #undef $ac_func
25182
25183 /* Override any gcc2 internal prototype to avoid an error. */
25184 #ifdef __cplusplus
25185 extern "C"
25186 {
25187 #endif
25188 /* We use char because int might match the return type of a gcc2
25189 builtin and then its argument prototype would still apply. */
25190 char $ac_func ();
25191 /* The GNU C library defines this for functions which it implements
25192 to always fail with ENOSYS. Some functions are actually named
25193 something starting with __ and the normal name is an alias. */
25194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25195 choke me
25196 #else
25197 char (*f) () = $ac_func;
25198 #endif
25199 #ifdef __cplusplus
25200 }
25201 #endif
25202
25203 int
25204 main ()
25205 {
25206 return f != $ac_func;
25207 ;
25208 return 0;
25209 }
25210 _ACEOF
25211 rm -f conftest.$ac_objext conftest$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213 (eval $ac_link) 2>conftest.er1
25214 ac_status=$?
25215 grep -v '^ *+' conftest.er1 >conftest.err
25216 rm -f conftest.er1
25217 cat conftest.err >&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } &&
25220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25223 ac_status=$?
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; } &&
25226 { ac_try='test -s conftest$ac_exeext'
25227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228 (eval $ac_try) 2>&5
25229 ac_status=$?
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); }; }; then
25232 eval "$as_ac_var=yes"
25233 else
25234 echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.$ac_ext >&5
25236
25237 eval "$as_ac_var=no"
25238 fi
25239 rm -f conftest.err conftest.$ac_objext \
25240 conftest$ac_exeext conftest.$ac_ext
25241 fi
25242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25244 if test `eval echo '${'$as_ac_var'}'` = yes; then
25245 cat >>confdefs.h <<_ACEOF
25246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25247 _ACEOF
25248
25249 fi
25250 done
25251
25252 fi
25253
25254
25255
25256 if test "x$ac_cv_func_regcomp" != "xyes"; then
25257 if test "$wxUSE_REGEX" = "sys" ; then
25258 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25259 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25260 { (exit 1); exit 1; }; }
25261 else
25262 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25263 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25264 wxUSE_REGEX=builtin
25265 fi
25266 else
25267 wxUSE_REGEX=sys
25268 cat >>confdefs.h <<\_ACEOF
25269 #define WX_NO_REGEX_ADVANCED 1
25270 _ACEOF
25271
25272 fi
25273 fi
25274 fi
25275
25276
25277 ZLIB_LINK=
25278 if test "$wxUSE_ZLIB" != "no" ; then
25279 cat >>confdefs.h <<\_ACEOF
25280 #define wxUSE_ZLIB 1
25281 _ACEOF
25282
25283
25284 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25285 if test "$USE_DARWIN" = 1; then
25286 system_zlib_h_ok="yes"
25287 else
25288 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25289 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25290 if test "${ac_cv_header_zlib_h+set}" = set; then
25291 echo $ECHO_N "(cached) $ECHO_C" >&6
25292 else
25293 if test "$cross_compiling" = yes; then
25294 unset ac_cv_header_zlib_h
25295
25296 else
25297 cat >conftest.$ac_ext <<_ACEOF
25298 /* confdefs.h. */
25299 _ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303
25304 #include <zlib.h>
25305 #include <stdio.h>
25306
25307 int main()
25308 {
25309 FILE *f=fopen("conftestval", "w");
25310 if (!f) exit(1);
25311 fprintf(f, "%s",
25312 ZLIB_VERSION[0] == '1' &&
25313 (ZLIB_VERSION[2] > '1' ||
25314 (ZLIB_VERSION[2] == '1' &&
25315 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25316 exit(0);
25317 }
25318
25319 _ACEOF
25320 rm -f conftest$ac_exeext
25321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25322 (eval $ac_link) 2>&5
25323 ac_status=$?
25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25328 ac_status=$?
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_header_zlib_h=`cat conftestval`
25332 else
25333 echo "$as_me: program exited with status $ac_status" >&5
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.$ac_ext >&5
25336
25337 ( exit $ac_status )
25338 ac_cv_header_zlib_h=no
25339 fi
25340 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25341 fi
25342
25343 fi
25344 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25345 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25346 if test "${ac_cv_header_zlib_h+set}" = set; then
25347 echo "$as_me:$LINENO: checking for zlib.h" >&5
25348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25349 if test "${ac_cv_header_zlib_h+set}" = set; then
25350 echo $ECHO_N "(cached) $ECHO_C" >&6
25351 fi
25352 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25354 else
25355 # Is the header compilable?
25356 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25357 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25359 /* confdefs.h. */
25360 _ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364 $ac_includes_default
25365 #include <zlib.h>
25366 _ACEOF
25367 rm -f conftest.$ac_objext
25368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25369 (eval $ac_compile) 2>conftest.er1
25370 ac_status=$?
25371 grep -v '^ *+' conftest.er1 >conftest.err
25372 rm -f conftest.er1
25373 cat conftest.err >&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); } &&
25376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25378 (eval $ac_try) 2>&5
25379 ac_status=$?
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); }; } &&
25382 { ac_try='test -s conftest.$ac_objext'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; }; then
25388 ac_header_compiler=yes
25389 else
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.$ac_ext >&5
25392
25393 ac_header_compiler=no
25394 fi
25395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25397 echo "${ECHO_T}$ac_header_compiler" >&6
25398
25399 # Is the header present?
25400 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25401 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408 #include <zlib.h>
25409 _ACEOF
25410 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25411 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } >/dev/null; then
25418 if test -s conftest.err; then
25419 ac_cpp_err=$ac_c_preproc_warn_flag
25420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25421 else
25422 ac_cpp_err=
25423 fi
25424 else
25425 ac_cpp_err=yes
25426 fi
25427 if test -z "$ac_cpp_err"; then
25428 ac_header_preproc=yes
25429 else
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25432
25433 ac_header_preproc=no
25434 fi
25435 rm -f conftest.err conftest.$ac_ext
25436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25437 echo "${ECHO_T}$ac_header_preproc" >&6
25438
25439 # So? What about this header?
25440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25441 yes:no: )
25442 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25443 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25444 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25445 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25446 ac_header_preproc=yes
25447 ;;
25448 no:yes:* )
25449 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25450 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25452 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25453 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25454 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25455 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25456 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25458 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25460 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25461 (
25462 cat <<\_ASBOX
25463 ## ----------------------------------------- ##
25464 ## Report this to wx-dev@lists.wxwidgets.org ##
25465 ## ----------------------------------------- ##
25466 _ASBOX
25467 ) |
25468 sed "s/^/$as_me: WARNING: /" >&2
25469 ;;
25470 esac
25471 echo "$as_me:$LINENO: checking for zlib.h" >&5
25472 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25473 if test "${ac_cv_header_zlib_h+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 else
25476 ac_cv_header_zlib_h=$ac_header_preproc
25477 fi
25478 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25480
25481 fi
25482
25483
25484
25485 system_zlib_h_ok=$ac_cv_header_zlib_h
25486 fi
25487
25488 if test "$system_zlib_h_ok" = "yes"; then
25489 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25490 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25491 if test "${ac_cv_lib_z_deflate+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25494 ac_check_lib_save_LIBS=$LIBS
25495 LIBS="-lz $LIBS"
25496 cat >conftest.$ac_ext <<_ACEOF
25497 /* confdefs.h. */
25498 _ACEOF
25499 cat confdefs.h >>conftest.$ac_ext
25500 cat >>conftest.$ac_ext <<_ACEOF
25501 /* end confdefs.h. */
25502
25503 /* Override any gcc2 internal prototype to avoid an error. */
25504 #ifdef __cplusplus
25505 extern "C"
25506 #endif
25507 /* We use char because int might match the return type of a gcc2
25508 builtin and then its argument prototype would still apply. */
25509 char deflate ();
25510 int
25511 main ()
25512 {
25513 deflate ();
25514 ;
25515 return 0;
25516 }
25517 _ACEOF
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; } &&
25533 { ac_try='test -s conftest$ac_exeext'
25534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25535 (eval $ac_try) 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); }; }; then
25539 ac_cv_lib_z_deflate=yes
25540 else
25541 echo "$as_me: failed program was:" >&5
25542 sed 's/^/| /' conftest.$ac_ext >&5
25543
25544 ac_cv_lib_z_deflate=no
25545 fi
25546 rm -f conftest.err conftest.$ac_objext \
25547 conftest$ac_exeext conftest.$ac_ext
25548 LIBS=$ac_check_lib_save_LIBS
25549 fi
25550 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25552 if test $ac_cv_lib_z_deflate = yes; then
25553 ZLIB_LINK=" -lz"
25554 fi
25555
25556 fi
25557
25558 if test "x$ZLIB_LINK" = "x" ; then
25559 if test "$wxUSE_ZLIB" = "sys" ; then
25560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25562 { (exit 1); exit 1; }; }
25563 else
25564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25566 wxUSE_ZLIB=builtin
25567 fi
25568 else
25569 wxUSE_ZLIB=sys
25570 fi
25571 fi
25572 fi
25573
25574
25575 PNG_LINK=
25576 if test "$wxUSE_LIBPNG" != "no" ; then
25577 cat >>confdefs.h <<\_ACEOF
25578 #define wxUSE_LIBPNG 1
25579 _ACEOF
25580
25581
25582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25585 wxUSE_LIBPNG=sys
25586 fi
25587
25588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25591 wxUSE_LIBPNG=builtin
25592 fi
25593
25594 if test "$wxUSE_MGL" != 1 ; then
25595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25596 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25598 if test "${ac_cv_header_png_h+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601 if test "$cross_compiling" = yes; then
25602 unset ac_cv_header_png_h
25603
25604 else
25605 cat >conftest.$ac_ext <<_ACEOF
25606 /* confdefs.h. */
25607 _ACEOF
25608 cat confdefs.h >>conftest.$ac_ext
25609 cat >>conftest.$ac_ext <<_ACEOF
25610 /* end confdefs.h. */
25611
25612 #include <png.h>
25613 #include <stdio.h>
25614
25615 int main()
25616 {
25617 FILE *f=fopen("conftestval", "w");
25618 if (!f) exit(1);
25619 fprintf(f, "%s",
25620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25621 exit(0);
25622 }
25623
25624 _ACEOF
25625 rm -f conftest$ac_exeext
25626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25627 (eval $ac_link) 2>&5
25628 ac_status=$?
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25633 ac_status=$?
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_header_png_h=`cat conftestval`
25637 else
25638 echo "$as_me: program exited with status $ac_status" >&5
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.$ac_ext >&5
25641
25642 ( exit $ac_status )
25643 ac_cv_header_png_h=no
25644 fi
25645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25646 fi
25647
25648 fi
25649 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25650 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25651 if test "${ac_cv_header_png_h+set}" = set; then
25652 echo "$as_me:$LINENO: checking for png.h" >&5
25653 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25654 if test "${ac_cv_header_png_h+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25656 fi
25657 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25658 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25659 else
25660 # Is the header compilable?
25661 echo "$as_me:$LINENO: checking png.h usability" >&5
25662 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25663 cat >conftest.$ac_ext <<_ACEOF
25664 /* confdefs.h. */
25665 _ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 $ac_includes_default
25670 #include <png.h>
25671 _ACEOF
25672 rm -f conftest.$ac_objext
25673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25674 (eval $ac_compile) 2>conftest.er1
25675 ac_status=$?
25676 grep -v '^ *+' conftest.er1 >conftest.err
25677 rm -f conftest.er1
25678 cat conftest.err >&5
25679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25680 (exit $ac_status); } &&
25681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25683 (eval $ac_try) 2>&5
25684 ac_status=$?
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); }; } &&
25687 { ac_try='test -s conftest.$ac_objext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25690 ac_status=$?
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_header_compiler=yes
25694 else
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.$ac_ext >&5
25697
25698 ac_header_compiler=no
25699 fi
25700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25702 echo "${ECHO_T}$ac_header_compiler" >&6
25703
25704 # Is the header present?
25705 echo "$as_me:$LINENO: checking png.h presence" >&5
25706 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25707 cat >conftest.$ac_ext <<_ACEOF
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713 #include <png.h>
25714 _ACEOF
25715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25717 ac_status=$?
25718 grep -v '^ *+' conftest.er1 >conftest.err
25719 rm -f conftest.er1
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } >/dev/null; then
25723 if test -s conftest.err; then
25724 ac_cpp_err=$ac_c_preproc_warn_flag
25725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25726 else
25727 ac_cpp_err=
25728 fi
25729 else
25730 ac_cpp_err=yes
25731 fi
25732 if test -z "$ac_cpp_err"; then
25733 ac_header_preproc=yes
25734 else
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25737
25738 ac_header_preproc=no
25739 fi
25740 rm -f conftest.err conftest.$ac_ext
25741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25742 echo "${ECHO_T}$ac_header_preproc" >&6
25743
25744 # So? What about this header?
25745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25746 yes:no: )
25747 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25748 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25749 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25750 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25751 ac_header_preproc=yes
25752 ;;
25753 no:yes:* )
25754 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25755 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25756 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25757 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25758 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25759 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25760 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25761 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25762 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25763 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25765 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25766 (
25767 cat <<\_ASBOX
25768 ## ----------------------------------------- ##
25769 ## Report this to wx-dev@lists.wxwidgets.org ##
25770 ## ----------------------------------------- ##
25771 _ASBOX
25772 ) |
25773 sed "s/^/$as_me: WARNING: /" >&2
25774 ;;
25775 esac
25776 echo "$as_me:$LINENO: checking for png.h" >&5
25777 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25778 if test "${ac_cv_header_png_h+set}" = set; then
25779 echo $ECHO_N "(cached) $ECHO_C" >&6
25780 else
25781 ac_cv_header_png_h=$ac_header_preproc
25782 fi
25783 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25784 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25785
25786 fi
25787
25788
25789
25790 if test "$ac_cv_header_png_h" = "yes"; then
25791 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25792 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25793 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25794 echo $ECHO_N "(cached) $ECHO_C" >&6
25795 else
25796 ac_check_lib_save_LIBS=$LIBS
25797 LIBS="-lpng -lz -lm $LIBS"
25798 cat >conftest.$ac_ext <<_ACEOF
25799 /* confdefs.h. */
25800 _ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25804
25805 /* Override any gcc2 internal prototype to avoid an error. */
25806 #ifdef __cplusplus
25807 extern "C"
25808 #endif
25809 /* We use char because int might match the return type of a gcc2
25810 builtin and then its argument prototype would still apply. */
25811 char png_check_sig ();
25812 int
25813 main ()
25814 {
25815 png_check_sig ();
25816 ;
25817 return 0;
25818 }
25819 _ACEOF
25820 rm -f conftest.$ac_objext conftest$ac_exeext
25821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25822 (eval $ac_link) 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } &&
25829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25832 ac_status=$?
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; } &&
25835 { ac_try='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25838 ac_status=$?
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 ac_cv_lib_png_png_check_sig=yes
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 ac_cv_lib_png_png_check_sig=no
25847 fi
25848 rm -f conftest.err conftest.$ac_objext \
25849 conftest$ac_exeext conftest.$ac_ext
25850 LIBS=$ac_check_lib_save_LIBS
25851 fi
25852 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25853 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25854 if test $ac_cv_lib_png_png_check_sig = yes; then
25855 PNG_LINK=" -lpng -lz"
25856 fi
25857
25858 fi
25859
25860 if test "x$PNG_LINK" = "x" ; then
25861 if test "$wxUSE_LIBPNG" = "sys" ; then
25862 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25863 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25864 { (exit 1); exit 1; }; }
25865 else
25866 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25867 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25868 wxUSE_LIBPNG=builtin
25869 fi
25870 else
25871 wxUSE_LIBPNG=sys
25872 fi
25873 fi
25874 fi
25875
25876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25877 fi
25878
25879
25880 JPEG_LINK=
25881 if test "$wxUSE_LIBJPEG" != "no" ; then
25882 cat >>confdefs.h <<\_ACEOF
25883 #define wxUSE_LIBJPEG 1
25884 _ACEOF
25885
25886
25887 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25888 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25889 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25890 wxUSE_LIBJPEG=sys
25891 fi
25892
25893 if test "$wxUSE_MGL" != 1 ; then
25894 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25895 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25896 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25897 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25899 else
25900 cat >conftest.$ac_ext <<_ACEOF
25901 /* confdefs.h. */
25902 _ACEOF
25903 cat confdefs.h >>conftest.$ac_ext
25904 cat >>conftest.$ac_ext <<_ACEOF
25905 /* end confdefs.h. */
25906
25907 #undef HAVE_STDLIB_H
25908 #include <stdio.h>
25909 #include <jpeglib.h>
25910
25911 int
25912 main ()
25913 {
25914
25915
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 rm -f conftest.$ac_objext
25921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25922 (eval $ac_compile) 2>conftest.er1
25923 ac_status=$?
25924 grep -v '^ *+' conftest.er1 >conftest.err
25925 rm -f conftest.er1
25926 cat conftest.err >&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; } &&
25935 { ac_try='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941 ac_cv_header_jpeglib_h=yes
25942 else
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25945
25946 ac_cv_header_jpeglib_h=no
25947
25948 fi
25949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25950
25951 fi
25952
25953 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25955
25956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25957 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962 ac_check_lib_save_LIBS=$LIBS
25963 LIBS="-ljpeg $LIBS"
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970
25971 /* Override any gcc2 internal prototype to avoid an error. */
25972 #ifdef __cplusplus
25973 extern "C"
25974 #endif
25975 /* We use char because int might match the return type of a gcc2
25976 builtin and then its argument prototype would still apply. */
25977 char jpeg_read_header ();
25978 int
25979 main ()
25980 {
25981 jpeg_read_header ();
25982 ;
25983 return 0;
25984 }
25985 _ACEOF
25986 rm -f conftest.$ac_objext conftest$ac_exeext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25988 (eval $ac_link) 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997 (eval $ac_try) 2>&5
25998 ac_status=$?
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); }; } &&
26001 { ac_try='test -s conftest$ac_exeext'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; }; then
26007 ac_cv_lib_jpeg_jpeg_read_header=yes
26008 else
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26011
26012 ac_cv_lib_jpeg_jpeg_read_header=no
26013 fi
26014 rm -f conftest.err conftest.$ac_objext \
26015 conftest$ac_exeext conftest.$ac_ext
26016 LIBS=$ac_check_lib_save_LIBS
26017 fi
26018 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26019 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26020 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26021 JPEG_LINK=" -ljpeg"
26022 fi
26023
26024 fi
26025
26026 if test "x$JPEG_LINK" = "x" ; then
26027 if test "$wxUSE_LIBJPEG" = "sys" ; then
26028 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26029 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26030 { (exit 1); exit 1; }; }
26031 else
26032 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26033 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26034 wxUSE_LIBJPEG=builtin
26035 fi
26036 else
26037 wxUSE_LIBJPEG=sys
26038
26039 if test "$wxUSE_MSW" = 1; then
26040 echo "$as_me:$LINENO: checking for boolean" >&5
26041 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26042 if test "${ac_cv_type_boolean+set}" = set; then
26043 echo $ECHO_N "(cached) $ECHO_C" >&6
26044 else
26045 cat >conftest.$ac_ext <<_ACEOF
26046 /* confdefs.h. */
26047 _ACEOF
26048 cat confdefs.h >>conftest.$ac_ext
26049 cat >>conftest.$ac_ext <<_ACEOF
26050 /* end confdefs.h. */
26051 #include <windows.h>
26052
26053 int
26054 main ()
26055 {
26056 if ((boolean *) 0)
26057 return 0;
26058 if (sizeof (boolean))
26059 return 0;
26060 ;
26061 return 0;
26062 }
26063 _ACEOF
26064 rm -f conftest.$ac_objext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26066 (eval $ac_compile) 2>conftest.er1
26067 ac_status=$?
26068 grep -v '^ *+' conftest.er1 >conftest.err
26069 rm -f conftest.er1
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075 (eval $ac_try) 2>&5
26076 ac_status=$?
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); }; } &&
26079 { ac_try='test -s conftest.$ac_objext'
26080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081 (eval $ac_try) 2>&5
26082 ac_status=$?
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); }; }; then
26085 ac_cv_type_boolean=yes
26086 else
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.$ac_ext >&5
26089
26090 ac_cv_type_boolean=no
26091 fi
26092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26093 fi
26094 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26095 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26096 if test $ac_cv_type_boolean = yes; then
26097
26098 cat >>confdefs.h <<_ACEOF
26099 #define HAVE_BOOLEAN 1
26100 _ACEOF
26101
26102
26103 echo "$as_me:$LINENO: checking for boolean" >&5
26104 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26105 if test "${ac_cv_type_boolean+set}" = set; then
26106 echo $ECHO_N "(cached) $ECHO_C" >&6
26107 else
26108 cat >conftest.$ac_ext <<_ACEOF
26109 /* confdefs.h. */
26110 _ACEOF
26111 cat confdefs.h >>conftest.$ac_ext
26112 cat >>conftest.$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26114
26115 #undef HAVE_BOOLEAN
26116 #include <stdio.h>
26117 #include <jpeglib.h>
26118
26119
26120 int
26121 main ()
26122 {
26123 if ((boolean *) 0)
26124 return 0;
26125 if (sizeof (boolean))
26126 return 0;
26127 ;
26128 return 0;
26129 }
26130 _ACEOF
26131 rm -f conftest.$ac_objext
26132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26133 (eval $ac_compile) 2>conftest.er1
26134 ac_status=$?
26135 grep -v '^ *+' conftest.er1 >conftest.err
26136 rm -f conftest.er1
26137 cat conftest.err >&5
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); } &&
26140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try='test -s conftest.$ac_objext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_type_boolean=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 ac_cv_type_boolean=no
26158 fi
26159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26160 fi
26161 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26162 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26163
26164 echo "$as_me:$LINENO: checking size of boolean" >&5
26165 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
26166 if test "${ac_cv_sizeof_boolean+set}" = set; then
26167 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 else
26169 if test "$ac_cv_type_boolean" = yes; then
26170 # The cast to unsigned long works around a bug in the HP C Compiler
26171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26173 # This bug is HP SR number 8606223364.
26174 if test "$cross_compiling" = yes; then
26175 # Depending upon the size, compute the lo and hi bounds.
26176 cat >conftest.$ac_ext <<_ACEOF
26177 /* confdefs.h. */
26178 _ACEOF
26179 cat confdefs.h >>conftest.$ac_ext
26180 cat >>conftest.$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182
26183 #undef HAVE_BOOLEAN
26184 #include <stdio.h>
26185 #include <jpeglib.h>
26186
26187
26188 int
26189 main ()
26190 {
26191 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
26192 test_array [0] = 0
26193
26194 ;
26195 return 0;
26196 }
26197 _ACEOF
26198 rm -f conftest.$ac_objext
26199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26200 (eval $ac_compile) 2>conftest.er1
26201 ac_status=$?
26202 grep -v '^ *+' conftest.er1 >conftest.err
26203 rm -f conftest.er1
26204 cat conftest.err >&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try='test -s conftest.$ac_objext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_lo=0 ac_mid=0
26220 while :; do
26221 cat >conftest.$ac_ext <<_ACEOF
26222 /* confdefs.h. */
26223 _ACEOF
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26227
26228 #undef HAVE_BOOLEAN
26229 #include <stdio.h>
26230 #include <jpeglib.h>
26231
26232
26233 int
26234 main ()
26235 {
26236 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26237 test_array [0] = 0
26238
26239 ;
26240 return 0;
26241 }
26242 _ACEOF
26243 rm -f conftest.$ac_objext
26244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26245 (eval $ac_compile) 2>conftest.er1
26246 ac_status=$?
26247 grep -v '^ *+' conftest.er1 >conftest.err
26248 rm -f conftest.er1
26249 cat conftest.err >&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try='test -s conftest.$ac_objext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26261 ac_status=$?
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 ac_hi=$ac_mid; break
26265 else
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26268
26269 ac_lo=`expr $ac_mid + 1`
26270 if test $ac_lo -le $ac_mid; then
26271 ac_lo= ac_hi=
26272 break
26273 fi
26274 ac_mid=`expr 2 '*' $ac_mid + 1`
26275 fi
26276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26277 done
26278 else
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26281
26282 cat >conftest.$ac_ext <<_ACEOF
26283 /* confdefs.h. */
26284 _ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26288
26289 #undef HAVE_BOOLEAN
26290 #include <stdio.h>
26291 #include <jpeglib.h>
26292
26293
26294 int
26295 main ()
26296 {
26297 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
26298 test_array [0] = 0
26299
26300 ;
26301 return 0;
26302 }
26303 _ACEOF
26304 rm -f conftest.$ac_objext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26306 (eval $ac_compile) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try='test -s conftest.$ac_objext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_hi=-1 ac_mid=-1
26326 while :; do
26327 cat >conftest.$ac_ext <<_ACEOF
26328 /* confdefs.h. */
26329 _ACEOF
26330 cat confdefs.h >>conftest.$ac_ext
26331 cat >>conftest.$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26333
26334 #undef HAVE_BOOLEAN
26335 #include <stdio.h>
26336 #include <jpeglib.h>
26337
26338
26339 int
26340 main ()
26341 {
26342 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
26343 test_array [0] = 0
26344
26345 ;
26346 return 0;
26347 }
26348 _ACEOF
26349 rm -f conftest.$ac_objext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26351 (eval $ac_compile) 2>conftest.er1
26352 ac_status=$?
26353 grep -v '^ *+' conftest.er1 >conftest.err
26354 rm -f conftest.er1
26355 cat conftest.err >&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26360 (eval $ac_try) 2>&5
26361 ac_status=$?
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); }; } &&
26364 { ac_try='test -s conftest.$ac_objext'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26367 ac_status=$?
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; }; then
26370 ac_lo=$ac_mid; break
26371 else
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26374
26375 ac_hi=`expr '(' $ac_mid ')' - 1`
26376 if test $ac_mid -le $ac_hi; then
26377 ac_lo= ac_hi=
26378 break
26379 fi
26380 ac_mid=`expr 2 '*' $ac_mid`
26381 fi
26382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26383 done
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26387
26388 ac_lo= ac_hi=
26389 fi
26390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26391 fi
26392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26393 # Binary search between lo and hi bounds.
26394 while test "x$ac_lo" != "x$ac_hi"; do
26395 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26396 cat >conftest.$ac_ext <<_ACEOF
26397 /* confdefs.h. */
26398 _ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26402
26403 #undef HAVE_BOOLEAN
26404 #include <stdio.h>
26405 #include <jpeglib.h>
26406
26407
26408 int
26409 main ()
26410 {
26411 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26412 test_array [0] = 0
26413
26414 ;
26415 return 0;
26416 }
26417 _ACEOF
26418 rm -f conftest.$ac_objext
26419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26420 (eval $ac_compile) 2>conftest.er1
26421 ac_status=$?
26422 grep -v '^ *+' conftest.er1 >conftest.err
26423 rm -f conftest.er1
26424 cat conftest.err >&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); } &&
26427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26430 ac_status=$?
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; } &&
26433 { ac_try='test -s conftest.$ac_objext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26436 ac_status=$?
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26439 ac_hi=$ac_mid
26440 else
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.$ac_ext >&5
26443
26444 ac_lo=`expr '(' $ac_mid ')' + 1`
26445 fi
26446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26447 done
26448 case $ac_lo in
26449 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26450 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26451 See \`config.log' for more details." >&5
26452 echo "$as_me: error: cannot compute sizeof (boolean), 77
26453 See \`config.log' for more details." >&2;}
26454 { (exit 1); exit 1; }; } ;;
26455 esac
26456 else
26457 if test "$cross_compiling" = yes; then
26458 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26459 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26460 { (exit 1); exit 1; }; }
26461 else
26462 cat >conftest.$ac_ext <<_ACEOF
26463 /* confdefs.h. */
26464 _ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26468
26469 #undef HAVE_BOOLEAN
26470 #include <stdio.h>
26471 #include <jpeglib.h>
26472
26473
26474 long longval () { return (long) (sizeof (boolean)); }
26475 unsigned long ulongval () { return (long) (sizeof (boolean)); }
26476 #include <stdio.h>
26477 #include <stdlib.h>
26478 int
26479 main ()
26480 {
26481
26482 FILE *f = fopen ("conftest.val", "w");
26483 if (! f)
26484 exit (1);
26485 if (((long) (sizeof (boolean))) < 0)
26486 {
26487 long i = longval ();
26488 if (i != ((long) (sizeof (boolean))))
26489 exit (1);
26490 fprintf (f, "%ld\n", i);
26491 }
26492 else
26493 {
26494 unsigned long i = ulongval ();
26495 if (i != ((long) (sizeof (boolean))))
26496 exit (1);
26497 fprintf (f, "%lu\n", i);
26498 }
26499 exit (ferror (f) || fclose (f) != 0);
26500
26501 ;
26502 return 0;
26503 }
26504 _ACEOF
26505 rm -f conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>&5
26508 ac_status=$?
26509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_sizeof_boolean=`cat conftest.val`
26517 else
26518 echo "$as_me: program exited with status $ac_status" >&5
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26521
26522 ( exit $ac_status )
26523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26524 See \`config.log' for more details." >&5
26525 echo "$as_me: error: cannot compute sizeof (boolean), 77
26526 See \`config.log' for more details." >&2;}
26527 { (exit 1); exit 1; }; }
26528 fi
26529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26530 fi
26531 fi
26532 rm -f conftest.val
26533 else
26534 ac_cv_sizeof_boolean=0
26535 fi
26536 fi
26537 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26538 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
26539 cat >>confdefs.h <<_ACEOF
26540 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26541 _ACEOF
26542
26543
26544 cat >>confdefs.h <<_ACEOF
26545 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26546 _ACEOF
26547
26548
26549 fi
26550
26551 fi
26552 fi
26553 fi
26554 fi
26555 fi
26556
26557
26558 TIFF_LINK=
26559 TIFF_PREREQ_LINKS=-lm
26560 if test "$wxUSE_LIBTIFF" != "no" ; then
26561 cat >>confdefs.h <<\_ACEOF
26562 #define wxUSE_LIBTIFF 1
26563 _ACEOF
26564
26565
26566 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26567 if test "$wxUSE_LIBJPEG" = "sys"; then
26568 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26569 fi
26570 if test "$wxUSE_ZLIB" = "sys"; then
26571 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26572 fi
26573 if test "${ac_cv_header_tiffio_h+set}" = set; then
26574 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26575 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26576 if test "${ac_cv_header_tiffio_h+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26578 fi
26579 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26580 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26581 else
26582 # Is the header compilable?
26583 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26584 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26585 cat >conftest.$ac_ext <<_ACEOF
26586 /* confdefs.h. */
26587 _ACEOF
26588 cat confdefs.h >>conftest.$ac_ext
26589 cat >>conftest.$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 $ac_includes_default
26592 #include <tiffio.h>
26593 _ACEOF
26594 rm -f conftest.$ac_objext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26596 (eval $ac_compile) 2>conftest.er1
26597 ac_status=$?
26598 grep -v '^ *+' conftest.er1 >conftest.err
26599 rm -f conftest.er1
26600 cat conftest.err >&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } &&
26603 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; } &&
26609 { ac_try='test -s conftest.$ac_objext'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; }; then
26615 ac_header_compiler=yes
26616 else
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26619
26620 ac_header_compiler=no
26621 fi
26622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26624 echo "${ECHO_T}$ac_header_compiler" >&6
26625
26626 # Is the header present?
26627 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26628 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26629 cat >conftest.$ac_ext <<_ACEOF
26630 /* confdefs.h. */
26631 _ACEOF
26632 cat confdefs.h >>conftest.$ac_ext
26633 cat >>conftest.$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26635 #include <tiffio.h>
26636 _ACEOF
26637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26639 ac_status=$?
26640 grep -v '^ *+' conftest.er1 >conftest.err
26641 rm -f conftest.er1
26642 cat conftest.err >&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } >/dev/null; then
26645 if test -s conftest.err; then
26646 ac_cpp_err=$ac_c_preproc_warn_flag
26647 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26648 else
26649 ac_cpp_err=
26650 fi
26651 else
26652 ac_cpp_err=yes
26653 fi
26654 if test -z "$ac_cpp_err"; then
26655 ac_header_preproc=yes
26656 else
26657 echo "$as_me: failed program was:" >&5
26658 sed 's/^/| /' conftest.$ac_ext >&5
26659
26660 ac_header_preproc=no
26661 fi
26662 rm -f conftest.err conftest.$ac_ext
26663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26664 echo "${ECHO_T}$ac_header_preproc" >&6
26665
26666 # So? What about this header?
26667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26668 yes:no: )
26669 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26670 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26672 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26673 ac_header_preproc=yes
26674 ;;
26675 no:yes:* )
26676 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26677 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26678 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26679 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26680 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26681 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26682 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26683 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26684 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26685 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26686 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26687 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26688 (
26689 cat <<\_ASBOX
26690 ## ----------------------------------------- ##
26691 ## Report this to wx-dev@lists.wxwidgets.org ##
26692 ## ----------------------------------------- ##
26693 _ASBOX
26694 ) |
26695 sed "s/^/$as_me: WARNING: /" >&2
26696 ;;
26697 esac
26698 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26699 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26700 if test "${ac_cv_header_tiffio_h+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 ac_cv_header_tiffio_h=$ac_header_preproc
26704 fi
26705 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26706 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26707
26708 fi
26709 if test $ac_cv_header_tiffio_h = yes; then
26710
26711 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26712 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26713 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26714 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 else
26716 ac_check_lib_save_LIBS=$LIBS
26717 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26718 cat >conftest.$ac_ext <<_ACEOF
26719 /* confdefs.h. */
26720 _ACEOF
26721 cat confdefs.h >>conftest.$ac_ext
26722 cat >>conftest.$ac_ext <<_ACEOF
26723 /* end confdefs.h. */
26724
26725 /* Override any gcc2 internal prototype to avoid an error. */
26726 #ifdef __cplusplus
26727 extern "C"
26728 #endif
26729 /* We use char because int might match the return type of a gcc2
26730 builtin and then its argument prototype would still apply. */
26731 char TIFFError ();
26732 int
26733 main ()
26734 {
26735 TIFFError ();
26736 ;
26737 return 0;
26738 }
26739 _ACEOF
26740 rm -f conftest.$ac_objext conftest$ac_exeext
26741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26742 (eval $ac_link) 2>conftest.er1
26743 ac_status=$?
26744 grep -v '^ *+' conftest.er1 >conftest.err
26745 rm -f conftest.er1
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } &&
26749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751 (eval $ac_try) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); }; } &&
26755 { ac_try='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26758 ac_status=$?
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 ac_cv_lib_tiff_TIFFError=yes
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766 ac_cv_lib_tiff_TIFFError=no
26767 fi
26768 rm -f conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770 LIBS=$ac_check_lib_save_LIBS
26771 fi
26772 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26773 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26774 if test $ac_cv_lib_tiff_TIFFError = yes; then
26775 TIFF_LINK=" -ltiff"
26776 fi
26777
26778
26779
26780 fi
26781
26782
26783
26784 if test "x$TIFF_LINK" = "x" ; then
26785 if test "$wxUSE_LIBTIFF" = "sys" ; then
26786 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26787 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26788 { (exit 1); exit 1; }; }
26789 else
26790 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26791 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26792 wxUSE_LIBTIFF=builtin
26793 fi
26794 else
26795 wxUSE_LIBTIFF=sys
26796 fi
26797 fi
26798 fi
26799
26800
26801 if test "$wxUSE_WCHAR_T" != "yes"; then
26802 if test "$wxUSE_EXPAT" != "no"; then
26803 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26804 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26805 wxUSE_EXPAT=no
26806 fi
26807 if test "$wxUSE_XML" != "no"; then
26808 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26809 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26810 wxUSE_XML=no
26811 fi
26812 fi
26813
26814 if test "$wxUSE_EXPAT" != "no"; then
26815 wxUSE_XML=yes
26816 cat >>confdefs.h <<\_ACEOF
26817 #define wxUSE_EXPAT 1
26818 _ACEOF
26819
26820 cat >>confdefs.h <<\_ACEOF
26821 #define wxUSE_XML 1
26822 _ACEOF
26823
26824
26825 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26826 if test "${ac_cv_header_expat_h+set}" = set; then
26827 echo "$as_me:$LINENO: checking for expat.h" >&5
26828 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26829 if test "${ac_cv_header_expat_h+set}" = set; then
26830 echo $ECHO_N "(cached) $ECHO_C" >&6
26831 fi
26832 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26833 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26834 else
26835 # Is the header compilable?
26836 echo "$as_me:$LINENO: checking expat.h usability" >&5
26837 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26838 cat >conftest.$ac_ext <<_ACEOF
26839 /* confdefs.h. */
26840 _ACEOF
26841 cat confdefs.h >>conftest.$ac_ext
26842 cat >>conftest.$ac_ext <<_ACEOF
26843 /* end confdefs.h. */
26844 $ac_includes_default
26845 #include <expat.h>
26846 _ACEOF
26847 rm -f conftest.$ac_objext
26848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26849 (eval $ac_compile) 2>conftest.er1
26850 ac_status=$?
26851 grep -v '^ *+' conftest.er1 >conftest.err
26852 rm -f conftest.er1
26853 cat conftest.err >&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); } &&
26856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26859 ac_status=$?
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; } &&
26862 { ac_try='test -s conftest.$ac_objext'
26863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26864 (eval $ac_try) 2>&5
26865 ac_status=$?
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); }; }; then
26868 ac_header_compiler=yes
26869 else
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.$ac_ext >&5
26872
26873 ac_header_compiler=no
26874 fi
26875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26877 echo "${ECHO_T}$ac_header_compiler" >&6
26878
26879 # Is the header present?
26880 echo "$as_me:$LINENO: checking expat.h presence" >&5
26881 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26882 cat >conftest.$ac_ext <<_ACEOF
26883 /* confdefs.h. */
26884 _ACEOF
26885 cat confdefs.h >>conftest.$ac_ext
26886 cat >>conftest.$ac_ext <<_ACEOF
26887 /* end confdefs.h. */
26888 #include <expat.h>
26889 _ACEOF
26890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26892 ac_status=$?
26893 grep -v '^ *+' conftest.er1 >conftest.err
26894 rm -f conftest.er1
26895 cat conftest.err >&5
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); } >/dev/null; then
26898 if test -s conftest.err; then
26899 ac_cpp_err=$ac_c_preproc_warn_flag
26900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26901 else
26902 ac_cpp_err=
26903 fi
26904 else
26905 ac_cpp_err=yes
26906 fi
26907 if test -z "$ac_cpp_err"; then
26908 ac_header_preproc=yes
26909 else
26910 echo "$as_me: failed program was:" >&5
26911 sed 's/^/| /' conftest.$ac_ext >&5
26912
26913 ac_header_preproc=no
26914 fi
26915 rm -f conftest.err conftest.$ac_ext
26916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26917 echo "${ECHO_T}$ac_header_preproc" >&6
26918
26919 # So? What about this header?
26920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26921 yes:no: )
26922 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26923 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26925 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26926 ac_header_preproc=yes
26927 ;;
26928 no:yes:* )
26929 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26930 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26931 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26932 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26933 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26934 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26935 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26936 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26937 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26938 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26939 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26940 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26941 (
26942 cat <<\_ASBOX
26943 ## ----------------------------------------- ##
26944 ## Report this to wx-dev@lists.wxwidgets.org ##
26945 ## ----------------------------------------- ##
26946 _ASBOX
26947 ) |
26948 sed "s/^/$as_me: WARNING: /" >&2
26949 ;;
26950 esac
26951 echo "$as_me:$LINENO: checking for expat.h" >&5
26952 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26953 if test "${ac_cv_header_expat_h+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 else
26956 ac_cv_header_expat_h=$ac_header_preproc
26957 fi
26958 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26959 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26960
26961 fi
26962 if test $ac_cv_header_expat_h = yes; then
26963 found_expat_h=1
26964 fi
26965
26966
26967 if test "x$found_expat_h" = "x1"; then
26968 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26969 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26970 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26971 echo $ECHO_N "(cached) $ECHO_C" >&6
26972 else
26973
26974 ac_ext=cc
26975 ac_cpp='$CXXCPP $CPPFLAGS'
26976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26979
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 #include <expat.h>
26987 int
26988 main ()
26989 {
26990
26991 ;
26992 return 0;
26993 }
26994 _ACEOF
26995 rm -f conftest.$ac_objext
26996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26997 (eval $ac_compile) 2>conftest.er1
26998 ac_status=$?
26999 grep -v '^ *+' conftest.er1 >conftest.err
27000 rm -f conftest.er1
27001 cat conftest.err >&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); } &&
27004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; } &&
27010 { ac_try='test -s conftest.$ac_objext'
27011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27012 (eval $ac_try) 2>&5
27013 ac_status=$?
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); }; }; then
27016 wx_cv_expat_is_not_broken=yes
27017 else
27018 echo "$as_me: failed program was:" >&5
27019 sed 's/^/| /' conftest.$ac_ext >&5
27020
27021 wx_cv_expat_is_not_broken=no
27022
27023 fi
27024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27025 ac_ext=c
27026 ac_cpp='$CPP $CPPFLAGS'
27027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27030
27031
27032
27033 fi
27034 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27035 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27036 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27037 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27038 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27039 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27040 echo $ECHO_N "(cached) $ECHO_C" >&6
27041 else
27042 ac_check_lib_save_LIBS=$LIBS
27043 LIBS="-lexpat $LIBS"
27044 cat >conftest.$ac_ext <<_ACEOF
27045 /* confdefs.h. */
27046 _ACEOF
27047 cat confdefs.h >>conftest.$ac_ext
27048 cat >>conftest.$ac_ext <<_ACEOF
27049 /* end confdefs.h. */
27050
27051 /* Override any gcc2 internal prototype to avoid an error. */
27052 #ifdef __cplusplus
27053 extern "C"
27054 #endif
27055 /* We use char because int might match the return type of a gcc2
27056 builtin and then its argument prototype would still apply. */
27057 char XML_ParserCreate ();
27058 int
27059 main ()
27060 {
27061 XML_ParserCreate ();
27062 ;
27063 return 0;
27064 }
27065 _ACEOF
27066 rm -f conftest.$ac_objext conftest$ac_exeext
27067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27068 (eval $ac_link) 2>conftest.er1
27069 ac_status=$?
27070 grep -v '^ *+' conftest.er1 >conftest.err
27071 rm -f conftest.er1
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } &&
27075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27078 ac_status=$?
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; } &&
27081 { ac_try='test -s conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 ac_cv_lib_expat_XML_ParserCreate=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_lib_expat_XML_ParserCreate=no
27093 fi
27094 rm -f conftest.err conftest.$ac_objext \
27095 conftest$ac_exeext conftest.$ac_ext
27096 LIBS=$ac_check_lib_save_LIBS
27097 fi
27098 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27099 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27100 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27101 EXPAT_LINK=" -lexpat"
27102 fi
27103
27104 fi
27105 fi
27106 if test "x$EXPAT_LINK" = "x" ; then
27107 if test "$wxUSE_EXPAT" = "sys" ; then
27108 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27109 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27110 { (exit 1); exit 1; }; }
27111 else
27112 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27113 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27114 wxUSE_EXPAT=builtin
27115 fi
27116 else
27117 wxUSE_EXPAT=sys
27118 fi
27119 fi
27120 if test "$wxUSE_EXPAT" = "builtin" ; then
27121
27122
27123 subdirs="$subdirs src/expat"
27124
27125 fi
27126 fi
27127
27128
27129
27130 if test "$wxUSE_LIBMSPACK" != "no"; then
27131 if test "${ac_cv_header_mspack_h+set}" = set; then
27132 echo "$as_me:$LINENO: checking for mspack.h" >&5
27133 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27134 if test "${ac_cv_header_mspack_h+set}" = set; then
27135 echo $ECHO_N "(cached) $ECHO_C" >&6
27136 fi
27137 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27138 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27139 else
27140 # Is the header compilable?
27141 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27142 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27143 cat >conftest.$ac_ext <<_ACEOF
27144 /* confdefs.h. */
27145 _ACEOF
27146 cat confdefs.h >>conftest.$ac_ext
27147 cat >>conftest.$ac_ext <<_ACEOF
27148 /* end confdefs.h. */
27149 $ac_includes_default
27150 #include <mspack.h>
27151 _ACEOF
27152 rm -f conftest.$ac_objext
27153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27154 (eval $ac_compile) 2>conftest.er1
27155 ac_status=$?
27156 grep -v '^ *+' conftest.er1 >conftest.err
27157 rm -f conftest.er1
27158 cat conftest.err >&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); } &&
27161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27163 (eval $ac_try) 2>&5
27164 ac_status=$?
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); }; } &&
27167 { ac_try='test -s conftest.$ac_objext'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27170 ac_status=$?
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; }; then
27173 ac_header_compiler=yes
27174 else
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.$ac_ext >&5
27177
27178 ac_header_compiler=no
27179 fi
27180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27182 echo "${ECHO_T}$ac_header_compiler" >&6
27183
27184 # Is the header present?
27185 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27186 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27187 cat >conftest.$ac_ext <<_ACEOF
27188 /* confdefs.h. */
27189 _ACEOF
27190 cat confdefs.h >>conftest.$ac_ext
27191 cat >>conftest.$ac_ext <<_ACEOF
27192 /* end confdefs.h. */
27193 #include <mspack.h>
27194 _ACEOF
27195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } >/dev/null; then
27203 if test -s conftest.err; then
27204 ac_cpp_err=$ac_c_preproc_warn_flag
27205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27206 else
27207 ac_cpp_err=
27208 fi
27209 else
27210 ac_cpp_err=yes
27211 fi
27212 if test -z "$ac_cpp_err"; then
27213 ac_header_preproc=yes
27214 else
27215 echo "$as_me: failed program was:" >&5
27216 sed 's/^/| /' conftest.$ac_ext >&5
27217
27218 ac_header_preproc=no
27219 fi
27220 rm -f conftest.err conftest.$ac_ext
27221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27222 echo "${ECHO_T}$ac_header_preproc" >&6
27223
27224 # So? What about this header?
27225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27226 yes:no: )
27227 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27228 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27229 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27230 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27231 ac_header_preproc=yes
27232 ;;
27233 no:yes:* )
27234 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27235 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27237 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27238 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27239 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27240 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27241 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27242 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27243 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27244 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27245 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27246 (
27247 cat <<\_ASBOX
27248 ## ----------------------------------------- ##
27249 ## Report this to wx-dev@lists.wxwidgets.org ##
27250 ## ----------------------------------------- ##
27251 _ASBOX
27252 ) |
27253 sed "s/^/$as_me: WARNING: /" >&2
27254 ;;
27255 esac
27256 echo "$as_me:$LINENO: checking for mspack.h" >&5
27257 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27258 if test "${ac_cv_header_mspack_h+set}" = set; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 else
27261 ac_cv_header_mspack_h=$ac_header_preproc
27262 fi
27263 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27264 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27265
27266 fi
27267 if test $ac_cv_header_mspack_h = yes; then
27268 found_mspack_h=1
27269 fi
27270
27271
27272 if test "x$found_mspack_h" = "x1"; then
27273 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27274 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27275 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27276 echo $ECHO_N "(cached) $ECHO_C" >&6
27277 else
27278 ac_check_lib_save_LIBS=$LIBS
27279 LIBS="-lmspack $LIBS"
27280 cat >conftest.$ac_ext <<_ACEOF
27281 /* confdefs.h. */
27282 _ACEOF
27283 cat confdefs.h >>conftest.$ac_ext
27284 cat >>conftest.$ac_ext <<_ACEOF
27285 /* end confdefs.h. */
27286
27287 /* Override any gcc2 internal prototype to avoid an error. */
27288 #ifdef __cplusplus
27289 extern "C"
27290 #endif
27291 /* We use char because int might match the return type of a gcc2
27292 builtin and then its argument prototype would still apply. */
27293 char mspack_create_chm_decompressor ();
27294 int
27295 main ()
27296 {
27297 mspack_create_chm_decompressor ();
27298 ;
27299 return 0;
27300 }
27301 _ACEOF
27302 rm -f conftest.$ac_objext conftest$ac_exeext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27304 (eval $ac_link) 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313 (eval $ac_try) 2>&5
27314 ac_status=$?
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); }; } &&
27317 { ac_try='test -s conftest$ac_exeext'
27318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319 (eval $ac_try) 2>&5
27320 ac_status=$?
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); }; }; then
27323 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27324 else
27325 echo "$as_me: failed program was:" >&5
27326 sed 's/^/| /' conftest.$ac_ext >&5
27327
27328 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27329 fi
27330 rm -f conftest.err conftest.$ac_objext \
27331 conftest$ac_exeext conftest.$ac_ext
27332 LIBS=$ac_check_lib_save_LIBS
27333 fi
27334 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27335 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27336 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27337 MSPACK_LINK=" -lmspack"
27338 fi
27339
27340 fi
27341 if test "x$MSPACK_LINK" = "x" ; then
27342 wxUSE_LIBMSPACK=no
27343 fi
27344 fi
27345
27346 if test "$wxUSE_LIBMSPACK" != "no"; then
27347 cat >>confdefs.h <<\_ACEOF
27348 #define wxUSE_LIBMSPACK 1
27349 _ACEOF
27350
27351 fi
27352
27353
27354
27355 AFMINSTALL=
27356 WIN32INSTALL=
27357
27358 TOOLKIT=
27359 TOOLKIT_INCLUDE=
27360 WIDGET_SET=
27361
27362 if test "$USE_WIN32" = 1 ; then
27363
27364 for ac_header in w32api.h
27365 do
27366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27368 echo "$as_me:$LINENO: checking for $ac_header" >&5
27369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27371 echo $ECHO_N "(cached) $ECHO_C" >&6
27372 fi
27373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27375 else
27376 # Is the header compilable?
27377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27379 cat >conftest.$ac_ext <<_ACEOF
27380 /* confdefs.h. */
27381 _ACEOF
27382 cat confdefs.h >>conftest.$ac_ext
27383 cat >>conftest.$ac_ext <<_ACEOF
27384 /* end confdefs.h. */
27385 $ac_includes_default
27386 #include <$ac_header>
27387 _ACEOF
27388 rm -f conftest.$ac_objext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27390 (eval $ac_compile) 2>conftest.er1
27391 ac_status=$?
27392 grep -v '^ *+' conftest.er1 >conftest.err
27393 rm -f conftest.er1
27394 cat conftest.err >&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27400 ac_status=$?
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; } &&
27403 { ac_try='test -s conftest.$ac_objext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27406 ac_status=$?
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 ac_header_compiler=yes
27410 else
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27413
27414 ac_header_compiler=no
27415 fi
27416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27418 echo "${ECHO_T}$ac_header_compiler" >&6
27419
27420 # Is the header present?
27421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27423 cat >conftest.$ac_ext <<_ACEOF
27424 /* confdefs.h. */
27425 _ACEOF
27426 cat confdefs.h >>conftest.$ac_ext
27427 cat >>conftest.$ac_ext <<_ACEOF
27428 /* end confdefs.h. */
27429 #include <$ac_header>
27430 _ACEOF
27431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27433 ac_status=$?
27434 grep -v '^ *+' conftest.er1 >conftest.err
27435 rm -f conftest.er1
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } >/dev/null; then
27439 if test -s conftest.err; then
27440 ac_cpp_err=$ac_c_preproc_warn_flag
27441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27442 else
27443 ac_cpp_err=
27444 fi
27445 else
27446 ac_cpp_err=yes
27447 fi
27448 if test -z "$ac_cpp_err"; then
27449 ac_header_preproc=yes
27450 else
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.$ac_ext >&5
27453
27454 ac_header_preproc=no
27455 fi
27456 rm -f conftest.err conftest.$ac_ext
27457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27458 echo "${ECHO_T}$ac_header_preproc" >&6
27459
27460 # So? What about this header?
27461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27462 yes:no: )
27463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27467 ac_header_preproc=yes
27468 ;;
27469 no:yes:* )
27470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27482 (
27483 cat <<\_ASBOX
27484 ## ----------------------------------------- ##
27485 ## Report this to wx-dev@lists.wxwidgets.org ##
27486 ## ----------------------------------------- ##
27487 _ASBOX
27488 ) |
27489 sed "s/^/$as_me: WARNING: /" >&2
27490 ;;
27491 esac
27492 echo "$as_me:$LINENO: checking for $ac_header" >&5
27493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27495 echo $ECHO_N "(cached) $ECHO_C" >&6
27496 else
27497 eval "$as_ac_Header=\$ac_header_preproc"
27498 fi
27499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27501
27502 fi
27503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27504 cat >>confdefs.h <<_ACEOF
27505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27506 _ACEOF
27507
27508 fi
27509
27510 done
27511
27512 if test "${ac_cv_header_windows_h+set}" = set; then
27513 echo "$as_me:$LINENO: checking for windows.h" >&5
27514 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27515 if test "${ac_cv_header_windows_h+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517 fi
27518 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27519 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27520 else
27521 # Is the header compilable?
27522 echo "$as_me:$LINENO: checking windows.h usability" >&5
27523 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27524 cat >conftest.$ac_ext <<_ACEOF
27525 /* confdefs.h. */
27526 _ACEOF
27527 cat confdefs.h >>conftest.$ac_ext
27528 cat >>conftest.$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27530 $ac_includes_default
27531 #include <windows.h>
27532 _ACEOF
27533 rm -f conftest.$ac_objext
27534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27535 (eval $ac_compile) 2>conftest.er1
27536 ac_status=$?
27537 grep -v '^ *+' conftest.er1 >conftest.err
27538 rm -f conftest.er1
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } &&
27542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try='test -s conftest.$ac_objext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27551 ac_status=$?
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 ac_header_compiler=yes
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 ac_header_compiler=no
27560 fi
27561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27563 echo "${ECHO_T}$ac_header_compiler" >&6
27564
27565 # Is the header present?
27566 echo "$as_me:$LINENO: checking windows.h presence" >&5
27567 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27568 cat >conftest.$ac_ext <<_ACEOF
27569 /* confdefs.h. */
27570 _ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 #include <windows.h>
27575 _ACEOF
27576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27578 ac_status=$?
27579 grep -v '^ *+' conftest.er1 >conftest.err
27580 rm -f conftest.er1
27581 cat conftest.err >&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); } >/dev/null; then
27584 if test -s conftest.err; then
27585 ac_cpp_err=$ac_c_preproc_warn_flag
27586 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27587 else
27588 ac_cpp_err=
27589 fi
27590 else
27591 ac_cpp_err=yes
27592 fi
27593 if test -z "$ac_cpp_err"; then
27594 ac_header_preproc=yes
27595 else
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27598
27599 ac_header_preproc=no
27600 fi
27601 rm -f conftest.err conftest.$ac_ext
27602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27603 echo "${ECHO_T}$ac_header_preproc" >&6
27604
27605 # So? What about this header?
27606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27607 yes:no: )
27608 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27609 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27611 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27612 ac_header_preproc=yes
27613 ;;
27614 no:yes:* )
27615 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27616 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27617 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27618 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27620 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27621 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27622 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27623 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27624 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27625 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27626 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27627 (
27628 cat <<\_ASBOX
27629 ## ----------------------------------------- ##
27630 ## Report this to wx-dev@lists.wxwidgets.org ##
27631 ## ----------------------------------------- ##
27632 _ASBOX
27633 ) |
27634 sed "s/^/$as_me: WARNING: /" >&2
27635 ;;
27636 esac
27637 echo "$as_me:$LINENO: checking for windows.h" >&5
27638 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27639 if test "${ac_cv_header_windows_h+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27641 else
27642 ac_cv_header_windows_h=$ac_header_preproc
27643 fi
27644 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27645 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27646
27647 fi
27648 if test $ac_cv_header_windows_h = yes; then
27649 :
27650 else
27651
27652 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27653 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27654 { (exit 1); exit 1; }; }
27655
27656 fi
27657
27658
27659
27660 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27661
27662 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27663 LIBS="$LIBS -loleacc"
27664 fi
27665
27666 case "${host}" in
27667 *-*-cygwin* )
27668 LIBS="$LIBS -lkernel32 -luser32"
27669 esac
27670
27671 if test "$wxUSE_ODBC" = "sys" ; then
27672 wxUSE_ODBC = "yes"
27673 fi
27674 if test "$wxUSE_ODBC" = "yes" ; then
27675 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27676 cat >>confdefs.h <<\_ACEOF
27677 #define wxUSE_ODBC 1
27678 _ACEOF
27679
27680 fi
27681
27682 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27683 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27684
27685 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27686
27687 WIN32INSTALL=win32install
27688
27689
27690 for ac_header in pbt.h
27691 do
27692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27694 echo "$as_me:$LINENO: checking for $ac_header" >&5
27695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27697 echo $ECHO_N "(cached) $ECHO_C" >&6
27698 fi
27699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27701 else
27702 # Is the header compilable?
27703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27705 cat >conftest.$ac_ext <<_ACEOF
27706 /* confdefs.h. */
27707 _ACEOF
27708 cat confdefs.h >>conftest.$ac_ext
27709 cat >>conftest.$ac_ext <<_ACEOF
27710 /* end confdefs.h. */
27711 $ac_includes_default
27712 #include <$ac_header>
27713 _ACEOF
27714 rm -f conftest.$ac_objext
27715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27716 (eval $ac_compile) 2>conftest.er1
27717 ac_status=$?
27718 grep -v '^ *+' conftest.er1 >conftest.err
27719 rm -f conftest.er1
27720 cat conftest.err >&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; } &&
27729 { ac_try='test -s conftest.$ac_objext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 ac_header_compiler=yes
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27739
27740 ac_header_compiler=no
27741 fi
27742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27744 echo "${ECHO_T}$ac_header_compiler" >&6
27745
27746 # Is the header present?
27747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27749 cat >conftest.$ac_ext <<_ACEOF
27750 /* confdefs.h. */
27751 _ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27755 #include <$ac_header>
27756 _ACEOF
27757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27758 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27759 ac_status=$?
27760 grep -v '^ *+' conftest.er1 >conftest.err
27761 rm -f conftest.er1
27762 cat conftest.err >&5
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); } >/dev/null; then
27765 if test -s conftest.err; then
27766 ac_cpp_err=$ac_c_preproc_warn_flag
27767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27768 else
27769 ac_cpp_err=
27770 fi
27771 else
27772 ac_cpp_err=yes
27773 fi
27774 if test -z "$ac_cpp_err"; then
27775 ac_header_preproc=yes
27776 else
27777 echo "$as_me: failed program was:" >&5
27778 sed 's/^/| /' conftest.$ac_ext >&5
27779
27780 ac_header_preproc=no
27781 fi
27782 rm -f conftest.err conftest.$ac_ext
27783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27784 echo "${ECHO_T}$ac_header_preproc" >&6
27785
27786 # So? What about this header?
27787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27788 yes:no: )
27789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27793 ac_header_preproc=yes
27794 ;;
27795 no:yes:* )
27796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27808 (
27809 cat <<\_ASBOX
27810 ## ----------------------------------------- ##
27811 ## Report this to wx-dev@lists.wxwidgets.org ##
27812 ## ----------------------------------------- ##
27813 _ASBOX
27814 ) |
27815 sed "s/^/$as_me: WARNING: /" >&2
27816 ;;
27817 esac
27818 echo "$as_me:$LINENO: checking for $ac_header" >&5
27819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27821 echo $ECHO_N "(cached) $ECHO_C" >&6
27822 else
27823 eval "$as_ac_Header=\$ac_header_preproc"
27824 fi
27825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27827
27828 fi
27829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27830 cat >>confdefs.h <<_ACEOF
27831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27832 _ACEOF
27833
27834 else
27835 cat >>confdefs.h <<\_ACEOF
27836 #define NEED_PBT_H 1
27837 _ACEOF
27838
27839 fi
27840
27841 done
27842
27843 fi
27844
27845 if test "$wxUSE_GUI" = "yes"; then
27846 USE_GUI=1
27847
27848 GUI_TK_LIBRARY=
27849
27850 WXGTK12=
27851 WXGTK127=
27852 WXGTK20=
27853 WXGPE=
27854
27855 if test "$wxUSE_COCOA" = 1 ; then
27856 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27857 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27858 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27859 wxUSE_PRINTING_ARCHITECTURE=no
27860 fi
27861 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27862 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27863 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27864 wxUSE_DRAG_AND_DROP=no
27865 fi
27866 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27867 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27868 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27869 wxUSE_DRAGIMAGE=no
27870 fi
27871 fi
27872
27873 if test "$wxUSE_MSW" = 1 ; then
27874 TOOLKIT=MSW
27875 GUIDIST=MSW_DIST
27876
27877 case "${host}" in
27878 *-*-mingw32* )
27879 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27880 esac
27881 fi
27882
27883 if test "$wxUSE_GTK" = 1; then
27884 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27885 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27886
27887 gtk_version_cached=1
27888 if test "${wx_cv_lib_gtk+set}" = set; then
27889 echo $ECHO_N "(cached) $ECHO_C" >&6
27890 else
27891
27892 gtk_version_cached=0
27893 echo "$as_me:$LINENO: result: " >&5
27894 echo "${ECHO_T}" >&6
27895
27896 GTK_MODULES=
27897 if test "$wxUSE_THREADS" = "yes"; then
27898 GTK_MODULES=gthread
27899 fi
27900
27901 wx_cv_lib_gtk=
27902 if test "x$wxGTK_VERSION" != "x1"
27903 then
27904 case "${host}" in
27905 *-*-solaris2* )
27906 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27907 enable_gtktest=no
27908 fi
27909 esac
27910
27911 # Check whether --enable-gtktest or --disable-gtktest was given.
27912 if test "${enable_gtktest+set}" = set; then
27913 enableval="$enable_gtktest"
27914
27915 else
27916 enable_gtktest=yes
27917 fi;
27918
27919 pkg_config_args=gtk+-2.0
27920 for module in . $GTK_MODULES
27921 do
27922 case "$module" in
27923 gthread)
27924 pkg_config_args="$pkg_config_args gthread-2.0"
27925 ;;
27926 esac
27927 done
27928
27929 no_gtk=""
27930
27931 # Extract the first word of "pkg-config", so it can be a program name with args.
27932 set dummy pkg-config; ac_word=$2
27933 echo "$as_me:$LINENO: checking for $ac_word" >&5
27934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27935 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27936 echo $ECHO_N "(cached) $ECHO_C" >&6
27937 else
27938 case $PKG_CONFIG in
27939 [\\/]* | ?:[\\/]*)
27940 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27941 ;;
27942 *)
27943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27944 for as_dir in $PATH
27945 do
27946 IFS=$as_save_IFS
27947 test -z "$as_dir" && as_dir=.
27948 for ac_exec_ext in '' $ac_executable_extensions; do
27949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27950 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27952 break 2
27953 fi
27954 done
27955 done
27956
27957 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27958 ;;
27959 esac
27960 fi
27961 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27962
27963 if test -n "$PKG_CONFIG"; then
27964 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27965 echo "${ECHO_T}$PKG_CONFIG" >&6
27966 else
27967 echo "$as_me:$LINENO: result: no" >&5
27968 echo "${ECHO_T}no" >&6
27969 fi
27970
27971
27972 if test x$PKG_CONFIG != xno ; then
27973 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27974 :
27975 else
27976 echo "*** pkg-config too old; version 0.7 or better required."
27977 no_gtk=yes
27978 PKG_CONFIG=no
27979 fi
27980 else
27981 no_gtk=yes
27982 fi
27983
27984 min_gtk_version=2.0.0
27985 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27986 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27987
27988 if test x$PKG_CONFIG != xno ; then
27989 ## don't try to run the test against uninstalled libtool libs
27990 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27991 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27992 enable_gtktest=no
27993 fi
27994
27995 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27996 :
27997 else
27998 no_gtk=yes
27999 fi
28000 fi
28001
28002 if test x"$no_gtk" = x ; then
28003 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28004 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28005 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28007 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28009 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28011 if test "x$enable_gtktest" = "xyes" ; then
28012 ac_save_CFLAGS="$CFLAGS"
28013 ac_save_LIBS="$LIBS"
28014 CFLAGS="$CFLAGS $GTK_CFLAGS"
28015 LIBS="$GTK_LIBS $LIBS"
28016 rm -f conf.gtktest
28017 if test "$cross_compiling" = yes; then
28018 echo $ac_n "cross compiling; assumed OK... $ac_c"
28019 else
28020 cat >conftest.$ac_ext <<_ACEOF
28021 /* confdefs.h. */
28022 _ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28026
28027 #include <gtk/gtk.h>
28028 #include <stdio.h>
28029 #include <stdlib.h>
28030
28031 int
28032 main ()
28033 {
28034 int major, minor, micro;
28035 char *tmp_version;
28036
28037 system ("touch conf.gtktest");
28038
28039 /* HP/UX 9 (%@#!) writes to sscanf strings */
28040 tmp_version = g_strdup("$min_gtk_version");
28041 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28042 printf("%s, bad version string\n", "$min_gtk_version");
28043 exit(1);
28044 }
28045
28046 if ((gtk_major_version != $gtk_config_major_version) ||
28047 (gtk_minor_version != $gtk_config_minor_version) ||
28048 (gtk_micro_version != $gtk_config_micro_version))
28049 {
28050 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28051 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28052 gtk_major_version, gtk_minor_version, gtk_micro_version);
28053 printf ("*** was found! If pkg-config was correct, then it is best\n");
28054 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28055 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28056 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28057 printf("*** required on your system.\n");
28058 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28059 printf("*** to point to the correct configuration files\n");
28060 }
28061 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28062 (gtk_minor_version != GTK_MINOR_VERSION) ||
28063 (gtk_micro_version != GTK_MICRO_VERSION))
28064 {
28065 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28066 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28067 printf("*** library (version %d.%d.%d)\n",
28068 gtk_major_version, gtk_minor_version, gtk_micro_version);
28069 }
28070 else
28071 {
28072 if ((gtk_major_version > major) ||
28073 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28074 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28075 {
28076 return 0;
28077 }
28078 else
28079 {
28080 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28081 gtk_major_version, gtk_minor_version, gtk_micro_version);
28082 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28083 major, minor, micro);
28084 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28085 printf("***\n");
28086 printf("*** If you have already installed a sufficiently new version, this error\n");
28087 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28088 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28089 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28090 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28091 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28092 printf("*** so that the correct libraries are found at run-time))\n");
28093 }
28094 }
28095 return 1;
28096 }
28097
28098 _ACEOF
28099 rm -f conftest$ac_exeext
28100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28101 (eval $ac_link) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28107 ac_status=$?
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 :
28111 else
28112 echo "$as_me: program exited with status $ac_status" >&5
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.$ac_ext >&5
28115
28116 ( exit $ac_status )
28117 no_gtk=yes
28118 fi
28119 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28120 fi
28121 CFLAGS="$ac_save_CFLAGS"
28122 LIBS="$ac_save_LIBS"
28123 fi
28124 fi
28125 if test "x$no_gtk" = x ; then
28126 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28127 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28128 wx_cv_lib_gtk=2.0
28129 else
28130 echo "$as_me:$LINENO: result: no" >&5
28131 echo "${ECHO_T}no" >&6
28132 if test "$PKG_CONFIG" = "no" ; then
28133 echo "*** A new enough version of pkg-config was not found."
28134 echo "*** See http://pkgconfig.sourceforge.net"
28135 else
28136 if test -f conf.gtktest ; then
28137 :
28138 else
28139 echo "*** Could not run GTK+ test program, checking why..."
28140 ac_save_CFLAGS="$CFLAGS"
28141 ac_save_LIBS="$LIBS"
28142 CFLAGS="$CFLAGS $GTK_CFLAGS"
28143 LIBS="$LIBS $GTK_LIBS"
28144 cat >conftest.$ac_ext <<_ACEOF
28145 /* confdefs.h. */
28146 _ACEOF
28147 cat confdefs.h >>conftest.$ac_ext
28148 cat >>conftest.$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150
28151 #include <gtk/gtk.h>
28152 #include <stdio.h>
28153
28154 int
28155 main ()
28156 {
28157 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28158 ;
28159 return 0;
28160 }
28161 _ACEOF
28162 rm -f conftest.$ac_objext conftest$ac_exeext
28163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28164 (eval $ac_link) 2>conftest.er1
28165 ac_status=$?
28166 grep -v '^ *+' conftest.er1 >conftest.err
28167 rm -f conftest.er1
28168 cat conftest.err >&5
28169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28170 (exit $ac_status); } &&
28171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28173 (eval $ac_try) 2>&5
28174 ac_status=$?
28175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176 (exit $ac_status); }; } &&
28177 { ac_try='test -s conftest$ac_exeext'
28178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28179 (eval $ac_try) 2>&5
28180 ac_status=$?
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); }; }; then
28183 echo "*** The test program compiled, but did not run. This usually means"
28184 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28185 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28186 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28187 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28188 echo "*** is required on your system"
28189 echo "***"
28190 echo "*** If you have an old version installed, it is best to remove it, although"
28191 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28192 else
28193 echo "$as_me: failed program was:" >&5
28194 sed 's/^/| /' conftest.$ac_ext >&5
28195
28196 echo "*** The test program failed to compile or link. See the file config.log for the"
28197 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28198 fi
28199 rm -f conftest.err conftest.$ac_objext \
28200 conftest$ac_exeext conftest.$ac_ext
28201 CFLAGS="$ac_save_CFLAGS"
28202 LIBS="$ac_save_LIBS"
28203 fi
28204 fi
28205 GTK_CFLAGS=""
28206 GTK_LIBS=""
28207 :
28208 fi
28209
28210
28211 rm -f conf.gtktest
28212
28213
28214 case "${host}" in
28215 *-*-solaris2* )
28216 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28217 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28218 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28219 fi
28220 if test "$wxUSE_SHARED" != "yes"; then
28221 GTK_LIBS="$GTK_LIBS -lX11"
28222 fi
28223 esac
28224 fi
28225
28226 if test -z "$wx_cv_lib_gtk"; then
28227 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28228
28229 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28230 if test "${with_gtk_prefix+set}" = set; then
28231 withval="$with_gtk_prefix"
28232 gtk_config_prefix="$withval"
28233 else
28234 gtk_config_prefix=""
28235 fi;
28236
28237 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28238 if test "${with_gtk_exec_prefix+set}" = set; then
28239 withval="$with_gtk_exec_prefix"
28240 gtk_config_exec_prefix="$withval"
28241 else
28242 gtk_config_exec_prefix=""
28243 fi;
28244 # Check whether --enable-gtktest or --disable-gtktest was given.
28245 if test "${enable_gtktest+set}" = set; then
28246 enableval="$enable_gtktest"
28247
28248 else
28249 enable_gtktest=yes
28250 fi;
28251
28252 for module in . $GTK_MODULES
28253 do
28254 case "$module" in
28255 gthread)
28256 gtk_config_args="$gtk_config_args gthread"
28257 ;;
28258 esac
28259 done
28260
28261 if test x$gtk_config_exec_prefix != x ; then
28262 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28263 if test x${GTK_CONFIG+set} != xset ; then
28264 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28265 fi
28266 fi
28267 if test x$gtk_config_prefix != x ; then
28268 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28269 if test x${GTK_CONFIG+set} != xset ; then
28270 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28271 fi
28272 fi
28273
28274 # Extract the first word of "gtk-config", so it can be a program name with args.
28275 set dummy gtk-config; ac_word=$2
28276 echo "$as_me:$LINENO: checking for $ac_word" >&5
28277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28278 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28279 echo $ECHO_N "(cached) $ECHO_C" >&6
28280 else
28281 case $GTK_CONFIG in
28282 [\\/]* | ?:[\\/]*)
28283 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28284 ;;
28285 *)
28286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28287 for as_dir in $PATH
28288 do
28289 IFS=$as_save_IFS
28290 test -z "$as_dir" && as_dir=.
28291 for ac_exec_ext in '' $ac_executable_extensions; do
28292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28293 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28295 break 2
28296 fi
28297 done
28298 done
28299
28300 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28301 ;;
28302 esac
28303 fi
28304 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28305
28306 if test -n "$GTK_CONFIG"; then
28307 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28308 echo "${ECHO_T}$GTK_CONFIG" >&6
28309 else
28310 echo "$as_me:$LINENO: result: no" >&5
28311 echo "${ECHO_T}no" >&6
28312 fi
28313
28314 min_gtk_version=1.2.7
28315 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28316 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28317 no_gtk=""
28318 if test "$GTK_CONFIG" = "no" ; then
28319 no_gtk=yes
28320 else
28321 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28322 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28323 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28325 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28326 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28327 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28328 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28329 if test "x$enable_gtktest" = "xyes" ; then
28330 ac_save_CFLAGS="$CFLAGS"
28331 ac_save_LIBS="$LIBS"
28332 CFLAGS="$CFLAGS $GTK_CFLAGS"
28333 LIBS="$GTK_LIBS $LIBS"
28334 rm -f conf.gtktest
28335 if test "$cross_compiling" = yes; then
28336 echo $ac_n "cross compiling; assumed OK... $ac_c"
28337 else
28338 cat >conftest.$ac_ext <<_ACEOF
28339 /* confdefs.h. */
28340 _ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344
28345 #include <gtk/gtk.h>
28346 #include <stdio.h>
28347 #include <stdlib.h>
28348
28349 int
28350 main ()
28351 {
28352 int major, minor, micro;
28353 char *tmp_version;
28354
28355 system ("touch conf.gtktest");
28356
28357 /* HP/UX 9 (%@#!) writes to sscanf strings */
28358 tmp_version = g_strdup("$min_gtk_version");
28359 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28360 printf("%s, bad version string\n", "$min_gtk_version");
28361 exit(1);
28362 }
28363
28364 if ((gtk_major_version != $gtk_config_major_version) ||
28365 (gtk_minor_version != $gtk_config_minor_version) ||
28366 (gtk_micro_version != $gtk_config_micro_version))
28367 {
28368 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28369 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28370 gtk_major_version, gtk_minor_version, gtk_micro_version);
28371 printf ("*** was found! If gtk-config was correct, then it is best\n");
28372 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28373 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28374 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28375 printf("*** required on your system.\n");
28376 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28377 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28378 printf("*** before re-running configure\n");
28379 }
28380 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28381 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28382 (gtk_minor_version != GTK_MINOR_VERSION) ||
28383 (gtk_micro_version != GTK_MICRO_VERSION))
28384 {
28385 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28386 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28387 printf("*** library (version %d.%d.%d)\n",
28388 gtk_major_version, gtk_minor_version, gtk_micro_version);
28389 }
28390 #endif /* defined (GTK_MAJOR_VERSION) ... */
28391 else
28392 {
28393 if ((gtk_major_version > major) ||
28394 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28395 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28396 {
28397 return 0;
28398 }
28399 else
28400 {
28401 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28402 gtk_major_version, gtk_minor_version, gtk_micro_version);
28403 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28404 major, minor, micro);
28405 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28406 printf("***\n");
28407 printf("*** If you have already installed a sufficiently new version, this error\n");
28408 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28409 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28410 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28411 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28412 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28413 printf("*** so that the correct libraries are found at run-time))\n");
28414 }
28415 }
28416 return 1;
28417 }
28418
28419 _ACEOF
28420 rm -f conftest$ac_exeext
28421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28422 (eval $ac_link) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 :
28432 else
28433 echo "$as_me: program exited with status $ac_status" >&5
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.$ac_ext >&5
28436
28437 ( exit $ac_status )
28438 no_gtk=yes
28439 fi
28440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28441 fi
28442 CFLAGS="$ac_save_CFLAGS"
28443 LIBS="$ac_save_LIBS"
28444 fi
28445 fi
28446 if test "x$no_gtk" = x ; then
28447 echo "$as_me:$LINENO: result: yes" >&5
28448 echo "${ECHO_T}yes" >&6
28449 wx_cv_lib_gtk=1.2.7
28450 else
28451 echo "$as_me:$LINENO: result: no" >&5
28452 echo "${ECHO_T}no" >&6
28453 if test "$GTK_CONFIG" = "no" ; then
28454 echo "*** The gtk-config script installed by GTK could not be found"
28455 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28456 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28457 echo "*** full path to gtk-config."
28458 else
28459 if test -f conf.gtktest ; then
28460 :
28461 else
28462 echo "*** Could not run GTK test program, checking why..."
28463 CFLAGS="$CFLAGS $GTK_CFLAGS"
28464 LIBS="$LIBS $GTK_LIBS"
28465 cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h. */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28471
28472 #include <gtk/gtk.h>
28473 #include <stdio.h>
28474
28475 int
28476 main ()
28477 {
28478 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28479 ;
28480 return 0;
28481 }
28482 _ACEOF
28483 rm -f conftest.$ac_objext conftest$ac_exeext
28484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28485 (eval $ac_link) 2>conftest.er1
28486 ac_status=$?
28487 grep -v '^ *+' conftest.er1 >conftest.err
28488 rm -f conftest.er1
28489 cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; } &&
28498 { ac_try='test -s conftest$ac_exeext'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; }; then
28504 echo "*** The test program compiled, but did not run. This usually means"
28505 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28506 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28507 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28508 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28509 echo "*** is required on your system"
28510 echo "***"
28511 echo "*** If you have an old version installed, it is best to remove it, although"
28512 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28513 echo "***"
28514 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28515 echo "*** came with the system with the command"
28516 echo "***"
28517 echo "*** rpm --erase --nodeps gtk gtk-devel"
28518 else
28519 echo "$as_me: failed program was:" >&5
28520 sed 's/^/| /' conftest.$ac_ext >&5
28521
28522 echo "*** The test program failed to compile or link. See the file config.log for the"
28523 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28524 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28525 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28526 fi
28527 rm -f conftest.err conftest.$ac_objext \
28528 conftest$ac_exeext conftest.$ac_ext
28529 CFLAGS="$ac_save_CFLAGS"
28530 LIBS="$ac_save_LIBS"
28531 fi
28532 fi
28533 GTK_CFLAGS=""
28534 GTK_LIBS=""
28535 :
28536 fi
28537
28538
28539 rm -f conf.gtktest
28540
28541
28542 if test -z "$wx_cv_lib_gtk"; then
28543
28544 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28545 if test "${with_gtk_prefix+set}" = set; then
28546 withval="$with_gtk_prefix"
28547 gtk_config_prefix="$withval"
28548 else
28549 gtk_config_prefix=""
28550 fi;
28551
28552 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28553 if test "${with_gtk_exec_prefix+set}" = set; then
28554 withval="$with_gtk_exec_prefix"
28555 gtk_config_exec_prefix="$withval"
28556 else
28557 gtk_config_exec_prefix=""
28558 fi;
28559 # Check whether --enable-gtktest or --disable-gtktest was given.
28560 if test "${enable_gtktest+set}" = set; then
28561 enableval="$enable_gtktest"
28562
28563 else
28564 enable_gtktest=yes
28565 fi;
28566
28567 for module in . $GTK_MODULES
28568 do
28569 case "$module" in
28570 gthread)
28571 gtk_config_args="$gtk_config_args gthread"
28572 ;;
28573 esac
28574 done
28575
28576 if test x$gtk_config_exec_prefix != x ; then
28577 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28578 if test x${GTK_CONFIG+set} != xset ; then
28579 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28580 fi
28581 fi
28582 if test x$gtk_config_prefix != x ; then
28583 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28584 if test x${GTK_CONFIG+set} != xset ; then
28585 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28586 fi
28587 fi
28588
28589 # Extract the first word of "gtk-config", so it can be a program name with args.
28590 set dummy gtk-config; ac_word=$2
28591 echo "$as_me:$LINENO: checking for $ac_word" >&5
28592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28593 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28594 echo $ECHO_N "(cached) $ECHO_C" >&6
28595 else
28596 case $GTK_CONFIG in
28597 [\\/]* | ?:[\\/]*)
28598 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28599 ;;
28600 *)
28601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28602 for as_dir in $PATH
28603 do
28604 IFS=$as_save_IFS
28605 test -z "$as_dir" && as_dir=.
28606 for ac_exec_ext in '' $ac_executable_extensions; do
28607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28608 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28610 break 2
28611 fi
28612 done
28613 done
28614
28615 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28616 ;;
28617 esac
28618 fi
28619 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28620
28621 if test -n "$GTK_CONFIG"; then
28622 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28623 echo "${ECHO_T}$GTK_CONFIG" >&6
28624 else
28625 echo "$as_me:$LINENO: result: no" >&5
28626 echo "${ECHO_T}no" >&6
28627 fi
28628
28629 min_gtk_version=1.2.3
28630 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28631 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28632 no_gtk=""
28633 if test "$GTK_CONFIG" = "no" ; then
28634 no_gtk=yes
28635 else
28636 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28637 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28638 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28640 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28642 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28643 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28644 if test "x$enable_gtktest" = "xyes" ; then
28645 ac_save_CFLAGS="$CFLAGS"
28646 ac_save_LIBS="$LIBS"
28647 CFLAGS="$CFLAGS $GTK_CFLAGS"
28648 LIBS="$GTK_LIBS $LIBS"
28649 rm -f conf.gtktest
28650 if test "$cross_compiling" = yes; then
28651 echo $ac_n "cross compiling; assumed OK... $ac_c"
28652 else
28653 cat >conftest.$ac_ext <<_ACEOF
28654 /* confdefs.h. */
28655 _ACEOF
28656 cat confdefs.h >>conftest.$ac_ext
28657 cat >>conftest.$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28659
28660 #include <gtk/gtk.h>
28661 #include <stdio.h>
28662 #include <stdlib.h>
28663
28664 int
28665 main ()
28666 {
28667 int major, minor, micro;
28668 char *tmp_version;
28669
28670 system ("touch conf.gtktest");
28671
28672 /* HP/UX 9 (%@#!) writes to sscanf strings */
28673 tmp_version = g_strdup("$min_gtk_version");
28674 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28675 printf("%s, bad version string\n", "$min_gtk_version");
28676 exit(1);
28677 }
28678
28679 if ((gtk_major_version != $gtk_config_major_version) ||
28680 (gtk_minor_version != $gtk_config_minor_version) ||
28681 (gtk_micro_version != $gtk_config_micro_version))
28682 {
28683 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28684 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28685 gtk_major_version, gtk_minor_version, gtk_micro_version);
28686 printf ("*** was found! If gtk-config was correct, then it is best\n");
28687 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28688 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28689 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28690 printf("*** required on your system.\n");
28691 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28692 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28693 printf("*** before re-running configure\n");
28694 }
28695 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28696 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28697 (gtk_minor_version != GTK_MINOR_VERSION) ||
28698 (gtk_micro_version != GTK_MICRO_VERSION))
28699 {
28700 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28701 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28702 printf("*** library (version %d.%d.%d)\n",
28703 gtk_major_version, gtk_minor_version, gtk_micro_version);
28704 }
28705 #endif /* defined (GTK_MAJOR_VERSION) ... */
28706 else
28707 {
28708 if ((gtk_major_version > major) ||
28709 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28710 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28711 {
28712 return 0;
28713 }
28714 else
28715 {
28716 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28717 gtk_major_version, gtk_minor_version, gtk_micro_version);
28718 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28719 major, minor, micro);
28720 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28721 printf("***\n");
28722 printf("*** If you have already installed a sufficiently new version, this error\n");
28723 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28724 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28725 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28726 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28727 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28728 printf("*** so that the correct libraries are found at run-time))\n");
28729 }
28730 }
28731 return 1;
28732 }
28733
28734 _ACEOF
28735 rm -f conftest$ac_exeext
28736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28737 (eval $ac_link) 2>&5
28738 ac_status=$?
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 (eval $ac_try) 2>&5
28743 ac_status=$?
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28746 :
28747 else
28748 echo "$as_me: program exited with status $ac_status" >&5
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28751
28752 ( exit $ac_status )
28753 no_gtk=yes
28754 fi
28755 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28756 fi
28757 CFLAGS="$ac_save_CFLAGS"
28758 LIBS="$ac_save_LIBS"
28759 fi
28760 fi
28761 if test "x$no_gtk" = x ; then
28762 echo "$as_me:$LINENO: result: yes" >&5
28763 echo "${ECHO_T}yes" >&6
28764 wx_cv_lib_gtk=1.2.3
28765 else
28766 echo "$as_me:$LINENO: result: no" >&5
28767 echo "${ECHO_T}no" >&6
28768 if test "$GTK_CONFIG" = "no" ; then
28769 echo "*** The gtk-config script installed by GTK could not be found"
28770 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28771 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28772 echo "*** full path to gtk-config."
28773 else
28774 if test -f conf.gtktest ; then
28775 :
28776 else
28777 echo "*** Could not run GTK test program, checking why..."
28778 CFLAGS="$CFLAGS $GTK_CFLAGS"
28779 LIBS="$LIBS $GTK_LIBS"
28780 cat >conftest.$ac_ext <<_ACEOF
28781 /* confdefs.h. */
28782 _ACEOF
28783 cat confdefs.h >>conftest.$ac_ext
28784 cat >>conftest.$ac_ext <<_ACEOF
28785 /* end confdefs.h. */
28786
28787 #include <gtk/gtk.h>
28788 #include <stdio.h>
28789
28790 int
28791 main ()
28792 {
28793 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28794 ;
28795 return 0;
28796 }
28797 _ACEOF
28798 rm -f conftest.$ac_objext conftest$ac_exeext
28799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28800 (eval $ac_link) 2>conftest.er1
28801 ac_status=$?
28802 grep -v '^ *+' conftest.er1 >conftest.err
28803 rm -f conftest.er1
28804 cat conftest.err >&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); } &&
28807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28809 (eval $ac_try) 2>&5
28810 ac_status=$?
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); }; } &&
28813 { ac_try='test -s conftest$ac_exeext'
28814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 (eval $ac_try) 2>&5
28816 ac_status=$?
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); }; }; then
28819 echo "*** The test program compiled, but did not run. This usually means"
28820 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28821 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28822 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28823 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28824 echo "*** is required on your system"
28825 echo "***"
28826 echo "*** If you have an old version installed, it is best to remove it, although"
28827 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28828 echo "***"
28829 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28830 echo "*** came with the system with the command"
28831 echo "***"
28832 echo "*** rpm --erase --nodeps gtk gtk-devel"
28833 else
28834 echo "$as_me: failed program was:" >&5
28835 sed 's/^/| /' conftest.$ac_ext >&5
28836
28837 echo "*** The test program failed to compile or link. See the file config.log for the"
28838 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28839 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28840 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28841 fi
28842 rm -f conftest.err conftest.$ac_objext \
28843 conftest$ac_exeext conftest.$ac_ext
28844 CFLAGS="$ac_save_CFLAGS"
28845 LIBS="$ac_save_LIBS"
28846 fi
28847 fi
28848 GTK_CFLAGS=""
28849 GTK_LIBS=""
28850 :
28851 fi
28852
28853
28854 rm -f conf.gtktest
28855
28856 fi
28857 fi
28858 fi
28859
28860 if test -z "$wx_cv_lib_gtk"; then
28861 wx_cv_lib_gtk=none
28862 else
28863 wx_cv_cflags_gtk=$GTK_CFLAGS
28864 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28865 fi
28866
28867
28868 fi
28869
28870
28871 if test "$gtk_version_cached" = 1; then
28872 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28873 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28874 fi
28875
28876 case "$wx_cv_lib_gtk" in
28877 2.0) WXGTK20=1
28878 TOOLKIT_VERSION=2
28879 ;;
28880 1.2.7) WXGTK127=1
28881 WXGTK12=1
28882 ;;
28883 1.2.3) WXGTK12=1
28884 ;;
28885 *) { { echo "$as_me:$LINENO: error:
28886 The development files for GTK+ were not found. For GTK+ 2, please
28887 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28888 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28889 and that the version is 1.2.3 or above. Also check that the
28890 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28891 --libs' are in the LD_LIBRARY_PATH or equivalent.
28892 " >&5
28893 echo "$as_me: error:
28894 The development files for GTK+ were not found. For GTK+ 2, please
28895 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28896 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28897 and that the version is 1.2.3 or above. Also check that the
28898 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28899 --libs' are in the LD_LIBRARY_PATH or equivalent.
28900 " >&2;}
28901 { (exit 1); exit 1; }; }
28902 ;;
28903 esac
28904
28905 if test "$WXGTK20" = 1; then
28906 save_CFLAGS="$CFLAGS"
28907 save_LIBS="$LIBS"
28908 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28909 LIBS="$LIBS $wx_cv_libs_gtk"
28910
28911 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28912 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28913 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28914 echo $ECHO_N "(cached) $ECHO_C" >&6
28915 else
28916 cat >conftest.$ac_ext <<_ACEOF
28917 /* confdefs.h. */
28918 _ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28922 #include <gtk/gtk.h>
28923
28924 int
28925 main ()
28926 {
28927 #ifndef gtk_icon_size_lookup
28928 char *p = (char *) gtk_icon_size_lookup;
28929 #endif
28930
28931 ;
28932 return 0;
28933 }
28934 _ACEOF
28935 rm -f conftest.$ac_objext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28937 (eval $ac_compile) 2>conftest.er1
28938 ac_status=$?
28939 grep -v '^ *+' conftest.er1 >conftest.err
28940 rm -f conftest.er1
28941 cat conftest.err >&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; } &&
28950 { ac_try='test -s conftest.$ac_objext'
28951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952 (eval $ac_try) 2>&5
28953 ac_status=$?
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; }; then
28956 ac_cv_have_decl_gtk_icon_size_lookup=yes
28957 else
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.$ac_ext >&5
28960
28961 ac_cv_have_decl_gtk_icon_size_lookup=no
28962 fi
28963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28964 fi
28965 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28966 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28967 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28968
28969 cat >>confdefs.h <<_ACEOF
28970 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28971 _ACEOF
28972
28973
28974 else
28975 cat >>confdefs.h <<_ACEOF
28976 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28977 _ACEOF
28978
28979 cat >>confdefs.h <<\_ACEOF
28980 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28981 _ACEOF
28982
28983 fi
28984
28985
28986
28987 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28988 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28989 cat >conftest.$ac_ext <<_ACEOF
28990 /* confdefs.h. */
28991 _ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28995
28996 #include <gtk/gtk.h>
28997
28998 int
28999 main ()
29000 {
29001
29002 #if !GTK_CHECK_VERSION(2,6,0)
29003 Not GTK+ 2.6
29004 #endif
29005
29006 ;
29007 return 0;
29008 }
29009 _ACEOF
29010 rm -f conftest.$ac_objext
29011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29012 (eval $ac_compile) 2>conftest.er1
29013 ac_status=$?
29014 grep -v '^ *+' conftest.er1 >conftest.err
29015 rm -f conftest.er1
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } &&
29019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29022 ac_status=$?
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try='test -s conftest.$ac_objext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031
29032 cat >>confdefs.h <<\_ACEOF
29033 #define __WXGTK26__ 1
29034 _ACEOF
29035
29036 cat >>confdefs.h <<\_ACEOF
29037 #define __WXGTK24__ 1
29038 _ACEOF
29039
29040 echo "$as_me:$LINENO: result: yes" >&5
29041 echo "${ECHO_T}yes" >&6
29042 ac_wxgtk26=1
29043
29044 else
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.$ac_ext >&5
29047
29048
29049 echo "$as_me:$LINENO: result: no" >&5
29050 echo "${ECHO_T}no" >&6
29051 ac_wxgtk26=0
29052
29053 fi
29054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29055
29056 if test "$ac_wxgtk26" = 0; then
29057 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29058 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29059 cat >conftest.$ac_ext <<_ACEOF
29060 /* confdefs.h. */
29061 _ACEOF
29062 cat confdefs.h >>conftest.$ac_ext
29063 cat >>conftest.$ac_ext <<_ACEOF
29064 /* end confdefs.h. */
29065
29066 #include <gtk/gtk.h>
29067
29068 int
29069 main ()
29070 {
29071
29072 #if !GTK_CHECK_VERSION(2,4,0)
29073 Not GTK+ 2.4
29074 #endif
29075
29076 ;
29077 return 0;
29078 }
29079 _ACEOF
29080 rm -f conftest.$ac_objext
29081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29082 (eval $ac_compile) 2>conftest.er1
29083 ac_status=$?
29084 grep -v '^ *+' conftest.er1 >conftest.err
29085 rm -f conftest.er1
29086 cat conftest.err >&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); } &&
29089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try='test -s conftest.$ac_objext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101
29102 cat >>confdefs.h <<\_ACEOF
29103 #define __WXGTK24__ 1
29104 _ACEOF
29105
29106 echo "$as_me:$LINENO: result: yes" >&5
29107 echo "${ECHO_T}yes" >&6
29108
29109 else
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29112
29113
29114 echo "$as_me:$LINENO: result: no" >&5
29115 echo "${ECHO_T}no" >&6
29116
29117 fi
29118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29119 fi
29120
29121 CFLAGS="$save_CFLAGS"
29122 LIBS="$save_LIBS"
29123 else
29124 if test "$wxUSE_UNICODE" = "yes"; then
29125 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29126 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29127 wxUSE_UNICODE=no
29128 fi
29129
29130 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29131 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29132 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 else
29135 ac_check_lib_save_LIBS=$LIBS
29136 LIBS="-lgdk $LIBS"
29137 cat >conftest.$ac_ext <<_ACEOF
29138 /* confdefs.h. */
29139 _ACEOF
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29143
29144 /* Override any gcc2 internal prototype to avoid an error. */
29145 #ifdef __cplusplus
29146 extern "C"
29147 #endif
29148 /* We use char because int might match the return type of a gcc2
29149 builtin and then its argument prototype would still apply. */
29150 char gdk_im_open ();
29151 int
29152 main ()
29153 {
29154 gdk_im_open ();
29155 ;
29156 return 0;
29157 }
29158 _ACEOF
29159 rm -f conftest.$ac_objext conftest$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161 (eval $ac_link) 2>conftest.er1
29162 ac_status=$?
29163 grep -v '^ *+' conftest.er1 >conftest.err
29164 rm -f conftest.er1
29165 cat conftest.err >&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29171 ac_status=$?
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29177 ac_status=$?
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 ac_cv_lib_gdk_gdk_im_open=yes
29181 else
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.$ac_ext >&5
29184
29185 ac_cv_lib_gdk_gdk_im_open=no
29186 fi
29187 rm -f conftest.err conftest.$ac_objext \
29188 conftest$ac_exeext conftest.$ac_ext
29189 LIBS=$ac_check_lib_save_LIBS
29190 fi
29191 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29192 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29193 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29194 cat >>confdefs.h <<\_ACEOF
29195 #define HAVE_XIM 1
29196 _ACEOF
29197
29198 fi
29199
29200 fi
29201
29202 if test "$USE_DARWIN" != 1; then
29203
29204 for ac_func in poll
29205 do
29206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29207 echo "$as_me:$LINENO: checking for $ac_func" >&5
29208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29209 if eval "test \"\${$as_ac_var+set}\" = set"; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212 cat >conftest.$ac_ext <<_ACEOF
29213 /* confdefs.h. */
29214 _ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29220 #define $ac_func innocuous_$ac_func
29221
29222 /* System header to define __stub macros and hopefully few prototypes,
29223 which can conflict with char $ac_func (); below.
29224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29225 <limits.h> exists even on freestanding compilers. */
29226
29227 #ifdef __STDC__
29228 # include <limits.h>
29229 #else
29230 # include <assert.h>
29231 #endif
29232
29233 #undef $ac_func
29234
29235 /* Override any gcc2 internal prototype to avoid an error. */
29236 #ifdef __cplusplus
29237 extern "C"
29238 {
29239 #endif
29240 /* We use char because int might match the return type of a gcc2
29241 builtin and then its argument prototype would still apply. */
29242 char $ac_func ();
29243 /* The GNU C library defines this for functions which it implements
29244 to always fail with ENOSYS. Some functions are actually named
29245 something starting with __ and the normal name is an alias. */
29246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29247 choke me
29248 #else
29249 char (*f) () = $ac_func;
29250 #endif
29251 #ifdef __cplusplus
29252 }
29253 #endif
29254
29255 int
29256 main ()
29257 {
29258 return f != $ac_func;
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 rm -f conftest.$ac_objext conftest$ac_exeext
29264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29265 (eval $ac_link) 2>conftest.er1
29266 ac_status=$?
29267 grep -v '^ *+' conftest.er1 >conftest.err
29268 rm -f conftest.er1
29269 cat conftest.err >&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } &&
29272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29275 ac_status=$?
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; } &&
29278 { ac_try='test -s conftest$ac_exeext'
29279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29280 (eval $ac_try) 2>&5
29281 ac_status=$?
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); }; }; then
29284 eval "$as_ac_var=yes"
29285 else
29286 echo "$as_me: failed program was:" >&5
29287 sed 's/^/| /' conftest.$ac_ext >&5
29288
29289 eval "$as_ac_var=no"
29290 fi
29291 rm -f conftest.err conftest.$ac_objext \
29292 conftest$ac_exeext conftest.$ac_ext
29293 fi
29294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29296 if test `eval echo '${'$as_ac_var'}'` = yes; then
29297 cat >>confdefs.h <<_ACEOF
29298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29299 _ACEOF
29300
29301 fi
29302 done
29303
29304 fi
29305
29306 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29307 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29308
29309 AFMINSTALL=afminstall
29310 TOOLKIT=GTK
29311 GUIDIST=GTK_DIST
29312
29313 if test "$wxUSE_GPE" = "yes"; then
29314 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29315 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29316
29317 ac_find_libraries=
29318 for ac_dir in $SEARCH_LIB;
29319 do
29320 for ac_extension in a so sl dylib dll.a; do
29321 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29322 ac_find_libraries=$ac_dir
29323 break 2
29324 fi
29325 done
29326 done
29327
29328 if test "$ac_find_libraries" != "" ; then
29329
29330 if test "$ac_find_libraries" = "default location"; then
29331 ac_path_to_link=""
29332 else
29333 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29334 result=$?
29335 if test $result = 0; then
29336 ac_path_to_link=""
29337 else
29338 ac_path_to_link=" -L$ac_find_libraries"
29339 fi
29340 fi
29341
29342 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29343 WXGPE=1
29344 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29345 echo "${ECHO_T}found in $ac_find_libraries" >&6
29346 else
29347 echo "$as_me:$LINENO: result: not found" >&5
29348 echo "${ECHO_T}not found" >&6
29349 fi
29350
29351 fi
29352 fi
29353
29354 if test "$wxUSE_MGL" = 1; then
29355 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29356 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29357 if test "x$MGL_ROOT" = x ; then
29358 echo "$as_me:$LINENO: result: not found" >&5
29359 echo "${ECHO_T}not found" >&6
29360 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29361 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29362 { (exit 1); exit 1; }; }
29363 else
29364 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29365 echo "${ECHO_T}$MGL_ROOT" >&6
29366 fi
29367
29368 echo "$as_me:$LINENO: checking for libmgl location" >&5
29369 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29370 case "${host}" in
29371 *-*-linux* )
29372 if test "x$wxUSE_SHARED" = xyes ; then
29373 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29374 else
29375 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29376 fi
29377 ;;
29378 *-pc-msdosdjgpp )
29379 mgl_os_candidates="dos32/dj2"
29380 ;;
29381 *)
29382 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29383 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29384 { (exit 1); exit 1; }; }
29385 esac
29386
29387 mgl_lib_type=""
29388 mgl_os=""
29389
29390 for mgl_os_i in $mgl_os_candidates ; do
29391 if test "x$mgl_os" = x ; then
29392 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29393 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29394 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29395 mgl_lib_type=debug
29396 mgl_os=$mgl_os_i
29397 fi
29398 fi
29399 if test "x$mgl_lib_type" = x ; then
29400 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29401 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29402 mgl_lib_type=release
29403 mgl_os=$mgl_os_i
29404 fi
29405 fi
29406 fi
29407 done
29408
29409 if test "x$mgl_os" = x ; then
29410 echo "$as_me:$LINENO: result: not found" >&5
29411 echo "${ECHO_T}not found" >&6
29412 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29413 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29414 { (exit 1); exit 1; }; }
29415 fi
29416 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29417 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29418
29419 wxUSE_UNIVERSAL="yes"
29420
29421 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29422 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29423
29424 AFMINSTALL=afminstall
29425 TOOLKIT=MGL
29426 GUIDIST=MGL_DIST
29427 fi
29428
29429 if test "$wxUSE_DFB" = 1; then
29430
29431
29432 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29433 if test -n "$ac_tool_prefix"; then
29434 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29435 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29436 echo "$as_me:$LINENO: checking for $ac_word" >&5
29437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 case $PKG_CONFIG in
29442 [\\/]* | ?:[\\/]*)
29443 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29444 ;;
29445 *)
29446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29447 for as_dir in $PATH
29448 do
29449 IFS=$as_save_IFS
29450 test -z "$as_dir" && as_dir=.
29451 for ac_exec_ext in '' $ac_executable_extensions; do
29452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29453 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29455 break 2
29456 fi
29457 done
29458 done
29459
29460 ;;
29461 esac
29462 fi
29463 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29464
29465 if test -n "$PKG_CONFIG"; then
29466 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29467 echo "${ECHO_T}$PKG_CONFIG" >&6
29468 else
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29471 fi
29472
29473 fi
29474 if test -z "$ac_cv_path_PKG_CONFIG"; then
29475 ac_pt_PKG_CONFIG=$PKG_CONFIG
29476 # Extract the first word of "pkg-config", so it can be a program name with args.
29477 set dummy pkg-config; ac_word=$2
29478 echo "$as_me:$LINENO: checking for $ac_word" >&5
29479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29480 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29481 echo $ECHO_N "(cached) $ECHO_C" >&6
29482 else
29483 case $ac_pt_PKG_CONFIG in
29484 [\\/]* | ?:[\\/]*)
29485 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29486 ;;
29487 *)
29488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29489 for as_dir in $PATH
29490 do
29491 IFS=$as_save_IFS
29492 test -z "$as_dir" && as_dir=.
29493 for ac_exec_ext in '' $ac_executable_extensions; do
29494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29495 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29497 break 2
29498 fi
29499 done
29500 done
29501
29502 ;;
29503 esac
29504 fi
29505 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29506
29507 if test -n "$ac_pt_PKG_CONFIG"; then
29508 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29509 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29510 else
29511 echo "$as_me:$LINENO: result: no" >&5
29512 echo "${ECHO_T}no" >&6
29513 fi
29514
29515 PKG_CONFIG=$ac_pt_PKG_CONFIG
29516 else
29517 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29518 fi
29519
29520 fi
29521 if test -n "$PKG_CONFIG"; then
29522 _pkg_min_version=0.9.0
29523 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29524 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29525 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29526 echo "$as_me:$LINENO: result: yes" >&5
29527 echo "${ECHO_T}yes" >&6
29528 else
29529 echo "$as_me:$LINENO: result: no" >&5
29530 echo "${ECHO_T}no" >&6
29531 PKG_CONFIG=""
29532 fi
29533
29534 fi
29535
29536
29537 pkg_failed=no
29538 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29539 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29540
29541 if test -n "$PKG_CONFIG"; then
29542 if test -n "$DIRECTFB_CFLAGS"; then
29543 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29544 else
29545 if test -n "$PKG_CONFIG" && \
29546 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29547 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29548 ac_status=$?
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; then
29551 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29552 else
29553 pkg_failed=yes
29554 fi
29555 fi
29556 else
29557 pkg_failed=untried
29558 fi
29559 if test -n "$PKG_CONFIG"; then
29560 if test -n "$DIRECTFB_LIBS"; then
29561 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29562 else
29563 if test -n "$PKG_CONFIG" && \
29564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29565 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; then
29569 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29570 else
29571 pkg_failed=yes
29572 fi
29573 fi
29574 else
29575 pkg_failed=untried
29576 fi
29577
29578
29579
29580 if test $pkg_failed = yes; then
29581
29582 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29583 _pkg_short_errors_supported=yes
29584 else
29585 _pkg_short_errors_supported=no
29586 fi
29587 if test $_pkg_short_errors_supported = yes; then
29588 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29589 else
29590 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29591 fi
29592 # Put the nasty error message in config.log where it belongs
29593 echo "$DIRECTFB_PKG_ERRORS" >&5
29594
29595
29596 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29597 echo "$as_me: error: DirectFB not found." >&2;}
29598 { (exit 1); exit 1; }; }
29599
29600
29601 elif test $pkg_failed = untried; then
29602
29603 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29604 echo "$as_me: error: DirectFB not found." >&2;}
29605 { (exit 1); exit 1; }; }
29606
29607
29608 else
29609 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29610 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29611 echo "$as_me:$LINENO: result: yes" >&5
29612 echo "${ECHO_T}yes" >&6
29613
29614 wxUSE_UNIVERSAL="yes"
29615 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29616 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29617 TOOLKIT=DFB
29618 GUIDIST=DFB_DIST
29619
29620 fi
29621 fi
29622
29623 if test "$wxUSE_MICROWIN" = 1; then
29624 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29625 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29626 if test "x$MICROWINDOWS" = x ; then
29627 echo "$as_me:$LINENO: result: not found" >&5
29628 echo "${ECHO_T}not found" >&6
29629 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29630 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29631 { (exit 1); exit 1; }; }
29632 else
29633 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29634 echo "${ECHO_T}$MICROWINDOWS" >&6
29635 fi
29636
29637 if test -f $MICROWINDOWS/lib/libmwin.a; then
29638 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29639 echo "${ECHO_T}MicroWindows' libraries found." >&6
29640 else
29641 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29642 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29643 { (exit 1); exit 1; }; }
29644 fi
29645
29646 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29647 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29648
29649 wxUSE_UNIVERSAL="yes"
29650
29651 AFMINSTALL=afminstall
29652 TOOLKIT=MICROWIN
29653 GUIDIST=MICROWIN_DIST
29654
29655 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29656 fi
29657
29658 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29659
29660 if test "x$ac_path_x_has_been_run" != xyes; then
29661 echo "$as_me:$LINENO: checking for X" >&5
29662 echo $ECHO_N "checking for X... $ECHO_C" >&6
29663
29664 ac_path_x_has_been_run=yes
29665
29666 # Check whether --with-x or --without-x was given.
29667 if test "${with_x+set}" = set; then
29668 withval="$with_x"
29669
29670 fi;
29671 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29672 if test "x$with_x" = xno; then
29673 # The user explicitly disabled X.
29674 have_x=disabled
29675 else
29676 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29677 # Both variables are already set.
29678 have_x=yes
29679 else
29680 if test "${ac_cv_have_x+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29682 else
29683 # One or both of the vars are not set, and there is no cached value.
29684 ac_x_includes=no ac_x_libraries=no
29685 rm -fr conftest.dir
29686 if mkdir conftest.dir; then
29687 cd conftest.dir
29688 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29689 cat >Imakefile <<'_ACEOF'
29690 acfindx:
29691 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29692 _ACEOF
29693 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29695 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29696 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29697 for ac_extension in a so sl; do
29698 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29699 test -f $ac_im_libdir/libX11.$ac_extension; then
29700 ac_im_usrlibdir=$ac_im_libdir; break
29701 fi
29702 done
29703 # Screen out bogus values from the imake configuration. They are
29704 # bogus both because they are the default anyway, and because
29705 # using them would break gcc on systems where it needs fixed includes.
29706 case $ac_im_incroot in
29707 /usr/include) ;;
29708 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29709 esac
29710 case $ac_im_usrlibdir in
29711 /usr/lib | /lib) ;;
29712 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29713 esac
29714 fi
29715 cd ..
29716 rm -fr conftest.dir
29717 fi
29718
29719 # Standard set of common directories for X headers.
29720 # Check X11 before X11Rn because it is often a symlink to the current release.
29721 ac_x_header_dirs='
29722 /usr/X11/include
29723 /usr/X11R6/include
29724 /usr/X11R5/include
29725 /usr/X11R4/include
29726
29727 /usr/include/X11
29728 /usr/include/X11R6
29729 /usr/include/X11R5
29730 /usr/include/X11R4
29731
29732 /usr/local/X11/include
29733 /usr/local/X11R6/include
29734 /usr/local/X11R5/include
29735 /usr/local/X11R4/include
29736
29737 /usr/local/include/X11
29738 /usr/local/include/X11R6
29739 /usr/local/include/X11R5
29740 /usr/local/include/X11R4
29741
29742 /usr/X386/include
29743 /usr/x386/include
29744 /usr/XFree86/include/X11
29745
29746 /usr/include
29747 /usr/local/include
29748 /usr/unsupported/include
29749 /usr/athena/include
29750 /usr/local/x11r5/include
29751 /usr/lpp/Xamples/include
29752
29753 /usr/openwin/include
29754 /usr/openwin/share/include'
29755
29756 if test "$ac_x_includes" = no; then
29757 # Guess where to find include files, by looking for a specified header file.
29758 # First, try using that file with no special directory specified.
29759 cat >conftest.$ac_ext <<_ACEOF
29760 /* confdefs.h. */
29761 _ACEOF
29762 cat confdefs.h >>conftest.$ac_ext
29763 cat >>conftest.$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 #include <X11/Intrinsic.h>
29766 _ACEOF
29767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } >/dev/null; then
29775 if test -s conftest.err; then
29776 ac_cpp_err=$ac_c_preproc_warn_flag
29777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29778 else
29779 ac_cpp_err=
29780 fi
29781 else
29782 ac_cpp_err=yes
29783 fi
29784 if test -z "$ac_cpp_err"; then
29785 # We can compile using X headers with no special include directory.
29786 ac_x_includes=
29787 else
29788 echo "$as_me: failed program was:" >&5
29789 sed 's/^/| /' conftest.$ac_ext >&5
29790
29791 for ac_dir in $ac_x_header_dirs; do
29792 if test -r "$ac_dir/X11/Intrinsic.h"; then
29793 ac_x_includes=$ac_dir
29794 break
29795 fi
29796 done
29797 fi
29798 rm -f conftest.err conftest.$ac_ext
29799 fi # $ac_x_includes = no
29800
29801 if test "$ac_x_libraries" = no; then
29802 # Check for the libraries.
29803 # See if we find them without any special options.
29804 # Don't add to $LIBS permanently.
29805 ac_save_LIBS=$LIBS
29806 LIBS="-lXt $LIBS"
29807 cat >conftest.$ac_ext <<_ACEOF
29808 /* confdefs.h. */
29809 _ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813 #include <X11/Intrinsic.h>
29814 int
29815 main ()
29816 {
29817 XtMalloc (0)
29818 ;
29819 return 0;
29820 }
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>conftest.er1
29825 ac_status=$?
29826 grep -v '^ *+' conftest.er1 >conftest.err
29827 rm -f conftest.er1
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833 (eval $ac_try) 2>&5
29834 ac_status=$?
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); }; } &&
29837 { ac_try='test -s conftest$ac_exeext'
29838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29839 (eval $ac_try) 2>&5
29840 ac_status=$?
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); }; }; then
29843 LIBS=$ac_save_LIBS
29844 # We can link X programs with no special library path.
29845 ac_x_libraries=
29846 else
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.$ac_ext >&5
29849
29850 LIBS=$ac_save_LIBS
29851 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29852 do
29853 # Don't even attempt the hair of trying to link an X program!
29854 for ac_extension in a so sl; do
29855 if test -r $ac_dir/libXt.$ac_extension; then
29856 ac_x_libraries=$ac_dir
29857 break 2
29858 fi
29859 done
29860 done
29861 fi
29862 rm -f conftest.err conftest.$ac_objext \
29863 conftest$ac_exeext conftest.$ac_ext
29864 fi # $ac_x_libraries = no
29865
29866 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29867 # Didn't find X anywhere. Cache the known absence of X.
29868 ac_cv_have_x="have_x=no"
29869 else
29870 # Record where we found X for the cache.
29871 ac_cv_have_x="have_x=yes \
29872 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29873 fi
29874 fi
29875
29876 fi
29877 eval "$ac_cv_have_x"
29878 fi # $with_x != no
29879
29880 if test "$have_x" != yes; then
29881 echo "$as_me:$LINENO: result: $have_x" >&5
29882 echo "${ECHO_T}$have_x" >&6
29883 no_x=yes
29884 else
29885 # If each of the values was on the command line, it overrides each guess.
29886 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29887 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29888 # Update the cache value to reflect the command line values.
29889 ac_cv_have_x="have_x=yes \
29890 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29891 # It might be that x_includes is empty (headers are found in the
29892 # standard search path. Then output the corresponding message
29893 ac_out_x_includes=$x_includes
29894 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29895 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29896 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29897 fi
29898
29899 fi
29900 if test "$no_x" = yes; then
29901 # Not all programs may use this symbol, but it does not hurt to define it.
29902
29903 cat >>confdefs.h <<\_ACEOF
29904 #define X_DISPLAY_MISSING 1
29905 _ACEOF
29906
29907 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29908 else
29909 if test -n "$x_includes"; then
29910 X_CFLAGS="$X_CFLAGS -I$x_includes"
29911 fi
29912
29913 # It would also be nice to do this for all -L options, not just this one.
29914 if test -n "$x_libraries"; then
29915 X_LIBS="$X_LIBS -L$x_libraries"
29916 # For Solaris; some versions of Sun CC require a space after -R and
29917 # others require no space. Words are not sufficient . . . .
29918 case `(uname -sr) 2>/dev/null` in
29919 "SunOS 5"*)
29920 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29921 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29922 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29923 cat >conftest.$ac_ext <<_ACEOF
29924 /* confdefs.h. */
29925 _ACEOF
29926 cat confdefs.h >>conftest.$ac_ext
29927 cat >>conftest.$ac_ext <<_ACEOF
29928 /* end confdefs.h. */
29929
29930 int
29931 main ()
29932 {
29933
29934 ;
29935 return 0;
29936 }
29937 _ACEOF
29938 rm -f conftest.$ac_objext conftest$ac_exeext
29939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29940 (eval $ac_link) 2>conftest.er1
29941 ac_status=$?
29942 grep -v '^ *+' conftest.er1 >conftest.err
29943 rm -f conftest.er1
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } &&
29947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 (eval $ac_try) 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; } &&
29953 { ac_try='test -s conftest$ac_exeext'
29954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29955 (eval $ac_try) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); }; }; then
29959 ac_R_nospace=yes
29960 else
29961 echo "$as_me: failed program was:" >&5
29962 sed 's/^/| /' conftest.$ac_ext >&5
29963
29964 ac_R_nospace=no
29965 fi
29966 rm -f conftest.err conftest.$ac_objext \
29967 conftest$ac_exeext conftest.$ac_ext
29968 if test $ac_R_nospace = yes; then
29969 echo "$as_me:$LINENO: result: no" >&5
29970 echo "${ECHO_T}no" >&6
29971 X_LIBS="$X_LIBS -R$x_libraries"
29972 else
29973 LIBS="$ac_xsave_LIBS -R $x_libraries"
29974 cat >conftest.$ac_ext <<_ACEOF
29975 /* confdefs.h. */
29976 _ACEOF
29977 cat confdefs.h >>conftest.$ac_ext
29978 cat >>conftest.$ac_ext <<_ACEOF
29979 /* end confdefs.h. */
29980
29981 int
29982 main ()
29983 {
29984
29985 ;
29986 return 0;
29987 }
29988 _ACEOF
29989 rm -f conftest.$ac_objext conftest$ac_exeext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29991 (eval $ac_link) 2>conftest.er1
29992 ac_status=$?
29993 grep -v '^ *+' conftest.er1 >conftest.err
29994 rm -f conftest.er1
29995 cat conftest.err >&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30001 ac_status=$?
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_R_space=yes
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 ac_R_space=no
30016 fi
30017 rm -f conftest.err conftest.$ac_objext \
30018 conftest$ac_exeext conftest.$ac_ext
30019 if test $ac_R_space = yes; then
30020 echo "$as_me:$LINENO: result: yes" >&5
30021 echo "${ECHO_T}yes" >&6
30022 X_LIBS="$X_LIBS -R $x_libraries"
30023 else
30024 echo "$as_me:$LINENO: result: neither works" >&5
30025 echo "${ECHO_T}neither works" >&6
30026 fi
30027 fi
30028 LIBS=$ac_xsave_LIBS
30029 esac
30030 fi
30031
30032 # Check for system-dependent libraries X programs must link with.
30033 # Do this before checking for the system-independent R6 libraries
30034 # (-lICE), since we may need -lsocket or whatever for X linking.
30035
30036 if test "$ISC" = yes; then
30037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30038 else
30039 # Martyn Johnson says this is needed for Ultrix, if the X
30040 # libraries were built with DECnet support. And Karl Berry says
30041 # the Alpha needs dnet_stub (dnet does not exist).
30042 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30043 cat >conftest.$ac_ext <<_ACEOF
30044 /* confdefs.h. */
30045 _ACEOF
30046 cat confdefs.h >>conftest.$ac_ext
30047 cat >>conftest.$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30049
30050 /* Override any gcc2 internal prototype to avoid an error. */
30051 #ifdef __cplusplus
30052 extern "C"
30053 #endif
30054 /* We use char because int might match the return type of a gcc2
30055 builtin and then its argument prototype would still apply. */
30056 char XOpenDisplay ();
30057 int
30058 main ()
30059 {
30060 XOpenDisplay ();
30061 ;
30062 return 0;
30063 }
30064 _ACEOF
30065 rm -f conftest.$ac_objext conftest$ac_exeext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30067 (eval $ac_link) 2>conftest.er1
30068 ac_status=$?
30069 grep -v '^ *+' conftest.er1 >conftest.err
30070 rm -f conftest.er1
30071 cat conftest.err >&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } &&
30074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30076 (eval $ac_try) 2>&5
30077 ac_status=$?
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); }; } &&
30080 { ac_try='test -s conftest$ac_exeext'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30083 ac_status=$?
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30086 :
30087 else
30088 echo "$as_me: failed program was:" >&5
30089 sed 's/^/| /' conftest.$ac_ext >&5
30090
30091 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30092 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30093 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 else
30096 ac_check_lib_save_LIBS=$LIBS
30097 LIBS="-ldnet $LIBS"
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104
30105 /* Override any gcc2 internal prototype to avoid an error. */
30106 #ifdef __cplusplus
30107 extern "C"
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 dnet_ntoa ();
30112 int
30113 main ()
30114 {
30115 dnet_ntoa ();
30116 ;
30117 return 0;
30118 }
30119 _ACEOF
30120 rm -f conftest.$ac_objext conftest$ac_exeext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>conftest.er1
30123 ac_status=$?
30124 grep -v '^ *+' conftest.er1 >conftest.err
30125 rm -f conftest.er1
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30132 ac_status=$?
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; } &&
30135 { ac_try='test -s conftest$ac_exeext'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30138 ac_status=$?
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30141 ac_cv_lib_dnet_dnet_ntoa=yes
30142 else
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.$ac_ext >&5
30145
30146 ac_cv_lib_dnet_dnet_ntoa=no
30147 fi
30148 rm -f conftest.err conftest.$ac_objext \
30149 conftest$ac_exeext conftest.$ac_ext
30150 LIBS=$ac_check_lib_save_LIBS
30151 fi
30152 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30156 fi
30157
30158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30159 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30162 echo $ECHO_N "(cached) $ECHO_C" >&6
30163 else
30164 ac_check_lib_save_LIBS=$LIBS
30165 LIBS="-ldnet_stub $LIBS"
30166 cat >conftest.$ac_ext <<_ACEOF
30167 /* confdefs.h. */
30168 _ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30172
30173 /* Override any gcc2 internal prototype to avoid an error. */
30174 #ifdef __cplusplus
30175 extern "C"
30176 #endif
30177 /* We use char because int might match the return type of a gcc2
30178 builtin and then its argument prototype would still apply. */
30179 char dnet_ntoa ();
30180 int
30181 main ()
30182 {
30183 dnet_ntoa ();
30184 ;
30185 return 0;
30186 }
30187 _ACEOF
30188 rm -f conftest.$ac_objext conftest$ac_exeext
30189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30190 (eval $ac_link) 2>conftest.er1
30191 ac_status=$?
30192 grep -v '^ *+' conftest.er1 >conftest.err
30193 rm -f conftest.er1
30194 cat conftest.err >&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199 (eval $ac_try) 2>&5
30200 ac_status=$?
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); }; } &&
30203 { ac_try='test -s conftest$ac_exeext'
30204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30205 (eval $ac_try) 2>&5
30206 ac_status=$?
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); }; }; then
30209 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30210 else
30211 echo "$as_me: failed program was:" >&5
30212 sed 's/^/| /' conftest.$ac_ext >&5
30213
30214 ac_cv_lib_dnet_stub_dnet_ntoa=no
30215 fi
30216 rm -f conftest.err conftest.$ac_objext \
30217 conftest$ac_exeext conftest.$ac_ext
30218 LIBS=$ac_check_lib_save_LIBS
30219 fi
30220 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30224 fi
30225
30226 fi
30227 fi
30228 rm -f conftest.err conftest.$ac_objext \
30229 conftest$ac_exeext conftest.$ac_ext
30230 LIBS="$ac_xsave_LIBS"
30231
30232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30233 # to get the SysV transport functions.
30234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30235 # needs -lnsl.
30236 # The nsl library prevents programs from opening the X display
30237 # on Irix 5.2, according to T.E. Dickey.
30238 # The functions gethostbyname, getservbyname, and inet_addr are
30239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30240 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30241 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30242 if test "${ac_cv_func_gethostbyname+set}" = set; then
30243 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 else
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30253 #define gethostbyname innocuous_gethostbyname
30254
30255 /* System header to define __stub macros and hopefully few prototypes,
30256 which can conflict with char gethostbyname (); below.
30257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30258 <limits.h> exists even on freestanding compilers. */
30259
30260 #ifdef __STDC__
30261 # include <limits.h>
30262 #else
30263 # include <assert.h>
30264 #endif
30265
30266 #undef gethostbyname
30267
30268 /* Override any gcc2 internal prototype to avoid an error. */
30269 #ifdef __cplusplus
30270 extern "C"
30271 {
30272 #endif
30273 /* We use char because int might match the return type of a gcc2
30274 builtin and then its argument prototype would still apply. */
30275 char gethostbyname ();
30276 /* The GNU C library defines this for functions which it implements
30277 to always fail with ENOSYS. Some functions are actually named
30278 something starting with __ and the normal name is an alias. */
30279 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30280 choke me
30281 #else
30282 char (*f) () = gethostbyname;
30283 #endif
30284 #ifdef __cplusplus
30285 }
30286 #endif
30287
30288 int
30289 main ()
30290 {
30291 return f != gethostbyname;
30292 ;
30293 return 0;
30294 }
30295 _ACEOF
30296 rm -f conftest.$ac_objext conftest$ac_exeext
30297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30298 (eval $ac_link) 2>conftest.er1
30299 ac_status=$?
30300 grep -v '^ *+' conftest.er1 >conftest.err
30301 rm -f conftest.er1
30302 cat conftest.err >&5
30303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304 (exit $ac_status); } &&
30305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30308 ac_status=$?
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; } &&
30311 { ac_try='test -s conftest$ac_exeext'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; }; then
30317 ac_cv_func_gethostbyname=yes
30318 else
30319 echo "$as_me: failed program was:" >&5
30320 sed 's/^/| /' conftest.$ac_ext >&5
30321
30322 ac_cv_func_gethostbyname=no
30323 fi
30324 rm -f conftest.err conftest.$ac_objext \
30325 conftest$ac_exeext conftest.$ac_ext
30326 fi
30327 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30328 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30329
30330 if test $ac_cv_func_gethostbyname = no; then
30331 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30332 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30333 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30334 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 else
30336 ac_check_lib_save_LIBS=$LIBS
30337 LIBS="-lnsl $LIBS"
30338 cat >conftest.$ac_ext <<_ACEOF
30339 /* confdefs.h. */
30340 _ACEOF
30341 cat confdefs.h >>conftest.$ac_ext
30342 cat >>conftest.$ac_ext <<_ACEOF
30343 /* end confdefs.h. */
30344
30345 /* Override any gcc2 internal prototype to avoid an error. */
30346 #ifdef __cplusplus
30347 extern "C"
30348 #endif
30349 /* We use char because int might match the return type of a gcc2
30350 builtin and then its argument prototype would still apply. */
30351 char gethostbyname ();
30352 int
30353 main ()
30354 {
30355 gethostbyname ();
30356 ;
30357 return 0;
30358 }
30359 _ACEOF
30360 rm -f conftest.$ac_objext conftest$ac_exeext
30361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30362 (eval $ac_link) 2>conftest.er1
30363 ac_status=$?
30364 grep -v '^ *+' conftest.er1 >conftest.err
30365 rm -f conftest.er1
30366 cat conftest.err >&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); } &&
30369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30372 ac_status=$?
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; } &&
30375 { ac_try='test -s conftest$ac_exeext'
30376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30377 (eval $ac_try) 2>&5
30378 ac_status=$?
30379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30380 (exit $ac_status); }; }; then
30381 ac_cv_lib_nsl_gethostbyname=yes
30382 else
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30385
30386 ac_cv_lib_nsl_gethostbyname=no
30387 fi
30388 rm -f conftest.err conftest.$ac_objext \
30389 conftest$ac_exeext conftest.$ac_ext
30390 LIBS=$ac_check_lib_save_LIBS
30391 fi
30392 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30393 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30394 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30395 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30396 fi
30397
30398 if test $ac_cv_lib_nsl_gethostbyname = no; then
30399 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30400 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30401 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30402 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404 ac_check_lib_save_LIBS=$LIBS
30405 LIBS="-lbsd $LIBS"
30406 cat >conftest.$ac_ext <<_ACEOF
30407 /* confdefs.h. */
30408 _ACEOF
30409 cat confdefs.h >>conftest.$ac_ext
30410 cat >>conftest.$ac_ext <<_ACEOF
30411 /* end confdefs.h. */
30412
30413 /* Override any gcc2 internal prototype to avoid an error. */
30414 #ifdef __cplusplus
30415 extern "C"
30416 #endif
30417 /* We use char because int might match the return type of a gcc2
30418 builtin and then its argument prototype would still apply. */
30419 char gethostbyname ();
30420 int
30421 main ()
30422 {
30423 gethostbyname ();
30424 ;
30425 return 0;
30426 }
30427 _ACEOF
30428 rm -f conftest.$ac_objext conftest$ac_exeext
30429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30430 (eval $ac_link) 2>conftest.er1
30431 ac_status=$?
30432 grep -v '^ *+' conftest.er1 >conftest.err
30433 rm -f conftest.er1
30434 cat conftest.err >&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); } &&
30437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; } &&
30443 { ac_try='test -s conftest$ac_exeext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30446 ac_status=$?
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 ac_cv_lib_bsd_gethostbyname=yes
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 ac_cv_lib_bsd_gethostbyname=no
30455 fi
30456 rm -f conftest.err conftest.$ac_objext \
30457 conftest$ac_exeext conftest.$ac_ext
30458 LIBS=$ac_check_lib_save_LIBS
30459 fi
30460 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30461 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30462 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30464 fi
30465
30466 fi
30467 fi
30468
30469 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30470 # socket/setsockopt and other routines are undefined under SCO ODT
30471 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30472 # on later versions), says Simon Leinen: it contains gethostby*
30473 # variants that don't use the name server (or something). -lsocket
30474 # must be given before -lnsl if both are needed. We assume that
30475 # if connect needs -lnsl, so does gethostbyname.
30476 echo "$as_me:$LINENO: checking for connect" >&5
30477 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30478 if test "${ac_cv_func_connect+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 else
30481 cat >conftest.$ac_ext <<_ACEOF
30482 /* confdefs.h. */
30483 _ACEOF
30484 cat confdefs.h >>conftest.$ac_ext
30485 cat >>conftest.$ac_ext <<_ACEOF
30486 /* end confdefs.h. */
30487 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30489 #define connect innocuous_connect
30490
30491 /* System header to define __stub macros and hopefully few prototypes,
30492 which can conflict with char connect (); below.
30493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30494 <limits.h> exists even on freestanding compilers. */
30495
30496 #ifdef __STDC__
30497 # include <limits.h>
30498 #else
30499 # include <assert.h>
30500 #endif
30501
30502 #undef connect
30503
30504 /* Override any gcc2 internal prototype to avoid an error. */
30505 #ifdef __cplusplus
30506 extern "C"
30507 {
30508 #endif
30509 /* We use char because int might match the return type of a gcc2
30510 builtin and then its argument prototype would still apply. */
30511 char connect ();
30512 /* The GNU C library defines this for functions which it implements
30513 to always fail with ENOSYS. Some functions are actually named
30514 something starting with __ and the normal name is an alias. */
30515 #if defined (__stub_connect) || defined (__stub___connect)
30516 choke me
30517 #else
30518 char (*f) () = connect;
30519 #endif
30520 #ifdef __cplusplus
30521 }
30522 #endif
30523
30524 int
30525 main ()
30526 {
30527 return f != connect;
30528 ;
30529 return 0;
30530 }
30531 _ACEOF
30532 rm -f conftest.$ac_objext conftest$ac_exeext
30533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30534 (eval $ac_link) 2>conftest.er1
30535 ac_status=$?
30536 grep -v '^ *+' conftest.er1 >conftest.err
30537 rm -f conftest.er1
30538 cat conftest.err >&5
30539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540 (exit $ac_status); } &&
30541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30543 (eval $ac_try) 2>&5
30544 ac_status=$?
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; } &&
30547 { ac_try='test -s conftest$ac_exeext'
30548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30549 (eval $ac_try) 2>&5
30550 ac_status=$?
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; }; then
30553 ac_cv_func_connect=yes
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30557
30558 ac_cv_func_connect=no
30559 fi
30560 rm -f conftest.err conftest.$ac_objext \
30561 conftest$ac_exeext conftest.$ac_ext
30562 fi
30563 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30564 echo "${ECHO_T}$ac_cv_func_connect" >&6
30565
30566 if test $ac_cv_func_connect = no; then
30567 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30569 if test "${ac_cv_lib_socket_connect+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30571 else
30572 ac_check_lib_save_LIBS=$LIBS
30573 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30574 cat >conftest.$ac_ext <<_ACEOF
30575 /* confdefs.h. */
30576 _ACEOF
30577 cat confdefs.h >>conftest.$ac_ext
30578 cat >>conftest.$ac_ext <<_ACEOF
30579 /* end confdefs.h. */
30580
30581 /* Override any gcc2 internal prototype to avoid an error. */
30582 #ifdef __cplusplus
30583 extern "C"
30584 #endif
30585 /* We use char because int might match the return type of a gcc2
30586 builtin and then its argument prototype would still apply. */
30587 char connect ();
30588 int
30589 main ()
30590 {
30591 connect ();
30592 ;
30593 return 0;
30594 }
30595 _ACEOF
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30598 (eval $ac_link) 2>conftest.er1
30599 ac_status=$?
30600 grep -v '^ *+' conftest.er1 >conftest.err
30601 rm -f conftest.er1
30602 cat conftest.err >&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30608 ac_status=$?
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; } &&
30611 { ac_try='test -s conftest$ac_exeext'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; }; then
30617 ac_cv_lib_socket_connect=yes
30618 else
30619 echo "$as_me: failed program was:" >&5
30620 sed 's/^/| /' conftest.$ac_ext >&5
30621
30622 ac_cv_lib_socket_connect=no
30623 fi
30624 rm -f conftest.err conftest.$ac_objext \
30625 conftest$ac_exeext conftest.$ac_ext
30626 LIBS=$ac_check_lib_save_LIBS
30627 fi
30628 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30629 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30630 if test $ac_cv_lib_socket_connect = yes; then
30631 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30632 fi
30633
30634 fi
30635
30636 # Guillermo Gomez says -lposix is necessary on A/UX.
30637 echo "$as_me:$LINENO: checking for remove" >&5
30638 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30639 if test "${ac_cv_func_remove+set}" = set; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30641 else
30642 cat >conftest.$ac_ext <<_ACEOF
30643 /* confdefs.h. */
30644 _ACEOF
30645 cat confdefs.h >>conftest.$ac_ext
30646 cat >>conftest.$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30648 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30650 #define remove innocuous_remove
30651
30652 /* System header to define __stub macros and hopefully few prototypes,
30653 which can conflict with char remove (); below.
30654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30655 <limits.h> exists even on freestanding compilers. */
30656
30657 #ifdef __STDC__
30658 # include <limits.h>
30659 #else
30660 # include <assert.h>
30661 #endif
30662
30663 #undef remove
30664
30665 /* Override any gcc2 internal prototype to avoid an error. */
30666 #ifdef __cplusplus
30667 extern "C"
30668 {
30669 #endif
30670 /* We use char because int might match the return type of a gcc2
30671 builtin and then its argument prototype would still apply. */
30672 char remove ();
30673 /* The GNU C library defines this for functions which it implements
30674 to always fail with ENOSYS. Some functions are actually named
30675 something starting with __ and the normal name is an alias. */
30676 #if defined (__stub_remove) || defined (__stub___remove)
30677 choke me
30678 #else
30679 char (*f) () = remove;
30680 #endif
30681 #ifdef __cplusplus
30682 }
30683 #endif
30684
30685 int
30686 main ()
30687 {
30688 return f != remove;
30689 ;
30690 return 0;
30691 }
30692 _ACEOF
30693 rm -f conftest.$ac_objext conftest$ac_exeext
30694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30695 (eval $ac_link) 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } &&
30702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; } &&
30708 { ac_try='test -s conftest$ac_exeext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714 ac_cv_func_remove=yes
30715 else
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30718
30719 ac_cv_func_remove=no
30720 fi
30721 rm -f conftest.err conftest.$ac_objext \
30722 conftest$ac_exeext conftest.$ac_ext
30723 fi
30724 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30725 echo "${ECHO_T}$ac_cv_func_remove" >&6
30726
30727 if test $ac_cv_func_remove = no; then
30728 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30729 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30730 if test "${ac_cv_lib_posix_remove+set}" = set; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 else
30733 ac_check_lib_save_LIBS=$LIBS
30734 LIBS="-lposix $LIBS"
30735 cat >conftest.$ac_ext <<_ACEOF
30736 /* confdefs.h. */
30737 _ACEOF
30738 cat confdefs.h >>conftest.$ac_ext
30739 cat >>conftest.$ac_ext <<_ACEOF
30740 /* end confdefs.h. */
30741
30742 /* Override any gcc2 internal prototype to avoid an error. */
30743 #ifdef __cplusplus
30744 extern "C"
30745 #endif
30746 /* We use char because int might match the return type of a gcc2
30747 builtin and then its argument prototype would still apply. */
30748 char remove ();
30749 int
30750 main ()
30751 {
30752 remove ();
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759 (eval $ac_link) 2>conftest.er1
30760 ac_status=$?
30761 grep -v '^ *+' conftest.er1 >conftest.err
30762 rm -f conftest.er1
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; } &&
30772 { ac_try='test -s conftest$ac_exeext'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30778 ac_cv_lib_posix_remove=yes
30779 else
30780 echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.$ac_ext >&5
30782
30783 ac_cv_lib_posix_remove=no
30784 fi
30785 rm -f conftest.err conftest.$ac_objext \
30786 conftest$ac_exeext conftest.$ac_ext
30787 LIBS=$ac_check_lib_save_LIBS
30788 fi
30789 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30790 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30791 if test $ac_cv_lib_posix_remove = yes; then
30792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30793 fi
30794
30795 fi
30796
30797 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30798 echo "$as_me:$LINENO: checking for shmat" >&5
30799 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30800 if test "${ac_cv_func_shmat+set}" = set; then
30801 echo $ECHO_N "(cached) $ECHO_C" >&6
30802 else
30803 cat >conftest.$ac_ext <<_ACEOF
30804 /* confdefs.h. */
30805 _ACEOF
30806 cat confdefs.h >>conftest.$ac_ext
30807 cat >>conftest.$ac_ext <<_ACEOF
30808 /* end confdefs.h. */
30809 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30811 #define shmat innocuous_shmat
30812
30813 /* System header to define __stub macros and hopefully few prototypes,
30814 which can conflict with char shmat (); below.
30815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30816 <limits.h> exists even on freestanding compilers. */
30817
30818 #ifdef __STDC__
30819 # include <limits.h>
30820 #else
30821 # include <assert.h>
30822 #endif
30823
30824 #undef shmat
30825
30826 /* Override any gcc2 internal prototype to avoid an error. */
30827 #ifdef __cplusplus
30828 extern "C"
30829 {
30830 #endif
30831 /* We use char because int might match the return type of a gcc2
30832 builtin and then its argument prototype would still apply. */
30833 char shmat ();
30834 /* The GNU C library defines this for functions which it implements
30835 to always fail with ENOSYS. Some functions are actually named
30836 something starting with __ and the normal name is an alias. */
30837 #if defined (__stub_shmat) || defined (__stub___shmat)
30838 choke me
30839 #else
30840 char (*f) () = shmat;
30841 #endif
30842 #ifdef __cplusplus
30843 }
30844 #endif
30845
30846 int
30847 main ()
30848 {
30849 return f != shmat;
30850 ;
30851 return 0;
30852 }
30853 _ACEOF
30854 rm -f conftest.$ac_objext conftest$ac_exeext
30855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30856 (eval $ac_link) 2>conftest.er1
30857 ac_status=$?
30858 grep -v '^ *+' conftest.er1 >conftest.err
30859 rm -f conftest.er1
30860 cat conftest.err >&5
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); } &&
30863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30865 (eval $ac_try) 2>&5
30866 ac_status=$?
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); }; } &&
30869 { ac_try='test -s conftest$ac_exeext'
30870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30871 (eval $ac_try) 2>&5
30872 ac_status=$?
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); }; }; then
30875 ac_cv_func_shmat=yes
30876 else
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.$ac_ext >&5
30879
30880 ac_cv_func_shmat=no
30881 fi
30882 rm -f conftest.err conftest.$ac_objext \
30883 conftest$ac_exeext conftest.$ac_ext
30884 fi
30885 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30886 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30887
30888 if test $ac_cv_func_shmat = no; then
30889 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30890 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30891 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30892 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 else
30894 ac_check_lib_save_LIBS=$LIBS
30895 LIBS="-lipc $LIBS"
30896 cat >conftest.$ac_ext <<_ACEOF
30897 /* confdefs.h. */
30898 _ACEOF
30899 cat confdefs.h >>conftest.$ac_ext
30900 cat >>conftest.$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30902
30903 /* Override any gcc2 internal prototype to avoid an error. */
30904 #ifdef __cplusplus
30905 extern "C"
30906 #endif
30907 /* We use char because int might match the return type of a gcc2
30908 builtin and then its argument prototype would still apply. */
30909 char shmat ();
30910 int
30911 main ()
30912 {
30913 shmat ();
30914 ;
30915 return 0;
30916 }
30917 _ACEOF
30918 rm -f conftest.$ac_objext conftest$ac_exeext
30919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30920 (eval $ac_link) 2>conftest.er1
30921 ac_status=$?
30922 grep -v '^ *+' conftest.er1 >conftest.err
30923 rm -f conftest.er1
30924 cat conftest.err >&5
30925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30926 (exit $ac_status); } &&
30927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30929 (eval $ac_try) 2>&5
30930 ac_status=$?
30931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30932 (exit $ac_status); }; } &&
30933 { ac_try='test -s conftest$ac_exeext'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; }; then
30939 ac_cv_lib_ipc_shmat=yes
30940 else
30941 echo "$as_me: failed program was:" >&5
30942 sed 's/^/| /' conftest.$ac_ext >&5
30943
30944 ac_cv_lib_ipc_shmat=no
30945 fi
30946 rm -f conftest.err conftest.$ac_objext \
30947 conftest$ac_exeext conftest.$ac_ext
30948 LIBS=$ac_check_lib_save_LIBS
30949 fi
30950 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30951 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30952 if test $ac_cv_lib_ipc_shmat = yes; then
30953 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30954 fi
30955
30956 fi
30957 fi
30958
30959 # Check for libraries that X11R6 Xt/Xaw programs need.
30960 ac_save_LDFLAGS=$LDFLAGS
30961 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30962 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30963 # check for ICE first), but we must link in the order -lSM -lICE or
30964 # we get undefined symbols. So assume we have SM if we have ICE.
30965 # These have to be linked with before -lX11, unlike the other
30966 # libraries we check for below, so use a different variable.
30967 # John Interrante, Karl Berry
30968 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30969 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30970 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30971 echo $ECHO_N "(cached) $ECHO_C" >&6
30972 else
30973 ac_check_lib_save_LIBS=$LIBS
30974 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30975 cat >conftest.$ac_ext <<_ACEOF
30976 /* confdefs.h. */
30977 _ACEOF
30978 cat confdefs.h >>conftest.$ac_ext
30979 cat >>conftest.$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30981
30982 /* Override any gcc2 internal prototype to avoid an error. */
30983 #ifdef __cplusplus
30984 extern "C"
30985 #endif
30986 /* We use char because int might match the return type of a gcc2
30987 builtin and then its argument prototype would still apply. */
30988 char IceConnectionNumber ();
30989 int
30990 main ()
30991 {
30992 IceConnectionNumber ();
30993 ;
30994 return 0;
30995 }
30996 _ACEOF
30997 rm -f conftest.$ac_objext conftest$ac_exeext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30999 (eval $ac_link) 2>conftest.er1
31000 ac_status=$?
31001 grep -v '^ *+' conftest.er1 >conftest.err
31002 rm -f conftest.er1
31003 cat conftest.err >&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } &&
31006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31008 (eval $ac_try) 2>&5
31009 ac_status=$?
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); }; } &&
31012 { ac_try='test -s conftest$ac_exeext'
31013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31014 (eval $ac_try) 2>&5
31015 ac_status=$?
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; }; then
31018 ac_cv_lib_ICE_IceConnectionNumber=yes
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023 ac_cv_lib_ICE_IceConnectionNumber=no
31024 fi
31025 rm -f conftest.err conftest.$ac_objext \
31026 conftest$ac_exeext conftest.$ac_ext
31027 LIBS=$ac_check_lib_save_LIBS
31028 fi
31029 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31030 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31031 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31032 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31033 fi
31034
31035 LDFLAGS=$ac_save_LDFLAGS
31036
31037 fi
31038
31039
31040 if test "$no_x" = "yes"; then
31041 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31042 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31043 { (exit 1); exit 1; }; }
31044 fi
31045
31046 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31047 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31048 AFMINSTALL=afminstall
31049 COMPILED_X_PROGRAM=0
31050
31051 fi
31052
31053 if test "$wxUSE_X11" = 1; then
31054 if test "$wxUSE_NANOX" = "yes"; then
31055 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31056 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31057 if test "x$MICROWIN" = x ; then
31058 echo "$as_me:$LINENO: result: not found" >&5
31059 echo "${ECHO_T}not found" >&6
31060 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31061 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31062 { (exit 1); exit 1; }; }
31063 else
31064 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31065 echo "${ECHO_T}$MICROWIN" >&6
31066 cat >>confdefs.h <<\_ACEOF
31067 #define wxUSE_NANOX 1
31068 _ACEOF
31069
31070 fi
31071 fi
31072
31073 if test "$wxUSE_UNICODE" = "yes"; then
31074
31075
31076 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31077 if test -n "$ac_tool_prefix"; then
31078 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31079 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31080 echo "$as_me:$LINENO: checking for $ac_word" >&5
31081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31082 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085 case $PKG_CONFIG in
31086 [\\/]* | ?:[\\/]*)
31087 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31088 ;;
31089 *)
31090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31091 for as_dir in $PATH
31092 do
31093 IFS=$as_save_IFS
31094 test -z "$as_dir" && as_dir=.
31095 for ac_exec_ext in '' $ac_executable_extensions; do
31096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31097 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31099 break 2
31100 fi
31101 done
31102 done
31103
31104 ;;
31105 esac
31106 fi
31107 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31108
31109 if test -n "$PKG_CONFIG"; then
31110 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31111 echo "${ECHO_T}$PKG_CONFIG" >&6
31112 else
31113 echo "$as_me:$LINENO: result: no" >&5
31114 echo "${ECHO_T}no" >&6
31115 fi
31116
31117 fi
31118 if test -z "$ac_cv_path_PKG_CONFIG"; then
31119 ac_pt_PKG_CONFIG=$PKG_CONFIG
31120 # Extract the first word of "pkg-config", so it can be a program name with args.
31121 set dummy pkg-config; ac_word=$2
31122 echo "$as_me:$LINENO: checking for $ac_word" >&5
31123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31124 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31125 echo $ECHO_N "(cached) $ECHO_C" >&6
31126 else
31127 case $ac_pt_PKG_CONFIG in
31128 [\\/]* | ?:[\\/]*)
31129 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31130 ;;
31131 *)
31132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31133 for as_dir in $PATH
31134 do
31135 IFS=$as_save_IFS
31136 test -z "$as_dir" && as_dir=.
31137 for ac_exec_ext in '' $ac_executable_extensions; do
31138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31139 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31141 break 2
31142 fi
31143 done
31144 done
31145
31146 ;;
31147 esac
31148 fi
31149 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31150
31151 if test -n "$ac_pt_PKG_CONFIG"; then
31152 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31153 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31154 else
31155 echo "$as_me:$LINENO: result: no" >&5
31156 echo "${ECHO_T}no" >&6
31157 fi
31158
31159 PKG_CONFIG=$ac_pt_PKG_CONFIG
31160 else
31161 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31162 fi
31163
31164 fi
31165 if test -n "$PKG_CONFIG"; then
31166 _pkg_min_version=0.9.0
31167 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31168 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31169 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31170 echo "$as_me:$LINENO: result: yes" >&5
31171 echo "${ECHO_T}yes" >&6
31172 else
31173 echo "$as_me:$LINENO: result: no" >&5
31174 echo "${ECHO_T}no" >&6
31175 PKG_CONFIG=""
31176 fi
31177
31178 fi
31179
31180
31181 pkg_failed=no
31182 echo "$as_me:$LINENO: checking for PANGOX" >&5
31183 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31184
31185 if test -n "$PKG_CONFIG"; then
31186 if test -n "$PANGOX_CFLAGS"; then
31187 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31188 else
31189 if test -n "$PKG_CONFIG" && \
31190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31191 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; then
31195 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31196 else
31197 pkg_failed=yes
31198 fi
31199 fi
31200 else
31201 pkg_failed=untried
31202 fi
31203 if test -n "$PKG_CONFIG"; then
31204 if test -n "$PANGOX_LIBS"; then
31205 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31206 else
31207 if test -n "$PKG_CONFIG" && \
31208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31209 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; then
31213 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31214 else
31215 pkg_failed=yes
31216 fi
31217 fi
31218 else
31219 pkg_failed=untried
31220 fi
31221
31222
31223
31224 if test $pkg_failed = yes; then
31225
31226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31227 _pkg_short_errors_supported=yes
31228 else
31229 _pkg_short_errors_supported=no
31230 fi
31231 if test $_pkg_short_errors_supported = yes; then
31232 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31233 else
31234 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31235 fi
31236 # Put the nasty error message in config.log where it belongs
31237 echo "$PANGOX_PKG_ERRORS" >&5
31238
31239
31240 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31241 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31242 { (exit 1); exit 1; }; }
31243
31244
31245 elif test $pkg_failed = untried; then
31246
31247 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31248 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31249 { (exit 1); exit 1; }; }
31250
31251
31252 else
31253 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31254 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31255 echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6
31257
31258 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31259 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31260 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31261
31262 fi
31263
31264 pkg_failed=no
31265 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31266 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31267
31268 if test -n "$PKG_CONFIG"; then
31269 if test -n "$PANGOFT2_CFLAGS"; then
31270 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31271 else
31272 if test -n "$PKG_CONFIG" && \
31273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31274 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31275 ac_status=$?
31276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31277 (exit $ac_status); }; then
31278 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31279 else
31280 pkg_failed=yes
31281 fi
31282 fi
31283 else
31284 pkg_failed=untried
31285 fi
31286 if test -n "$PKG_CONFIG"; then
31287 if test -n "$PANGOFT2_LIBS"; then
31288 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31289 else
31290 if test -n "$PKG_CONFIG" && \
31291 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31292 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31293 ac_status=$?
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; then
31296 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31297 else
31298 pkg_failed=yes
31299 fi
31300 fi
31301 else
31302 pkg_failed=untried
31303 fi
31304
31305
31306
31307 if test $pkg_failed = yes; then
31308
31309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31310 _pkg_short_errors_supported=yes
31311 else
31312 _pkg_short_errors_supported=no
31313 fi
31314 if test $_pkg_short_errors_supported = yes; then
31315 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31316 else
31317 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31318 fi
31319 # Put the nasty error message in config.log where it belongs
31320 echo "$PANGOFT2_PKG_ERRORS" >&5
31321
31322
31323 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31324 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31325 wxUSE_PRINTING_ARCHITECTURE="no"
31326
31327
31328 elif test $pkg_failed = untried; then
31329
31330 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31331 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31332 wxUSE_PRINTING_ARCHITECTURE="no"
31333
31334
31335 else
31336 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31337 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31338 echo "$as_me:$LINENO: result: yes" >&5
31339 echo "${ECHO_T}yes" >&6
31340
31341 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31342 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31343 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31344
31345 fi
31346
31347 pkg_failed=no
31348 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31349 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31350
31351 if test -n "$PKG_CONFIG"; then
31352 if test -n "$PANGOXFT_CFLAGS"; then
31353 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31354 else
31355 if test -n "$PKG_CONFIG" && \
31356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31357 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31358 ac_status=$?
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; then
31361 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31362 else
31363 pkg_failed=yes
31364 fi
31365 fi
31366 else
31367 pkg_failed=untried
31368 fi
31369 if test -n "$PKG_CONFIG"; then
31370 if test -n "$PANGOXFT_LIBS"; then
31371 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31372 else
31373 if test -n "$PKG_CONFIG" && \
31374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31375 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31376 ac_status=$?
31377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31378 (exit $ac_status); }; then
31379 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31380 else
31381 pkg_failed=yes
31382 fi
31383 fi
31384 else
31385 pkg_failed=untried
31386 fi
31387
31388
31389
31390 if test $pkg_failed = yes; then
31391
31392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31393 _pkg_short_errors_supported=yes
31394 else
31395 _pkg_short_errors_supported=no
31396 fi
31397 if test $_pkg_short_errors_supported = yes; then
31398 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31399 else
31400 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31401 fi
31402 # Put the nasty error message in config.log where it belongs
31403 echo "$PANGOXFT_PKG_ERRORS" >&5
31404
31405
31406 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31407 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31408
31409
31410 elif test $pkg_failed = untried; then
31411
31412 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31413 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31414
31415
31416 else
31417 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31418 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31419 echo "$as_me:$LINENO: result: yes" >&5
31420 echo "${ECHO_T}yes" >&6
31421
31422 cat >>confdefs.h <<\_ACEOF
31423 #define HAVE_PANGO_XFT 1
31424 _ACEOF
31425
31426 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31427 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31428 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31429
31430 fi
31431 save_LIBS="$LIBS"
31432 LIBS="$LIBS $PANGOX_LIBS"
31433
31434 for ac_func in pango_font_family_is_monospace
31435 do
31436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31437 echo "$as_me:$LINENO: checking for $ac_func" >&5
31438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31439 if eval "test \"\${$as_ac_var+set}\" = set"; then
31440 echo $ECHO_N "(cached) $ECHO_C" >&6
31441 else
31442 cat >conftest.$ac_ext <<_ACEOF
31443 /* confdefs.h. */
31444 _ACEOF
31445 cat confdefs.h >>conftest.$ac_ext
31446 cat >>conftest.$ac_ext <<_ACEOF
31447 /* end confdefs.h. */
31448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31450 #define $ac_func innocuous_$ac_func
31451
31452 /* System header to define __stub macros and hopefully few prototypes,
31453 which can conflict with char $ac_func (); below.
31454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31455 <limits.h> exists even on freestanding compilers. */
31456
31457 #ifdef __STDC__
31458 # include <limits.h>
31459 #else
31460 # include <assert.h>
31461 #endif
31462
31463 #undef $ac_func
31464
31465 /* Override any gcc2 internal prototype to avoid an error. */
31466 #ifdef __cplusplus
31467 extern "C"
31468 {
31469 #endif
31470 /* We use char because int might match the return type of a gcc2
31471 builtin and then its argument prototype would still apply. */
31472 char $ac_func ();
31473 /* The GNU C library defines this for functions which it implements
31474 to always fail with ENOSYS. Some functions are actually named
31475 something starting with __ and the normal name is an alias. */
31476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31477 choke me
31478 #else
31479 char (*f) () = $ac_func;
31480 #endif
31481 #ifdef __cplusplus
31482 }
31483 #endif
31484
31485 int
31486 main ()
31487 {
31488 return f != $ac_func;
31489 ;
31490 return 0;
31491 }
31492 _ACEOF
31493 rm -f conftest.$ac_objext conftest$ac_exeext
31494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31495 (eval $ac_link) 2>conftest.er1
31496 ac_status=$?
31497 grep -v '^ *+' conftest.er1 >conftest.err
31498 rm -f conftest.er1
31499 cat conftest.err >&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; } &&
31508 { ac_try='test -s conftest$ac_exeext'
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31511 ac_status=$?
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; }; then
31514 eval "$as_ac_var=yes"
31515 else
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31518
31519 eval "$as_ac_var=no"
31520 fi
31521 rm -f conftest.err conftest.$ac_objext \
31522 conftest$ac_exeext conftest.$ac_ext
31523 fi
31524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31526 if test `eval echo '${'$as_ac_var'}'` = yes; then
31527 cat >>confdefs.h <<_ACEOF
31528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31529 _ACEOF
31530
31531 fi
31532 done
31533
31534 LIBS="$save_LIBS"
31535 fi
31536
31537 wxUSE_UNIVERSAL="yes"
31538
31539 if test "$wxUSE_NANOX" = "yes"; then
31540 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31541 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"
31542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31543 else
31544 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31545 fi
31546
31547 TOOLKIT=X11
31548 GUIDIST=X11_DIST
31549 fi
31550
31551 if test "$wxUSE_MOTIF" = 1; then
31552 if test "$wxUSE_UNICODE" = "yes"; then
31553 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31554 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31555 { (exit 1); exit 1; }; }
31556 fi
31557
31558 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31559 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31560
31561 ac_find_includes=
31562 for ac_dir in $SEARCH_INCLUDE /usr/include;
31563 do
31564 if test -f "$ac_dir/Xm/Xm.h"; then
31565 ac_find_includes=$ac_dir
31566 break
31567 fi
31568 done
31569
31570 if test "$ac_find_includes" != "" ; then
31571 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31572 echo "${ECHO_T}found in $ac_find_includes" >&6
31573
31574 if test "x$ac_find_includes" = "x/usr/include"; then
31575 ac_path_to_include=""
31576 else
31577 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31578 result=$?
31579 if test $result = 0; then
31580 ac_path_to_include=""
31581 else
31582 ac_path_to_include=" -I$ac_find_includes"
31583 fi
31584 fi
31585
31586 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31587 else
31588 save_CFLAGS=$CFLAGS
31589 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31590
31591 cat >conftest.$ac_ext <<_ACEOF
31592 /* confdefs.h. */
31593 _ACEOF
31594 cat confdefs.h >>conftest.$ac_ext
31595 cat >>conftest.$ac_ext <<_ACEOF
31596 /* end confdefs.h. */
31597
31598 #include <Xm/Xm.h>
31599
31600 int
31601 main ()
31602 {
31603
31604 int version;
31605 version = xmUseVersion;
31606
31607 ;
31608 return 0;
31609 }
31610 _ACEOF
31611 rm -f conftest.$ac_objext
31612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31613 (eval $ac_compile) 2>conftest.er1
31614 ac_status=$?
31615 grep -v '^ *+' conftest.er1 >conftest.err
31616 rm -f conftest.er1
31617 cat conftest.err >&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } &&
31620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31623 ac_status=$?
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; } &&
31626 { ac_try='test -s conftest.$ac_objext'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31629 ac_status=$?
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; }; then
31632
31633 echo "$as_me:$LINENO: result: found in default search path" >&5
31634 echo "${ECHO_T}found in default search path" >&6
31635 COMPILED_X_PROGRAM=1
31636
31637 else
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641
31642 echo "$as_me:$LINENO: result: no" >&5
31643 echo "${ECHO_T}no" >&6
31644 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31645 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31646 { (exit 1); exit 1; }; }
31647
31648
31649 fi
31650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31651
31652 CFLAGS=$save_CFLAGS
31653 fi
31654
31655
31656 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31657 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31658
31659 ac_find_libraries=
31660 for ac_dir in $SEARCH_LIB;
31661 do
31662 for ac_extension in a so sl dylib dll.a; do
31663 if test -f "$ac_dir/libXm.$ac_extension"; then
31664 ac_find_libraries=$ac_dir
31665 break 2
31666 fi
31667 done
31668 done
31669
31670
31671 if test "x$ac_find_libraries" != "x" ; then
31672 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31673 echo "${ECHO_T}found in $ac_find_libraries" >&6
31674
31675
31676 if test "$ac_find_libraries" = "default location"; then
31677 ac_path_to_link=""
31678 else
31679 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31680 result=$?
31681 if test $result = 0; then
31682 ac_path_to_link=""
31683 else
31684 ac_path_to_link=" -L$ac_find_libraries"
31685 fi
31686 fi
31687
31688 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31689 else
31690 save_CFLAGS=$CFLAGS
31691 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31692 save_LIBS="$LIBS"
31693 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31694
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h. */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701
31702 #include <Xm/Xm.h>
31703
31704 int
31705 main ()
31706 {
31707
31708 int version;
31709 version = xmUseVersion;
31710
31711 ;
31712 return 0;
31713 }
31714 _ACEOF
31715 rm -f conftest.$ac_objext conftest$ac_exeext
31716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31717 (eval $ac_link) 2>conftest.er1
31718 ac_status=$?
31719 grep -v '^ *+' conftest.er1 >conftest.err
31720 rm -f conftest.er1
31721 cat conftest.err >&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); } &&
31724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 (eval $ac_try) 2>&5
31727 ac_status=$?
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; } &&
31730 { ac_try='test -s conftest$ac_exeext'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31733 ac_status=$?
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; }; then
31736
31737 echo "$as_me:$LINENO: result: found in default search path" >&5
31738 echo "${ECHO_T}found in default search path" >&6
31739 COMPILED_X_PROGRAM=1
31740
31741 else
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31744
31745
31746 echo "$as_me:$LINENO: result: no" >&5
31747 echo "${ECHO_T}no" >&6
31748 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31749 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31750 { (exit 1); exit 1; }; }
31751
31752
31753 fi
31754 rm -f conftest.err conftest.$ac_objext \
31755 conftest$ac_exeext conftest.$ac_ext
31756
31757 CFLAGS=$save_CFLAGS
31758 LIBS="$save_LIBS"
31759 fi
31760
31761 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31762 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31763 libp_link=""
31764 libsm_ice_link=""
31765 libs_found=0
31766 for libp in "" " -lXp"; do
31767 if test "$libs_found" = "0"; then
31768 for libsm_ice in "" " -lSM -lICE"; do
31769 if test "$libs_found" = "0"; then
31770 save_LIBS="$LIBS"
31771 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31772 save_CFLAGS=$CFLAGS
31773 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31774
31775 cat >conftest.$ac_ext <<_ACEOF
31776 /* confdefs.h. */
31777 _ACEOF
31778 cat confdefs.h >>conftest.$ac_ext
31779 cat >>conftest.$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31781
31782 #include <Xm/Xm.h>
31783 #include <Xm/List.h>
31784
31785 int
31786 main ()
31787 {
31788
31789 XmString string = NULL;
31790 Widget w = NULL;
31791 int position = 0;
31792 XmListAddItem(w, string, position);
31793
31794 ;
31795 return 0;
31796 }
31797 _ACEOF
31798 rm -f conftest.$ac_objext conftest$ac_exeext
31799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31800 (eval $ac_link) 2>conftest.er1
31801 ac_status=$?
31802 grep -v '^ *+' conftest.er1 >conftest.err
31803 rm -f conftest.er1
31804 cat conftest.err >&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); } &&
31807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31809 (eval $ac_try) 2>&5
31810 ac_status=$?
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); }; } &&
31813 { ac_try='test -s conftest$ac_exeext'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; }; then
31819
31820 libp_link="$libp"
31821 libsm_ice_link="$libsm_ice"
31822 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31823 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31824 libs_found=1
31825
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830
31831
31832 fi
31833 rm -f conftest.err conftest.$ac_objext \
31834 conftest$ac_exeext conftest.$ac_ext
31835
31836 LIBS="$save_LIBS"
31837 CFLAGS=$save_CFLAGS
31838 fi
31839 done
31840 fi
31841 done
31842
31843 if test "$libs_found" = "0"; then
31844 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31845 echo "${ECHO_T}can't find the right libraries" >&6
31846 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31847 echo "$as_me: error: can't link a simple motif program" >&2;}
31848 { (exit 1); exit 1; }; }
31849 fi
31850
31851 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31852 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31853 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 else
31856 ac_check_lib_save_LIBS=$LIBS
31857 LIBS="-lSgm $LIBS"
31858 cat >conftest.$ac_ext <<_ACEOF
31859 /* confdefs.h. */
31860 _ACEOF
31861 cat confdefs.h >>conftest.$ac_ext
31862 cat >>conftest.$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31864
31865 /* Override any gcc2 internal prototype to avoid an error. */
31866 #ifdef __cplusplus
31867 extern "C"
31868 #endif
31869 /* We use char because int might match the return type of a gcc2
31870 builtin and then its argument prototype would still apply. */
31871 char SgCreateList ();
31872 int
31873 main ()
31874 {
31875 SgCreateList ();
31876 ;
31877 return 0;
31878 }
31879 _ACEOF
31880 rm -f conftest.$ac_objext conftest$ac_exeext
31881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31882 (eval $ac_link) 2>conftest.er1
31883 ac_status=$?
31884 grep -v '^ *+' conftest.er1 >conftest.err
31885 rm -f conftest.er1
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } &&
31889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31891 (eval $ac_try) 2>&5
31892 ac_status=$?
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); }; } &&
31895 { ac_try='test -s conftest$ac_exeext'
31896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31897 (eval $ac_try) 2>&5
31898 ac_status=$?
31899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31900 (exit $ac_status); }; }; then
31901 ac_cv_lib_Sgm_SgCreateList=yes
31902 else
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.$ac_ext >&5
31905
31906 ac_cv_lib_Sgm_SgCreateList=no
31907 fi
31908 rm -f conftest.err conftest.$ac_objext \
31909 conftest$ac_exeext conftest.$ac_ext
31910 LIBS=$ac_check_lib_save_LIBS
31911 fi
31912 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31913 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31914 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31915 libsgm_link=" -lSgm"
31916 fi
31917
31918
31919 save_CFLAGS=$CFLAGS
31920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31921
31922 echo "$as_me:$LINENO: checking for Motif 2" >&5
31923 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31924 if test "${wx_cv_lib_motif2+set}" = set; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 else
31927 cat >conftest.$ac_ext <<_ACEOF
31928 /* confdefs.h. */
31929 _ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933
31934 #include <Xm/Xm.h>
31935
31936 int
31937 main ()
31938 {
31939
31940 #if XmVersion < 2000
31941 Not Motif 2
31942 #endif
31943
31944 ;
31945 return 0;
31946 }
31947 _ACEOF
31948 rm -f conftest.$ac_objext
31949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31950 (eval $ac_compile) 2>conftest.er1
31951 ac_status=$?
31952 grep -v '^ *+' conftest.er1 >conftest.err
31953 rm -f conftest.er1
31954 cat conftest.err >&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; } &&
31963 { ac_try='test -s conftest.$ac_objext'
31964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31965 (eval $ac_try) 2>&5
31966 ac_status=$?
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); }; }; then
31969 wx_cv_lib_motif2="yes"
31970 else
31971 echo "$as_me: failed program was:" >&5
31972 sed 's/^/| /' conftest.$ac_ext >&5
31973
31974 wx_cv_lib_motif2="no"
31975 fi
31976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31977 fi
31978 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31979 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31980 if test "$wx_cv_lib_motif2" = "yes"; then
31981 cat >>confdefs.h <<\_ACEOF
31982 #define __WXMOTIF20__ 1
31983 _ACEOF
31984
31985 else
31986 cat >>confdefs.h <<\_ACEOF
31987 #define __WXMOTIF20__ 0
31988 _ACEOF
31989
31990 fi
31991
31992 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31993 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31994 if test "${wx_cv_lib_lesstif+set}" = set; then
31995 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 else
31997 cat >conftest.$ac_ext <<_ACEOF
31998 /* confdefs.h. */
31999 _ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003
32004 #include <Xm/Xm.h>
32005
32006 int
32007 main ()
32008 {
32009
32010 #if !defined(LesstifVersion) || LesstifVersion <= 0
32011 Not Lesstif
32012 #endif
32013
32014 ;
32015 return 0;
32016 }
32017 _ACEOF
32018 rm -f conftest.$ac_objext
32019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32020 (eval $ac_compile) 2>conftest.er1
32021 ac_status=$?
32022 grep -v '^ *+' conftest.er1 >conftest.err
32023 rm -f conftest.er1
32024 cat conftest.err >&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } &&
32027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32029 (eval $ac_try) 2>&5
32030 ac_status=$?
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; } &&
32033 { ac_try='test -s conftest.$ac_objext'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32036 ac_status=$?
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }; then
32039 wx_cv_lib_lesstif="yes"
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32043
32044 wx_cv_lib_lesstif="no"
32045 fi
32046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32047
32048 fi
32049 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32050 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32051 if test "$wx_cv_lib_lesstif" = "yes"; then
32052 cat >>confdefs.h <<\_ACEOF
32053 #define __WXLESSTIF__ 1
32054 _ACEOF
32055
32056 else
32057 cat >>confdefs.h <<\_ACEOF
32058 #define __WXLESSTIF__ 0
32059 _ACEOF
32060
32061 fi
32062
32063 CFLAGS=$save_CFLAGS
32064
32065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32066 TOOLKIT=MOTIF
32067 GUIDIST=MOTIF_DIST
32068 fi
32069
32070 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32071 if test "$wxUSE_LIBXPM" = "sys"; then
32072 echo "$as_me:$LINENO: checking for Xpm library" >&5
32073 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32074
32075 ac_find_libraries=
32076 for ac_dir in $SEARCH_LIB;
32077 do
32078 for ac_extension in a so sl dylib dll.a; do
32079 if test -f "$ac_dir/libXpm.$ac_extension"; then
32080 ac_find_libraries=$ac_dir
32081 break 2
32082 fi
32083 done
32084 done
32085
32086 if test "$ac_find_libraries" != "" ; then
32087
32088 if test "$ac_find_libraries" = "default location"; then
32089 ac_path_to_link=""
32090 else
32091 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32092 result=$?
32093 if test $result = 0; then
32094 ac_path_to_link=""
32095 else
32096 ac_path_to_link=" -L$ac_find_libraries"
32097 fi
32098 fi
32099
32100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32101 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32102 echo "${ECHO_T}found in $ac_find_libraries" >&6
32103
32104 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32105 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32106 if test "${wx_cv_x11_xpm_h+set}" = set; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 else
32109
32110 save_CFLAGS=$CFLAGS
32111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32112
32113 cat >conftest.$ac_ext <<_ACEOF
32114 /* confdefs.h. */
32115 _ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32119
32120 #include <X11/xpm.h>
32121
32122 int
32123 main ()
32124 {
32125
32126 int version;
32127 version = XpmLibraryVersion();
32128
32129 ;
32130 return 0;
32131 }
32132 _ACEOF
32133 rm -f conftest.$ac_objext
32134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32135 (eval $ac_compile) 2>conftest.er1
32136 ac_status=$?
32137 grep -v '^ *+' conftest.er1 >conftest.err
32138 rm -f conftest.er1
32139 cat conftest.err >&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); } &&
32142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32145 ac_status=$?
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; } &&
32148 { ac_try='test -s conftest.$ac_objext'
32149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32150 (eval $ac_try) 2>&5
32151 ac_status=$?
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); }; }; then
32154 wx_cv_x11_xpm_h=yes
32155 else
32156 echo "$as_me: failed program was:" >&5
32157 sed 's/^/| /' conftest.$ac_ext >&5
32158
32159 wx_cv_x11_xpm_h=no
32160
32161 fi
32162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32163
32164 CFLAGS=$save_CFLAGS
32165
32166
32167 fi
32168 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32169 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32170
32171 if test $wx_cv_x11_xpm_h = "yes"; then
32172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32173 cat >>confdefs.h <<\_ACEOF
32174 #define wxHAVE_LIB_XPM 1
32175 _ACEOF
32176
32177 else
32178 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32179 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32180 fi
32181 fi
32182
32183 fi
32184
32185 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32186 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32187 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32188 echo $ECHO_N "(cached) $ECHO_C" >&6
32189 else
32190 ac_check_lib_save_LIBS=$LIBS
32191 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32192 cat >conftest.$ac_ext <<_ACEOF
32193 /* confdefs.h. */
32194 _ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32198
32199 /* Override any gcc2 internal prototype to avoid an error. */
32200 #ifdef __cplusplus
32201 extern "C"
32202 #endif
32203 /* We use char because int might match the return type of a gcc2
32204 builtin and then its argument prototype would still apply. */
32205 char XShapeQueryExtension ();
32206 int
32207 main ()
32208 {
32209 XShapeQueryExtension ();
32210 ;
32211 return 0;
32212 }
32213 _ACEOF
32214 rm -f conftest.$ac_objext conftest$ac_exeext
32215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32216 (eval $ac_link) 2>conftest.er1
32217 ac_status=$?
32218 grep -v '^ *+' conftest.er1 >conftest.err
32219 rm -f conftest.er1
32220 cat conftest.err >&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); } &&
32223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try='test -s conftest$ac_exeext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_cv_lib_Xext_XShapeQueryExtension=yes
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32239
32240 ac_cv_lib_Xext_XShapeQueryExtension=no
32241 fi
32242 rm -f conftest.err conftest.$ac_objext \
32243 conftest$ac_exeext conftest.$ac_ext
32244 LIBS=$ac_check_lib_save_LIBS
32245 fi
32246 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32247 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32248 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32249
32250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32251 wxHAVE_XEXT_LIB=1
32252
32253 fi
32254
32255
32256 if test "$wxHAVE_XEXT_LIB" = 1; then
32257 save_CFLAGS="$CFLAGS"
32258 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32259
32260 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32261 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268
32269 #include <X11/Xlib.h>
32270 #include <X11/extensions/shape.h>
32271
32272 int
32273 main ()
32274 {
32275
32276 int dummy1, dummy2;
32277 XShapeQueryExtension((Display*)NULL,
32278 (int*)NULL, (int*)NULL);
32279
32280 ;
32281 return 0;
32282 }
32283 _ACEOF
32284 rm -f conftest.$ac_objext
32285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32286 (eval $ac_compile) 2>conftest.er1
32287 ac_status=$?
32288 grep -v '^ *+' conftest.er1 >conftest.err
32289 rm -f conftest.er1
32290 cat conftest.err >&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); } &&
32293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32296 ac_status=$?
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; } &&
32299 { ac_try='test -s conftest.$ac_objext'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32302 ac_status=$?
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; }; then
32305
32306 cat >>confdefs.h <<\_ACEOF
32307 #define HAVE_XSHAPE 1
32308 _ACEOF
32309
32310 echo "$as_me:$LINENO: result: found" >&5
32311 echo "${ECHO_T}found" >&6
32312
32313 else
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32316
32317
32318 echo "$as_me:$LINENO: result: not found" >&5
32319 echo "${ECHO_T}not found" >&6
32320
32321 fi
32322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32323 CFLAGS="$save_CFLAGS"
32324
32325 fi
32326 fi
32327
32328 if test "$wxUSE_MAC" = 1; then
32329 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32330 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32331 if test "$GCC" = yes; then
32332 echo "$as_me:$LINENO: result: gcc" >&5
32333 echo "${ECHO_T}gcc" >&6
32334 CPPFLAGS_PASCAL="-fpascal-strings"
32335 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32336 echo "$as_me:$LINENO: result: xlc" >&5
32337 echo "${ECHO_T}xlc" >&6
32338 CPPFLAGS_PASCAL="-qmacpstr"
32339 else
32340 echo "$as_me:$LINENO: result: none" >&5
32341 echo "${ECHO_T}none" >&6
32342 fi
32343
32344 if test "x$wxUSE_UNIX" = "xyes"; then
32345 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32346 else
32347 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32348 fi
32349
32350 TOOLKIT=MAC
32351 GUIDIST=MACX_DIST
32352 WXBASEPORT="_carbon"
32353 fi
32354
32355 if test "$wxUSE_COCOA" = 1; then
32356 TOOLKIT=COCOA
32357 GUIDIST=COCOA_DIST
32358 fi
32359
32360 if test "$wxUSE_PM" = 1; then
32361 TOOLKIT=PM
32362 GUIDIST=PM_DIST
32363 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32364 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32365 if test "${wx_cv_spbcdata+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 else
32368
32369 cat >conftest.$ac_ext <<_ACEOF
32370 /* confdefs.h. */
32371 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32375
32376 #define INCL_PM
32377 #include <os2.h>
32378
32379 int
32380 main ()
32381 {
32382
32383 SPBCDATA test;
32384
32385 ;
32386 return 0;
32387 }
32388 _ACEOF
32389 rm -f conftest.$ac_objext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32391 (eval $ac_compile) 2>conftest.er1
32392 ac_status=$?
32393 grep -v '^ *+' conftest.er1 >conftest.err
32394 rm -f conftest.er1
32395 cat conftest.err >&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } &&
32398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; } &&
32404 { ac_try='test -s conftest.$ac_objext'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32407 ac_status=$?
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; }; then
32410 wx_cv_spbcdata=yes
32411 else
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32414
32415 wx_cv_spbcdata=no
32416
32417 fi
32418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32419
32420
32421 fi
32422 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32423 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32424
32425 if test $wx_cv_spbcdata = "yes"; then
32426 cat >>confdefs.h <<\_ACEOF
32427 #define HAVE_SPBCDATA 1
32428 _ACEOF
32429
32430 fi
32431 fi
32432
32433 if test "$TOOLKIT" = "PM" ; then
32434 TOOLKIT_DIR="os2"
32435 else
32436 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32437 fi
32438
32439 if test "$wxUSE_UNIVERSAL" = "yes"; then
32440 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32441 WIDGET_SET=univ
32442 fi
32443
32444 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32445 DISTDIR="wx\$(TOOLKIT)"
32446 else
32447 USE_GUI=0
32448
32449 TOOLKIT_DIR="base"
32450
32451 if test "$USE_WIN32" = 1 ; then
32452 TOOLKIT="MSW"
32453 fi
32454
32455 GUIDIST="BASE_DIST"
32456 DISTDIR="wxBase"
32457 fi
32458
32459
32460 if test "$wxUSE_GUI" = "yes"; then
32461 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32462
32463 for ac_header in X11/Xlib.h
32464 do
32465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32467 echo "$as_me:$LINENO: checking for $ac_header" >&5
32468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 fi
32472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32474 else
32475 # Is the header compilable?
32476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h. */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32484 $ac_includes_default
32485 #include <$ac_header>
32486 _ACEOF
32487 rm -f conftest.$ac_objext
32488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32489 (eval $ac_compile) 2>conftest.er1
32490 ac_status=$?
32491 grep -v '^ *+' conftest.er1 >conftest.err
32492 rm -f conftest.er1
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } &&
32496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32499 ac_status=$?
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try='test -s conftest.$ac_objext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32505 ac_status=$?
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508 ac_header_compiler=yes
32509 else
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513 ac_header_compiler=no
32514 fi
32515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32517 echo "${ECHO_T}$ac_header_compiler" >&6
32518
32519 # Is the header present?
32520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32522 cat >conftest.$ac_ext <<_ACEOF
32523 /* confdefs.h. */
32524 _ACEOF
32525 cat confdefs.h >>conftest.$ac_ext
32526 cat >>conftest.$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32528 #include <$ac_header>
32529 _ACEOF
32530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32532 ac_status=$?
32533 grep -v '^ *+' conftest.er1 >conftest.err
32534 rm -f conftest.er1
32535 cat conftest.err >&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } >/dev/null; then
32538 if test -s conftest.err; then
32539 ac_cpp_err=$ac_c_preproc_warn_flag
32540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32541 else
32542 ac_cpp_err=
32543 fi
32544 else
32545 ac_cpp_err=yes
32546 fi
32547 if test -z "$ac_cpp_err"; then
32548 ac_header_preproc=yes
32549 else
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32552
32553 ac_header_preproc=no
32554 fi
32555 rm -f conftest.err conftest.$ac_ext
32556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32557 echo "${ECHO_T}$ac_header_preproc" >&6
32558
32559 # So? What about this header?
32560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32561 yes:no: )
32562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32566 ac_header_preproc=yes
32567 ;;
32568 no:yes:* )
32569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32581 (
32582 cat <<\_ASBOX
32583 ## ----------------------------------------- ##
32584 ## Report this to wx-dev@lists.wxwidgets.org ##
32585 ## ----------------------------------------- ##
32586 _ASBOX
32587 ) |
32588 sed "s/^/$as_me: WARNING: /" >&2
32589 ;;
32590 esac
32591 echo "$as_me:$LINENO: checking for $ac_header" >&5
32592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 else
32596 eval "$as_ac_Header=\$ac_header_preproc"
32597 fi
32598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32600
32601 fi
32602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32603 cat >>confdefs.h <<_ACEOF
32604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32605 _ACEOF
32606
32607 fi
32608
32609 done
32610
32611
32612 for ac_header in X11/XKBlib.h
32613 do
32614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32619 else
32620 cat >conftest.$ac_ext <<_ACEOF
32621 /* confdefs.h. */
32622 _ACEOF
32623 cat confdefs.h >>conftest.$ac_ext
32624 cat >>conftest.$ac_ext <<_ACEOF
32625 /* end confdefs.h. */
32626
32627 #if HAVE_X11_XLIB_H
32628 #include <X11/Xlib.h>
32629 #endif
32630
32631
32632 #include <$ac_header>
32633 _ACEOF
32634 rm -f conftest.$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>conftest.er1
32637 ac_status=$?
32638 grep -v '^ *+' conftest.er1 >conftest.err
32639 rm -f conftest.er1
32640 cat conftest.err >&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); } &&
32643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32645 (eval $ac_try) 2>&5
32646 ac_status=$?
32647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32648 (exit $ac_status); }; } &&
32649 { ac_try='test -s conftest.$ac_objext'
32650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32651 (eval $ac_try) 2>&5
32652 ac_status=$?
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); }; }; then
32655 eval "$as_ac_Header=yes"
32656 else
32657 echo "$as_me: failed program was:" >&5
32658 sed 's/^/| /' conftest.$ac_ext >&5
32659
32660 eval "$as_ac_Header=no"
32661 fi
32662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32663 fi
32664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32667 cat >>confdefs.h <<_ACEOF
32668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32669 _ACEOF
32670
32671 fi
32672
32673 done
32674
32675 fi
32676 fi
32677
32678
32679
32680 IODBC_C_SRC=""
32681
32682
32683 if test "$TOOLKIT" != "MSW" ; then
32684
32685 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32686
32687 if test "${ac_cv_header_sql_h+set}" = set; then
32688 echo "$as_me:$LINENO: checking for sql.h" >&5
32689 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32690 if test "${ac_cv_header_sql_h+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 fi
32693 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32694 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32695 else
32696 # Is the header compilable?
32697 echo "$as_me:$LINENO: checking sql.h usability" >&5
32698 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32699 cat >conftest.$ac_ext <<_ACEOF
32700 /* confdefs.h. */
32701 _ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705 $ac_includes_default
32706 #include <sql.h>
32707 _ACEOF
32708 rm -f conftest.$ac_objext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32710 (eval $ac_compile) 2>conftest.er1
32711 ac_status=$?
32712 grep -v '^ *+' conftest.er1 >conftest.err
32713 rm -f conftest.er1
32714 cat conftest.err >&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); } &&
32717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719 (eval $ac_try) 2>&5
32720 ac_status=$?
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); }; } &&
32723 { ac_try='test -s conftest.$ac_objext'
32724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32725 (eval $ac_try) 2>&5
32726 ac_status=$?
32727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32728 (exit $ac_status); }; }; then
32729 ac_header_compiler=yes
32730 else
32731 echo "$as_me: failed program was:" >&5
32732 sed 's/^/| /' conftest.$ac_ext >&5
32733
32734 ac_header_compiler=no
32735 fi
32736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32738 echo "${ECHO_T}$ac_header_compiler" >&6
32739
32740 # Is the header present?
32741 echo "$as_me:$LINENO: checking sql.h presence" >&5
32742 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32743 cat >conftest.$ac_ext <<_ACEOF
32744 /* confdefs.h. */
32745 _ACEOF
32746 cat confdefs.h >>conftest.$ac_ext
32747 cat >>conftest.$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749 #include <sql.h>
32750 _ACEOF
32751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32752 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32753 ac_status=$?
32754 grep -v '^ *+' conftest.er1 >conftest.err
32755 rm -f conftest.er1
32756 cat conftest.err >&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); } >/dev/null; then
32759 if test -s conftest.err; then
32760 ac_cpp_err=$ac_c_preproc_warn_flag
32761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32762 else
32763 ac_cpp_err=
32764 fi
32765 else
32766 ac_cpp_err=yes
32767 fi
32768 if test -z "$ac_cpp_err"; then
32769 ac_header_preproc=yes
32770 else
32771 echo "$as_me: failed program was:" >&5
32772 sed 's/^/| /' conftest.$ac_ext >&5
32773
32774 ac_header_preproc=no
32775 fi
32776 rm -f conftest.err conftest.$ac_ext
32777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32778 echo "${ECHO_T}$ac_header_preproc" >&6
32779
32780 # So? What about this header?
32781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32782 yes:no: )
32783 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32784 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32786 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32787 ac_header_preproc=yes
32788 ;;
32789 no:yes:* )
32790 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32791 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32792 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32793 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32794 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32795 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32796 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32797 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32798 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32799 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32800 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32801 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32802 (
32803 cat <<\_ASBOX
32804 ## ----------------------------------------- ##
32805 ## Report this to wx-dev@lists.wxwidgets.org ##
32806 ## ----------------------------------------- ##
32807 _ASBOX
32808 ) |
32809 sed "s/^/$as_me: WARNING: /" >&2
32810 ;;
32811 esac
32812 echo "$as_me:$LINENO: checking for sql.h" >&5
32813 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32814 if test "${ac_cv_header_sql_h+set}" = set; then
32815 echo $ECHO_N "(cached) $ECHO_C" >&6
32816 else
32817 ac_cv_header_sql_h=$ac_header_preproc
32818 fi
32819 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32820 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32821
32822 fi
32823 if test $ac_cv_header_sql_h = yes; then
32824 found_sql_h=1
32825 fi
32826
32827
32828 if test "x$found_sql_h" = "x1" ; then
32829 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32830 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32831 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32833 else
32834 ac_check_lib_save_LIBS=$LIBS
32835 LIBS="-liodbc $LIBS"
32836 cat >conftest.$ac_ext <<_ACEOF
32837 /* confdefs.h. */
32838 _ACEOF
32839 cat confdefs.h >>conftest.$ac_ext
32840 cat >>conftest.$ac_ext <<_ACEOF
32841 /* end confdefs.h. */
32842
32843 /* Override any gcc2 internal prototype to avoid an error. */
32844 #ifdef __cplusplus
32845 extern "C"
32846 #endif
32847 /* We use char because int might match the return type of a gcc2
32848 builtin and then its argument prototype would still apply. */
32849 char SQLAllocEnv ();
32850 int
32851 main ()
32852 {
32853 SQLAllocEnv ();
32854 ;
32855 return 0;
32856 }
32857 _ACEOF
32858 rm -f conftest.$ac_objext conftest$ac_exeext
32859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32860 (eval $ac_link) 2>conftest.er1
32861 ac_status=$?
32862 grep -v '^ *+' conftest.er1 >conftest.err
32863 rm -f conftest.er1
32864 cat conftest.err >&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } &&
32867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32870 ac_status=$?
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; } &&
32873 { ac_try='test -s conftest$ac_exeext'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32876 ac_status=$?
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 ac_cv_lib_iodbc_SQLAllocEnv=yes
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 ac_cv_lib_iodbc_SQLAllocEnv=no
32885 fi
32886 rm -f conftest.err conftest.$ac_objext \
32887 conftest$ac_exeext conftest.$ac_ext
32888 LIBS=$ac_check_lib_save_LIBS
32889 fi
32890 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32891 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32892 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32893 ODBC_LINK=" -liodbc"
32894 else
32895
32896 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32897 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32898 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32899 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 else
32901 ac_check_lib_save_LIBS=$LIBS
32902 LIBS="-lunixodbc $LIBS"
32903 cat >conftest.$ac_ext <<_ACEOF
32904 /* confdefs.h. */
32905 _ACEOF
32906 cat confdefs.h >>conftest.$ac_ext
32907 cat >>conftest.$ac_ext <<_ACEOF
32908 /* end confdefs.h. */
32909
32910 /* Override any gcc2 internal prototype to avoid an error. */
32911 #ifdef __cplusplus
32912 extern "C"
32913 #endif
32914 /* We use char because int might match the return type of a gcc2
32915 builtin and then its argument prototype would still apply. */
32916 char SQLAllocEnv ();
32917 int
32918 main ()
32919 {
32920 SQLAllocEnv ();
32921 ;
32922 return 0;
32923 }
32924 _ACEOF
32925 rm -f conftest.$ac_objext conftest$ac_exeext
32926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32927 (eval $ac_link) 2>conftest.er1
32928 ac_status=$?
32929 grep -v '^ *+' conftest.er1 >conftest.err
32930 rm -f conftest.er1
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } &&
32934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32937 ac_status=$?
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try='test -s conftest$ac_exeext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32947 else
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.$ac_ext >&5
32950
32951 ac_cv_lib_unixodbc_SQLAllocEnv=no
32952 fi
32953 rm -f conftest.err conftest.$ac_objext \
32954 conftest$ac_exeext conftest.$ac_ext
32955 LIBS=$ac_check_lib_save_LIBS
32956 fi
32957 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32958 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32959 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32960 ODBC_LINK=" -lunixodbc"
32961 else
32962
32963 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32964 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32965 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32966 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 else
32968 ac_check_lib_save_LIBS=$LIBS
32969 LIBS="-lodbc $LIBS"
32970 cat >conftest.$ac_ext <<_ACEOF
32971 /* confdefs.h. */
32972 _ACEOF
32973 cat confdefs.h >>conftest.$ac_ext
32974 cat >>conftest.$ac_ext <<_ACEOF
32975 /* end confdefs.h. */
32976
32977 /* Override any gcc2 internal prototype to avoid an error. */
32978 #ifdef __cplusplus
32979 extern "C"
32980 #endif
32981 /* We use char because int might match the return type of a gcc2
32982 builtin and then its argument prototype would still apply. */
32983 char SQLAllocEnv ();
32984 int
32985 main ()
32986 {
32987 SQLAllocEnv ();
32988 ;
32989 return 0;
32990 }
32991 _ACEOF
32992 rm -f conftest.$ac_objext conftest$ac_exeext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994 (eval $ac_link) 2>conftest.er1
32995 ac_status=$?
32996 grep -v '^ *+' conftest.er1 >conftest.err
32997 rm -f conftest.er1
32998 cat conftest.err >&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); } &&
33001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; } &&
33007 { ac_try='test -s conftest$ac_exeext'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33010 ac_status=$?
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; }; then
33013 ac_cv_lib_odbc_SQLAllocEnv=yes
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018 ac_cv_lib_odbc_SQLAllocEnv=no
33019 fi
33020 rm -f conftest.err conftest.$ac_objext \
33021 conftest$ac_exeext conftest.$ac_ext
33022 LIBS=$ac_check_lib_save_LIBS
33023 fi
33024 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33025 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33026 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33027 ODBC_LINK=" -lodbc"
33028 fi
33029
33030
33031 fi
33032
33033
33034 fi
33035
33036 fi
33037 if test "x$ODBC_LINK" = "x" ; then
33038 if test "$wxUSE_ODBC" = "sys" ; then
33039 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33040 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33041 { (exit 1); exit 1; }; }
33042 else
33043 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33044 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33045 wxUSE_ODBC=builtin
33046 fi
33047 else
33048 wxUSE_ODBC=sys
33049 fi
33050 fi
33051
33052 if test "$wxUSE_ODBC" = "builtin" ; then
33053 cat >>confdefs.h <<\_ACEOF
33054 #define wxUSE_BUILTIN_IODBC 1
33055 _ACEOF
33056
33057 fi
33058 fi
33059
33060 if test "$wxUSE_ODBC" != "no" ; then
33061 cat >>confdefs.h <<\_ACEOF
33062 #define wxUSE_ODBC 1
33063 _ACEOF
33064
33065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33066
33067 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33068 fi
33069
33070
33071 if test "$wxUSE_DISPLAY" = "yes"; then
33072 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33073 echo "$as_me:$LINENO: checking for Xinerama" >&5
33074 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33075
33076 ac_find_libraries=
33077 for ac_dir in $SEARCH_LIB;
33078 do
33079 for ac_extension in a so sl dylib dll.a; do
33080 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33081 ac_find_libraries=$ac_dir
33082 break 2
33083 fi
33084 done
33085 done
33086
33087 if test "$ac_find_libraries" != "" ; then
33088
33089 if test "$ac_find_libraries" = "default location"; then
33090 ac_path_to_link=""
33091 else
33092 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33093 result=$?
33094 if test $result = 0; then
33095 ac_path_to_link=""
33096 else
33097 ac_path_to_link=" -L$ac_find_libraries"
33098 fi
33099 fi
33100
33101 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33102 LDFLAGS="$LDFLAGS $ac_path_to_link"
33103 fi
33104 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33105 echo "$as_me:$LINENO: result: yes" >&5
33106 echo "${ECHO_T}yes" >&6
33107
33108 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33109 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33110
33111 ac_find_libraries=
33112 for ac_dir in $SEARCH_LIB;
33113 do
33114 for ac_extension in a so sl dylib dll.a; do
33115 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33116 ac_find_libraries=$ac_dir
33117 break 2
33118 fi
33119 done
33120 done
33121
33122 if test "$ac_find_libraries" != "" ; then
33123 echo "$as_me:$LINENO: result: yes" >&5
33124 echo "${ECHO_T}yes" >&6
33125
33126 for ac_header in X11/extensions/xf86vmode.h
33127 do
33128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33129 echo "$as_me:$LINENO: checking for $ac_header" >&5
33130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33132 echo $ECHO_N "(cached) $ECHO_C" >&6
33133 else
33134 cat >conftest.$ac_ext <<_ACEOF
33135 /* confdefs.h. */
33136 _ACEOF
33137 cat confdefs.h >>conftest.$ac_ext
33138 cat >>conftest.$ac_ext <<_ACEOF
33139 /* end confdefs.h. */
33140
33141 #if HAVE_X11_XLIB_H
33142 #include <X11/Xlib.h>
33143 #endif
33144
33145
33146 #include <$ac_header>
33147 _ACEOF
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33160 ac_status=$?
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try='test -s conftest.$ac_objext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 eval "$as_ac_Header=yes"
33170 else
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.$ac_ext >&5
33173
33174 eval "$as_ac_Header=no"
33175 fi
33176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33177 fi
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33181 cat >>confdefs.h <<_ACEOF
33182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33183 _ACEOF
33184
33185 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33186
33187 fi
33188
33189 done
33190
33191 else
33192 echo "$as_me:$LINENO: result: no" >&5
33193 echo "${ECHO_T}no" >&6
33194 fi
33195
33196 else
33197 echo "$as_me:$LINENO: result: no" >&5
33198 echo "${ECHO_T}no" >&6
33199 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33200 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33201 wxUSE_DISPLAY="no"
33202 fi
33203 elif test "$wxUSE_MSW" = 1; then
33204
33205 for ac_header in ddraw.h
33206 do
33207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33208 echo "$as_me:$LINENO: checking for $ac_header" >&5
33209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33212 else
33213 cat >conftest.$ac_ext <<_ACEOF
33214 /* confdefs.h. */
33215 _ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33219 #include <windows.h>
33220
33221 #include <$ac_header>
33222 _ACEOF
33223 rm -f conftest.$ac_objext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33225 (eval $ac_compile) 2>conftest.er1
33226 ac_status=$?
33227 grep -v '^ *+' conftest.er1 >conftest.err
33228 rm -f conftest.er1
33229 cat conftest.err >&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); } &&
33232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33234 (eval $ac_try) 2>&5
33235 ac_status=$?
33236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33237 (exit $ac_status); }; } &&
33238 { ac_try='test -s conftest.$ac_objext'
33239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33240 (eval $ac_try) 2>&5
33241 ac_status=$?
33242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33243 (exit $ac_status); }; }; then
33244 eval "$as_ac_Header=yes"
33245 else
33246 echo "$as_me: failed program was:" >&5
33247 sed 's/^/| /' conftest.$ac_ext >&5
33248
33249 eval "$as_ac_Header=no"
33250 fi
33251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33252 fi
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33256 cat >>confdefs.h <<_ACEOF
33257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33258 _ACEOF
33259
33260 fi
33261
33262 done
33263
33264 fi
33265 fi
33266
33267 if test "$wxUSE_DETECT_SM" = "yes"; then
33268 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33269 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33270 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33271
33272 ac_find_libraries=
33273 for ac_dir in $SEARCH_LIB;
33274 do
33275 for ac_extension in a so sl dylib dll.a; do
33276 if test -f "$ac_dir/libSM.$ac_extension"; then
33277 ac_find_libraries=$ac_dir
33278 break 2
33279 fi
33280 done
33281 done
33282
33283 if test "$ac_find_libraries" != "" ; then
33284
33285 if test "$ac_find_libraries" = "default location"; then
33286 ac_path_to_link=""
33287 else
33288 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33289 result=$?
33290 if test $result = 0; then
33291 ac_path_to_link=""
33292 else
33293 ac_path_to_link=" -L$ac_find_libraries"
33294 fi
33295 fi
33296
33297 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33298 LDFLAGS="$LDFLAGS $ac_path_to_link"
33299 fi
33300 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33301 echo "$as_me:$LINENO: result: yes" >&5
33302 echo "${ECHO_T}yes" >&6
33303 else
33304 echo "$as_me:$LINENO: result: no" >&5
33305 echo "${ECHO_T}no" >&6
33306 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33307 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33308 wxUSE_DETECT_SM="no"
33309 fi
33310 else
33311 wxUSE_DETECT_SM="no"
33312 fi
33313 fi
33314
33315
33316
33317 USE_OPENGL=0
33318 if test "$wxUSE_OPENGL" = "yes"; then
33319 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
33320 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33321 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33322 wxUSE_OPENGL="no"
33323 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33324 OPENGL_LIBS="-framework OpenGL -framework AGL"
33325 elif test "$wxUSE_MSW" = 1; then
33326 OPENGL_LIBS="-lopengl32 -lglu32"
33327 else
33328 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33329 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33330
33331 ac_find_includes=
33332 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33333 do
33334 if test -f "$ac_dir/GL/gl.h"; then
33335 ac_find_includes=$ac_dir
33336 break
33337 fi
33338 done
33339
33340 if test "$ac_find_includes" != "" ; then
33341 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33342 echo "${ECHO_T}found in $ac_find_includes" >&6
33343
33344 if test "x$ac_find_includes" = "x/usr/include"; then
33345 ac_path_to_include=""
33346 else
33347 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33348 result=$?
33349 if test $result = 0; then
33350 ac_path_to_include=""
33351 else
33352 ac_path_to_include=" -I$ac_find_includes"
33353 fi
33354 fi
33355
33356 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33357 else
33358 echo "$as_me:$LINENO: result: not found" >&5
33359 echo "${ECHO_T}not found" >&6
33360 fi
33361
33362 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33363 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33364 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33365 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 fi
33368 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33369 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33370 else
33371 # Is the header compilable?
33372 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33373 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33374 cat >conftest.$ac_ext <<_ACEOF
33375 /* confdefs.h. */
33376 _ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 #include <GL/gl.h>
33382 _ACEOF
33383 rm -f conftest.$ac_objext
33384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33385 (eval $ac_compile) 2>conftest.er1
33386 ac_status=$?
33387 grep -v '^ *+' conftest.er1 >conftest.err
33388 rm -f conftest.er1
33389 cat conftest.err >&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); } &&
33392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33395 ac_status=$?
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; } &&
33398 { ac_try='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33401 ac_status=$?
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 ac_header_compiler=yes
33405 else
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33408
33409 ac_header_compiler=no
33410 fi
33411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33413 echo "${ECHO_T}$ac_header_compiler" >&6
33414
33415 # Is the header present?
33416 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33417 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33418 cat >conftest.$ac_ext <<_ACEOF
33419 /* confdefs.h. */
33420 _ACEOF
33421 cat confdefs.h >>conftest.$ac_ext
33422 cat >>conftest.$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33424 #include <GL/gl.h>
33425 _ACEOF
33426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33428 ac_status=$?
33429 grep -v '^ *+' conftest.er1 >conftest.err
33430 rm -f conftest.er1
33431 cat conftest.err >&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); } >/dev/null; then
33434 if test -s conftest.err; then
33435 ac_cpp_err=$ac_c_preproc_warn_flag
33436 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33437 else
33438 ac_cpp_err=
33439 fi
33440 else
33441 ac_cpp_err=yes
33442 fi
33443 if test -z "$ac_cpp_err"; then
33444 ac_header_preproc=yes
33445 else
33446 echo "$as_me: failed program was:" >&5
33447 sed 's/^/| /' conftest.$ac_ext >&5
33448
33449 ac_header_preproc=no
33450 fi
33451 rm -f conftest.err conftest.$ac_ext
33452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33453 echo "${ECHO_T}$ac_header_preproc" >&6
33454
33455 # So? What about this header?
33456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33457 yes:no: )
33458 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33459 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33460 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33461 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33462 ac_header_preproc=yes
33463 ;;
33464 no:yes:* )
33465 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33466 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33467 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33468 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33469 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33470 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33471 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33472 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33473 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33474 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33475 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33476 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33477 (
33478 cat <<\_ASBOX
33479 ## ----------------------------------------- ##
33480 ## Report this to wx-dev@lists.wxwidgets.org ##
33481 ## ----------------------------------------- ##
33482 _ASBOX
33483 ) |
33484 sed "s/^/$as_me: WARNING: /" >&2
33485 ;;
33486 esac
33487 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33488 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33489 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492 ac_cv_header_GL_gl_h=$ac_header_preproc
33493 fi
33494 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33495 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33496
33497 fi
33498 if test $ac_cv_header_GL_gl_h = yes; then
33499
33500 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33501 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33502 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33503 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 fi
33506 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33507 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33508 else
33509 # Is the header compilable?
33510 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33511 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33512 cat >conftest.$ac_ext <<_ACEOF
33513 /* confdefs.h. */
33514 _ACEOF
33515 cat confdefs.h >>conftest.$ac_ext
33516 cat >>conftest.$ac_ext <<_ACEOF
33517 /* end confdefs.h. */
33518 $ac_includes_default
33519 #include <GL/glu.h>
33520 _ACEOF
33521 rm -f conftest.$ac_objext
33522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33523 (eval $ac_compile) 2>conftest.er1
33524 ac_status=$?
33525 grep -v '^ *+' conftest.er1 >conftest.err
33526 rm -f conftest.er1
33527 cat conftest.err >&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try='test -s conftest.$ac_objext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33539 ac_status=$?
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 ac_header_compiler=yes
33543 else
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33546
33547 ac_header_compiler=no
33548 fi
33549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33551 echo "${ECHO_T}$ac_header_compiler" >&6
33552
33553 # Is the header present?
33554 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33555 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33556 cat >conftest.$ac_ext <<_ACEOF
33557 /* confdefs.h. */
33558 _ACEOF
33559 cat confdefs.h >>conftest.$ac_ext
33560 cat >>conftest.$ac_ext <<_ACEOF
33561 /* end confdefs.h. */
33562 #include <GL/glu.h>
33563 _ACEOF
33564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33566 ac_status=$?
33567 grep -v '^ *+' conftest.er1 >conftest.err
33568 rm -f conftest.er1
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } >/dev/null; then
33572 if test -s conftest.err; then
33573 ac_cpp_err=$ac_c_preproc_warn_flag
33574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33575 else
33576 ac_cpp_err=
33577 fi
33578 else
33579 ac_cpp_err=yes
33580 fi
33581 if test -z "$ac_cpp_err"; then
33582 ac_header_preproc=yes
33583 else
33584 echo "$as_me: failed program was:" >&5
33585 sed 's/^/| /' conftest.$ac_ext >&5
33586
33587 ac_header_preproc=no
33588 fi
33589 rm -f conftest.err conftest.$ac_ext
33590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33591 echo "${ECHO_T}$ac_header_preproc" >&6
33592
33593 # So? What about this header?
33594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33595 yes:no: )
33596 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33597 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33598 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33599 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33600 ac_header_preproc=yes
33601 ;;
33602 no:yes:* )
33603 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33604 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33605 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33606 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33607 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33608 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33609 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33610 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33611 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33612 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33613 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33614 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33615 (
33616 cat <<\_ASBOX
33617 ## ----------------------------------------- ##
33618 ## Report this to wx-dev@lists.wxwidgets.org ##
33619 ## ----------------------------------------- ##
33620 _ASBOX
33621 ) |
33622 sed "s/^/$as_me: WARNING: /" >&2
33623 ;;
33624 esac
33625 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33626 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33627 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33628 echo $ECHO_N "(cached) $ECHO_C" >&6
33629 else
33630 ac_cv_header_GL_glu_h=$ac_header_preproc
33631 fi
33632 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33633 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33634
33635 fi
33636 if test $ac_cv_header_GL_glu_h = yes; then
33637
33638 found_gl=0
33639
33640 echo "$as_me:$LINENO: checking for -lGL" >&5
33641 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33642
33643 ac_find_libraries=
33644 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33645 do
33646 for ac_extension in a so sl dylib dll.a; do
33647 if test -f "$ac_dir/libGL.$ac_extension"; then
33648 ac_find_libraries=$ac_dir
33649 break 2
33650 fi
33651 done
33652 done
33653
33654 if test "$ac_find_libraries" != "" ; then
33655 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33656 echo "${ECHO_T}found in $ac_find_libraries" >&6
33657
33658
33659 if test "$ac_find_libraries" = "default location"; then
33660 ac_path_to_link=""
33661 else
33662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33663 result=$?
33664 if test $result = 0; then
33665 ac_path_to_link=""
33666 else
33667 ac_path_to_link=" -L$ac_find_libraries"
33668 fi
33669 fi
33670
33671 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33672 LDFLAGS_GL="$ac_path_to_link"
33673 fi
33674
33675 echo "$as_me:$LINENO: checking for -lGLU" >&5
33676 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33677
33678 ac_find_libraries=
33679 for ac_dir in $SEARCH_LIB;
33680 do
33681 for ac_extension in a so sl dylib dll.a; do
33682 if test -f "$ac_dir/libGLU.$ac_extension"; then
33683 ac_find_libraries=$ac_dir
33684 break 2
33685 fi
33686 done
33687 done
33688
33689 if test "$ac_find_libraries" != "" ; then
33690
33691 if test "$ac_find_libraries" = "default location"; then
33692 ac_path_to_link=""
33693 else
33694 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33695 result=$?
33696 if test $result = 0; then
33697 ac_path_to_link=""
33698 else
33699 ac_path_to_link=" -L$ac_find_libraries"
33700 fi
33701 fi
33702
33703 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33704 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33705 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33706 fi
33707
33708 found_gl=1
33709 OPENGL_LIBS="-lGL -lGLU"
33710 echo "$as_me:$LINENO: result: yes" >&5
33711 echo "${ECHO_T}yes" >&6
33712 else
33713 echo "$as_me:$LINENO: result: no" >&5
33714 echo "${ECHO_T}no" >&6
33715 fi
33716 else
33717 echo "$as_me:$LINENO: result: no" >&5
33718 echo "${ECHO_T}no" >&6
33719 fi
33720
33721 if test "$found_gl" != 1; then
33722 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33723 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33724
33725 ac_find_libraries=
33726 for ac_dir in $SEARCH_LIB;
33727 do
33728 for ac_extension in a so sl dylib dll.a; do
33729 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33730 ac_find_libraries=$ac_dir
33731 break 2
33732 fi
33733 done
33734 done
33735
33736 if test "$ac_find_libraries" != "" ; then
33737
33738 if test "$ac_find_libraries" = "default location"; then
33739 ac_path_to_link=""
33740 else
33741 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33742 result=$?
33743 if test $result = 0; then
33744 ac_path_to_link=""
33745 else
33746 ac_path_to_link=" -L$ac_find_libraries"
33747 fi
33748 fi
33749
33750 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33751 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33752 echo "$as_me:$LINENO: result: yes" >&5
33753 echo "${ECHO_T}yes" >&6
33754 else
33755 echo "$as_me:$LINENO: result: no" >&5
33756 echo "${ECHO_T}no" >&6
33757 fi
33758 fi
33759
33760 fi
33761
33762
33763
33764 fi
33765
33766
33767
33768 if test "x$OPENGL_LIBS" = "x"; then
33769 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33770 echo "$as_me: error: OpenGL libraries not available" >&2;}
33771 { (exit 1); exit 1; }; }
33772 fi
33773 fi
33774
33775 if test "$wxUSE_OPENGL" = "yes"; then
33776 USE_OPENGL=1
33777 cat >>confdefs.h <<\_ACEOF
33778 #define wxUSE_OPENGL 1
33779 _ACEOF
33780
33781 cat >>confdefs.h <<\_ACEOF
33782 #define wxUSE_GLCANVAS 1
33783 _ACEOF
33784
33785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33786 fi
33787 fi
33788
33789
33790 if test -n "$TOOLKIT" ; then
33791 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33792 fi
33793
33794
33795
33796 if test "$wxUSE_SHARED" = "yes"; then
33797 case "${host}" in
33798 *-pc-msdosdjgpp )
33799 wxUSE_SHARED=no
33800 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33801 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33802 ;;
33803 esac
33804 fi
33805
33806 if test "$wxUSE_SHARED" = "yes"; then
33807
33808
33809 case "${host}" in
33810 *-*-cygwin* | *-*-mingw* )
33811 wx_cv_version_script=no
33812 ;;
33813
33814 *)
33815 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33816 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33817 if test "${wx_cv_version_script+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820
33821 echo "VER_1 { *; };" >conftest.sym
33822 echo "int main() { return 0; }" >conftest.cpp
33823
33824 if { ac_try='
33825 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33826 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33828 (eval $ac_try) 2>&5
33829 ac_status=$?
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; } ; then
33832 if test -s conftest.stderr ; then
33833 wx_cv_version_script=no
33834 else
33835 wx_cv_version_script=yes
33836 fi
33837 else
33838 wx_cv_version_script=no
33839 fi
33840
33841 if test $wx_cv_version_script = yes
33842 then
33843 echo "struct B { virtual ~B() { } }; \
33844 struct D : public B { }; \
33845 void F() { D d; }" > conftest.cpp
33846
33847 if { ac_try='
33848 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33849 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33852 ac_status=$?
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; } &&
33855 { ac_try='
33856 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33857 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33859 (eval $ac_try) 2>&5
33860 ac_status=$?
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; }
33863 then
33864 if { ac_try='
33865 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33866 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33869 ac_status=$?
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }
33872 then
33873 wx_cv_version_script=yes
33874 else
33875 wx_cv_version_script=no
33876 fi
33877 fi
33878 fi
33879
33880 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33881 rm -f conftest1.output conftest2.output conftest3.output
33882
33883 fi
33884 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33885 echo "${ECHO_T}$wx_cv_version_script" >&6
33886
33887 if test $wx_cv_version_script = yes ; then
33888 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33889 fi
33890 ;;
33891 esac
33892
33893
33894 case "${host}" in
33895 *-*-linux* | *-*-gnu* )
33896 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33897 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33898 ;;
33899
33900 *-*-solaris2* )
33901 if test "$GCC" = yes ; then
33902 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33903
33904 saveLdflags="$LDFLAGS"
33905 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33906 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33907 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33908 cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h. */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914
33915 int
33916 main ()
33917 {
33918
33919 ;
33920 return 0;
33921 }
33922 _ACEOF
33923 rm -f conftest.$ac_objext conftest$ac_exeext
33924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33925 (eval $ac_link) 2>conftest.er1
33926 ac_status=$?
33927 grep -v '^ *+' conftest.er1 >conftest.err
33928 rm -f conftest.er1
33929 cat conftest.err >&5
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); } &&
33932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33934 (eval $ac_try) 2>&5
33935 ac_status=$?
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); }; } &&
33938 { ac_try='test -s conftest$ac_exeext'
33939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33940 (eval $ac_try) 2>&5
33941 ac_status=$?
33942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33943 (exit $ac_status); }; }; then
33944
33945 echo "$as_me:$LINENO: result: yes" >&5
33946 echo "${ECHO_T}yes" >&6
33947 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33948 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33949
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954
33955 echo "$as_me:$LINENO: result: no" >&5
33956 echo "${ECHO_T}no" >&6
33957 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33958 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33959 LDFLAGS="$saveLdflags -Wl,-R,/"
33960 cat >conftest.$ac_ext <<_ACEOF
33961 /* confdefs.h. */
33962 _ACEOF
33963 cat confdefs.h >>conftest.$ac_ext
33964 cat >>conftest.$ac_ext <<_ACEOF
33965 /* end confdefs.h. */
33966
33967 int
33968 main ()
33969 {
33970
33971 ;
33972 return 0;
33973 }
33974 _ACEOF
33975 rm -f conftest.$ac_objext conftest$ac_exeext
33976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33977 (eval $ac_link) 2>conftest.er1
33978 ac_status=$?
33979 grep -v '^ *+' conftest.er1 >conftest.err
33980 rm -f conftest.er1
33981 cat conftest.err >&5
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); } &&
33984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='test -s conftest$ac_exeext'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33993 ac_status=$?
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; }; then
33996
33997 echo "$as_me:$LINENO: result: yes" >&5
33998 echo "${ECHO_T}yes" >&6
33999 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34000 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34001
34002 else
34003 echo "$as_me: failed program was:" >&5
34004 sed 's/^/| /' conftest.$ac_ext >&5
34005
34006
34007 echo "$as_me:$LINENO: result: no" >&5
34008 echo "${ECHO_T}no" >&6
34009
34010 fi
34011 rm -f conftest.err conftest.$ac_objext \
34012 conftest$ac_exeext conftest.$ac_ext
34013
34014 fi
34015 rm -f conftest.err conftest.$ac_objext \
34016 conftest$ac_exeext conftest.$ac_ext
34017 LDFLAGS="$saveLdflags"
34018 else
34019 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34020 WXCONFIG_RPATH="-R\$libdir"
34021 fi
34022 ;;
34023
34024 *-*-darwin* )
34025 install_name_tool=`which install_name_tool`
34026 if test "$install_name_tool" -a -x "$install_name_tool"; then
34027 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34028 cat <<EOF >change-install-names
34029 #!/bin/sh
34030 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34031 inst_cmd="install_name_tool "
34032 for i in \${libnames} ; do
34033 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34034 done
34035 \${inst_cmd} \${3}
34036 EOF
34037 chmod +x change-install-names
34038 fi
34039 ;;
34040
34041 *-*-cygwin* | *-*-mingw32* )
34042 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34043 ;;
34044
34045 *-*-hpux* )
34046 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34047 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34048 ;;
34049
34050 esac
34051
34052 if test $wxUSE_RPATH = "no"; then
34053 SAMPLES_RPATH_FLAG=''
34054 SAMPLES_RPATH_POSTLINK=''
34055 WXCONFIG_RPATH=''
34056 fi
34057
34058 SHARED=1
34059
34060 else
34061
34062 config_linkage_component="-static"
34063 SHARED=0
34064
34065 fi
34066
34067
34068 UNICODE=0
34069 lib_unicode_suffix=
34070 WX_CHARTYPE="ansi"
34071 if test "$wxUSE_UNICODE" = "yes"; then
34072 lib_unicode_suffix=u
34073 WX_CHARTYPE="unicode"
34074 UNICODE=1
34075 fi
34076
34077 lib_debug_suffix=
34078 WX_DEBUGTYPE="release"
34079 DEBUG_FLAG=0
34080 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34081 lib_debug_suffix=d
34082 WX_DEBUGTYPE="debug"
34083 DEBUG_FLAG=1
34084 fi
34085
34086 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34087 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34088
34089 DEBUG_INFO=0
34090 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34091 DEBUG_INFO=1
34092 fi
34093
34094 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34095
34096 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34097
34098 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34099
34100 if test "$cross_compiling" = "yes"; then
34101 HOST_SUFFIX="-$host_alias"
34102 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34103 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34104 fi
34105
34106 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34107 if test "${TOOLKIT_DIR}" = "os2"; then
34108 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34109 else
34110 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34111 fi
34112
34113
34114
34115 if test "$wxUSE_COCOA" = 1; then
34116
34117
34118 ac_ext=c
34119 ac_cpp='$CPP $CPPFLAGS'
34120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34123
34124 ac_ext=m
34125
34126 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34127 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34128 cat >conftest.$ac_ext <<_ACEOF
34129 /* confdefs.h. */
34130 _ACEOF
34131 cat confdefs.h >>conftest.$ac_ext
34132 cat >>conftest.$ac_ext <<_ACEOF
34133 /* end confdefs.h. */
34134 #include <AppKit/NSEvent.h>
34135 #include <CoreFoundation/CoreFoundation.h>
34136
34137 int
34138 main ()
34139 {
34140
34141 ;
34142 return 0;
34143 }
34144 _ACEOF
34145 rm -f conftest.$ac_objext
34146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34147 (eval $ac_compile) 2>conftest.er1
34148 ac_status=$?
34149 grep -v '^ *+' conftest.er1 >conftest.err
34150 rm -f conftest.er1
34151 cat conftest.err >&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } &&
34154 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34157 ac_status=$?
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; } &&
34160 { ac_try='test -s conftest.$ac_objext'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; }; then
34166 echo "$as_me:$LINENO: result: no" >&5
34167 echo "${ECHO_T}no" >&6
34168 else
34169 echo "$as_me: failed program was:" >&5
34170 sed 's/^/| /' conftest.$ac_ext >&5
34171
34172 echo "$as_me:$LINENO: result: yes" >&5
34173 echo "${ECHO_T}yes" >&6
34174 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34175 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #define __Point__ 1
34183 #include <AppKit/NSEvent.h>
34184 #include <CoreFoundation/CoreFoundation.h>
34185
34186 int
34187 main ()
34188 {
34189
34190 ;
34191 return 0;
34192 }
34193 _ACEOF
34194 rm -f conftest.$ac_objext
34195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34196 (eval $ac_compile) 2>conftest.er1
34197 ac_status=$?
34198 grep -v '^ *+' conftest.er1 >conftest.err
34199 rm -f conftest.er1
34200 cat conftest.err >&5
34201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34202 (exit $ac_status); } &&
34203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34206 ac_status=$?
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try='test -s conftest.$ac_objext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 echo "$as_me:$LINENO: result: yes" >&5
34216 echo "${ECHO_T}yes" >&6
34217 cat >>confdefs.h <<\_ACEOF
34218 #define __Point__ 1
34219 _ACEOF
34220
34221
34222 else
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.$ac_ext >&5
34225
34226 { { echo "$as_me:$LINENO: error: no
34227 See \`config.log' for more details." >&5
34228 echo "$as_me: error: no
34229 See \`config.log' for more details." >&2;}
34230 { (exit 1); exit 1; }; }
34231
34232 fi
34233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34234
34235 fi
34236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34237 ac_ext=c
34238 ac_cpp='$CPP $CPPFLAGS'
34239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242
34243 fi
34244
34245 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34246 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34247 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34248
34249 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34250
34251 # Extract the first word of "Rez", so it can be a program name with args.
34252 set dummy Rez; ac_word=$2
34253 echo "$as_me:$LINENO: checking for $ac_word" >&5
34254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34255 if test "${ac_cv_prog_REZ+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258 if test -n "$REZ"; then
34259 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34260 else
34261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34262 for as_dir in $PATH
34263 do
34264 IFS=$as_save_IFS
34265 test -z "$as_dir" && as_dir=.
34266 for ac_exec_ext in '' $ac_executable_extensions; do
34267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34268 ac_cv_prog_REZ="Rez"
34269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34270 break 2
34271 fi
34272 done
34273 done
34274
34275 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34276 fi
34277 fi
34278 REZ=$ac_cv_prog_REZ
34279 if test -n "$REZ"; then
34280 echo "$as_me:$LINENO: result: $REZ" >&5
34281 echo "${ECHO_T}$REZ" >&6
34282 else
34283 echo "$as_me:$LINENO: result: no" >&5
34284 echo "${ECHO_T}no" >&6
34285 fi
34286
34287 # Extract the first word of "DeRez", so it can be a program name with args.
34288 set dummy DeRez; ac_word=$2
34289 echo "$as_me:$LINENO: checking for $ac_word" >&5
34290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34291 if test "${ac_cv_prog_DEREZ+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294 if test -n "$DEREZ"; then
34295 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34296 else
34297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34298 for as_dir in $PATH
34299 do
34300 IFS=$as_save_IFS
34301 test -z "$as_dir" && as_dir=.
34302 for ac_exec_ext in '' $ac_executable_extensions; do
34303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34304 ac_cv_prog_DEREZ="DeRez"
34305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34306 break 2
34307 fi
34308 done
34309 done
34310
34311 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34312 fi
34313 fi
34314 DEREZ=$ac_cv_prog_DEREZ
34315 if test -n "$DEREZ"; then
34316 echo "$as_me:$LINENO: result: $DEREZ" >&5
34317 echo "${ECHO_T}$DEREZ" >&6
34318 else
34319 echo "$as_me:$LINENO: result: no" >&5
34320 echo "${ECHO_T}no" >&6
34321 fi
34322
34323 # Extract the first word of "SetFile", so it can be a program name with args.
34324 set dummy SetFile; ac_word=$2
34325 echo "$as_me:$LINENO: checking for $ac_word" >&5
34326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34327 if test "${ac_cv_prog_SETFILE+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34329 else
34330 if test -n "$SETFILE"; then
34331 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34332 else
34333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34334 for as_dir in $PATH
34335 do
34336 IFS=$as_save_IFS
34337 test -z "$as_dir" && as_dir=.
34338 for ac_exec_ext in '' $ac_executable_extensions; do
34339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34340 ac_cv_prog_SETFILE="SetFile"
34341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34342 break 2
34343 fi
34344 done
34345 done
34346
34347 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34348 fi
34349 fi
34350 SETFILE=$ac_cv_prog_SETFILE
34351 if test -n "$SETFILE"; then
34352 echo "$as_me:$LINENO: result: $SETFILE" >&5
34353 echo "${ECHO_T}$SETFILE" >&6
34354 else
34355 echo "$as_me:$LINENO: result: no" >&5
34356 echo "${ECHO_T}no" >&6
34357 fi
34358
34359
34360 MACSETFILE="\$(SETFILE)"
34361
34362 if test "$wxUSE_MAC" = 1; then
34363 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34364 RESCOMP="$REZ"
34365 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34366 else
34367 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34368 RESCOMP="echo -n \| $REZ"
34369 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34370 fi
34371
34372 else
34373 MACSETFILE="@true"
34374
34375 if test "$wxUSE_PM" = 1; then
34376 RESCOMP="emxbind"
34377 WXCONFIG_RESFLAGS="-ep"
34378
34379 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34380 else
34381 POSTLINK_COMMAND="@true"
34382 fi
34383
34384 fi
34385
34386
34387
34388 echo "$as_me:$LINENO: checking for mode_t" >&5
34389 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34390 if test "${ac_cv_type_mode_t+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 $ac_includes_default
34400 int
34401 main ()
34402 {
34403 if ((mode_t *) 0)
34404 return 0;
34405 if (sizeof (mode_t))
34406 return 0;
34407 ;
34408 return 0;
34409 }
34410 _ACEOF
34411 rm -f conftest.$ac_objext
34412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34413 (eval $ac_compile) 2>conftest.er1
34414 ac_status=$?
34415 grep -v '^ *+' conftest.er1 >conftest.err
34416 rm -f conftest.er1
34417 cat conftest.err >&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); } &&
34420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34422 (eval $ac_try) 2>&5
34423 ac_status=$?
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); }; } &&
34426 { ac_try='test -s conftest.$ac_objext'
34427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34428 (eval $ac_try) 2>&5
34429 ac_status=$?
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); }; }; then
34432 ac_cv_type_mode_t=yes
34433 else
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.$ac_ext >&5
34436
34437 ac_cv_type_mode_t=no
34438 fi
34439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34440 fi
34441 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34442 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34443 if test $ac_cv_type_mode_t = yes; then
34444 :
34445 else
34446
34447 cat >>confdefs.h <<_ACEOF
34448 #define mode_t int
34449 _ACEOF
34450
34451 fi
34452
34453 echo "$as_me:$LINENO: checking for off_t" >&5
34454 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34455 if test "${ac_cv_type_off_t+set}" = set; then
34456 echo $ECHO_N "(cached) $ECHO_C" >&6
34457 else
34458 cat >conftest.$ac_ext <<_ACEOF
34459 /* confdefs.h. */
34460 _ACEOF
34461 cat confdefs.h >>conftest.$ac_ext
34462 cat >>conftest.$ac_ext <<_ACEOF
34463 /* end confdefs.h. */
34464 $ac_includes_default
34465 int
34466 main ()
34467 {
34468 if ((off_t *) 0)
34469 return 0;
34470 if (sizeof (off_t))
34471 return 0;
34472 ;
34473 return 0;
34474 }
34475 _ACEOF
34476 rm -f conftest.$ac_objext
34477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34478 (eval $ac_compile) 2>conftest.er1
34479 ac_status=$?
34480 grep -v '^ *+' conftest.er1 >conftest.err
34481 rm -f conftest.er1
34482 cat conftest.err >&5
34483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34484 (exit $ac_status); } &&
34485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34487 (eval $ac_try) 2>&5
34488 ac_status=$?
34489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34490 (exit $ac_status); }; } &&
34491 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
34497 ac_cv_type_off_t=yes
34498 else
34499 echo "$as_me: failed program was:" >&5
34500 sed 's/^/| /' conftest.$ac_ext >&5
34501
34502 ac_cv_type_off_t=no
34503 fi
34504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34505 fi
34506 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34507 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34508 if test $ac_cv_type_off_t = yes; then
34509 :
34510 else
34511
34512 cat >>confdefs.h <<_ACEOF
34513 #define off_t long
34514 _ACEOF
34515
34516 fi
34517
34518 echo "$as_me:$LINENO: checking for pid_t" >&5
34519 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34520 if test "${ac_cv_type_pid_t+set}" = set; then
34521 echo $ECHO_N "(cached) $ECHO_C" >&6
34522 else
34523 cat >conftest.$ac_ext <<_ACEOF
34524 /* confdefs.h. */
34525 _ACEOF
34526 cat confdefs.h >>conftest.$ac_ext
34527 cat >>conftest.$ac_ext <<_ACEOF
34528 /* end confdefs.h. */
34529 $ac_includes_default
34530 int
34531 main ()
34532 {
34533 if ((pid_t *) 0)
34534 return 0;
34535 if (sizeof (pid_t))
34536 return 0;
34537 ;
34538 return 0;
34539 }
34540 _ACEOF
34541 rm -f conftest.$ac_objext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34543 (eval $ac_compile) 2>conftest.er1
34544 ac_status=$?
34545 grep -v '^ *+' conftest.er1 >conftest.err
34546 rm -f conftest.er1
34547 cat conftest.err >&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34553 ac_status=$?
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try='test -s conftest.$ac_objext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34559 ac_status=$?
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_type_pid_t=yes
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567 ac_cv_type_pid_t=no
34568 fi
34569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34570 fi
34571 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34572 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34573 if test $ac_cv_type_pid_t = yes; then
34574 :
34575 else
34576
34577 cat >>confdefs.h <<_ACEOF
34578 #define pid_t int
34579 _ACEOF
34580
34581 fi
34582
34583 echo "$as_me:$LINENO: checking for size_t" >&5
34584 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34585 if test "${ac_cv_type_size_t+set}" = set; then
34586 echo $ECHO_N "(cached) $ECHO_C" >&6
34587 else
34588 cat >conftest.$ac_ext <<_ACEOF
34589 /* confdefs.h. */
34590 _ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594 $ac_includes_default
34595 int
34596 main ()
34597 {
34598 if ((size_t *) 0)
34599 return 0;
34600 if (sizeof (size_t))
34601 return 0;
34602 ;
34603 return 0;
34604 }
34605 _ACEOF
34606 rm -f conftest.$ac_objext
34607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34608 (eval $ac_compile) 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } &&
34615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34618 ac_status=$?
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; } &&
34621 { ac_try='test -s conftest.$ac_objext'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34624 ac_status=$?
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; }; then
34627 ac_cv_type_size_t=yes
34628 else
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.$ac_ext >&5
34631
34632 ac_cv_type_size_t=no
34633 fi
34634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34635 fi
34636 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34637 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34638 if test $ac_cv_type_size_t = yes; then
34639 :
34640 else
34641
34642 cat >>confdefs.h <<_ACEOF
34643 #define size_t unsigned
34644 _ACEOF
34645
34646 fi
34647
34648 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34649 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34650 if test "${ac_cv_type_uid_t+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 #include <sys/types.h>
34660
34661 _ACEOF
34662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34663 $EGREP "uid_t" >/dev/null 2>&1; then
34664 ac_cv_type_uid_t=yes
34665 else
34666 ac_cv_type_uid_t=no
34667 fi
34668 rm -f conftest*
34669
34670 fi
34671 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34672 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34673 if test $ac_cv_type_uid_t = no; then
34674
34675 cat >>confdefs.h <<\_ACEOF
34676 #define uid_t int
34677 _ACEOF
34678
34679
34680 cat >>confdefs.h <<\_ACEOF
34681 #define gid_t int
34682 _ACEOF
34683
34684 fi
34685
34686
34687 echo "$as_me:$LINENO: checking for ssize_t" >&5
34688 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34689 if test "${ac_cv_type_ssize_t+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 $ac_includes_default
34699 int
34700 main ()
34701 {
34702 if ((ssize_t *) 0)
34703 return 0;
34704 if (sizeof (ssize_t))
34705 return 0;
34706 ;
34707 return 0;
34708 }
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34712 (eval $ac_compile) 2>conftest.er1
34713 ac_status=$?
34714 grep -v '^ *+' conftest.er1 >conftest.err
34715 rm -f conftest.er1
34716 cat conftest.err >&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); } &&
34719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34722 ac_status=$?
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; } &&
34725 { ac_try='test -s conftest.$ac_objext'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34728 ac_status=$?
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; }; then
34731 ac_cv_type_ssize_t=yes
34732 else
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34735
34736 ac_cv_type_ssize_t=no
34737 fi
34738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34739 fi
34740 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34741 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34742 if test $ac_cv_type_ssize_t = yes; then
34743
34744 cat >>confdefs.h <<_ACEOF
34745 #define HAVE_SSIZE_T 1
34746 _ACEOF
34747
34748
34749 fi
34750
34751
34752 ac_ext=cc
34753 ac_cpp='$CXXCPP $CPPFLAGS'
34754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34758 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34759 if test "${wx_cv_size_t_is_uint+set}" = set; then
34760 echo $ECHO_N "(cached) $ECHO_C" >&6
34761 else
34762
34763 cat >conftest.$ac_ext <<_ACEOF
34764 /* confdefs.h. */
34765 _ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769 #include <stddef.h>
34770 int
34771 main ()
34772 {
34773
34774 return 0; }
34775
34776 struct Foo { void foo(size_t); void foo(unsigned int); };
34777
34778 int bar() {
34779
34780 ;
34781 return 0;
34782 }
34783 _ACEOF
34784 rm -f conftest.$ac_objext
34785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34786 (eval $ac_compile) 2>conftest.er1
34787 ac_status=$?
34788 grep -v '^ *+' conftest.er1 >conftest.err
34789 rm -f conftest.er1
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } &&
34793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34795 (eval $ac_try) 2>&5
34796 ac_status=$?
34797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34798 (exit $ac_status); }; } &&
34799 { ac_try='test -s conftest.$ac_objext'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; }; then
34805 wx_cv_size_t_is_uint=no
34806 else
34807 echo "$as_me: failed program was:" >&5
34808 sed 's/^/| /' conftest.$ac_ext >&5
34809
34810 wx_cv_size_t_is_uint=yes
34811
34812 fi
34813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34814
34815
34816 fi
34817 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34818 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34819
34820 if test "$wx_cv_size_t_is_uint" = "yes"; then
34821 cat >>confdefs.h <<\_ACEOF
34822 #define wxSIZE_T_IS_UINT 1
34823 _ACEOF
34824
34825 else
34826 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34827 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34828 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 else
34831 cat >conftest.$ac_ext <<_ACEOF
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837 #include <stddef.h>
34838 int
34839 main ()
34840 {
34841
34842 return 0; }
34843
34844 struct Foo { void foo(size_t); void foo(unsigned long); };
34845
34846 int bar() {
34847
34848 ;
34849 return 0;
34850 }
34851 _ACEOF
34852 rm -f conftest.$ac_objext
34853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34854 (eval $ac_compile) 2>conftest.er1
34855 ac_status=$?
34856 grep -v '^ *+' conftest.er1 >conftest.err
34857 rm -f conftest.er1
34858 cat conftest.err >&5
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } &&
34861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34864 ac_status=$?
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; } &&
34867 { ac_try='test -s conftest.$ac_objext'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34870 ac_status=$?
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; }; then
34873 wx_cv_size_t_is_ulong=no
34874 else
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34877
34878 wx_cv_size_t_is_ulong=yes
34879
34880 fi
34881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34882
34883 fi
34884 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34885 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34886
34887 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34888 cat >>confdefs.h <<\_ACEOF
34889 #define wxSIZE_T_IS_ULONG 1
34890 _ACEOF
34891
34892 fi
34893 fi
34894
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900
34901
34902 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34903 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34904 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 else
34907
34908 cat >conftest.$ac_ext <<_ACEOF
34909 /* confdefs.h. */
34910 _ACEOF
34911 cat confdefs.h >>conftest.$ac_ext
34912 cat >>conftest.$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34914 #include <pwd.h>
34915 int
34916 main ()
34917 {
34918
34919 char *p;
34920 struct passwd *pw;
34921 p = pw->pw_gecos;
34922
34923 ;
34924 return 0;
34925 }
34926 _ACEOF
34927 rm -f conftest.$ac_objext
34928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34929 (eval $ac_compile) 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } &&
34936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34939 ac_status=$?
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; } &&
34942 { ac_try='test -s conftest.$ac_objext'
34943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944 (eval $ac_try) 2>&5
34945 ac_status=$?
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); }; }; then
34948
34949 wx_cv_struct_pw_gecos=yes
34950
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34954
34955
34956 wx_cv_struct_pw_gecos=no
34957
34958
34959 fi
34960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34961
34962
34963 fi
34964 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34965 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34966
34967 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34968 cat >>confdefs.h <<\_ACEOF
34969 #define HAVE_PW_GECOS 1
34970 _ACEOF
34971
34972 fi
34973
34974
34975 if test "$wxUSE_WCHAR_T" = "yes"; then
34976 cat >>confdefs.h <<\_ACEOF
34977 #define wxUSE_WCHAR_T 1
34978 _ACEOF
34979
34980
34981 WCSLEN_FOUND=0
34982 WCHAR_LINK=
34983
34984 for ac_func in wcslen
34985 do
34986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34987 echo "$as_me:$LINENO: checking for $ac_func" >&5
34988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34989 if eval "test \"\${$as_ac_var+set}\" = set"; then
34990 echo $ECHO_N "(cached) $ECHO_C" >&6
34991 else
34992 cat >conftest.$ac_ext <<_ACEOF
34993 /* confdefs.h. */
34994 _ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
34998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35000 #define $ac_func innocuous_$ac_func
35001
35002 /* System header to define __stub macros and hopefully few prototypes,
35003 which can conflict with char $ac_func (); below.
35004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35005 <limits.h> exists even on freestanding compilers. */
35006
35007 #ifdef __STDC__
35008 # include <limits.h>
35009 #else
35010 # include <assert.h>
35011 #endif
35012
35013 #undef $ac_func
35014
35015 /* Override any gcc2 internal prototype to avoid an error. */
35016 #ifdef __cplusplus
35017 extern "C"
35018 {
35019 #endif
35020 /* We use char because int might match the return type of a gcc2
35021 builtin and then its argument prototype would still apply. */
35022 char $ac_func ();
35023 /* The GNU C library defines this for functions which it implements
35024 to always fail with ENOSYS. Some functions are actually named
35025 something starting with __ and the normal name is an alias. */
35026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35027 choke me
35028 #else
35029 char (*f) () = $ac_func;
35030 #endif
35031 #ifdef __cplusplus
35032 }
35033 #endif
35034
35035 int
35036 main ()
35037 {
35038 return f != $ac_func;
35039 ;
35040 return 0;
35041 }
35042 _ACEOF
35043 rm -f conftest.$ac_objext conftest$ac_exeext
35044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35045 (eval $ac_link) 2>conftest.er1
35046 ac_status=$?
35047 grep -v '^ *+' conftest.er1 >conftest.err
35048 rm -f conftest.er1
35049 cat conftest.err >&5
35050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35051 (exit $ac_status); } &&
35052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35054 (eval $ac_try) 2>&5
35055 ac_status=$?
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); }; } &&
35058 { ac_try='test -s conftest$ac_exeext'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35061 ac_status=$?
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; }; then
35064 eval "$as_ac_var=yes"
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 eval "$as_ac_var=no"
35070 fi
35071 rm -f conftest.err conftest.$ac_objext \
35072 conftest$ac_exeext conftest.$ac_ext
35073 fi
35074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35076 if test `eval echo '${'$as_ac_var'}'` = yes; then
35077 cat >>confdefs.h <<_ACEOF
35078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35079 _ACEOF
35080 WCSLEN_FOUND=1
35081 fi
35082 done
35083
35084
35085 if test "$WCSLEN_FOUND" = 0; then
35086 if test "$TOOLKIT" = "MSW"; then
35087 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35088 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35089 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35091 else
35092 ac_check_lib_save_LIBS=$LIBS
35093 LIBS="-lmsvcrt $LIBS"
35094 cat >conftest.$ac_ext <<_ACEOF
35095 /* confdefs.h. */
35096 _ACEOF
35097 cat confdefs.h >>conftest.$ac_ext
35098 cat >>conftest.$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35100
35101 /* Override any gcc2 internal prototype to avoid an error. */
35102 #ifdef __cplusplus
35103 extern "C"
35104 #endif
35105 /* We use char because int might match the return type of a gcc2
35106 builtin and then its argument prototype would still apply. */
35107 char wcslen ();
35108 int
35109 main ()
35110 {
35111 wcslen ();
35112 ;
35113 return 0;
35114 }
35115 _ACEOF
35116 rm -f conftest.$ac_objext conftest$ac_exeext
35117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35118 (eval $ac_link) 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } &&
35125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; } &&
35131 { ac_try='test -s conftest$ac_exeext'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35134 ac_status=$?
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; }; then
35137 ac_cv_lib_msvcrt_wcslen=yes
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142 ac_cv_lib_msvcrt_wcslen=no
35143 fi
35144 rm -f conftest.err conftest.$ac_objext \
35145 conftest$ac_exeext conftest.$ac_ext
35146 LIBS=$ac_check_lib_save_LIBS
35147 fi
35148 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35149 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35150 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35151 WCHAR_OK=1
35152 fi
35153
35154 else
35155 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35156 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35157 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35158 echo $ECHO_N "(cached) $ECHO_C" >&6
35159 else
35160 ac_check_lib_save_LIBS=$LIBS
35161 LIBS="-lw $LIBS"
35162 cat >conftest.$ac_ext <<_ACEOF
35163 /* confdefs.h. */
35164 _ACEOF
35165 cat confdefs.h >>conftest.$ac_ext
35166 cat >>conftest.$ac_ext <<_ACEOF
35167 /* end confdefs.h. */
35168
35169 /* Override any gcc2 internal prototype to avoid an error. */
35170 #ifdef __cplusplus
35171 extern "C"
35172 #endif
35173 /* We use char because int might match the return type of a gcc2
35174 builtin and then its argument prototype would still apply. */
35175 char wcslen ();
35176 int
35177 main ()
35178 {
35179 wcslen ();
35180 ;
35181 return 0;
35182 }
35183 _ACEOF
35184 rm -f conftest.$ac_objext conftest$ac_exeext
35185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35186 (eval $ac_link) 2>conftest.er1
35187 ac_status=$?
35188 grep -v '^ *+' conftest.er1 >conftest.err
35189 rm -f conftest.er1
35190 cat conftest.err >&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } &&
35193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35195 (eval $ac_try) 2>&5
35196 ac_status=$?
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); }; } &&
35199 { ac_try='test -s conftest$ac_exeext'
35200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35201 (eval $ac_try) 2>&5
35202 ac_status=$?
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); }; }; then
35205 ac_cv_lib_w_wcslen=yes
35206 else
35207 echo "$as_me: failed program was:" >&5
35208 sed 's/^/| /' conftest.$ac_ext >&5
35209
35210 ac_cv_lib_w_wcslen=no
35211 fi
35212 rm -f conftest.err conftest.$ac_objext \
35213 conftest$ac_exeext conftest.$ac_ext
35214 LIBS=$ac_check_lib_save_LIBS
35215 fi
35216 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35217 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35218 if test $ac_cv_lib_w_wcslen = yes; then
35219
35220 WCHAR_LINK=" -lw"
35221 WCSLEN_FOUND=1
35222
35223 fi
35224
35225 fi
35226 fi
35227
35228 if test "$WCSLEN_FOUND" = 1; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define HAVE_WCSLEN 1
35231 _ACEOF
35232
35233 fi
35234
35235 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35236 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35237 fi
35238
35239 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35240 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35241 if test "${ac_cv_type_mbstate_t+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 else
35244 cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h. */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 #include <wchar.h>
35251
35252 int
35253 main ()
35254 {
35255 if ((mbstate_t *) 0)
35256 return 0;
35257 if (sizeof (mbstate_t))
35258 return 0;
35259 ;
35260 return 0;
35261 }
35262 _ACEOF
35263 rm -f conftest.$ac_objext
35264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35265 (eval $ac_compile) 2>conftest.er1
35266 ac_status=$?
35267 grep -v '^ *+' conftest.er1 >conftest.err
35268 rm -f conftest.er1
35269 cat conftest.err >&5
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); } &&
35272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; } &&
35278 { ac_try='test -s conftest.$ac_objext'
35279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35280 (eval $ac_try) 2>&5
35281 ac_status=$?
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); }; }; then
35284 ac_cv_type_mbstate_t=yes
35285 else
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35288
35289 ac_cv_type_mbstate_t=no
35290 fi
35291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35292 fi
35293 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35294 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35295 if test $ac_cv_type_mbstate_t = yes; then
35296
35297 cat >>confdefs.h <<_ACEOF
35298 #define HAVE_MBSTATE_T 1
35299 _ACEOF
35300
35301
35302 for ac_func in wcsrtombs
35303 do
35304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35305 echo "$as_me:$LINENO: checking for $ac_func" >&5
35306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35307 if eval "test \"\${$as_ac_var+set}\" = set"; then
35308 echo $ECHO_N "(cached) $ECHO_C" >&6
35309 else
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35318 #define $ac_func innocuous_$ac_func
35319
35320 /* System header to define __stub macros and hopefully few prototypes,
35321 which can conflict with char $ac_func (); below.
35322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35323 <limits.h> exists even on freestanding compilers. */
35324
35325 #ifdef __STDC__
35326 # include <limits.h>
35327 #else
35328 # include <assert.h>
35329 #endif
35330
35331 #undef $ac_func
35332
35333 /* Override any gcc2 internal prototype to avoid an error. */
35334 #ifdef __cplusplus
35335 extern "C"
35336 {
35337 #endif
35338 /* We use char because int might match the return type of a gcc2
35339 builtin and then its argument prototype would still apply. */
35340 char $ac_func ();
35341 /* The GNU C library defines this for functions which it implements
35342 to always fail with ENOSYS. Some functions are actually named
35343 something starting with __ and the normal name is an alias. */
35344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35345 choke me
35346 #else
35347 char (*f) () = $ac_func;
35348 #endif
35349 #ifdef __cplusplus
35350 }
35351 #endif
35352
35353 int
35354 main ()
35355 {
35356 return f != $ac_func;
35357 ;
35358 return 0;
35359 }
35360 _ACEOF
35361 rm -f conftest.$ac_objext conftest$ac_exeext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35363 (eval $ac_link) 2>conftest.er1
35364 ac_status=$?
35365 grep -v '^ *+' conftest.er1 >conftest.err
35366 rm -f conftest.er1
35367 cat conftest.err >&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); } &&
35370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35372 (eval $ac_try) 2>&5
35373 ac_status=$?
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); }; } &&
35376 { ac_try='test -s conftest$ac_exeext'
35377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35378 (eval $ac_try) 2>&5
35379 ac_status=$?
35380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35381 (exit $ac_status); }; }; then
35382 eval "$as_ac_var=yes"
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35386
35387 eval "$as_ac_var=no"
35388 fi
35389 rm -f conftest.err conftest.$ac_objext \
35390 conftest$ac_exeext conftest.$ac_ext
35391 fi
35392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35394 if test `eval echo '${'$as_ac_var'}'` = yes; then
35395 cat >>confdefs.h <<_ACEOF
35396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35397 _ACEOF
35398
35399 fi
35400 done
35401
35402 fi
35403
35404 else
35405 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35406 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35407 fi
35408
35409
35410
35411 for ac_func in snprintf vsnprintf
35412 do
35413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35414 echo "$as_me:$LINENO: checking for $ac_func" >&5
35415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35416 if eval "test \"\${$as_ac_var+set}\" = set"; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35418 else
35419 cat >conftest.$ac_ext <<_ACEOF
35420 /* confdefs.h. */
35421 _ACEOF
35422 cat confdefs.h >>conftest.$ac_ext
35423 cat >>conftest.$ac_ext <<_ACEOF
35424 /* end confdefs.h. */
35425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35427 #define $ac_func innocuous_$ac_func
35428
35429 /* System header to define __stub macros and hopefully few prototypes,
35430 which can conflict with char $ac_func (); below.
35431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35432 <limits.h> exists even on freestanding compilers. */
35433
35434 #ifdef __STDC__
35435 # include <limits.h>
35436 #else
35437 # include <assert.h>
35438 #endif
35439
35440 #undef $ac_func
35441
35442 /* Override any gcc2 internal prototype to avoid an error. */
35443 #ifdef __cplusplus
35444 extern "C"
35445 {
35446 #endif
35447 /* We use char because int might match the return type of a gcc2
35448 builtin and then its argument prototype would still apply. */
35449 char $ac_func ();
35450 /* The GNU C library defines this for functions which it implements
35451 to always fail with ENOSYS. Some functions are actually named
35452 something starting with __ and the normal name is an alias. */
35453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35454 choke me
35455 #else
35456 char (*f) () = $ac_func;
35457 #endif
35458 #ifdef __cplusplus
35459 }
35460 #endif
35461
35462 int
35463 main ()
35464 {
35465 return f != $ac_func;
35466 ;
35467 return 0;
35468 }
35469 _ACEOF
35470 rm -f conftest.$ac_objext conftest$ac_exeext
35471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35472 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
35492 else
35493 echo "$as_me: failed program was:" >&5
35494 sed 's/^/| /' conftest.$ac_ext >&5
35495
35496 eval "$as_ac_var=no"
35497 fi
35498 rm -f conftest.err conftest.$ac_objext \
35499 conftest$ac_exeext conftest.$ac_ext
35500 fi
35501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35503 if test `eval echo '${'$as_ac_var'}'` = yes; then
35504 cat >>confdefs.h <<_ACEOF
35505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35506 _ACEOF
35507
35508 fi
35509 done
35510
35511
35512 if test "$ac_cv_func_vsnprintf" = "yes"; then
35513 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35514 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35515 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35517 else
35518
35519 cat >conftest.$ac_ext <<_ACEOF
35520 /* confdefs.h. */
35521 _ACEOF
35522 cat confdefs.h >>conftest.$ac_ext
35523 cat >>conftest.$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525
35526 #include <stdio.h>
35527 #include <stdarg.h>
35528 #ifdef __MSL__
35529 #if __MSL__ >= 0x6000
35530 namespace std {}
35531 using namespace std;
35532 #endif
35533 #endif
35534
35535 int
35536 main ()
35537 {
35538
35539 char *buf;
35540 va_list ap;
35541 vsnprintf(buf, 10u, "%s", ap);
35542
35543 ;
35544 return 0;
35545 }
35546 _ACEOF
35547 rm -f conftest.$ac_objext
35548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35549 (eval $ac_compile) 2>conftest.er1
35550 ac_status=$?
35551 grep -v '^ *+' conftest.er1 >conftest.err
35552 rm -f conftest.er1
35553 cat conftest.err >&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); } &&
35556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35558 (eval $ac_try) 2>&5
35559 ac_status=$?
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); }; } &&
35562 { ac_try='test -s conftest.$ac_objext'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35565 ac_status=$?
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; }; then
35568 wx_cv_func_vsnprintf_decl=yes
35569 else
35570 echo "$as_me: failed program was:" >&5
35571 sed 's/^/| /' conftest.$ac_ext >&5
35572
35573 wx_cv_func_vsnprintf_decl=no
35574
35575 fi
35576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35577
35578
35579 fi
35580 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35581 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35582
35583 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35584 cat >>confdefs.h <<\_ACEOF
35585 #define HAVE_VSNPRINTF_DECL 1
35586 _ACEOF
35587
35588
35589 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35590 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35591 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594
35595 cat >conftest.$ac_ext <<_ACEOF
35596 /* confdefs.h. */
35597 _ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601
35602 #include <stdio.h>
35603 #include <stdarg.h>
35604 #ifdef __MSL__
35605 #if __MSL__ >= 0x6000
35606 namespace std {}
35607 using namespace std;
35608 #endif
35609 #endif
35610
35611 int
35612 main ()
35613 {
35614
35615 char *buf;
35616 va_list ap;
35617 const char *fmt = "%s";
35618 vsnprintf(buf, 10u, fmt, ap);
35619
35620 ;
35621 return 0;
35622 }
35623 _ACEOF
35624 rm -f conftest.$ac_objext
35625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35626 (eval $ac_compile) 2>conftest.er1
35627 ac_status=$?
35628 grep -v '^ *+' conftest.er1 >conftest.err
35629 rm -f conftest.er1
35630 cat conftest.err >&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); } &&
35633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try='test -s conftest.$ac_objext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
35645 wx_cv_func_broken_vsnprintf_decl=no
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35649
35650 wx_cv_func_broken_vsnprintf_decl=yes
35651
35652 fi
35653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35654
35655
35656 fi
35657 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35658 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35659
35660 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35661 cat >>confdefs.h <<\_ACEOF
35662 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35663 _ACEOF
35664
35665 fi
35666 fi
35667 fi
35668
35669 if test "$ac_cv_func_snprintf" = "yes"; then
35670 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35671 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35672 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35673 echo $ECHO_N "(cached) $ECHO_C" >&6
35674 else
35675
35676 cat >conftest.$ac_ext <<_ACEOF
35677 /* confdefs.h. */
35678 _ACEOF
35679 cat confdefs.h >>conftest.$ac_ext
35680 cat >>conftest.$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682
35683 #include <stdio.h>
35684 #include <stdarg.h>
35685 #ifdef __MSL__
35686 #if __MSL__ >= 0x6000
35687 namespace std {}
35688 using namespace std;
35689 #endif
35690 #endif
35691
35692 int
35693 main ()
35694 {
35695
35696 char *buf;
35697 snprintf(buf, 10u, "%s", "wx");
35698
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 rm -f conftest.$ac_objext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35705 (eval $ac_compile) 2>conftest.er1
35706 ac_status=$?
35707 grep -v '^ *+' conftest.er1 >conftest.err
35708 rm -f conftest.er1
35709 cat conftest.err >&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714 (eval $ac_try) 2>&5
35715 ac_status=$?
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); }; } &&
35718 { ac_try='test -s conftest.$ac_objext'
35719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35720 (eval $ac_try) 2>&5
35721 ac_status=$?
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); }; }; then
35724 wx_cv_func_snprintf_decl=yes
35725 else
35726 echo "$as_me: failed program was:" >&5
35727 sed 's/^/| /' conftest.$ac_ext >&5
35728
35729 wx_cv_func_snprintf_decl=no
35730
35731 fi
35732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35733
35734
35735 fi
35736 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35737 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35738
35739 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35740 cat >>confdefs.h <<\_ACEOF
35741 #define HAVE_SNPRINTF_DECL 1
35742 _ACEOF
35743
35744
35745 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35746 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35747 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35748 echo $ECHO_N "(cached) $ECHO_C" >&6
35749 else
35750
35751 cat >conftest.$ac_ext <<_ACEOF
35752 /* confdefs.h. */
35753 _ACEOF
35754 cat confdefs.h >>conftest.$ac_ext
35755 cat >>conftest.$ac_ext <<_ACEOF
35756 /* end confdefs.h. */
35757
35758 #include <stdio.h>
35759 #include <stdarg.h>
35760 #ifdef __MSL__
35761 #if __MSL__ >= 0x6000
35762 namespace std {}
35763 using namespace std;
35764 #endif
35765 #endif
35766
35767 int
35768 main ()
35769 {
35770
35771 char *buf;
35772 const char *fmt = "%s";
35773 snprintf(buf, 10u, fmt, "wx");
35774
35775 ;
35776 return 0;
35777 }
35778 _ACEOF
35779 rm -f conftest.$ac_objext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35781 (eval $ac_compile) 2>conftest.er1
35782 ac_status=$?
35783 grep -v '^ *+' conftest.er1 >conftest.err
35784 rm -f conftest.er1
35785 cat conftest.err >&5
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); } &&
35788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
35794 { ac_try='test -s conftest.$ac_objext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_broken_snprintf_decl=no
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 wx_cv_func_broken_snprintf_decl=yes
35806
35807 fi
35808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35809
35810
35811 fi
35812 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35813 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35814
35815 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35816 cat >>confdefs.h <<\_ACEOF
35817 #define HAVE_BROKEN_SNPRINTF_DECL 1
35818 _ACEOF
35819
35820 fi
35821 fi
35822
35823 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35824
35825 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35826 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35827 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35830
35831 if test "$cross_compiling" = yes; then
35832
35833 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35834 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35835 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35836 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35837 wx_cv_func_snprintf_pos_params=no
35838
35839
35840 else
35841 cat >conftest.$ac_ext <<_ACEOF
35842 /* confdefs.h. */
35843 _ACEOF
35844 cat confdefs.h >>conftest.$ac_ext
35845 cat >>conftest.$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847
35848 #include <stdio.h>
35849
35850 int main (void)
35851 {
35852 char buffer[128];
35853 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35854 if (strcmp ("2 3 1", buffer) == 0)
35855 exit (0);
35856 exit (1);
35857 }
35858
35859 _ACEOF
35860 rm -f conftest$ac_exeext
35861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35862 (eval $ac_link) 2>&5
35863 ac_status=$?
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35868 ac_status=$?
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; }; then
35871 wx_cv_func_snprintf_pos_params=no
35872 else
35873 echo "$as_me: program exited with status $ac_status" >&5
35874 echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.$ac_ext >&5
35876
35877 ( exit $ac_status )
35878 wx_cv_func_snprintf_pos_params=yes
35879 fi
35880 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35881 fi
35882
35883
35884 fi
35885 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35886 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35887
35888 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35889 cat >>confdefs.h <<\_ACEOF
35890 #define HAVE_UNIX98_PRINTF 1
35891 _ACEOF
35892
35893 fi
35894 fi
35895 fi
35896
35897 if test "$wxUSE_UNICODE" = yes; then
35898
35899
35900 for ac_func in swprintf
35901 do
35902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35903 echo "$as_me:$LINENO: checking for $ac_func" >&5
35904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35905 if eval "test \"\${$as_ac_var+set}\" = set"; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 else
35908 cat >conftest.$ac_ext <<_ACEOF
35909 /* confdefs.h. */
35910 _ACEOF
35911 cat confdefs.h >>conftest.$ac_ext
35912 cat >>conftest.$ac_ext <<_ACEOF
35913 /* end confdefs.h. */
35914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35916 #define $ac_func innocuous_$ac_func
35917
35918 /* System header to define __stub macros and hopefully few prototypes,
35919 which can conflict with char $ac_func (); below.
35920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35921 <limits.h> exists even on freestanding compilers. */
35922
35923 #ifdef __STDC__
35924 # include <limits.h>
35925 #else
35926 # include <assert.h>
35927 #endif
35928
35929 #undef $ac_func
35930
35931 /* Override any gcc2 internal prototype to avoid an error. */
35932 #ifdef __cplusplus
35933 extern "C"
35934 {
35935 #endif
35936 /* We use char because int might match the return type of a gcc2
35937 builtin and then its argument prototype would still apply. */
35938 char $ac_func ();
35939 /* The GNU C library defines this for functions which it implements
35940 to always fail with ENOSYS. Some functions are actually named
35941 something starting with __ and the normal name is an alias. */
35942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35943 choke me
35944 #else
35945 char (*f) () = $ac_func;
35946 #endif
35947 #ifdef __cplusplus
35948 }
35949 #endif
35950
35951 int
35952 main ()
35953 {
35954 return f != $ac_func;
35955 ;
35956 return 0;
35957 }
35958 _ACEOF
35959 rm -f conftest.$ac_objext conftest$ac_exeext
35960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35961 (eval $ac_link) 2>conftest.er1
35962 ac_status=$?
35963 grep -v '^ *+' conftest.er1 >conftest.err
35964 rm -f conftest.er1
35965 cat conftest.err >&5
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); } &&
35968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 (eval $ac_try) 2>&5
35971 ac_status=$?
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); }; } &&
35974 { ac_try='test -s conftest$ac_exeext'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35977 ac_status=$?
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; }; then
35980 eval "$as_ac_var=yes"
35981 else
35982 echo "$as_me: failed program was:" >&5
35983 sed 's/^/| /' conftest.$ac_ext >&5
35984
35985 eval "$as_ac_var=no"
35986 fi
35987 rm -f conftest.err conftest.$ac_objext \
35988 conftest$ac_exeext conftest.$ac_ext
35989 fi
35990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35992 if test `eval echo '${'$as_ac_var'}'` = yes; then
35993 cat >>confdefs.h <<_ACEOF
35994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35995 _ACEOF
35996
35997 fi
35998 done
35999
36000
36001 if test "$ac_cv_func_swprintf" = "yes"; then
36002 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36003 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36004 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36005 echo $ECHO_N "(cached) $ECHO_C" >&6
36006 else
36007
36008 cat >conftest.$ac_ext <<_ACEOF
36009 /* confdefs.h. */
36010 _ACEOF
36011 cat confdefs.h >>conftest.$ac_ext
36012 cat >>conftest.$ac_ext <<_ACEOF
36013 /* end confdefs.h. */
36014
36015 #include <stdio.h>
36016 #include <stdarg.h>
36017 #include <wchar.h>
36018
36019 int
36020 main ()
36021 {
36022
36023 wchar_t *buf;
36024 const wchar_t *fmt = L"test";
36025 swprintf(buf, 10u, fmt);
36026
36027 ;
36028 return 0;
36029 }
36030 _ACEOF
36031 rm -f conftest.$ac_objext
36032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36033 (eval $ac_compile) 2>conftest.er1
36034 ac_status=$?
36035 grep -v '^ *+' conftest.er1 >conftest.err
36036 rm -f conftest.er1
36037 cat conftest.err >&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } &&
36040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36043 ac_status=$?
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; } &&
36046 { ac_try='test -s conftest.$ac_objext'
36047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36048 (eval $ac_try) 2>&5
36049 ac_status=$?
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); }; }; then
36052 wx_cv_func_broken_swprintf_decl=no
36053 else
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.$ac_ext >&5
36056
36057 wx_cv_func_broken_swprintf_decl=yes
36058
36059 fi
36060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36061
36062
36063 fi
36064 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36065 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36066
36067 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36068 cat >>confdefs.h <<\_ACEOF
36069 #define HAVE_BROKEN_SWPRINTF_DECL 1
36070 _ACEOF
36071
36072 fi
36073 fi
36074
36075 wchar_headers="#include <stdio.h>
36076 #include <wchar.h>"
36077 case "${host}" in
36078 *-*-solaris2* )
36079
36080 for ac_header in widec.h
36081 do
36082 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36084 echo "$as_me:$LINENO: checking for $ac_header" >&5
36085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36088 fi
36089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36091 else
36092 # Is the header compilable?
36093 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36095 cat >conftest.$ac_ext <<_ACEOF
36096 /* confdefs.h. */
36097 _ACEOF
36098 cat confdefs.h >>conftest.$ac_ext
36099 cat >>conftest.$ac_ext <<_ACEOF
36100 /* end confdefs.h. */
36101 $ac_includes_default
36102 #include <$ac_header>
36103 _ACEOF
36104 rm -f conftest.$ac_objext
36105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36106 (eval $ac_compile) 2>conftest.er1
36107 ac_status=$?
36108 grep -v '^ *+' conftest.er1 >conftest.err
36109 rm -f conftest.er1
36110 cat conftest.err >&5
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); } &&
36113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36115 (eval $ac_try) 2>&5
36116 ac_status=$?
36117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 (exit $ac_status); }; } &&
36119 { ac_try='test -s conftest.$ac_objext'
36120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 (eval $ac_try) 2>&5
36122 ac_status=$?
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; }; then
36125 ac_header_compiler=yes
36126 else
36127 echo "$as_me: failed program was:" >&5
36128 sed 's/^/| /' conftest.$ac_ext >&5
36129
36130 ac_header_compiler=no
36131 fi
36132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36134 echo "${ECHO_T}$ac_header_compiler" >&6
36135
36136 # Is the header present?
36137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36139 cat >conftest.$ac_ext <<_ACEOF
36140 /* confdefs.h. */
36141 _ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145 #include <$ac_header>
36146 _ACEOF
36147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36149 ac_status=$?
36150 grep -v '^ *+' conftest.er1 >conftest.err
36151 rm -f conftest.er1
36152 cat conftest.err >&5
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); } >/dev/null; then
36155 if test -s conftest.err; then
36156 ac_cpp_err=$ac_c_preproc_warn_flag
36157 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36158 else
36159 ac_cpp_err=
36160 fi
36161 else
36162 ac_cpp_err=yes
36163 fi
36164 if test -z "$ac_cpp_err"; then
36165 ac_header_preproc=yes
36166 else
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36169
36170 ac_header_preproc=no
36171 fi
36172 rm -f conftest.err conftest.$ac_ext
36173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36174 echo "${ECHO_T}$ac_header_preproc" >&6
36175
36176 # So? What about this header?
36177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36178 yes:no: )
36179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36183 ac_header_preproc=yes
36184 ;;
36185 no:yes:* )
36186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36198 (
36199 cat <<\_ASBOX
36200 ## ----------------------------------------- ##
36201 ## Report this to wx-dev@lists.wxwidgets.org ##
36202 ## ----------------------------------------- ##
36203 _ASBOX
36204 ) |
36205 sed "s/^/$as_me: WARNING: /" >&2
36206 ;;
36207 esac
36208 echo "$as_me:$LINENO: checking for $ac_header" >&5
36209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 else
36213 eval "$as_ac_Header=\$ac_header_preproc"
36214 fi
36215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36217
36218 fi
36219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36220 cat >>confdefs.h <<_ACEOF
36221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36222 _ACEOF
36223
36224 fi
36225
36226 done
36227
36228 if test "$ac_cv_header_widec_h" = "yes"; then
36229 wchar_headers="$wchar_headers
36230 #include <widec.h>"
36231 fi
36232 esac
36233
36234
36235 for wx_func in wputc wputchar putws fputws wprintf vswprintf
36236 do
36237 echo "$as_me:$LINENO: checking for $wx_func" >&5
36238 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36239 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36240 echo $ECHO_N "(cached) $ECHO_C" >&6
36241 else
36242
36243 cat >conftest.$ac_ext <<_ACEOF
36244
36245 /* confdefs.h. */
36246 _ACEOF
36247 cat confdefs.h >>conftest.$ac_ext
36248 cat >>conftest.$ac_ext <<_ACEOF
36249 /* end confdefs.h. */
36250
36251 $wchar_headers
36252 $ac_includes_default
36253
36254 int
36255 main ()
36256 {
36257
36258 #ifndef $wx_func
36259 &$wx_func;
36260 #endif
36261
36262
36263 ;
36264 return 0;
36265 }
36266
36267 _ACEOF
36268 rm -f conftest.$ac_objext conftest$ac_exeext
36269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36270 (eval $ac_link) 2>conftest.er1
36271 ac_status=$?
36272 grep -v '^ *+' conftest.er1 >conftest.err
36273 rm -f conftest.er1
36274 cat conftest.err >&5
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); } &&
36277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36279 (eval $ac_try) 2>&5
36280 ac_status=$?
36281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36282 (exit $ac_status); }; } &&
36283 { ac_try='test -s conftest$ac_exeext'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36286 ac_status=$?
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; }; then
36289 eval wx_cv_func_$wx_func=yes
36290 else
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36293
36294 eval wx_cv_func_$wx_func=no
36295 fi
36296 rm -f conftest.err conftest.$ac_objext \
36297 conftest$ac_exeext conftest.$ac_ext
36298
36299 fi
36300 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36301 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36302
36303 if eval test \$wx_cv_func_$wx_func = yes
36304 then
36305 cat >>confdefs.h <<_ACEOF
36306 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36307 _ACEOF
36308
36309
36310 else
36311 :
36312
36313 fi
36314 done
36315
36316
36317 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36318 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36319 cat >conftest.$ac_ext <<_ACEOF
36320 /* confdefs.h. */
36321 _ACEOF
36322 cat confdefs.h >>conftest.$ac_ext
36323 cat >>conftest.$ac_ext <<_ACEOF
36324 /* end confdefs.h. */
36325 #include <wchar.h>
36326 int
36327 main ()
36328 {
36329 &_vsnwprintf;
36330 ;
36331 return 0;
36332 }
36333 _ACEOF
36334 rm -f conftest.$ac_objext
36335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36336 (eval $ac_compile) 2>conftest.er1
36337 ac_status=$?
36338 grep -v '^ *+' conftest.er1 >conftest.err
36339 rm -f conftest.er1
36340 cat conftest.err >&5
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); } &&
36343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36345 (eval $ac_try) 2>&5
36346 ac_status=$?
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); }; } &&
36349 { ac_try='test -s conftest.$ac_objext'
36350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 (eval $ac_try) 2>&5
36352 ac_status=$?
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); }; }; then
36355 echo "$as_me:$LINENO: result: yes" >&5
36356 echo "${ECHO_T}yes" >&6
36357 cat >>confdefs.h <<\_ACEOF
36358 #define HAVE__VSNWPRINTF 1
36359 _ACEOF
36360
36361 else
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.$ac_ext >&5
36364
36365 echo "$as_me:$LINENO: result: no" >&5
36366 echo "${ECHO_T}no" >&6
36367 fi
36368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36369 fi
36370
36371 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36372
36373 for wx_func in fnmatch
36374 do
36375 echo "$as_me:$LINENO: checking for $wx_func" >&5
36376 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36377 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36380
36381 cat >conftest.$ac_ext <<_ACEOF
36382
36383 /* confdefs.h. */
36384 _ACEOF
36385 cat confdefs.h >>conftest.$ac_ext
36386 cat >>conftest.$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388
36389 #include <fnmatch.h>
36390 $ac_includes_default
36391
36392 int
36393 main ()
36394 {
36395
36396 #ifndef $wx_func
36397 &$wx_func;
36398 #endif
36399
36400
36401 ;
36402 return 0;
36403 }
36404
36405 _ACEOF
36406 rm -f conftest.$ac_objext conftest$ac_exeext
36407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36408 (eval $ac_link) 2>conftest.er1
36409 ac_status=$?
36410 grep -v '^ *+' conftest.er1 >conftest.err
36411 rm -f conftest.er1
36412 cat conftest.err >&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); } &&
36415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36418 ac_status=$?
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; } &&
36421 { ac_try='test -s conftest$ac_exeext'
36422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423 (eval $ac_try) 2>&5
36424 ac_status=$?
36425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426 (exit $ac_status); }; }; then
36427 eval wx_cv_func_$wx_func=yes
36428 else
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 eval wx_cv_func_$wx_func=no
36433 fi
36434 rm -f conftest.err conftest.$ac_objext \
36435 conftest$ac_exeext conftest.$ac_ext
36436
36437 fi
36438 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36439 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36440
36441 if eval test \$wx_cv_func_$wx_func = yes
36442 then
36443 cat >>confdefs.h <<_ACEOF
36444 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36445 _ACEOF
36446
36447
36448 else
36449 :
36450
36451 fi
36452 done
36453
36454 fi
36455
36456 if test "$wxUSE_FILE" = "yes"; then
36457
36458 for wx_func in fsync
36459 do
36460 echo "$as_me:$LINENO: checking for $wx_func" >&5
36461 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36462 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 else
36465
36466 cat >conftest.$ac_ext <<_ACEOF
36467
36468 /* confdefs.h. */
36469 _ACEOF
36470 cat confdefs.h >>conftest.$ac_ext
36471 cat >>conftest.$ac_ext <<_ACEOF
36472 /* end confdefs.h. */
36473
36474
36475 $ac_includes_default
36476
36477 int
36478 main ()
36479 {
36480
36481 #ifndef $wx_func
36482 &$wx_func;
36483 #endif
36484
36485
36486 ;
36487 return 0;
36488 }
36489
36490 _ACEOF
36491 rm -f conftest.$ac_objext conftest$ac_exeext
36492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36493 (eval $ac_link) 2>conftest.er1
36494 ac_status=$?
36495 grep -v '^ *+' conftest.er1 >conftest.err
36496 rm -f conftest.er1
36497 cat conftest.err >&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); } &&
36500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 (eval $ac_try) 2>&5
36503 ac_status=$?
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); }; } &&
36506 { ac_try='test -s conftest$ac_exeext'
36507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36508 (eval $ac_try) 2>&5
36509 ac_status=$?
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); }; }; then
36512 eval wx_cv_func_$wx_func=yes
36513 else
36514 echo "$as_me: failed program was:" >&5
36515 sed 's/^/| /' conftest.$ac_ext >&5
36516
36517 eval wx_cv_func_$wx_func=no
36518 fi
36519 rm -f conftest.err conftest.$ac_objext \
36520 conftest$ac_exeext conftest.$ac_ext
36521
36522 fi
36523 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36524 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36525
36526 if eval test \$wx_cv_func_$wx_func = yes
36527 then
36528 cat >>confdefs.h <<_ACEOF
36529 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36530 _ACEOF
36531
36532
36533 else
36534 :
36535
36536 fi
36537 done
36538
36539 fi
36540
36541
36542 for wx_func in round
36543 do
36544 echo "$as_me:$LINENO: checking for $wx_func" >&5
36545 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36546 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36547 echo $ECHO_N "(cached) $ECHO_C" >&6
36548 else
36549
36550 cat >conftest.$ac_ext <<_ACEOF
36551
36552 /* confdefs.h. */
36553 _ACEOF
36554 cat confdefs.h >>conftest.$ac_ext
36555 cat >>conftest.$ac_ext <<_ACEOF
36556 /* end confdefs.h. */
36557
36558 #include <math.h>
36559 $ac_includes_default
36560
36561 int
36562 main ()
36563 {
36564
36565 #ifndef $wx_func
36566 &$wx_func;
36567 #endif
36568
36569
36570 ;
36571 return 0;
36572 }
36573
36574 _ACEOF
36575 rm -f conftest.$ac_objext conftest$ac_exeext
36576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36577 (eval $ac_link) 2>conftest.er1
36578 ac_status=$?
36579 grep -v '^ *+' conftest.er1 >conftest.err
36580 rm -f conftest.er1
36581 cat conftest.err >&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } &&
36584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36587 ac_status=$?
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; } &&
36590 { ac_try='test -s conftest$ac_exeext'
36591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36592 (eval $ac_try) 2>&5
36593 ac_status=$?
36594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36595 (exit $ac_status); }; }; then
36596 eval wx_cv_func_$wx_func=yes
36597 else
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.$ac_ext >&5
36600
36601 eval wx_cv_func_$wx_func=no
36602 fi
36603 rm -f conftest.err conftest.$ac_objext \
36604 conftest$ac_exeext conftest.$ac_ext
36605
36606 fi
36607 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36608 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36609
36610 if eval test \$wx_cv_func_$wx_func = yes
36611 then
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36614 _ACEOF
36615
36616
36617 else
36618 :
36619
36620 fi
36621 done
36622
36623
36624 if test "$TOOLKIT" != "MSW"; then
36625
36626
36627
36628
36629
36630 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36631 if test "${with_libiconv_prefix+set}" = set; then
36632 withval="$with_libiconv_prefix"
36633
36634 for dir in `echo "$withval" | tr : ' '`; do
36635 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36636 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36637 done
36638
36639 fi;
36640
36641 echo "$as_me:$LINENO: checking for iconv" >&5
36642 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36643 if test "${am_cv_func_iconv+set}" = set; then
36644 echo $ECHO_N "(cached) $ECHO_C" >&6
36645 else
36646
36647 am_cv_func_iconv="no, consider installing GNU libiconv"
36648 am_cv_lib_iconv=no
36649 cat >conftest.$ac_ext <<_ACEOF
36650 /* confdefs.h. */
36651 _ACEOF
36652 cat confdefs.h >>conftest.$ac_ext
36653 cat >>conftest.$ac_ext <<_ACEOF
36654 /* end confdefs.h. */
36655 #include <stdlib.h>
36656 #include <iconv.h>
36657 int
36658 main ()
36659 {
36660 iconv_t cd = iconv_open("","");
36661 iconv(cd,NULL,NULL,NULL,NULL);
36662 iconv_close(cd);
36663 ;
36664 return 0;
36665 }
36666 _ACEOF
36667 rm -f conftest.$ac_objext conftest$ac_exeext
36668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36669 (eval $ac_link) 2>conftest.er1
36670 ac_status=$?
36671 grep -v '^ *+' conftest.er1 >conftest.err
36672 rm -f conftest.er1
36673 cat conftest.err >&5
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); } &&
36676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678 (eval $ac_try) 2>&5
36679 ac_status=$?
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); }; } &&
36682 { ac_try='test -s conftest$ac_exeext'
36683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36684 (eval $ac_try) 2>&5
36685 ac_status=$?
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); }; }; then
36688 am_cv_func_iconv=yes
36689 else
36690 echo "$as_me: failed program was:" >&5
36691 sed 's/^/| /' conftest.$ac_ext >&5
36692
36693 fi
36694 rm -f conftest.err conftest.$ac_objext \
36695 conftest$ac_exeext conftest.$ac_ext
36696 if test "$am_cv_func_iconv" != yes; then
36697 am_save_LIBS="$LIBS"
36698 LIBS="$LIBS -liconv"
36699 cat >conftest.$ac_ext <<_ACEOF
36700 /* confdefs.h. */
36701 _ACEOF
36702 cat confdefs.h >>conftest.$ac_ext
36703 cat >>conftest.$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 #include <stdlib.h>
36706 #include <iconv.h>
36707 int
36708 main ()
36709 {
36710 iconv_t cd = iconv_open("","");
36711 iconv(cd,NULL,NULL,NULL,NULL);
36712 iconv_close(cd);
36713 ;
36714 return 0;
36715 }
36716 _ACEOF
36717 rm -f conftest.$ac_objext conftest$ac_exeext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36719 (eval $ac_link) 2>conftest.er1
36720 ac_status=$?
36721 grep -v '^ *+' conftest.er1 >conftest.err
36722 rm -f conftest.er1
36723 cat conftest.err >&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } &&
36726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36728 (eval $ac_try) 2>&5
36729 ac_status=$?
36730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36731 (exit $ac_status); }; } &&
36732 { ac_try='test -s conftest$ac_exeext'
36733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36734 (eval $ac_try) 2>&5
36735 ac_status=$?
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); }; }; then
36738 am_cv_lib_iconv=yes
36739 am_cv_func_iconv=yes
36740 else
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36743
36744 fi
36745 rm -f conftest.err conftest.$ac_objext \
36746 conftest$ac_exeext conftest.$ac_ext
36747 LIBS="$am_save_LIBS"
36748 fi
36749
36750 fi
36751 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36752 echo "${ECHO_T}$am_cv_func_iconv" >&6
36753 if test "$am_cv_func_iconv" = yes; then
36754
36755 cat >>confdefs.h <<\_ACEOF
36756 #define HAVE_ICONV 1
36757 _ACEOF
36758
36759 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36760 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36761 if test "${wx_cv_func_iconv_const+set}" = set; then
36762 echo $ECHO_N "(cached) $ECHO_C" >&6
36763 else
36764 cat >conftest.$ac_ext <<_ACEOF
36765 /* confdefs.h. */
36766 _ACEOF
36767 cat confdefs.h >>conftest.$ac_ext
36768 cat >>conftest.$ac_ext <<_ACEOF
36769 /* end confdefs.h. */
36770
36771 #include <stdlib.h>
36772 #include <iconv.h>
36773 extern
36774 #ifdef __cplusplus
36775 "C"
36776 #endif
36777 #if defined(__STDC__) || defined(__cplusplus)
36778 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36779 #else
36780 size_t iconv();
36781 #endif
36782
36783 int
36784 main ()
36785 {
36786
36787 ;
36788 return 0;
36789 }
36790 _ACEOF
36791 rm -f conftest.$ac_objext
36792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36793 (eval $ac_compile) 2>conftest.er1
36794 ac_status=$?
36795 grep -v '^ *+' conftest.er1 >conftest.err
36796 rm -f conftest.er1
36797 cat conftest.err >&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); } &&
36800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36806 { ac_try='test -s conftest.$ac_objext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 wx_cv_func_iconv_const="no"
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 wx_cv_func_iconv_const="yes"
36818
36819 fi
36820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36821
36822 fi
36823 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36824 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36825
36826 iconv_const=
36827 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36828 iconv_const="const"
36829 fi
36830
36831
36832 cat >>confdefs.h <<_ACEOF
36833 #define ICONV_CONST $iconv_const
36834 _ACEOF
36835
36836 fi
36837 LIBICONV=
36838 if test "$am_cv_lib_iconv" = yes; then
36839 LIBICONV="-liconv"
36840 fi
36841
36842
36843 LIBS="$LIBICONV $LIBS"
36844
36845 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36846
36847 for ac_func in sigaction
36848 do
36849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36850 echo "$as_me:$LINENO: checking for $ac_func" >&5
36851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_var+set}\" = set"; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36854 else
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36863 #define $ac_func innocuous_$ac_func
36864
36865 /* System header to define __stub macros and hopefully few prototypes,
36866 which can conflict with char $ac_func (); below.
36867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36868 <limits.h> exists even on freestanding compilers. */
36869
36870 #ifdef __STDC__
36871 # include <limits.h>
36872 #else
36873 # include <assert.h>
36874 #endif
36875
36876 #undef $ac_func
36877
36878 /* Override any gcc2 internal prototype to avoid an error. */
36879 #ifdef __cplusplus
36880 extern "C"
36881 {
36882 #endif
36883 /* We use char because int might match the return type of a gcc2
36884 builtin and then its argument prototype would still apply. */
36885 char $ac_func ();
36886 /* The GNU C library defines this for functions which it implements
36887 to always fail with ENOSYS. Some functions are actually named
36888 something starting with __ and the normal name is an alias. */
36889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36890 choke me
36891 #else
36892 char (*f) () = $ac_func;
36893 #endif
36894 #ifdef __cplusplus
36895 }
36896 #endif
36897
36898 int
36899 main ()
36900 {
36901 return f != $ac_func;
36902 ;
36903 return 0;
36904 }
36905 _ACEOF
36906 rm -f conftest.$ac_objext conftest$ac_exeext
36907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36908 (eval $ac_link) 2>conftest.er1
36909 ac_status=$?
36910 grep -v '^ *+' conftest.er1 >conftest.err
36911 rm -f conftest.er1
36912 cat conftest.err >&5
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); } &&
36915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36918 ac_status=$?
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try='test -s conftest$ac_exeext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 eval "$as_ac_var=yes"
36928 else
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.$ac_ext >&5
36931
36932 eval "$as_ac_var=no"
36933 fi
36934 rm -f conftest.err conftest.$ac_objext \
36935 conftest$ac_exeext conftest.$ac_ext
36936 fi
36937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36939 if test `eval echo '${'$as_ac_var'}'` = yes; then
36940 cat >>confdefs.h <<_ACEOF
36941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36942 _ACEOF
36943
36944 fi
36945 done
36946
36947
36948 if test "$ac_cv_func_sigaction" = "no"; then
36949 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36950 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36951 wxUSE_ON_FATAL_EXCEPTION=no
36952 fi
36953
36954 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36955 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36956 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36957 if test "${wx_cv_type_sa_handler+set}" = set; then
36958 echo $ECHO_N "(cached) $ECHO_C" >&6
36959 else
36960
36961 ac_ext=cc
36962 ac_cpp='$CXXCPP $CPPFLAGS'
36963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36966
36967 cat >conftest.$ac_ext <<_ACEOF
36968 /* confdefs.h. */
36969 _ACEOF
36970 cat confdefs.h >>conftest.$ac_ext
36971 cat >>conftest.$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36973 #include <signal.h>
36974 int
36975 main ()
36976 {
36977
36978 extern void testSigHandler(int);
36979
36980 struct sigaction sa;
36981 sa.sa_handler = testSigHandler;
36982
36983 ;
36984 return 0;
36985 }
36986 _ACEOF
36987 rm -f conftest.$ac_objext
36988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36989 (eval $ac_compile) 2>conftest.er1
36990 ac_status=$?
36991 grep -v '^ *+' conftest.er1 >conftest.err
36992 rm -f conftest.er1
36993 cat conftest.err >&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); } &&
36996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; } &&
37002 { ac_try='test -s conftest.$ac_objext'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; }; then
37008
37009 wx_cv_type_sa_handler=int
37010
37011 else
37012 echo "$as_me: failed program was:" >&5
37013 sed 's/^/| /' conftest.$ac_ext >&5
37014
37015
37016 wx_cv_type_sa_handler=void
37017
37018 fi
37019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37020 ac_ext=c
37021 ac_cpp='$CPP $CPPFLAGS'
37022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37025
37026
37027 fi
37028 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37029 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37030
37031 cat >>confdefs.h <<_ACEOF
37032 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37033 _ACEOF
37034
37035 fi
37036 fi
37037
37038 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37039 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37040 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37041 if test "${wx_cv_func_backtrace+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 else
37044
37045 ac_ext=cc
37046 ac_cpp='$CXXCPP $CPPFLAGS'
37047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37050
37051 cat >conftest.$ac_ext <<_ACEOF
37052 /* confdefs.h. */
37053 _ACEOF
37054 cat confdefs.h >>conftest.$ac_ext
37055 cat >>conftest.$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37057 #include <execinfo.h>
37058 int
37059 main ()
37060 {
37061
37062 void *trace[1];
37063 char **messages;
37064
37065 backtrace(trace, 1);
37066 messages = backtrace_symbols(trace, 1);
37067
37068 ;
37069 return 0;
37070 }
37071 _ACEOF
37072 rm -f conftest.$ac_objext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37074 (eval $ac_compile) 2>conftest.er1
37075 ac_status=$?
37076 grep -v '^ *+' conftest.er1 >conftest.err
37077 rm -f conftest.er1
37078 cat conftest.err >&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); } &&
37081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083 (eval $ac_try) 2>&5
37084 ac_status=$?
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); }; } &&
37087 { ac_try='test -s conftest.$ac_objext'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 wx_cv_func_backtrace=yes
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 wx_cv_func_backtrace=no
37099
37100 fi
37101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107
37108
37109
37110 fi
37111 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37112 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37113
37114
37115 if test "$wx_cv_func_backtrace" = "no"; then
37116 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37117 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37118 wxUSE_STACKWALKER=no
37119 else
37120 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37121 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37122 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37124 else
37125
37126 ac_ext=cc
37127 ac_cpp='$CXXCPP $CPPFLAGS'
37128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37131
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 #include <cxxabi.h>
37139 int
37140 main ()
37141 {
37142
37143 int rc;
37144 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37145
37146 ;
37147 return 0;
37148 }
37149 _ACEOF
37150 rm -f conftest.$ac_objext conftest$ac_exeext
37151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37152 (eval $ac_link) 2>conftest.er1
37153 ac_status=$?
37154 grep -v '^ *+' conftest.er1 >conftest.err
37155 rm -f conftest.er1
37156 cat conftest.err >&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } &&
37159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37161 (eval $ac_try) 2>&5
37162 ac_status=$?
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); }; } &&
37165 { ac_try='test -s conftest$ac_exeext'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37168 ac_status=$?
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; }; then
37171 wx_cv_func_cxa_demangle=yes
37172 else
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37175
37176 wx_cv_func_cxa_demangle=no
37177
37178 fi
37179 rm -f conftest.err conftest.$ac_objext \
37180 conftest$ac_exeext conftest.$ac_ext
37181 ac_ext=c
37182 ac_cpp='$CPP $CPPFLAGS'
37183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37186
37187
37188
37189 fi
37190 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37191 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37192
37193 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37194 cat >>confdefs.h <<\_ACEOF
37195 #define HAVE_CXA_DEMANGLE 1
37196 _ACEOF
37197
37198 fi
37199 fi
37200 fi
37201
37202 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37203 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37204 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37205 wxUSE_STACKWALKER=no
37206 fi
37207
37208
37209
37210
37211 for ac_func in mkstemp mktemp
37212 do
37213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37214 echo "$as_me:$LINENO: checking for $ac_func" >&5
37215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37216 if eval "test \"\${$as_ac_var+set}\" = set"; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37218 else
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37228
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37233
37234 #ifdef __STDC__
37235 # include <limits.h>
37236 #else
37237 # include <assert.h>
37238 #endif
37239
37240 #undef $ac_func
37241
37242 /* Override any gcc2 internal prototype to avoid an error. */
37243 #ifdef __cplusplus
37244 extern "C"
37245 {
37246 #endif
37247 /* We use char because int might match the return type of a gcc2
37248 builtin and then its argument prototype would still apply. */
37249 char $ac_func ();
37250 /* The GNU C library defines this for functions which it implements
37251 to always fail with ENOSYS. Some functions are actually named
37252 something starting with __ and the normal name is an alias. */
37253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37254 choke me
37255 #else
37256 char (*f) () = $ac_func;
37257 #endif
37258 #ifdef __cplusplus
37259 }
37260 #endif
37261
37262 int
37263 main ()
37264 {
37265 return f != $ac_func;
37266 ;
37267 return 0;
37268 }
37269 _ACEOF
37270 rm -f conftest.$ac_objext conftest$ac_exeext
37271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37272 (eval $ac_link) 2>conftest.er1
37273 ac_status=$?
37274 grep -v '^ *+' conftest.er1 >conftest.err
37275 rm -f conftest.er1
37276 cat conftest.err >&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } &&
37279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37282 ac_status=$?
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; } &&
37285 { ac_try='test -s conftest$ac_exeext'
37286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37287 (eval $ac_try) 2>&5
37288 ac_status=$?
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); }; }; then
37291 eval "$as_ac_var=yes"
37292 else
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.$ac_ext >&5
37295
37296 eval "$as_ac_var=no"
37297 fi
37298 rm -f conftest.err conftest.$ac_objext \
37299 conftest$ac_exeext conftest.$ac_ext
37300 fi
37301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37303 if test `eval echo '${'$as_ac_var'}'` = yes; then
37304 cat >>confdefs.h <<_ACEOF
37305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37306 _ACEOF
37307 break
37308 fi
37309 done
37310
37311
37312 echo "$as_me:$LINENO: checking for statfs" >&5
37313 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37314 if test "${wx_cv_func_statfs+set}" = set; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 else
37317 cat >conftest.$ac_ext <<_ACEOF
37318 /* confdefs.h. */
37319 _ACEOF
37320 cat confdefs.h >>conftest.$ac_ext
37321 cat >>conftest.$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37323
37324 #if defined(__BSD__)
37325 #include <sys/param.h>
37326 #include <sys/mount.h>
37327 #else
37328 #include <sys/vfs.h>
37329 #endif
37330
37331 int
37332 main ()
37333 {
37334
37335 long l;
37336 struct statfs fs;
37337 statfs("/", &fs);
37338 l = fs.f_bsize;
37339 l += fs.f_blocks;
37340 l += fs.f_bavail;
37341
37342 ;
37343 return 0;
37344 }
37345 _ACEOF
37346 rm -f conftest.$ac_objext
37347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37348 (eval $ac_compile) 2>conftest.er1
37349 ac_status=$?
37350 grep -v '^ *+' conftest.er1 >conftest.err
37351 rm -f conftest.er1
37352 cat conftest.err >&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); } &&
37355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try='test -s conftest.$ac_objext'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; }; then
37367 wx_cv_func_statfs=yes
37368 else
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37371
37372 wx_cv_func_statfs=no
37373
37374 fi
37375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37376
37377 fi
37378 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37379 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37380
37381 if test "$wx_cv_func_statfs" = "yes"; then
37382 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37383 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37384 if test "${wx_cv_func_statfs_decl+set}" = set; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37386 else
37387 ac_ext=cc
37388 ac_cpp='$CXXCPP $CPPFLAGS'
37389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37392
37393 cat >conftest.$ac_ext <<_ACEOF
37394 /* confdefs.h. */
37395 _ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399
37400 #if defined(__BSD__)
37401 #include <sys/param.h>
37402 #include <sys/mount.h>
37403 #else
37404 #include <sys/vfs.h>
37405 #endif
37406
37407 int
37408 main ()
37409 {
37410
37411 struct statfs fs;
37412 statfs("", &fs);
37413
37414 ;
37415 return 0;
37416 }
37417 _ACEOF
37418 rm -f conftest.$ac_objext
37419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37420 (eval $ac_compile) 2>conftest.er1
37421 ac_status=$?
37422 grep -v '^ *+' conftest.er1 >conftest.err
37423 rm -f conftest.er1
37424 cat conftest.err >&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); } &&
37427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37430 ac_status=$?
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; } &&
37433 { ac_try='test -s conftest.$ac_objext'
37434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37435 (eval $ac_try) 2>&5
37436 ac_status=$?
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); }; }; then
37439 wx_cv_func_statfs_decl=yes
37440 else
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 wx_cv_func_statfs_decl=no
37445
37446 fi
37447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37448 ac_ext=c
37449 ac_cpp='$CPP $CPPFLAGS'
37450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37453
37454
37455 fi
37456 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37457 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37458
37459 if test "$wx_cv_func_statfs_decl" = "yes"; then
37460 cat >>confdefs.h <<\_ACEOF
37461 #define HAVE_STATFS_DECL 1
37462 _ACEOF
37463
37464 fi
37465
37466 wx_cv_type_statvfs_t="struct statfs"
37467 cat >>confdefs.h <<\_ACEOF
37468 #define HAVE_STATFS 1
37469 _ACEOF
37470
37471 else
37472 echo "$as_me:$LINENO: checking for statvfs" >&5
37473 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37474 if test "${wx_cv_func_statvfs+set}" = set; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37476 else
37477 cat >conftest.$ac_ext <<_ACEOF
37478 /* confdefs.h. */
37479 _ACEOF
37480 cat confdefs.h >>conftest.$ac_ext
37481 cat >>conftest.$ac_ext <<_ACEOF
37482 /* end confdefs.h. */
37483
37484 #include <stddef.h>
37485 #include <sys/statvfs.h>
37486
37487 int
37488 main ()
37489 {
37490
37491 statvfs("/", NULL);
37492
37493 ;
37494 return 0;
37495 }
37496 _ACEOF
37497 rm -f conftest.$ac_objext
37498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37499 (eval $ac_compile) 2>conftest.er1
37500 ac_status=$?
37501 grep -v '^ *+' conftest.er1 >conftest.err
37502 rm -f conftest.er1
37503 cat conftest.err >&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); } &&
37506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37509 ac_status=$?
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try='test -s conftest.$ac_objext'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; }; then
37518 wx_cv_func_statvfs=yes
37519 else
37520 echo "$as_me: failed program was:" >&5
37521 sed 's/^/| /' conftest.$ac_ext >&5
37522
37523 wx_cv_func_statvfs=no
37524
37525 fi
37526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37527
37528 fi
37529 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37530 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37531
37532 if test "$wx_cv_func_statvfs" = "yes"; then
37533 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37534 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37535 if test "${wx_cv_type_statvfs_t+set}" = set; then
37536 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 else
37538 ac_ext=cc
37539 ac_cpp='$CXXCPP $CPPFLAGS'
37540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37543
37544 cat >conftest.$ac_ext <<_ACEOF
37545 /* confdefs.h. */
37546 _ACEOF
37547 cat confdefs.h >>conftest.$ac_ext
37548 cat >>conftest.$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37550
37551 #include <sys/statvfs.h>
37552
37553 int
37554 main ()
37555 {
37556
37557 long l;
37558 statvfs_t fs;
37559 statvfs("/", &fs);
37560 l = fs.f_bsize;
37561 l += fs.f_blocks;
37562 l += fs.f_bavail;
37563
37564 ;
37565 return 0;
37566 }
37567 _ACEOF
37568 rm -f conftest.$ac_objext
37569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37570 (eval $ac_compile) 2>conftest.er1
37571 ac_status=$?
37572 grep -v '^ *+' conftest.er1 >conftest.err
37573 rm -f conftest.er1
37574 cat conftest.err >&5
37575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576 (exit $ac_status); } &&
37577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37579 (eval $ac_try) 2>&5
37580 ac_status=$?
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); }; } &&
37583 { ac_try='test -s conftest.$ac_objext'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37586 ac_status=$?
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; }; then
37589 wx_cv_type_statvfs_t=statvfs_t
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594
37595 cat >conftest.$ac_ext <<_ACEOF
37596 /* confdefs.h. */
37597 _ACEOF
37598 cat confdefs.h >>conftest.$ac_ext
37599 cat >>conftest.$ac_ext <<_ACEOF
37600 /* end confdefs.h. */
37601
37602 #include <sys/statvfs.h>
37603
37604 int
37605 main ()
37606 {
37607
37608 long l;
37609 struct statvfs fs;
37610 statvfs("/", &fs);
37611 l = fs.f_bsize;
37612 l += fs.f_blocks;
37613 l += fs.f_bavail;
37614
37615 ;
37616 return 0;
37617 }
37618 _ACEOF
37619 rm -f conftest.$ac_objext
37620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37621 (eval $ac_compile) 2>conftest.er1
37622 ac_status=$?
37623 grep -v '^ *+' conftest.er1 >conftest.err
37624 rm -f conftest.er1
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } &&
37628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37631 ac_status=$?
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; } &&
37634 { ac_try='test -s conftest.$ac_objext'
37635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37636 (eval $ac_try) 2>&5
37637 ac_status=$?
37638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37639 (exit $ac_status); }; }; then
37640 wx_cv_type_statvfs_t="struct statvfs"
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37644
37645 wx_cv_type_statvfs_t="unknown"
37646
37647 fi
37648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37649
37650
37651 fi
37652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37653 ac_ext=c
37654 ac_cpp='$CPP $CPPFLAGS'
37655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37658
37659
37660 fi
37661 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37662 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37663
37664 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37665 cat >>confdefs.h <<\_ACEOF
37666 #define HAVE_STATVFS 1
37667 _ACEOF
37668
37669 fi
37670 else
37671 wx_cv_type_statvfs_t="unknown"
37672 fi
37673 fi
37674
37675 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37676 cat >>confdefs.h <<_ACEOF
37677 #define WX_STATFS_T $wx_cv_type_statvfs_t
37678 _ACEOF
37679
37680 else
37681 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37682 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37683 fi
37684
37685 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37686
37687
37688 for ac_func in fcntl flock
37689 do
37690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37691 echo "$as_me:$LINENO: checking for $ac_func" >&5
37692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37693 if eval "test \"\${$as_ac_var+set}\" = set"; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37696 cat >conftest.$ac_ext <<_ACEOF
37697 /* confdefs.h. */
37698 _ACEOF
37699 cat confdefs.h >>conftest.$ac_ext
37700 cat >>conftest.$ac_ext <<_ACEOF
37701 /* end confdefs.h. */
37702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37704 #define $ac_func innocuous_$ac_func
37705
37706 /* System header to define __stub macros and hopefully few prototypes,
37707 which can conflict with char $ac_func (); below.
37708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37709 <limits.h> exists even on freestanding compilers. */
37710
37711 #ifdef __STDC__
37712 # include <limits.h>
37713 #else
37714 # include <assert.h>
37715 #endif
37716
37717 #undef $ac_func
37718
37719 /* Override any gcc2 internal prototype to avoid an error. */
37720 #ifdef __cplusplus
37721 extern "C"
37722 {
37723 #endif
37724 /* We use char because int might match the return type of a gcc2
37725 builtin and then its argument prototype would still apply. */
37726 char $ac_func ();
37727 /* The GNU C library defines this for functions which it implements
37728 to always fail with ENOSYS. Some functions are actually named
37729 something starting with __ and the normal name is an alias. */
37730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37731 choke me
37732 #else
37733 char (*f) () = $ac_func;
37734 #endif
37735 #ifdef __cplusplus
37736 }
37737 #endif
37738
37739 int
37740 main ()
37741 {
37742 return f != $ac_func;
37743 ;
37744 return 0;
37745 }
37746 _ACEOF
37747 rm -f conftest.$ac_objext conftest$ac_exeext
37748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37749 (eval $ac_link) 2>conftest.er1
37750 ac_status=$?
37751 grep -v '^ *+' conftest.er1 >conftest.err
37752 rm -f conftest.er1
37753 cat conftest.err >&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); } &&
37756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37758 (eval $ac_try) 2>&5
37759 ac_status=$?
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); }; } &&
37762 { ac_try='test -s conftest$ac_exeext'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37765 ac_status=$?
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; }; then
37768 eval "$as_ac_var=yes"
37769 else
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37772
37773 eval "$as_ac_var=no"
37774 fi
37775 rm -f conftest.err conftest.$ac_objext \
37776 conftest$ac_exeext conftest.$ac_ext
37777 fi
37778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37780 if test `eval echo '${'$as_ac_var'}'` = yes; then
37781 cat >>confdefs.h <<_ACEOF
37782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37783 _ACEOF
37784 break
37785 fi
37786 done
37787
37788
37789 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37790 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37791 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37792 wxUSE_SNGLINST_CHECKER=no
37793 fi
37794 fi
37795
37796
37797 for ac_func in timegm
37798 do
37799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37800 echo "$as_me:$LINENO: checking for $ac_func" >&5
37801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37802 if eval "test \"\${$as_ac_var+set}\" = set"; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 else
37805 cat >conftest.$ac_ext <<_ACEOF
37806 /* confdefs.h. */
37807 _ACEOF
37808 cat confdefs.h >>conftest.$ac_ext
37809 cat >>conftest.$ac_ext <<_ACEOF
37810 /* end confdefs.h. */
37811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37813 #define $ac_func innocuous_$ac_func
37814
37815 /* System header to define __stub macros and hopefully few prototypes,
37816 which can conflict with char $ac_func (); below.
37817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37818 <limits.h> exists even on freestanding compilers. */
37819
37820 #ifdef __STDC__
37821 # include <limits.h>
37822 #else
37823 # include <assert.h>
37824 #endif
37825
37826 #undef $ac_func
37827
37828 /* Override any gcc2 internal prototype to avoid an error. */
37829 #ifdef __cplusplus
37830 extern "C"
37831 {
37832 #endif
37833 /* We use char because int might match the return type of a gcc2
37834 builtin and then its argument prototype would still apply. */
37835 char $ac_func ();
37836 /* The GNU C library defines this for functions which it implements
37837 to always fail with ENOSYS. Some functions are actually named
37838 something starting with __ and the normal name is an alias. */
37839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37840 choke me
37841 #else
37842 char (*f) () = $ac_func;
37843 #endif
37844 #ifdef __cplusplus
37845 }
37846 #endif
37847
37848 int
37849 main ()
37850 {
37851 return f != $ac_func;
37852 ;
37853 return 0;
37854 }
37855 _ACEOF
37856 rm -f conftest.$ac_objext conftest$ac_exeext
37857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37858 (eval $ac_link) 2>conftest.er1
37859 ac_status=$?
37860 grep -v '^ *+' conftest.er1 >conftest.err
37861 rm -f conftest.er1
37862 cat conftest.err >&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); } &&
37865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37867 (eval $ac_try) 2>&5
37868 ac_status=$?
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); }; } &&
37871 { ac_try='test -s conftest$ac_exeext'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37874 ac_status=$?
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; }; then
37877 eval "$as_ac_var=yes"
37878 else
37879 echo "$as_me: failed program was:" >&5
37880 sed 's/^/| /' conftest.$ac_ext >&5
37881
37882 eval "$as_ac_var=no"
37883 fi
37884 rm -f conftest.err conftest.$ac_objext \
37885 conftest$ac_exeext conftest.$ac_ext
37886 fi
37887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37889 if test `eval echo '${'$as_ac_var'}'` = yes; then
37890 cat >>confdefs.h <<_ACEOF
37891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37892 _ACEOF
37893
37894 fi
37895 done
37896
37897
37898
37899
37900 for ac_func in putenv setenv
37901 do
37902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37903 echo "$as_me:$LINENO: checking for $ac_func" >&5
37904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37905 if eval "test \"\${$as_ac_var+set}\" = set"; then
37906 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 else
37908 cat >conftest.$ac_ext <<_ACEOF
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37916 #define $ac_func innocuous_$ac_func
37917
37918 /* System header to define __stub macros and hopefully few prototypes,
37919 which can conflict with char $ac_func (); below.
37920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37921 <limits.h> exists even on freestanding compilers. */
37922
37923 #ifdef __STDC__
37924 # include <limits.h>
37925 #else
37926 # include <assert.h>
37927 #endif
37928
37929 #undef $ac_func
37930
37931 /* Override any gcc2 internal prototype to avoid an error. */
37932 #ifdef __cplusplus
37933 extern "C"
37934 {
37935 #endif
37936 /* We use char because int might match the return type of a gcc2
37937 builtin and then its argument prototype would still apply. */
37938 char $ac_func ();
37939 /* The GNU C library defines this for functions which it implements
37940 to always fail with ENOSYS. Some functions are actually named
37941 something starting with __ and the normal name is an alias. */
37942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37943 choke me
37944 #else
37945 char (*f) () = $ac_func;
37946 #endif
37947 #ifdef __cplusplus
37948 }
37949 #endif
37950
37951 int
37952 main ()
37953 {
37954 return f != $ac_func;
37955 ;
37956 return 0;
37957 }
37958 _ACEOF
37959 rm -f conftest.$ac_objext conftest$ac_exeext
37960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37961 (eval $ac_link) 2>conftest.er1
37962 ac_status=$?
37963 grep -v '^ *+' conftest.er1 >conftest.err
37964 rm -f conftest.er1
37965 cat conftest.err >&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } &&
37968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37971 ac_status=$?
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try='test -s conftest$ac_exeext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37977 ac_status=$?
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37980 eval "$as_ac_var=yes"
37981 else
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.$ac_ext >&5
37984
37985 eval "$as_ac_var=no"
37986 fi
37987 rm -f conftest.err conftest.$ac_objext \
37988 conftest$ac_exeext conftest.$ac_ext
37989 fi
37990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37992 if test `eval echo '${'$as_ac_var'}'` = yes; then
37993 cat >>confdefs.h <<_ACEOF
37994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37995 _ACEOF
37996 break
37997 fi
37998 done
37999
38000
38001 HAVE_SOME_SLEEP_FUNC=0
38002 if test "$USE_BEOS" = 1; then
38003 cat >>confdefs.h <<\_ACEOF
38004 #define HAVE_SLEEP 1
38005 _ACEOF
38006
38007 HAVE_SOME_SLEEP_FUNC=1
38008 fi
38009
38010 if test "$USE_DARWIN" = 1; then
38011 cat >>confdefs.h <<\_ACEOF
38012 #define HAVE_USLEEP 1
38013 _ACEOF
38014
38015 HAVE_SOME_SLEEP_FUNC=1
38016 fi
38017
38018 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38019 POSIX4_LINK=
38020
38021 for ac_func in nanosleep
38022 do
38023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38024 echo "$as_me:$LINENO: checking for $ac_func" >&5
38025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38026 if eval "test \"\${$as_ac_var+set}\" = set"; then
38027 echo $ECHO_N "(cached) $ECHO_C" >&6
38028 else
38029 cat >conftest.$ac_ext <<_ACEOF
38030 /* confdefs.h. */
38031 _ACEOF
38032 cat confdefs.h >>conftest.$ac_ext
38033 cat >>conftest.$ac_ext <<_ACEOF
38034 /* end confdefs.h. */
38035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38037 #define $ac_func innocuous_$ac_func
38038
38039 /* System header to define __stub macros and hopefully few prototypes,
38040 which can conflict with char $ac_func (); below.
38041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38042 <limits.h> exists even on freestanding compilers. */
38043
38044 #ifdef __STDC__
38045 # include <limits.h>
38046 #else
38047 # include <assert.h>
38048 #endif
38049
38050 #undef $ac_func
38051
38052 /* Override any gcc2 internal prototype to avoid an error. */
38053 #ifdef __cplusplus
38054 extern "C"
38055 {
38056 #endif
38057 /* We use char because int might match the return type of a gcc2
38058 builtin and then its argument prototype would still apply. */
38059 char $ac_func ();
38060 /* The GNU C library defines this for functions which it implements
38061 to always fail with ENOSYS. Some functions are actually named
38062 something starting with __ and the normal name is an alias. */
38063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38064 choke me
38065 #else
38066 char (*f) () = $ac_func;
38067 #endif
38068 #ifdef __cplusplus
38069 }
38070 #endif
38071
38072 int
38073 main ()
38074 {
38075 return f != $ac_func;
38076 ;
38077 return 0;
38078 }
38079 _ACEOF
38080 rm -f conftest.$ac_objext conftest$ac_exeext
38081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38082 (eval $ac_link) 2>conftest.er1
38083 ac_status=$?
38084 grep -v '^ *+' conftest.er1 >conftest.err
38085 rm -f conftest.er1
38086 cat conftest.err >&5
38087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38088 (exit $ac_status); } &&
38089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091 (eval $ac_try) 2>&5
38092 ac_status=$?
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); }; } &&
38095 { ac_try='test -s conftest$ac_exeext'
38096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097 (eval $ac_try) 2>&5
38098 ac_status=$?
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); }; }; then
38101 eval "$as_ac_var=yes"
38102 else
38103 echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.$ac_ext >&5
38105
38106 eval "$as_ac_var=no"
38107 fi
38108 rm -f conftest.err conftest.$ac_objext \
38109 conftest$ac_exeext conftest.$ac_ext
38110 fi
38111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38113 if test `eval echo '${'$as_ac_var'}'` = yes; then
38114 cat >>confdefs.h <<_ACEOF
38115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38116 _ACEOF
38117 cat >>confdefs.h <<\_ACEOF
38118 #define HAVE_NANOSLEEP 1
38119 _ACEOF
38120
38121 else
38122
38123 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38124 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38125 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38126 echo $ECHO_N "(cached) $ECHO_C" >&6
38127 else
38128 ac_check_lib_save_LIBS=$LIBS
38129 LIBS="-lposix4 $LIBS"
38130 cat >conftest.$ac_ext <<_ACEOF
38131 /* confdefs.h. */
38132 _ACEOF
38133 cat confdefs.h >>conftest.$ac_ext
38134 cat >>conftest.$ac_ext <<_ACEOF
38135 /* end confdefs.h. */
38136
38137 /* Override any gcc2 internal prototype to avoid an error. */
38138 #ifdef __cplusplus
38139 extern "C"
38140 #endif
38141 /* We use char because int might match the return type of a gcc2
38142 builtin and then its argument prototype would still apply. */
38143 char nanosleep ();
38144 int
38145 main ()
38146 {
38147 nanosleep ();
38148 ;
38149 return 0;
38150 }
38151 _ACEOF
38152 rm -f conftest.$ac_objext conftest$ac_exeext
38153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38154 (eval $ac_link) 2>conftest.er1
38155 ac_status=$?
38156 grep -v '^ *+' conftest.er1 >conftest.err
38157 rm -f conftest.er1
38158 cat conftest.err >&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); } &&
38161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38164 ac_status=$?
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; } &&
38167 { ac_try='test -s conftest$ac_exeext'
38168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38169 (eval $ac_try) 2>&5
38170 ac_status=$?
38171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38172 (exit $ac_status); }; }; then
38173 ac_cv_lib_posix4_nanosleep=yes
38174 else
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.$ac_ext >&5
38177
38178 ac_cv_lib_posix4_nanosleep=no
38179 fi
38180 rm -f conftest.err conftest.$ac_objext \
38181 conftest$ac_exeext conftest.$ac_ext
38182 LIBS=$ac_check_lib_save_LIBS
38183 fi
38184 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38185 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38186 if test $ac_cv_lib_posix4_nanosleep = yes; then
38187
38188 cat >>confdefs.h <<\_ACEOF
38189 #define HAVE_NANOSLEEP 1
38190 _ACEOF
38191
38192 POSIX4_LINK=" -lposix4"
38193
38194 else
38195
38196
38197 for wx_func in usleep
38198 do
38199 echo "$as_me:$LINENO: checking for $wx_func" >&5
38200 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38201 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 else
38204
38205 cat >conftest.$ac_ext <<_ACEOF
38206
38207 /* confdefs.h. */
38208 _ACEOF
38209 cat confdefs.h >>conftest.$ac_ext
38210 cat >>conftest.$ac_ext <<_ACEOF
38211 /* end confdefs.h. */
38212
38213
38214 $ac_includes_default
38215
38216 int
38217 main ()
38218 {
38219
38220 #ifndef $wx_func
38221 &$wx_func;
38222 #endif
38223
38224
38225 ;
38226 return 0;
38227 }
38228
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38242 ac_status=$?
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38248 ac_status=$?
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 eval wx_cv_func_$wx_func=yes
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 eval wx_cv_func_$wx_func=no
38257 fi
38258 rm -f conftest.err conftest.$ac_objext \
38259 conftest$ac_exeext conftest.$ac_ext
38260
38261 fi
38262 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38264
38265 if eval test \$wx_cv_func_$wx_func = yes
38266 then
38267 cat >>confdefs.h <<_ACEOF
38268 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38269 _ACEOF
38270
38271
38272 else
38273 :
38274 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38275 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38276
38277 fi
38278 done
38279
38280
38281
38282 fi
38283
38284
38285
38286 fi
38287 done
38288
38289 fi
38290
38291
38292 for wx_func in uname
38293 do
38294 echo "$as_me:$LINENO: checking for $wx_func" >&5
38295 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38296 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 else
38299
38300 cat >conftest.$ac_ext <<_ACEOF
38301
38302 /* confdefs.h. */
38303 _ACEOF
38304 cat confdefs.h >>conftest.$ac_ext
38305 cat >>conftest.$ac_ext <<_ACEOF
38306 /* end confdefs.h. */
38307
38308 #include <sys/utsname.h>
38309 $ac_includes_default
38310
38311 int
38312 main ()
38313 {
38314
38315 #ifndef $wx_func
38316 &$wx_func;
38317 #endif
38318
38319
38320 ;
38321 return 0;
38322 }
38323
38324 _ACEOF
38325 rm -f conftest.$ac_objext conftest$ac_exeext
38326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38327 (eval $ac_link) 2>conftest.er1
38328 ac_status=$?
38329 grep -v '^ *+' conftest.er1 >conftest.err
38330 rm -f conftest.er1
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } &&
38334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38337 ac_status=$?
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; } &&
38340 { ac_try='test -s conftest$ac_exeext'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38343 ac_status=$?
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; }; then
38346 eval wx_cv_func_$wx_func=yes
38347 else
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38350
38351 eval wx_cv_func_$wx_func=no
38352 fi
38353 rm -f conftest.err conftest.$ac_objext \
38354 conftest$ac_exeext conftest.$ac_ext
38355
38356 fi
38357 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38358 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38359
38360 if eval test \$wx_cv_func_$wx_func = yes
38361 then
38362 cat >>confdefs.h <<_ACEOF
38363 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38364 _ACEOF
38365
38366
38367 else
38368 :
38369
38370 fi
38371 done
38372
38373 if test "$wx_cv_func_uname" != yes; then
38374
38375 for wx_func in gethostname
38376 do
38377 echo "$as_me:$LINENO: checking for $wx_func" >&5
38378 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38379 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38381 else
38382
38383 cat >conftest.$ac_ext <<_ACEOF
38384
38385 /* confdefs.h. */
38386 _ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38390
38391
38392 $ac_includes_default
38393
38394 int
38395 main ()
38396 {
38397
38398 #ifndef $wx_func
38399 &$wx_func;
38400 #endif
38401
38402
38403 ;
38404 return 0;
38405 }
38406
38407 _ACEOF
38408 rm -f conftest.$ac_objext conftest$ac_exeext
38409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38410 (eval $ac_link) 2>conftest.er1
38411 ac_status=$?
38412 grep -v '^ *+' conftest.er1 >conftest.err
38413 rm -f conftest.er1
38414 cat conftest.err >&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); } &&
38417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38419 (eval $ac_try) 2>&5
38420 ac_status=$?
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); }; } &&
38423 { ac_try='test -s conftest$ac_exeext'
38424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38425 (eval $ac_try) 2>&5
38426 ac_status=$?
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); }; }; then
38429 eval wx_cv_func_$wx_func=yes
38430 else
38431 echo "$as_me: failed program was:" >&5
38432 sed 's/^/| /' conftest.$ac_ext >&5
38433
38434 eval wx_cv_func_$wx_func=no
38435 fi
38436 rm -f conftest.err conftest.$ac_objext \
38437 conftest$ac_exeext conftest.$ac_ext
38438
38439 fi
38440 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38441 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38442
38443 if eval test \$wx_cv_func_$wx_func = yes
38444 then
38445 cat >>confdefs.h <<_ACEOF
38446 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38447 _ACEOF
38448
38449
38450 else
38451 :
38452
38453 fi
38454 done
38455
38456 fi
38457
38458
38459 for wx_func in strtok_r
38460 do
38461 echo "$as_me:$LINENO: checking for $wx_func" >&5
38462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38463 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38465 else
38466
38467 cat >conftest.$ac_ext <<_ACEOF
38468
38469 /* confdefs.h. */
38470 _ACEOF
38471 cat confdefs.h >>conftest.$ac_ext
38472 cat >>conftest.$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38474
38475 #define _REENTRANT
38476 $ac_includes_default
38477
38478 int
38479 main ()
38480 {
38481
38482 #ifndef $wx_func
38483 &$wx_func;
38484 #endif
38485
38486
38487 ;
38488 return 0;
38489 }
38490
38491 _ACEOF
38492 rm -f conftest.$ac_objext conftest$ac_exeext
38493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38494 (eval $ac_link) 2>conftest.er1
38495 ac_status=$?
38496 grep -v '^ *+' conftest.er1 >conftest.err
38497 rm -f conftest.er1
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } &&
38501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38503 (eval $ac_try) 2>&5
38504 ac_status=$?
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); }; } &&
38507 { ac_try='test -s conftest$ac_exeext'
38508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38509 (eval $ac_try) 2>&5
38510 ac_status=$?
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); }; }; then
38513 eval wx_cv_func_$wx_func=yes
38514 else
38515 echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.$ac_ext >&5
38517
38518 eval wx_cv_func_$wx_func=no
38519 fi
38520 rm -f conftest.err conftest.$ac_objext \
38521 conftest$ac_exeext conftest.$ac_ext
38522
38523 fi
38524 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38525 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38526
38527 if eval test \$wx_cv_func_$wx_func = yes
38528 then
38529 cat >>confdefs.h <<_ACEOF
38530 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38531 _ACEOF
38532
38533
38534 else
38535 :
38536
38537 fi
38538 done
38539
38540
38541 INET_LINK=
38542
38543 for ac_func in inet_addr
38544 do
38545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38546 echo "$as_me:$LINENO: checking for $ac_func" >&5
38547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38548 if eval "test \"\${$as_ac_var+set}\" = set"; then
38549 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 else
38551 cat >conftest.$ac_ext <<_ACEOF
38552 /* confdefs.h. */
38553 _ACEOF
38554 cat confdefs.h >>conftest.$ac_ext
38555 cat >>conftest.$ac_ext <<_ACEOF
38556 /* end confdefs.h. */
38557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38559 #define $ac_func innocuous_$ac_func
38560
38561 /* System header to define __stub macros and hopefully few prototypes,
38562 which can conflict with char $ac_func (); below.
38563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38564 <limits.h> exists even on freestanding compilers. */
38565
38566 #ifdef __STDC__
38567 # include <limits.h>
38568 #else
38569 # include <assert.h>
38570 #endif
38571
38572 #undef $ac_func
38573
38574 /* Override any gcc2 internal prototype to avoid an error. */
38575 #ifdef __cplusplus
38576 extern "C"
38577 {
38578 #endif
38579 /* We use char because int might match the return type of a gcc2
38580 builtin and then its argument prototype would still apply. */
38581 char $ac_func ();
38582 /* The GNU C library defines this for functions which it implements
38583 to always fail with ENOSYS. Some functions are actually named
38584 something starting with __ and the normal name is an alias. */
38585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38586 choke me
38587 #else
38588 char (*f) () = $ac_func;
38589 #endif
38590 #ifdef __cplusplus
38591 }
38592 #endif
38593
38594 int
38595 main ()
38596 {
38597 return f != $ac_func;
38598 ;
38599 return 0;
38600 }
38601 _ACEOF
38602 rm -f conftest.$ac_objext conftest$ac_exeext
38603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38604 (eval $ac_link) 2>conftest.er1
38605 ac_status=$?
38606 grep -v '^ *+' conftest.er1 >conftest.err
38607 rm -f conftest.er1
38608 cat conftest.err >&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } &&
38611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38613 (eval $ac_try) 2>&5
38614 ac_status=$?
38615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38616 (exit $ac_status); }; } &&
38617 { ac_try='test -s conftest$ac_exeext'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38620 ac_status=$?
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; }; then
38623 eval "$as_ac_var=yes"
38624 else
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.$ac_ext >&5
38627
38628 eval "$as_ac_var=no"
38629 fi
38630 rm -f conftest.err conftest.$ac_objext \
38631 conftest$ac_exeext conftest.$ac_ext
38632 fi
38633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38635 if test `eval echo '${'$as_ac_var'}'` = yes; then
38636 cat >>confdefs.h <<_ACEOF
38637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38638 _ACEOF
38639 cat >>confdefs.h <<\_ACEOF
38640 #define HAVE_INET_ADDR 1
38641 _ACEOF
38642
38643 else
38644
38645 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38646 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38647 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38649 else
38650 ac_check_lib_save_LIBS=$LIBS
38651 LIBS="-lnsl $LIBS"
38652 cat >conftest.$ac_ext <<_ACEOF
38653 /* confdefs.h. */
38654 _ACEOF
38655 cat confdefs.h >>conftest.$ac_ext
38656 cat >>conftest.$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38658
38659 /* Override any gcc2 internal prototype to avoid an error. */
38660 #ifdef __cplusplus
38661 extern "C"
38662 #endif
38663 /* We use char because int might match the return type of a gcc2
38664 builtin and then its argument prototype would still apply. */
38665 char inet_addr ();
38666 int
38667 main ()
38668 {
38669 inet_addr ();
38670 ;
38671 return 0;
38672 }
38673 _ACEOF
38674 rm -f conftest.$ac_objext conftest$ac_exeext
38675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38676 (eval $ac_link) 2>conftest.er1
38677 ac_status=$?
38678 grep -v '^ *+' conftest.er1 >conftest.err
38679 rm -f conftest.er1
38680 cat conftest.err >&5
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); } &&
38683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38685 (eval $ac_try) 2>&5
38686 ac_status=$?
38687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688 (exit $ac_status); }; } &&
38689 { ac_try='test -s conftest$ac_exeext'
38690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38691 (eval $ac_try) 2>&5
38692 ac_status=$?
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); }; }; then
38695 ac_cv_lib_nsl_inet_addr=yes
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700 ac_cv_lib_nsl_inet_addr=no
38701 fi
38702 rm -f conftest.err conftest.$ac_objext \
38703 conftest$ac_exeext conftest.$ac_ext
38704 LIBS=$ac_check_lib_save_LIBS
38705 fi
38706 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38707 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38708 if test $ac_cv_lib_nsl_inet_addr = yes; then
38709 INET_LINK="nsl"
38710 else
38711
38712 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38713 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38714 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38717 ac_check_lib_save_LIBS=$LIBS
38718 LIBS="-lresolv $LIBS"
38719 cat >conftest.$ac_ext <<_ACEOF
38720 /* confdefs.h. */
38721 _ACEOF
38722 cat confdefs.h >>conftest.$ac_ext
38723 cat >>conftest.$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725
38726 /* Override any gcc2 internal prototype to avoid an error. */
38727 #ifdef __cplusplus
38728 extern "C"
38729 #endif
38730 /* We use char because int might match the return type of a gcc2
38731 builtin and then its argument prototype would still apply. */
38732 char inet_addr ();
38733 int
38734 main ()
38735 {
38736 inet_addr ();
38737 ;
38738 return 0;
38739 }
38740 _ACEOF
38741 rm -f conftest.$ac_objext conftest$ac_exeext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38743 (eval $ac_link) 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38753 ac_status=$?
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; } &&
38756 { ac_try='test -s conftest$ac_exeext'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38759 ac_status=$?
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; }; then
38762 ac_cv_lib_resolv_inet_addr=yes
38763 else
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38766
38767 ac_cv_lib_resolv_inet_addr=no
38768 fi
38769 rm -f conftest.err conftest.$ac_objext \
38770 conftest$ac_exeext conftest.$ac_ext
38771 LIBS=$ac_check_lib_save_LIBS
38772 fi
38773 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38774 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38775 if test $ac_cv_lib_resolv_inet_addr = yes; then
38776 INET_LINK="resolv"
38777 else
38778
38779 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38780 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38781 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38783 else
38784 ac_check_lib_save_LIBS=$LIBS
38785 LIBS="-lsocket $LIBS"
38786 cat >conftest.$ac_ext <<_ACEOF
38787 /* confdefs.h. */
38788 _ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792
38793 /* Override any gcc2 internal prototype to avoid an error. */
38794 #ifdef __cplusplus
38795 extern "C"
38796 #endif
38797 /* We use char because int might match the return type of a gcc2
38798 builtin and then its argument prototype would still apply. */
38799 char inet_addr ();
38800 int
38801 main ()
38802 {
38803 inet_addr ();
38804 ;
38805 return 0;
38806 }
38807 _ACEOF
38808 rm -f conftest.$ac_objext conftest$ac_exeext
38809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38810 (eval $ac_link) 2>conftest.er1
38811 ac_status=$?
38812 grep -v '^ *+' conftest.er1 >conftest.err
38813 rm -f conftest.er1
38814 cat conftest.err >&5
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } &&
38817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38819 (eval $ac_try) 2>&5
38820 ac_status=$?
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); }; } &&
38823 { ac_try='test -s conftest$ac_exeext'
38824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38825 (eval $ac_try) 2>&5
38826 ac_status=$?
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); }; }; then
38829 ac_cv_lib_socket_inet_addr=yes
38830 else
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.$ac_ext >&5
38833
38834 ac_cv_lib_socket_inet_addr=no
38835 fi
38836 rm -f conftest.err conftest.$ac_objext \
38837 conftest$ac_exeext conftest.$ac_ext
38838 LIBS=$ac_check_lib_save_LIBS
38839 fi
38840 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38841 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38842 if test $ac_cv_lib_socket_inet_addr = yes; then
38843 INET_LINK="socket"
38844
38845 fi
38846
38847
38848
38849 fi
38850
38851
38852
38853 fi
38854
38855
38856
38857 fi
38858 done
38859
38860
38861
38862 for ac_func in inet_aton
38863 do
38864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38865 echo "$as_me:$LINENO: checking for $ac_func" >&5
38866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38867 if eval "test \"\${$as_ac_var+set}\" = set"; then
38868 echo $ECHO_N "(cached) $ECHO_C" >&6
38869 else
38870 cat >conftest.$ac_ext <<_ACEOF
38871 /* confdefs.h. */
38872 _ACEOF
38873 cat confdefs.h >>conftest.$ac_ext
38874 cat >>conftest.$ac_ext <<_ACEOF
38875 /* end confdefs.h. */
38876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38878 #define $ac_func innocuous_$ac_func
38879
38880 /* System header to define __stub macros and hopefully few prototypes,
38881 which can conflict with char $ac_func (); below.
38882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38883 <limits.h> exists even on freestanding compilers. */
38884
38885 #ifdef __STDC__
38886 # include <limits.h>
38887 #else
38888 # include <assert.h>
38889 #endif
38890
38891 #undef $ac_func
38892
38893 /* Override any gcc2 internal prototype to avoid an error. */
38894 #ifdef __cplusplus
38895 extern "C"
38896 {
38897 #endif
38898 /* We use char because int might match the return type of a gcc2
38899 builtin and then its argument prototype would still apply. */
38900 char $ac_func ();
38901 /* The GNU C library defines this for functions which it implements
38902 to always fail with ENOSYS. Some functions are actually named
38903 something starting with __ and the normal name is an alias. */
38904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38905 choke me
38906 #else
38907 char (*f) () = $ac_func;
38908 #endif
38909 #ifdef __cplusplus
38910 }
38911 #endif
38912
38913 int
38914 main ()
38915 {
38916 return f != $ac_func;
38917 ;
38918 return 0;
38919 }
38920 _ACEOF
38921 rm -f conftest.$ac_objext conftest$ac_exeext
38922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38923 (eval $ac_link) 2>conftest.er1
38924 ac_status=$?
38925 grep -v '^ *+' conftest.er1 >conftest.err
38926 rm -f conftest.er1
38927 cat conftest.err >&5
38928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38929 (exit $ac_status); } &&
38930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38932 (eval $ac_try) 2>&5
38933 ac_status=$?
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); }; } &&
38936 { ac_try='test -s conftest$ac_exeext'
38937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38938 (eval $ac_try) 2>&5
38939 ac_status=$?
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); }; }; then
38942 eval "$as_ac_var=yes"
38943 else
38944 echo "$as_me: failed program was:" >&5
38945 sed 's/^/| /' conftest.$ac_ext >&5
38946
38947 eval "$as_ac_var=no"
38948 fi
38949 rm -f conftest.err conftest.$ac_objext \
38950 conftest$ac_exeext conftest.$ac_ext
38951 fi
38952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38954 if test `eval echo '${'$as_ac_var'}'` = yes; then
38955 cat >>confdefs.h <<_ACEOF
38956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38957 _ACEOF
38958 cat >>confdefs.h <<\_ACEOF
38959 #define HAVE_INET_ATON 1
38960 _ACEOF
38961
38962 else
38963
38964 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38965 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38966 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38967 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38968 echo $ECHO_N "(cached) $ECHO_C" >&6
38969 else
38970 ac_check_lib_save_LIBS=$LIBS
38971 LIBS="-l$INET_LINK $LIBS"
38972 cat >conftest.$ac_ext <<_ACEOF
38973 /* confdefs.h. */
38974 _ACEOF
38975 cat confdefs.h >>conftest.$ac_ext
38976 cat >>conftest.$ac_ext <<_ACEOF
38977 /* end confdefs.h. */
38978
38979 /* Override any gcc2 internal prototype to avoid an error. */
38980 #ifdef __cplusplus
38981 extern "C"
38982 #endif
38983 /* We use char because int might match the return type of a gcc2
38984 builtin and then its argument prototype would still apply. */
38985 char inet_aton ();
38986 int
38987 main ()
38988 {
38989 inet_aton ();
38990 ;
38991 return 0;
38992 }
38993 _ACEOF
38994 rm -f conftest.$ac_objext conftest$ac_exeext
38995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38996 (eval $ac_link) 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } &&
39003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39006 ac_status=$?
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39012 ac_status=$?
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 eval "$as_ac_Lib=yes"
39016 else
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39019
39020 eval "$as_ac_Lib=no"
39021 fi
39022 rm -f conftest.err conftest.$ac_objext \
39023 conftest$ac_exeext conftest.$ac_ext
39024 LIBS=$ac_check_lib_save_LIBS
39025 fi
39026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39027 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39028 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39029 cat >>confdefs.h <<\_ACEOF
39030 #define HAVE_INET_ATON 1
39031 _ACEOF
39032
39033 fi
39034
39035
39036 fi
39037 done
39038
39039
39040 if test "x$INET_LINK" != "x"; then
39041 cat >>confdefs.h <<\_ACEOF
39042 #define HAVE_INET_ADDR 1
39043 _ACEOF
39044
39045 INET_LINK=" -l$INET_LINK"
39046 fi
39047
39048
39049 for wx_func in fdopen
39050 do
39051 echo "$as_me:$LINENO: checking for $wx_func" >&5
39052 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39053 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39054 echo $ECHO_N "(cached) $ECHO_C" >&6
39055 else
39056
39057 cat >conftest.$ac_ext <<_ACEOF
39058
39059 /* confdefs.h. */
39060 _ACEOF
39061 cat confdefs.h >>conftest.$ac_ext
39062 cat >>conftest.$ac_ext <<_ACEOF
39063 /* end confdefs.h. */
39064
39065
39066 $ac_includes_default
39067
39068 int
39069 main ()
39070 {
39071
39072 #ifndef $wx_func
39073 &$wx_func;
39074 #endif
39075
39076
39077 ;
39078 return 0;
39079 }
39080
39081 _ACEOF
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39094 ac_status=$?
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try='test -s conftest$ac_exeext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 eval wx_cv_func_$wx_func=yes
39104 else
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39107
39108 eval wx_cv_func_$wx_func=no
39109 fi
39110 rm -f conftest.err conftest.$ac_objext \
39111 conftest$ac_exeext conftest.$ac_ext
39112
39113 fi
39114 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39115 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39116
39117 if eval test \$wx_cv_func_$wx_func = yes
39118 then
39119 cat >>confdefs.h <<_ACEOF
39120 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39121 _ACEOF
39122
39123
39124 else
39125 :
39126
39127 fi
39128 done
39129
39130
39131 fi
39132
39133
39134
39135
39136 EXTRALIBS_ESD=
39137 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39138 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39139 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39140 echo $ECHO_N "(cached) $ECHO_C" >&6
39141 else
39142 ac_check_lib_save_LIBS=$LIBS
39143 LIBS="-lesd $LIBS"
39144 cat >conftest.$ac_ext <<_ACEOF
39145 /* confdefs.h. */
39146 _ACEOF
39147 cat confdefs.h >>conftest.$ac_ext
39148 cat >>conftest.$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39150
39151 /* Override any gcc2 internal prototype to avoid an error. */
39152 #ifdef __cplusplus
39153 extern "C"
39154 #endif
39155 /* We use char because int might match the return type of a gcc2
39156 builtin and then its argument prototype would still apply. */
39157 char esd_close ();
39158 int
39159 main ()
39160 {
39161 esd_close ();
39162 ;
39163 return 0;
39164 }
39165 _ACEOF
39166 rm -f conftest.$ac_objext conftest$ac_exeext
39167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39168 (eval $ac_link) 2>conftest.er1
39169 ac_status=$?
39170 grep -v '^ *+' conftest.er1 >conftest.err
39171 rm -f conftest.er1
39172 cat conftest.err >&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); } &&
39175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39178 ac_status=$?
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; } &&
39181 { ac_try='test -s conftest$ac_exeext'
39182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183 (eval $ac_try) 2>&5
39184 ac_status=$?
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); }; }; then
39187 ac_cv_lib_esd_esd_close=yes
39188 else
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39191
39192 ac_cv_lib_esd_esd_close=no
39193 fi
39194 rm -f conftest.err conftest.$ac_objext \
39195 conftest$ac_exeext conftest.$ac_ext
39196 LIBS=$ac_check_lib_save_LIBS
39197 fi
39198 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39199 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39200 if test $ac_cv_lib_esd_esd_close = yes; then
39201
39202
39203 for ac_header in esd.h
39204 do
39205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39207 echo "$as_me:$LINENO: checking for $ac_header" >&5
39208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 fi
39212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39214 else
39215 # Is the header compilable?
39216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39218 cat >conftest.$ac_ext <<_ACEOF
39219 /* confdefs.h. */
39220 _ACEOF
39221 cat confdefs.h >>conftest.$ac_ext
39222 cat >>conftest.$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 $ac_includes_default
39225 #include <$ac_header>
39226 _ACEOF
39227 rm -f conftest.$ac_objext
39228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39229 (eval $ac_compile) 2>conftest.er1
39230 ac_status=$?
39231 grep -v '^ *+' conftest.er1 >conftest.err
39232 rm -f conftest.er1
39233 cat conftest.err >&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); } &&
39236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39238 (eval $ac_try) 2>&5
39239 ac_status=$?
39240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241 (exit $ac_status); }; } &&
39242 { ac_try='test -s conftest.$ac_objext'
39243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39244 (eval $ac_try) 2>&5
39245 ac_status=$?
39246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39247 (exit $ac_status); }; }; then
39248 ac_header_compiler=yes
39249 else
39250 echo "$as_me: failed program was:" >&5
39251 sed 's/^/| /' conftest.$ac_ext >&5
39252
39253 ac_header_compiler=no
39254 fi
39255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39257 echo "${ECHO_T}$ac_header_compiler" >&6
39258
39259 # Is the header present?
39260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39262 cat >conftest.$ac_ext <<_ACEOF
39263 /* confdefs.h. */
39264 _ACEOF
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39268 #include <$ac_header>
39269 _ACEOF
39270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39272 ac_status=$?
39273 grep -v '^ *+' conftest.er1 >conftest.err
39274 rm -f conftest.er1
39275 cat conftest.err >&5
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); } >/dev/null; then
39278 if test -s conftest.err; then
39279 ac_cpp_err=$ac_c_preproc_warn_flag
39280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39281 else
39282 ac_cpp_err=
39283 fi
39284 else
39285 ac_cpp_err=yes
39286 fi
39287 if test -z "$ac_cpp_err"; then
39288 ac_header_preproc=yes
39289 else
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.$ac_ext >&5
39292
39293 ac_header_preproc=no
39294 fi
39295 rm -f conftest.err conftest.$ac_ext
39296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39297 echo "${ECHO_T}$ac_header_preproc" >&6
39298
39299 # So? What about this header?
39300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39301 yes:no: )
39302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39306 ac_header_preproc=yes
39307 ;;
39308 no:yes:* )
39309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39321 (
39322 cat <<\_ASBOX
39323 ## ----------------------------------------- ##
39324 ## Report this to wx-dev@lists.wxwidgets.org ##
39325 ## ----------------------------------------- ##
39326 _ASBOX
39327 ) |
39328 sed "s/^/$as_me: WARNING: /" >&2
39329 ;;
39330 esac
39331 echo "$as_me:$LINENO: checking for $ac_header" >&5
39332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 eval "$as_ac_Header=\$ac_header_preproc"
39337 fi
39338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39340
39341 fi
39342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39343 cat >>confdefs.h <<_ACEOF
39344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39345 _ACEOF
39346
39347 EXTRALIBS_ESD="-lesd"
39348
39349 fi
39350
39351 done
39352
39353
39354 fi
39355
39356
39357
39358 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39359 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39360 cat >conftest.$ac_ext <<_ACEOF
39361 /* confdefs.h. */
39362 _ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366 #ifdef __linux__
39367 #include <linux/cdrom.h>
39368 #else
39369 /* For Solaris */
39370 #include <sys/cdio.h>
39371 #endif
39372
39373 int
39374 main ()
39375 {
39376 struct cdrom_tocentry entry, old_entry;
39377 ;
39378 return 0;
39379 }
39380 _ACEOF
39381 rm -f conftest.$ac_objext
39382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39383 (eval $ac_compile) 2>conftest.er1
39384 ac_status=$?
39385 grep -v '^ *+' conftest.er1 >conftest.err
39386 rm -f conftest.er1
39387 cat conftest.err >&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } &&
39390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39392 (eval $ac_try) 2>&5
39393 ac_status=$?
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); }; } &&
39396 { ac_try='test -s conftest.$ac_objext'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39399 ac_status=$?
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; }; then
39402 echo "$as_me:$LINENO: result: yes" >&5
39403 echo "${ECHO_T}yes" >&6
39404 cat >>confdefs.h <<\_ACEOF
39405 #define HAVE_KNOWN_CDROM_INTERFACE 1
39406 _ACEOF
39407
39408 else
39409 echo "$as_me: failed program was:" >&5
39410 sed 's/^/| /' conftest.$ac_ext >&5
39411
39412 echo "$as_me:$LINENO: result: no" >&5
39413 echo "${ECHO_T}no" >&6
39414 fi
39415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39416
39417
39418 cat >confcache <<\_ACEOF
39419 # This file is a shell script that caches the results of configure
39420 # tests run on this system so they can be shared between configure
39421 # scripts and configure runs, see configure's option --config-cache.
39422 # It is not useful on other systems. If it contains results you don't
39423 # want to keep, you may remove or edit it.
39424 #
39425 # config.status only pays attention to the cache file if you give it
39426 # the --recheck option to rerun configure.
39427 #
39428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39430 # following values.
39431
39432 _ACEOF
39433
39434 # The following way of writing the cache mishandles newlines in values,
39435 # but we know of no workaround that is simple, portable, and efficient.
39436 # So, don't put newlines in cache variables' values.
39437 # Ultrix sh set writes to stderr and can't be redirected directly,
39438 # and sets the high bit in the cache file unless we assign to the vars.
39439 {
39440 (set) 2>&1 |
39441 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39442 *ac_space=\ *)
39443 # `set' does not quote correctly, so add quotes (double-quote
39444 # substitution turns \\\\ into \\, and sed turns \\ into \).
39445 sed -n \
39446 "s/'/'\\\\''/g;
39447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39448 ;;
39449 *)
39450 # `set' quotes correctly as required by POSIX, so do not add quotes.
39451 sed -n \
39452 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39453 ;;
39454 esac;
39455 } |
39456 sed '
39457 t clear
39458 : clear
39459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39460 t end
39461 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39462 : end' >>confcache
39463 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39464 if test -w $cache_file; then
39465 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39466 cat confcache >$cache_file
39467 else
39468 echo "not updating unwritable cache $cache_file"
39469 fi
39470 fi
39471 rm -f confcache
39472
39473
39474 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39475
39476
39477 THREADS_LINK=
39478 THREADS_CFLAGS=
39479
39480 if test "$wxUSE_THREADS" = "yes" ; then
39481 if test "$USE_BEOS" = 1; then
39482 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39483 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39484 wxUSE_THREADS="no"
39485 fi
39486 fi
39487
39488 if test "$wxUSE_THREADS" = "yes" ; then
39489
39490
39491 THREAD_OPTS="-pthread"
39492 case "${host}" in
39493 *-*-solaris2* | *-*-sunos4* )
39494 if test "x$GCC" = "xyes"; then
39495 THREAD_OPTS="-pthreads $THREAD_OPTS"
39496 else
39497 THREAD_OPTS="-mt $THREAD_OPTS"
39498 fi
39499 ;;
39500 *-*-freebsd*)
39501 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39502 ;;
39503 *-*-darwin* | *-*-cygwin* )
39504 THREAD_OPTS=""
39505 ;;
39506 *-*-aix*)
39507 THREAD_OPTS="pthreads"
39508 ;;
39509 *-hp-hpux* )
39510 if test "x$GCC" = "xyes"; then
39511 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39512 THREAD_OPTS=""
39513 else
39514 THREAD_OPTS="-mt"
39515 fi
39516 ;;
39517
39518 *-*-irix* )
39519 if test "x$GCC" = "xyes"; then
39520 THREAD_OPTS=""
39521 fi
39522 ;;
39523
39524 *-*-*UnixWare*)
39525 if test "x$GCC" != "xyes"; then
39526 THREAD_OPTS="-Ethread"
39527 fi
39528 ;;
39529 esac
39530
39531 THREAD_OPTS="$THREAD_OPTS pthread none"
39532
39533 THREADS_OK=no
39534 for flag in $THREAD_OPTS; do
39535 case $flag in
39536 none)
39537 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39538 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39539 ;;
39540
39541 -*)
39542 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39543 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39544 THREADS_CFLAGS="$flag"
39545 ;;
39546
39547 *)
39548 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39549 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39550 THREADS_LINK="-l$flag"
39551 ;;
39552 esac
39553
39554 save_LIBS="$LIBS"
39555 save_CFLAGS="$CFLAGS"
39556 LIBS="$THREADS_LINK $LIBS"
39557 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39558
39559 cat >conftest.$ac_ext <<_ACEOF
39560 /* confdefs.h. */
39561 _ACEOF
39562 cat confdefs.h >>conftest.$ac_ext
39563 cat >>conftest.$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 #include <pthread.h>
39566 int
39567 main ()
39568 {
39569 pthread_create(0,0,0,0);
39570 ;
39571 return 0;
39572 }
39573 _ACEOF
39574 rm -f conftest.$ac_objext conftest$ac_exeext
39575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39576 (eval $ac_link) 2>conftest.er1
39577 ac_status=$?
39578 grep -v '^ *+' conftest.er1 >conftest.err
39579 rm -f conftest.er1
39580 cat conftest.err >&5
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); } &&
39583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39586 ac_status=$?
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; } &&
39589 { ac_try='test -s conftest$ac_exeext'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39592 ac_status=$?
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; }; then
39595 THREADS_OK=yes
39596 else
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39599
39600 fi
39601 rm -f conftest.err conftest.$ac_objext \
39602 conftest$ac_exeext conftest.$ac_ext
39603
39604 LIBS="$save_LIBS"
39605 CFLAGS="$save_CFLAGS"
39606
39607 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39608 echo "${ECHO_T}$THREADS_OK" >&6
39609 if test "x$THREADS_OK" = "xyes"; then
39610 break;
39611 fi
39612
39613 THREADS_LINK=""
39614 THREADS_CFLAGS=""
39615 done
39616
39617 if test "x$THREADS_OK" != "xyes"; then
39618 wxUSE_THREADS=no
39619 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39620 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39621 else
39622 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39623 LIBS="$THREADS_LINK $LIBS"
39624
39625 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39626 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39627 flag=no
39628 case "${host}" in
39629 *-aix*)
39630 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39631 flag="-D_THREAD_SAFE"
39632 ;;
39633 *-freebsd*)
39634 flag="-D_THREAD_SAFE"
39635 ;;
39636 *-hp-hpux* )
39637 flag="-D_REENTRANT"
39638 if test "x$GCC" != "xyes"; then
39639 flag="$flag -D_RWSTD_MULTI_THREAD"
39640 fi
39641 ;;
39642 *solaris* | alpha*-osf*)
39643 flag="-D_REENTRANT"
39644 ;;
39645 esac
39646 echo "$as_me:$LINENO: result: ${flag}" >&5
39647 echo "${ECHO_T}${flag}" >&6
39648 if test "x$flag" != xno; then
39649 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39650 fi
39651
39652 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39653 fi
39654 fi
39655
39656 if test "$wxUSE_THREADS" = "yes" ; then
39657
39658 for ac_func in thr_setconcurrency
39659 do
39660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39661 echo "$as_me:$LINENO: checking for $ac_func" >&5
39662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39663 if eval "test \"\${$as_ac_var+set}\" = set"; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666 cat >conftest.$ac_ext <<_ACEOF
39667 /* confdefs.h. */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39674 #define $ac_func innocuous_$ac_func
39675
39676 /* System header to define __stub macros and hopefully few prototypes,
39677 which can conflict with char $ac_func (); below.
39678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39679 <limits.h> exists even on freestanding compilers. */
39680
39681 #ifdef __STDC__
39682 # include <limits.h>
39683 #else
39684 # include <assert.h>
39685 #endif
39686
39687 #undef $ac_func
39688
39689 /* Override any gcc2 internal prototype to avoid an error. */
39690 #ifdef __cplusplus
39691 extern "C"
39692 {
39693 #endif
39694 /* We use char because int might match the return type of a gcc2
39695 builtin and then its argument prototype would still apply. */
39696 char $ac_func ();
39697 /* The GNU C library defines this for functions which it implements
39698 to always fail with ENOSYS. Some functions are actually named
39699 something starting with __ and the normal name is an alias. */
39700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39701 choke me
39702 #else
39703 char (*f) () = $ac_func;
39704 #endif
39705 #ifdef __cplusplus
39706 }
39707 #endif
39708
39709 int
39710 main ()
39711 {
39712 return f != $ac_func;
39713 ;
39714 return 0;
39715 }
39716 _ACEOF
39717 rm -f conftest.$ac_objext conftest$ac_exeext
39718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39719 (eval $ac_link) 2>conftest.er1
39720 ac_status=$?
39721 grep -v '^ *+' conftest.er1 >conftest.err
39722 rm -f conftest.er1
39723 cat conftest.err >&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } &&
39726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39728 (eval $ac_try) 2>&5
39729 ac_status=$?
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); }; } &&
39732 { ac_try='test -s conftest$ac_exeext'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39735 ac_status=$?
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; }; then
39738 eval "$as_ac_var=yes"
39739 else
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.$ac_ext >&5
39742
39743 eval "$as_ac_var=no"
39744 fi
39745 rm -f conftest.err conftest.$ac_objext \
39746 conftest$ac_exeext conftest.$ac_ext
39747 fi
39748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39750 if test `eval echo '${'$as_ac_var'}'` = yes; then
39751 cat >>confdefs.h <<_ACEOF
39752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39753 _ACEOF
39754
39755 fi
39756 done
39757
39758
39759 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39760 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39761 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39763 else
39764
39765 cat >conftest.$ac_ext <<_ACEOF
39766 /* confdefs.h. */
39767 _ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 #include <pthread.h>
39772 void ThreadCleanupFunc(void *p);
39773
39774 int
39775 main ()
39776 {
39777
39778 void *p;
39779 pthread_cleanup_push(ThreadCleanupFunc, p);
39780 pthread_cleanup_pop(0);
39781
39782 ;
39783 return 0;
39784 }
39785 _ACEOF
39786 rm -f conftest.$ac_objext
39787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39788 (eval $ac_compile) 2>conftest.er1
39789 ac_status=$?
39790 grep -v '^ *+' conftest.er1 >conftest.err
39791 rm -f conftest.er1
39792 cat conftest.err >&5
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); } &&
39795 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39797 (eval $ac_try) 2>&5
39798 ac_status=$?
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); }; } &&
39801 { ac_try='test -s conftest.$ac_objext'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; }; then
39807
39808 wx_cv_func_pthread_cleanup=yes
39809
39810 else
39811 echo "$as_me: failed program was:" >&5
39812 sed 's/^/| /' conftest.$ac_ext >&5
39813
39814
39815 wx_cv_func_pthread_cleanup=no
39816
39817
39818 fi
39819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39820
39821 fi
39822 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39823 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39824 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39825 cat >>confdefs.h <<\_ACEOF
39826 #define wxHAVE_PTHREAD_CLEANUP 1
39827 _ACEOF
39828
39829 fi
39830
39831
39832 for ac_header in sched.h
39833 do
39834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39836 echo "$as_me:$LINENO: checking for $ac_header" >&5
39837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 fi
39841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39843 else
39844 # Is the header compilable?
39845 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39846 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 $ac_includes_default
39854 #include <$ac_header>
39855 _ACEOF
39856 rm -f conftest.$ac_objext
39857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39858 (eval $ac_compile) 2>conftest.er1
39859 ac_status=$?
39860 grep -v '^ *+' conftest.er1 >conftest.err
39861 rm -f conftest.er1
39862 cat conftest.err >&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); } &&
39865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39867 (eval $ac_try) 2>&5
39868 ac_status=$?
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); }; } &&
39871 { ac_try='test -s conftest.$ac_objext'
39872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39873 (eval $ac_try) 2>&5
39874 ac_status=$?
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); }; }; then
39877 ac_header_compiler=yes
39878 else
39879 echo "$as_me: failed program was:" >&5
39880 sed 's/^/| /' conftest.$ac_ext >&5
39881
39882 ac_header_compiler=no
39883 fi
39884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39886 echo "${ECHO_T}$ac_header_compiler" >&6
39887
39888 # Is the header present?
39889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39891 cat >conftest.$ac_ext <<_ACEOF
39892 /* confdefs.h. */
39893 _ACEOF
39894 cat confdefs.h >>conftest.$ac_ext
39895 cat >>conftest.$ac_ext <<_ACEOF
39896 /* end confdefs.h. */
39897 #include <$ac_header>
39898 _ACEOF
39899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39900 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
39907 if test -s conftest.err; then
39908 ac_cpp_err=$ac_c_preproc_warn_flag
39909 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39910 else
39911 ac_cpp_err=
39912 fi
39913 else
39914 ac_cpp_err=yes
39915 fi
39916 if test -z "$ac_cpp_err"; then
39917 ac_header_preproc=yes
39918 else
39919 echo "$as_me: failed program was:" >&5
39920 sed 's/^/| /' conftest.$ac_ext >&5
39921
39922 ac_header_preproc=no
39923 fi
39924 rm -f conftest.err conftest.$ac_ext
39925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39926 echo "${ECHO_T}$ac_header_preproc" >&6
39927
39928 # So? What about this header?
39929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39930 yes:no: )
39931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39935 ac_header_preproc=yes
39936 ;;
39937 no:yes:* )
39938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39950 (
39951 cat <<\_ASBOX
39952 ## ----------------------------------------- ##
39953 ## Report this to wx-dev@lists.wxwidgets.org ##
39954 ## ----------------------------------------- ##
39955 _ASBOX
39956 ) |
39957 sed "s/^/$as_me: WARNING: /" >&2
39958 ;;
39959 esac
39960 echo "$as_me:$LINENO: checking for $ac_header" >&5
39961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39964 else
39965 eval "$as_ac_Header=\$ac_header_preproc"
39966 fi
39967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39969
39970 fi
39971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39972 cat >>confdefs.h <<_ACEOF
39973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39974 _ACEOF
39975
39976 fi
39977
39978 done
39979
39980 if test "$ac_cv_header_sched_h" = "yes"; then
39981 echo "$as_me:$LINENO: checking for sched_yield" >&5
39982 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39983 if test "${ac_cv_func_sched_yield+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 else
39986 cat >conftest.$ac_ext <<_ACEOF
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39994 #define sched_yield innocuous_sched_yield
39995
39996 /* System header to define __stub macros and hopefully few prototypes,
39997 which can conflict with char sched_yield (); below.
39998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39999 <limits.h> exists even on freestanding compilers. */
40000
40001 #ifdef __STDC__
40002 # include <limits.h>
40003 #else
40004 # include <assert.h>
40005 #endif
40006
40007 #undef sched_yield
40008
40009 /* Override any gcc2 internal prototype to avoid an error. */
40010 #ifdef __cplusplus
40011 extern "C"
40012 {
40013 #endif
40014 /* We use char because int might match the return type of a gcc2
40015 builtin and then its argument prototype would still apply. */
40016 char sched_yield ();
40017 /* The GNU C library defines this for functions which it implements
40018 to always fail with ENOSYS. Some functions are actually named
40019 something starting with __ and the normal name is an alias. */
40020 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40021 choke me
40022 #else
40023 char (*f) () = sched_yield;
40024 #endif
40025 #ifdef __cplusplus
40026 }
40027 #endif
40028
40029 int
40030 main ()
40031 {
40032 return f != sched_yield;
40033 ;
40034 return 0;
40035 }
40036 _ACEOF
40037 rm -f conftest.$ac_objext conftest$ac_exeext
40038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40039 (eval $ac_link) 2>conftest.er1
40040 ac_status=$?
40041 grep -v '^ *+' conftest.er1 >conftest.err
40042 rm -f conftest.er1
40043 cat conftest.err >&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } &&
40046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40048 (eval $ac_try) 2>&5
40049 ac_status=$?
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); }; } &&
40052 { ac_try='test -s conftest$ac_exeext'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40055 ac_status=$?
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; }; then
40058 ac_cv_func_sched_yield=yes
40059 else
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.$ac_ext >&5
40062
40063 ac_cv_func_sched_yield=no
40064 fi
40065 rm -f conftest.err conftest.$ac_objext \
40066 conftest$ac_exeext conftest.$ac_ext
40067 fi
40068 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40069 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40070 if test $ac_cv_func_sched_yield = yes; then
40071 cat >>confdefs.h <<\_ACEOF
40072 #define HAVE_SCHED_YIELD 1
40073 _ACEOF
40074
40075 else
40076
40077 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40078 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40079 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40080 echo $ECHO_N "(cached) $ECHO_C" >&6
40081 else
40082 ac_check_lib_save_LIBS=$LIBS
40083 LIBS="-lposix4 $LIBS"
40084 cat >conftest.$ac_ext <<_ACEOF
40085 /* confdefs.h. */
40086 _ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090
40091 /* Override any gcc2 internal prototype to avoid an error. */
40092 #ifdef __cplusplus
40093 extern "C"
40094 #endif
40095 /* We use char because int might match the return type of a gcc2
40096 builtin and then its argument prototype would still apply. */
40097 char sched_yield ();
40098 int
40099 main ()
40100 {
40101 sched_yield ();
40102 ;
40103 return 0;
40104 }
40105 _ACEOF
40106 rm -f conftest.$ac_objext conftest$ac_exeext
40107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40108 (eval $ac_link) 2>conftest.er1
40109 ac_status=$?
40110 grep -v '^ *+' conftest.er1 >conftest.err
40111 rm -f conftest.er1
40112 cat conftest.err >&5
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); } &&
40115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40117 (eval $ac_try) 2>&5
40118 ac_status=$?
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); }; } &&
40121 { ac_try='test -s conftest$ac_exeext'
40122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40123 (eval $ac_try) 2>&5
40124 ac_status=$?
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); }; }; then
40127 ac_cv_lib_posix4_sched_yield=yes
40128 else
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.$ac_ext >&5
40131
40132 ac_cv_lib_posix4_sched_yield=no
40133 fi
40134 rm -f conftest.err conftest.$ac_objext \
40135 conftest$ac_exeext conftest.$ac_ext
40136 LIBS=$ac_check_lib_save_LIBS
40137 fi
40138 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40139 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40140 if test $ac_cv_lib_posix4_sched_yield = yes; then
40141 cat >>confdefs.h <<\_ACEOF
40142 #define HAVE_SCHED_YIELD 1
40143 _ACEOF
40144 POSIX4_LINK=" -lposix4"
40145 else
40146 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40147 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40148
40149 fi
40150
40151
40152
40153 fi
40154
40155 fi
40156
40157 HAVE_PRIOR_FUNCS=0
40158 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40159 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40160 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40161 echo $ECHO_N "(cached) $ECHO_C" >&6
40162 else
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 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40171 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40172
40173 /* System header to define __stub macros and hopefully few prototypes,
40174 which can conflict with char pthread_attr_getschedpolicy (); below.
40175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40176 <limits.h> exists even on freestanding compilers. */
40177
40178 #ifdef __STDC__
40179 # include <limits.h>
40180 #else
40181 # include <assert.h>
40182 #endif
40183
40184 #undef pthread_attr_getschedpolicy
40185
40186 /* Override any gcc2 internal prototype to avoid an error. */
40187 #ifdef __cplusplus
40188 extern "C"
40189 {
40190 #endif
40191 /* We use char because int might match the return type of a gcc2
40192 builtin and then its argument prototype would still apply. */
40193 char pthread_attr_getschedpolicy ();
40194 /* The GNU C library defines this for functions which it implements
40195 to always fail with ENOSYS. Some functions are actually named
40196 something starting with __ and the normal name is an alias. */
40197 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40198 choke me
40199 #else
40200 char (*f) () = pthread_attr_getschedpolicy;
40201 #endif
40202 #ifdef __cplusplus
40203 }
40204 #endif
40205
40206 int
40207 main ()
40208 {
40209 return f != pthread_attr_getschedpolicy;
40210 ;
40211 return 0;
40212 }
40213 _ACEOF
40214 rm -f conftest.$ac_objext conftest$ac_exeext
40215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40216 (eval $ac_link) 2>conftest.er1
40217 ac_status=$?
40218 grep -v '^ *+' conftest.er1 >conftest.err
40219 rm -f conftest.er1
40220 cat conftest.err >&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } &&
40223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40226 ac_status=$?
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; } &&
40229 { ac_try='test -s conftest$ac_exeext'
40230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40231 (eval $ac_try) 2>&5
40232 ac_status=$?
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); }; }; then
40235 ac_cv_func_pthread_attr_getschedpolicy=yes
40236 else
40237 echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40239
40240 ac_cv_func_pthread_attr_getschedpolicy=no
40241 fi
40242 rm -f conftest.err conftest.$ac_objext \
40243 conftest$ac_exeext conftest.$ac_ext
40244 fi
40245 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40246 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40247 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40248 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40249 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40250 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40251 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 else
40253 cat >conftest.$ac_ext <<_ACEOF
40254 /* confdefs.h. */
40255 _ACEOF
40256 cat confdefs.h >>conftest.$ac_ext
40257 cat >>conftest.$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40261 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40262
40263 /* System header to define __stub macros and hopefully few prototypes,
40264 which can conflict with char pthread_attr_setschedparam (); below.
40265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40266 <limits.h> exists even on freestanding compilers. */
40267
40268 #ifdef __STDC__
40269 # include <limits.h>
40270 #else
40271 # include <assert.h>
40272 #endif
40273
40274 #undef pthread_attr_setschedparam
40275
40276 /* Override any gcc2 internal prototype to avoid an error. */
40277 #ifdef __cplusplus
40278 extern "C"
40279 {
40280 #endif
40281 /* We use char because int might match the return type of a gcc2
40282 builtin and then its argument prototype would still apply. */
40283 char pthread_attr_setschedparam ();
40284 /* The GNU C library defines this for functions which it implements
40285 to always fail with ENOSYS. Some functions are actually named
40286 something starting with __ and the normal name is an alias. */
40287 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40288 choke me
40289 #else
40290 char (*f) () = pthread_attr_setschedparam;
40291 #endif
40292 #ifdef __cplusplus
40293 }
40294 #endif
40295
40296 int
40297 main ()
40298 {
40299 return f != pthread_attr_setschedparam;
40300 ;
40301 return 0;
40302 }
40303 _ACEOF
40304 rm -f conftest.$ac_objext conftest$ac_exeext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40306 (eval $ac_link) 2>conftest.er1
40307 ac_status=$?
40308 grep -v '^ *+' conftest.er1 >conftest.err
40309 rm -f conftest.er1
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315 (eval $ac_try) 2>&5
40316 ac_status=$?
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); }; } &&
40319 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40325 ac_cv_func_pthread_attr_setschedparam=yes
40326 else
40327 echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.$ac_ext >&5
40329
40330 ac_cv_func_pthread_attr_setschedparam=no
40331 fi
40332 rm -f conftest.err conftest.$ac_objext \
40333 conftest$ac_exeext conftest.$ac_ext
40334 fi
40335 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40336 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40337 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40338 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40339 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40340 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40342 else
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40351 #define sched_get_priority_max innocuous_sched_get_priority_max
40352
40353 /* System header to define __stub macros and hopefully few prototypes,
40354 which can conflict with char sched_get_priority_max (); below.
40355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40356 <limits.h> exists even on freestanding compilers. */
40357
40358 #ifdef __STDC__
40359 # include <limits.h>
40360 #else
40361 # include <assert.h>
40362 #endif
40363
40364 #undef sched_get_priority_max
40365
40366 /* Override any gcc2 internal prototype to avoid an error. */
40367 #ifdef __cplusplus
40368 extern "C"
40369 {
40370 #endif
40371 /* We use char because int might match the return type of a gcc2
40372 builtin and then its argument prototype would still apply. */
40373 char sched_get_priority_max ();
40374 /* The GNU C library defines this for functions which it implements
40375 to always fail with ENOSYS. Some functions are actually named
40376 something starting with __ and the normal name is an alias. */
40377 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40378 choke me
40379 #else
40380 char (*f) () = sched_get_priority_max;
40381 #endif
40382 #ifdef __cplusplus
40383 }
40384 #endif
40385
40386 int
40387 main ()
40388 {
40389 return f != sched_get_priority_max;
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext conftest$ac_exeext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40396 (eval $ac_link) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40405 (eval $ac_try) 2>&5
40406 ac_status=$?
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); }; } &&
40409 { ac_try='test -s conftest$ac_exeext'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40412 ac_status=$?
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; }; then
40415 ac_cv_func_sched_get_priority_max=yes
40416 else
40417 echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.$ac_ext >&5
40419
40420 ac_cv_func_sched_get_priority_max=no
40421 fi
40422 rm -f conftest.err conftest.$ac_objext \
40423 conftest$ac_exeext conftest.$ac_ext
40424 fi
40425 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40426 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40427 if test $ac_cv_func_sched_get_priority_max = yes; then
40428 HAVE_PRIOR_FUNCS=1
40429 else
40430 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40431 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40432 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435 ac_check_lib_save_LIBS=$LIBS
40436 LIBS="-lposix4 $LIBS"
40437 cat >conftest.$ac_ext <<_ACEOF
40438 /* confdefs.h. */
40439 _ACEOF
40440 cat confdefs.h >>conftest.$ac_ext
40441 cat >>conftest.$ac_ext <<_ACEOF
40442 /* end confdefs.h. */
40443
40444 /* Override any gcc2 internal prototype to avoid an error. */
40445 #ifdef __cplusplus
40446 extern "C"
40447 #endif
40448 /* We use char because int might match the return type of a gcc2
40449 builtin and then its argument prototype would still apply. */
40450 char sched_get_priority_max ();
40451 int
40452 main ()
40453 {
40454 sched_get_priority_max ();
40455 ;
40456 return 0;
40457 }
40458 _ACEOF
40459 rm -f conftest.$ac_objext conftest$ac_exeext
40460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40461 (eval $ac_link) 2>conftest.er1
40462 ac_status=$?
40463 grep -v '^ *+' conftest.er1 >conftest.err
40464 rm -f conftest.er1
40465 cat conftest.err >&5
40466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40467 (exit $ac_status); } &&
40468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40470 (eval $ac_try) 2>&5
40471 ac_status=$?
40472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40473 (exit $ac_status); }; } &&
40474 { ac_try='test -s conftest$ac_exeext'
40475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40476 (eval $ac_try) 2>&5
40477 ac_status=$?
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); }; }; then
40480 ac_cv_lib_posix4_sched_get_priority_max=yes
40481 else
40482 echo "$as_me: failed program was:" >&5
40483 sed 's/^/| /' conftest.$ac_ext >&5
40484
40485 ac_cv_lib_posix4_sched_get_priority_max=no
40486 fi
40487 rm -f conftest.err conftest.$ac_objext \
40488 conftest$ac_exeext conftest.$ac_ext
40489 LIBS=$ac_check_lib_save_LIBS
40490 fi
40491 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40492 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40493 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40494
40495 HAVE_PRIOR_FUNCS=1
40496 POSIX4_LINK=" -lposix4"
40497
40498 fi
40499
40500
40501 fi
40502
40503
40504 fi
40505
40506
40507 fi
40508
40509
40510 if test "$HAVE_PRIOR_FUNCS" = 1; then
40511 cat >>confdefs.h <<\_ACEOF
40512 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40513 _ACEOF
40514
40515 else
40516 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40517 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40518 fi
40519
40520 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40521 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40522 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40523 echo $ECHO_N "(cached) $ECHO_C" >&6
40524 else
40525 cat >conftest.$ac_ext <<_ACEOF
40526 /* confdefs.h. */
40527 _ACEOF
40528 cat confdefs.h >>conftest.$ac_ext
40529 cat >>conftest.$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40531 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40533 #define pthread_cancel innocuous_pthread_cancel
40534
40535 /* System header to define __stub macros and hopefully few prototypes,
40536 which can conflict with char pthread_cancel (); below.
40537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40538 <limits.h> exists even on freestanding compilers. */
40539
40540 #ifdef __STDC__
40541 # include <limits.h>
40542 #else
40543 # include <assert.h>
40544 #endif
40545
40546 #undef pthread_cancel
40547
40548 /* Override any gcc2 internal prototype to avoid an error. */
40549 #ifdef __cplusplus
40550 extern "C"
40551 {
40552 #endif
40553 /* We use char because int might match the return type of a gcc2
40554 builtin and then its argument prototype would still apply. */
40555 char pthread_cancel ();
40556 /* The GNU C library defines this for functions which it implements
40557 to always fail with ENOSYS. Some functions are actually named
40558 something starting with __ and the normal name is an alias. */
40559 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40560 choke me
40561 #else
40562 char (*f) () = pthread_cancel;
40563 #endif
40564 #ifdef __cplusplus
40565 }
40566 #endif
40567
40568 int
40569 main ()
40570 {
40571 return f != pthread_cancel;
40572 ;
40573 return 0;
40574 }
40575 _ACEOF
40576 rm -f conftest.$ac_objext conftest$ac_exeext
40577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40578 (eval $ac_link) 2>conftest.er1
40579 ac_status=$?
40580 grep -v '^ *+' conftest.er1 >conftest.err
40581 rm -f conftest.er1
40582 cat conftest.err >&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); } &&
40585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40588 ac_status=$?
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; } &&
40591 { ac_try='test -s conftest$ac_exeext'
40592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40593 (eval $ac_try) 2>&5
40594 ac_status=$?
40595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40596 (exit $ac_status); }; }; then
40597 ac_cv_func_pthread_cancel=yes
40598 else
40599 echo "$as_me: failed program was:" >&5
40600 sed 's/^/| /' conftest.$ac_ext >&5
40601
40602 ac_cv_func_pthread_cancel=no
40603 fi
40604 rm -f conftest.err conftest.$ac_objext \
40605 conftest$ac_exeext conftest.$ac_ext
40606 fi
40607 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40608 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40609 if test $ac_cv_func_pthread_cancel = yes; then
40610 cat >>confdefs.h <<\_ACEOF
40611 #define HAVE_PTHREAD_CANCEL 1
40612 _ACEOF
40613
40614 else
40615 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40616 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40617 fi
40618
40619
40620 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40621 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40622 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40623 echo $ECHO_N "(cached) $ECHO_C" >&6
40624 else
40625 cat >conftest.$ac_ext <<_ACEOF
40626 /* confdefs.h. */
40627 _ACEOF
40628 cat confdefs.h >>conftest.$ac_ext
40629 cat >>conftest.$ac_ext <<_ACEOF
40630 /* end confdefs.h. */
40631 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40633 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40634
40635 /* System header to define __stub macros and hopefully few prototypes,
40636 which can conflict with char pthread_attr_setstacksize (); below.
40637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40638 <limits.h> exists even on freestanding compilers. */
40639
40640 #ifdef __STDC__
40641 # include <limits.h>
40642 #else
40643 # include <assert.h>
40644 #endif
40645
40646 #undef pthread_attr_setstacksize
40647
40648 /* Override any gcc2 internal prototype to avoid an error. */
40649 #ifdef __cplusplus
40650 extern "C"
40651 {
40652 #endif
40653 /* We use char because int might match the return type of a gcc2
40654 builtin and then its argument prototype would still apply. */
40655 char pthread_attr_setstacksize ();
40656 /* The GNU C library defines this for functions which it implements
40657 to always fail with ENOSYS. Some functions are actually named
40658 something starting with __ and the normal name is an alias. */
40659 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40660 choke me
40661 #else
40662 char (*f) () = pthread_attr_setstacksize;
40663 #endif
40664 #ifdef __cplusplus
40665 }
40666 #endif
40667
40668 int
40669 main ()
40670 {
40671 return f != pthread_attr_setstacksize;
40672 ;
40673 return 0;
40674 }
40675 _ACEOF
40676 rm -f conftest.$ac_objext conftest$ac_exeext
40677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40678 (eval $ac_link) 2>conftest.er1
40679 ac_status=$?
40680 grep -v '^ *+' conftest.er1 >conftest.err
40681 rm -f conftest.er1
40682 cat conftest.err >&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); } &&
40685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40687 (eval $ac_try) 2>&5
40688 ac_status=$?
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); }; } &&
40691 { ac_try='test -s conftest$ac_exeext'
40692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40693 (eval $ac_try) 2>&5
40694 ac_status=$?
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); }; }; then
40697 ac_cv_func_pthread_attr_setstacksize=yes
40698 else
40699 echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.$ac_ext >&5
40701
40702 ac_cv_func_pthread_attr_setstacksize=no
40703 fi
40704 rm -f conftest.err conftest.$ac_objext \
40705 conftest$ac_exeext conftest.$ac_ext
40706 fi
40707 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40708 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40709 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40710 cat >>confdefs.h <<\_ACEOF
40711 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40712 _ACEOF
40713
40714 fi
40715
40716
40717
40718 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40719 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40720 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40721 echo $ECHO_N "(cached) $ECHO_C" >&6
40722 else
40723
40724 cat >conftest.$ac_ext <<_ACEOF
40725 /* confdefs.h. */
40726 _ACEOF
40727 cat confdefs.h >>conftest.$ac_ext
40728 cat >>conftest.$ac_ext <<_ACEOF
40729 /* end confdefs.h. */
40730 #include <pthread.h>
40731 int
40732 main ()
40733 {
40734
40735 pthread_mutexattr_t attr;
40736 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40737
40738 ;
40739 return 0;
40740 }
40741 _ACEOF
40742 rm -f conftest.$ac_objext
40743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40744 (eval $ac_compile) 2>conftest.er1
40745 ac_status=$?
40746 grep -v '^ *+' conftest.er1 >conftest.err
40747 rm -f conftest.er1
40748 cat conftest.err >&5
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); } &&
40751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40753 (eval $ac_try) 2>&5
40754 ac_status=$?
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); }; } &&
40757 { ac_try='test -s conftest.$ac_objext'
40758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40759 (eval $ac_try) 2>&5
40760 ac_status=$?
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; }; then
40763 wx_cv_type_pthread_mutexattr_t=yes
40764 else
40765 echo "$as_me: failed program was:" >&5
40766 sed 's/^/| /' conftest.$ac_ext >&5
40767
40768 wx_cv_type_pthread_mutexattr_t=no
40769
40770 fi
40771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40772
40773 fi
40774 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40775 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40776
40777 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40778 cat >>confdefs.h <<\_ACEOF
40779 #define HAVE_PTHREAD_MUTEXATTR_T 1
40780 _ACEOF
40781
40782
40783 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40784 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40785 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40786 echo $ECHO_N "(cached) $ECHO_C" >&6
40787 else
40788
40789 cat >conftest.$ac_ext <<_ACEOF
40790 /* confdefs.h. */
40791 _ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795 #include <pthread.h>
40796 int
40797 main ()
40798 {
40799
40800 pthread_mutexattr_t attr;
40801 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40802
40803 ;
40804 return 0;
40805 }
40806 _ACEOF
40807 rm -f conftest.$ac_objext
40808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40809 (eval $ac_compile) 2>conftest.er1
40810 ac_status=$?
40811 grep -v '^ *+' conftest.er1 >conftest.err
40812 rm -f conftest.er1
40813 cat conftest.err >&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40818 (eval $ac_try) 2>&5
40819 ac_status=$?
40820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821 (exit $ac_status); }; } &&
40822 { ac_try='test -s conftest.$ac_objext'
40823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40824 (eval $ac_try) 2>&5
40825 ac_status=$?
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); }; }; then
40828 wx_cv_func_pthread_mutexattr_settype_decl=yes
40829 else
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.$ac_ext >&5
40832
40833 wx_cv_func_pthread_mutexattr_settype_decl=no
40834
40835 fi
40836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40837
40838 fi
40839 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40840 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40841 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40842 cat >>confdefs.h <<\_ACEOF
40843 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40844 _ACEOF
40845
40846 fi
40847 else
40848 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40849 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40850 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40851 echo $ECHO_N "(cached) $ECHO_C" >&6
40852 else
40853
40854 cat >conftest.$ac_ext <<_ACEOF
40855 /* confdefs.h. */
40856 _ACEOF
40857 cat confdefs.h >>conftest.$ac_ext
40858 cat >>conftest.$ac_ext <<_ACEOF
40859 /* end confdefs.h. */
40860 #include <pthread.h>
40861 int
40862 main ()
40863 {
40864
40865 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40866
40867 ;
40868 return 0;
40869 }
40870 _ACEOF
40871 rm -f conftest.$ac_objext
40872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40873 (eval $ac_compile) 2>conftest.er1
40874 ac_status=$?
40875 grep -v '^ *+' conftest.er1 >conftest.err
40876 rm -f conftest.er1
40877 cat conftest.err >&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } &&
40880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40883 ac_status=$?
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; } &&
40886 { ac_try='test -s conftest.$ac_objext'
40887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888 (eval $ac_try) 2>&5
40889 ac_status=$?
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); }; }; then
40892
40893 wx_cv_type_pthread_rec_mutex_init=yes
40894
40895 else
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40898
40899
40900 wx_cv_type_pthread_rec_mutex_init=no
40901
40902
40903 fi
40904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40905
40906 fi
40907 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40908 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40909 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40910 cat >>confdefs.h <<\_ACEOF
40911 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40912 _ACEOF
40913
40914 else
40915 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40916 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40917 fi
40918 fi
40919 fi
40920
40921 else
40922 if test "$wxUSE_THREADS" = "yes" ; then
40923 case "${host}" in
40924 *-*-mingw32* )
40925 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40926 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40927 if test "${wx_cv_cflags_mthread+set}" = set; then
40928 echo $ECHO_N "(cached) $ECHO_C" >&6
40929 else
40930
40931 CFLAGS_OLD="$CFLAGS"
40932 CFLAGS="-mthreads $CFLAGS"
40933 cat >conftest.$ac_ext <<_ACEOF
40934 /* confdefs.h. */
40935 _ACEOF
40936 cat confdefs.h >>conftest.$ac_ext
40937 cat >>conftest.$ac_ext <<_ACEOF
40938 /* end confdefs.h. */
40939
40940 int
40941 main ()
40942 {
40943
40944 ;
40945 return 0;
40946 }
40947 _ACEOF
40948 rm -f conftest.$ac_objext
40949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40950 (eval $ac_compile) 2>conftest.er1
40951 ac_status=$?
40952 grep -v '^ *+' conftest.er1 >conftest.err
40953 rm -f conftest.er1
40954 cat conftest.err >&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } &&
40957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try='test -s conftest.$ac_objext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40966 ac_status=$?
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 wx_cv_cflags_mthread=yes
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40973
40974 wx_cv_cflags_mthread=no
40975
40976 fi
40977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40978
40979
40980 fi
40981 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40982 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40983
40984 if test "$wx_cv_cflags_mthread" = "yes"; then
40985 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40986 LDFLAGS="$LDFLAGS -mthreads"
40987 else
40988 CFLAGS="$CFLAGS_OLD"
40989 fi
40990 ;;
40991 *-pc-os2*emx )
40992 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40993 LDFLAGS="$LDFLAGS -Zmt"
40994 ;;
40995 esac
40996 fi
40997 fi
40998
40999 echo "$as_me:$LINENO: checking for localtime_r" >&5
41000 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41001 if test "${ac_cv_func_localtime_r+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 else
41004 cat >conftest.$ac_ext <<_ACEOF
41005 /* confdefs.h. */
41006 _ACEOF
41007 cat confdefs.h >>conftest.$ac_ext
41008 cat >>conftest.$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41010 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41012 #define localtime_r innocuous_localtime_r
41013
41014 /* System header to define __stub macros and hopefully few prototypes,
41015 which can conflict with char localtime_r (); below.
41016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41017 <limits.h> exists even on freestanding compilers. */
41018
41019 #ifdef __STDC__
41020 # include <limits.h>
41021 #else
41022 # include <assert.h>
41023 #endif
41024
41025 #undef localtime_r
41026
41027 /* Override any gcc2 internal prototype to avoid an error. */
41028 #ifdef __cplusplus
41029 extern "C"
41030 {
41031 #endif
41032 /* We use char because int might match the return type of a gcc2
41033 builtin and then its argument prototype would still apply. */
41034 char localtime_r ();
41035 /* The GNU C library defines this for functions which it implements
41036 to always fail with ENOSYS. Some functions are actually named
41037 something starting with __ and the normal name is an alias. */
41038 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41039 choke me
41040 #else
41041 char (*f) () = localtime_r;
41042 #endif
41043 #ifdef __cplusplus
41044 }
41045 #endif
41046
41047 int
41048 main ()
41049 {
41050 return f != localtime_r;
41051 ;
41052 return 0;
41053 }
41054 _ACEOF
41055 rm -f conftest.$ac_objext conftest$ac_exeext
41056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41057 (eval $ac_link) 2>conftest.er1
41058 ac_status=$?
41059 grep -v '^ *+' conftest.er1 >conftest.err
41060 rm -f conftest.er1
41061 cat conftest.err >&5
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); } &&
41064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41066 (eval $ac_try) 2>&5
41067 ac_status=$?
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); }; } &&
41070 { ac_try='test -s conftest$ac_exeext'
41071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41072 (eval $ac_try) 2>&5
41073 ac_status=$?
41074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41075 (exit $ac_status); }; }; then
41076 ac_cv_func_localtime_r=yes
41077 else
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.$ac_ext >&5
41080
41081 ac_cv_func_localtime_r=no
41082 fi
41083 rm -f conftest.err conftest.$ac_objext \
41084 conftest$ac_exeext conftest.$ac_ext
41085 fi
41086 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41087 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41088 if test $ac_cv_func_localtime_r = yes; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define HAVE_LOCALTIME_R 1
41091 _ACEOF
41092
41093 fi
41094
41095 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41096 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41097 if test "${ac_cv_func_gmtime_r+set}" = set; then
41098 echo $ECHO_N "(cached) $ECHO_C" >&6
41099 else
41100 cat >conftest.$ac_ext <<_ACEOF
41101 /* confdefs.h. */
41102 _ACEOF
41103 cat confdefs.h >>conftest.$ac_ext
41104 cat >>conftest.$ac_ext <<_ACEOF
41105 /* end confdefs.h. */
41106 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41108 #define gmtime_r innocuous_gmtime_r
41109
41110 /* System header to define __stub macros and hopefully few prototypes,
41111 which can conflict with char gmtime_r (); below.
41112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41113 <limits.h> exists even on freestanding compilers. */
41114
41115 #ifdef __STDC__
41116 # include <limits.h>
41117 #else
41118 # include <assert.h>
41119 #endif
41120
41121 #undef gmtime_r
41122
41123 /* Override any gcc2 internal prototype to avoid an error. */
41124 #ifdef __cplusplus
41125 extern "C"
41126 {
41127 #endif
41128 /* We use char because int might match the return type of a gcc2
41129 builtin and then its argument prototype would still apply. */
41130 char gmtime_r ();
41131 /* The GNU C library defines this for functions which it implements
41132 to always fail with ENOSYS. Some functions are actually named
41133 something starting with __ and the normal name is an alias. */
41134 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41135 choke me
41136 #else
41137 char (*f) () = gmtime_r;
41138 #endif
41139 #ifdef __cplusplus
41140 }
41141 #endif
41142
41143 int
41144 main ()
41145 {
41146 return f != gmtime_r;
41147 ;
41148 return 0;
41149 }
41150 _ACEOF
41151 rm -f conftest.$ac_objext conftest$ac_exeext
41152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41153 (eval $ac_link) 2>conftest.er1
41154 ac_status=$?
41155 grep -v '^ *+' conftest.er1 >conftest.err
41156 rm -f conftest.er1
41157 cat conftest.err >&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); } &&
41160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41162 (eval $ac_try) 2>&5
41163 ac_status=$?
41164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41165 (exit $ac_status); }; } &&
41166 { ac_try='test -s conftest$ac_exeext'
41167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41168 (eval $ac_try) 2>&5
41169 ac_status=$?
41170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41171 (exit $ac_status); }; }; then
41172 ac_cv_func_gmtime_r=yes
41173 else
41174 echo "$as_me: failed program was:" >&5
41175 sed 's/^/| /' conftest.$ac_ext >&5
41176
41177 ac_cv_func_gmtime_r=no
41178 fi
41179 rm -f conftest.err conftest.$ac_objext \
41180 conftest$ac_exeext conftest.$ac_ext
41181 fi
41182 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41183 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41184 if test $ac_cv_func_gmtime_r = yes; then
41185 cat >>confdefs.h <<\_ACEOF
41186 #define HAVE_GMTIME_R 1
41187 _ACEOF
41188
41189 fi
41190
41191 echo "$as_me:$LINENO: checking for readdir_r" >&5
41192 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41193 if test "${ac_cv_func_readdir_r+set}" = set; then
41194 echo $ECHO_N "(cached) $ECHO_C" >&6
41195 else
41196 cat >conftest.$ac_ext <<_ACEOF
41197 /* confdefs.h. */
41198 _ACEOF
41199 cat confdefs.h >>conftest.$ac_ext
41200 cat >>conftest.$ac_ext <<_ACEOF
41201 /* end confdefs.h. */
41202 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41204 #define readdir_r innocuous_readdir_r
41205
41206 /* System header to define __stub macros and hopefully few prototypes,
41207 which can conflict with char readdir_r (); below.
41208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41209 <limits.h> exists even on freestanding compilers. */
41210
41211 #ifdef __STDC__
41212 # include <limits.h>
41213 #else
41214 # include <assert.h>
41215 #endif
41216
41217 #undef readdir_r
41218
41219 /* Override any gcc2 internal prototype to avoid an error. */
41220 #ifdef __cplusplus
41221 extern "C"
41222 {
41223 #endif
41224 /* We use char because int might match the return type of a gcc2
41225 builtin and then its argument prototype would still apply. */
41226 char readdir_r ();
41227 /* The GNU C library defines this for functions which it implements
41228 to always fail with ENOSYS. Some functions are actually named
41229 something starting with __ and the normal name is an alias. */
41230 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41231 choke me
41232 #else
41233 char (*f) () = readdir_r;
41234 #endif
41235 #ifdef __cplusplus
41236 }
41237 #endif
41238
41239 int
41240 main ()
41241 {
41242 return f != readdir_r;
41243 ;
41244 return 0;
41245 }
41246 _ACEOF
41247 rm -f conftest.$ac_objext conftest$ac_exeext
41248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41249 (eval $ac_link) 2>conftest.er1
41250 ac_status=$?
41251 grep -v '^ *+' conftest.er1 >conftest.err
41252 rm -f conftest.er1
41253 cat conftest.err >&5
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); } &&
41256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41258 (eval $ac_try) 2>&5
41259 ac_status=$?
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); }; } &&
41262 { ac_try='test -s conftest$ac_exeext'
41263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41264 (eval $ac_try) 2>&5
41265 ac_status=$?
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); }; }; then
41268 ac_cv_func_readdir_r=yes
41269 else
41270 echo "$as_me: failed program was:" >&5
41271 sed 's/^/| /' conftest.$ac_ext >&5
41272
41273 ac_cv_func_readdir_r=no
41274 fi
41275 rm -f conftest.err conftest.$ac_objext \
41276 conftest$ac_exeext conftest.$ac_ext
41277 fi
41278 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41279 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41280 if test $ac_cv_func_readdir_r = yes; then
41281 cat >>confdefs.h <<\_ACEOF
41282 #define HAVE_READDIR_R 1
41283 _ACEOF
41284
41285 fi
41286
41287
41288
41289
41290 ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41295
41296 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41297 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41298
41299 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41300 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 else
41302
41303
41304 ################################################################
41305
41306 ac_cv_func_which_gethostbyname_r=unknown
41307
41308 #
41309 # ONE ARGUMENT (sanity check)
41310 #
41311
41312 # This should fail, as there is no variant of gethostbyname_r() that takes
41313 # a single argument. If it actually compiles, then we can assume that
41314 # netdb.h is not declaring the function, and the compiler is thereby
41315 # assuming an implicit prototype. In which case, we're out of luck.
41316 #
41317 cat >conftest.$ac_ext <<_ACEOF
41318 /* confdefs.h. */
41319 _ACEOF
41320 cat confdefs.h >>conftest.$ac_ext
41321 cat >>conftest.$ac_ext <<_ACEOF
41322 /* end confdefs.h. */
41323 #include <netdb.h>
41324 int
41325 main ()
41326 {
41327
41328 char *name = "www.gnu.org";
41329 (void)gethostbyname_r(name) /* ; */
41330
41331 ;
41332 return 0;
41333 }
41334 _ACEOF
41335 rm -f conftest.$ac_objext
41336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41337 (eval $ac_compile) 2>conftest.er1
41338 ac_status=$?
41339 grep -v '^ *+' conftest.er1 >conftest.err
41340 rm -f conftest.er1
41341 cat conftest.err >&5
41342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41343 (exit $ac_status); } &&
41344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346 (eval $ac_try) 2>&5
41347 ac_status=$?
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); }; } &&
41350 { ac_try='test -s conftest.$ac_objext'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41353 ac_status=$?
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; }; then
41356 ac_cv_func_which_gethostbyname_r=no
41357 else
41358 echo "$as_me: failed program was:" >&5
41359 sed 's/^/| /' conftest.$ac_ext >&5
41360
41361 fi
41362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41363
41364 #
41365 # SIX ARGUMENTS
41366 # (e.g. Linux)
41367 #
41368
41369 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41370
41371 cat >conftest.$ac_ext <<_ACEOF
41372 /* confdefs.h. */
41373 _ACEOF
41374 cat confdefs.h >>conftest.$ac_ext
41375 cat >>conftest.$ac_ext <<_ACEOF
41376 /* end confdefs.h. */
41377 #include <netdb.h>
41378 int
41379 main ()
41380 {
41381
41382 char *name = "www.gnu.org";
41383 struct hostent ret, *retp;
41384 char buf[1024];
41385 int buflen = 1024;
41386 int my_h_errno;
41387 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41388
41389 ;
41390 return 0;
41391 }
41392 _ACEOF
41393 rm -f conftest.$ac_objext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41395 (eval $ac_compile) 2>conftest.er1
41396 ac_status=$?
41397 grep -v '^ *+' conftest.er1 >conftest.err
41398 rm -f conftest.er1
41399 cat conftest.err >&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41404 (eval $ac_try) 2>&5
41405 ac_status=$?
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); }; } &&
41408 { ac_try='test -s conftest.$ac_objext'
41409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41410 (eval $ac_try) 2>&5
41411 ac_status=$?
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); }; }; then
41414 ac_cv_func_which_gethostbyname_r=six
41415 else
41416 echo "$as_me: failed program was:" >&5
41417 sed 's/^/| /' conftest.$ac_ext >&5
41418
41419 fi
41420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41421
41422 fi
41423
41424 #
41425 # FIVE ARGUMENTS
41426 # (e.g. Solaris)
41427 #
41428
41429 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41430
41431 cat >conftest.$ac_ext <<_ACEOF
41432 /* confdefs.h. */
41433 _ACEOF
41434 cat confdefs.h >>conftest.$ac_ext
41435 cat >>conftest.$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41437 #include <netdb.h>
41438 int
41439 main ()
41440 {
41441
41442 char *name = "www.gnu.org";
41443 struct hostent ret;
41444 char buf[1024];
41445 int buflen = 1024;
41446 int my_h_errno;
41447 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41448
41449 ;
41450 return 0;
41451 }
41452 _ACEOF
41453 rm -f conftest.$ac_objext
41454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41455 (eval $ac_compile) 2>conftest.er1
41456 ac_status=$?
41457 grep -v '^ *+' conftest.er1 >conftest.err
41458 rm -f conftest.er1
41459 cat conftest.err >&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } &&
41462 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41464 (eval $ac_try) 2>&5
41465 ac_status=$?
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); }; } &&
41468 { ac_try='test -s conftest.$ac_objext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41471 ac_status=$?
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 ac_cv_func_which_gethostbyname_r=five
41475 else
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41478
41479 fi
41480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41481
41482 fi
41483
41484 #
41485 # THREE ARGUMENTS
41486 # (e.g. AIX, HP-UX, Tru64)
41487 #
41488
41489 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41490
41491 cat >conftest.$ac_ext <<_ACEOF
41492 /* confdefs.h. */
41493 _ACEOF
41494 cat confdefs.h >>conftest.$ac_ext
41495 cat >>conftest.$ac_ext <<_ACEOF
41496 /* end confdefs.h. */
41497 #include <netdb.h>
41498 int
41499 main ()
41500 {
41501
41502 char *name = "www.gnu.org";
41503 struct hostent ret;
41504 struct hostent_data data;
41505 (void)gethostbyname_r(name, &ret, &data) /* ; */
41506
41507 ;
41508 return 0;
41509 }
41510 _ACEOF
41511 rm -f conftest.$ac_objext
41512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41513 (eval $ac_compile) 2>conftest.er1
41514 ac_status=$?
41515 grep -v '^ *+' conftest.er1 >conftest.err
41516 rm -f conftest.er1
41517 cat conftest.err >&5
41518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41519 (exit $ac_status); } &&
41520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41522 (eval $ac_try) 2>&5
41523 ac_status=$?
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); }; } &&
41526 { ac_try='test -s conftest.$ac_objext'
41527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41528 (eval $ac_try) 2>&5
41529 ac_status=$?
41530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41531 (exit $ac_status); }; }; then
41532 ac_cv_func_which_gethostbyname_r=three
41533 else
41534 echo "$as_me: failed program was:" >&5
41535 sed 's/^/| /' conftest.$ac_ext >&5
41536
41537 fi
41538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41539
41540 fi
41541
41542 ################################################################
41543
41544
41545 fi
41546
41547 case "$ac_cv_func_which_gethostbyname_r" in
41548 three)
41549 echo "$as_me:$LINENO: result: three" >&5
41550 echo "${ECHO_T}three" >&6
41551 cat >>confdefs.h <<\_ACEOF
41552 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41553 _ACEOF
41554
41555 ;;
41556
41557 five)
41558 echo "$as_me:$LINENO: result: five" >&5
41559 echo "${ECHO_T}five" >&6
41560 cat >>confdefs.h <<\_ACEOF
41561 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41562 _ACEOF
41563
41564 ;;
41565
41566 six)
41567 echo "$as_me:$LINENO: result: six" >&5
41568 echo "${ECHO_T}six" >&6
41569 cat >>confdefs.h <<\_ACEOF
41570 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41571 _ACEOF
41572
41573 ;;
41574
41575 no)
41576 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41577 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41578 ;;
41579
41580 unknown)
41581 echo "$as_me:$LINENO: result: can't tell" >&5
41582 echo "${ECHO_T}can't tell" >&6
41583 ;;
41584
41585 *)
41586 { { echo "$as_me:$LINENO: error: internal error" >&5
41587 echo "$as_me: error: internal error" >&2;}
41588 { (exit 1); exit 1; }; }
41589 ;;
41590 esac
41591
41592 ac_ext=c
41593 ac_cpp='$CPP $CPPFLAGS'
41594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41597
41598
41599
41600 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41601 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41602 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41603 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41604 if test "${ac_cv_func_gethostbyname+set}" = set; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 else
41607 cat >conftest.$ac_ext <<_ACEOF
41608 /* confdefs.h. */
41609 _ACEOF
41610 cat confdefs.h >>conftest.$ac_ext
41611 cat >>conftest.$ac_ext <<_ACEOF
41612 /* end confdefs.h. */
41613 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41615 #define gethostbyname innocuous_gethostbyname
41616
41617 /* System header to define __stub macros and hopefully few prototypes,
41618 which can conflict with char gethostbyname (); below.
41619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41620 <limits.h> exists even on freestanding compilers. */
41621
41622 #ifdef __STDC__
41623 # include <limits.h>
41624 #else
41625 # include <assert.h>
41626 #endif
41627
41628 #undef gethostbyname
41629
41630 /* Override any gcc2 internal prototype to avoid an error. */
41631 #ifdef __cplusplus
41632 extern "C"
41633 {
41634 #endif
41635 /* We use char because int might match the return type of a gcc2
41636 builtin and then its argument prototype would still apply. */
41637 char gethostbyname ();
41638 /* The GNU C library defines this for functions which it implements
41639 to always fail with ENOSYS. Some functions are actually named
41640 something starting with __ and the normal name is an alias. */
41641 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41642 choke me
41643 #else
41644 char (*f) () = gethostbyname;
41645 #endif
41646 #ifdef __cplusplus
41647 }
41648 #endif
41649
41650 int
41651 main ()
41652 {
41653 return f != gethostbyname;
41654 ;
41655 return 0;
41656 }
41657 _ACEOF
41658 rm -f conftest.$ac_objext conftest$ac_exeext
41659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41660 (eval $ac_link) 2>conftest.er1
41661 ac_status=$?
41662 grep -v '^ *+' conftest.er1 >conftest.err
41663 rm -f conftest.er1
41664 cat conftest.err >&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); } &&
41667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41670 ac_status=$?
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; } &&
41673 { ac_try='test -s conftest$ac_exeext'
41674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41675 (eval $ac_try) 2>&5
41676 ac_status=$?
41677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41678 (exit $ac_status); }; }; then
41679 ac_cv_func_gethostbyname=yes
41680 else
41681 echo "$as_me: failed program was:" >&5
41682 sed 's/^/| /' conftest.$ac_ext >&5
41683
41684 ac_cv_func_gethostbyname=no
41685 fi
41686 rm -f conftest.err conftest.$ac_objext \
41687 conftest$ac_exeext conftest.$ac_ext
41688 fi
41689 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41690 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41691 if test $ac_cv_func_gethostbyname = yes; then
41692 cat >>confdefs.h <<\_ACEOF
41693 #define HAVE_GETHOSTBYNAME 1
41694 _ACEOF
41695
41696 fi
41697
41698 fi
41699
41700 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41701 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41702 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41703 echo $ECHO_N "(cached) $ECHO_C" >&6
41704 else
41705
41706 ac_ext=cc
41707 ac_cpp='$CXXCPP $CPPFLAGS'
41708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41711
41712
41713 cat >conftest.$ac_ext <<_ACEOF
41714 /* confdefs.h. */
41715 _ACEOF
41716 cat confdefs.h >>conftest.$ac_ext
41717 cat >>conftest.$ac_ext <<_ACEOF
41718 /* end confdefs.h. */
41719 #include <netdb.h>
41720 int
41721 main ()
41722 {
41723
41724 char *name;
41725 char *proto;
41726 struct servent *se, *res;
41727 char buffer[2048];
41728 int buflen = 2048;
41729 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41730
41731 ;
41732 return 0;
41733 }
41734 _ACEOF
41735 rm -f conftest.$ac_objext
41736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41737 (eval $ac_compile) 2>conftest.er1
41738 ac_status=$?
41739 grep -v '^ *+' conftest.er1 >conftest.err
41740 rm -f conftest.er1
41741 cat conftest.err >&5
41742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41743 (exit $ac_status); } &&
41744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41746 (eval $ac_try) 2>&5
41747 ac_status=$?
41748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41749 (exit $ac_status); }; } &&
41750 { ac_try='test -s conftest.$ac_objext'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41753 ac_status=$?
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; }; then
41756 ac_cv_func_which_getservbyname_r=six
41757 else
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.$ac_ext >&5
41760
41761
41762 cat >conftest.$ac_ext <<_ACEOF
41763 /* confdefs.h. */
41764 _ACEOF
41765 cat confdefs.h >>conftest.$ac_ext
41766 cat >>conftest.$ac_ext <<_ACEOF
41767 /* end confdefs.h. */
41768 #include <netdb.h>
41769 int
41770 main ()
41771 {
41772
41773 char *name;
41774 char *proto;
41775 struct servent *se;
41776 char buffer[2048];
41777 int buflen = 2048;
41778 (void) getservbyname_r(name, proto, se, buffer, buflen)
41779
41780 ;
41781 return 0;
41782 }
41783 _ACEOF
41784 rm -f conftest.$ac_objext
41785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41786 (eval $ac_compile) 2>conftest.er1
41787 ac_status=$?
41788 grep -v '^ *+' conftest.er1 >conftest.err
41789 rm -f conftest.er1
41790 cat conftest.err >&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } &&
41793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41795 (eval $ac_try) 2>&5
41796 ac_status=$?
41797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41798 (exit $ac_status); }; } &&
41799 { ac_try='test -s conftest.$ac_objext'
41800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41801 (eval $ac_try) 2>&5
41802 ac_status=$?
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); }; }; then
41805 ac_cv_func_which_getservbyname_r=five
41806 else
41807 echo "$as_me: failed program was:" >&5
41808 sed 's/^/| /' conftest.$ac_ext >&5
41809
41810
41811 cat >conftest.$ac_ext <<_ACEOF
41812 /* confdefs.h. */
41813 _ACEOF
41814 cat confdefs.h >>conftest.$ac_ext
41815 cat >>conftest.$ac_ext <<_ACEOF
41816 /* end confdefs.h. */
41817 #include <netdb.h>
41818 int
41819 main ()
41820 {
41821
41822 char *name;
41823 char *proto;
41824 struct servent *se;
41825 struct servent_data data;
41826 (void) getservbyname_r(name, proto, se, &data);
41827
41828 ;
41829 return 0;
41830 }
41831 _ACEOF
41832 rm -f conftest.$ac_objext
41833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41834 (eval $ac_compile) 2>conftest.er1
41835 ac_status=$?
41836 grep -v '^ *+' conftest.er1 >conftest.err
41837 rm -f conftest.er1
41838 cat conftest.err >&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } &&
41841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41844 ac_status=$?
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try='test -s conftest.$ac_objext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41850 ac_status=$?
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41853 ac_cv_func_which_getservbyname_r=four
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41857
41858 ac_cv_func_which_getservbyname_r=no
41859
41860 fi
41861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41862
41863
41864 fi
41865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41866
41867
41868 fi
41869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41870 ac_ext=c
41871 ac_cpp='$CPP $CPPFLAGS'
41872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41875
41876
41877
41878 fi
41879 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41880 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41881
41882 if test $ac_cv_func_which_getservbyname_r = six; then
41883 cat >>confdefs.h <<\_ACEOF
41884 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41885 _ACEOF
41886
41887 elif test $ac_cv_func_which_getservbyname_r = five; then
41888 cat >>confdefs.h <<\_ACEOF
41889 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41890 _ACEOF
41891
41892 elif test $ac_cv_func_which_getservbyname_r = four; then
41893 cat >>confdefs.h <<\_ACEOF
41894 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41895 _ACEOF
41896
41897 fi
41898
41899
41900 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41901 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41902
41903 for ac_func in getservbyname
41904 do
41905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41906 echo "$as_me:$LINENO: checking for $ac_func" >&5
41907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41908 if eval "test \"\${$as_ac_var+set}\" = set"; then
41909 echo $ECHO_N "(cached) $ECHO_C" >&6
41910 else
41911 cat >conftest.$ac_ext <<_ACEOF
41912 /* confdefs.h. */
41913 _ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41919 #define $ac_func innocuous_$ac_func
41920
41921 /* System header to define __stub macros and hopefully few prototypes,
41922 which can conflict with char $ac_func (); below.
41923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924 <limits.h> exists even on freestanding compilers. */
41925
41926 #ifdef __STDC__
41927 # include <limits.h>
41928 #else
41929 # include <assert.h>
41930 #endif
41931
41932 #undef $ac_func
41933
41934 /* Override any gcc2 internal prototype to avoid an error. */
41935 #ifdef __cplusplus
41936 extern "C"
41937 {
41938 #endif
41939 /* We use char because int might match the return type of a gcc2
41940 builtin and then its argument prototype would still apply. */
41941 char $ac_func ();
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41946 choke me
41947 #else
41948 char (*f) () = $ac_func;
41949 #endif
41950 #ifdef __cplusplus
41951 }
41952 #endif
41953
41954 int
41955 main ()
41956 {
41957 return f != $ac_func;
41958 ;
41959 return 0;
41960 }
41961 _ACEOF
41962 rm -f conftest.$ac_objext conftest$ac_exeext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964 (eval $ac_link) 2>conftest.er1
41965 ac_status=$?
41966 grep -v '^ *+' conftest.er1 >conftest.err
41967 rm -f conftest.er1
41968 cat conftest.err >&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41974 ac_status=$?
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; } &&
41977 { ac_try='test -s conftest$ac_exeext'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41980 ac_status=$?
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; }; then
41983 eval "$as_ac_var=yes"
41984 else
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41987
41988 eval "$as_ac_var=no"
41989 fi
41990 rm -f conftest.err conftest.$ac_objext \
41991 conftest$ac_exeext conftest.$ac_ext
41992 fi
41993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41995 if test `eval echo '${'$as_ac_var'}'` = yes; then
41996 cat >>confdefs.h <<_ACEOF
41997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41998 _ACEOF
41999 cat >>confdefs.h <<\_ACEOF
42000 #define HAVE_GETSERVBYNAME 1
42001 _ACEOF
42002
42003 fi
42004 done
42005
42006 fi
42007
42008 if test "$wxUSE_THREADS" = "yes"; then
42009 cat >>confdefs.h <<\_ACEOF
42010 #define wxUSE_THREADS 1
42011 _ACEOF
42012
42013
42014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42015 else
42016 if test "$wx_cv_func_strtok_r" = "yes"; then
42017 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42018 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42019 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42020 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42021 echo "$as_me:$LINENO: result: yes" >&5
42022 echo "${ECHO_T}yes" >&6
42023 else
42024 echo "$as_me:$LINENO: result: no" >&5
42025 echo "${ECHO_T}no" >&6
42026 fi
42027 fi
42028 fi
42029
42030 if test "$WXGTK20" = 1 ; then
42031 cat >>confdefs.h <<_ACEOF
42032 #define __WXGTK20__ $WXGTK20
42033 _ACEOF
42034
42035 WXGTK12=1
42036 fi
42037
42038 if test "$WXGTK12" = 1 ; then
42039 cat >>confdefs.h <<_ACEOF
42040 #define __WXGTK12__ $WXGTK12
42041 _ACEOF
42042
42043 fi
42044
42045 if test "$WXGTK127" = 1 ; then
42046 cat >>confdefs.h <<_ACEOF
42047 #define __WXGTK127__ $WXGTK127
42048 _ACEOF
42049
42050 fi
42051
42052 if test "$WXGPE" = 1 ; then
42053 cat >>confdefs.h <<_ACEOF
42054 #define __WXGPE__ $WXGPE
42055 _ACEOF
42056
42057 fi
42058
42059 DEBUG_CFLAGS=
42060 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42061 DEBUG_CFLAGS="-g"
42062 wxUSE_OPTIMISE=no
42063 fi
42064
42065 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42066 wxUSE_DEBUG_INFO=yes
42067 if test "$GCC" = yes; then
42068 DEBUG_CFLAGS="-ggdb"
42069 fi
42070 fi
42071
42072 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42073 cat >>confdefs.h <<\_ACEOF
42074 #define WXDEBUG 1
42075 _ACEOF
42076
42077 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42078 else
42079 if test "$wxUSE_GTK" = 1 ; then
42080 if test "x$wxGTK_VERSION" = "x1" ; then
42081 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42082 fi
42083 fi
42084 fi
42085
42086 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42087 cat >>confdefs.h <<\_ACEOF
42088 #define wxUSE_MEMORY_TRACING 1
42089 _ACEOF
42090
42091 cat >>confdefs.h <<\_ACEOF
42092 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42093 _ACEOF
42094
42095 cat >>confdefs.h <<\_ACEOF
42096 #define wxUSE_DEBUG_NEW_ALWAYS 1
42097 _ACEOF
42098
42099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42100 fi
42101
42102 if test "$wxUSE_DMALLOC" = "yes" ; then
42103 DMALLOC_LIBS="-ldmallocthcxx"
42104 fi
42105
42106 PROFILE_FLAGS=
42107 if test "$wxUSE_PROFILE" = "yes" ; then
42108 PROFILE_FLAGS=" -pg"
42109 fi
42110
42111 if test "$GCC" = "yes" ; then
42112 if test "$wxUSE_NO_RTTI" = "yes" ; then
42113 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42114 fi
42115 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42116 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42117 fi
42118 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42119 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42120 fi
42121
42122 case "${host}" in
42123 powerpc*-*-aix* )
42124 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42125 ;;
42126 *-hppa* )
42127 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42128 ;;
42129 esac
42130 fi
42131
42132 OPTIMISE_CFLAGS=
42133 if test "$wxUSE_OPTIMISE" = "no" ; then
42134 if test "$GCC" = yes ; then
42135 OPTIMISE_CFLAGS="-O0"
42136 fi
42137 else
42138 if test "$GCC" = yes ; then
42139 case "${host}" in
42140 *-pc-os2_emx | *-pc-os2-emx )
42141 OPTIMISE_CFLAGS="-O2"
42142 ;;
42143 *)
42144 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42145 ;;
42146 esac
42147 else
42148 OPTIMISE_CFLAGS="-O"
42149 fi
42150 fi
42151
42152
42153 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42154 cat >>confdefs.h <<\_ACEOF
42155 #define WXWIN_COMPATIBILITY_2_4 1
42156 _ACEOF
42157
42158
42159 WXWIN_COMPATIBILITY_2_6="yes"
42160 fi
42161
42162 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define WXWIN_COMPATIBILITY_2_6 1
42165 _ACEOF
42166
42167 fi
42168
42169
42170 if test "$wxUSE_GUI" = "yes"; then
42171 cat >>confdefs.h <<\_ACEOF
42172 #define wxUSE_GUI 1
42173 _ACEOF
42174
42175
42176 fi
42177
42178
42179 if test "$wxUSE_UNIX" = "yes"; then
42180 cat >>confdefs.h <<\_ACEOF
42181 #define wxUSE_UNIX 1
42182 _ACEOF
42183
42184 fi
42185
42186
42187 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42188
42189 HAVE_DL_FUNCS=0
42190 HAVE_SHL_FUNCS=0
42191 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42192 if test "$USE_DARWIN" = 1; then
42193 HAVE_DL_FUNCS=1
42194 elif test "$USE_DOS" = 1; then
42195 HAVE_DL_FUNCS=0
42196 else
42197
42198 for ac_func in dlopen
42199 do
42200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42201 echo "$as_me:$LINENO: checking for $ac_func" >&5
42202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42203 if eval "test \"\${$as_ac_var+set}\" = set"; then
42204 echo $ECHO_N "(cached) $ECHO_C" >&6
42205 else
42206 cat >conftest.$ac_ext <<_ACEOF
42207 /* confdefs.h. */
42208 _ACEOF
42209 cat confdefs.h >>conftest.$ac_ext
42210 cat >>conftest.$ac_ext <<_ACEOF
42211 /* end confdefs.h. */
42212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42214 #define $ac_func innocuous_$ac_func
42215
42216 /* System header to define __stub macros and hopefully few prototypes,
42217 which can conflict with char $ac_func (); below.
42218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42219 <limits.h> exists even on freestanding compilers. */
42220
42221 #ifdef __STDC__
42222 # include <limits.h>
42223 #else
42224 # include <assert.h>
42225 #endif
42226
42227 #undef $ac_func
42228
42229 /* Override any gcc2 internal prototype to avoid an error. */
42230 #ifdef __cplusplus
42231 extern "C"
42232 {
42233 #endif
42234 /* We use char because int might match the return type of a gcc2
42235 builtin and then its argument prototype would still apply. */
42236 char $ac_func ();
42237 /* The GNU C library defines this for functions which it implements
42238 to always fail with ENOSYS. Some functions are actually named
42239 something starting with __ and the normal name is an alias. */
42240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42241 choke me
42242 #else
42243 char (*f) () = $ac_func;
42244 #endif
42245 #ifdef __cplusplus
42246 }
42247 #endif
42248
42249 int
42250 main ()
42251 {
42252 return f != $ac_func;
42253 ;
42254 return 0;
42255 }
42256 _ACEOF
42257 rm -f conftest.$ac_objext conftest$ac_exeext
42258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42259 (eval $ac_link) 2>conftest.er1
42260 ac_status=$?
42261 grep -v '^ *+' conftest.er1 >conftest.err
42262 rm -f conftest.er1
42263 cat conftest.err >&5
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); } &&
42266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268 (eval $ac_try) 2>&5
42269 ac_status=$?
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); }; } &&
42272 { ac_try='test -s conftest$ac_exeext'
42273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42274 (eval $ac_try) 2>&5
42275 ac_status=$?
42276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42277 (exit $ac_status); }; }; then
42278 eval "$as_ac_var=yes"
42279 else
42280 echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.$ac_ext >&5
42282
42283 eval "$as_ac_var=no"
42284 fi
42285 rm -f conftest.err conftest.$ac_objext \
42286 conftest$ac_exeext conftest.$ac_ext
42287 fi
42288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42290 if test `eval echo '${'$as_ac_var'}'` = yes; then
42291 cat >>confdefs.h <<_ACEOF
42292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42293 _ACEOF
42294
42295 cat >>confdefs.h <<\_ACEOF
42296 #define HAVE_DLOPEN 1
42297 _ACEOF
42298
42299 HAVE_DL_FUNCS=1
42300
42301 else
42302
42303 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42304 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42305 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42306 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 else
42308 ac_check_lib_save_LIBS=$LIBS
42309 LIBS="-ldl $LIBS"
42310 cat >conftest.$ac_ext <<_ACEOF
42311 /* confdefs.h. */
42312 _ACEOF
42313 cat confdefs.h >>conftest.$ac_ext
42314 cat >>conftest.$ac_ext <<_ACEOF
42315 /* end confdefs.h. */
42316
42317 /* Override any gcc2 internal prototype to avoid an error. */
42318 #ifdef __cplusplus
42319 extern "C"
42320 #endif
42321 /* We use char because int might match the return type of a gcc2
42322 builtin and then its argument prototype would still apply. */
42323 char dlopen ();
42324 int
42325 main ()
42326 {
42327 dlopen ();
42328 ;
42329 return 0;
42330 }
42331 _ACEOF
42332 rm -f conftest.$ac_objext conftest$ac_exeext
42333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42334 (eval $ac_link) 2>conftest.er1
42335 ac_status=$?
42336 grep -v '^ *+' conftest.er1 >conftest.err
42337 rm -f conftest.er1
42338 cat conftest.err >&5
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); } &&
42341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42344 ac_status=$?
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; } &&
42347 { ac_try='test -s conftest$ac_exeext'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42350 ac_status=$?
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; }; then
42353 ac_cv_lib_dl_dlopen=yes
42354 else
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.$ac_ext >&5
42357
42358 ac_cv_lib_dl_dlopen=no
42359 fi
42360 rm -f conftest.err conftest.$ac_objext \
42361 conftest$ac_exeext conftest.$ac_ext
42362 LIBS=$ac_check_lib_save_LIBS
42363 fi
42364 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42365 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42366 if test $ac_cv_lib_dl_dlopen = yes; then
42367
42368 cat >>confdefs.h <<\_ACEOF
42369 #define HAVE_DLOPEN 1
42370 _ACEOF
42371
42372 HAVE_DL_FUNCS=1
42373 DL_LINK=" -ldl$DL_LINK"
42374
42375 else
42376
42377
42378 for ac_func in shl_load
42379 do
42380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42381 echo "$as_me:$LINENO: checking for $ac_func" >&5
42382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42383 if eval "test \"\${$as_ac_var+set}\" = set"; then
42384 echo $ECHO_N "(cached) $ECHO_C" >&6
42385 else
42386 cat >conftest.$ac_ext <<_ACEOF
42387 /* confdefs.h. */
42388 _ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42394 #define $ac_func innocuous_$ac_func
42395
42396 /* System header to define __stub macros and hopefully few prototypes,
42397 which can conflict with char $ac_func (); below.
42398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42399 <limits.h> exists even on freestanding compilers. */
42400
42401 #ifdef __STDC__
42402 # include <limits.h>
42403 #else
42404 # include <assert.h>
42405 #endif
42406
42407 #undef $ac_func
42408
42409 /* Override any gcc2 internal prototype to avoid an error. */
42410 #ifdef __cplusplus
42411 extern "C"
42412 {
42413 #endif
42414 /* We use char because int might match the return type of a gcc2
42415 builtin and then its argument prototype would still apply. */
42416 char $ac_func ();
42417 /* The GNU C library defines this for functions which it implements
42418 to always fail with ENOSYS. Some functions are actually named
42419 something starting with __ and the normal name is an alias. */
42420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42421 choke me
42422 #else
42423 char (*f) () = $ac_func;
42424 #endif
42425 #ifdef __cplusplus
42426 }
42427 #endif
42428
42429 int
42430 main ()
42431 {
42432 return f != $ac_func;
42433 ;
42434 return 0;
42435 }
42436 _ACEOF
42437 rm -f conftest.$ac_objext conftest$ac_exeext
42438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42439 (eval $ac_link) 2>conftest.er1
42440 ac_status=$?
42441 grep -v '^ *+' conftest.er1 >conftest.err
42442 rm -f conftest.er1
42443 cat conftest.err >&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); } &&
42446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42448 (eval $ac_try) 2>&5
42449 ac_status=$?
42450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451 (exit $ac_status); }; } &&
42452 { ac_try='test -s conftest$ac_exeext'
42453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42454 (eval $ac_try) 2>&5
42455 ac_status=$?
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); }; }; then
42458 eval "$as_ac_var=yes"
42459 else
42460 echo "$as_me: failed program was:" >&5
42461 sed 's/^/| /' conftest.$ac_ext >&5
42462
42463 eval "$as_ac_var=no"
42464 fi
42465 rm -f conftest.err conftest.$ac_objext \
42466 conftest$ac_exeext conftest.$ac_ext
42467 fi
42468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42470 if test `eval echo '${'$as_ac_var'}'` = yes; then
42471 cat >>confdefs.h <<_ACEOF
42472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42473 _ACEOF
42474
42475 cat >>confdefs.h <<\_ACEOF
42476 #define HAVE_SHL_LOAD 1
42477 _ACEOF
42478
42479 HAVE_SHL_FUNCS=1
42480
42481 else
42482
42483 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42484 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42485 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42486 echo $ECHO_N "(cached) $ECHO_C" >&6
42487 else
42488 ac_check_lib_save_LIBS=$LIBS
42489 LIBS="-lshl_load $LIBS"
42490 cat >conftest.$ac_ext <<_ACEOF
42491 /* confdefs.h. */
42492 _ACEOF
42493 cat confdefs.h >>conftest.$ac_ext
42494 cat >>conftest.$ac_ext <<_ACEOF
42495 /* end confdefs.h. */
42496
42497 /* Override any gcc2 internal prototype to avoid an error. */
42498 #ifdef __cplusplus
42499 extern "C"
42500 #endif
42501 /* We use char because int might match the return type of a gcc2
42502 builtin and then its argument prototype would still apply. */
42503 char dld ();
42504 int
42505 main ()
42506 {
42507 dld ();
42508 ;
42509 return 0;
42510 }
42511 _ACEOF
42512 rm -f conftest.$ac_objext conftest$ac_exeext
42513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42514 (eval $ac_link) 2>conftest.er1
42515 ac_status=$?
42516 grep -v '^ *+' conftest.er1 >conftest.err
42517 rm -f conftest.er1
42518 cat conftest.err >&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } &&
42521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42524 ac_status=$?
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; } &&
42527 { ac_try='test -s conftest$ac_exeext'
42528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529 (eval $ac_try) 2>&5
42530 ac_status=$?
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); }; }; then
42533 ac_cv_lib_shl_load_dld=yes
42534 else
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42537
42538 ac_cv_lib_shl_load_dld=no
42539 fi
42540 rm -f conftest.err conftest.$ac_objext \
42541 conftest$ac_exeext conftest.$ac_ext
42542 LIBS=$ac_check_lib_save_LIBS
42543 fi
42544 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42545 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42546 if test $ac_cv_lib_shl_load_dld = yes; then
42547
42548 HAVE_SHL_FUNCS=1
42549 DL_LINK=" -ldld$DL_LINK"
42550
42551 fi
42552
42553
42554 fi
42555 done
42556
42557
42558 fi
42559
42560
42561 fi
42562 done
42563
42564
42565 if test "$HAVE_DL_FUNCS" = 1; then
42566
42567 for ac_func in dlerror
42568 do
42569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42570 echo "$as_me:$LINENO: checking for $ac_func" >&5
42571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42572 if eval "test \"\${$as_ac_var+set}\" = set"; then
42573 echo $ECHO_N "(cached) $ECHO_C" >&6
42574 else
42575 cat >conftest.$ac_ext <<_ACEOF
42576 /* confdefs.h. */
42577 _ACEOF
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42583 #define $ac_func innocuous_$ac_func
42584
42585 /* System header to define __stub macros and hopefully few prototypes,
42586 which can conflict with char $ac_func (); below.
42587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42588 <limits.h> exists even on freestanding compilers. */
42589
42590 #ifdef __STDC__
42591 # include <limits.h>
42592 #else
42593 # include <assert.h>
42594 #endif
42595
42596 #undef $ac_func
42597
42598 /* Override any gcc2 internal prototype to avoid an error. */
42599 #ifdef __cplusplus
42600 extern "C"
42601 {
42602 #endif
42603 /* We use char because int might match the return type of a gcc2
42604 builtin and then its argument prototype would still apply. */
42605 char $ac_func ();
42606 /* The GNU C library defines this for functions which it implements
42607 to always fail with ENOSYS. Some functions are actually named
42608 something starting with __ and the normal name is an alias. */
42609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42610 choke me
42611 #else
42612 char (*f) () = $ac_func;
42613 #endif
42614 #ifdef __cplusplus
42615 }
42616 #endif
42617
42618 int
42619 main ()
42620 {
42621 return f != $ac_func;
42622 ;
42623 return 0;
42624 }
42625 _ACEOF
42626 rm -f conftest.$ac_objext conftest$ac_exeext
42627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42628 (eval $ac_link) 2>conftest.er1
42629 ac_status=$?
42630 grep -v '^ *+' conftest.er1 >conftest.err
42631 rm -f conftest.er1
42632 cat conftest.err >&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } &&
42635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42638 ac_status=$?
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; } &&
42641 { ac_try='test -s conftest$ac_exeext'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42644 ac_status=$?
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; }; then
42647 eval "$as_ac_var=yes"
42648 else
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.$ac_ext >&5
42651
42652 eval "$as_ac_var=no"
42653 fi
42654 rm -f conftest.err conftest.$ac_objext \
42655 conftest$ac_exeext conftest.$ac_ext
42656 fi
42657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42659 if test `eval echo '${'$as_ac_var'}'` = yes; then
42660 cat >>confdefs.h <<_ACEOF
42661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42662 _ACEOF
42663 cat >>confdefs.h <<\_ACEOF
42664 #define HAVE_DLERROR 1
42665 _ACEOF
42666
42667 else
42668
42669 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42670 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42671 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42672 echo $ECHO_N "(cached) $ECHO_C" >&6
42673 else
42674 ac_check_lib_save_LIBS=$LIBS
42675 LIBS="-ldl $LIBS"
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682
42683 /* Override any gcc2 internal prototype to avoid an error. */
42684 #ifdef __cplusplus
42685 extern "C"
42686 #endif
42687 /* We use char because int might match the return type of a gcc2
42688 builtin and then its argument prototype would still apply. */
42689 char dlerror ();
42690 int
42691 main ()
42692 {
42693 dlerror ();
42694 ;
42695 return 0;
42696 }
42697 _ACEOF
42698 rm -f conftest.$ac_objext conftest$ac_exeext
42699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42700 (eval $ac_link) 2>conftest.er1
42701 ac_status=$?
42702 grep -v '^ *+' conftest.er1 >conftest.err
42703 rm -f conftest.er1
42704 cat conftest.err >&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); } &&
42707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709 (eval $ac_try) 2>&5
42710 ac_status=$?
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); }; } &&
42713 { ac_try='test -s conftest$ac_exeext'
42714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42715 (eval $ac_try) 2>&5
42716 ac_status=$?
42717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42718 (exit $ac_status); }; }; then
42719 ac_cv_lib_dl_dlerror=yes
42720 else
42721 echo "$as_me: failed program was:" >&5
42722 sed 's/^/| /' conftest.$ac_ext >&5
42723
42724 ac_cv_lib_dl_dlerror=no
42725 fi
42726 rm -f conftest.err conftest.$ac_objext \
42727 conftest$ac_exeext conftest.$ac_ext
42728 LIBS=$ac_check_lib_save_LIBS
42729 fi
42730 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42731 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42732 if test $ac_cv_lib_dl_dlerror = yes; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define HAVE_DLERROR 1
42735 _ACEOF
42736
42737 fi
42738
42739
42740
42741 fi
42742 done
42743
42744 fi
42745 fi
42746
42747 if test "$HAVE_DL_FUNCS" = 0; then
42748 if test "$HAVE_SHL_FUNCS" = 0; then
42749 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42750 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42751 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42752 wxUSE_DYNAMIC_LOADER=no
42753 wxUSE_DYNLIB_CLASS=no
42754 else
42755 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42756 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42757 fi
42758 fi
42759 fi
42760 fi
42761 fi
42762
42763 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42764 cat >>confdefs.h <<\_ACEOF
42765 #define wxUSE_DYNAMIC_LOADER 1
42766 _ACEOF
42767
42768 fi
42769 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42770 cat >>confdefs.h <<\_ACEOF
42771 #define wxUSE_DYNLIB_CLASS 1
42772 _ACEOF
42773
42774 fi
42775
42776
42777
42778 if test "$wxUSE_PLUGINS" = "yes" ; then
42779 if test "$wxUSE_SHARED" = "no" ; then
42780 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42781 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42782 wxUSE_PLUGINS=no
42783 fi
42784 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42785 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42786 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42787 wxUSE_PLUGINS=no
42788 fi
42789 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42790 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42791 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42792 wxUSE_PLUGINS=no
42793 fi
42794 if test "$wxUSE_PLUGINS" = "yes" ; then
42795 cat >>confdefs.h <<\_ACEOF
42796 #define wxUSE_PLUGINS 1
42797 _ACEOF
42798
42799 fi
42800 fi
42801
42802
42803 if test "$wxUSE_STL" = "yes"; then
42804 cat >>confdefs.h <<\_ACEOF
42805 #define wxUSE_STL 1
42806 _ACEOF
42807
42808 fi
42809
42810 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42811 cat >>confdefs.h <<\_ACEOF
42812 #define wxUSE_APPLE_IEEE 1
42813 _ACEOF
42814
42815 fi
42816
42817 if test "$wxUSE_TIMER" = "yes"; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define wxUSE_TIMER 1
42820 _ACEOF
42821
42822 fi
42823
42824 if test "$USE_UNIX" = "1" ; then
42825 if test "$wxUSE_MGL" != 1; then
42826 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42827 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42828 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42829 echo $ECHO_N "(cached) $ECHO_C" >&6
42830 else
42831
42832 cat >conftest.$ac_ext <<_ACEOF
42833 /* confdefs.h. */
42834 _ACEOF
42835 cat confdefs.h >>conftest.$ac_ext
42836 cat >>conftest.$ac_ext <<_ACEOF
42837 /* end confdefs.h. */
42838
42839 #include <sys/ioctl.h>
42840 #include <sys/soundcard.h>
42841
42842 int
42843 main ()
42844 {
42845
42846 ioctl(0, SNDCTL_DSP_SPEED, 0);
42847
42848 ;
42849 return 0;
42850 }
42851 _ACEOF
42852 rm -f conftest.$ac_objext conftest$ac_exeext
42853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42854 (eval $ac_link) 2>conftest.er1
42855 ac_status=$?
42856 grep -v '^ *+' conftest.er1 >conftest.err
42857 rm -f conftest.er1
42858 cat conftest.err >&5
42859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42860 (exit $ac_status); } &&
42861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42863 (eval $ac_try) 2>&5
42864 ac_status=$?
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; } &&
42867 { ac_try='test -s conftest$ac_exeext'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42870 ac_status=$?
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; }; then
42873 ac_cv_header_sys_soundcard=yes
42874 else
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.$ac_ext >&5
42877
42878
42879 saveLibs="$LIBS"
42880 LIBS="$saveLibs -lossaudio"
42881 cat >conftest.$ac_ext <<_ACEOF
42882 /* confdefs.h. */
42883 _ACEOF
42884 cat confdefs.h >>conftest.$ac_ext
42885 cat >>conftest.$ac_ext <<_ACEOF
42886 /* end confdefs.h. */
42887
42888 #include <sys/ioctl.h>
42889 #include <sys/soundcard.h>
42890
42891 int
42892 main ()
42893 {
42894
42895 ioctl(0, SNDCTL_DSP_SPEED, 0);
42896
42897 ;
42898 return 0;
42899 }
42900 _ACEOF
42901 rm -f conftest.$ac_objext conftest$ac_exeext
42902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42903 (eval $ac_link) 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } &&
42910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42912 (eval $ac_try) 2>&5
42913 ac_status=$?
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); }; } &&
42916 { ac_try='test -s conftest$ac_exeext'
42917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42918 (eval $ac_try) 2>&5
42919 ac_status=$?
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); }; }; then
42922 ac_cv_header_sys_soundcard=yes
42923 else
42924 echo "$as_me: failed program was:" >&5
42925 sed 's/^/| /' conftest.$ac_ext >&5
42926
42927
42928 LIBS="$saveLibs"
42929 ac_cv_header_sys_soundcard=no
42930
42931
42932 fi
42933 rm -f conftest.err conftest.$ac_objext \
42934 conftest$ac_exeext conftest.$ac_ext
42935
42936
42937 fi
42938 rm -f conftest.err conftest.$ac_objext \
42939 conftest$ac_exeext conftest.$ac_ext
42940
42941 fi
42942 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42943 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42944 fi
42945
42946 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42947 cat >>confdefs.h <<\_ACEOF
42948 #define HAVE_SYS_SOUNDCARD_H 1
42949 _ACEOF
42950
42951 else
42952 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42953 fi
42954 fi
42955
42956 WITH_PLUGIN_SDL=0
42957 if test "$wxUSE_SOUND" = "yes"; then
42958 if test "$USE_UNIX" = "1" ; then
42959 if test "$wxUSE_LIBSDL" != "no"; then
42960
42961 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42962 if test "${with_sdl_prefix+set}" = set; then
42963 withval="$with_sdl_prefix"
42964 sdl_prefix="$withval"
42965 else
42966 sdl_prefix=""
42967 fi;
42968
42969 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42970 if test "${with_sdl_exec_prefix+set}" = set; then
42971 withval="$with_sdl_exec_prefix"
42972 sdl_exec_prefix="$withval"
42973 else
42974 sdl_exec_prefix=""
42975 fi;
42976 # Check whether --enable-sdltest or --disable-sdltest was given.
42977 if test "${enable_sdltest+set}" = set; then
42978 enableval="$enable_sdltest"
42979
42980 else
42981 enable_sdltest=yes
42982 fi;
42983
42984 if test x$sdl_exec_prefix != x ; then
42985 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42986 if test x${SDL_CONFIG+set} != xset ; then
42987 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42988 fi
42989 fi
42990 if test x$sdl_prefix != x ; then
42991 sdl_args="$sdl_args --prefix=$sdl_prefix"
42992 if test x${SDL_CONFIG+set} != xset ; then
42993 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42994 fi
42995 fi
42996
42997 if test "x$prefix" != xNONE; then
42998 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42999 fi
43000 # Extract the first word of "sdl-config", so it can be a program name with args.
43001 set dummy sdl-config; ac_word=$2
43002 echo "$as_me:$LINENO: checking for $ac_word" >&5
43003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43004 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43005 echo $ECHO_N "(cached) $ECHO_C" >&6
43006 else
43007 case $SDL_CONFIG in
43008 [\\/]* | ?:[\\/]*)
43009 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43010 ;;
43011 *)
43012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43013 for as_dir in $PATH
43014 do
43015 IFS=$as_save_IFS
43016 test -z "$as_dir" && as_dir=.
43017 for ac_exec_ext in '' $ac_executable_extensions; do
43018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43019 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43021 break 2
43022 fi
43023 done
43024 done
43025
43026 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43027 ;;
43028 esac
43029 fi
43030 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43031
43032 if test -n "$SDL_CONFIG"; then
43033 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43034 echo "${ECHO_T}$SDL_CONFIG" >&6
43035 else
43036 echo "$as_me:$LINENO: result: no" >&5
43037 echo "${ECHO_T}no" >&6
43038 fi
43039
43040 min_sdl_version=1.2.0
43041 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43042 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43043 no_sdl=""
43044 if test "$SDL_CONFIG" = "no" ; then
43045 no_sdl=yes
43046 else
43047 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43048 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43049
43050 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43052 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43054 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43056 if test "x$enable_sdltest" = "xyes" ; then
43057 ac_save_CFLAGS="$CFLAGS"
43058 ac_save_CXXFLAGS="$CXXFLAGS"
43059 ac_save_LIBS="$LIBS"
43060 CFLAGS="$CFLAGS $SDL_CFLAGS"
43061 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43062 LIBS="$LIBS $SDL_LIBS"
43063 rm -f conf.sdltest
43064 if test "$cross_compiling" = yes; then
43065 echo $ac_n "cross compiling; assumed OK... $ac_c"
43066 else
43067 cat >conftest.$ac_ext <<_ACEOF
43068 /* confdefs.h. */
43069 _ACEOF
43070 cat confdefs.h >>conftest.$ac_ext
43071 cat >>conftest.$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43073
43074 #include <stdio.h>
43075 #include <stdlib.h>
43076 #include <string.h>
43077 #include "SDL.h"
43078
43079 char*
43080 my_strdup (char *str)
43081 {
43082 char *new_str;
43083
43084 if (str)
43085 {
43086 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43087 strcpy (new_str, str);
43088 }
43089 else
43090 new_str = NULL;
43091
43092 return new_str;
43093 }
43094
43095 int main (int argc, char *argv[])
43096 {
43097 int major, minor, micro;
43098 char *tmp_version;
43099
43100 /* This hangs on some systems (?)
43101 system ("touch conf.sdltest");
43102 */
43103 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43104
43105 /* HP/UX 9 (%@#!) writes to sscanf strings */
43106 tmp_version = my_strdup("$min_sdl_version");
43107 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43108 printf("%s, bad version string\n", "$min_sdl_version");
43109 exit(1);
43110 }
43111
43112 if (($sdl_major_version > major) ||
43113 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43114 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43115 {
43116 return 0;
43117 }
43118 else
43119 {
43120 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43121 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43122 printf("*** best to upgrade to the required version.\n");
43123 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43124 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43125 printf("*** config.cache before re-running configure\n");
43126 return 1;
43127 }
43128 }
43129
43130
43131 _ACEOF
43132 rm -f conftest$ac_exeext
43133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43134 (eval $ac_link) 2>&5
43135 ac_status=$?
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43139 (eval $ac_try) 2>&5
43140 ac_status=$?
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); }; }; then
43143 :
43144 else
43145 echo "$as_me: program exited with status $ac_status" >&5
43146 echo "$as_me: failed program was:" >&5
43147 sed 's/^/| /' conftest.$ac_ext >&5
43148
43149 ( exit $ac_status )
43150 no_sdl=yes
43151 fi
43152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43153 fi
43154 CFLAGS="$ac_save_CFLAGS"
43155 CXXFLAGS="$ac_save_CXXFLAGS"
43156 LIBS="$ac_save_LIBS"
43157 fi
43158 fi
43159 if test "x$no_sdl" = x ; then
43160 echo "$as_me:$LINENO: result: yes" >&5
43161 echo "${ECHO_T}yes" >&6
43162
43163 EXTRALIBS_SDL="$SDL_LIBS"
43164 CFLAGS="$SDL_CFLAGS $CFLAGS"
43165 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43166 cat >>confdefs.h <<\_ACEOF
43167 #define wxUSE_LIBSDL 1
43168 _ACEOF
43169
43170
43171 else
43172 echo "$as_me:$LINENO: result: no" >&5
43173 echo "${ECHO_T}no" >&6
43174 if test "$SDL_CONFIG" = "no" ; then
43175 echo "*** The sdl-config script installed by SDL could not be found"
43176 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43177 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43178 echo "*** full path to sdl-config."
43179 else
43180 if test -f conf.sdltest ; then
43181 :
43182 else
43183 echo "*** Could not run SDL test program, checking why..."
43184 CFLAGS="$CFLAGS $SDL_CFLAGS"
43185 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43186 LIBS="$LIBS $SDL_LIBS"
43187 cat >conftest.$ac_ext <<_ACEOF
43188 /* confdefs.h. */
43189 _ACEOF
43190 cat confdefs.h >>conftest.$ac_ext
43191 cat >>conftest.$ac_ext <<_ACEOF
43192 /* end confdefs.h. */
43193
43194 #include <stdio.h>
43195 #include "SDL.h"
43196
43197 int main(int argc, char *argv[])
43198 { return 0; }
43199 #undef main
43200 #define main K_and_R_C_main
43201
43202 int
43203 main ()
43204 {
43205 return 0;
43206 ;
43207 return 0;
43208 }
43209 _ACEOF
43210 rm -f conftest.$ac_objext conftest$ac_exeext
43211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43212 (eval $ac_link) 2>conftest.er1
43213 ac_status=$?
43214 grep -v '^ *+' conftest.er1 >conftest.err
43215 rm -f conftest.er1
43216 cat conftest.err >&5
43217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218 (exit $ac_status); } &&
43219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43221 (eval $ac_try) 2>&5
43222 ac_status=$?
43223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224 (exit $ac_status); }; } &&
43225 { ac_try='test -s conftest$ac_exeext'
43226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43227 (eval $ac_try) 2>&5
43228 ac_status=$?
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); }; }; then
43231 echo "*** The test program compiled, but did not run. This usually means"
43232 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43233 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43236 echo "*** is required on your system"
43237 echo "***"
43238 echo "*** If you have an old version installed, it is best to remove it, although"
43239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244 echo "*** The test program failed to compile or link. See the file config.log for the"
43245 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43246 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43247 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43248 fi
43249 rm -f conftest.err conftest.$ac_objext \
43250 conftest$ac_exeext conftest.$ac_ext
43251 CFLAGS="$ac_save_CFLAGS"
43252 CXXFLAGS="$ac_save_CXXFLAGS"
43253 LIBS="$ac_save_LIBS"
43254 fi
43255 fi
43256 SDL_CFLAGS=""
43257 SDL_LIBS=""
43258 wxUSE_LIBSDL="no"
43259 fi
43260
43261
43262 rm -f conf.sdltest
43263
43264 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43265 WITH_PLUGIN_SDL=1
43266 fi
43267 fi
43268 else
43269 if test "$wxUSE_MGL" = 1; then
43270 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43271 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43272 wxUSE_SOUND="no"
43273 fi
43274 fi
43275 fi
43276
43277 if test "$wxUSE_SOUND" = "yes"; then
43278 cat >>confdefs.h <<\_ACEOF
43279 #define wxUSE_SOUND 1
43280 _ACEOF
43281
43282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43283 fi
43284
43285 if test "$WXGTK20" = 1; then
43286
43287
43288 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43289 if test -n "$ac_tool_prefix"; then
43290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43291 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43292 echo "$as_me:$LINENO: checking for $ac_word" >&5
43293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43294 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43295 echo $ECHO_N "(cached) $ECHO_C" >&6
43296 else
43297 case $PKG_CONFIG in
43298 [\\/]* | ?:[\\/]*)
43299 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43300 ;;
43301 *)
43302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43303 for as_dir in $PATH
43304 do
43305 IFS=$as_save_IFS
43306 test -z "$as_dir" && as_dir=.
43307 for ac_exec_ext in '' $ac_executable_extensions; do
43308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43309 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43311 break 2
43312 fi
43313 done
43314 done
43315
43316 ;;
43317 esac
43318 fi
43319 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43320
43321 if test -n "$PKG_CONFIG"; then
43322 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43323 echo "${ECHO_T}$PKG_CONFIG" >&6
43324 else
43325 echo "$as_me:$LINENO: result: no" >&5
43326 echo "${ECHO_T}no" >&6
43327 fi
43328
43329 fi
43330 if test -z "$ac_cv_path_PKG_CONFIG"; then
43331 ac_pt_PKG_CONFIG=$PKG_CONFIG
43332 # Extract the first word of "pkg-config", so it can be a program name with args.
43333 set dummy pkg-config; ac_word=$2
43334 echo "$as_me:$LINENO: checking for $ac_word" >&5
43335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43336 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43337 echo $ECHO_N "(cached) $ECHO_C" >&6
43338 else
43339 case $ac_pt_PKG_CONFIG in
43340 [\\/]* | ?:[\\/]*)
43341 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43342 ;;
43343 *)
43344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43345 for as_dir in $PATH
43346 do
43347 IFS=$as_save_IFS
43348 test -z "$as_dir" && as_dir=.
43349 for ac_exec_ext in '' $ac_executable_extensions; do
43350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43351 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43353 break 2
43354 fi
43355 done
43356 done
43357
43358 ;;
43359 esac
43360 fi
43361 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43362
43363 if test -n "$ac_pt_PKG_CONFIG"; then
43364 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43365 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43366 else
43367 echo "$as_me:$LINENO: result: no" >&5
43368 echo "${ECHO_T}no" >&6
43369 fi
43370
43371 PKG_CONFIG=$ac_pt_PKG_CONFIG
43372 else
43373 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43374 fi
43375
43376 fi
43377 if test -n "$PKG_CONFIG"; then
43378 _pkg_min_version=0.9.0
43379 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43380 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43381 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43382 echo "$as_me:$LINENO: result: yes" >&5
43383 echo "${ECHO_T}yes" >&6
43384 else
43385 echo "$as_me:$LINENO: result: no" >&5
43386 echo "${ECHO_T}no" >&6
43387 PKG_CONFIG=""
43388 fi
43389
43390 fi
43391
43392 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43393 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43394
43395
43396 pkg_failed=no
43397 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43398 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43399
43400 if test -n "$PKG_CONFIG"; then
43401 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43402 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43403 else
43404 if test -n "$PKG_CONFIG" && \
43405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43406 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43407 ac_status=$?
43408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43409 (exit $ac_status); }; then
43410 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43411 else
43412 pkg_failed=yes
43413 fi
43414 fi
43415 else
43416 pkg_failed=untried
43417 fi
43418 if test -n "$PKG_CONFIG"; then
43419 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43420 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43421 else
43422 if test -n "$PKG_CONFIG" && \
43423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43424 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43425 ac_status=$?
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); }; then
43428 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43429 else
43430 pkg_failed=yes
43431 fi
43432 fi
43433 else
43434 pkg_failed=untried
43435 fi
43436
43437
43438
43439 if test $pkg_failed = yes; then
43440
43441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43442 _pkg_short_errors_supported=yes
43443 else
43444 _pkg_short_errors_supported=no
43445 fi
43446 if test $_pkg_short_errors_supported = yes; then
43447 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43448 else
43449 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43450 fi
43451 # Put the nasty error message in config.log where it belongs
43452 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43453
43454
43455 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43456 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43457 wxUSE_LIBGNOMEPRINT="no"
43458
43459
43460 elif test $pkg_failed = untried; then
43461
43462 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43463 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43464 wxUSE_LIBGNOMEPRINT="no"
43465
43466
43467 else
43468 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43469 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43470 echo "$as_me:$LINENO: result: yes" >&5
43471 echo "${ECHO_T}yes" >&6
43472
43473 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43474 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43475 cat >>confdefs.h <<\_ACEOF
43476 #define wxUSE_LIBGNOMEPRINT 1
43477 _ACEOF
43478
43479
43480 fi
43481 fi
43482 fi
43483
43484 if test "$wxUSE_MIMETYPE" = "yes" ; then
43485 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43486
43487
43488 pkg_failed=no
43489 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43490 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43491
43492 if test -n "$PKG_CONFIG"; then
43493 if test -n "$GNOMEVFS_CFLAGS"; then
43494 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43495 else
43496 if test -n "$PKG_CONFIG" && \
43497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43498 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43499 ac_status=$?
43500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43501 (exit $ac_status); }; then
43502 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43503 else
43504 pkg_failed=yes
43505 fi
43506 fi
43507 else
43508 pkg_failed=untried
43509 fi
43510 if test -n "$PKG_CONFIG"; then
43511 if test -n "$GNOMEVFS_LIBS"; then
43512 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43513 else
43514 if test -n "$PKG_CONFIG" && \
43515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43516 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43517 ac_status=$?
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); }; then
43520 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43521 else
43522 pkg_failed=yes
43523 fi
43524 fi
43525 else
43526 pkg_failed=untried
43527 fi
43528
43529
43530
43531 if test $pkg_failed = yes; then
43532
43533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43534 _pkg_short_errors_supported=yes
43535 else
43536 _pkg_short_errors_supported=no
43537 fi
43538 if test $_pkg_short_errors_supported = yes; then
43539 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43540 else
43541 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43542 fi
43543 # Put the nasty error message in config.log where it belongs
43544 echo "$GNOMEVFS_PKG_ERRORS" >&5
43545
43546
43547 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43548 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43549 wxUSE_LIBGNOMEVFS="no"
43550
43551
43552 elif test $pkg_failed = untried; then
43553
43554 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43555 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43556 wxUSE_LIBGNOMEVFS="no"
43557
43558
43559 else
43560 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43561 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43562 echo "$as_me:$LINENO: result: yes" >&5
43563 echo "${ECHO_T}yes" >&6
43564
43565 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43566 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_LIBGNOMEVFS 1
43569 _ACEOF
43570
43571
43572 fi
43573 fi
43574 fi
43575
43576 if test "$wxUSE_LIBHILDON" = "yes" ; then
43577
43578 pkg_failed=no
43579 echo "$as_me:$LINENO: checking for HILDON" >&5
43580 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43581
43582 if test -n "$PKG_CONFIG"; then
43583 if test -n "$HILDON_CFLAGS"; then
43584 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43585 else
43586 if test -n "$PKG_CONFIG" && \
43587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43588 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43589 ac_status=$?
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; then
43592 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43593 else
43594 pkg_failed=yes
43595 fi
43596 fi
43597 else
43598 pkg_failed=untried
43599 fi
43600 if test -n "$PKG_CONFIG"; then
43601 if test -n "$HILDON_LIBS"; then
43602 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43603 else
43604 if test -n "$PKG_CONFIG" && \
43605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43606 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43607 ac_status=$?
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); }; then
43610 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43611 else
43612 pkg_failed=yes
43613 fi
43614 fi
43615 else
43616 pkg_failed=untried
43617 fi
43618
43619
43620
43621 if test $pkg_failed = yes; then
43622
43623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43624 _pkg_short_errors_supported=yes
43625 else
43626 _pkg_short_errors_supported=no
43627 fi
43628 if test $_pkg_short_errors_supported = yes; then
43629 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43630 else
43631 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43632 fi
43633 # Put the nasty error message in config.log where it belongs
43634 echo "$HILDON_PKG_ERRORS" >&5
43635
43636
43637 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43638 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43639 wxUSE_LIBHILDON="no"
43640
43641
43642 elif test $pkg_failed = untried; then
43643
43644 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43645 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43646 wxUSE_LIBHILDON="no"
43647
43648
43649 else
43650 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43651 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43652 echo "$as_me:$LINENO: result: yes" >&5
43653 echo "${ECHO_T}yes" >&6
43654
43655 EXTRALIBS_HILDON="$HILDON_LIBS"
43656 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43657 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_LIBHILDON 1
43660 _ACEOF
43661
43662
43663 fi
43664 fi
43665 fi
43666
43667 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define wxUSE_CMDLINE_PARSER 1
43670 _ACEOF
43671
43672 fi
43673
43674 if test "$wxUSE_STOPWATCH" = "yes"; then
43675 cat >>confdefs.h <<\_ACEOF
43676 #define wxUSE_STOPWATCH 1
43677 _ACEOF
43678
43679 fi
43680
43681 if test "$wxUSE_DATETIME" = "yes"; then
43682 cat >>confdefs.h <<\_ACEOF
43683 #define wxUSE_DATETIME 1
43684 _ACEOF
43685
43686 fi
43687
43688 if test "$wxUSE_FILE" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_FILE 1
43691 _ACEOF
43692
43693 fi
43694
43695 if test "$wxUSE_FFILE" = "yes"; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_FFILE 1
43698 _ACEOF
43699
43700 fi
43701
43702 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43703 if test "$wxUSE_STREAMS" != yes; then
43704 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43705 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43706 wxUSE_ARCHIVE_STREAMS=no
43707 else
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_ARCHIVE_STREAMS 1
43710 _ACEOF
43711
43712 fi
43713 fi
43714
43715 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43716 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43717 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43718 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43719 elif test "$wxUSE_ZLIB" = "no"; then
43720 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43721 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43722 else
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_ZIPSTREAM 1
43725 _ACEOF
43726
43727 fi
43728 fi
43729
43730 if test "$wxUSE_TARSTREAM" = "yes"; then
43731 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43732 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43733 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43734 else
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_TARSTREAM 1
43737 _ACEOF
43738
43739 fi
43740 fi
43741
43742 if test "$wxUSE_FILESYSTEM" = "yes"; then
43743 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43744 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43745 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43746 wxUSE_FILESYSTEM=no
43747 else
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_FILESYSTEM 1
43750 _ACEOF
43751
43752 fi
43753 fi
43754
43755 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43756 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43757 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43758 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43759 else
43760 cat >>confdefs.h <<\_ACEOF
43761 #define wxUSE_FS_ARCHIVE 1
43762 _ACEOF
43763
43764 fi
43765 fi
43766
43767 if test "$wxUSE_FS_ZIP" = "yes"; then
43768 if test "$wxUSE_FS_ARCHIVE" != yes; then
43769 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43770 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43771 else
43772 cat >>confdefs.h <<\_ACEOF
43773 #define wxUSE_FS_ZIP 1
43774 _ACEOF
43775
43776 fi
43777 fi
43778
43779 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43780 if test "$USE_UNIX" != 1; then
43781 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43782 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43783 wxUSE_ON_FATAL_EXCEPTION=no
43784 else
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_ON_FATAL_EXCEPTION 1
43787 _ACEOF
43788
43789 fi
43790 fi
43791
43792 if test "$wxUSE_STACKWALKER" = "yes"; then
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_STACKWALKER 1
43795 _ACEOF
43796
43797 fi
43798
43799 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43800 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43801 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43802 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43803 wxUSE_DEBUGREPORT=no
43804 else
43805 cat >>confdefs.h <<\_ACEOF
43806 #define wxUSE_DEBUGREPORT 1
43807 _ACEOF
43808
43809 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43811 fi
43812 fi
43813 fi
43814
43815 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43816 cat >>confdefs.h <<\_ACEOF
43817 #define wxUSE_SNGLINST_CHECKER 1
43818 _ACEOF
43819
43820 fi
43821
43822 if test "$wxUSE_BUSYINFO" = "yes"; then
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_BUSYINFO 1
43825 _ACEOF
43826
43827 fi
43828
43829 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43830 cat >>confdefs.h <<\_ACEOF
43831 #define wxUSE_STD_IOSTREAM 1
43832 _ACEOF
43833
43834 fi
43835
43836 if test "$wxUSE_STD_STRING" = "yes"; then
43837 cat >>confdefs.h <<\_ACEOF
43838 #define wxUSE_STD_STRING 1
43839 _ACEOF
43840
43841 fi
43842
43843 if test "$wxUSE_STDPATHS" = "yes"; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxUSE_STDPATHS 1
43846 _ACEOF
43847
43848 fi
43849
43850 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43851 cat >>confdefs.h <<\_ACEOF
43852 #define wxUSE_TEXTBUFFER 1
43853 _ACEOF
43854
43855 fi
43856
43857 if test "$wxUSE_TEXTFILE" = "yes"; then
43858 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43859 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43860 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43861 else
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_TEXTFILE 1
43864 _ACEOF
43865
43866 fi
43867 fi
43868
43869 if test "$wxUSE_CONFIG" = "yes" ; then
43870 if test "$wxUSE_TEXTFILE" != "yes"; then
43871 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43872 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43873 else
43874 cat >>confdefs.h <<\_ACEOF
43875 #define wxUSE_CONFIG 1
43876 _ACEOF
43877
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_CONFIG_NATIVE 1
43880 _ACEOF
43881
43882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43883 fi
43884 fi
43885
43886 if test "$wxUSE_INTL" = "yes" ; then
43887 if test "$wxUSE_FILE" != "yes"; then
43888 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43889 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43890 else
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_INTL 1
43893 _ACEOF
43894
43895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43896 GUIDIST="$GUIDIST INTL_DIST"
43897 fi
43898 fi
43899
43900 if test "$wxUSE_LOG" = "yes"; then
43901 cat >>confdefs.h <<\_ACEOF
43902 #define wxUSE_LOG 1
43903 _ACEOF
43904
43905
43906 if test "$wxUSE_LOGGUI" = "yes"; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_LOGGUI 1
43909 _ACEOF
43910
43911 fi
43912
43913 if test "$wxUSE_LOGWINDOW" = "yes"; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_LOGWINDOW 1
43916 _ACEOF
43917
43918 fi
43919
43920 if test "$wxUSE_LOGDIALOG" = "yes"; then
43921 cat >>confdefs.h <<\_ACEOF
43922 #define wxUSE_LOG_DIALOG 1
43923 _ACEOF
43924
43925 fi
43926
43927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43928 fi
43929
43930 if test "$wxUSE_LONGLONG" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_LONGLONG 1
43933 _ACEOF
43934
43935 fi
43936
43937 if test "$wxUSE_GEOMETRY" = "yes"; then
43938 cat >>confdefs.h <<\_ACEOF
43939 #define wxUSE_GEOMETRY 1
43940 _ACEOF
43941
43942 fi
43943
43944 if test "$wxUSE_STREAMS" = "yes" ; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_STREAMS 1
43947 _ACEOF
43948
43949 fi
43950
43951 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_PRINTF_POS_PARAMS 1
43954 _ACEOF
43955
43956 fi
43957
43958
43959
43960 if test "$wxUSE_DATETIME" = "yes"; then
43961
43962 for ac_func in strptime
43963 do
43964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43965 echo "$as_me:$LINENO: checking for $ac_func" >&5
43966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43967 if eval "test \"\${$as_ac_var+set}\" = set"; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970 cat >conftest.$ac_ext <<_ACEOF
43971 /* confdefs.h. */
43972 _ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43978 #define $ac_func innocuous_$ac_func
43979
43980 /* System header to define __stub macros and hopefully few prototypes,
43981 which can conflict with char $ac_func (); below.
43982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43983 <limits.h> exists even on freestanding compilers. */
43984
43985 #ifdef __STDC__
43986 # include <limits.h>
43987 #else
43988 # include <assert.h>
43989 #endif
43990
43991 #undef $ac_func
43992
43993 /* Override any gcc2 internal prototype to avoid an error. */
43994 #ifdef __cplusplus
43995 extern "C"
43996 {
43997 #endif
43998 /* We use char because int might match the return type of a gcc2
43999 builtin and then its argument prototype would still apply. */
44000 char $ac_func ();
44001 /* The GNU C library defines this for functions which it implements
44002 to always fail with ENOSYS. Some functions are actually named
44003 something starting with __ and the normal name is an alias. */
44004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44005 choke me
44006 #else
44007 char (*f) () = $ac_func;
44008 #endif
44009 #ifdef __cplusplus
44010 }
44011 #endif
44012
44013 int
44014 main ()
44015 {
44016 return f != $ac_func;
44017 ;
44018 return 0;
44019 }
44020 _ACEOF
44021 rm -f conftest.$ac_objext conftest$ac_exeext
44022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44023 (eval $ac_link) 2>conftest.er1
44024 ac_status=$?
44025 grep -v '^ *+' conftest.er1 >conftest.err
44026 rm -f conftest.er1
44027 cat conftest.err >&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } &&
44030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44032 (eval $ac_try) 2>&5
44033 ac_status=$?
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; } &&
44036 { ac_try='test -s conftest$ac_exeext'
44037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038 (eval $ac_try) 2>&5
44039 ac_status=$?
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; }; then
44042 eval "$as_ac_var=yes"
44043 else
44044 echo "$as_me: failed program was:" >&5
44045 sed 's/^/| /' conftest.$ac_ext >&5
44046
44047 eval "$as_ac_var=no"
44048 fi
44049 rm -f conftest.err conftest.$ac_objext \
44050 conftest$ac_exeext conftest.$ac_ext
44051 fi
44052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44054 if test `eval echo '${'$as_ac_var'}'` = yes; then
44055 cat >>confdefs.h <<_ACEOF
44056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44057 _ACEOF
44058
44059 fi
44060 done
44061
44062 if test "$ac_cv_func_strptime" = "yes"; then
44063 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44064 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44065 if test "${wx_cv_func_strptime_decl+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44068
44069 ac_ext=cc
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44074
44075 cat >conftest.$ac_ext <<_ACEOF
44076 /* confdefs.h. */
44077 _ACEOF
44078 cat confdefs.h >>conftest.$ac_ext
44079 cat >>conftest.$ac_ext <<_ACEOF
44080 /* end confdefs.h. */
44081
44082 #include <time.h>
44083
44084 int
44085 main ()
44086 {
44087
44088 struct tm t;
44089 strptime("foo", "bar", &t);
44090
44091 ;
44092 return 0;
44093 }
44094 _ACEOF
44095 rm -f conftest.$ac_objext
44096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44097 (eval $ac_compile) 2>conftest.er1
44098 ac_status=$?
44099 grep -v '^ *+' conftest.er1 >conftest.err
44100 rm -f conftest.er1
44101 cat conftest.err >&5
44102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44103 (exit $ac_status); } &&
44104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44106 (eval $ac_try) 2>&5
44107 ac_status=$?
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); }; } &&
44110 { ac_try='test -s conftest.$ac_objext'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; }; then
44116 wx_cv_func_strptime_decl=yes
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44120
44121 wx_cv_func_strptime_decl=no
44122
44123 fi
44124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44125 ac_ext=c
44126 ac_cpp='$CPP $CPPFLAGS'
44127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44130
44131
44132
44133 fi
44134 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44135 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44136 fi
44137 if test "$wx_cv_func_strptime_decl" = "yes"; then
44138 cat >>confdefs.h <<\_ACEOF
44139 #define HAVE_STRPTIME_DECL 1
44140 _ACEOF
44141
44142 fi
44143
44144 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44145 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44146 if test "${wx_cv_var_timezone+set}" = set; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44148 else
44149
44150 ac_ext=cc
44151 ac_cpp='$CXXCPP $CPPFLAGS'
44152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44155
44156 cat >conftest.$ac_ext <<_ACEOF
44157 /* confdefs.h. */
44158 _ACEOF
44159 cat confdefs.h >>conftest.$ac_ext
44160 cat >>conftest.$ac_ext <<_ACEOF
44161 /* end confdefs.h. */
44162
44163 #include <time.h>
44164
44165 int
44166 main ()
44167 {
44168
44169 int tz;
44170 tz = timezone;
44171
44172 ;
44173 return 0;
44174 }
44175 _ACEOF
44176 rm -f conftest.$ac_objext
44177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44178 (eval $ac_compile) 2>conftest.er1
44179 ac_status=$?
44180 grep -v '^ *+' conftest.er1 >conftest.err
44181 rm -f conftest.er1
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } &&
44185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44187 (eval $ac_try) 2>&5
44188 ac_status=$?
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); }; } &&
44191 { ac_try='test -s conftest.$ac_objext'
44192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193 (eval $ac_try) 2>&5
44194 ac_status=$?
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); }; }; then
44197
44198 wx_cv_var_timezone=timezone
44199
44200 else
44201 echo "$as_me: failed program was:" >&5
44202 sed 's/^/| /' conftest.$ac_ext >&5
44203
44204
44205 cat >conftest.$ac_ext <<_ACEOF
44206 /* confdefs.h. */
44207 _ACEOF
44208 cat confdefs.h >>conftest.$ac_ext
44209 cat >>conftest.$ac_ext <<_ACEOF
44210 /* end confdefs.h. */
44211
44212 #include <time.h>
44213
44214 int
44215 main ()
44216 {
44217
44218 int tz;
44219 tz = _timezone;
44220
44221 ;
44222 return 0;
44223 }
44224 _ACEOF
44225 rm -f conftest.$ac_objext
44226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44227 (eval $ac_compile) 2>conftest.er1
44228 ac_status=$?
44229 grep -v '^ *+' conftest.er1 >conftest.err
44230 rm -f conftest.er1
44231 cat conftest.err >&5
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); } &&
44234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; } &&
44240 { ac_try='test -s conftest.$ac_objext'
44241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44242 (eval $ac_try) 2>&5
44243 ac_status=$?
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; }; then
44246
44247 wx_cv_var_timezone=_timezone
44248
44249 else
44250 echo "$as_me: failed program was:" >&5
44251 sed 's/^/| /' conftest.$ac_ext >&5
44252
44253
44254 cat >conftest.$ac_ext <<_ACEOF
44255 /* confdefs.h. */
44256 _ACEOF
44257 cat confdefs.h >>conftest.$ac_ext
44258 cat >>conftest.$ac_ext <<_ACEOF
44259 /* end confdefs.h. */
44260
44261 #include <time.h>
44262
44263 int
44264 main ()
44265 {
44266
44267 int tz;
44268 tz = __timezone;
44269
44270 ;
44271 return 0;
44272 }
44273 _ACEOF
44274 rm -f conftest.$ac_objext
44275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44276 (eval $ac_compile) 2>conftest.er1
44277 ac_status=$?
44278 grep -v '^ *+' conftest.er1 >conftest.err
44279 rm -f conftest.er1
44280 cat conftest.err >&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } &&
44283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; } &&
44289 { ac_try='test -s conftest.$ac_objext'
44290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44291 (eval $ac_try) 2>&5
44292 ac_status=$?
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); }; }; then
44295
44296 wx_cv_var_timezone=__timezone
44297
44298 else
44299 echo "$as_me: failed program was:" >&5
44300 sed 's/^/| /' conftest.$ac_ext >&5
44301
44302
44303 if test "$USE_DOS" = 0 ; then
44304 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44305 echo "$as_me: WARNING: no timezone variable" >&2;}
44306 fi
44307
44308
44309 fi
44310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44311
44312
44313 fi
44314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44315
44316
44317 fi
44318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44324
44325
44326
44327 fi
44328 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44329 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44330
44331 if test "x$wx_cv_var_timezone" != x ; then
44332 cat >>confdefs.h <<_ACEOF
44333 #define WX_TIMEZONE $wx_cv_var_timezone
44334 _ACEOF
44335
44336 fi
44337
44338
44339 for ac_func in localtime
44340 do
44341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44342 echo "$as_me:$LINENO: checking for $ac_func" >&5
44343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44344 if eval "test \"\${$as_ac_var+set}\" = set"; then
44345 echo $ECHO_N "(cached) $ECHO_C" >&6
44346 else
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44356
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44361
44362 #ifdef __STDC__
44363 # include <limits.h>
44364 #else
44365 # include <assert.h>
44366 #endif
44367
44368 #undef $ac_func
44369
44370 /* Override any gcc2 internal prototype to avoid an error. */
44371 #ifdef __cplusplus
44372 extern "C"
44373 {
44374 #endif
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44377 char $ac_func ();
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44382 choke me
44383 #else
44384 char (*f) () = $ac_func;
44385 #endif
44386 #ifdef __cplusplus
44387 }
44388 #endif
44389
44390 int
44391 main ()
44392 {
44393 return f != $ac_func;
44394 ;
44395 return 0;
44396 }
44397 _ACEOF
44398 rm -f conftest.$ac_objext conftest$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44409 (eval $ac_try) 2>&5
44410 ac_status=$?
44411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412 (exit $ac_status); }; } &&
44413 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44419 eval "$as_ac_var=yes"
44420 else
44421 echo "$as_me: failed program was:" >&5
44422 sed 's/^/| /' conftest.$ac_ext >&5
44423
44424 eval "$as_ac_var=no"
44425 fi
44426 rm -f conftest.err conftest.$ac_objext \
44427 conftest$ac_exeext conftest.$ac_ext
44428 fi
44429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44431 if test `eval echo '${'$as_ac_var'}'` = yes; then
44432 cat >>confdefs.h <<_ACEOF
44433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44434 _ACEOF
44435
44436 fi
44437 done
44438
44439
44440 if test "$ac_cv_func_localtime" = "yes"; then
44441 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44442 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44443 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44445 else
44446
44447 cat >conftest.$ac_ext <<_ACEOF
44448 /* confdefs.h. */
44449 _ACEOF
44450 cat confdefs.h >>conftest.$ac_ext
44451 cat >>conftest.$ac_ext <<_ACEOF
44452 /* end confdefs.h. */
44453
44454 #include <time.h>
44455
44456 int
44457 main ()
44458 {
44459
44460 struct tm tm;
44461 tm.tm_gmtoff++;
44462
44463 ;
44464 return 0;
44465 }
44466 _ACEOF
44467 rm -f conftest.$ac_objext
44468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44469 (eval $ac_compile) 2>conftest.er1
44470 ac_status=$?
44471 grep -v '^ *+' conftest.er1 >conftest.err
44472 rm -f conftest.er1
44473 cat conftest.err >&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } &&
44476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44479 ac_status=$?
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; } &&
44482 { ac_try='test -s conftest.$ac_objext'
44483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44484 (eval $ac_try) 2>&5
44485 ac_status=$?
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); }; }; then
44488
44489 wx_cv_struct_tm_has_gmtoff=yes
44490
44491 else
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.$ac_ext >&5
44494
44495 wx_cv_struct_tm_has_gmtoff=no
44496
44497 fi
44498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44499
44500 fi
44501 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44502 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44503 fi
44504
44505 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define WX_GMTOFF_IN_TM 1
44508 _ACEOF
44509
44510 fi
44511
44512
44513
44514 for ac_func in gettimeofday ftime
44515 do
44516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44517 echo "$as_me:$LINENO: checking for $ac_func" >&5
44518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44519 if eval "test \"\${$as_ac_var+set}\" = set"; then
44520 echo $ECHO_N "(cached) $ECHO_C" >&6
44521 else
44522 cat >conftest.$ac_ext <<_ACEOF
44523 /* confdefs.h. */
44524 _ACEOF
44525 cat confdefs.h >>conftest.$ac_ext
44526 cat >>conftest.$ac_ext <<_ACEOF
44527 /* end confdefs.h. */
44528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44530 #define $ac_func innocuous_$ac_func
44531
44532 /* System header to define __stub macros and hopefully few prototypes,
44533 which can conflict with char $ac_func (); below.
44534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44535 <limits.h> exists even on freestanding compilers. */
44536
44537 #ifdef __STDC__
44538 # include <limits.h>
44539 #else
44540 # include <assert.h>
44541 #endif
44542
44543 #undef $ac_func
44544
44545 /* Override any gcc2 internal prototype to avoid an error. */
44546 #ifdef __cplusplus
44547 extern "C"
44548 {
44549 #endif
44550 /* We use char because int might match the return type of a gcc2
44551 builtin and then its argument prototype would still apply. */
44552 char $ac_func ();
44553 /* The GNU C library defines this for functions which it implements
44554 to always fail with ENOSYS. Some functions are actually named
44555 something starting with __ and the normal name is an alias. */
44556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44557 choke me
44558 #else
44559 char (*f) () = $ac_func;
44560 #endif
44561 #ifdef __cplusplus
44562 }
44563 #endif
44564
44565 int
44566 main ()
44567 {
44568 return f != $ac_func;
44569 ;
44570 return 0;
44571 }
44572 _ACEOF
44573 rm -f conftest.$ac_objext conftest$ac_exeext
44574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44575 (eval $ac_link) 2>conftest.er1
44576 ac_status=$?
44577 grep -v '^ *+' conftest.er1 >conftest.err
44578 rm -f conftest.er1
44579 cat conftest.err >&5
44580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44581 (exit $ac_status); } &&
44582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44584 (eval $ac_try) 2>&5
44585 ac_status=$?
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); }; } &&
44588 { ac_try='test -s conftest$ac_exeext'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44591 ac_status=$?
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; }; then
44594 eval "$as_ac_var=yes"
44595 else
44596 echo "$as_me: failed program was:" >&5
44597 sed 's/^/| /' conftest.$ac_ext >&5
44598
44599 eval "$as_ac_var=no"
44600 fi
44601 rm -f conftest.err conftest.$ac_objext \
44602 conftest$ac_exeext conftest.$ac_ext
44603 fi
44604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44606 if test `eval echo '${'$as_ac_var'}'` = yes; then
44607 cat >>confdefs.h <<_ACEOF
44608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44609 _ACEOF
44610 break
44611 fi
44612 done
44613
44614
44615 if test "$ac_cv_func_gettimeofday" = "yes"; then
44616 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44617 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44618 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44619 echo $ECHO_N "(cached) $ECHO_C" >&6
44620 else
44621
44622 cat >conftest.$ac_ext <<_ACEOF
44623 /* confdefs.h. */
44624 _ACEOF
44625 cat confdefs.h >>conftest.$ac_ext
44626 cat >>conftest.$ac_ext <<_ACEOF
44627 /* end confdefs.h. */
44628
44629 #include <sys/time.h>
44630 #include <unistd.h>
44631
44632 int
44633 main ()
44634 {
44635
44636 struct timeval tv;
44637 gettimeofday(&tv, NULL);
44638
44639 ;
44640 return 0;
44641 }
44642 _ACEOF
44643 rm -f conftest.$ac_objext
44644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44645 (eval $ac_compile) 2>conftest.er1
44646 ac_status=$?
44647 grep -v '^ *+' conftest.er1 >conftest.err
44648 rm -f conftest.er1
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } &&
44652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 (eval $ac_try) 2>&5
44655 ac_status=$?
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; } &&
44658 { ac_try='test -s conftest.$ac_objext'
44659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44660 (eval $ac_try) 2>&5
44661 ac_status=$?
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); }; }; then
44664 wx_cv_func_gettimeofday_has_2_args=yes
44665 else
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.$ac_ext >&5
44668
44669 cat >conftest.$ac_ext <<_ACEOF
44670 /* confdefs.h. */
44671 _ACEOF
44672 cat confdefs.h >>conftest.$ac_ext
44673 cat >>conftest.$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44675
44676 #include <sys/time.h>
44677 #include <unistd.h>
44678
44679 int
44680 main ()
44681 {
44682
44683 struct timeval tv;
44684 gettimeofday(&tv);
44685
44686 ;
44687 return 0;
44688 }
44689 _ACEOF
44690 rm -f conftest.$ac_objext
44691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44692 (eval $ac_compile) 2>conftest.er1
44693 ac_status=$?
44694 grep -v '^ *+' conftest.er1 >conftest.err
44695 rm -f conftest.er1
44696 cat conftest.err >&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } &&
44699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44702 ac_status=$?
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; } &&
44705 { ac_try='test -s conftest.$ac_objext'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44708 ac_status=$?
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; }; then
44711 wx_cv_func_gettimeofday_has_2_args=no
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716
44717 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44718 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44719 wx_cv_func_gettimeofday_has_2_args=unknown
44720
44721
44722 fi
44723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44724
44725 fi
44726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44727
44728 fi
44729 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44730 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44731
44732 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44733 cat >>confdefs.h <<\_ACEOF
44734 #define WX_GETTIMEOFDAY_NO_TZ 1
44735 _ACEOF
44736
44737 fi
44738 fi
44739
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44741 fi
44742
44743
44744 if test "$wxUSE_SOCKETS" = "yes"; then
44745 if test "$wxUSE_MGL" = "1"; then
44746 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44747 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44748 wxUSE_SOCKETS="no"
44749 fi
44750 fi
44751
44752 if test "$wxUSE_SOCKETS" = "yes"; then
44753 if test "$TOOLKIT" != "MSW"; then
44754 echo "$as_me:$LINENO: checking for socket" >&5
44755 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44756 if test "${ac_cv_func_socket+set}" = set; then
44757 echo $ECHO_N "(cached) $ECHO_C" >&6
44758 else
44759 cat >conftest.$ac_ext <<_ACEOF
44760 /* confdefs.h. */
44761 _ACEOF
44762 cat confdefs.h >>conftest.$ac_ext
44763 cat >>conftest.$ac_ext <<_ACEOF
44764 /* end confdefs.h. */
44765 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44767 #define socket innocuous_socket
44768
44769 /* System header to define __stub macros and hopefully few prototypes,
44770 which can conflict with char socket (); below.
44771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44772 <limits.h> exists even on freestanding compilers. */
44773
44774 #ifdef __STDC__
44775 # include <limits.h>
44776 #else
44777 # include <assert.h>
44778 #endif
44779
44780 #undef socket
44781
44782 /* Override any gcc2 internal prototype to avoid an error. */
44783 #ifdef __cplusplus
44784 extern "C"
44785 {
44786 #endif
44787 /* We use char because int might match the return type of a gcc2
44788 builtin and then its argument prototype would still apply. */
44789 char socket ();
44790 /* The GNU C library defines this for functions which it implements
44791 to always fail with ENOSYS. Some functions are actually named
44792 something starting with __ and the normal name is an alias. */
44793 #if defined (__stub_socket) || defined (__stub___socket)
44794 choke me
44795 #else
44796 char (*f) () = socket;
44797 #endif
44798 #ifdef __cplusplus
44799 }
44800 #endif
44801
44802 int
44803 main ()
44804 {
44805 return f != socket;
44806 ;
44807 return 0;
44808 }
44809 _ACEOF
44810 rm -f conftest.$ac_objext conftest$ac_exeext
44811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44812 (eval $ac_link) 2>conftest.er1
44813 ac_status=$?
44814 grep -v '^ *+' conftest.er1 >conftest.err
44815 rm -f conftest.er1
44816 cat conftest.err >&5
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); } &&
44819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44821 (eval $ac_try) 2>&5
44822 ac_status=$?
44823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44824 (exit $ac_status); }; } &&
44825 { ac_try='test -s conftest$ac_exeext'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44828 ac_status=$?
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; }; then
44831 ac_cv_func_socket=yes
44832 else
44833 echo "$as_me: failed program was:" >&5
44834 sed 's/^/| /' conftest.$ac_ext >&5
44835
44836 ac_cv_func_socket=no
44837 fi
44838 rm -f conftest.err conftest.$ac_objext \
44839 conftest$ac_exeext conftest.$ac_ext
44840 fi
44841 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44842 echo "${ECHO_T}$ac_cv_func_socket" >&6
44843 if test $ac_cv_func_socket = yes; then
44844 :
44845 else
44846
44847 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44848 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44849 if test "${ac_cv_lib_socket_socket+set}" = set; then
44850 echo $ECHO_N "(cached) $ECHO_C" >&6
44851 else
44852 ac_check_lib_save_LIBS=$LIBS
44853 LIBS="-lsocket $LIBS"
44854 cat >conftest.$ac_ext <<_ACEOF
44855 /* confdefs.h. */
44856 _ACEOF
44857 cat confdefs.h >>conftest.$ac_ext
44858 cat >>conftest.$ac_ext <<_ACEOF
44859 /* end confdefs.h. */
44860
44861 /* Override any gcc2 internal prototype to avoid an error. */
44862 #ifdef __cplusplus
44863 extern "C"
44864 #endif
44865 /* We use char because int might match the return type of a gcc2
44866 builtin and then its argument prototype would still apply. */
44867 char socket ();
44868 int
44869 main ()
44870 {
44871 socket ();
44872 ;
44873 return 0;
44874 }
44875 _ACEOF
44876 rm -f conftest.$ac_objext conftest$ac_exeext
44877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44878 (eval $ac_link) 2>conftest.er1
44879 ac_status=$?
44880 grep -v '^ *+' conftest.er1 >conftest.err
44881 rm -f conftest.er1
44882 cat conftest.err >&5
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); } &&
44885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887 (eval $ac_try) 2>&5
44888 ac_status=$?
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); }; } &&
44891 { ac_try='test -s conftest$ac_exeext'
44892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44893 (eval $ac_try) 2>&5
44894 ac_status=$?
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; }; then
44897 ac_cv_lib_socket_socket=yes
44898 else
44899 echo "$as_me: failed program was:" >&5
44900 sed 's/^/| /' conftest.$ac_ext >&5
44901
44902 ac_cv_lib_socket_socket=no
44903 fi
44904 rm -f conftest.err conftest.$ac_objext \
44905 conftest$ac_exeext conftest.$ac_ext
44906 LIBS=$ac_check_lib_save_LIBS
44907 fi
44908 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44909 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44910 if test $ac_cv_lib_socket_socket = yes; then
44911 if test "$INET_LINK" != " -lsocket"; then
44912 INET_LINK="$INET_LINK -lsocket"
44913 fi
44914 else
44915
44916 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44917 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44918 wxUSE_SOCKETS=no
44919
44920
44921 fi
44922
44923
44924
44925 fi
44926
44927 fi
44928 fi
44929
44930 if test "$wxUSE_SOCKETS" = "yes" ; then
44931 if test "$TOOLKIT" != "MSW"; then
44932 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44933 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44934 if test "${wx_cv_type_getsockname3+set}" = set; then
44935 echo $ECHO_N "(cached) $ECHO_C" >&6
44936 else
44937
44938 ac_ext=cc
44939 ac_cpp='$CXXCPP $CPPFLAGS'
44940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44943
44944 cat >conftest.$ac_ext <<_ACEOF
44945 /* confdefs.h. */
44946 _ACEOF
44947 cat confdefs.h >>conftest.$ac_ext
44948 cat >>conftest.$ac_ext <<_ACEOF
44949 /* end confdefs.h. */
44950
44951 #include <sys/types.h>
44952 #include <sys/socket.h>
44953
44954 int
44955 main ()
44956 {
44957
44958 socklen_t len;
44959 getsockname(0, 0, &len);
44960
44961 ;
44962 return 0;
44963 }
44964 _ACEOF
44965 rm -f conftest.$ac_objext
44966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44967 (eval $ac_compile) 2>conftest.er1
44968 ac_status=$?
44969 grep -v '^ *+' conftest.er1 >conftest.err
44970 rm -f conftest.er1
44971 cat conftest.err >&5
44972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973 (exit $ac_status); } &&
44974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44976 (eval $ac_try) 2>&5
44977 ac_status=$?
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; } &&
44980 { ac_try='test -s conftest.$ac_objext'
44981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44982 (eval $ac_try) 2>&5
44983 ac_status=$?
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); }; }; then
44986 wx_cv_type_getsockname3=socklen_t
44987 else
44988 echo "$as_me: failed program was:" >&5
44989 sed 's/^/| /' conftest.$ac_ext >&5
44990
44991
44992 CFLAGS_OLD="$CFLAGS"
44993 if test "$GCC" = yes ; then
44994 CFLAGS="-Werror $CFLAGS"
44995 fi
44996
44997 cat >conftest.$ac_ext <<_ACEOF
44998 /* confdefs.h. */
44999 _ACEOF
45000 cat confdefs.h >>conftest.$ac_ext
45001 cat >>conftest.$ac_ext <<_ACEOF
45002 /* end confdefs.h. */
45003
45004 #include <sys/types.h>
45005 #include <sys/socket.h>
45006
45007 int
45008 main ()
45009 {
45010
45011 size_t len;
45012 getsockname(0, 0, &len);
45013
45014 ;
45015 return 0;
45016 }
45017 _ACEOF
45018 rm -f conftest.$ac_objext
45019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45020 (eval $ac_compile) 2>conftest.er1
45021 ac_status=$?
45022 grep -v '^ *+' conftest.er1 >conftest.err
45023 rm -f conftest.er1
45024 cat conftest.err >&5
45025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45026 (exit $ac_status); } &&
45027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45029 (eval $ac_try) 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; } &&
45033 { ac_try='test -s conftest.$ac_objext'
45034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45035 (eval $ac_try) 2>&5
45036 ac_status=$?
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); }; }; then
45039 wx_cv_type_getsockname3=size_t
45040 else
45041 echo "$as_me: failed program was:" >&5
45042 sed 's/^/| /' conftest.$ac_ext >&5
45043
45044 cat >conftest.$ac_ext <<_ACEOF
45045 /* confdefs.h. */
45046 _ACEOF
45047 cat confdefs.h >>conftest.$ac_ext
45048 cat >>conftest.$ac_ext <<_ACEOF
45049 /* end confdefs.h. */
45050
45051 #include <sys/types.h>
45052 #include <sys/socket.h>
45053
45054 int
45055 main ()
45056 {
45057
45058 int len;
45059 getsockname(0, 0, &len);
45060
45061 ;
45062 return 0;
45063 }
45064 _ACEOF
45065 rm -f conftest.$ac_objext
45066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45067 (eval $ac_compile) 2>conftest.er1
45068 ac_status=$?
45069 grep -v '^ *+' conftest.er1 >conftest.err
45070 rm -f conftest.er1
45071 cat conftest.err >&5
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); } &&
45074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; } &&
45080 { ac_try='test -s conftest.$ac_objext'
45081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45082 (eval $ac_try) 2>&5
45083 ac_status=$?
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; }; then
45086 wx_cv_type_getsockname3=int
45087 else
45088 echo "$as_me: failed program was:" >&5
45089 sed 's/^/| /' conftest.$ac_ext >&5
45090
45091 wx_cv_type_getsockname3=unknown
45092
45093 fi
45094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45095
45096 fi
45097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45098
45099 CFLAGS="$CFLAGS_OLD"
45100
45101
45102 fi
45103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45104 ac_ext=c
45105 ac_cpp='$CPP $CPPFLAGS'
45106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45109
45110
45111 fi
45112 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45113 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45114
45115 if test "$wx_cv_type_getsockname3" = "unknown"; then
45116 wxUSE_SOCKETS=no
45117 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45118 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45119 else
45120 cat >>confdefs.h <<_ACEOF
45121 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45122 _ACEOF
45123
45124 fi
45125 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45126 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45127 if test "${wx_cv_type_getsockopt5+set}" = set; then
45128 echo $ECHO_N "(cached) $ECHO_C" >&6
45129 else
45130
45131 cat >conftest.$ac_ext <<_ACEOF
45132 /* confdefs.h. */
45133 _ACEOF
45134 cat confdefs.h >>conftest.$ac_ext
45135 cat >>conftest.$ac_ext <<_ACEOF
45136 /* end confdefs.h. */
45137
45138 #include <sys/types.h>
45139 #include <sys/socket.h>
45140
45141 int
45142 main ()
45143 {
45144
45145 socklen_t len;
45146 getsockopt(0, 0, 0, 0, &len);
45147
45148 ;
45149 return 0;
45150 }
45151 _ACEOF
45152 rm -f conftest.$ac_objext
45153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45154 (eval $ac_compile) 2>conftest.er1
45155 ac_status=$?
45156 grep -v '^ *+' conftest.er1 >conftest.err
45157 rm -f conftest.er1
45158 cat conftest.err >&5
45159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45160 (exit $ac_status); } &&
45161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45163 (eval $ac_try) 2>&5
45164 ac_status=$?
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); }; } &&
45167 { ac_try='test -s conftest.$ac_objext'
45168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45169 (eval $ac_try) 2>&5
45170 ac_status=$?
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); }; }; then
45173 wx_cv_type_getsockopt5=socklen_t
45174 else
45175 echo "$as_me: failed program was:" >&5
45176 sed 's/^/| /' conftest.$ac_ext >&5
45177
45178
45179 ac_ext=cc
45180 ac_cpp='$CXXCPP $CPPFLAGS'
45181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45184
45185 cat >conftest.$ac_ext <<_ACEOF
45186 /* confdefs.h. */
45187 _ACEOF
45188 cat confdefs.h >>conftest.$ac_ext
45189 cat >>conftest.$ac_ext <<_ACEOF
45190 /* end confdefs.h. */
45191
45192 #include <sys/types.h>
45193 #include <sys/socket.h>
45194
45195 int
45196 main ()
45197 {
45198
45199 size_t len;
45200 getsockopt(0, 0, 0, 0, &len);
45201
45202 ;
45203 return 0;
45204 }
45205 _ACEOF
45206 rm -f conftest.$ac_objext
45207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45208 (eval $ac_compile) 2>conftest.er1
45209 ac_status=$?
45210 grep -v '^ *+' conftest.er1 >conftest.err
45211 rm -f conftest.er1
45212 cat conftest.err >&5
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); } &&
45215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45217 (eval $ac_try) 2>&5
45218 ac_status=$?
45219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45220 (exit $ac_status); }; } &&
45221 { ac_try='test -s conftest.$ac_objext'
45222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45223 (eval $ac_try) 2>&5
45224 ac_status=$?
45225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45226 (exit $ac_status); }; }; then
45227 wx_cv_type_getsockopt5=size_t
45228 else
45229 echo "$as_me: failed program was:" >&5
45230 sed 's/^/| /' conftest.$ac_ext >&5
45231
45232 cat >conftest.$ac_ext <<_ACEOF
45233 /* confdefs.h. */
45234 _ACEOF
45235 cat confdefs.h >>conftest.$ac_ext
45236 cat >>conftest.$ac_ext <<_ACEOF
45237 /* end confdefs.h. */
45238
45239 #include <sys/types.h>
45240 #include <sys/socket.h>
45241
45242 int
45243 main ()
45244 {
45245
45246 int len;
45247 getsockopt(0, 0, 0, 0, &len);
45248
45249 ;
45250 return 0;
45251 }
45252 _ACEOF
45253 rm -f conftest.$ac_objext
45254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45255 (eval $ac_compile) 2>conftest.er1
45256 ac_status=$?
45257 grep -v '^ *+' conftest.er1 >conftest.err
45258 rm -f conftest.er1
45259 cat conftest.err >&5
45260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261 (exit $ac_status); } &&
45262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45264 (eval $ac_try) 2>&5
45265 ac_status=$?
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); }; } &&
45268 { ac_try='test -s conftest.$ac_objext'
45269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45270 (eval $ac_try) 2>&5
45271 ac_status=$?
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); }; }; then
45274 wx_cv_type_getsockopt5=int
45275 else
45276 echo "$as_me: failed program was:" >&5
45277 sed 's/^/| /' conftest.$ac_ext >&5
45278
45279 wx_cv_type_getsockopt5=unknown
45280
45281 fi
45282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45283
45284 fi
45285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45286 ac_ext=c
45287 ac_cpp='$CPP $CPPFLAGS'
45288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45291
45292
45293
45294 fi
45295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45296
45297 fi
45298 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45299 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45300
45301 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45302 wxUSE_SOCKETS=no
45303 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45304 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45305 else
45306 cat >>confdefs.h <<_ACEOF
45307 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45308 _ACEOF
45309
45310 fi
45311 fi
45312 fi
45313
45314 if test "$wxUSE_SOCKETS" = "yes" ; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_SOCKETS 1
45317 _ACEOF
45318
45319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45320 fi
45321
45322 if test "$wxUSE_PROTOCOL" = "yes"; then
45323 if test "$wxUSE_SOCKETS" != "yes"; then
45324 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45325 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45326 wxUSE_PROTOCOL=no
45327 fi
45328 fi
45329
45330 if test "$wxUSE_PROTOCOL" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_PROTOCOL 1
45333 _ACEOF
45334
45335
45336 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_PROTOCOL_HTTP 1
45339 _ACEOF
45340
45341 fi
45342 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_PROTOCOL_FTP 1
45345 _ACEOF
45346
45347 fi
45348 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_PROTOCOL_FILE 1
45351 _ACEOF
45352
45353 fi
45354 else
45355 if test "$wxUSE_FS_INET" = "yes"; then
45356 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45357 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45358 wxUSE_FS_INET="no"
45359 fi
45360 fi
45361
45362 if test "$wxUSE_URL" = "yes"; then
45363 if test "$wxUSE_PROTOCOL" != "yes"; then
45364 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45365 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45366 wxUSE_URL=no
45367 fi
45368 if test "$wxUSE_URL" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_URL 1
45371 _ACEOF
45372
45373 fi
45374 fi
45375
45376 if test "$wxUSE_VARIANT" = "yes"; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_VARIANT 1
45379 _ACEOF
45380
45381 fi
45382
45383 if test "$wxUSE_FS_INET" = "yes"; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_FS_INET 1
45386 _ACEOF
45387
45388 fi
45389
45390
45391 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45392 wxUSE_JOYSTICK=no
45393
45394 if test "$TOOLKIT" = "MSW"; then
45395 wxUSE_JOYSTICK=yes
45396
45397 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45398 if test "$USE_DARWIN" = 1; then
45399 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45400 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45401 ac_ext=cc
45402 ac_cpp='$CXXCPP $CPPFLAGS'
45403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45406
45407 cat >conftest.$ac_ext <<_ACEOF
45408 /* confdefs.h. */
45409 _ACEOF
45410 cat confdefs.h >>conftest.$ac_ext
45411 cat >>conftest.$ac_ext <<_ACEOF
45412 /* end confdefs.h. */
45413 #include <IOKit/hid/IOHIDLib.h>
45414 int
45415 main ()
45416 {
45417 IOHIDQueueInterface *qi = NULL;
45418 IOHIDCallbackFunction cb = NULL;
45419 qi->setEventCallout(NULL, cb, NULL, NULL);
45420 ;
45421 return 0;
45422 }
45423 _ACEOF
45424 rm -f conftest.$ac_objext
45425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45426 (eval $ac_compile) 2>conftest.er1
45427 ac_status=$?
45428 grep -v '^ *+' conftest.er1 >conftest.err
45429 rm -f conftest.er1
45430 cat conftest.err >&5
45431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432 (exit $ac_status); } &&
45433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435 (eval $ac_try) 2>&5
45436 ac_status=$?
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; } &&
45439 { ac_try='test -s conftest.$ac_objext'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; }; then
45445 wxUSE_JOYSTICK=yes
45446
45447 else
45448 echo "$as_me: failed program was:" >&5
45449 sed 's/^/| /' conftest.$ac_ext >&5
45450
45451 fi
45452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45453 ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458
45459 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45460 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45461 fi
45462
45463 else
45464 if test "$wxUSE_MGL" != "1"; then
45465 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45466 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
45467 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45468 echo $ECHO_N "(cached) $ECHO_C" >&6
45469 else
45470 cat >conftest.$ac_ext <<_ACEOF
45471 /* confdefs.h. */
45472 _ACEOF
45473 cat confdefs.h >>conftest.$ac_ext
45474 cat >>conftest.$ac_ext <<_ACEOF
45475 /* end confdefs.h. */
45476 #include <stdio.h>
45477
45478 #include <linux/joystick.h>
45479 _ACEOF
45480 rm -f conftest.$ac_objext
45481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45482 (eval $ac_compile) 2>conftest.er1
45483 ac_status=$?
45484 grep -v '^ *+' conftest.er1 >conftest.err
45485 rm -f conftest.er1
45486 cat conftest.err >&5
45487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45488 (exit $ac_status); } &&
45489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45491 (eval $ac_try) 2>&5
45492 ac_status=$?
45493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45494 (exit $ac_status); }; } &&
45495 { ac_try='test -s conftest.$ac_objext'
45496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45497 (eval $ac_try) 2>&5
45498 ac_status=$?
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); }; }; then
45501 ac_cv_header_linux_joystick_h=yes
45502 else
45503 echo "$as_me: failed program was:" >&5
45504 sed 's/^/| /' conftest.$ac_ext >&5
45505
45506 ac_cv_header_linux_joystick_h=no
45507 fi
45508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45509 fi
45510 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45511 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
45512 if test $ac_cv_header_linux_joystick_h = yes; then
45513 wxUSE_JOYSTICK=yes
45514 fi
45515
45516
45517 fi
45518 fi
45519
45520 if test "$wxUSE_JOYSTICK" = "yes"; then
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_JOYSTICK 1
45523 _ACEOF
45524
45525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45526 else
45527 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45528 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45529 fi
45530 fi
45531
45532
45533
45534 if test "$wxUSE_FONTMAP" = "yes" ; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_FONTMAP 1
45537 _ACEOF
45538
45539 fi
45540
45541 if test "$wxUSE_UNICODE" = "yes" ; then
45542 cat >>confdefs.h <<\_ACEOF
45543 #define wxUSE_UNICODE 1
45544 _ACEOF
45545
45546
45547 if test "$USE_WIN32" != 1; then
45548 wxUSE_UNICODE_MSLU=no
45549 fi
45550
45551 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45552 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45553 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45554 if test "${ac_cv_lib_unicows_main+set}" = set; then
45555 echo $ECHO_N "(cached) $ECHO_C" >&6
45556 else
45557 ac_check_lib_save_LIBS=$LIBS
45558 LIBS="-lunicows $LIBS"
45559 cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h. */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h. */
45565
45566
45567 int
45568 main ()
45569 {
45570 main ();
45571 ;
45572 return 0;
45573 }
45574 _ACEOF
45575 rm -f conftest.$ac_objext conftest$ac_exeext
45576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45577 (eval $ac_link) 2>conftest.er1
45578 ac_status=$?
45579 grep -v '^ *+' conftest.er1 >conftest.err
45580 rm -f conftest.er1
45581 cat conftest.err >&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } &&
45584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45586 (eval $ac_try) 2>&5
45587 ac_status=$?
45588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589 (exit $ac_status); }; } &&
45590 { ac_try='test -s conftest$ac_exeext'
45591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45592 (eval $ac_try) 2>&5
45593 ac_status=$?
45594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45595 (exit $ac_status); }; }; then
45596 ac_cv_lib_unicows_main=yes
45597 else
45598 echo "$as_me: failed program was:" >&5
45599 sed 's/^/| /' conftest.$ac_ext >&5
45600
45601 ac_cv_lib_unicows_main=no
45602 fi
45603 rm -f conftest.err conftest.$ac_objext \
45604 conftest$ac_exeext conftest.$ac_ext
45605 LIBS=$ac_check_lib_save_LIBS
45606 fi
45607 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45608 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45609 if test $ac_cv_lib_unicows_main = yes; then
45610
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_UNICODE_MSLU 1
45613 _ACEOF
45614
45615
45616 else
45617
45618 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45619 Applications will only run on Windows NT/2000/XP!" >&5
45620 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45621 Applications will only run on Windows NT/2000/XP!" >&2;}
45622 wxUSE_UNICODE_MSLU=no
45623
45624 fi
45625
45626 fi
45627 fi
45628
45629 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_EXPERIMENTAL_PRINTF 1
45632 _ACEOF
45633
45634 fi
45635
45636
45637 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_POSTSCRIPT 1
45640 _ACEOF
45641
45642 fi
45643
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45646 _ACEOF
45647
45648
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_NORMALIZED_PS_FONTS 1
45651 _ACEOF
45652
45653
45654
45655 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_CONSTRAINTS 1
45658 _ACEOF
45659
45660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45661 fi
45662
45663 if test "$wxUSE_MDI" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_MDI 1
45666 _ACEOF
45667
45668
45669 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_MDI_ARCHITECTURE 1
45672 _ACEOF
45673
45674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45675 fi
45676 fi
45677
45678 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45681 _ACEOF
45682
45683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45684 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45686 fi
45687 fi
45688
45689 if test "$wxUSE_HELP" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_HELP 1
45692 _ACEOF
45693
45694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45695
45696 if test "$wxUSE_MSW" = 1; then
45697 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_MS_HTML_HELP 1
45700 _ACEOF
45701
45702 fi
45703 fi
45704
45705 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45706 if test "$wxUSE_HTML" = "yes"; then
45707 cat >>confdefs.h <<\_ACEOF
45708 #define wxUSE_WXHTML_HELP 1
45709 _ACEOF
45710
45711 else
45712 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45713 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45714 wxUSE_WXHTML_HELP=no
45715 fi
45716 fi
45717 fi
45718
45719 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45720 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45721 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45722 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45723 else
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_PRINTING_ARCHITECTURE 1
45726 _ACEOF
45727
45728 fi
45729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45730 fi
45731
45732 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45733 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45734 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45735 { (exit 1); exit 1; }; }
45736 fi
45737
45738
45739 if test "$wxUSE_METAFILE" = "yes"; then
45740 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45741 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45742 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45743 wxUSE_METAFILE=no
45744 fi
45745 fi
45746
45747
45748 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45749 -o "$wxUSE_CLIPBOARD" = "yes" \
45750 -o "$wxUSE_OLE" = "yes" \
45751 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45752
45753 for ac_header in ole2.h
45754 do
45755 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45757 echo "$as_me:$LINENO: checking for $ac_header" >&5
45758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45760 echo $ECHO_N "(cached) $ECHO_C" >&6
45761 fi
45762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45764 else
45765 # Is the header compilable?
45766 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45768 cat >conftest.$ac_ext <<_ACEOF
45769 /* confdefs.h. */
45770 _ACEOF
45771 cat confdefs.h >>conftest.$ac_ext
45772 cat >>conftest.$ac_ext <<_ACEOF
45773 /* end confdefs.h. */
45774 $ac_includes_default
45775 #include <$ac_header>
45776 _ACEOF
45777 rm -f conftest.$ac_objext
45778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45779 (eval $ac_compile) 2>conftest.er1
45780 ac_status=$?
45781 grep -v '^ *+' conftest.er1 >conftest.err
45782 rm -f conftest.er1
45783 cat conftest.err >&5
45784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45785 (exit $ac_status); } &&
45786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45788 (eval $ac_try) 2>&5
45789 ac_status=$?
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); }; } &&
45792 { ac_try='test -s conftest.$ac_objext'
45793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45794 (eval $ac_try) 2>&5
45795 ac_status=$?
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); }; }; then
45798 ac_header_compiler=yes
45799 else
45800 echo "$as_me: failed program was:" >&5
45801 sed 's/^/| /' conftest.$ac_ext >&5
45802
45803 ac_header_compiler=no
45804 fi
45805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45807 echo "${ECHO_T}$ac_header_compiler" >&6
45808
45809 # Is the header present?
45810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45812 cat >conftest.$ac_ext <<_ACEOF
45813 /* confdefs.h. */
45814 _ACEOF
45815 cat confdefs.h >>conftest.$ac_ext
45816 cat >>conftest.$ac_ext <<_ACEOF
45817 /* end confdefs.h. */
45818 #include <$ac_header>
45819 _ACEOF
45820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45822 ac_status=$?
45823 grep -v '^ *+' conftest.er1 >conftest.err
45824 rm -f conftest.er1
45825 cat conftest.err >&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } >/dev/null; then
45828 if test -s conftest.err; then
45829 ac_cpp_err=$ac_c_preproc_warn_flag
45830 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45831 else
45832 ac_cpp_err=
45833 fi
45834 else
45835 ac_cpp_err=yes
45836 fi
45837 if test -z "$ac_cpp_err"; then
45838 ac_header_preproc=yes
45839 else
45840 echo "$as_me: failed program was:" >&5
45841 sed 's/^/| /' conftest.$ac_ext >&5
45842
45843 ac_header_preproc=no
45844 fi
45845 rm -f conftest.err conftest.$ac_ext
45846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45847 echo "${ECHO_T}$ac_header_preproc" >&6
45848
45849 # So? What about this header?
45850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45851 yes:no: )
45852 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45856 ac_header_preproc=yes
45857 ;;
45858 no:yes:* )
45859 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45861 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45862 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45863 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45865 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45866 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45869 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45871 (
45872 cat <<\_ASBOX
45873 ## ----------------------------------------- ##
45874 ## Report this to wx-dev@lists.wxwidgets.org ##
45875 ## ----------------------------------------- ##
45876 _ASBOX
45877 ) |
45878 sed "s/^/$as_me: WARNING: /" >&2
45879 ;;
45880 esac
45881 echo "$as_me:$LINENO: checking for $ac_header" >&5
45882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45884 echo $ECHO_N "(cached) $ECHO_C" >&6
45885 else
45886 eval "$as_ac_Header=\$ac_header_preproc"
45887 fi
45888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45890
45891 fi
45892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45893 cat >>confdefs.h <<_ACEOF
45894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45895 _ACEOF
45896
45897 fi
45898
45899 done
45900
45901
45902 if test "$ac_cv_header_ole2_h" = "yes" ; then
45903 if test "$GCC" = yes ; then
45904 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45905 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45906 cat >conftest.$ac_ext <<_ACEOF
45907 /* confdefs.h. */
45908 _ACEOF
45909 cat confdefs.h >>conftest.$ac_ext
45910 cat >>conftest.$ac_ext <<_ACEOF
45911 /* end confdefs.h. */
45912 #include <windows.h>
45913 #include <ole2.h>
45914 int
45915 main ()
45916 {
45917
45918 ;
45919 return 0;
45920 }
45921 _ACEOF
45922 rm -f conftest.$ac_objext
45923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45924 (eval $ac_compile) 2>conftest.er1
45925 ac_status=$?
45926 grep -v '^ *+' conftest.er1 >conftest.err
45927 rm -f conftest.er1
45928 cat conftest.err >&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } &&
45931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45933 (eval $ac_try) 2>&5
45934 ac_status=$?
45935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45936 (exit $ac_status); }; } &&
45937 { ac_try='test -s conftest.$ac_objext'
45938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45939 (eval $ac_try) 2>&5
45940 ac_status=$?
45941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45942 (exit $ac_status); }; }; then
45943 echo "$as_me:$LINENO: result: no" >&5
45944 echo "${ECHO_T}no" >&6
45945 else
45946 echo "$as_me: failed program was:" >&5
45947 sed 's/^/| /' conftest.$ac_ext >&5
45948
45949 echo "$as_me:$LINENO: result: yes" >&5
45950 echo "${ECHO_T}yes" >&6
45951 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45952 fi
45953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45954 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45955 if test "$wxUSE_OLE" = "yes" ; then
45956 cat >>confdefs.h <<\_ACEOF
45957 #define wxUSE_OLE 1
45958 _ACEOF
45959
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_OLE_AUTOMATION 1
45962 _ACEOF
45963
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_OLE_ACTIVEX 1
45966 _ACEOF
45967
45968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45969 fi
45970 fi
45971
45972 if test "$wxUSE_DATAOBJ" = "yes" ; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_DATAOBJ 1
45975 _ACEOF
45976
45977 fi
45978 else
45979 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45980 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45981
45982 wxUSE_CLIPBOARD=no
45983 wxUSE_DRAG_AND_DROP=no
45984 wxUSE_DATAOBJ=no
45985 wxUSE_OLE=no
45986 fi
45987
45988 if test "$wxUSE_METAFILE" = "yes"; then
45989 cat >>confdefs.h <<\_ACEOF
45990 #define wxUSE_METAFILE 1
45991 _ACEOF
45992
45993
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_ENH_METAFILE 1
45996 _ACEOF
45997
45998 fi
45999 fi
46000
46001 if test "$wxUSE_IPC" = "yes"; then
46002 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46003 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46004 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46005 wxUSE_IPC=no
46006 fi
46007
46008 if test "$wxUSE_IPC" = "yes"; then
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_IPC 1
46011 _ACEOF
46012
46013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46014 fi
46015 fi
46016
46017 if test "$wxUSE_DATAOBJ" = "yes"; then
46018 if test "$wxUSE_MGL" = 1; then
46019 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46020 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46021 wxUSE_DATAOBJ=no
46022 else
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_DATAOBJ 1
46025 _ACEOF
46026
46027 fi
46028 else
46029 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46030 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46031 wxUSE_CLIPBOARD=no
46032 wxUSE_DRAG_AND_DROP=no
46033 fi
46034
46035 if test "$wxUSE_CLIPBOARD" = "yes"; then
46036 if test "$wxUSE_MGL" = 1; then
46037 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46038 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46039 wxUSE_CLIPBOARD=no
46040 fi
46041
46042 if test "$wxUSE_CLIPBOARD" = "yes"; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_CLIPBOARD 1
46045 _ACEOF
46046
46047 fi
46048 fi
46049
46050 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46051 if test "$wxUSE_GTK" = 1; then
46052 if test "$WXGTK12" != 1; then
46053 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46054 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46055 wxUSE_DRAG_AND_DROP=no
46056 fi
46057 fi
46058
46059 if test "$wxUSE_MOTIF" = 1; then
46060 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46061 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46062 wxUSE_DRAG_AND_DROP=no
46063 fi
46064
46065 if test "$wxUSE_X11" = 1; then
46066 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46067 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46068 wxUSE_DRAG_AND_DROP=no
46069 fi
46070
46071 if test "$wxUSE_MGL" = 1; then
46072 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46073 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46074 wxUSE_DRAG_AND_DROP=no
46075 fi
46076
46077 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_DRAG_AND_DROP 1
46080 _ACEOF
46081
46082 fi
46083
46084 fi
46085
46086 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46088 fi
46089
46090 if test "$wxUSE_SPLINES" = "yes" ; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_SPLINES 1
46093 _ACEOF
46094
46095 fi
46096
46097 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_MOUSEWHEEL 1
46100 _ACEOF
46101
46102 fi
46103
46104
46105 USES_CONTROLS=0
46106 if test "$wxUSE_CONTROLS" = "yes"; then
46107 USES_CONTROLS=1
46108 fi
46109
46110 if test "$wxUSE_ACCEL" = "yes"; then
46111 cat >>confdefs.h <<\_ACEOF
46112 #define wxUSE_ACCEL 1
46113 _ACEOF
46114
46115 USES_CONTROLS=1
46116 fi
46117
46118 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_ANIMATIONCTRL 1
46121 _ACEOF
46122
46123 USES_CONTROLS=1
46124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46125 fi
46126
46127 if test "$wxUSE_BUTTON" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_BUTTON 1
46130 _ACEOF
46131
46132 USES_CONTROLS=1
46133 fi
46134
46135 if test "$wxUSE_BMPBUTTON" = "yes"; then
46136 cat >>confdefs.h <<\_ACEOF
46137 #define wxUSE_BMPBUTTON 1
46138 _ACEOF
46139
46140 USES_CONTROLS=1
46141 fi
46142
46143 if test "$wxUSE_CALCTRL" = "yes"; then
46144 cat >>confdefs.h <<\_ACEOF
46145 #define wxUSE_CALENDARCTRL 1
46146 _ACEOF
46147
46148 USES_CONTROLS=1
46149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46150 fi
46151
46152 if test "$wxUSE_CARET" = "yes"; then
46153 cat >>confdefs.h <<\_ACEOF
46154 #define wxUSE_CARET 1
46155 _ACEOF
46156
46157 USES_CONTROLS=1
46158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46159 fi
46160
46161 if test "$wxUSE_COLLPANE" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_COLLPANE 1
46164 _ACEOF
46165
46166 USES_CONTROLS=1
46167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46168 fi
46169
46170 if test "$wxUSE_COMBOBOX" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_COMBOBOX 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 fi
46177
46178 if test "$wxUSE_COMBOCTRL" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_COMBOCTRL 1
46181 _ACEOF
46182
46183 USES_CONTROLS=1
46184 fi
46185
46186 if test "$wxUSE_CHOICE" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_CHOICE 1
46189 _ACEOF
46190
46191 USES_CONTROLS=1
46192 fi
46193
46194 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46195 cat >>confdefs.h <<\_ACEOF
46196 #define wxUSE_CHOICEBOOK 1
46197 _ACEOF
46198
46199 USES_CONTROLS=1
46200 fi
46201
46202 if test "$wxUSE_CHECKBOX" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_CHECKBOX 1
46205 _ACEOF
46206
46207 USES_CONTROLS=1
46208 fi
46209
46210 if test "$wxUSE_CHECKLST" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_CHECKLISTBOX 1
46213 _ACEOF
46214
46215 USES_CONTROLS=1
46216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46217 fi
46218
46219 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_COLOURPICKERCTRL 1
46222 _ACEOF
46223
46224 USES_CONTROLS=1
46225 fi
46226
46227 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_DATEPICKCTRL 1
46230 _ACEOF
46231
46232 USES_CONTROLS=1
46233 fi
46234
46235 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_DIRPICKERCTRL 1
46238 _ACEOF
46239
46240 USES_CONTROLS=1
46241 fi
46242
46243 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_FILEPICKERCTRL 1
46246 _ACEOF
46247
46248 USES_CONTROLS=1
46249 fi
46250
46251 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_FONTPICKERCTRL 1
46254 _ACEOF
46255
46256 USES_CONTROLS=1
46257 fi
46258
46259 if test "$wxUSE_DISPLAY" = "yes"; then
46260 cat >>confdefs.h <<\_ACEOF
46261 #define wxUSE_DISPLAY 1
46262 _ACEOF
46263
46264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46265 fi
46266
46267 if test "$wxUSE_DETECT_SM" = "yes"; then
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_DETECT_SM 1
46270 _ACEOF
46271
46272 fi
46273
46274 if test "$wxUSE_GAUGE" = "yes"; then
46275 cat >>confdefs.h <<\_ACEOF
46276 #define wxUSE_GAUGE 1
46277 _ACEOF
46278
46279 USES_CONTROLS=1
46280 fi
46281
46282 if test "$wxUSE_GRID" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_GRID 1
46285 _ACEOF
46286
46287 USES_CONTROLS=1
46288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46289 fi
46290
46291 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46292 cat >>confdefs.h <<\_ACEOF
46293 #define wxUSE_HYPERLINKCTRL 1
46294 _ACEOF
46295
46296 USES_CONTROLS=1
46297 fi
46298
46299 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46300 cat >>confdefs.h <<\_ACEOF
46301 #define wxUSE_BITMAPCOMBOBOX 1
46302 _ACEOF
46303
46304 USES_CONTROLS=1
46305 fi
46306
46307 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_DATAVIEWCTRL 1
46310 _ACEOF
46311
46312 USES_CONTROLS=1
46313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46314 fi
46315
46316 if test "$wxUSE_IMAGLIST" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_IMAGLIST 1
46319 _ACEOF
46320
46321 fi
46322
46323 if test "$wxUSE_LISTBOOK" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_LISTBOOK 1
46326 _ACEOF
46327
46328 USES_CONTROLS=1
46329 fi
46330
46331 if test "$wxUSE_LISTBOX" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_LISTBOX 1
46334 _ACEOF
46335
46336 USES_CONTROLS=1
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46338 fi
46339
46340 if test "$wxUSE_LISTCTRL" = "yes"; then
46341 if test "$wxUSE_IMAGLIST" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_LISTCTRL 1
46344 _ACEOF
46345
46346 USES_CONTROLS=1
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46348 else
46349 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46350 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46351 fi
46352 fi
46353
46354 if test "$wxUSE_NOTEBOOK" = "yes"; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_NOTEBOOK 1
46357 _ACEOF
46358
46359 USES_CONTROLS=1
46360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46361 fi
46362
46363 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46364 cat >>confdefs.h <<\_ACEOF
46365 #define wxUSE_ODCOMBOBOX 1
46366 _ACEOF
46367
46368 USES_CONTROLS=1
46369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46370 fi
46371
46372
46373 if test "$wxUSE_RADIOBOX" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_RADIOBOX 1
46376 _ACEOF
46377
46378 USES_CONTROLS=1
46379 fi
46380
46381 if test "$wxUSE_RADIOBTN" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_RADIOBTN 1
46384 _ACEOF
46385
46386 USES_CONTROLS=1
46387 fi
46388
46389 if test "$wxUSE_SASH" = "yes"; then
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_SASH 1
46392 _ACEOF
46393
46394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46395 fi
46396
46397 if test "$wxUSE_SCROLLBAR" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_SCROLLBAR 1
46400 _ACEOF
46401
46402 USES_CONTROLS=1
46403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46404 fi
46405
46406 if test "$wxUSE_SLIDER" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_SLIDER 1
46409 _ACEOF
46410
46411 USES_CONTROLS=1
46412 fi
46413
46414 if test "$wxUSE_SPINBTN" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_SPINBTN 1
46417 _ACEOF
46418
46419 USES_CONTROLS=1
46420 fi
46421
46422 if test "$wxUSE_SPINCTRL" = "yes"; then
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_SPINCTRL 1
46425 _ACEOF
46426
46427 USES_CONTROLS=1
46428 fi
46429
46430 if test "$wxUSE_SPLITTER" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_SPLITTER 1
46433 _ACEOF
46434
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46436 fi
46437
46438 if test "$wxUSE_STATBMP" = "yes"; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_STATBMP 1
46441 _ACEOF
46442
46443 USES_CONTROLS=1
46444 fi
46445
46446 if test "$wxUSE_STATBOX" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_STATBOX 1
46449 _ACEOF
46450
46451 USES_CONTROLS=1
46452 fi
46453
46454 if test "$wxUSE_STATTEXT" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_STATTEXT 1
46457 _ACEOF
46458
46459 USES_CONTROLS=1
46460 fi
46461
46462 if test "$wxUSE_STATLINE" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_STATLINE 1
46465 _ACEOF
46466
46467 USES_CONTROLS=1
46468 fi
46469
46470 if test "$wxUSE_STATUSBAR" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_NATIVE_STATUSBAR 1
46473 _ACEOF
46474
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_STATUSBAR 1
46477 _ACEOF
46478
46479 USES_CONTROLS=1
46480
46481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46482 fi
46483
46484 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_TAB_DIALOG 1
46487 _ACEOF
46488
46489 fi
46490
46491 if test "$wxUSE_TEXTCTRL" = "yes"; then
46492 cat >>confdefs.h <<\_ACEOF
46493 #define wxUSE_TEXTCTRL 1
46494 _ACEOF
46495
46496 USES_CONTROLS=1
46497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46498 fi
46499
46500 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46501 if test "$wxUSE_COCOA" = 1 ; then
46502 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46503 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46504 wxUSE_TOGGLEBTN=no
46505 fi
46506
46507 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_TOGGLEBTN 1
46510 _ACEOF
46511
46512 USES_CONTROLS=1
46513 fi
46514 fi
46515
46516 if test "$wxUSE_TOOLBAR" = "yes"; then
46517 cat >>confdefs.h <<\_ACEOF
46518 #define wxUSE_TOOLBAR 1
46519 _ACEOF
46520
46521 USES_CONTROLS=1
46522
46523 if test "$wxUSE_UNIVERSAL" = "yes"; then
46524 wxUSE_TOOLBAR_NATIVE="no"
46525 else
46526 wxUSE_TOOLBAR_NATIVE="yes"
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_TOOLBAR_NATIVE 1
46529 _ACEOF
46530
46531 fi
46532
46533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46534 fi
46535
46536 if test "$wxUSE_TOOLTIPS" = "yes"; then
46537 if test "$wxUSE_MOTIF" = 1; then
46538 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46539 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46540 else
46541 if test "$wxUSE_UNIVERSAL" = "yes"; then
46542 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46543 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46544 else
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_TOOLTIPS 1
46547 _ACEOF
46548
46549 fi
46550 fi
46551 fi
46552
46553 if test "$wxUSE_TREEBOOK" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_TREEBOOK 1
46556 _ACEOF
46557
46558 USES_CONTROLS=1
46559 fi
46560
46561 if test "$wxUSE_TOOLBOOK" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_TOOLBOOK 1
46564 _ACEOF
46565
46566 USES_CONTROLS=1
46567 fi
46568
46569 if test "$wxUSE_TREECTRL" = "yes"; then
46570 if test "$wxUSE_IMAGLIST" = "yes"; then
46571 cat >>confdefs.h <<\_ACEOF
46572 #define wxUSE_TREECTRL 1
46573 _ACEOF
46574
46575 USES_CONTROLS=1
46576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46577 else
46578 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46579 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46580 fi
46581 fi
46582
46583 if test "$wxUSE_POPUPWIN" = "yes"; then
46584 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46585 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46586 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46587 else
46588 if test "$wxUSE_PM" = 1; then
46589 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46590 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46591 else
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_POPUPWIN 1
46594 _ACEOF
46595
46596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46597
46598 USES_CONTROLS=1
46599 fi
46600 fi
46601 fi
46602
46603 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46604 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46605 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46606 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46607 else
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_DIALUP_MANAGER 1
46610 _ACEOF
46611
46612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46613 fi
46614 fi
46615
46616 if test "$wxUSE_TIPWINDOW" = "yes"; then
46617 if test "$wxUSE_PM" = 1; then
46618 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46619 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46620 else
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_TIPWINDOW 1
46623 _ACEOF
46624
46625 fi
46626 fi
46627
46628 if test "$USES_CONTROLS" = 1; then
46629 cat >>confdefs.h <<\_ACEOF
46630 #define wxUSE_CONTROLS 1
46631 _ACEOF
46632
46633 fi
46634
46635
46636 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46637 cat >>confdefs.h <<\_ACEOF
46638 #define wxUSE_ACCESSIBILITY 1
46639 _ACEOF
46640
46641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46642 fi
46643
46644 if test "$wxUSE_DC_CACHEING" = "yes"; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_DC_CACHEING 1
46647 _ACEOF
46648
46649 fi
46650
46651 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_DRAGIMAGE 1
46654 _ACEOF
46655
46656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46657 fi
46658
46659 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46660 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46661 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46662 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46663 else
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_EXCEPTIONS 1
46666 _ACEOF
46667
46668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46669 fi
46670 fi
46671
46672 USE_HTML=0
46673 if test "$wxUSE_HTML" = "yes"; then
46674 cat >>confdefs.h <<\_ACEOF
46675 #define wxUSE_HTML 1
46676 _ACEOF
46677
46678 USE_HTML=1
46679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46680 if test "$wxUSE_MAC" = 1; then
46681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46682 fi
46683 fi
46684 if test "$wxUSE_WEBKIT" = "yes"; then
46685 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46686 old_CPPFLAGS="$CPPFLAGS"
46687 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46688 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46689 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46690 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46692 else
46693 cat >conftest.$ac_ext <<_ACEOF
46694 /* confdefs.h. */
46695 _ACEOF
46696 cat confdefs.h >>conftest.$ac_ext
46697 cat >>conftest.$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46699 #include <Carbon/Carbon.h>
46700
46701 #include <WebKit/HIWebView.h>
46702 _ACEOF
46703 rm -f conftest.$ac_objext
46704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46705 (eval $ac_compile) 2>conftest.er1
46706 ac_status=$?
46707 grep -v '^ *+' conftest.er1 >conftest.err
46708 rm -f conftest.er1
46709 cat conftest.err >&5
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); } &&
46712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 (eval $ac_try) 2>&5
46715 ac_status=$?
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; } &&
46718 { ac_try='test -s conftest.$ac_objext'
46719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46720 (eval $ac_try) 2>&5
46721 ac_status=$?
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; }; then
46724 ac_cv_header_WebKit_HIWebView_h=yes
46725 else
46726 echo "$as_me: failed program was:" >&5
46727 sed 's/^/| /' conftest.$ac_ext >&5
46728
46729 ac_cv_header_WebKit_HIWebView_h=no
46730 fi
46731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46732 fi
46733 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46734 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46735 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46736
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_WEBKIT 1
46739 _ACEOF
46740
46741 WEBKIT_LINK="-framework WebKit"
46742
46743 else
46744
46745 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46746 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46747 wxUSE_WEBKIT=no
46748
46749 fi
46750
46751
46752 CPPFLAGS="$old_CPPFLAGS"
46753 elif test "$wxUSE_COCOA" = 1; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_WEBKIT 1
46756 _ACEOF
46757
46758 else
46759 wxUSE_WEBKIT=no
46760 fi
46761 fi
46762
46763 USE_XRC=0
46764 if test "$wxUSE_XRC" = "yes"; then
46765 if test "$wxUSE_XML" != "yes"; then
46766 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46767 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46768 wxUSE_XRC=no
46769 else
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_XRC 1
46772 _ACEOF
46773
46774 USE_XRC=1
46775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46776 fi
46777 fi
46778
46779 USE_AUI=0
46780 if test "$wxUSE_AUI" = "yes"; then
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_AUI 1
46783 _ACEOF
46784
46785 USE_AUI=1
46786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46787 fi
46788
46789 if test "$wxUSE_MENUS" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_MENUS 1
46792 _ACEOF
46793
46794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46795 fi
46796
46797 if test "$wxUSE_METAFILE" = "yes"; then
46798 cat >>confdefs.h <<\_ACEOF
46799 #define wxUSE_METAFILE 1
46800 _ACEOF
46801
46802 fi
46803
46804 if test "$wxUSE_MIMETYPE" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_MIMETYPE 1
46807 _ACEOF
46808
46809 fi
46810
46811 if test "$wxUSE_MINIFRAME" = "yes"; then
46812 cat >>confdefs.h <<\_ACEOF
46813 #define wxUSE_MINIFRAME 1
46814 _ACEOF
46815
46816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46817 fi
46818
46819 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_SYSTEM_OPTIONS 1
46822 _ACEOF
46823
46824 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46825 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46827 fi
46828 fi
46829
46830
46831 if test "$wxUSE_VALIDATORS" = "yes"; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_VALIDATORS 1
46834 _ACEOF
46835
46836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46837 fi
46838
46839 if test "$wxUSE_PALETTE" = "yes" ; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_PALETTE 1
46842 _ACEOF
46843
46844 fi
46845
46846 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46847 LIBS=" -lunicows $LIBS"
46848 fi
46849
46850 USE_RICHTEXT=0
46851 if test "$wxUSE_RICHTEXT" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_RICHTEXT 1
46854 _ACEOF
46855
46856 USE_RICHTEXT=1
46857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46858 fi
46859
46860
46861 if test "$wxUSE_IMAGE" = "yes" ; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_IMAGE 1
46864 _ACEOF
46865
46866
46867 if test "$wxUSE_GIF" = "yes" ; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_GIF 1
46870 _ACEOF
46871
46872 fi
46873
46874 if test "$wxUSE_PCX" = "yes" ; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_PCX 1
46877 _ACEOF
46878
46879 fi
46880
46881 if test "$wxUSE_TGA" = "yes" ; then
46882 cat >>confdefs.h <<\_ACEOF
46883 #define wxUSE_TGA 1
46884 _ACEOF
46885
46886 fi
46887
46888 if test "$wxUSE_IFF" = "yes" ; then
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_IFF 1
46891 _ACEOF
46892
46893 fi
46894
46895 if test "$wxUSE_PNM" = "yes" ; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_PNM 1
46898 _ACEOF
46899
46900 fi
46901
46902 if test "$wxUSE_XPM" = "yes" ; then
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_XPM 1
46905 _ACEOF
46906
46907 fi
46908
46909 if test "$wxUSE_ICO_CUR" = "yes" ; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_ICO_CUR 1
46912 _ACEOF
46913
46914 fi
46915 fi
46916
46917
46918 if test "$wxUSE_ABOUTDLG" = "yes"; then
46919 cat >>confdefs.h <<\_ACEOF
46920 #define wxUSE_ABOUTDLG 1
46921 _ACEOF
46922
46923 fi
46924
46925 if test "$wxUSE_CHOICEDLG" = "yes"; then
46926 cat >>confdefs.h <<\_ACEOF
46927 #define wxUSE_CHOICEDLG 1
46928 _ACEOF
46929
46930 fi
46931
46932 if test "$wxUSE_COLOURDLG" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_COLOURDLG 1
46935 _ACEOF
46936
46937 fi
46938
46939 if test "$wxUSE_FILEDLG" = "yes"; then
46940 cat >>confdefs.h <<\_ACEOF
46941 #define wxUSE_FILEDLG 1
46942 _ACEOF
46943
46944 fi
46945
46946 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_FINDREPLDLG 1
46949 _ACEOF
46950
46951 fi
46952
46953 if test "$wxUSE_FONTDLG" = "yes"; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_FONTDLG 1
46956 _ACEOF
46957
46958 fi
46959
46960 if test "$wxUSE_DIRDLG" = "yes"; then
46961 if test "$wxUSE_TREECTRL" != "yes"; then
46962 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46963 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46964 else
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_DIRDLG 1
46967 _ACEOF
46968
46969 fi
46970 fi
46971
46972 if test "$wxUSE_MSGDLG" = "yes"; then
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_MSGDLG 1
46975 _ACEOF
46976
46977 fi
46978
46979 if test "$wxUSE_NUMBERDLG" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_NUMBERDLG 1
46982 _ACEOF
46983
46984 fi
46985
46986 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46988 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46989 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46990 else
46991 cat >>confdefs.h <<\_ACEOF
46992 #define wxUSE_PROGRESSDLG 1
46993 _ACEOF
46994
46995 fi
46996 fi
46997
46998 if test "$wxUSE_SPLASH" = "yes"; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_SPLASH 1
47001 _ACEOF
47002
47003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47004 fi
47005
47006 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47007 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47008 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47009 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47010 else
47011 cat >>confdefs.h <<\_ACEOF
47012 #define wxUSE_STARTUP_TIPS 1
47013 _ACEOF
47014
47015 fi
47016 fi
47017
47018 if test "$wxUSE_TEXTDLG" = "yes"; then
47019 cat >>confdefs.h <<\_ACEOF
47020 #define wxUSE_TEXTDLG 1
47021 _ACEOF
47022
47023 fi
47024
47025 if test "$wxUSE_WIZARDDLG" = "yes"; then
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_WIZARDDLG 1
47028 _ACEOF
47029
47030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47031 fi
47032
47033
47034 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47035 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_GRAPHICS_CONTEXT 1
47038 _ACEOF
47039
47040 elif test "$wxUSE_GTK" != 1; then
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_GRAPHICS_CONTEXT 1
47043 _ACEOF
47044
47045 else
47046
47047 pkg_failed=no
47048 echo "$as_me:$LINENO: checking for CAIRO" >&5
47049 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47050
47051 if test -n "$PKG_CONFIG"; then
47052 if test -n "$CAIRO_CFLAGS"; then
47053 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47054 else
47055 if test -n "$PKG_CONFIG" && \
47056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47057 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47058 ac_status=$?
47059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47060 (exit $ac_status); }; then
47061 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47062 else
47063 pkg_failed=yes
47064 fi
47065 fi
47066 else
47067 pkg_failed=untried
47068 fi
47069 if test -n "$PKG_CONFIG"; then
47070 if test -n "$CAIRO_LIBS"; then
47071 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47072 else
47073 if test -n "$PKG_CONFIG" && \
47074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47075 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47076 ac_status=$?
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; then
47079 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47080 else
47081 pkg_failed=yes
47082 fi
47083 fi
47084 else
47085 pkg_failed=untried
47086 fi
47087
47088
47089
47090 if test $pkg_failed = yes; then
47091
47092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47093 _pkg_short_errors_supported=yes
47094 else
47095 _pkg_short_errors_supported=no
47096 fi
47097 if test $_pkg_short_errors_supported = yes; then
47098 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47099 else
47100 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47101 fi
47102 # Put the nasty error message in config.log where it belongs
47103 echo "$CAIRO_PKG_ERRORS" >&5
47104
47105 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47106 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47107
47108 elif test $pkg_failed = untried; then
47109 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47110 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47111
47112 else
47113 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47114 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47115 echo "$as_me:$LINENO: result: yes" >&5
47116 echo "${ECHO_T}yes" >&6
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_GRAPHICS_CONTEXT 1
47119 _ACEOF
47120
47121 fi
47122 fi
47123 fi
47124
47125
47126 USE_MEDIA=0
47127
47128 if test "$wxUSE_MEDIACTRL" = "yes"; then
47129 USE_MEDIA=1
47130
47131 if test "$wxUSE_GTK" = 1; then
47132 wxUSE_GSTREAMER="no"
47133
47134 GST_VERSION_MAJOR=0
47135 GST_VERSION_MINOR=10
47136 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47137
47138 if test "$wxUSE_GSTREAMER8" = "no"; then
47139
47140 pkg_failed=no
47141 echo "$as_me:$LINENO: checking for GST" >&5
47142 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47143
47144 if test -n "$PKG_CONFIG"; then
47145 if test -n "$GST_CFLAGS"; then
47146 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47147 else
47148 if test -n "$PKG_CONFIG" && \
47149 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47150 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; then
47154 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47155 else
47156 pkg_failed=yes
47157 fi
47158 fi
47159 else
47160 pkg_failed=untried
47161 fi
47162 if test -n "$PKG_CONFIG"; then
47163 if test -n "$GST_LIBS"; then
47164 pkg_cv_GST_LIBS="$GST_LIBS"
47165 else
47166 if test -n "$PKG_CONFIG" && \
47167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47168 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47169 ac_status=$?
47170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171 (exit $ac_status); }; then
47172 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47173 else
47174 pkg_failed=yes
47175 fi
47176 fi
47177 else
47178 pkg_failed=untried
47179 fi
47180
47181
47182
47183 if test $pkg_failed = yes; then
47184
47185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47186 _pkg_short_errors_supported=yes
47187 else
47188 _pkg_short_errors_supported=no
47189 fi
47190 if test $_pkg_short_errors_supported = yes; then
47191 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47192 else
47193 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47194 fi
47195 # Put the nasty error message in config.log where it belongs
47196 echo "$GST_PKG_ERRORS" >&5
47197
47198
47199 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47200 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47201 GST_VERSION_MINOR=8
47202
47203
47204 elif test $pkg_failed = untried; then
47205
47206 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47207 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47208 GST_VERSION_MINOR=8
47209
47210
47211 else
47212 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47213 GST_LIBS=$pkg_cv_GST_LIBS
47214 echo "$as_me:$LINENO: result: yes" >&5
47215 echo "${ECHO_T}yes" >&6
47216
47217 wxUSE_GSTREAMER="yes"
47218 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47219
47220 fi
47221 else
47222 GST_VERSION_MINOR=8
47223 fi
47224
47225 if test $GST_VERSION_MINOR = "8"; then
47226 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47227
47228 pkg_failed=no
47229 echo "$as_me:$LINENO: checking for GST" >&5
47230 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47231
47232 if test -n "$PKG_CONFIG"; then
47233 if test -n "$GST_CFLAGS"; then
47234 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47235 else
47236 if test -n "$PKG_CONFIG" && \
47237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47238 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47239 ac_status=$?
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; then
47242 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47243 else
47244 pkg_failed=yes
47245 fi
47246 fi
47247 else
47248 pkg_failed=untried
47249 fi
47250 if test -n "$PKG_CONFIG"; then
47251 if test -n "$GST_LIBS"; then
47252 pkg_cv_GST_LIBS="$GST_LIBS"
47253 else
47254 if test -n "$PKG_CONFIG" && \
47255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47256 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47257 ac_status=$?
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); }; then
47260 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47261 else
47262 pkg_failed=yes
47263 fi
47264 fi
47265 else
47266 pkg_failed=untried
47267 fi
47268
47269
47270
47271 if test $pkg_failed = yes; then
47272
47273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47274 _pkg_short_errors_supported=yes
47275 else
47276 _pkg_short_errors_supported=no
47277 fi
47278 if test $_pkg_short_errors_supported = yes; then
47279 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47280 else
47281 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47282 fi
47283 # Put the nasty error message in config.log where it belongs
47284 echo "$GST_PKG_ERRORS" >&5
47285
47286
47287 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47288 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47289
47290 elif test $pkg_failed = untried; then
47291
47292 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47293 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47294
47295 else
47296 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47297 GST_LIBS=$pkg_cv_GST_LIBS
47298 echo "$as_me:$LINENO: result: yes" >&5
47299 echo "${ECHO_T}yes" >&6
47300 wxUSE_GSTREAMER="yes"
47301 fi
47302 fi
47303
47304
47305 if test "$wxUSE_GSTREAMER" = "yes"; then
47306 case "${host}" in
47307 *-*-solaris2* )
47308 if "$GCC" = yes; then
47309 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47310 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47311 fi
47312 esac
47313
47314 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47315 LIBS="$GST_LIBS $LIBS"
47316
47317 cat >>confdefs.h <<\_ACEOF
47318 #define wxUSE_GSTREAMER 1
47319 _ACEOF
47320
47321 else
47322 USE_MEDIA=0
47323 fi
47324 fi
47325
47326 if test $USE_MEDIA = 1; then
47327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_MEDIACTRL 1
47330 _ACEOF
47331
47332 fi
47333 fi
47334
47335
47336 if test "$cross_compiling" = "yes"; then
47337 OSINFO="\"$host\""
47338 else
47339 OSINFO=`uname -s -r -m`
47340 OSINFO="\"$OSINFO\""
47341 fi
47342
47343 cat >>confdefs.h <<_ACEOF
47344 #define WXWIN_OS_DESCRIPTION $OSINFO
47345 _ACEOF
47346
47347
47348
47349 if test "x$prefix" != "xNONE"; then
47350 wxPREFIX=$prefix
47351 else
47352 wxPREFIX=$ac_default_prefix
47353 fi
47354
47355 cat >>confdefs.h <<_ACEOF
47356 #define wxINSTALL_PREFIX "$wxPREFIX"
47357 _ACEOF
47358
47359
47360
47361
47362 CORE_BASE_LIBS="net base"
47363 CORE_GUI_LIBS="adv core"
47364
47365 if test "$wxUSE_XML" = "yes" ; then
47366 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47367 fi
47368 if test "$wxUSE_ODBC" != "no" ; then
47369 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47370 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47371 fi
47372 if test "$wxUSE_HTML" = "yes" ; then
47373 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47374 fi
47375 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47376 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47377 fi
47378 if test "$wxUSE_XRC" = "yes" ; then
47379 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47380 fi
47381 if test "$wxUSE_AUI" = "yes" ; then
47382 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47383 fi
47384
47385 if test "$wxUSE_GUI" != "yes"; then
47386 CORE_GUI_LIBS=""
47387 fi
47388
47389
47390
47391
47392
47393
47394 if test "$wxUSE_MAC" = 1 ; then
47395 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47396 if test "$USE_DARWIN" = 1; then
47397 LDFLAGS="$LDFLAGS -framework QuickTime"
47398 else
47399 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47400 fi
47401 fi
47402 if test "$USE_DARWIN" = 1; then
47403 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47404 else
47405 LDFLAGS="$LDFLAGS -lCarbonLib"
47406 fi
47407 fi
47408 if test "$wxUSE_COCOA" = 1 ; then
47409 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47410 if test "$wxUSE_MEDIACTRL" = "yes"; then
47411 LDFLAGS="$LDFLAGS -framework QuickTime"
47412 fi
47413 fi
47414 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47415 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47416 fi
47417
47418 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47419
47420 if test "$wxUSE_GUI" = "yes"; then
47421
47422
47423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47424 dynamic erase event exec font image minimal mobile \
47425 mobile/wxedit mobile/styles propsize render \
47426 rotate shaped vscroll widgets"
47427
47428 if test "$wxUSE_MONOLITHIC" != "yes"; then
47429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47430 fi
47431 if test "$TOOLKIT" = "MSW"; then
47432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47433 if test "$wxUSE_UNIVERSAL" != "yes"; then
47434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47435 fi
47436 fi
47437 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47439 fi
47440 else
47441 SAMPLES_SUBDIRS="console"
47442 fi
47443
47444
47445 if test "x$INTELCC" = "xyes" ; then
47446 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47447 elif test "$GCC" = yes ; then
47448 CWARNINGS="-Wall -Wundef"
47449 fi
47450
47451 if test "x$INTELCXX" = "xyes" ; then
47452 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47453 elif test "$GXX" = yes ; then
47454 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47455 fi
47456
47457
47458 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47459 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47460
47461
47462 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47463 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47464 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47465 $CPPFLAGS `
47466
47467 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47468 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47469 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47470
47471 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47472
47473
47474 if test "x$MWCC" = "xyes"; then
47475
47476 CC="$CC -cwd source -I-"
47477 CXX="$CXX -cwd source -I-"
47478 fi
47479
47480
47481 LIBS=`echo $LIBS`
47482 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47483 EXTRALIBS_XML="$EXPAT_LINK"
47484 EXTRALIBS_HTML="$MSPACK_LINK"
47485 EXTRALIBS_ODBC="$ODBC_LINK"
47486 if test "$wxUSE_GUI" = "yes"; then
47487 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47488 fi
47489 if test "$wxUSE_OPENGL" = "yes"; then
47490 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47491 fi
47492
47493 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47494
47495 WXCONFIG_LIBS="$LIBS"
47496
47497 if test "$wxUSE_REGEX" = "builtin" ; then
47498 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47499 fi
47500 if test "$wxUSE_EXPAT" = "builtin" ; then
47501 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47502 fi
47503 if test "$wxUSE_ODBC" = "builtin" ; then
47504 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47505 fi
47506 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47507 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47508 fi
47509 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47510 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47511 fi
47512 if test "$wxUSE_LIBPNG" = "builtin" ; then
47513 wxconfig_3rdparty="png $wxconfig_3rdparty"
47514 fi
47515 if test "$wxUSE_ZLIB" = "builtin" ; then
47516 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47517 fi
47518
47519 for i in $wxconfig_3rdparty ; do
47520 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47521 done
47522
47523
47524 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47525 WXUNIV=1
47526
47527 case "$wxUNIV_THEMES" in
47528 ''|all)
47529 cat >>confdefs.h <<\_ACEOF
47530 #define wxUSE_ALL_THEMES 1
47531 _ACEOF
47532
47533 ;;
47534
47535 *)
47536 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47537 cat >>confdefs.h <<_ACEOF
47538 #define wxUSE_THEME_$t 1
47539 _ACEOF
47540
47541 done
47542 esac
47543 else
47544 WXUNIV=0
47545 fi
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555 if test $wxUSE_MONOLITHIC = "yes" ; then
47556 MONOLITHIC=1
47557 else
47558 MONOLITHIC=0
47559 fi
47560
47561 if test $wxUSE_PLUGINS = "yes" ; then
47562 USE_PLUGINS=1
47563 else
47564 USE_PLUGINS=0
47565 fi
47566
47567 if test $wxUSE_ODBC != "no" ; then
47568 USE_ODBC=1
47569 else
47570 USE_ODBC=0
47571 fi
47572
47573 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47574 USE_QA=1
47575 else
47576 USE_QA=0
47577 fi
47578
47579 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47580 OFFICIAL_BUILD=1
47581 else
47582 OFFICIAL_BUILD=0
47583 fi
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47610
47611
47612
47613
47614
47615
47616
47617
47618 case "$TOOLKIT" in
47619 GTK)
47620 TOOLKIT_DESC="GTK+"
47621 if test "$WXGTK20" = 1; then
47622 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47623 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47624 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47625 fi
47626 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47627 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47628 fi
47629 if test "$wxUSE_LIBHILDON" = "yes"; then
47630 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47631 fi
47632
47633 if test "$TOOLKIT_EXTRA" != ""; then
47634 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47635 fi
47636 fi
47637 ;;
47638
47639 ?*)
47640 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47641 ;;
47642
47643 *)
47644 TOOLKIT_DESC="base only"
47645 ;;
47646 esac
47647
47648 if test "$wxUSE_WINE" = "yes"; then
47649 BAKEFILE_FORCE_PLATFORM=win32
47650 fi
47651
47652 if test "$wxUSE_MAC" = 1 ; then
47653 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47654 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47655 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47656 else
47657 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47658 fi
47659 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47660 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47661 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47662 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47663 bk_use_pch=no
47664 fi
47665 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47666 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47667 fi
47668
47669 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47670 then
47671 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47672 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47673 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47675 else
47676
47677 echo '#include <stdio.h>
47678 const wchar_t test_var[] = L"awidetest";' > conftest.h
47679
47680 echo '#include "conftest.h"
47681 int main()
47682 {
47683 printf("%ls", test_var);
47684 return 0;
47685 }' > conftest.cpp
47686
47687 wx_cv_gcc_pch_bug="pch not supported"
47688
47689 if $CXX conftest.h >/dev/null 2>&1
47690 then
47691 wx_cv_gcc_pch_bug=
47692
47693 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47694 then
47695 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47696 grep awidetest >/dev/null
47697 then
47698 wx_cv_gcc_pch_bug=no
47699 else
47700 wx_cv_gcc_pch_bug=yes
47701 fi
47702 fi
47703 fi
47704
47705 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47706
47707 fi
47708 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47709 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47710
47711 if test "$wx_cv_gcc_pch_bug" = yes; then
47712 bk_use_pch=no
47713 fi
47714 fi
47715
47716
47717
47718
47719 if test "x$BAKEFILE_HOST" = "x"; then
47720 if test "x${host}" = "x" ; then
47721 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47722 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47723 { (exit 1); exit 1; }; }
47724 fi
47725
47726 BAKEFILE_HOST="${host}"
47727 fi
47728
47729 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47730
47731 if test -n "$ac_tool_prefix"; then
47732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47733 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47734 echo "$as_me:$LINENO: checking for $ac_word" >&5
47735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47736 if test "${ac_cv_prog_RANLIB+set}" = set; then
47737 echo $ECHO_N "(cached) $ECHO_C" >&6
47738 else
47739 if test -n "$RANLIB"; then
47740 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47741 else
47742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47743 for as_dir in $PATH
47744 do
47745 IFS=$as_save_IFS
47746 test -z "$as_dir" && as_dir=.
47747 for ac_exec_ext in '' $ac_executable_extensions; do
47748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47749 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47751 break 2
47752 fi
47753 done
47754 done
47755
47756 fi
47757 fi
47758 RANLIB=$ac_cv_prog_RANLIB
47759 if test -n "$RANLIB"; then
47760 echo "$as_me:$LINENO: result: $RANLIB" >&5
47761 echo "${ECHO_T}$RANLIB" >&6
47762 else
47763 echo "$as_me:$LINENO: result: no" >&5
47764 echo "${ECHO_T}no" >&6
47765 fi
47766
47767 fi
47768 if test -z "$ac_cv_prog_RANLIB"; then
47769 ac_ct_RANLIB=$RANLIB
47770 # Extract the first word of "ranlib", so it can be a program name with args.
47771 set dummy ranlib; ac_word=$2
47772 echo "$as_me:$LINENO: checking for $ac_word" >&5
47773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47774 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47775 echo $ECHO_N "(cached) $ECHO_C" >&6
47776 else
47777 if test -n "$ac_ct_RANLIB"; then
47778 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47779 else
47780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47781 for as_dir in $PATH
47782 do
47783 IFS=$as_save_IFS
47784 test -z "$as_dir" && as_dir=.
47785 for ac_exec_ext in '' $ac_executable_extensions; do
47786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47787 ac_cv_prog_ac_ct_RANLIB="ranlib"
47788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47789 break 2
47790 fi
47791 done
47792 done
47793
47794 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47795 fi
47796 fi
47797 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47798 if test -n "$ac_ct_RANLIB"; then
47799 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47800 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47801 else
47802 echo "$as_me:$LINENO: result: no" >&5
47803 echo "${ECHO_T}no" >&6
47804 fi
47805
47806 RANLIB=$ac_ct_RANLIB
47807 else
47808 RANLIB="$ac_cv_prog_RANLIB"
47809 fi
47810
47811 # Find a good install program. We prefer a C program (faster),
47812 # so one script is as good as another. But avoid the broken or
47813 # incompatible versions:
47814 # SysV /etc/install, /usr/sbin/install
47815 # SunOS /usr/etc/install
47816 # IRIX /sbin/install
47817 # AIX /bin/install
47818 # AmigaOS /C/install, which installs bootblocks on floppy discs
47819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47822 # OS/2's system install, which has a completely different semantic
47823 # ./install, which can be erroneously created by make from ./install.sh.
47824 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47826 if test -z "$INSTALL"; then
47827 if test "${ac_cv_path_install+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47831 for as_dir in $PATH
47832 do
47833 IFS=$as_save_IFS
47834 test -z "$as_dir" && as_dir=.
47835 # Account for people who put trailing slashes in PATH elements.
47836 case $as_dir/ in
47837 ./ | .// | /cC/* | \
47838 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47839 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47840 /usr/ucb/* ) ;;
47841 *)
47842 # OSF1 and SCO ODT 3.0 have their own names for install.
47843 # Don't use installbsd from OSF since it installs stuff as root
47844 # by default.
47845 for ac_prog in ginstall scoinst install; do
47846 for ac_exec_ext in '' $ac_executable_extensions; do
47847 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47848 if test $ac_prog = install &&
47849 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47850 # AIX install. It has an incompatible calling convention.
47851 :
47852 elif test $ac_prog = install &&
47853 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47854 # program-specific install script used by HP pwplus--don't use.
47855 :
47856 else
47857 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47858 break 3
47859 fi
47860 fi
47861 done
47862 done
47863 ;;
47864 esac
47865 done
47866
47867
47868 fi
47869 if test "${ac_cv_path_install+set}" = set; then
47870 INSTALL=$ac_cv_path_install
47871 else
47872 # As a last resort, use the slow shell script. We don't cache a
47873 # path for INSTALL within a source directory, because that will
47874 # break other packages using the cache if that directory is
47875 # removed, or if the path is relative.
47876 INSTALL=$ac_install_sh
47877 fi
47878 fi
47879 echo "$as_me:$LINENO: result: $INSTALL" >&5
47880 echo "${ECHO_T}$INSTALL" >&6
47881
47882 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47883 # It thinks the first close brace ends the variable substitution.
47884 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47885
47886 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47887
47888 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47889
47890 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47891 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47892 LN_S=$as_ln_s
47893 if test "$LN_S" = "ln -s"; then
47894 echo "$as_me:$LINENO: result: yes" >&5
47895 echo "${ECHO_T}yes" >&6
47896 else
47897 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47898 echo "${ECHO_T}no, using $LN_S" >&6
47899 fi
47900
47901
47902 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47903 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47904 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47905 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47906 echo $ECHO_N "(cached) $ECHO_C" >&6
47907 else
47908 cat >conftest.make <<\_ACEOF
47909 all:
47910 @echo 'ac_maketemp="$(MAKE)"'
47911 _ACEOF
47912 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47913 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47914 if test -n "$ac_maketemp"; then
47915 eval ac_cv_prog_make_${ac_make}_set=yes
47916 else
47917 eval ac_cv_prog_make_${ac_make}_set=no
47918 fi
47919 rm -f conftest.make
47920 fi
47921 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47922 echo "$as_me:$LINENO: result: yes" >&5
47923 echo "${ECHO_T}yes" >&6
47924 SET_MAKE=
47925 else
47926 echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6
47928 SET_MAKE="MAKE=${MAKE-make}"
47929 fi
47930
47931
47932
47933 if test "x$SUNCXX" = "xyes"; then
47934 AR=$CXX
47935
47936 AROPTIONS="-xar -o"
47937 else
47938 if test -n "$ac_tool_prefix"; then
47939 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47940 set dummy ${ac_tool_prefix}ar; ac_word=$2
47941 echo "$as_me:$LINENO: checking for $ac_word" >&5
47942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47943 if test "${ac_cv_prog_AR+set}" = set; then
47944 echo $ECHO_N "(cached) $ECHO_C" >&6
47945 else
47946 if test -n "$AR"; then
47947 ac_cv_prog_AR="$AR" # Let the user override the test.
47948 else
47949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47950 for as_dir in $PATH
47951 do
47952 IFS=$as_save_IFS
47953 test -z "$as_dir" && as_dir=.
47954 for ac_exec_ext in '' $ac_executable_extensions; do
47955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47956 ac_cv_prog_AR="${ac_tool_prefix}ar"
47957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47958 break 2
47959 fi
47960 done
47961 done
47962
47963 fi
47964 fi
47965 AR=$ac_cv_prog_AR
47966 if test -n "$AR"; then
47967 echo "$as_me:$LINENO: result: $AR" >&5
47968 echo "${ECHO_T}$AR" >&6
47969 else
47970 echo "$as_me:$LINENO: result: no" >&5
47971 echo "${ECHO_T}no" >&6
47972 fi
47973
47974 fi
47975 if test -z "$ac_cv_prog_AR"; then
47976 ac_ct_AR=$AR
47977 # Extract the first word of "ar", so it can be a program name with args.
47978 set dummy ar; ac_word=$2
47979 echo "$as_me:$LINENO: checking for $ac_word" >&5
47980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47981 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47983 else
47984 if test -n "$ac_ct_AR"; then
47985 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47986 else
47987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47988 for as_dir in $PATH
47989 do
47990 IFS=$as_save_IFS
47991 test -z "$as_dir" && as_dir=.
47992 for ac_exec_ext in '' $ac_executable_extensions; do
47993 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47994 ac_cv_prog_ac_ct_AR="ar"
47995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47996 break 2
47997 fi
47998 done
47999 done
48000
48001 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48002 fi
48003 fi
48004 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48005 if test -n "$ac_ct_AR"; then
48006 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48007 echo "${ECHO_T}$ac_ct_AR" >&6
48008 else
48009 echo "$as_me:$LINENO: result: no" >&5
48010 echo "${ECHO_T}no" >&6
48011 fi
48012
48013 AR=$ac_ct_AR
48014 else
48015 AR="$ac_cv_prog_AR"
48016 fi
48017
48018 AROPTIONS=rcu
48019 fi
48020
48021
48022 if test -n "$ac_tool_prefix"; then
48023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48024 set dummy ${ac_tool_prefix}strip; ac_word=$2
48025 echo "$as_me:$LINENO: checking for $ac_word" >&5
48026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48027 if test "${ac_cv_prog_STRIP+set}" = set; then
48028 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 else
48030 if test -n "$STRIP"; then
48031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48032 else
48033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48034 for as_dir in $PATH
48035 do
48036 IFS=$as_save_IFS
48037 test -z "$as_dir" && as_dir=.
48038 for ac_exec_ext in '' $ac_executable_extensions; do
48039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48040 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48042 break 2
48043 fi
48044 done
48045 done
48046
48047 fi
48048 fi
48049 STRIP=$ac_cv_prog_STRIP
48050 if test -n "$STRIP"; then
48051 echo "$as_me:$LINENO: result: $STRIP" >&5
48052 echo "${ECHO_T}$STRIP" >&6
48053 else
48054 echo "$as_me:$LINENO: result: no" >&5
48055 echo "${ECHO_T}no" >&6
48056 fi
48057
48058 fi
48059 if test -z "$ac_cv_prog_STRIP"; then
48060 ac_ct_STRIP=$STRIP
48061 # Extract the first word of "strip", so it can be a program name with args.
48062 set dummy strip; ac_word=$2
48063 echo "$as_me:$LINENO: checking for $ac_word" >&5
48064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48065 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48066 echo $ECHO_N "(cached) $ECHO_C" >&6
48067 else
48068 if test -n "$ac_ct_STRIP"; then
48069 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48070 else
48071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48072 for as_dir in $PATH
48073 do
48074 IFS=$as_save_IFS
48075 test -z "$as_dir" && as_dir=.
48076 for ac_exec_ext in '' $ac_executable_extensions; do
48077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48078 ac_cv_prog_ac_ct_STRIP="strip"
48079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48080 break 2
48081 fi
48082 done
48083 done
48084
48085 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48086 fi
48087 fi
48088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48089 if test -n "$ac_ct_STRIP"; then
48090 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48091 echo "${ECHO_T}$ac_ct_STRIP" >&6
48092 else
48093 echo "$as_me:$LINENO: result: no" >&5
48094 echo "${ECHO_T}no" >&6
48095 fi
48096
48097 STRIP=$ac_ct_STRIP
48098 else
48099 STRIP="$ac_cv_prog_STRIP"
48100 fi
48101
48102 if test -n "$ac_tool_prefix"; then
48103 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48104 set dummy ${ac_tool_prefix}nm; ac_word=$2
48105 echo "$as_me:$LINENO: checking for $ac_word" >&5
48106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48107 if test "${ac_cv_prog_NM+set}" = set; then
48108 echo $ECHO_N "(cached) $ECHO_C" >&6
48109 else
48110 if test -n "$NM"; then
48111 ac_cv_prog_NM="$NM" # Let the user override the test.
48112 else
48113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48114 for as_dir in $PATH
48115 do
48116 IFS=$as_save_IFS
48117 test -z "$as_dir" && as_dir=.
48118 for ac_exec_ext in '' $ac_executable_extensions; do
48119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48120 ac_cv_prog_NM="${ac_tool_prefix}nm"
48121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48122 break 2
48123 fi
48124 done
48125 done
48126
48127 fi
48128 fi
48129 NM=$ac_cv_prog_NM
48130 if test -n "$NM"; then
48131 echo "$as_me:$LINENO: result: $NM" >&5
48132 echo "${ECHO_T}$NM" >&6
48133 else
48134 echo "$as_me:$LINENO: result: no" >&5
48135 echo "${ECHO_T}no" >&6
48136 fi
48137
48138 fi
48139 if test -z "$ac_cv_prog_NM"; then
48140 ac_ct_NM=$NM
48141 # Extract the first word of "nm", so it can be a program name with args.
48142 set dummy nm; ac_word=$2
48143 echo "$as_me:$LINENO: checking for $ac_word" >&5
48144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48145 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48146 echo $ECHO_N "(cached) $ECHO_C" >&6
48147 else
48148 if test -n "$ac_ct_NM"; then
48149 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48150 else
48151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48152 for as_dir in $PATH
48153 do
48154 IFS=$as_save_IFS
48155 test -z "$as_dir" && as_dir=.
48156 for ac_exec_ext in '' $ac_executable_extensions; do
48157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48158 ac_cv_prog_ac_ct_NM="nm"
48159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48160 break 2
48161 fi
48162 done
48163 done
48164
48165 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48166 fi
48167 fi
48168 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48169 if test -n "$ac_ct_NM"; then
48170 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48171 echo "${ECHO_T}$ac_ct_NM" >&6
48172 else
48173 echo "$as_me:$LINENO: result: no" >&5
48174 echo "${ECHO_T}no" >&6
48175 fi
48176
48177 NM=$ac_ct_NM
48178 else
48179 NM="$ac_cv_prog_NM"
48180 fi
48181
48182
48183 case ${BAKEFILE_HOST} in
48184 *-hp-hpux* )
48185 INSTALL_DIR="mkdir -p"
48186 ;;
48187 * )
48188 INSTALL_DIR='$(INSTALL) -d'
48189 ;;
48190 esac
48191
48192
48193 LDFLAGS_GUI=
48194 case ${BAKEFILE_HOST} in
48195 *-*-cygwin* | *-*-mingw32* )
48196 LDFLAGS_GUI="-mwindows"
48197 esac
48198
48199
48200 fi
48201
48202 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48203 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48204 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48205 echo $ECHO_N "(cached) $ECHO_C" >&6
48206 else
48207
48208 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48209 egrep -s GNU > /dev/null); then
48210 bakefile_cv_prog_makeisgnu="yes"
48211 else
48212 bakefile_cv_prog_makeisgnu="no"
48213 fi
48214
48215 fi
48216 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48217 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48218
48219 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48220 IF_GNU_MAKE=""
48221 else
48222 IF_GNU_MAKE="#"
48223 fi
48224
48225
48226
48227 PLATFORM_UNIX=0
48228 PLATFORM_WIN32=0
48229 PLATFORM_MSDOS=0
48230 PLATFORM_MAC=0
48231 PLATFORM_MACOS=0
48232 PLATFORM_MACOSX=0
48233 PLATFORM_OS2=0
48234 PLATFORM_BEOS=0
48235
48236 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48237 case "${BAKEFILE_HOST}" in
48238 *-*-mingw32* )
48239 PLATFORM_WIN32=1
48240 ;;
48241 *-pc-msdosdjgpp )
48242 PLATFORM_MSDOS=1
48243 ;;
48244 *-pc-os2_emx | *-pc-os2-emx )
48245 PLATFORM_OS2=1
48246 ;;
48247 *-*-darwin* )
48248 PLATFORM_MAC=1
48249 PLATFORM_MACOSX=1
48250 ;;
48251 *-*-beos* )
48252 PLATFORM_BEOS=1
48253 ;;
48254 powerpc-apple-macos* )
48255 PLATFORM_MAC=1
48256 PLATFORM_MACOS=1
48257 ;;
48258 * )
48259 PLATFORM_UNIX=1
48260 ;;
48261 esac
48262 else
48263 case "$BAKEFILE_FORCE_PLATFORM" in
48264 win32 )
48265 PLATFORM_WIN32=1
48266 ;;
48267 msdos )
48268 PLATFORM_MSDOS=1
48269 ;;
48270 os2 )
48271 PLATFORM_OS2=1
48272 ;;
48273 darwin )
48274 PLATFORM_MAC=1
48275 PLATFORM_MACOSX=1
48276 ;;
48277 unix )
48278 PLATFORM_UNIX=1
48279 ;;
48280 beos )
48281 PLATFORM_BEOS=1
48282 ;;
48283 * )
48284 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48285 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48286 { (exit 1); exit 1; }; }
48287 ;;
48288 esac
48289 fi
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301 # Check whether --enable-omf or --disable-omf was given.
48302 if test "${enable_omf+set}" = set; then
48303 enableval="$enable_omf"
48304 bk_os2_use_omf="$enableval"
48305 fi;
48306
48307 case "${BAKEFILE_HOST}" in
48308 *-*-darwin* )
48309 if test "x$GCC" = "xyes"; then
48310 CFLAGS="$CFLAGS -fno-common"
48311 CXXFLAGS="$CXXFLAGS -fno-common"
48312 fi
48313 if test "x$XLCC" = "xyes"; then
48314 CFLAGS="$CFLAGS -qnocommon"
48315 CXXFLAGS="$CXXFLAGS -qnocommon"
48316 fi
48317 ;;
48318
48319 *-pc-os2_emx | *-pc-os2-emx )
48320 if test "x$bk_os2_use_omf" = "xyes" ; then
48321 AR=emxomfar
48322 RANLIB=:
48323 LDFLAGS="-Zomf $LDFLAGS"
48324 CFLAGS="-Zomf $CFLAGS"
48325 CXXFLAGS="-Zomf $CXXFLAGS"
48326 OS2_LIBEXT="lib"
48327 else
48328 OS2_LIBEXT="a"
48329 fi
48330 ;;
48331
48332 i*86-*-beos* )
48333 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48334 ;;
48335 esac
48336
48337
48338 SO_SUFFIX="so"
48339 SO_SUFFIX_MODULE="so"
48340 EXEEXT=""
48341 LIBPREFIX="lib"
48342 LIBEXT=".a"
48343 DLLPREFIX="lib"
48344 DLLPREFIX_MODULE=""
48345 DLLIMP_SUFFIX=""
48346 dlldir="$libdir"
48347
48348 case "${BAKEFILE_HOST}" in
48349 *-hp-hpux* )
48350 SO_SUFFIX="sl"
48351 SO_SUFFIX_MODULE="sl"
48352 ;;
48353 *-*-aix* )
48354 SO_SUFFIX="a"
48355 SO_SUFFIX_MODULE="a"
48356 ;;
48357 *-*-cygwin* )
48358 SO_SUFFIX="dll"
48359 SO_SUFFIX_MODULE="dll"
48360 DLLIMP_SUFFIX="dll.a"
48361 EXEEXT=".exe"
48362 DLLPREFIX="cyg"
48363 dlldir="$bindir"
48364 ;;
48365 *-*-mingw32* )
48366 SO_SUFFIX="dll"
48367 SO_SUFFIX_MODULE="dll"
48368 DLLIMP_SUFFIX="dll.a"
48369 EXEEXT=".exe"
48370 DLLPREFIX=""
48371 dlldir="$bindir"
48372 ;;
48373 *-pc-msdosdjgpp )
48374 EXEEXT=".exe"
48375 DLLPREFIX=""
48376 dlldir="$bindir"
48377 ;;
48378 *-pc-os2_emx | *-pc-os2-emx )
48379 SO_SUFFIX="dll"
48380 SO_SUFFIX_MODULE="dll"
48381 DLLIMP_SUFFIX=$OS2_LIBEXT
48382 EXEEXT=".exe"
48383 DLLPREFIX=""
48384 LIBPREFIX=""
48385 LIBEXT=".$OS2_LIBEXT"
48386 dlldir="$bindir"
48387 ;;
48388 *-*-darwin* )
48389 SO_SUFFIX="dylib"
48390 SO_SUFFIX_MODULE="bundle"
48391 ;;
48392 esac
48393
48394 if test "x$DLLIMP_SUFFIX" = "x" ; then
48395 DLLIMP_SUFFIX="$SO_SUFFIX"
48396 fi
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409 PIC_FLAG=""
48410 if test "x$GCC" = "xyes"; then
48411 PIC_FLAG="-fPIC"
48412 fi
48413
48414 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48415 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48416 WINDOWS_IMPLIB=0
48417
48418 case "${BAKEFILE_HOST}" in
48419 *-hp-hpux* )
48420 if test "x$GCC" != "xyes"; then
48421 LDFLAGS="$LDFLAGS -L/usr/lib"
48422
48423 SHARED_LD_CC="${CC} -b -o"
48424 SHARED_LD_CXX="${CXX} -b -o"
48425 PIC_FLAG="+Z"
48426 fi
48427 ;;
48428
48429 *-*-linux* )
48430 if test "x$GCC" != "xyes"; then
48431 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48432 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48433 if test "${bakefile_cv_prog_icc+set}" = set; then
48434 echo $ECHO_N "(cached) $ECHO_C" >&6
48435 else
48436
48437 cat >conftest.$ac_ext <<_ACEOF
48438 /* confdefs.h. */
48439 _ACEOF
48440 cat confdefs.h >>conftest.$ac_ext
48441 cat >>conftest.$ac_ext <<_ACEOF
48442 /* end confdefs.h. */
48443
48444 int
48445 main ()
48446 {
48447
48448 #ifndef __INTEL_COMPILER
48449 This is not ICC
48450 #endif
48451
48452 ;
48453 return 0;
48454 }
48455 _ACEOF
48456 rm -f conftest.$ac_objext
48457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48458 (eval $ac_compile) 2>conftest.er1
48459 ac_status=$?
48460 grep -v '^ *+' conftest.er1 >conftest.err
48461 rm -f conftest.er1
48462 cat conftest.err >&5
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); } &&
48465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; } &&
48471 { ac_try='test -s conftest.$ac_objext'
48472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48473 (eval $ac_try) 2>&5
48474 ac_status=$?
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; }; then
48477 bakefile_cv_prog_icc=yes
48478 else
48479 echo "$as_me: failed program was:" >&5
48480 sed 's/^/| /' conftest.$ac_ext >&5
48481
48482 bakefile_cv_prog_icc=no
48483
48484 fi
48485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48486
48487 fi
48488 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48489 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48490 if test "$bakefile_cv_prog_icc" = "yes"; then
48491 PIC_FLAG="-KPIC"
48492 fi
48493 fi
48494 ;;
48495
48496 *-*-solaris2* )
48497 if test "x$GCC" != xyes ; then
48498 SHARED_LD_CC="${CC} -G -o"
48499 SHARED_LD_CXX="${CXX} -G -o"
48500 PIC_FLAG="-KPIC"
48501 fi
48502 ;;
48503
48504 *-*-darwin* )
48505
48506 D='$'
48507 cat <<EOF >shared-ld-sh
48508 #!/bin/sh
48509 #-----------------------------------------------------------------------------
48510 #-- Name: distrib/mac/shared-ld-sh
48511 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48512 #-- Author: Gilles Depeyrot
48513 #-- Copyright: (c) 2002 Gilles Depeyrot
48514 #-- Licence: any use permitted
48515 #-----------------------------------------------------------------------------
48516
48517 verbose=0
48518 args=""
48519 objects=""
48520 linking_flag="-dynamiclib"
48521 ldargs="-r -keep_private_externs -nostdlib"
48522
48523 while test ${D}# -gt 0; do
48524 case ${D}1 in
48525
48526 -v)
48527 verbose=1
48528 ;;
48529
48530 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48531 # collect these options and values
48532 args="${D}{args} ${D}1 ${D}2"
48533 shift
48534 ;;
48535
48536 -s|-Wl,*)
48537 # collect these load args
48538 ldargs="${D}{ldargs} ${D}1"
48539 ;;
48540
48541 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48542 # collect these options
48543 args="${D}{args} ${D}1"
48544 ;;
48545
48546 -dynamiclib|-bundle)
48547 linking_flag="${D}1"
48548 ;;
48549
48550 -*)
48551 echo "shared-ld: unhandled option '${D}1'"
48552 exit 1
48553 ;;
48554
48555 *.o | *.a | *.dylib)
48556 # collect object files
48557 objects="${D}{objects} ${D}1"
48558 ;;
48559
48560 *)
48561 echo "shared-ld: unhandled argument '${D}1'"
48562 exit 1
48563 ;;
48564
48565 esac
48566 shift
48567 done
48568
48569 status=0
48570
48571 #
48572 # Link one module containing all the others
48573 #
48574 if test ${D}{verbose} = 1; then
48575 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48576 fi
48577 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48578 status=${D}?
48579
48580 #
48581 # Link the shared library from the single module created, but only if the
48582 # previous command didn't fail:
48583 #
48584 if test ${D}{status} = 0; then
48585 if test ${D}{verbose} = 1; then
48586 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48587 fi
48588 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48589 status=${D}?
48590 fi
48591
48592 #
48593 # Remove intermediate module
48594 #
48595 rm -f master.${D}${D}.o
48596
48597 exit ${D}status
48598 EOF
48599
48600 chmod +x shared-ld-sh
48601
48602 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48603 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48604
48605
48606 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48607 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48608 if test "${bakefile_cv_gcc31+set}" = set; then
48609 echo $ECHO_N "(cached) $ECHO_C" >&6
48610 else
48611
48612 cat >conftest.$ac_ext <<_ACEOF
48613 /* confdefs.h. */
48614 _ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48618
48619 int
48620 main ()
48621 {
48622
48623 #if (__GNUC__ < 3) || \
48624 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48625 This is old gcc
48626 #endif
48627
48628 ;
48629 return 0;
48630 }
48631 _ACEOF
48632 rm -f conftest.$ac_objext
48633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48634 (eval $ac_compile) 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } &&
48641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48643 (eval $ac_try) 2>&5
48644 ac_status=$?
48645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48646 (exit $ac_status); }; } &&
48647 { ac_try='test -s conftest.$ac_objext'
48648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48649 (eval $ac_try) 2>&5
48650 ac_status=$?
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); }; }; then
48653
48654 bakefile_cv_gcc31=yes
48655
48656 else
48657 echo "$as_me: failed program was:" >&5
48658 sed 's/^/| /' conftest.$ac_ext >&5
48659
48660
48661 bakefile_cv_gcc31=no
48662
48663
48664 fi
48665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48666
48667 fi
48668 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48669 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48670 if test "$bakefile_cv_gcc31" = "no"; then
48671 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48672 SHARED_LD_CXX="$SHARED_LD_CC"
48673 else
48674 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48675 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48676 fi
48677
48678 if test "x$GCC" == "xyes"; then
48679 PIC_FLAG="-dynamic -fPIC"
48680 fi
48681 if test "x$XLCC" = "xyes"; then
48682 PIC_FLAG="-dynamic -DPIC"
48683 fi
48684 ;;
48685
48686 *-*-aix* )
48687 if test "x$GCC" = "xyes"; then
48688 PIC_FLAG=""
48689
48690 case "${BAKEFILE_HOST}" in
48691 *-*-aix5* )
48692 LD_EXPFULL="-Wl,-bexpfull"
48693 ;;
48694 esac
48695
48696 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48697 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48698 else
48699 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48700 set dummy makeC++SharedLib; ac_word=$2
48701 echo "$as_me:$LINENO: checking for $ac_word" >&5
48702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48703 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48704 echo $ECHO_N "(cached) $ECHO_C" >&6
48705 else
48706 if test -n "$AIX_CXX_LD"; then
48707 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48708 else
48709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48710 for as_dir in $PATH
48711 do
48712 IFS=$as_save_IFS
48713 test -z "$as_dir" && as_dir=.
48714 for ac_exec_ext in '' $ac_executable_extensions; do
48715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48716 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48718 break 2
48719 fi
48720 done
48721 done
48722
48723 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48724 fi
48725 fi
48726 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48727 if test -n "$AIX_CXX_LD"; then
48728 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48729 echo "${ECHO_T}$AIX_CXX_LD" >&6
48730 else
48731 echo "$as_me:$LINENO: result: no" >&5
48732 echo "${ECHO_T}no" >&6
48733 fi
48734
48735 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48736 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48737 fi
48738 ;;
48739
48740 *-*-beos* )
48741 SHARED_LD_CC="${LD} -nostart -o"
48742 SHARED_LD_CXX="${LD} -nostart -o"
48743 ;;
48744
48745 *-*-irix* )
48746 if test "x$GCC" != "xyes"; then
48747 PIC_FLAG="-KPIC"
48748 fi
48749 ;;
48750
48751 *-*-cygwin* | *-*-mingw32* )
48752 PIC_FLAG=""
48753 SHARED_LD_CC="\$(CC) -shared -o"
48754 SHARED_LD_CXX="\$(CXX) -shared -o"
48755 WINDOWS_IMPLIB=1
48756 ;;
48757
48758 *-pc-os2_emx | *-pc-os2-emx )
48759 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48760 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48761 PIC_FLAG=""
48762
48763 D='$'
48764 cat <<EOF >dllar.sh
48765 #!/bin/sh
48766 #
48767 # dllar - a tool to build both a .dll and an .a file
48768 # from a set of object (.o) files for EMX/OS2.
48769 #
48770 # Written by Andrew Zabolotny, bit@freya.etu.ru
48771 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48772 #
48773 # This script will accept a set of files on the command line.
48774 # All the public symbols from the .o files will be exported into
48775 # a .DEF file, then linker will be run (through gcc) against them to
48776 # build a shared library consisting of all given .o files. All libraries
48777 # (.a) will be first decompressed into component .o files then act as
48778 # described above. You can optionally give a description (-d "description")
48779 # which will be put into .DLL. To see the list of accepted options (as well
48780 # as command-line format) simply run this program without options. The .DLL
48781 # is built to be imported by name (there is no guarantee that new versions
48782 # of the library you build will have same ordinals for same symbols).
48783 #
48784 # dllar is free software; you can redistribute it and/or modify
48785 # it under the terms of the GNU General Public License as published by
48786 # the Free Software Foundation; either version 2, or (at your option)
48787 # any later version.
48788 #
48789 # dllar is distributed in the hope that it will be useful,
48790 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48791 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48792 # GNU General Public License for more details.
48793 #
48794 # You should have received a copy of the GNU General Public License
48795 # along with dllar; see the file COPYING. If not, write to the Free
48796 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48797 # 02111-1307, USA.
48798
48799 # To successfuly run this program you will need:
48800 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48801 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48802 # - gcc
48803 # (used to build the .dll)
48804 # - emxexp
48805 # (used to create .def file from .o files)
48806 # - emximp
48807 # (used to create .a file from .def file)
48808 # - GNU text utilites (cat, sort, uniq)
48809 # used to process emxexp output
48810 # - GNU file utilities (mv, rm)
48811 # - GNU sed
48812 # - lxlite (optional, see flag below)
48813 # (used for general .dll cleanup)
48814 #
48815
48816 flag_USE_LXLITE=1;
48817
48818 #
48819 # helper functions
48820 # basnam, variant of basename, which does _not_ remove the path, _iff_
48821 # second argument (suffix to remove) is given
48822 basnam(){
48823 case ${D}# in
48824 1)
48825 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48826 ;;
48827 2)
48828 echo ${D}1 | sed 's/'${D}2'${D}//'
48829 ;;
48830 *)
48831 echo "error in basnam ${D}*"
48832 exit 8
48833 ;;
48834 esac
48835 }
48836
48837 # Cleanup temporary files and output
48838 CleanUp() {
48839 cd ${D}curDir
48840 for i in ${D}inputFiles ; do
48841 case ${D}i in
48842 *!)
48843 rm -rf \`basnam ${D}i !\`
48844 ;;
48845 *)
48846 ;;
48847 esac
48848 done
48849
48850 # Kill result in case of failure as there is just to many stupid make/nmake
48851 # things out there which doesn't do this.
48852 if [ ${D}# -eq 0 ]; then
48853 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48854 fi
48855 }
48856
48857 # Print usage and exit script with rc=1.
48858 PrintHelp() {
48859 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48860 echo ' [-name-mangler-script script.sh]'
48861 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48862 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48863 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48864 echo ' [*.o] [*.a]'
48865 echo '*> "output_file" should have no extension.'
48866 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48867 echo ' The import library name is derived from this and is set to "name".a,'
48868 echo ' unless overridden by -import'
48869 echo '*> "importlib_name" should have no extension.'
48870 echo ' If it has the .o, or .a extension, it is automatically removed.'
48871 echo ' This name is used as the import library name and may be longer and'
48872 echo ' more descriptive than the DLL name which has to follow the old '
48873 echo ' 8.3 convention of FAT.'
48874 echo '*> "script.sh may be given to override the output_file name by a'
48875 echo ' different name. It is mainly useful if the regular make process'
48876 echo ' of some package does not take into account OS/2 restriction of'
48877 echo ' DLL name lengths. It takes the importlib name as input and is'
48878 echo ' supposed to procude a shorter name as output. The script should'
48879 echo ' expect to get importlib_name without extension and should produce'
48880 echo ' a (max.) 8 letter name without extension.'
48881 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48882 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48883 echo ' These flags will be put at the start of GCC command line.'
48884 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48885 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48886 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48887 echo ' If the last character of a symbol is "*", all symbols beginning'
48888 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48889 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48890 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48891 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48892 echo ' C runtime DLLs.'
48893 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48894 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48895 echo ' unchanged to GCC at the end of command line.'
48896 echo '*> If you create a DLL from a library and you do not specify -o,'
48897 echo ' the basename for DLL and import library will be set to library name,'
48898 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48899 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48900 echo ' library will be renamed into gcc_s.a.'
48901 echo '--------'
48902 echo 'Example:'
48903 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48904 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48905 CleanUp
48906 exit 1
48907 }
48908
48909 # Execute a command.
48910 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48911 # @Uses Whatever CleanUp() uses.
48912 doCommand() {
48913 echo "${D}*"
48914 eval ${D}*
48915 rcCmd=${D}?
48916
48917 if [ ${D}rcCmd -ne 0 ]; then
48918 echo "command failed, exit code="${D}rcCmd
48919 CleanUp
48920 exit ${D}rcCmd
48921 fi
48922 }
48923
48924 # main routine
48925 # setup globals
48926 cmdLine=${D}*
48927 outFile=""
48928 outimpFile=""
48929 inputFiles=""
48930 renameScript=""
48931 description=""
48932 CC=gcc.exe
48933 CFLAGS="-s -Zcrtdll"
48934 EXTRA_CFLAGS=""
48935 EXPORT_BY_ORDINALS=0
48936 exclude_symbols=""
48937 library_flags=""
48938 curDir=\`pwd\`
48939 curDirS=curDir
48940 case ${D}curDirS in
48941 */)
48942 ;;
48943 *)
48944 curDirS=${D}{curDirS}"/"
48945 ;;
48946 esac
48947 # Parse commandline
48948 libsToLink=0
48949 omfLinking=0
48950 while [ ${D}1 ]; do
48951 case ${D}1 in
48952 -ord*)
48953 EXPORT_BY_ORDINALS=1;
48954 ;;
48955 -o*)
48956 shift
48957 outFile=${D}1
48958 ;;
48959 -i*)
48960 shift
48961 outimpFile=${D}1
48962 ;;
48963 -name-mangler-script)
48964 shift
48965 renameScript=${D}1
48966 ;;
48967 -d*)
48968 shift
48969 description=${D}1
48970 ;;
48971 -f*)
48972 shift
48973 CFLAGS=${D}1
48974 ;;
48975 -c*)
48976 shift
48977 CC=${D}1
48978 ;;
48979 -h*)
48980 PrintHelp
48981 ;;
48982 -ex*)
48983 shift
48984 exclude_symbols=${D}{exclude_symbols}${D}1" "
48985 ;;
48986 -libf*)
48987 shift
48988 library_flags=${D}{library_flags}${D}1" "
48989 ;;
48990 -nocrt*)
48991 CFLAGS="-s"
48992 ;;
48993 -nolxl*)
48994 flag_USE_LXLITE=0
48995 ;;
48996 -* | /*)
48997 case ${D}1 in
48998 -L* | -l*)
48999 libsToLink=1
49000 ;;
49001 -Zomf)
49002 omfLinking=1
49003 ;;
49004 *)
49005 ;;
49006 esac
49007 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49008 ;;
49009 *.dll)
49010 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49011 if [ ${D}omfLinking -eq 1 ]; then
49012 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49013 else
49014 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49015 fi
49016 ;;
49017 *)
49018 found=0;
49019 if [ ${D}libsToLink -ne 0 ]; then
49020 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49021 else
49022 for file in ${D}1 ; do
49023 if [ -f ${D}file ]; then
49024 inputFiles="${D}{inputFiles} ${D}file"
49025 found=1
49026 fi
49027 done
49028 if [ ${D}found -eq 0 ]; then
49029 echo "ERROR: No file(s) found: "${D}1
49030 exit 8
49031 fi
49032 fi
49033 ;;
49034 esac
49035 shift
49036 done # iterate cmdline words
49037
49038 #
49039 if [ -z "${D}inputFiles" ]; then
49040 echo "dllar: no input files"
49041 PrintHelp
49042 fi
49043
49044 # Now extract all .o files from .a files
49045 newInputFiles=""
49046 for file in ${D}inputFiles ; do
49047 case ${D}file in
49048 *.a | *.lib)
49049 case ${D}file in
49050 *.a)
49051 suffix=".a"
49052 AR="ar"
49053 ;;
49054 *.lib)
49055 suffix=".lib"
49056 AR="emxomfar"
49057 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49058 ;;
49059 *)
49060 ;;
49061 esac
49062 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49063 mkdir ${D}dirname
49064 if [ ${D}? -ne 0 ]; then
49065 echo "Failed to create subdirectory ./${D}dirname"
49066 CleanUp
49067 exit 8;
49068 fi
49069 # Append '!' to indicate archive
49070 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49071 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49072 cd ${D}curDir
49073 found=0;
49074 for subfile in ${D}dirname/*.o* ; do
49075 if [ -f ${D}subfile ]; then
49076 found=1
49077 if [ -s ${D}subfile ]; then
49078 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49079 newInputFiles="${D}newInputFiles ${D}subfile"
49080 fi
49081 fi
49082 done
49083 if [ ${D}found -eq 0 ]; then
49084 echo "WARNING: there are no files in archive \\'${D}file\\'"
49085 fi
49086 ;;
49087 *)
49088 newInputFiles="${D}{newInputFiles} ${D}file"
49089 ;;
49090 esac
49091 done
49092 inputFiles="${D}newInputFiles"
49093
49094 # Output filename(s).
49095 do_backup=0;
49096 if [ -z ${D}outFile ]; then
49097 do_backup=1;
49098 set outFile ${D}inputFiles; outFile=${D}2
49099 fi
49100
49101 # If it is an archive, remove the '!' and the '_%' suffixes
49102 case ${D}outFile in
49103 *_%!)
49104 outFile=\`basnam ${D}outFile _%!\`
49105 ;;
49106 *)
49107 ;;
49108 esac
49109 case ${D}outFile in
49110 *.dll)
49111 outFile=\`basnam ${D}outFile .dll\`
49112 ;;
49113 *.DLL)
49114 outFile=\`basnam ${D}outFile .DLL\`
49115 ;;
49116 *.o)
49117 outFile=\`basnam ${D}outFile .o\`
49118 ;;
49119 *.obj)
49120 outFile=\`basnam ${D}outFile .obj\`
49121 ;;
49122 *.a)
49123 outFile=\`basnam ${D}outFile .a\`
49124 ;;
49125 *.lib)
49126 outFile=\`basnam ${D}outFile .lib\`
49127 ;;
49128 *)
49129 ;;
49130 esac
49131 case ${D}outimpFile in
49132 *.a)
49133 outimpFile=\`basnam ${D}outimpFile .a\`
49134 ;;
49135 *.lib)
49136 outimpFile=\`basnam ${D}outimpFile .lib\`
49137 ;;
49138 *)
49139 ;;
49140 esac
49141 if [ -z ${D}outimpFile ]; then
49142 outimpFile=${D}outFile
49143 fi
49144 defFile="${D}{outFile}.def"
49145 arcFile="${D}{outimpFile}.a"
49146 arcFile2="${D}{outimpFile}.lib"
49147
49148 #create ${D}dllFile as something matching 8.3 restrictions,
49149 if [ -z ${D}renameScript ] ; then
49150 dllFile="${D}outFile"
49151 else
49152 dllFile=\`${D}renameScript ${D}outimpFile\`
49153 fi
49154
49155 if [ ${D}do_backup -ne 0 ] ; then
49156 if [ -f ${D}arcFile ] ; then
49157 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49158 fi
49159 if [ -f ${D}arcFile2 ] ; then
49160 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49161 fi
49162 fi
49163
49164 # Extract public symbols from all the object files.
49165 tmpdefFile=${D}{defFile}_%
49166 rm -f ${D}tmpdefFile
49167 for file in ${D}inputFiles ; do
49168 case ${D}file in
49169 *!)
49170 ;;
49171 *)
49172 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49173 ;;
49174 esac
49175 done
49176
49177 # Create the def file.
49178 rm -f ${D}defFile
49179 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49180 dllFile="${D}{dllFile}.dll"
49181 if [ ! -z ${D}description ]; then
49182 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49183 fi
49184 echo "EXPORTS" >> ${D}defFile
49185
49186 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49187 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49188
49189 # Checks if the export is ok or not.
49190 for word in ${D}exclude_symbols; do
49191 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49192 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49193 done
49194
49195
49196 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49197 sed "=" < ${D}tmpdefFile | \\
49198 sed '
49199 N
49200 : loop
49201 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49202 t loop
49203 ' > ${D}{tmpdefFile}%
49204 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49205 else
49206 rm -f ${D}{tmpdefFile}%
49207 fi
49208 cat ${D}tmpdefFile >> ${D}defFile
49209 rm -f ${D}tmpdefFile
49210
49211 # Do linking, create implib, and apply lxlite.
49212 gccCmdl="";
49213 for file in ${D}inputFiles ; do
49214 case ${D}file in
49215 *!)
49216 ;;
49217 *)
49218 gccCmdl="${D}gccCmdl ${D}file"
49219 ;;
49220 esac
49221 done
49222 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49223 touch "${D}{outFile}.dll"
49224
49225 doCommand "emximp -o ${D}arcFile ${D}defFile"
49226 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49227 add_flags="";
49228 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49229 add_flags="-ynd"
49230 fi
49231 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49232 fi
49233 doCommand "emxomf -s -l ${D}arcFile"
49234
49235 # Successful exit.
49236 CleanUp 1
49237 exit 0
49238 EOF
49239
49240 chmod +x dllar.sh
49241 ;;
49242
49243 powerpc-apple-macos* | \
49244 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49245 *-*-mirbsd* | \
49246 *-*-sunos4* | \
49247 *-*-osf* | \
49248 *-*-dgux5* | \
49249 *-*-sysv5* | \
49250 *-pc-msdosdjgpp )
49251 ;;
49252
49253 *)
49254 esac
49255
49256 if test "x$PIC_FLAG" != "x" ; then
49257 PIC_FLAG="$PIC_FLAG -DPIC"
49258 fi
49259
49260 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49261 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49262 fi
49263 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49264 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49265 fi
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275 USE_SOVERSION=0
49276 USE_SOVERLINUX=0
49277 USE_SOVERSOLARIS=0
49278 USE_SOVERCYGWIN=0
49279 USE_SOSYMLINKS=0
49280 USE_MACVERSION=0
49281 SONAME_FLAG=
49282
49283 case "${BAKEFILE_HOST}" in
49284 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49285 SONAME_FLAG="-Wl,-soname,"
49286 USE_SOVERSION=1
49287 USE_SOVERLINUX=1
49288 USE_SOSYMLINKS=1
49289 ;;
49290
49291 *-*-solaris2* )
49292 SONAME_FLAG="-h "
49293 USE_SOVERSION=1
49294 USE_SOVERSOLARIS=1
49295 USE_SOSYMLINKS=1
49296 ;;
49297
49298 *-*-darwin* )
49299 USE_MACVERSION=1
49300 USE_SOVERSION=1
49301 USE_SOSYMLINKS=1
49302 ;;
49303
49304 *-*-cygwin* )
49305 USE_SOVERSION=1
49306 USE_SOVERCYGWIN=1
49307 ;;
49308 esac
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49320 if test "${enable_dependency_tracking+set}" = set; then
49321 enableval="$enable_dependency_tracking"
49322 bk_use_trackdeps="$enableval"
49323 fi;
49324
49325 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49326 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49327
49328 BK_DEPS=""
49329 if test "x$bk_use_trackdeps" = "xno" ; then
49330 DEPS_TRACKING=0
49331 echo "$as_me:$LINENO: result: disabled" >&5
49332 echo "${ECHO_T}disabled" >&6
49333 else
49334 DEPS_TRACKING=1
49335
49336 if test "x$GCC" = "xyes"; then
49337 DEPSMODE=gcc
49338 case "${BAKEFILE_HOST}" in
49339 *-*-darwin* )
49340 DEPSFLAG="-no-cpp-precomp -MMD"
49341 ;;
49342 * )
49343 DEPSFLAG="-MMD"
49344 ;;
49345 esac
49346 echo "$as_me:$LINENO: result: gcc" >&5
49347 echo "${ECHO_T}gcc" >&6
49348 elif test "x$MWCC" = "xyes"; then
49349 DEPSMODE=mwcc
49350 DEPSFLAG="-MM"
49351 echo "$as_me:$LINENO: result: mwcc" >&5
49352 echo "${ECHO_T}mwcc" >&6
49353 elif test "x$SUNCC" = "xyes"; then
49354 DEPSMODE=unixcc
49355 DEPSFLAG="-xM1"
49356 echo "$as_me:$LINENO: result: Sun cc" >&5
49357 echo "${ECHO_T}Sun cc" >&6
49358 elif test "x$SGICC" = "xyes"; then
49359 DEPSMODE=unixcc
49360 DEPSFLAG="-M"
49361 echo "$as_me:$LINENO: result: SGI cc" >&5
49362 echo "${ECHO_T}SGI cc" >&6
49363 elif test "x$HPCC" = "xyes"; then
49364 DEPSMODE=unixcc
49365 DEPSFLAG="+make"
49366 echo "$as_me:$LINENO: result: HP cc" >&5
49367 echo "${ECHO_T}HP cc" >&6
49368 elif test "x$COMPAQCC" = "xyes"; then
49369 DEPSMODE=gcc
49370 DEPSFLAG="-MD"
49371 echo "$as_me:$LINENO: result: Compaq cc" >&5
49372 echo "${ECHO_T}Compaq cc" >&6
49373 else
49374 DEPS_TRACKING=0
49375 echo "$as_me:$LINENO: result: none" >&5
49376 echo "${ECHO_T}none" >&6
49377 fi
49378
49379 if test $DEPS_TRACKING = 1 ; then
49380
49381 D='$'
49382 cat <<EOF >bk-deps
49383 #!/bin/sh
49384
49385 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49386 # script. It is used to track C/C++ files dependencies in portable way.
49387 #
49388 # Permission is given to use this file in any way.
49389
49390 DEPSMODE=${DEPSMODE}
49391 DEPSDIR=.deps
49392 DEPSFLAG="${DEPSFLAG}"
49393
49394 mkdir -p ${D}DEPSDIR
49395
49396 if test ${D}DEPSMODE = gcc ; then
49397 ${D}* ${D}{DEPSFLAG}
49398 status=${D}?
49399 if test ${D}{status} != 0 ; then
49400 exit ${D}{status}
49401 fi
49402 # move created file to the location we want it in:
49403 while test ${D}# -gt 0; do
49404 case "${D}1" in
49405 -o )
49406 shift
49407 objfile=${D}1
49408 ;;
49409 -* )
49410 ;;
49411 * )
49412 srcfile=${D}1
49413 ;;
49414 esac
49415 shift
49416 done
49417 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49418 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49419 if test -f ${D}depfile ; then
49420 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49421 rm -f ${D}depfile
49422 else
49423 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49424 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49425 if test ! -f ${D}depfile ; then
49426 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49427 depfile="${D}objfile.d"
49428 fi
49429 if test -f ${D}depfile ; then
49430 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49431 rm -f ${D}depfile
49432 fi
49433 fi
49434 exit 0
49435 elif test ${D}DEPSMODE = mwcc ; then
49436 ${D}* || exit ${D}?
49437 # Run mwcc again with -MM and redirect into the dep file we want
49438 # NOTE: We can't use shift here because we need ${D}* to be valid
49439 prevarg=
49440 for arg in ${D}* ; do
49441 if test "${D}prevarg" = "-o"; then
49442 objfile=${D}arg
49443 else
49444 case "${D}arg" in
49445 -* )
49446 ;;
49447 * )
49448 srcfile=${D}arg
49449 ;;
49450 esac
49451 fi
49452 prevarg="${D}arg"
49453 done
49454 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49455 exit 0
49456 elif test ${D}DEPSMODE = unixcc; then
49457 ${D}* || exit ${D}?
49458 # Run compiler again with deps flag and redirect into the dep file.
49459 # It doesn't work if the '-o FILE' option is used, but without it the
49460 # dependency file will contain the wrong name for the object. So it is
49461 # removed from the command line, and the dep file is fixed with sed.
49462 cmd=""
49463 while test ${D}# -gt 0; do
49464 case "${D}1" in
49465 -o )
49466 shift
49467 objfile=${D}1
49468 ;;
49469 * )
49470 eval arg${D}#=\\${D}1
49471 cmd="${D}cmd \\${D}arg${D}#"
49472 ;;
49473 esac
49474 shift
49475 done
49476 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49477 exit 0
49478 else
49479 ${D}*
49480 exit ${D}?
49481 fi
49482 EOF
49483
49484 chmod +x bk-deps
49485 BK_DEPS="`pwd`/bk-deps"
49486 fi
49487 fi
49488
49489
49490
49491
49492
49493 case ${BAKEFILE_HOST} in
49494 *-*-cygwin* | *-*-mingw32* )
49495 if test -n "$ac_tool_prefix"; then
49496 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49497 set dummy ${ac_tool_prefix}windres; ac_word=$2
49498 echo "$as_me:$LINENO: checking for $ac_word" >&5
49499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49500 if test "${ac_cv_prog_WINDRES+set}" = set; then
49501 echo $ECHO_N "(cached) $ECHO_C" >&6
49502 else
49503 if test -n "$WINDRES"; then
49504 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49505 else
49506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49507 for as_dir in $PATH
49508 do
49509 IFS=$as_save_IFS
49510 test -z "$as_dir" && as_dir=.
49511 for ac_exec_ext in '' $ac_executable_extensions; do
49512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49513 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49515 break 2
49516 fi
49517 done
49518 done
49519
49520 fi
49521 fi
49522 WINDRES=$ac_cv_prog_WINDRES
49523 if test -n "$WINDRES"; then
49524 echo "$as_me:$LINENO: result: $WINDRES" >&5
49525 echo "${ECHO_T}$WINDRES" >&6
49526 else
49527 echo "$as_me:$LINENO: result: no" >&5
49528 echo "${ECHO_T}no" >&6
49529 fi
49530
49531 fi
49532 if test -z "$ac_cv_prog_WINDRES"; then
49533 ac_ct_WINDRES=$WINDRES
49534 # Extract the first word of "windres", so it can be a program name with args.
49535 set dummy windres; ac_word=$2
49536 echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49538 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49540 else
49541 if test -n "$ac_ct_WINDRES"; then
49542 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49543 else
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49546 do
49547 IFS=$as_save_IFS
49548 test -z "$as_dir" && as_dir=.
49549 for ac_exec_ext in '' $ac_executable_extensions; do
49550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49551 ac_cv_prog_ac_ct_WINDRES="windres"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49553 break 2
49554 fi
49555 done
49556 done
49557
49558 fi
49559 fi
49560 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49561 if test -n "$ac_ct_WINDRES"; then
49562 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49563 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49564 else
49565 echo "$as_me:$LINENO: result: no" >&5
49566 echo "${ECHO_T}no" >&6
49567 fi
49568
49569 WINDRES=$ac_ct_WINDRES
49570 else
49571 WINDRES="$ac_cv_prog_WINDRES"
49572 fi
49573
49574 ;;
49575
49576 *-*-darwin* | powerpc-apple-macos* )
49577 # Extract the first word of "Rez", so it can be a program name with args.
49578 set dummy Rez; ac_word=$2
49579 echo "$as_me:$LINENO: checking for $ac_word" >&5
49580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49581 if test "${ac_cv_prog_REZ+set}" = set; then
49582 echo $ECHO_N "(cached) $ECHO_C" >&6
49583 else
49584 if test -n "$REZ"; then
49585 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49586 else
49587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49588 for as_dir in $PATH
49589 do
49590 IFS=$as_save_IFS
49591 test -z "$as_dir" && as_dir=.
49592 for ac_exec_ext in '' $ac_executable_extensions; do
49593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49594 ac_cv_prog_REZ="Rez"
49595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49596 break 2
49597 fi
49598 done
49599 done
49600
49601 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49602 fi
49603 fi
49604 REZ=$ac_cv_prog_REZ
49605 if test -n "$REZ"; then
49606 echo "$as_me:$LINENO: result: $REZ" >&5
49607 echo "${ECHO_T}$REZ" >&6
49608 else
49609 echo "$as_me:$LINENO: result: no" >&5
49610 echo "${ECHO_T}no" >&6
49611 fi
49612
49613 # Extract the first word of "SetFile", so it can be a program name with args.
49614 set dummy SetFile; ac_word=$2
49615 echo "$as_me:$LINENO: checking for $ac_word" >&5
49616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49617 if test "${ac_cv_prog_SETFILE+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49619 else
49620 if test -n "$SETFILE"; then
49621 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49622 else
49623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49624 for as_dir in $PATH
49625 do
49626 IFS=$as_save_IFS
49627 test -z "$as_dir" && as_dir=.
49628 for ac_exec_ext in '' $ac_executable_extensions; do
49629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49630 ac_cv_prog_SETFILE="SetFile"
49631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49632 break 2
49633 fi
49634 done
49635 done
49636
49637 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49638 fi
49639 fi
49640 SETFILE=$ac_cv_prog_SETFILE
49641 if test -n "$SETFILE"; then
49642 echo "$as_me:$LINENO: result: $SETFILE" >&5
49643 echo "${ECHO_T}$SETFILE" >&6
49644 else
49645 echo "$as_me:$LINENO: result: no" >&5
49646 echo "${ECHO_T}no" >&6
49647 fi
49648
49649 ;;
49650 esac
49651
49652
49653
49654
49655
49656
49657 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49658
49659
49660 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49661
49662
49663
49664 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49665 if test "${enable_precomp_headers+set}" = set; then
49666 enableval="$enable_precomp_headers"
49667 bk_use_pch="$enableval"
49668 fi;
49669
49670 GCC_PCH=0
49671 ICC_PCH=0
49672 USE_PCH=0
49673 BK_MAKE_PCH=""
49674
49675 case ${BAKEFILE_HOST} in
49676 *-*-cygwin* )
49677 bk_use_pch="no"
49678 ;;
49679 esac
49680
49681 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49682 if test "x$GCC" = "xyes"; then
49683 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49684 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49685 cat >conftest.$ac_ext <<_ACEOF
49686 /* confdefs.h. */
49687 _ACEOF
49688 cat confdefs.h >>conftest.$ac_ext
49689 cat >>conftest.$ac_ext <<_ACEOF
49690 /* end confdefs.h. */
49691
49692 int
49693 main ()
49694 {
49695
49696 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49697 There is no PCH support
49698 #endif
49699 #if (__GNUC__ < 3)
49700 There is no PCH support
49701 #endif
49702 #if (__GNUC__ == 3) && \
49703 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49704 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49705 ( defined(__INTEL_COMPILER) )
49706 There is no PCH support
49707 #endif
49708
49709 ;
49710 return 0;
49711 }
49712 _ACEOF
49713 rm -f conftest.$ac_objext
49714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49715 (eval $ac_compile) 2>conftest.er1
49716 ac_status=$?
49717 grep -v '^ *+' conftest.er1 >conftest.err
49718 rm -f conftest.er1
49719 cat conftest.err >&5
49720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721 (exit $ac_status); } &&
49722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49724 (eval $ac_try) 2>&5
49725 ac_status=$?
49726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49727 (exit $ac_status); }; } &&
49728 { ac_try='test -s conftest.$ac_objext'
49729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49730 (eval $ac_try) 2>&5
49731 ac_status=$?
49732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49733 (exit $ac_status); }; }; then
49734
49735 echo "$as_me:$LINENO: result: yes" >&5
49736 echo "${ECHO_T}yes" >&6
49737 GCC_PCH=1
49738
49739 else
49740 echo "$as_me: failed program was:" >&5
49741 sed 's/^/| /' conftest.$ac_ext >&5
49742
49743
49744 cat >conftest.$ac_ext <<_ACEOF
49745 /* confdefs.h. */
49746 _ACEOF
49747 cat confdefs.h >>conftest.$ac_ext
49748 cat >>conftest.$ac_ext <<_ACEOF
49749 /* end confdefs.h. */
49750
49751 int
49752 main ()
49753 {
49754
49755 #if !defined(__INTEL_COMPILER) || \
49756 (__INTEL_COMPILER < 800)
49757 There is no PCH support
49758 #endif
49759
49760 ;
49761 return 0;
49762 }
49763 _ACEOF
49764 rm -f conftest.$ac_objext
49765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49766 (eval $ac_compile) 2>conftest.er1
49767 ac_status=$?
49768 grep -v '^ *+' conftest.er1 >conftest.err
49769 rm -f conftest.er1
49770 cat conftest.err >&5
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); } &&
49773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49775 (eval $ac_try) 2>&5
49776 ac_status=$?
49777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49778 (exit $ac_status); }; } &&
49779 { ac_try='test -s conftest.$ac_objext'
49780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49781 (eval $ac_try) 2>&5
49782 ac_status=$?
49783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49784 (exit $ac_status); }; }; then
49785
49786 echo "$as_me:$LINENO: result: yes" >&5
49787 echo "${ECHO_T}yes" >&6
49788 ICC_PCH=1
49789
49790 else
49791 echo "$as_me: failed program was:" >&5
49792 sed 's/^/| /' conftest.$ac_ext >&5
49793
49794
49795 echo "$as_me:$LINENO: result: no" >&5
49796 echo "${ECHO_T}no" >&6
49797
49798 fi
49799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49800
49801 fi
49802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49803 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49804 USE_PCH=1
49805
49806 D='$'
49807 cat <<EOF >bk-make-pch
49808 #!/bin/sh
49809
49810 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49811 # script. It is used to generated precompiled headers.
49812 #
49813 # Permission is given to use this file in any way.
49814
49815 outfile="${D}{1}"
49816 header="${D}{2}"
49817 shift
49818 shift
49819
49820 compiler=""
49821 headerfile=""
49822
49823 while test ${D}{#} -gt 0; do
49824 add_to_cmdline=1
49825 case "${D}{1}" in
49826 -I* )
49827 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49828 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49829 headerfile="${D}{incdir}/${D}{header}"
49830 fi
49831 ;;
49832 -use-pch|-use_pch )
49833 shift
49834 add_to_cmdline=0
49835 ;;
49836 esac
49837 if test ${D}add_to_cmdline = 1 ; then
49838 compiler="${D}{compiler} ${D}{1}"
49839 fi
49840 shift
49841 done
49842
49843 if test "x${D}{headerfile}" = "x" ; then
49844 echo "error: can't find header ${D}{header} in include paths" >&2
49845 else
49846 if test -f ${D}{outfile} ; then
49847 rm -f ${D}{outfile}
49848 else
49849 mkdir -p \`dirname ${D}{outfile}\`
49850 fi
49851 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49852 mkdir -p .deps
49853 if test "x${GCC_PCH}" = "x1" ; then
49854 # can do this because gcc is >= 3.4:
49855 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49856 elif test "x${ICC_PCH}" = "x1" ; then
49857 filename=pch_gen-${D}${D}
49858 file=${D}{filename}.c
49859 dfile=${D}{filename}.d
49860 cat > ${D}file <<EOT
49861 #include "${D}header"
49862 EOT
49863 # using -MF icc complains about differing command lines in creation/use
49864 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49865 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49866 rm -f ${D}file ${D}dfile ${D}{filename}.o
49867 fi
49868 exit ${D}{?}
49869 fi
49870 EOF
49871
49872 chmod +x bk-make-pch
49873 BK_MAKE_PCH="`pwd`/bk-make-pch"
49874 fi
49875 fi
49876 fi
49877
49878
49879
49880
49881
49882 COND_BUILD_DEBUG="#"
49883 if test "x$BUILD" = "xdebug" ; then
49884 COND_BUILD_DEBUG=""
49885 fi
49886
49887 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49888 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49890 fi
49891
49892 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49893 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49894 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49895 fi
49896
49897 COND_BUILD_DEBUG_UNICODE_0="#"
49898 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49899 COND_BUILD_DEBUG_UNICODE_0=""
49900 fi
49901
49902 COND_BUILD_DEBUG_UNICODE_1="#"
49903 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49904 COND_BUILD_DEBUG_UNICODE_1=""
49905 fi
49906
49907 COND_BUILD_RELEASE="#"
49908 if test "x$BUILD" = "xrelease" ; then
49909 COND_BUILD_RELEASE=""
49910 fi
49911
49912 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49913 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49915 fi
49916
49917 COND_BUILD_RELEASE_UNICODE_0="#"
49918 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49919 COND_BUILD_RELEASE_UNICODE_0=""
49920 fi
49921
49922 COND_BUILD_RELEASE_UNICODE_1="#"
49923 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49924 COND_BUILD_RELEASE_UNICODE_1=""
49925 fi
49926
49927 COND_DEBUG_FLAG_1="#"
49928 if test "x$DEBUG_FLAG" = "x1" ; then
49929 COND_DEBUG_FLAG_1=""
49930 fi
49931
49932 COND_DEBUG_INFO_0="#"
49933 if test "x$DEBUG_INFO" = "x0" ; then
49934 COND_DEBUG_INFO_0=""
49935 fi
49936
49937 COND_DEBUG_INFO_1="#"
49938 if test "x$DEBUG_INFO" = "x1" ; then
49939 COND_DEBUG_INFO_1=""
49940 fi
49941
49942 COND_DEPS_TRACKING_0="#"
49943 if test "x$DEPS_TRACKING" = "x0" ; then
49944 COND_DEPS_TRACKING_0=""
49945 fi
49946
49947 COND_DEPS_TRACKING_1="#"
49948 if test "x$DEPS_TRACKING" = "x1" ; then
49949 COND_DEPS_TRACKING_1=""
49950 fi
49951
49952 COND_GCC_PCH_1="#"
49953 if test "x$GCC_PCH" = "x1" ; then
49954 COND_GCC_PCH_1=""
49955 fi
49956
49957 COND_ICC_PCH_1="#"
49958 if test "x$ICC_PCH" = "x1" ; then
49959 COND_ICC_PCH_1=""
49960 fi
49961
49962 COND_MONOLITHIC_0="#"
49963 if test "x$MONOLITHIC" = "x0" ; then
49964 COND_MONOLITHIC_0=""
49965 fi
49966
49967 COND_MONOLITHIC_0_SHARED_0="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49969 COND_MONOLITHIC_0_SHARED_0=""
49970 fi
49971
49972 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49975 fi
49976
49977 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49979 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49980 fi
49981
49982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49984 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49985 fi
49986
49987 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49989 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49990 fi
49991
49992 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49994 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49995 fi
49996
49997 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50000 fi
50001
50002 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50004 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50005 fi
50006
50007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50010 fi
50011
50012 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50014 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50015 fi
50016
50017 COND_MONOLITHIC_0_SHARED_1="#"
50018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50019 COND_MONOLITHIC_0_SHARED_1=""
50020 fi
50021
50022 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50024 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50025 fi
50026
50027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50030 fi
50031
50032 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50034 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50035 fi
50036
50037 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50039 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50040 fi
50041
50042 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50044 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50045 fi
50046
50047 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50049 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50050 fi
50051
50052 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50054 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50055 fi
50056
50057 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50059 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50060 fi
50061
50062 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50064 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50065 fi
50066
50067 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50068 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50069 COND_MONOLITHIC_0_USE_MEDIA_1=""
50070 fi
50071
50072 COND_MONOLITHIC_0_USE_ODBC_1="#"
50073 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50074 COND_MONOLITHIC_0_USE_ODBC_1=""
50075 fi
50076
50077 COND_MONOLITHIC_1="#"
50078 if test "x$MONOLITHIC" = "x1" ; then
50079 COND_MONOLITHIC_1=""
50080 fi
50081
50082 COND_MONOLITHIC_1_SHARED_0="#"
50083 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50084 COND_MONOLITHIC_1_SHARED_0=""
50085 fi
50086
50087 COND_MONOLITHIC_1_SHARED_1="#"
50088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50089 COND_MONOLITHIC_1_SHARED_1=""
50090 fi
50091
50092 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50093 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50095 fi
50096
50097 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50098 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50100 fi
50101
50102 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50103 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50105 fi
50106
50107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50110 fi
50111
50112 COND_PLATFORM_MACOSX_1="#"
50113 if test "x$PLATFORM_MACOSX" = "x1" ; then
50114 COND_PLATFORM_MACOSX_1=""
50115 fi
50116
50117 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50119 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50120 fi
50121
50122 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50125 fi
50126
50127 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50130 fi
50131
50132 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50135 fi
50136
50137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50140 fi
50141
50142 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50144 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50145 fi
50146
50147 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50150 fi
50151
50152 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50154 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50155 fi
50156
50157 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50159 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50160 fi
50161
50162 COND_PLATFORM_MACOS_1="#"
50163 if test "x$PLATFORM_MACOS" = "x1" ; then
50164 COND_PLATFORM_MACOS_1=""
50165 fi
50166
50167 COND_PLATFORM_MAC_1="#"
50168 if test "x$PLATFORM_MAC" = "x1" ; then
50169 COND_PLATFORM_MAC_1=""
50170 fi
50171
50172 COND_PLATFORM_MSDOS_0="#"
50173 if test "x$PLATFORM_MSDOS" = "x0" ; then
50174 COND_PLATFORM_MSDOS_0=""
50175 fi
50176
50177 COND_PLATFORM_MSDOS_1="#"
50178 if test "x$PLATFORM_MSDOS" = "x1" ; then
50179 COND_PLATFORM_MSDOS_1=""
50180 fi
50181
50182 COND_PLATFORM_OS2_1="#"
50183 if test "x$PLATFORM_OS2" = "x1" ; then
50184 COND_PLATFORM_OS2_1=""
50185 fi
50186
50187 COND_PLATFORM_UNIX_0="#"
50188 if test "x$PLATFORM_UNIX" = "x0" ; then
50189 COND_PLATFORM_UNIX_0=""
50190 fi
50191
50192 COND_PLATFORM_UNIX_1="#"
50193 if test "x$PLATFORM_UNIX" = "x1" ; then
50194 COND_PLATFORM_UNIX_1=""
50195 fi
50196
50197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50200 fi
50201
50202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50205 fi
50206
50207 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50209 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50210 fi
50211
50212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50215 fi
50216
50217 COND_PLATFORM_WIN32_0="#"
50218 if test "x$PLATFORM_WIN32" = "x0" ; then
50219 COND_PLATFORM_WIN32_0=""
50220 fi
50221
50222 COND_PLATFORM_WIN32_1="#"
50223 if test "x$PLATFORM_WIN32" = "x1" ; then
50224 COND_PLATFORM_WIN32_1=""
50225 fi
50226
50227 COND_SHARED_0="#"
50228 if test "x$SHARED" = "x0" ; then
50229 COND_SHARED_0=""
50230 fi
50231
50232 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50233 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50234 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50235 fi
50236
50237 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50239 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50240 fi
50241
50242 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50244 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50245 fi
50246
50247 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50248 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50249 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50250 fi
50251
50252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50255 fi
50256
50257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50260 fi
50261
50262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50265 fi
50266
50267 COND_SHARED_0_USE_XRC_1="#"
50268 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50269 COND_SHARED_0_USE_XRC_1=""
50270 fi
50271
50272 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50273 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50275 fi
50276
50277 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50278 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50279 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50280 fi
50281
50282 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50283 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50284 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50285 fi
50286
50287 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50288 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50289 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50290 fi
50291
50292 COND_SHARED_1="#"
50293 if test "x$SHARED" = "x1" ; then
50294 COND_SHARED_1=""
50295 fi
50296
50297 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50298 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50299 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50300 fi
50301
50302 COND_SHARED_1_USE_XRC_1="#"
50303 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50304 COND_SHARED_1_USE_XRC_1=""
50305 fi
50306
50307 COND_TOOLKIT_="#"
50308 if test "x$TOOLKIT" = "x" ; then
50309 COND_TOOLKIT_=""
50310 fi
50311
50312 COND_TOOLKIT_COCOA="#"
50313 if test "x$TOOLKIT" = "xCOCOA" ; then
50314 COND_TOOLKIT_COCOA=""
50315 fi
50316
50317 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50318 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50319 COND_TOOLKIT_COCOA_USE_GUI_1=""
50320 fi
50321
50322 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50323 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50324 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50325 fi
50326
50327 COND_TOOLKIT_DFB="#"
50328 if test "x$TOOLKIT" = "xDFB" ; then
50329 COND_TOOLKIT_DFB=""
50330 fi
50331
50332 COND_TOOLKIT_DFB_USE_GUI_1="#"
50333 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50334 COND_TOOLKIT_DFB_USE_GUI_1=""
50335 fi
50336
50337 COND_TOOLKIT_GTK="#"
50338 if test "x$TOOLKIT" = "xGTK" ; then
50339 COND_TOOLKIT_GTK=""
50340 fi
50341
50342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50345 fi
50346
50347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50350 fi
50351
50352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50355 fi
50356
50357 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50359 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50360 fi
50361
50362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50365 fi
50366
50367 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50368 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50369 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50370 fi
50371
50372 COND_TOOLKIT_GTK_USE_GUI_1="#"
50373 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50374 COND_TOOLKIT_GTK_USE_GUI_1=""
50375 fi
50376
50377 COND_TOOLKIT_MAC="#"
50378 if test "x$TOOLKIT" = "xMAC" ; then
50379 COND_TOOLKIT_MAC=""
50380 fi
50381
50382 COND_TOOLKIT_MAC_USE_GUI_1="#"
50383 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50384 COND_TOOLKIT_MAC_USE_GUI_1=""
50385 fi
50386
50387 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50388 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50389 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50390 fi
50391
50392 COND_TOOLKIT_MGL="#"
50393 if test "x$TOOLKIT" = "xMGL" ; then
50394 COND_TOOLKIT_MGL=""
50395 fi
50396
50397 COND_TOOLKIT_MGL_USE_GUI_1="#"
50398 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50399 COND_TOOLKIT_MGL_USE_GUI_1=""
50400 fi
50401
50402 COND_TOOLKIT_MOTIF="#"
50403 if test "x$TOOLKIT" = "xMOTIF" ; then
50404 COND_TOOLKIT_MOTIF=""
50405 fi
50406
50407 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50408 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50409 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50410 fi
50411
50412 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50413 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50414 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50415 fi
50416
50417 COND_TOOLKIT_MSW="#"
50418 if test "x$TOOLKIT" = "xMSW" ; then
50419 COND_TOOLKIT_MSW=""
50420 fi
50421
50422 COND_TOOLKIT_MSW_USE_GUI_1="#"
50423 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50424 COND_TOOLKIT_MSW_USE_GUI_1=""
50425 fi
50426
50427 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50428 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50429 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50430 fi
50431
50432 COND_TOOLKIT_MSW_WXUNIV_0="#"
50433 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50434 COND_TOOLKIT_MSW_WXUNIV_0=""
50435 fi
50436
50437 COND_TOOLKIT_PM="#"
50438 if test "x$TOOLKIT" = "xPM" ; then
50439 COND_TOOLKIT_PM=""
50440 fi
50441
50442 COND_TOOLKIT_PM_USE_GUI_1="#"
50443 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50444 COND_TOOLKIT_PM_USE_GUI_1=""
50445 fi
50446
50447 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50448 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50449 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50450 fi
50451
50452 COND_TOOLKIT_WINCE="#"
50453 if test "x$TOOLKIT" = "xWINCE" ; then
50454 COND_TOOLKIT_WINCE=""
50455 fi
50456
50457 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50458 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50459 COND_TOOLKIT_WINCE_USE_GUI_1=""
50460 fi
50461
50462 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50463 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50464 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50465 fi
50466
50467 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50468 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50469 COND_TOOLKIT_WINCE_WXUNIV_0=""
50470 fi
50471
50472 COND_TOOLKIT_X11="#"
50473 if test "x$TOOLKIT" = "xX11" ; then
50474 COND_TOOLKIT_X11=""
50475 fi
50476
50477 COND_TOOLKIT_X11_USE_GUI_1="#"
50478 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50479 COND_TOOLKIT_X11_USE_GUI_1=""
50480 fi
50481
50482 COND_UNICODE_1="#"
50483 if test "x$UNICODE" = "x1" ; then
50484 COND_UNICODE_1=""
50485 fi
50486
50487 COND_USE_EXCEPTIONS_0="#"
50488 if test "x$USE_EXCEPTIONS" = "x0" ; then
50489 COND_USE_EXCEPTIONS_0=""
50490 fi
50491
50492 COND_USE_EXCEPTIONS_1="#"
50493 if test "x$USE_EXCEPTIONS" = "x1" ; then
50494 COND_USE_EXCEPTIONS_1=""
50495 fi
50496
50497 COND_USE_GUI_0="#"
50498 if test "x$USE_GUI" = "x0" ; then
50499 COND_USE_GUI_0=""
50500 fi
50501
50502 COND_USE_GUI_1="#"
50503 if test "x$USE_GUI" = "x1" ; then
50504 COND_USE_GUI_1=""
50505 fi
50506
50507 COND_USE_GUI_1_WXUNIV_0="#"
50508 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50509 COND_USE_GUI_1_WXUNIV_0=""
50510 fi
50511
50512 COND_USE_GUI_1_WXUNIV_1="#"
50513 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50514 COND_USE_GUI_1_WXUNIV_1=""
50515 fi
50516
50517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50519 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50520 fi
50521
50522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50523 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50524 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50525 fi
50526
50527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50528 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50529 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50530 fi
50531
50532 COND_USE_ODBC_1="#"
50533 if test "x$USE_ODBC" = "x1" ; then
50534 COND_USE_ODBC_1=""
50535 fi
50536
50537 COND_USE_OPENGL_1="#"
50538 if test "x$USE_OPENGL" = "x1" ; then
50539 COND_USE_OPENGL_1=""
50540 fi
50541
50542 COND_USE_PCH_1="#"
50543 if test "x$USE_PCH" = "x1" ; then
50544 COND_USE_PCH_1=""
50545 fi
50546
50547 COND_USE_PLUGINS_0="#"
50548 if test "x$USE_PLUGINS" = "x0" ; then
50549 COND_USE_PLUGINS_0=""
50550 fi
50551
50552 COND_USE_RTTI_0="#"
50553 if test "x$USE_RTTI" = "x0" ; then
50554 COND_USE_RTTI_0=""
50555 fi
50556
50557 COND_USE_RTTI_1="#"
50558 if test "x$USE_RTTI" = "x1" ; then
50559 COND_USE_RTTI_1=""
50560 fi
50561
50562 COND_USE_SOSYMLINKS_1="#"
50563 if test "x$USE_SOSYMLINKS" = "x1" ; then
50564 COND_USE_SOSYMLINKS_1=""
50565 fi
50566
50567 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50568 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50569 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50570 fi
50571
50572 COND_USE_SOVERLINUX_1="#"
50573 if test "x$USE_SOVERLINUX" = "x1" ; then
50574 COND_USE_SOVERLINUX_1=""
50575 fi
50576
50577 COND_USE_SOVERSION_0="#"
50578 if test "x$USE_SOVERSION" = "x0" ; then
50579 COND_USE_SOVERSION_0=""
50580 fi
50581
50582 COND_USE_SOVERSOLARIS_1="#"
50583 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50584 COND_USE_SOVERSOLARIS_1=""
50585 fi
50586
50587 COND_USE_THREADS_0="#"
50588 if test "x$USE_THREADS" = "x0" ; then
50589 COND_USE_THREADS_0=""
50590 fi
50591
50592 COND_USE_THREADS_1="#"
50593 if test "x$USE_THREADS" = "x1" ; then
50594 COND_USE_THREADS_1=""
50595 fi
50596
50597 COND_USE_XRC_1="#"
50598 if test "x$USE_XRC" = "x1" ; then
50599 COND_USE_XRC_1=""
50600 fi
50601
50602 COND_WINDOWS_IMPLIB_1="#"
50603 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50604 COND_WINDOWS_IMPLIB_1=""
50605 fi
50606
50607 COND_WITH_PLUGIN_SDL_1="#"
50608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50609 COND_WITH_PLUGIN_SDL_1=""
50610 fi
50611
50612 COND_WXUNIV_0="#"
50613 if test "x$WXUNIV" = "x0" ; then
50614 COND_WXUNIV_0=""
50615 fi
50616
50617 COND_WXUNIV_1="#"
50618 if test "x$WXUNIV" = "x1" ; then
50619 COND_WXUNIV_1=""
50620 fi
50621
50622 COND_WXUSE_EXPAT_BUILTIN="#"
50623 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50624 COND_WXUSE_EXPAT_BUILTIN=""
50625 fi
50626
50627 COND_WXUSE_LIBJPEG_BUILTIN="#"
50628 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50629 COND_WXUSE_LIBJPEG_BUILTIN=""
50630 fi
50631
50632 COND_WXUSE_LIBPNG_BUILTIN="#"
50633 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50634 COND_WXUSE_LIBPNG_BUILTIN=""
50635 fi
50636
50637 COND_WXUSE_LIBTIFF_BUILTIN="#"
50638 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50639 COND_WXUSE_LIBTIFF_BUILTIN=""
50640 fi
50641
50642 COND_WXUSE_ODBC_BUILTIN="#"
50643 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50644 COND_WXUSE_ODBC_BUILTIN=""
50645 fi
50646
50647 COND_WXUSE_REGEX_BUILTIN="#"
50648 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50649 COND_WXUSE_REGEX_BUILTIN=""
50650 fi
50651
50652 COND_WXUSE_ZLIB_BUILTIN="#"
50653 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50654 COND_WXUSE_ZLIB_BUILTIN=""
50655 fi
50656
50657
50658
50659 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50660 { { 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
50661 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;}
50662 { (exit 1); exit 1; }; }
50663 fi
50664
50665 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50666 { { 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
50667 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;}
50668 { (exit 1); exit 1; }; }
50669 fi
50670
50671
50672 if test $GCC_PCH = 1
50673 then
50674 if test "$wx_cv_gcc_pch_bug" = yes; then
50675 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50676 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50677 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50678 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50679 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50680 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50681 fi
50682
50683 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50684 fi
50685
50686
50687 if test "$wxUSE_MAC" = 1 ; then
50688 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50689 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50690 mv temp bk-deps
50691 chmod +x bk-deps
50692 fi
50693 fi
50694
50695 if test "$wxUSE_SHARED" = "yes"; then
50696
50697 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50698 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50699
50700 case "${host}" in
50701 *-pc-os2_emx | *-pc-os2-emx )
50702 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50703 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50704 cp -p ${srcdir}/src/os2/dllnames.sh .
50705 cp -p ${srcdir}/src/os2/dllar.sh .
50706 ;;
50707 esac
50708 else
50709
50710 EXE_LINKER="$CXX -o"
50711
50712 fi
50713 if test "$wxUSE_OMF" = "yes"; then
50714 case "${host}" in
50715 *-pc-os2_emx | *-pc-os2-emx )
50716 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50717 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50718 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50719 ;;
50720 esac
50721 fi
50722
50723 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50724
50725 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50788 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50789 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50790 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 else
50793 cat >conftest.make <<\_ACEOF
50794 all:
50795 @echo 'ac_maketemp="$(MAKE)"'
50796 _ACEOF
50797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50798 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50799 if test -n "$ac_maketemp"; then
50800 eval ac_cv_prog_make_${ac_make}_set=yes
50801 else
50802 eval ac_cv_prog_make_${ac_make}_set=no
50803 fi
50804 rm -f conftest.make
50805 fi
50806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50807 echo "$as_me:$LINENO: result: yes" >&5
50808 echo "${ECHO_T}yes" >&6
50809 SET_MAKE=
50810 else
50811 echo "$as_me:$LINENO: result: no" >&5
50812 echo "${ECHO_T}no" >&6
50813 SET_MAKE="MAKE=${MAKE-make}"
50814 fi
50815
50816
50817
50818 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50819
50820
50821 if test "$USE_WIN32" = 1; then
50822 ac_config_commands="$ac_config_commands
50823 rcdefs.h
50824 "
50825
50826 fi
50827
50828 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50829
50830
50831 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50832
50833
50834 if test "$wx_cv_version_script" = "yes"; then
50835 ac_config_files="$ac_config_files version-script"
50836
50837 fi
50838 ac_config_files="$ac_config_files Makefile"
50839
50840
50841 ac_config_commands="$ac_config_commands wx-config"
50842
50843
50844
50845 if test "$wxWITH_SUBDIRS" != "no"; then
50846 if test "$wxUSE_GUI" = "yes"; then
50847 SUBDIRS="samples demos utils contrib"
50848 else SUBDIRS="samples utils"
50849 fi
50850
50851
50852
50853 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50854 if test "${with_cppunit_prefix+set}" = set; then
50855 withval="$with_cppunit_prefix"
50856 cppunit_config_prefix="$withval"
50857 else
50858 cppunit_config_prefix=""
50859 fi;
50860
50861 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50862 if test "${with_cppunit_exec_prefix+set}" = set; then
50863 withval="$with_cppunit_exec_prefix"
50864 cppunit_config_exec_prefix="$withval"
50865 else
50866 cppunit_config_exec_prefix=""
50867 fi;
50868
50869 if test x$cppunit_config_exec_prefix != x ; then
50870 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50871 if test x${CPPUNIT_CONFIG+set} != xset ; then
50872 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50873 fi
50874 fi
50875 if test x$cppunit_config_prefix != x ; then
50876 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50877 if test x${CPPUNIT_CONFIG+set} != xset ; then
50878 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50879 fi
50880 fi
50881
50882 # Extract the first word of "cppunit-config", so it can be a program name with args.
50883 set dummy cppunit-config; ac_word=$2
50884 echo "$as_me:$LINENO: checking for $ac_word" >&5
50885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50886 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50887 echo $ECHO_N "(cached) $ECHO_C" >&6
50888 else
50889 case $CPPUNIT_CONFIG in
50890 [\\/]* | ?:[\\/]*)
50891 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50892 ;;
50893 *)
50894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50895 for as_dir in $PATH
50896 do
50897 IFS=$as_save_IFS
50898 test -z "$as_dir" && as_dir=.
50899 for ac_exec_ext in '' $ac_executable_extensions; do
50900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50901 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50903 break 2
50904 fi
50905 done
50906 done
50907
50908 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50909 ;;
50910 esac
50911 fi
50912 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50913
50914 if test -n "$CPPUNIT_CONFIG"; then
50915 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50916 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50917 else
50918 echo "$as_me:$LINENO: result: no" >&5
50919 echo "${ECHO_T}no" >&6
50920 fi
50921
50922 cppunit_version_min=1.8.0
50923
50924 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50925 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50926 no_cppunit=""
50927 if test "$CPPUNIT_CONFIG" = "no" ; then
50928 echo "$as_me:$LINENO: result: no" >&5
50929 echo "${ECHO_T}no" >&6
50930 no_cppunit=yes
50931 else
50932 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50933 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50934 cppunit_version=`$CPPUNIT_CONFIG --version`
50935
50936 cppunit_major_version=`echo $cppunit_version | \
50937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50938 cppunit_minor_version=`echo $cppunit_version | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50940 cppunit_micro_version=`echo $cppunit_version | \
50941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50942
50943 cppunit_major_min=`echo $cppunit_version_min | \
50944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50945 cppunit_minor_min=`echo $cppunit_version_min | \
50946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50947 cppunit_micro_min=`echo $cppunit_version_min | \
50948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50949
50950 cppunit_version_proper=`expr \
50951 $cppunit_major_version \> $cppunit_major_min \| \
50952 $cppunit_major_version \= $cppunit_major_min \& \
50953 $cppunit_minor_version \> $cppunit_minor_min \| \
50954 $cppunit_major_version \= $cppunit_major_min \& \
50955 $cppunit_minor_version \= $cppunit_minor_min \& \
50956 $cppunit_micro_version \>= $cppunit_micro_min `
50957
50958 if test "$cppunit_version_proper" = "1" ; then
50959 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50960 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50961 else
50962 echo "$as_me:$LINENO: result: no" >&5
50963 echo "${ECHO_T}no" >&6
50964 no_cppunit=yes
50965 fi
50966 fi
50967
50968 if test "x$no_cppunit" = x ; then
50969 SUBDIRS="$SUBDIRS tests"
50970 else
50971 CPPUNIT_CFLAGS=""
50972 CPPUNIT_LIBS=""
50973 :
50974 fi
50975
50976
50977
50978
50979
50980 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
50981 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
50982 fi
50983
50984 for subdir in `echo $SUBDIRS`; do
50985 if test -d ${srcdir}/${subdir} ; then
50986 if test "$wxUSE_GUI" = "yes"; then
50987 if test ${subdir} = "samples"; then
50988 makefiles="samples/Makefile.in $makefiles"
50989 for sample in `echo $SAMPLES_SUBDIRS`; do
50990 if test -d $srcdir/samples/$sample; then
50991 makefiles="samples/$sample/Makefile.in $makefiles"
50992 fi
50993 done
50994 else
50995 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50996 eval "disabled=\$$disabled_var"
50997 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50998 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50999 fi
51000 else if test ${subdir} = "samples"; then
51001 makefiles="samples/Makefile.in samples/console/Makefile.in"
51002 elif test ${subdir} = "utils"; then
51003 makefiles=""
51004 for util in HelpGen tex2rtf ; do
51005 if test -d $srcdir/utils/$util ; then
51006 makefiles="utils/$util/Makefile.in \
51007 utils/$util/src/Makefile.in \
51008 $makefiles"
51009 fi
51010 done
51011 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51012 fi
51013 fi
51014
51015 for mkin in $makefiles ; do
51016 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51017 ac_config_files="$ac_config_files $mk"
51018
51019 done
51020 fi
51021 done
51022 fi
51023 cat >confcache <<\_ACEOF
51024 # This file is a shell script that caches the results of configure
51025 # tests run on this system so they can be shared between configure
51026 # scripts and configure runs, see configure's option --config-cache.
51027 # It is not useful on other systems. If it contains results you don't
51028 # want to keep, you may remove or edit it.
51029 #
51030 # config.status only pays attention to the cache file if you give it
51031 # the --recheck option to rerun configure.
51032 #
51033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51035 # following values.
51036
51037 _ACEOF
51038
51039 # The following way of writing the cache mishandles newlines in values,
51040 # but we know of no workaround that is simple, portable, and efficient.
51041 # So, don't put newlines in cache variables' values.
51042 # Ultrix sh set writes to stderr and can't be redirected directly,
51043 # and sets the high bit in the cache file unless we assign to the vars.
51044 {
51045 (set) 2>&1 |
51046 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51047 *ac_space=\ *)
51048 # `set' does not quote correctly, so add quotes (double-quote
51049 # substitution turns \\\\ into \\, and sed turns \\ into \).
51050 sed -n \
51051 "s/'/'\\\\''/g;
51052 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51053 ;;
51054 *)
51055 # `set' quotes correctly as required by POSIX, so do not add quotes.
51056 sed -n \
51057 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51058 ;;
51059 esac;
51060 } |
51061 sed '
51062 t clear
51063 : clear
51064 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51065 t end
51066 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51067 : end' >>confcache
51068 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51069 if test -w $cache_file; then
51070 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51071 cat confcache >$cache_file
51072 else
51073 echo "not updating unwritable cache $cache_file"
51074 fi
51075 fi
51076 rm -f confcache
51077
51078 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51079 # Let make expand exec_prefix.
51080 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51081
51082 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51083 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51084 # trailing colons and then remove the whole line if VPATH becomes empty
51085 # (actually we leave an empty line to preserve line numbers).
51086 if test "x$srcdir" = x.; then
51087 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51088 s/:*\$(srcdir):*/:/;
51089 s/:*\${srcdir}:*/:/;
51090 s/:*@srcdir@:*/:/;
51091 s/^\([^=]*=[ ]*\):*/\1/;
51092 s/:*$//;
51093 s/^[^=]*=[ ]*$//;
51094 }'
51095 fi
51096
51097 DEFS=-DHAVE_CONFIG_H
51098
51099 ac_libobjs=
51100 ac_ltlibobjs=
51101 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51102 # 1. Remove the extension, and $U if already installed.
51103 ac_i=`echo "$ac_i" |
51104 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51105 # 2. Add them.
51106 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51107 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51108 done
51109 LIBOBJS=$ac_libobjs
51110
51111 LTLIBOBJS=$ac_ltlibobjs
51112
51113
51114
51115 : ${CONFIG_STATUS=./config.status}
51116 ac_clean_files_save=$ac_clean_files
51117 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51120 cat >$CONFIG_STATUS <<_ACEOF
51121 #! $SHELL
51122 # Generated by $as_me.
51123 # Run this file to recreate the current configuration.
51124 # Compiler output produced by configure, useful for debugging
51125 # configure, is in config.log if it exists.
51126
51127 debug=false
51128 ac_cs_recheck=false
51129 ac_cs_silent=false
51130 SHELL=\${CONFIG_SHELL-$SHELL}
51131 _ACEOF
51132
51133 cat >>$CONFIG_STATUS <<\_ACEOF
51134 ## --------------------- ##
51135 ## M4sh Initialization. ##
51136 ## --------------------- ##
51137
51138 # Be Bourne compatible
51139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51140 emulate sh
51141 NULLCMD=:
51142 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51143 # is contrary to our usage. Disable this feature.
51144 alias -g '${1+"$@"}'='"$@"'
51145 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51146 set -o posix
51147 fi
51148 DUALCASE=1; export DUALCASE # for MKS sh
51149
51150 # Support unset when possible.
51151 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51152 as_unset=unset
51153 else
51154 as_unset=false
51155 fi
51156
51157
51158 # Work around bugs in pre-3.0 UWIN ksh.
51159 $as_unset ENV MAIL MAILPATH
51160 PS1='$ '
51161 PS2='> '
51162 PS4='+ '
51163
51164 # NLS nuisances.
51165 for as_var in \
51166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51168 LC_TELEPHONE LC_TIME
51169 do
51170 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51171 eval $as_var=C; export $as_var
51172 else
51173 $as_unset $as_var
51174 fi
51175 done
51176
51177 # Required to use basename.
51178 if expr a : '\(a\)' >/dev/null 2>&1; then
51179 as_expr=expr
51180 else
51181 as_expr=false
51182 fi
51183
51184 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51185 as_basename=basename
51186 else
51187 as_basename=false
51188 fi
51189
51190
51191 # Name of the executable.
51192 as_me=`$as_basename "$0" ||
51193 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51194 X"$0" : 'X\(//\)$' \| \
51195 X"$0" : 'X\(/\)$' \| \
51196 . : '\(.\)' 2>/dev/null ||
51197 echo X/"$0" |
51198 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51199 /^X\/\(\/\/\)$/{ s//\1/; q; }
51200 /^X\/\(\/\).*/{ s//\1/; q; }
51201 s/.*/./; q'`
51202
51203
51204 # PATH needs CR, and LINENO needs CR and PATH.
51205 # Avoid depending upon Character Ranges.
51206 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51207 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51208 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51209 as_cr_digits='0123456789'
51210 as_cr_alnum=$as_cr_Letters$as_cr_digits
51211
51212 # The user is always right.
51213 if test "${PATH_SEPARATOR+set}" != set; then
51214 echo "#! /bin/sh" >conf$$.sh
51215 echo "exit 0" >>conf$$.sh
51216 chmod +x conf$$.sh
51217 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51218 PATH_SEPARATOR=';'
51219 else
51220 PATH_SEPARATOR=:
51221 fi
51222 rm -f conf$$.sh
51223 fi
51224
51225
51226 as_lineno_1=$LINENO
51227 as_lineno_2=$LINENO
51228 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51229 test "x$as_lineno_1" != "x$as_lineno_2" &&
51230 test "x$as_lineno_3" = "x$as_lineno_2" || {
51231 # Find who we are. Look in the path if we contain no path at all
51232 # relative or not.
51233 case $0 in
51234 *[\\/]* ) as_myself=$0 ;;
51235 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51236 for as_dir in $PATH
51237 do
51238 IFS=$as_save_IFS
51239 test -z "$as_dir" && as_dir=.
51240 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51241 done
51242
51243 ;;
51244 esac
51245 # We did not find ourselves, most probably we were run as `sh COMMAND'
51246 # in which case we are not to be found in the path.
51247 if test "x$as_myself" = x; then
51248 as_myself=$0
51249 fi
51250 if test ! -f "$as_myself"; then
51251 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51252 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51253 { (exit 1); exit 1; }; }
51254 fi
51255 case $CONFIG_SHELL in
51256 '')
51257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51258 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51259 do
51260 IFS=$as_save_IFS
51261 test -z "$as_dir" && as_dir=.
51262 for as_base in sh bash ksh sh5; do
51263 case $as_dir in
51264 /*)
51265 if ("$as_dir/$as_base" -c '
51266 as_lineno_1=$LINENO
51267 as_lineno_2=$LINENO
51268 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51269 test "x$as_lineno_1" != "x$as_lineno_2" &&
51270 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51271 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51272 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51273 CONFIG_SHELL=$as_dir/$as_base
51274 export CONFIG_SHELL
51275 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51276 fi;;
51277 esac
51278 done
51279 done
51280 ;;
51281 esac
51282
51283 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51284 # uniformly replaced by the line number. The first 'sed' inserts a
51285 # line-number line before each line; the second 'sed' does the real
51286 # work. The second script uses 'N' to pair each line-number line
51287 # with the numbered line, and appends trailing '-' during
51288 # substitution so that $LINENO is not a special case at line end.
51289 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51290 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51291 sed '=' <$as_myself |
51292 sed '
51293 N
51294 s,$,-,
51295 : loop
51296 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51297 t loop
51298 s,-$,,
51299 s,^['$as_cr_digits']*\n,,
51300 ' >$as_me.lineno &&
51301 chmod +x $as_me.lineno ||
51302 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51303 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51304 { (exit 1); exit 1; }; }
51305
51306 # Don't try to exec as it changes $[0], causing all sort of problems
51307 # (the dirname of $[0] is not the place where we might find the
51308 # original and so on. Autoconf is especially sensible to this).
51309 . ./$as_me.lineno
51310 # Exit status is that of the last command.
51311 exit
51312 }
51313
51314
51315 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51316 *c*,-n*) ECHO_N= ECHO_C='
51317 ' ECHO_T=' ' ;;
51318 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51319 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51320 esac
51321
51322 if expr a : '\(a\)' >/dev/null 2>&1; then
51323 as_expr=expr
51324 else
51325 as_expr=false
51326 fi
51327
51328 rm -f conf$$ conf$$.exe conf$$.file
51329 echo >conf$$.file
51330 if ln -s conf$$.file conf$$ 2>/dev/null; then
51331 # We could just check for DJGPP; but this test a) works b) is more generic
51332 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51333 if test -f conf$$.exe; then
51334 # Don't use ln at all; we don't have any links
51335 as_ln_s='cp -p'
51336 else
51337 as_ln_s='ln -s'
51338 fi
51339 elif ln conf$$.file conf$$ 2>/dev/null; then
51340 as_ln_s=ln
51341 else
51342 as_ln_s='cp -p'
51343 fi
51344 rm -f conf$$ conf$$.exe conf$$.file
51345
51346 if mkdir -p . 2>/dev/null; then
51347 as_mkdir_p=:
51348 else
51349 test -d ./-p && rmdir ./-p
51350 as_mkdir_p=false
51351 fi
51352
51353 as_executable_p="test -f"
51354
51355 # Sed expression to map a string onto a valid CPP name.
51356 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51357
51358 # Sed expression to map a string onto a valid variable name.
51359 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51360
51361
51362 # IFS
51363 # We need space, tab and new line, in precisely that order.
51364 as_nl='
51365 '
51366 IFS=" $as_nl"
51367
51368 # CDPATH.
51369 $as_unset CDPATH
51370
51371 exec 6>&1
51372
51373 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51374 # report actual input values of CONFIG_FILES etc. instead of their
51375 # values after options handling. Logging --version etc. is OK.
51376 exec 5>>config.log
51377 {
51378 echo
51379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51380 ## Running $as_me. ##
51381 _ASBOX
51382 } >&5
51383 cat >&5 <<_CSEOF
51384
51385 This file was extended by wxWidgets $as_me 2.8.0, which was
51386 generated by GNU Autoconf 2.59. Invocation command line was
51387
51388 CONFIG_FILES = $CONFIG_FILES
51389 CONFIG_HEADERS = $CONFIG_HEADERS
51390 CONFIG_LINKS = $CONFIG_LINKS
51391 CONFIG_COMMANDS = $CONFIG_COMMANDS
51392 $ $0 $@
51393
51394 _CSEOF
51395 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51396 echo >&5
51397 _ACEOF
51398
51399 # Files that config.status was made for.
51400 if test -n "$ac_config_files"; then
51401 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51402 fi
51403
51404 if test -n "$ac_config_headers"; then
51405 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51406 fi
51407
51408 if test -n "$ac_config_links"; then
51409 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51410 fi
51411
51412 if test -n "$ac_config_commands"; then
51413 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51414 fi
51415
51416 cat >>$CONFIG_STATUS <<\_ACEOF
51417
51418 ac_cs_usage="\
51419 \`$as_me' instantiates files from templates according to the
51420 current configuration.
51421
51422 Usage: $0 [OPTIONS] [FILE]...
51423
51424 -h, --help print this help, then exit
51425 -V, --version print version number, then exit
51426 -q, --quiet do not print progress messages
51427 -d, --debug don't remove temporary files
51428 --recheck update $as_me by reconfiguring in the same conditions
51429 --file=FILE[:TEMPLATE]
51430 instantiate the configuration file FILE
51431 --header=FILE[:TEMPLATE]
51432 instantiate the configuration header FILE
51433
51434 Configuration files:
51435 $config_files
51436
51437 Configuration headers:
51438 $config_headers
51439
51440 Configuration commands:
51441 $config_commands
51442
51443 Report bugs to <bug-autoconf@gnu.org>."
51444 _ACEOF
51445
51446 cat >>$CONFIG_STATUS <<_ACEOF
51447 ac_cs_version="\\
51448 wxWidgets config.status 2.8.0
51449 configured by $0, generated by GNU Autoconf 2.59,
51450 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51451
51452 Copyright (C) 2003 Free Software Foundation, Inc.
51453 This config.status script is free software; the Free Software Foundation
51454 gives unlimited permission to copy, distribute and modify it."
51455 srcdir=$srcdir
51456 INSTALL="$INSTALL"
51457 _ACEOF
51458
51459 cat >>$CONFIG_STATUS <<\_ACEOF
51460 # If no file are specified by the user, then we need to provide default
51461 # value. By we need to know if files were specified by the user.
51462 ac_need_defaults=:
51463 while test $# != 0
51464 do
51465 case $1 in
51466 --*=*)
51467 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51468 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51469 ac_shift=:
51470 ;;
51471 -*)
51472 ac_option=$1
51473 ac_optarg=$2
51474 ac_shift=shift
51475 ;;
51476 *) # This is not an option, so the user has probably given explicit
51477 # arguments.
51478 ac_option=$1
51479 ac_need_defaults=false;;
51480 esac
51481
51482 case $ac_option in
51483 # Handling of the options.
51484 _ACEOF
51485 cat >>$CONFIG_STATUS <<\_ACEOF
51486 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51487 ac_cs_recheck=: ;;
51488 --version | --vers* | -V )
51489 echo "$ac_cs_version"; exit 0 ;;
51490 --he | --h)
51491 # Conflict between --help and --header
51492 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51493 Try \`$0 --help' for more information." >&5
51494 echo "$as_me: error: ambiguous option: $1
51495 Try \`$0 --help' for more information." >&2;}
51496 { (exit 1); exit 1; }; };;
51497 --help | --hel | -h )
51498 echo "$ac_cs_usage"; exit 0 ;;
51499 --debug | --d* | -d )
51500 debug=: ;;
51501 --file | --fil | --fi | --f )
51502 $ac_shift
51503 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51504 ac_need_defaults=false;;
51505 --header | --heade | --head | --hea )
51506 $ac_shift
51507 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51508 ac_need_defaults=false;;
51509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51511 ac_cs_silent=: ;;
51512
51513 # This is an error.
51514 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51515 Try \`$0 --help' for more information." >&5
51516 echo "$as_me: error: unrecognized option: $1
51517 Try \`$0 --help' for more information." >&2;}
51518 { (exit 1); exit 1; }; } ;;
51519
51520 *) ac_config_targets="$ac_config_targets $1" ;;
51521
51522 esac
51523 shift
51524 done
51525
51526 ac_configure_extra_args=
51527
51528 if $ac_cs_silent; then
51529 exec 6>/dev/null
51530 ac_configure_extra_args="$ac_configure_extra_args --silent"
51531 fi
51532
51533 _ACEOF
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 if \$ac_cs_recheck; then
51536 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51537 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51538 fi
51539
51540 _ACEOF
51541
51542 cat >>$CONFIG_STATUS <<_ACEOF
51543 #
51544 # INIT-COMMANDS section.
51545 #
51546
51547
51548 CPP="$CPP"
51549 infile="$srcdir/include/wx/msw/genrcdefs.h"
51550 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51551
51552
51553 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51554 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51555 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51556 LN_S="${LN_S}"
51557
51558
51559 _ACEOF
51560
51561
51562
51563 cat >>$CONFIG_STATUS <<\_ACEOF
51564 for ac_config_target in $ac_config_targets
51565 do
51566 case "$ac_config_target" in
51567 # Handling of arguments.
51568 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51569 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51570 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51571 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51572 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51573 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51574 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51575 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51576 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51578 { (exit 1); exit 1; }; };;
51579 esac
51580 done
51581
51582 # If the user did not use the arguments to specify the items to instantiate,
51583 # then the envvar interface is used. Set only those that are not.
51584 # We use the long form for the default assignment because of an extremely
51585 # bizarre bug on SunOS 4.1.3.
51586 if $ac_need_defaults; then
51587 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51588 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51589 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51590 fi
51591
51592 # Have a temporary directory for convenience. Make it in the build tree
51593 # simply because there is no reason to put it here, and in addition,
51594 # creating and moving files from /tmp can sometimes cause problems.
51595 # Create a temporary directory, and hook for its removal unless debugging.
51596 $debug ||
51597 {
51598 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51599 trap '{ (exit 1); exit 1; }' 1 2 13 15
51600 }
51601
51602 # Create a (secure) tmp directory for tmp files.
51603
51604 {
51605 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51606 test -n "$tmp" && test -d "$tmp"
51607 } ||
51608 {
51609 tmp=./confstat$$-$RANDOM
51610 (umask 077 && mkdir $tmp)
51611 } ||
51612 {
51613 echo "$me: cannot create a temporary directory in ." >&2
51614 { (exit 1); exit 1; }
51615 }
51616
51617 _ACEOF
51618
51619 cat >>$CONFIG_STATUS <<_ACEOF
51620
51621 #
51622 # CONFIG_FILES section.
51623 #
51624
51625 # No need to generate the scripts if there are no CONFIG_FILES.
51626 # This happens for instance when ./config.status config.h
51627 if test -n "\$CONFIG_FILES"; then
51628 # Protect against being on the right side of a sed subst in config.status.
51629 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51630 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51631 s,@SHELL@,$SHELL,;t t
51632 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51633 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51634 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51635 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51636 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51637 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51638 s,@exec_prefix@,$exec_prefix,;t t
51639 s,@prefix@,$prefix,;t t
51640 s,@program_transform_name@,$program_transform_name,;t t
51641 s,@bindir@,$bindir,;t t
51642 s,@sbindir@,$sbindir,;t t
51643 s,@libexecdir@,$libexecdir,;t t
51644 s,@datadir@,$datadir,;t t
51645 s,@sysconfdir@,$sysconfdir,;t t
51646 s,@sharedstatedir@,$sharedstatedir,;t t
51647 s,@localstatedir@,$localstatedir,;t t
51648 s,@libdir@,$libdir,;t t
51649 s,@includedir@,$includedir,;t t
51650 s,@oldincludedir@,$oldincludedir,;t t
51651 s,@infodir@,$infodir,;t t
51652 s,@mandir@,$mandir,;t t
51653 s,@build_alias@,$build_alias,;t t
51654 s,@host_alias@,$host_alias,;t t
51655 s,@target_alias@,$target_alias,;t t
51656 s,@DEFS@,$DEFS,;t t
51657 s,@ECHO_C@,$ECHO_C,;t t
51658 s,@ECHO_N@,$ECHO_N,;t t
51659 s,@ECHO_T@,$ECHO_T,;t t
51660 s,@LIBS@,$LIBS,;t t
51661 s,@build@,$build,;t t
51662 s,@build_cpu@,$build_cpu,;t t
51663 s,@build_vendor@,$build_vendor,;t t
51664 s,@build_os@,$build_os,;t t
51665 s,@host@,$host,;t t
51666 s,@host_cpu@,$host_cpu,;t t
51667 s,@host_vendor@,$host_vendor,;t t
51668 s,@host_os@,$host_os,;t t
51669 s,@target@,$target,;t t
51670 s,@target_cpu@,$target_cpu,;t t
51671 s,@target_vendor@,$target_vendor,;t t
51672 s,@target_os@,$target_os,;t t
51673 s,@wx_top_builddir@,$wx_top_builddir,;t t
51674 s,@CC@,$CC,;t t
51675 s,@CFLAGS@,$CFLAGS,;t t
51676 s,@LDFLAGS@,$LDFLAGS,;t t
51677 s,@CPPFLAGS@,$CPPFLAGS,;t t
51678 s,@ac_ct_CC@,$ac_ct_CC,;t t
51679 s,@EXEEXT@,$EXEEXT,;t t
51680 s,@OBJEXT@,$OBJEXT,;t t
51681 s,@CPP@,$CPP,;t t
51682 s,@EGREP@,$EGREP,;t t
51683 s,@CXX@,$CXX,;t t
51684 s,@CXXFLAGS@,$CXXFLAGS,;t t
51685 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51686 s,@RANLIB@,$RANLIB,;t t
51687 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51688 s,@AR@,$AR,;t t
51689 s,@ac_ct_AR@,$ac_ct_AR,;t t
51690 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51691 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51692 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51693 s,@STRIP@,$STRIP,;t t
51694 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51695 s,@WINDRES@,$WINDRES,;t t
51696 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51697 s,@DLLTOOL@,$DLLTOOL,;t t
51698 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51699 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51700 s,@LN_S@,$LN_S,;t t
51701 s,@CXXCPP@,$CXXCPP,;t t
51702 s,@subdirs@,$subdirs,;t t
51703 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51704 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51705 s,@GTK_LIBS@,$GTK_LIBS,;t t
51706 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51707 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51708 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51709 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51710 s,@X_CFLAGS@,$X_CFLAGS,;t t
51711 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51712 s,@X_LIBS@,$X_LIBS,;t t
51713 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51714 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51715 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51716 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51717 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51718 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51719 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51720 s,@REZ@,$REZ,;t t
51721 s,@DEREZ@,$DEREZ,;t t
51722 s,@SETFILE@,$SETFILE,;t t
51723 s,@LIBICONV@,$LIBICONV,;t t
51724 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51725 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51726 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51727 s,@SDL_LIBS@,$SDL_LIBS,;t t
51728 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51729 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51730 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51731 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51732 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51733 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51734 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51735 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51736 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51737 s,@GST_LIBS@,$GST_LIBS,;t t
51738 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51739 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51740 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51741 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51742 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51743 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51744 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51745 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51746 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51747 s,@VENDOR@,$VENDOR,;t t
51748 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51749 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51750 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51751 s,@WXUNIV@,$WXUNIV,;t t
51752 s,@MONOLITHIC@,$MONOLITHIC,;t t
51753 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51754 s,@EXTRALIBS@,$EXTRALIBS,;t t
51755 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51756 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51757 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51758 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51759 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51760 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51761 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51762 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51763 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51764 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51765 s,@UNICODE@,$UNICODE,;t t
51766 s,@BUILD@,$BUILD,;t t
51767 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51768 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51769 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51770 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51771 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51772 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51773 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51774 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51775 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51776 s,@SET_MAKE@,$SET_MAKE,;t t
51777 s,@MAKE_SET@,$MAKE_SET,;t t
51778 s,@AROPTIONS@,$AROPTIONS,;t t
51779 s,@NM@,$NM,;t t
51780 s,@ac_ct_NM@,$ac_ct_NM,;t t
51781 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51782 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51783 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51784 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51785 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51786 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51787 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51788 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51789 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51790 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51791 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51792 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51793 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51794 s,@LIBPREFIX@,$LIBPREFIX,;t t
51795 s,@LIBEXT@,$LIBEXT,;t t
51796 s,@DLLPREFIX@,$DLLPREFIX,;t t
51797 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51798 s,@dlldir@,$dlldir,;t t
51799 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51800 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51801 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51802 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51803 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51804 s,@PIC_FLAG@,$PIC_FLAG,;t t
51805 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51806 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51807 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51808 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51809 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51810 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51811 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51812 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51813 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51814 s,@BK_DEPS@,$BK_DEPS,;t t
51815 s,@GCC_PCH@,$GCC_PCH,;t t
51816 s,@ICC_PCH@,$ICC_PCH,;t t
51817 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51818 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51819 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51820 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51821 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51822 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51823 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51824 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51825 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51826 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51827 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51828 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51829 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51830 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51831 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51832 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51833 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51834 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51835 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51836 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51837 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51838 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
51839 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
51840 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
51841 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
51842 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51843 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51844 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51845 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51846 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51847 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51848 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
51849 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
51850 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
51851 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
51852 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51853 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51854 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51855 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51856 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51857 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51858 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51859 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51860 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51861 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51862 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51863 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51864 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51865 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51866 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51869 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51870 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51871 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51872 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51873 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51874 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51875 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51876 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51877 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51878 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51879 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51880 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51881 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51882 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51883 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51884 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51885 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51886 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51887 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51888 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51889 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51890 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51891 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51892 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51893 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51894 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51895 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51896 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51897 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51898 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51899 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51900 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51901 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51902 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51903 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51904 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51905 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51906 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51907 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51908 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51909 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51910 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51911 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51912 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51913 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
51914 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51915 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51916 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51917 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51918 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51919 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51920 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51921 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51922 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51923 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51924 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51925 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51926 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51927 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51928 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51929 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51930 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51931 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51932 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51933 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51934 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51935 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51936 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51937 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51938 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51939 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51940 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51941 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51942 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51943 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51944 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51945 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51946 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51947 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51948 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51949 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51950 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51951 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51952 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51953 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51954 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51955 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51956 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51957 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51958 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51959 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51960 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51961 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51962 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51963 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51964 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51965 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51966 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51967 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51968 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51969 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51970 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51971 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51972 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51973 s,@SHARED@,$SHARED,;t t
51974 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51975 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51976 s,@USE_GUI@,$USE_GUI,;t t
51977 s,@AFMINSTALL@,$AFMINSTALL,;t t
51978 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51979 s,@TOOLKIT@,$TOOLKIT,;t t
51980 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51981 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51982 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51983 s,@cross_compiling@,$cross_compiling,;t t
51984 s,@WIDGET_SET@,$WIDGET_SET,;t t
51985 s,@WX_RELEASE@,$WX_RELEASE,;t t
51986 s,@WX_VERSION@,$WX_VERSION,;t t
51987 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51988 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51989 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51990 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51991 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51992 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51993 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51994 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51995 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51996 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51997 s,@EXE_LINKER@,$EXE_LINKER,;t t
51998 s,@GUIDIST@,$GUIDIST,;t t
51999 s,@DISTDIR@,$DISTDIR,;t t
52000 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52001 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52002 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52003 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52004 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52005 s,@RESCOMP@,$RESCOMP,;t t
52006 s,@RESFLAGS@,$RESFLAGS,;t t
52007 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52008 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52009 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52010 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52011 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52012 s,@MACSETFILE@,$MACSETFILE,;t t
52013 s,@GCC@,$GCC,;t t
52014 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52015 s,@LIBOBJS@,$LIBOBJS,;t t
52016 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52017 CEOF
52018
52019 _ACEOF
52020
52021 cat >>$CONFIG_STATUS <<\_ACEOF
52022 # Split the substitutions into bite-sized pieces for seds with
52023 # small command number limits, like on Digital OSF/1 and HP-UX.
52024 ac_max_sed_lines=48
52025 ac_sed_frag=1 # Number of current file.
52026 ac_beg=1 # First line for current file.
52027 ac_end=$ac_max_sed_lines # Line after last line for current file.
52028 ac_more_lines=:
52029 ac_sed_cmds=
52030 while $ac_more_lines; do
52031 if test $ac_beg -gt 1; then
52032 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52033 else
52034 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52035 fi
52036 if test ! -s $tmp/subs.frag; then
52037 ac_more_lines=false
52038 else
52039 # The purpose of the label and of the branching condition is to
52040 # speed up the sed processing (if there are no `@' at all, there
52041 # is no need to browse any of the substitutions).
52042 # These are the two extra sed commands mentioned above.
52043 (echo ':t
52044 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52045 if test -z "$ac_sed_cmds"; then
52046 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52047 else
52048 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52049 fi
52050 ac_sed_frag=`expr $ac_sed_frag + 1`
52051 ac_beg=$ac_end
52052 ac_end=`expr $ac_end + $ac_max_sed_lines`
52053 fi
52054 done
52055 if test -z "$ac_sed_cmds"; then
52056 ac_sed_cmds=cat
52057 fi
52058 fi # test -n "$CONFIG_FILES"
52059
52060 _ACEOF
52061 cat >>$CONFIG_STATUS <<\_ACEOF
52062 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52063 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52064 case $ac_file in
52065 - | *:- | *:-:* ) # input from stdin
52066 cat >$tmp/stdin
52067 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52068 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52069 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52070 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52071 * ) ac_file_in=$ac_file.in ;;
52072 esac
52073
52074 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52075 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52076 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52077 X"$ac_file" : 'X\(//\)[^/]' \| \
52078 X"$ac_file" : 'X\(//\)$' \| \
52079 X"$ac_file" : 'X\(/\)' \| \
52080 . : '\(.\)' 2>/dev/null ||
52081 echo X"$ac_file" |
52082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52084 /^X\(\/\/\)$/{ s//\1/; q; }
52085 /^X\(\/\).*/{ s//\1/; q; }
52086 s/.*/./; q'`
52087 { if $as_mkdir_p; then
52088 mkdir -p "$ac_dir"
52089 else
52090 as_dir="$ac_dir"
52091 as_dirs=
52092 while test ! -d "$as_dir"; do
52093 as_dirs="$as_dir $as_dirs"
52094 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52095 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$as_dir" : 'X\(//\)[^/]' \| \
52097 X"$as_dir" : 'X\(//\)$' \| \
52098 X"$as_dir" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52100 echo X"$as_dir" |
52101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52103 /^X\(\/\/\)$/{ s//\1/; q; }
52104 /^X\(\/\).*/{ s//\1/; q; }
52105 s/.*/./; q'`
52106 done
52107 test ! -n "$as_dirs" || mkdir $as_dirs
52108 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52109 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52110 { (exit 1); exit 1; }; }; }
52111
52112 ac_builddir=.
52113
52114 if test "$ac_dir" != .; then
52115 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52116 # A "../" for each directory in $ac_dir_suffix.
52117 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52118 else
52119 ac_dir_suffix= ac_top_builddir=
52120 fi
52121
52122 case $srcdir in
52123 .) # No --srcdir option. We are building in place.
52124 ac_srcdir=.
52125 if test -z "$ac_top_builddir"; then
52126 ac_top_srcdir=.
52127 else
52128 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52129 fi ;;
52130 [\\/]* | ?:[\\/]* ) # Absolute path.
52131 ac_srcdir=$srcdir$ac_dir_suffix;
52132 ac_top_srcdir=$srcdir ;;
52133 *) # Relative path.
52134 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52135 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52136 esac
52137
52138 # Do not use `cd foo && pwd` to compute absolute paths, because
52139 # the directories may not exist.
52140 case `pwd` in
52141 .) ac_abs_builddir="$ac_dir";;
52142 *)
52143 case "$ac_dir" in
52144 .) ac_abs_builddir=`pwd`;;
52145 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52146 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52147 esac;;
52148 esac
52149 case $ac_abs_builddir in
52150 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52151 *)
52152 case ${ac_top_builddir}. in
52153 .) ac_abs_top_builddir=$ac_abs_builddir;;
52154 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52155 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52156 esac;;
52157 esac
52158 case $ac_abs_builddir in
52159 .) ac_abs_srcdir=$ac_srcdir;;
52160 *)
52161 case $ac_srcdir in
52162 .) ac_abs_srcdir=$ac_abs_builddir;;
52163 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52164 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52165 esac;;
52166 esac
52167 case $ac_abs_builddir in
52168 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52169 *)
52170 case $ac_top_srcdir in
52171 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52172 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52173 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52174 esac;;
52175 esac
52176
52177
52178 case $INSTALL in
52179 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52180 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52181 esac
52182
52183 # Let's still pretend it is `configure' which instantiates (i.e., don't
52184 # use $as_me), people would be surprised to read:
52185 # /* config.h. Generated by config.status. */
52186 if test x"$ac_file" = x-; then
52187 configure_input=
52188 else
52189 configure_input="$ac_file. "
52190 fi
52191 configure_input=$configure_input"Generated from `echo $ac_file_in |
52192 sed 's,.*/,,'` by configure."
52193
52194 # First look for the input files in the build tree, otherwise in the
52195 # src tree.
52196 ac_file_inputs=`IFS=:
52197 for f in $ac_file_in; do
52198 case $f in
52199 -) echo $tmp/stdin ;;
52200 [\\/$]*)
52201 # Absolute (can't be DOS-style, as IFS=:)
52202 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52203 echo "$as_me: error: cannot find input file: $f" >&2;}
52204 { (exit 1); exit 1; }; }
52205 echo "$f";;
52206 *) # Relative
52207 if test -f "$f"; then
52208 # Build tree
52209 echo "$f"
52210 elif test -f "$srcdir/$f"; then
52211 # Source tree
52212 echo "$srcdir/$f"
52213 else
52214 # /dev/null tree
52215 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52216 echo "$as_me: error: cannot find input file: $f" >&2;}
52217 { (exit 1); exit 1; }; }
52218 fi;;
52219 esac
52220 done` || { (exit 1); exit 1; }
52221
52222 if test x"$ac_file" != x-; then
52223 { echo "$as_me:$LINENO: creating $ac_file" >&5
52224 echo "$as_me: creating $ac_file" >&6;}
52225 rm -f "$ac_file"
52226 fi
52227 _ACEOF
52228 cat >>$CONFIG_STATUS <<_ACEOF
52229 sed "$ac_vpsub
52230 $extrasub
52231 _ACEOF
52232 cat >>$CONFIG_STATUS <<\_ACEOF
52233 :t
52234 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52235 s,@configure_input@,$configure_input,;t t
52236 s,@srcdir@,$ac_srcdir,;t t
52237 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52238 s,@top_srcdir@,$ac_top_srcdir,;t t
52239 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52240 s,@builddir@,$ac_builddir,;t t
52241 s,@abs_builddir@,$ac_abs_builddir,;t t
52242 s,@top_builddir@,$ac_top_builddir,;t t
52243 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52244 s,@INSTALL@,$ac_INSTALL,;t t
52245 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52246 rm -f $tmp/stdin
52247 if test x"$ac_file" != x-; then
52248 mv $tmp/out $ac_file
52249 else
52250 cat $tmp/out
52251 rm -f $tmp/out
52252 fi
52253
52254 # Run the commands associated with the file.
52255 case $ac_file in
52256 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52257 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52258 esac
52259 done
52260 _ACEOF
52261 cat >>$CONFIG_STATUS <<\_ACEOF
52262
52263 #
52264 # CONFIG_HEADER section.
52265 #
52266
52267 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52268 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52269 #
52270 # ac_d sets the value in "#define NAME VALUE" lines.
52271 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52272 ac_dB='[ ].*$,\1#\2'
52273 ac_dC=' '
52274 ac_dD=',;t'
52275 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52276 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52277 ac_uB='$,\1#\2define\3'
52278 ac_uC=' '
52279 ac_uD=',;t'
52280
52281 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52282 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52283 case $ac_file in
52284 - | *:- | *:-:* ) # input from stdin
52285 cat >$tmp/stdin
52286 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52287 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52288 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52289 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52290 * ) ac_file_in=$ac_file.in ;;
52291 esac
52292
52293 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52294 echo "$as_me: creating $ac_file" >&6;}
52295
52296 # First look for the input files in the build tree, otherwise in the
52297 # src tree.
52298 ac_file_inputs=`IFS=:
52299 for f in $ac_file_in; do
52300 case $f in
52301 -) echo $tmp/stdin ;;
52302 [\\/$]*)
52303 # Absolute (can't be DOS-style, as IFS=:)
52304 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52305 echo "$as_me: error: cannot find input file: $f" >&2;}
52306 { (exit 1); exit 1; }; }
52307 # Do quote $f, to prevent DOS paths from being IFS'd.
52308 echo "$f";;
52309 *) # Relative
52310 if test -f "$f"; then
52311 # Build tree
52312 echo "$f"
52313 elif test -f "$srcdir/$f"; then
52314 # Source tree
52315 echo "$srcdir/$f"
52316 else
52317 # /dev/null tree
52318 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52319 echo "$as_me: error: cannot find input file: $f" >&2;}
52320 { (exit 1); exit 1; }; }
52321 fi;;
52322 esac
52323 done` || { (exit 1); exit 1; }
52324 # Remove the trailing spaces.
52325 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52326
52327 _ACEOF
52328
52329 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52330 # `conftest.undefs', that substitutes the proper values into
52331 # config.h.in to produce config.h. The first handles `#define'
52332 # templates, and the second `#undef' templates.
52333 # And first: Protect against being on the right side of a sed subst in
52334 # config.status. Protect against being in an unquoted here document
52335 # in config.status.
52336 rm -f conftest.defines conftest.undefs
52337 # Using a here document instead of a string reduces the quoting nightmare.
52338 # Putting comments in sed scripts is not portable.
52339 #
52340 # `end' is used to avoid that the second main sed command (meant for
52341 # 0-ary CPP macros) applies to n-ary macro definitions.
52342 # See the Autoconf documentation for `clear'.
52343 cat >confdef2sed.sed <<\_ACEOF
52344 s/[\\&,]/\\&/g
52345 s,[\\$`],\\&,g
52346 t clear
52347 : clear
52348 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52349 t end
52350 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52351 : end
52352 _ACEOF
52353 # If some macros were called several times there might be several times
52354 # the same #defines, which is useless. Nevertheless, we may not want to
52355 # sort them, since we want the *last* AC-DEFINE to be honored.
52356 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52357 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52358 rm -f confdef2sed.sed
52359
52360 # This sed command replaces #undef with comments. This is necessary, for
52361 # example, in the case of _POSIX_SOURCE, which is predefined and required
52362 # on some systems where configure will not decide to define it.
52363 cat >>conftest.undefs <<\_ACEOF
52364 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52365 _ACEOF
52366
52367 # Break up conftest.defines because some shells have a limit on the size
52368 # of here documents, and old seds have small limits too (100 cmds).
52369 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52370 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52371 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52372 echo ' :' >>$CONFIG_STATUS
52373 rm -f conftest.tail
52374 while grep . conftest.defines >/dev/null
52375 do
52376 # Write a limited-size here document to $tmp/defines.sed.
52377 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52378 # Speed up: don't consider the non `#define' lines.
52379 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52380 # Work around the forget-to-reset-the-flag bug.
52381 echo 't clr' >>$CONFIG_STATUS
52382 echo ': clr' >>$CONFIG_STATUS
52383 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52384 echo 'CEOF
52385 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52386 rm -f $tmp/in
52387 mv $tmp/out $tmp/in
52388 ' >>$CONFIG_STATUS
52389 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52390 rm -f conftest.defines
52391 mv conftest.tail conftest.defines
52392 done
52393 rm -f conftest.defines
52394 echo ' fi # grep' >>$CONFIG_STATUS
52395 echo >>$CONFIG_STATUS
52396
52397 # Break up conftest.undefs because some shells have a limit on the size
52398 # of here documents, and old seds have small limits too (100 cmds).
52399 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52400 rm -f conftest.tail
52401 while grep . conftest.undefs >/dev/null
52402 do
52403 # Write a limited-size here document to $tmp/undefs.sed.
52404 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52405 # Speed up: don't consider the non `#undef'
52406 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52407 # Work around the forget-to-reset-the-flag bug.
52408 echo 't clr' >>$CONFIG_STATUS
52409 echo ': clr' >>$CONFIG_STATUS
52410 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52411 echo 'CEOF
52412 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52413 rm -f $tmp/in
52414 mv $tmp/out $tmp/in
52415 ' >>$CONFIG_STATUS
52416 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52417 rm -f conftest.undefs
52418 mv conftest.tail conftest.undefs
52419 done
52420 rm -f conftest.undefs
52421
52422 cat >>$CONFIG_STATUS <<\_ACEOF
52423 # Let's still pretend it is `configure' which instantiates (i.e., don't
52424 # use $as_me), people would be surprised to read:
52425 # /* config.h. Generated by config.status. */
52426 if test x"$ac_file" = x-; then
52427 echo "/* Generated by configure. */" >$tmp/config.h
52428 else
52429 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52430 fi
52431 cat $tmp/in >>$tmp/config.h
52432 rm -f $tmp/in
52433 if test x"$ac_file" != x-; then
52434 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52435 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52436 echo "$as_me: $ac_file is unchanged" >&6;}
52437 else
52438 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52439 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52440 X"$ac_file" : 'X\(//\)[^/]' \| \
52441 X"$ac_file" : 'X\(//\)$' \| \
52442 X"$ac_file" : 'X\(/\)' \| \
52443 . : '\(.\)' 2>/dev/null ||
52444 echo X"$ac_file" |
52445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52446 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52447 /^X\(\/\/\)$/{ s//\1/; q; }
52448 /^X\(\/\).*/{ s//\1/; q; }
52449 s/.*/./; q'`
52450 { if $as_mkdir_p; then
52451 mkdir -p "$ac_dir"
52452 else
52453 as_dir="$ac_dir"
52454 as_dirs=
52455 while test ! -d "$as_dir"; do
52456 as_dirs="$as_dir $as_dirs"
52457 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52458 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52459 X"$as_dir" : 'X\(//\)[^/]' \| \
52460 X"$as_dir" : 'X\(//\)$' \| \
52461 X"$as_dir" : 'X\(/\)' \| \
52462 . : '\(.\)' 2>/dev/null ||
52463 echo X"$as_dir" |
52464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52466 /^X\(\/\/\)$/{ s//\1/; q; }
52467 /^X\(\/\).*/{ s//\1/; q; }
52468 s/.*/./; q'`
52469 done
52470 test ! -n "$as_dirs" || mkdir $as_dirs
52471 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52472 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52473 { (exit 1); exit 1; }; }; }
52474
52475 rm -f $ac_file
52476 mv $tmp/config.h $ac_file
52477 fi
52478 else
52479 cat $tmp/config.h
52480 rm -f $tmp/config.h
52481 fi
52482 done
52483 _ACEOF
52484 cat >>$CONFIG_STATUS <<\_ACEOF
52485
52486 #
52487 # CONFIG_COMMANDS section.
52488 #
52489 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52490 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52491 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52492 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52493 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52494 X"$ac_dest" : 'X\(//\)[^/]' \| \
52495 X"$ac_dest" : 'X\(//\)$' \| \
52496 X"$ac_dest" : 'X\(/\)' \| \
52497 . : '\(.\)' 2>/dev/null ||
52498 echo X"$ac_dest" |
52499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52500 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52501 /^X\(\/\/\)$/{ s//\1/; q; }
52502 /^X\(\/\).*/{ s//\1/; q; }
52503 s/.*/./; q'`
52504 { if $as_mkdir_p; then
52505 mkdir -p "$ac_dir"
52506 else
52507 as_dir="$ac_dir"
52508 as_dirs=
52509 while test ! -d "$as_dir"; do
52510 as_dirs="$as_dir $as_dirs"
52511 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52513 X"$as_dir" : 'X\(//\)[^/]' \| \
52514 X"$as_dir" : 'X\(//\)$' \| \
52515 X"$as_dir" : 'X\(/\)' \| \
52516 . : '\(.\)' 2>/dev/null ||
52517 echo X"$as_dir" |
52518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52520 /^X\(\/\/\)$/{ s//\1/; q; }
52521 /^X\(\/\).*/{ s//\1/; q; }
52522 s/.*/./; q'`
52523 done
52524 test ! -n "$as_dirs" || mkdir $as_dirs
52525 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52526 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52527 { (exit 1); exit 1; }; }; }
52528
52529 ac_builddir=.
52530
52531 if test "$ac_dir" != .; then
52532 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52533 # A "../" for each directory in $ac_dir_suffix.
52534 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52535 else
52536 ac_dir_suffix= ac_top_builddir=
52537 fi
52538
52539 case $srcdir in
52540 .) # No --srcdir option. We are building in place.
52541 ac_srcdir=.
52542 if test -z "$ac_top_builddir"; then
52543 ac_top_srcdir=.
52544 else
52545 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52546 fi ;;
52547 [\\/]* | ?:[\\/]* ) # Absolute path.
52548 ac_srcdir=$srcdir$ac_dir_suffix;
52549 ac_top_srcdir=$srcdir ;;
52550 *) # Relative path.
52551 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52552 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52553 esac
52554
52555 # Do not use `cd foo && pwd` to compute absolute paths, because
52556 # the directories may not exist.
52557 case `pwd` in
52558 .) ac_abs_builddir="$ac_dir";;
52559 *)
52560 case "$ac_dir" in
52561 .) ac_abs_builddir=`pwd`;;
52562 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52563 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52564 esac;;
52565 esac
52566 case $ac_abs_builddir in
52567 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52568 *)
52569 case ${ac_top_builddir}. in
52570 .) ac_abs_top_builddir=$ac_abs_builddir;;
52571 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52572 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52573 esac;;
52574 esac
52575 case $ac_abs_builddir in
52576 .) ac_abs_srcdir=$ac_srcdir;;
52577 *)
52578 case $ac_srcdir in
52579 .) ac_abs_srcdir=$ac_abs_builddir;;
52580 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52581 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52582 esac;;
52583 esac
52584 case $ac_abs_builddir in
52585 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52586 *)
52587 case $ac_top_srcdir in
52588 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52589 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52590 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52591 esac;;
52592 esac
52593
52594
52595 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52596 echo "$as_me: executing $ac_dest commands" >&6;}
52597 case $ac_dest in
52598 rcdefs.h )
52599 mkdir -p $outdir &&
52600 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52601 ;;
52602 wx-config ) rm -f wx-config
52603 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52604 ;;
52605 esac
52606 done
52607 _ACEOF
52608
52609 cat >>$CONFIG_STATUS <<\_ACEOF
52610
52611 { (exit 0); exit 0; }
52612 _ACEOF
52613 chmod +x $CONFIG_STATUS
52614 ac_clean_files=$ac_clean_files_save
52615
52616
52617 # configure is writing to config.log, and then calls config.status.
52618 # config.status does its own redirection, appending to config.log.
52619 # Unfortunately, on DOS this fails, as config.log is still kept open
52620 # by configure, so config.status won't be able to write to it; its
52621 # output is simply discarded. So we exec the FD to /dev/null,
52622 # effectively closing config.log, so it can be properly (re)opened and
52623 # appended to by config.status. When coming back to configure, we
52624 # need to make the FD available again.
52625 if test "$no_create" != yes; then
52626 ac_cs_success=:
52627 ac_config_status_args=
52628 test "$silent" = yes &&
52629 ac_config_status_args="$ac_config_status_args --quiet"
52630 exec 5>/dev/null
52631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52632 exec 5>>config.log
52633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52634 # would make configure fail if this is the last instruction.
52635 $ac_cs_success || { (exit 1); exit 1; }
52636 fi
52637
52638 #
52639 # CONFIG_SUBDIRS section.
52640 #
52641 if test "$no_recursion" != yes; then
52642
52643 # Remove --cache-file and --srcdir arguments so they do not pile up.
52644 ac_sub_configure_args=
52645 ac_prev=
52646 for ac_arg in $ac_configure_args; do
52647 if test -n "$ac_prev"; then
52648 ac_prev=
52649 continue
52650 fi
52651 case $ac_arg in
52652 -cache-file | --cache-file | --cache-fil | --cache-fi \
52653 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52654 ac_prev=cache_file ;;
52655 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52656 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52657 | --c=*)
52658 ;;
52659 --config-cache | -C)
52660 ;;
52661 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52662 ac_prev=srcdir ;;
52663 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52664 ;;
52665 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52666 ac_prev=prefix ;;
52667 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52668 ;;
52669 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52670 esac
52671 done
52672
52673 # Always prepend --prefix to ensure using the same prefix
52674 # in subdir configurations.
52675 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52676
52677 ac_popdir=`pwd`
52678 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52679
52680 # Do not complain, so a configure script can configure whichever
52681 # parts of a large source tree are present.
52682 test -d $srcdir/$ac_dir || continue
52683
52684 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52685 echo "$as_me: configuring in $ac_dir" >&6;}
52686 { if $as_mkdir_p; then
52687 mkdir -p "$ac_dir"
52688 else
52689 as_dir="$ac_dir"
52690 as_dirs=
52691 while test ! -d "$as_dir"; do
52692 as_dirs="$as_dir $as_dirs"
52693 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52694 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52695 X"$as_dir" : 'X\(//\)[^/]' \| \
52696 X"$as_dir" : 'X\(//\)$' \| \
52697 X"$as_dir" : 'X\(/\)' \| \
52698 . : '\(.\)' 2>/dev/null ||
52699 echo X"$as_dir" |
52700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52701 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52702 /^X\(\/\/\)$/{ s//\1/; q; }
52703 /^X\(\/\).*/{ s//\1/; q; }
52704 s/.*/./; q'`
52705 done
52706 test ! -n "$as_dirs" || mkdir $as_dirs
52707 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52708 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52709 { (exit 1); exit 1; }; }; }
52710
52711 ac_builddir=.
52712
52713 if test "$ac_dir" != .; then
52714 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52715 # A "../" for each directory in $ac_dir_suffix.
52716 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52717 else
52718 ac_dir_suffix= ac_top_builddir=
52719 fi
52720
52721 case $srcdir in
52722 .) # No --srcdir option. We are building in place.
52723 ac_srcdir=.
52724 if test -z "$ac_top_builddir"; then
52725 ac_top_srcdir=.
52726 else
52727 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52728 fi ;;
52729 [\\/]* | ?:[\\/]* ) # Absolute path.
52730 ac_srcdir=$srcdir$ac_dir_suffix;
52731 ac_top_srcdir=$srcdir ;;
52732 *) # Relative path.
52733 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52734 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52735 esac
52736
52737 # Do not use `cd foo && pwd` to compute absolute paths, because
52738 # the directories may not exist.
52739 case `pwd` in
52740 .) ac_abs_builddir="$ac_dir";;
52741 *)
52742 case "$ac_dir" in
52743 .) ac_abs_builddir=`pwd`;;
52744 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52745 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52746 esac;;
52747 esac
52748 case $ac_abs_builddir in
52749 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52750 *)
52751 case ${ac_top_builddir}. in
52752 .) ac_abs_top_builddir=$ac_abs_builddir;;
52753 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52754 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52755 esac;;
52756 esac
52757 case $ac_abs_builddir in
52758 .) ac_abs_srcdir=$ac_srcdir;;
52759 *)
52760 case $ac_srcdir in
52761 .) ac_abs_srcdir=$ac_abs_builddir;;
52762 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52763 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52764 esac;;
52765 esac
52766 case $ac_abs_builddir in
52767 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52768 *)
52769 case $ac_top_srcdir in
52770 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52771 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52772 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52773 esac;;
52774 esac
52775
52776
52777 cd $ac_dir
52778
52779 # Check for guested configure; otherwise get Cygnus style configure.
52780 if test -f $ac_srcdir/configure.gnu; then
52781 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52782 elif test -f $ac_srcdir/configure; then
52783 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52784 elif test -f $ac_srcdir/configure.in; then
52785 ac_sub_configure=$ac_configure
52786 else
52787 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52788 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52789 ac_sub_configure=
52790 fi
52791
52792 # The recursion is here.
52793 if test -n "$ac_sub_configure"; then
52794 # Make the cache file name correct relative to the subdirectory.
52795 case $cache_file in
52796 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52797 *) # Relative path.
52798 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52799 esac
52800
52801 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52802 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52803 # The eval makes quoting arguments work.
52804 eval $ac_sub_configure $ac_sub_configure_args \
52805 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52806 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52807 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52808 { (exit 1); exit 1; }; }
52809 fi
52810
52811 cd "$ac_popdir"
52812 done
52813 fi
52814
52815
52816 echo
52817 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52818 echo ""
52819 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52820 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52821
52822 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52823 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52824 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52825
52826 echo " What level of wxWidgets compatibility should be enabled?"
52827 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52828 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52829
52830 echo " Which libraries should wxWidgets use?"
52831 echo " jpeg ${wxUSE_LIBJPEG-none}"
52832 echo " png ${wxUSE_LIBPNG-none}"
52833 echo " regex ${wxUSE_REGEX}"
52834 echo " tiff ${wxUSE_LIBTIFF-none}"
52835 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52836 echo " xpm ${wxUSE_LIBXPM-none}"
52837 fi
52838 echo " zlib ${wxUSE_ZLIB}"
52839 echo " odbc ${wxUSE_ODBC}"
52840 echo " expat ${wxUSE_EXPAT}"
52841 echo " libmspack ${wxUSE_LIBMSPACK}"
52842 echo " sdl ${wxUSE_LIBSDL}"
52843
52844 echo ""
52845